[Bug sanitizer/66880] 'error: case label does not reduce to an integer constant' with -fsanitize=shift -std=gnu99.

2017-04-27 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66880 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org ---

[Bug sanitizer/80550] error: case label does not reduce to an integer constant

2017-04-27 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80550 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/68467] libgcc, compilation for target m68k-linux breaks in linux_atomic.c

2017-04-27 Thread wbx at openadk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68467 --- Comment #15 from Waldemar Brodkorb --- Jeffrey, seems gcc 7 is coming soon, any chance getting this resolved?

[Bug c++/80521] Wrong line reported in error for missing template argument in friend class declaration.

2017-04-27 Thread blubban at gmail dot com
from Alfred Agrell --- Ran into this one myself, reproduces on 6.3.0-12ubuntu2 and 8.0.0 20170427 Godbolt. Minimized testcase: template class foo { int a; int b; // error here void c() {} /* template */ friend class bar; // error should be here }; template

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #15 from Marek Polacek --- Author: mpolacek Date: Thu Apr 27 21:12:29 2017 New Revision: 247352 URL: https://gcc.gnu.org/viewcvs?rev=247352=gcc=rev Log: PR sanitizer/80349 * fold-const.c (fold_binary_loc) : Convert

[Bug bootstrap/80531] [7 Regression] RC1 bootstrap comparison failure

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80531 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Thu Apr 27 20:03:38 2017 New Revision: 247351 URL: https://gcc.gnu.org/viewcvs?rev=247351=gcc=rev Log: PR bootstrap/80531 * configure.tgt (*-*-aix*): Add -frandom-seed=$@

[Bug bootstrap/80531] [7 Regression] RC1 bootstrap comparison failure

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80531 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Thu Apr 27 20:03:01 2017 New Revision: 247350 URL: https://gcc.gnu.org/viewcvs?rev=247350=gcc=rev Log: PR bootstrap/80531 * configure.tgt (*-*-aix*): Add -frandom-seed=$@

[Bug testsuite/79455] c-c++-common/tsan/race_on_mutex.c fails on powerpcle starting with r244854 (where it was activated)

2017-04-27 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79455 --- Comment #5 from seurer at gcc dot gnu.org --- I was hoping that fixing this on powerpc64 LE would also fix it on BE but the issue there is slightly different. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80551

[Bug testsuite/80551] New: c-c++-common/tsan/race_on_mutex.c fails on powerpc

2017-04-27 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80551 Bug ID: 80551 Summary: c-c++-common/tsan/race_on_mutex.c fails on powerpc Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug sanitizer/80550] error: case label does not reduce to an integer constant

2017-04-27 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80550 --- Comment #1 from Markus Trippelsdorf --- Looks like a dup of PR66880. richi said in that bug: »It would be better to make the C FE reject this as constant expression which invokes undefined behavior. IMHO -fsanitize should never sanitize

[Bug sanitizer/80550] New: error: case label does not reduce to an integer constant

2017-04-27 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80550 Bug ID: 80550 Summary: error: case label does not reduce to an integer constant Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/79665] gcc's signed (x*x)/200 is slower than clang's

2017-04-27 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79665 --- Comment #16 from wilco at gcc dot gnu.org --- (In reply to wilco from comment #14) > (In reply to PeteVine from comment #13) > > Still, the 5% regression must have happened very recently. The fast gcc was > > built on 20170220 and the slow

[Bug testsuite/80546] [7 Regression] FAIL: gcc.target/powerpc/bool3-p[78].c scan-assembler-not

2017-04-27 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80546 Segher Boessenkool changed: What|Removed |Added Target||powerpc*-*-*

[Bug tree-optimization/80549] [7/8 Regression] wrong code at -O2 and -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (executable does not terminate)

2017-04-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80549 Marek Polacek changed: What|Removed |Added Component|c |tree-optimization Target

[Bug c/80549] wrong code at -O2 and -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (executable does not terminate)

2017-04-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80549 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/80547] [6/7/8 Regression] nvptx back end ICE with OpenACC "reduction(OP:x)", "x = [...]"

2017-04-27 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80547 --- Comment #1 from Thomas Schwinge --- I used "#pragma omp target teams num_teams(1) map(x) reduction(+: x)" to test this with OpenMP "nvptx" offloading, which works. An additional observation: for host fallback (adding an "if(0)" clause to

[Bug c/80549] New: wrong code at -O2 and -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (executable does not terminate)

2017-04-27 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80549 Bug ID: 80549 Summary: wrong code at -O2 and -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (executable does not terminate) Product: gcc Version: 7.0.1

[Bug target/80540] gcc ICE at -O2 and above on x86_64-linux-gnu in "assign_by_spills"

2017-04-27 Thread helloqirun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80540 --- Comment #4 from Qirun Zhang --- (In reply to Martin Liška from comment #2) > > gcc-4.8.5 crashes at all levels; > > gcc-4.9 accepts it at all levels; > > I can't find a release that does not ICE w/ -O2. Hi Martin, This version works fine.

[Bug target/80505] FAIL: gcc.dg/ipa/iinline-attr.c scan-ipa-dump inline "hooray[^\\n]*inline copy in test"

2017-04-27 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80505 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/80505] FAIL: gcc.dg/ipa/iinline-attr.c scan-ipa-dump inline "hooray[^\\n]*inline copy in test"

2017-04-27 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80505 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org

[Bug bootstrap/80531] [7 Regression] RC1 bootstrap comparison failure

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80531 Jakub Jelinek changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug middle-end/80548] New: -Wmaybe-uninitialized false positive when an assignment is added

2017-04-27 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80548 Bug ID: 80548 Summary: -Wmaybe-uninitialized false positive when an assignment is added Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal

[Bug target/80547] New: [6/7/8 Regression] nvptx back end ICE with OpenACC "reduction(OP:x)", "x = [...]"

2017-04-27 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80547 Bug ID: 80547 Summary: [6/7/8 Regression] nvptx back end ICE with OpenACC "reduction(OP:x)", "x = [...]" Product: gcc Version: 6.0 Status: UNCONFIRMED

[Bug testsuite/80546] New: [7 Regression] FAIL: gcc.target/powerpc/bool3-p[78].c scan-assembler-not

2017-04-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80546 Bug ID: 80546 Summary: [7 Regression] FAIL: gcc.target/powerpc/bool3-p[78].c scan-assembler-not Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/79455] c-c++-common/tsan/race_on_mutex.c fails on powerpcle starting with r244854 (where it was activated)

2017-04-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79455 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/79455] c-c++-common/tsan/race_on_mutex.c fails on powerpcle starting with r244854 (where it was activated)

2017-04-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79455 --- Comment #3 from Martin Liška --- Author: marxin Date: Thu Apr 27 14:28:06 2017 New Revision: 247342 URL: https://gcc.gnu.org/viewcvs?rev=247342=gcc=rev Log: Fix test-case on ppc64le (PR testsuite/79455). 2017-04-27 Martin Liska

[Bug fortran/79929] [7/8 Regression] Bogus Warning: '__builtin_memset': specified size 4294967291 exceeds maximum object size 2147483647

2017-04-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug driver/80545] New: option -Wstringop-overflow not recognized by Fortran

2017-04-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80545 Bug ID: 80545 Summary: option -Wstringop-overflow not recognized by Fortran Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/80544] result of const_cast<T* cv> should by cv-unqualified

2017-04-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80544 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/80530] [7/8 Regression][AArch64] ICE when expanding reciprocal square root with -mcpu=exynos-m1 or -mcpu=xgene-1

2017-04-27 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80530 Richard Earnshaw changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug target/80530] [7/8 Regression][AArch64] ICE when expanding reciprocal square root with -mcpu=exynos-m1 or -mcpu=xgene-1

2017-04-27 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80530 --- Comment #4 from Richard Earnshaw --- Author: rearnsha Date: Thu Apr 27 14:11:47 2017 New Revision: 247341 URL: https://gcc.gnu.org/viewcvs?rev=247341=gcc=rev Log: [AArch64] Fix for gcc-7 regression PR 80530 This patch fixes the regression

[Bug target/80530] [7/8 Regression][AArch64] ICE when expanding reciprocal square root with -mcpu=exynos-m1 or -mcpu=xgene-1

2017-04-27 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80530 --- Comment #3 from Richard Earnshaw --- Author: rearnsha Date: Thu Apr 27 14:09:55 2017 New Revision: 247340 URL: https://gcc.gnu.org/viewcvs?rev=247340=gcc=rev Log: [AArch64] Fix for gcc-7 regression PR 80530 This patch fixes the regression

[Bug c++/49395] Non-class prvalues seem to have cv-qualification with GCC

2017-04-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49395 --- Comment #4 from Jonathan Wakely --- See also Bug 80544

[Bug c++/80543] [5 Regression] ICE in tsubst_copy, at cp/pt.c:13039

2017-04-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80543 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Thu Apr 27 13:47:54 2017 New Revision: 247337 URL: https://gcc.gnu.org/viewcvs?rev=247337=gcc=rev Log: PR c++/80534 * tree.c (type_cache_hasher::equal): Only compare

[Bug c++/80544] result of const_cast<T* cv> should by cv-unqualified

2017-04-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80544 --- Comment #2 from Jonathan Wakely --- And also reinterpret_cast: template struct check { }; template struct check; template check f(T&&) { return {}; } template T val() { return {}; } int main() { int i; f(static_cast());

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Thu Apr 27 13:42:37 2017 New Revision: 247334 URL: https://gcc.gnu.org/viewcvs?rev=247334=gcc=rev Log: PR c++/80534 * tree.c (type_cache_hasher::equal): Only compare

[Bug gcov-profile/67463] PGO (Profile Guided Optimizations) are not applied with gcc-5.2.1 (they are fine on gcc-4.9.x)

2017-04-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67463 --- Comment #5 from Martin Liška --- > Tried it now - it does seem better so it can be kept closed. Good, thanks for testing.

[Bug sanitizer/80498] Simple program with address sanitizer and regex hangs

2017-04-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80498 --- Comment #16 from Martin Liška --- > > I'm afraid I'm still unable to provide a useful stacktrace. > Usually using a Linux distribution, one can easily install debug information for libraries. You should somehow investigate how is that

[Bug bootstrap/80531] [7 Regression] RC1 bootstrap comparison failure

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80531 --- Comment #6 from Jakub Jelinek --- Created attachment 41279 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41279=edit gcc7-pr80531.patch Untested fix.

[Bug bootstrap/80531] [7 Regression] RC1 bootstrap comparison failure

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80531 --- Comment #5 from Jakub Jelinek --- Ah, so even on this testcase and with cross, it uses without -fPIC GOMP_atomic_start in the GLOBAL_* symbol name. But with -fPIC, checking or release-checking, cross or native, it creates those symbol names

[Bug middle-end/80533] Alias analysis of zero length array does not recognize accesses beyond end of array

2017-04-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80533 Richard Biener changed: What|Removed |Added Keywords||wrong-code Known to work|

[Bug c++/80544] result of const_cast<T* cv> should by cv-unqualified

2017-04-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80544 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/80544] New: result of const_cast<T* cv> should by cv-unqualified

2017-04-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80544 Bug ID: 80544 Summary: result of const_cast should by cv-unqualified Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/80533] Alias analysis of zero length array does not recognize accesses beyond end of array

2017-04-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80533 --- Comment #2 from Richard Biener --- Author: rguenth Date: Thu Apr 27 12:34:45 2017 New Revision: 247327 URL: https://gcc.gnu.org/viewcvs?rev=247327=gcc=rev Log: 2017-04-27 Richard Biener PR middle-end/80533

[Bug c++/80543] New: internal compiler error: in tsubst_copy, at cp/pt.c:13039

2017-04-27 Thread markku.linnoskivi at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80543 Bug ID: 80543 Summary: internal compiler error: in tsubst_copy, at cp/pt.c:13039 Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/80539] [5/6/7 Regression] gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "chrec_fold_plus_poly_poly"

2017-04-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80539 --- Comment #4 from Richard Biener --- Author: rguenth Date: Thu Apr 27 11:42:57 2017 New Revision: 247322 URL: https://gcc.gnu.org/viewcvs?rev=247322=gcc=rev Log: 2017-04-27 Richard Biener PR middle-end/80539

[Bug middle-end/80539] [5/6/7 Regression] gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "chrec_fold_plus_poly_poly"

2017-04-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80539 Richard Biener changed: What|Removed |Added Known to work||8.0 Assignee|unassigned at

[Bug fortran/79929] [7/8 Regression] Bogus Warning: '__builtin_memset': specified size 4294967291 exceeds maximum object size 2147483647

2017-04-27 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929 --- Comment #17 from janus at gcc dot gnu.org --- Sidenote: Apparently disabling such warnings for Fortran code is not possible. $ gfortran-8 c3.f90 -c -O2 -Wno-stringop-overflow gives me: f951: Warning: command line option

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-27 Thread freddie_chopin at op dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534 --- Comment #9 from Freddie Chopin --- Patch above (applied to 7.0.1-RC-20170425) fixes the original issue which I reported - the project builds fine and works correctly. The warnings ("dereferencing type-punned pointer will break

[Bug c++/80542] Warn about accidental copying of data in range based for

2017-04-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80542 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic

[Bug bootstrap/80531] [7 Regression] RC1 bootstrap comparison failure

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80531 --- Comment #4 from Jakub Jelinek --- On simplified: extern void foo (int *); extern void bar (int *); extern void baz (int *); static int atomic_lock; void GOMP_atomic_start (void) { foo (_lock); } void GOMP_atomic_end (void) { bar

[Bug target/79430] [8 Regression] action of statement incorrectly optimised away

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79430 Jakub Jelinek changed: What|Removed |Added Target Milestone|7.2 |7.0 Summary|[7/8 Regression]

[Bug c++/80542] New: Warn about accidental copying of data in range based for

2017-04-27 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80542 Bug ID: 80542 Summary: Warn about accidental copying of data in range based for Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/80540] gcc ICE at -O2 and above on x86_64-linux-gnu in "assign_by_spills"

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80540 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c/80525] -Wlogical-op confused by undefined integer overflow

2017-04-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80525 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/80540] gcc ICE at -O2 and above on x86_64-linux-gnu in "assign_by_spills"

2017-04-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80540 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2

[Bug target/79430] [7/8 Regression] action of statement incorrectly optimised away

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79430 --- Comment #82 from Jakub Jelinek --- Author: jakub Date: Thu Apr 27 09:58:43 2017 New Revision: 247308 URL: https://gcc.gnu.org/viewcvs?rev=247308=gcc=rev Log: PR target/79430 * reg-stack.c (emit_swap_insn): If i1src mentions

[Bug middle-end/79665] gcc's signed (x*x)/200 is slower than clang's

2017-04-27 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79665 --- Comment #15 from tnfchris at gcc dot gnu.org --- Author: tnfchris Date: Thu Apr 27 09:58:27 2017 New Revision: 247307 URL: https://gcc.gnu.org/viewcvs?rev=247307=gcc=rev Log: 2017-04-26 Tamar Christina PR

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug gcov-profile/78792] gfortran + gcov confused by #line directive

2017-04-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78792 Martin Liška changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug demangler/80513] demangler walks past trailing nul in mangled name in a bunch of cases

2017-04-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80513 --- Comment #6 from Jonathan Wakely --- Author: redi Date: Thu Apr 27 09:44:28 2017 New Revision: 247300 URL: https://gcc.gnu.org/viewcvs?rev=247300=gcc=rev Log: PR demangler/80513 check for overflows and invalid characters in thunks

[Bug demangler/80513] demangler walks past trailing nul in mangled name in a bunch of cases

2017-04-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80513 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534 --- Comment #7 from Jakub Jelinek --- Ah, on the second case I see what is going on. The problem is that TYPE_TYPELESS_STORAGE is changed on an ARRAY_TYPE without build_array_type* knowing about that, and that changes how the type is ARRAY_TYPE

[Bug middle-end/80539] [5/6/7/8 Regression] gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "chrec_fold_plus_poly_poly"

2017-04-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80539 --- Comment #2 from Richard Biener --- Hmm, SCEV analysis relies on loop-closed SSA form to handle expressions in outer loops that use inner loop final values. Otherwise we miss to do the required compute_overall_effects_of_inner_loop which is

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-27 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534 --- Comment #6 from Markus Trippelsdorf --- Here is a different reduction leading to a different ICE: trippels@gcc75 ~ % cat lowLevelInitialization.ii template struct aligned_storage { struct type { char __data[0]; }; };

[Bug middle-end/66313] Unsafe factorization of a*b+a*c

2017-04-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66313 Richard Biener changed: What|Removed |Added CC||ishiura-compiler at ml dot kwansei

[Bug tree-optimization/80541] Wrong constant folding

2017-04-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80541 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/80541] Wrong constant folding

2017-04-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80541 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from Richard

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534 --- Comment #5 from Jakub Jelinek --- I'm afraid I have absolutely no idea what is going on and why my patch would change anything on that. What I see is that instantiate_class_template self-recurses: #0 instantiate_class_template_1 (type=) at

[Bug middle-end/80533] Alias analysis of zero length array does not recognize accesses beyond end of array

2017-04-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80533 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963

2017-04-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534 Richard Biener changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug sanitizer/80536] [6/7/8 Regression] UBSAN: compile time segfault

2017-04-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80536 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug middle-end/80539] [5/6/7/8 Regression] gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "chrec_fold_plus_poly_poly"

2017-04-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80539 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug target/80540] gcc ICE at -O2 and above on x86_64-linux-gnu in "assign_by_spills"

2017-04-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80540 Richard Biener changed: What|Removed |Added Keywords||ra Status|UNCONFIRMED

[Bug tree-optimization/80541] Wrong constant folding

2017-04-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80541 Richard Biener changed: What|Removed |Added Keywords||wrong-code

[Bug target/77728] [5/6 Regression] Miscompilation multiple vector iteration on ARM

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #56 from Jakub Jelinek --- Author: jakub Date: Thu Apr 27 07:14:24 2017 New Revision: 247293 URL: https://gcc.gnu.org/viewcvs?rev=247293=gcc=rev Log: PR target/77728 * config/aarch64/aarch64.c (struct

[Bug target/77728] [5/6 Regression] Miscompilation multiple vector iteration on ARM

2017-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #55 from Jakub Jelinek --- Author: jakub Date: Thu Apr 27 07:13:10 2017 New Revision: 247292 URL: https://gcc.gnu.org/viewcvs?rev=247292=gcc=rev Log: PR target/77728 * config/aarch64/aarch64.c (struct

[Bug tree-optimization/80541] New: Wrong constant folding

2017-04-27 Thread ishiura-compiler at ml dot kwansei.ac.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80541 Bug ID: 80541 Summary: Wrong constant folding Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization