[Bug c++/80415] [7 Regression] bogus "invalid initialization of reference" error

2017-04-12 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80415 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/79935] DJGPP: misaligned stack in static constructors

2017-04-12 Thread andris.pavenis at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79935 Andris Pavenis changed: What|Removed |Added CC||andris.pavenis at iki dot fi --- Commen

[Bug c++/80415] New: [7 Regression] bogus "invalid initialization of reference" error

2017-04-12 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80415 Bug ID: 80415 Summary: [7 Regression] bogus "invalid initialization of reference" error Product: gcc Version: 7.0.1 Status: UNCONFIRMED Keywords: rejects-valid

[Bug libfortran/67540] string_intrinsics_inc.c sanitizer detects null pointer passed to memcpy

2017-04-12 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67540 --- Comment #9 from Vittorio Zecca --- This test case is wrong. It dereferences thrice a NULL pointer str4. Unfortunately -fcheck=pointer does not detect this one. Just added to the CC list the test case author.

[Bug c++/68372] [concepts] invalid use of pack expansion expression in member function template declaration

2017-04-12 Thread wilhelm.me...@hs-kl.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68372 --- Comment #2 from wilhelm.me...@hs-kl.de --- This ICE exists still in gcc-7.0.1-20170412.

[Bug tree-optimization/79390] [7 Regression] 10% performance drop in SciMark2 LU after r242550

2017-04-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390 --- Comment #30 from Jakub Jelinek --- I didn't close it because I wanted to see updated benchmark numbers. Either I'll grab the benchmark, or if somebody else posts the latest numbers, we can close it or keep open depending on that.

[Bug tree-optimization/51513] Only partially optimizes away __builtin_unreachable switch default case

2017-04-12 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51513 Peter Bergner changed: What|Removed |Added URL|https://gcc.gnu.org/ml/gcc- |https://gcc.gnu.org/ml/gcc-

[Bug target/80099] ICE in rs6000_expand_vector_extract, at config/rs6000/rs6000.c:7450

2017-04-12 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80099 --- Comment #2 from Michael Meissner --- The problem is rs6000_expand_vector_extract did not check for SFmode being allowed in the Altivec (upper) registers, but the insn implementing the variable extract had it as a condition. In looking at the

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

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #15 from Jason Merrill --- (In reply to rguent...@suse.de from comment #13) > IMHO TYPE_DECL shouldn't even _have_ DECL_ALIGN ... Agreed.

[Bug lto/79062] -Walloca-larger-than and -Wformat-overflow warnings disabled by -flto

2017-04-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79062 --- Comment #4 from Martin Sebor --- All of warn_format, warn_format_overflow, and warn_format_trunc are, in fact, zero in gimple-ssa-sprintf.c when -flto is set. At least one problem is the dependency of -Wformat-{overflow,truncation} in c-comm

[Bug target/80098] ICE in curr_insn_transform, at lra-constraints.c:3816 on ppc64le

2017-04-12 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80098 Michael Meissner changed: What|Removed |Added Attachment #41180|0 |1 is obsolete|

[Bug target/80099] ICE in rs6000_expand_vector_extract, at config/rs6000/rs6000.c:7450

2017-04-12 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80099 Michael Meissner changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug middle-end/57955] [5/6/7 Regression] Uniquization of constants reduces alignment of initializers

2017-04-12 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57955 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug target/74563] [6/7 regression] Classic MIPS16 (non-MIPS16e) function return broken

2017-04-12 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74563 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug rtl-optimization/78116] [7 regression] Performance drop after r241173 on avx512 target

2017-04-12 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78116 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug sanitizer/80403] UBSAN: compile time crash with "type mismatch in binary expression" message in / and % expr

2017-04-12 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80403 --- Comment #8 from Dmitry Babokin --- Three errors in one test case. GCC r246882. > cat f.cpp extern const long long int var_7; extern unsigned long int var_59; int foo() { int a = (0 - 40U <= (0 == 8)) << !var_59 << (0 < var_7) == 0; int b

[Bug rtl-optimization/80343] [7 Regression] ICE in extract_constrain_insn, at recog.c:2213 (error: insn does not satisfy its constraints)

2017-04-12 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80343 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug c++/79508] [6 Regression] Parse error in template argument list using nested template arguments

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79508 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79566] [6 Regression] elaborated-type-specifier incorrectly rejected in range-based for

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79566 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79640] [5/6 Regression] ICE with generic lambda expression

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79640 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79519] [5/6 Regression] ICE deleting template friend function

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79519 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/79390] [7 Regression] 10% performance drop in SciMark2 LU after r242550

2017-04-12 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #29 f

[Bug c++/80038] [6/7 Regression] Random segfault using local vectors in Cilk function

2017-04-12 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80038 Jeffrey A. Law changed: What|Removed |Added Priority|P2 |P4 --- Comment #30 from Jeffrey A. Law

[Bug fortran/80361] [5/6/7 Regression] bogus recursive call to nonrecursive procedure with -fcheck=recursion

2017-04-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80361 --- Comment #19 from Thomas Koenig --- (In reply to janus from comment #16) > This seems to be sufficient to fix the runtime error on the reduced test > case in comment #13: > > > Index: gcc/fortran/class.c > ===

[Bug fortran/80408] Problems with SIGNAL, pthread and print together

2017-04-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80408 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c/80413] sanitizer detects undefined behaviour in gcov-io.c using -ftest-coverage

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

[Bug sanitizer/80403] UBSAN: compile time crash with "type mismatch in binary expression" message in / and % expr

2017-04-12 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80403 --- Comment #7 from Dmitry Babokin --- 80404 and 80405 seemed similar, but different to me, so I decided to report them separately. Anyway, after the latest fixes I still see 2 compile crashes. I'm reducing them and will report here.

[Bug lto/80407] --as-needed cannot be combined with -flto

2017-04-12 Thread dilyan.palauzov at aegee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80407 Дилян Палаузов changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/79929] [7 Regression] Bogus Warning: '__builtin_memset': specified size 4294967291 exceeds maximum object size 2147483647

2017-04-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929 Thomas Koenig changed: What|Removed |Added Priority|P4 |P3 Component|fortran

[Bug fortran/80361] [5/6/7 Regression] bogus recursive call to nonrecursive procedure with -fcheck=recursion

2017-04-12 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80361 --- Comment #18 from janus at gcc dot gnu.org --- (In reply to janus from comment #17) > (In reply to janus from comment #16) > > This seems to be sufficient to fix the runtime error on the reduced test > > case in comment #13: > > And it also do

[Bug sanitizer/80414] New: [UBSAN] segfault with -fsanitize=undefined

2017-04-12 Thread d.khalikov at partner dot samsung.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80414 Bug ID: 80414 Summary: [UBSAN] segfault with -fsanitize=undefined Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: saniti

[Bug c++/77563] [5 Regression] explicit constructor breaks narrowing conversion overload resolution

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77563 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/80150] [6 Regression] Internal compiler error when in in try_one_overload, at cp/pt.c:18903

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80150 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/78282] [6 Regression] Overload resolution failure, in parameter pack expansion, inside a template class

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78282 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/77563] [5/6 Regression] explicit constructor breaks narrowing conversion overload resolution

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77563 --- Comment #8 from Jason Merrill --- Author: jason Date: Wed Apr 12 19:23:30 2017 New Revision: 246893 URL: https://gcc.gnu.org/viewcvs?rev=246893&root=gcc&view=rev Log: PR c++/77563 - missing ambiguous conversion error. * call

[Bug c++/80150] [6 Regression] Internal compiler error when in in try_one_overload, at cp/pt.c:18903

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80150 --- Comment #6 from Jason Merrill --- Author: jason Date: Wed Apr 12 19:23:37 2017 New Revision: 246894 URL: https://gcc.gnu.org/viewcvs?rev=246894&root=gcc&view=rev Log: PR c++/80150 - ICE with overloaded variadic deduction. *

[Bug c++/79519] [5/6 Regression] ICE deleting template friend function

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79519 --- Comment #5 from Jason Merrill --- Author: jason Date: Wed Apr 12 19:23:23 2017 New Revision: 246892 URL: https://gcc.gnu.org/viewcvs?rev=246892&root=gcc&view=rev Log: PR c++/79519 - ICE with deleted template friend. * decl.c

[Bug c++/79640] [5/6 Regression] ICE with generic lambda expression

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79640 --- Comment #6 from Jason Merrill --- Author: jason Date: Wed Apr 12 19:23:15 2017 New Revision: 246891 URL: https://gcc.gnu.org/viewcvs?rev=246891&root=gcc&view=rev Log: PR c++/79640 - infinite recursion with generic lambda. *

[Bug c++/79607] [5/6 Regression] ICE with brace-initialization of static const member

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79607 --- Comment #5 from Jason Merrill --- Author: jason Date: Wed Apr 12 19:22:56 2017 New Revision: 246888 URL: https://gcc.gnu.org/viewcvs?rev=246888&root=gcc&view=rev Log: PR c++/79607 - ICE with T{} initializer * decl.c (type_de

[Bug c++/80043] [6/7 Regression] ICE with pointer-to-member-function and -fpermissive

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80043 --- Comment #4 from Jason Merrill --- Author: jason Date: Wed Apr 12 19:23:09 2017 New Revision: 246890 URL: https://gcc.gnu.org/viewcvs?rev=246890&root=gcc&view=rev Log: PR c++/80043 - ICE with -fpermissive * typeck.c (convert_

[Bug c++/78282] [6 Regression] Overload resolution failure, in parameter pack expansion, inside a template class

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78282 --- Comment #6 from Jason Merrill --- Author: jason Date: Wed Apr 12 19:23:02 2017 New Revision: 246889 URL: https://gcc.gnu.org/viewcvs?rev=246889&root=gcc&view=rev Log: PR c++/78282 - auto template and pack expansion * pt.c (f

[Bug c++/79566] [6 Regression] elaborated-type-specifier incorrectly rejected in range-based for

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79566 --- Comment #3 from Jason Merrill --- Author: jason Date: Wed Apr 12 19:22:50 2017 New Revision: 246887 URL: https://gcc.gnu.org/viewcvs?rev=246887&root=gcc&view=rev Log: PR c++/79566 - elaborated-type-specifier in range for * p

[Bug c++/79580] [5/6 Regression] ICE in nested_anon_class_index, at cp/mangle.c:1604

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79580 --- Comment #4 from Jason Merrill --- Author: jason Date: Wed Apr 12 19:22:44 2017 New Revision: 246886 URL: https://gcc.gnu.org/viewcvs?rev=246886&root=gcc&view=rev Log: PR c++/79580 - ICE with compound literal * parser.c (cp_p

[Bug c++/79508] [6 Regression] Parse error in template argument list using nested template arguments

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79508 --- Comment #6 from Jason Merrill --- Author: jason Date: Wed Apr 12 19:22:38 2017 New Revision: 246885 URL: https://gcc.gnu.org/viewcvs?rev=246885&root=gcc&view=rev Log: PR c++/79508 - lookup error with member template * parser

[Bug c++/79050] [5/6 Regression] ICE: tree code 'template_type_parm' is not supported in LTO streams

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79050 --- Comment #9 from Jason Merrill --- Author: jason Date: Wed Apr 12 19:22:32 2017 New Revision: 246884 URL: https://gcc.gnu.org/viewcvs?rev=246884&root=gcc&view=rev Log: PR c++/79050 - ICE with undeduced auto and LTO * decl.c (

[Bug c++/79461] [5/6 Regression] [C++1z] ICE when capturing a variable in a lambda in a constexpr constructor

2017-04-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79461 --- Comment #5 from Jason Merrill --- Author: jason Date: Wed Apr 12 19:22:25 2017 New Revision: 246883 URL: https://gcc.gnu.org/viewcvs?rev=246883&root=gcc&view=rev Log: PR c++/79461 - ICE with lambda in constexpr constructor *

[Bug fortran/67505] [F03] bogus runtime error with final subroutine and -fcheck=recursion

2017-04-12 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67505 --- Comment #4 from janus at gcc dot gnu.org --- The patch in PR 80361 comment 16 fixes the error.

[Bug fortran/80361] [5/6/7 Regression] bogus recursive call to nonrecursive procedure with -fcheck=recursion

2017-04-12 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80361 --- Comment #17 from janus at gcc dot gnu.org --- (In reply to janus from comment #16) > This seems to be sufficient to fix the runtime error on the reduced test > case in comment #13: And it also does the trick for PR 67505 ...

[Bug fortran/80361] [5/6/7 Regression] bogus recursive call to nonrecursive procedure with -fcheck=recursion

2017-04-12 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80361 --- Comment #16 from janus at gcc dot gnu.org --- This seems to be sufficient to fix the runtime error on the reduced test case in comment #13: Index: gcc/fortran/class.c === --- gc

[Bug sanitizer/80403] UBSAN: compile time crash with "type mismatch in binary expression" message in / and % expr

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

[Bug tree-optimization/79390] [7 Regression] 10% performance drop in SciMark2 LU after r242550

2017-04-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390 --- Comment #28 from Jakub Jelinek --- Author: jakub Date: Wed Apr 12 18:09:47 2017 New Revision: 246882 URL: https://gcc.gnu.org/viewcvs?rev=246882&root=gcc&view=rev Log: PR tree-optimization/79390 * optabs.c (emit_conditional_m

[Bug sanitizer/80405] UBSAN: compile time crash with "type mismatch in shift expression" error

2017-04-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80405 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Wed Apr 12 18:08:29 2017 New Revision: 246881 URL: https://gcc.gnu.org/viewcvs?rev=246881&root=gcc&view=rev Log: PR sanitizer/80403 PR sanitizer/80404 PR sanitizer

[Bug sanitizer/80403] UBSAN: compile time crash with "type mismatch in binary expression" message in / and % expr

2017-04-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80403 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Wed Apr 12 18:08:29 2017 New Revision: 246881 URL: https://gcc.gnu.org/viewcvs?rev=246881&root=gcc&view=rev Log: PR sanitizer/80403 PR sanitizer/80404 PR sanitizer

[Bug sanitizer/80404] UBSAN: compile time crash with "non-trivial conversion at assignment" error

2017-04-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80404 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Wed Apr 12 18:08:29 2017 New Revision: 246881 URL: https://gcc.gnu.org/viewcvs?rev=246881&root=gcc&view=rev Log: PR sanitizer/80403 PR sanitizer/80404 PR sanitizer

[Bug c/80413] New: sanitizer detects undefined behaviour in gcov-io.c using -ftest-coverage

2017-04-12 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80413 Bug ID: 80413 Summary: sanitizer detects undefined behaviour in gcov-io.c using -ftest-coverage Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal

[Bug lto/79062] -Walloca-larger-than and -Wformat-overflow warnings disabled by -flto

2017-04-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79062 --- Comment #3 from Martin Sebor --- The following allows the format string to be recognized even with LTO. The sprintf pass runs and seems to work correctly, but warnings from it for some reason do not appear on output. It's as if they were di

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

2017-04-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929 --- Comment #6 from Dominique d'Humieres --- Likely caused by revision r243419. Note that I don't get the warning with the C code in comment 4.

[Bug target/78994] -Ofast makes aarch64 C++ benchmark slower for A53

2017-04-12 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78994 wilco at gcc dot gnu.org changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- C

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

2017-04-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929 --- Comment #5 from Martin Sebor --- Thanks for the C test case. In it, the warning is a false positive caused by GCC's failure to eliminate the excessive memset at -O1. The call is emitted by the ccp1 pass at all optimization levels. At -O2,

[Bug fortran/59910] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:5327

2017-04-12 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59910 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Comment

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

2017-04-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929 --- Comment #4 from Thomas Koenig --- Here's equivlalent C code: $ cat bug.c #include #include char * foo(char *c, int len) { char *p, *n; n = malloc(len + 5); p = c + 5; memmove (c, n, p-c); if (p < c) memset (n + 5, 32, c-p);

[Bug middle-end/80131] powerpc: 1U << (31 - x) doesn't generate optimised code

2017-04-12 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80131 wilco at gcc dot gnu.org changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- C

[Bug tree-optimization/80198] [6/7/8 Regression] does not vectorize generic inplace integer operation

2017-04-12 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80198 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com Target Mileston

[Bug middle-end/80399] Premature optimization with unsigned

2017-04-12 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80399 wilco at gcc dot gnu.org changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- C

[Bug fortran/59910] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:5327

2017-04-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59910 --- Comment #6 from Dominique d'Humieres --- > A patch to fix the problem exposed by code in comment #1 > has been committed to trunk. Same patch does not fix > 5-branch. Closing as fixed. It does for me provided the patch is applied at the pr

[Bug middle-end/80163] ICE on hopefully valid code

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

[Bug c/80409] Document that va_arg(ap, void*) can be used to consume any pointer argument

2017-04-12 Thread pascal_cuoq at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80409 --- Comment #2 from Pascal Cuoq --- > it should work even with standard c Quoting from 7.6.1.1:2 … the behavior is undefined, except for the following cases: * … * one type is pointer to void and the other is a pointer to a character type

[Bug middle-end/80163] ICE on hopefully valid code

2017-04-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80163 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Wed Apr 12 13:57:45 2017 New Revision: 246876 URL: https://gcc.gnu.org/viewcvs?rev=246876&root=gcc&view=rev Log: PR c/80163 * expr.c : For EXPAND_INITIALIZER determine SIG

[Bug c++/79590] ICE (internal compiler error) in nothrow_spec_p with generic lambda and `noexcept(noexcept(...))` expression

2017-04-12 Thread vittorio.romeo at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79590 --- Comment #2 from Vittorio Romeo --- This is still present. Here are some more examples: int main() { [](auto x) noexcept(noexcept(x)) { } (0); } :3:40: internal compiler error: in nothrow_spec_p, at cp/except.c:1159 [](auto x) noe

[Bug target/80376] Some vec_xxpermdi usage lead to ICE

2017-04-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80376 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/80359] [7 Regression] DSE causes error: invalid reference prefix

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

[Bug target/80315] Calling __builtin_crypto_vshasigmaw with argument 3 out of range creates an unrecognizable insn

2017-04-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80315 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/80359] [7 Regression] DSE causes error: invalid reference prefix

2017-04-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80359 --- Comment #9 from Richard Biener --- Author: rguenth Date: Wed Apr 12 13:47:26 2017 New Revision: 246875 URL: https://gcc.gnu.org/viewcvs?rev=246875&root=gcc&view=rev Log: 2017-04-12 Richard Biener Jeff Law PR tree-optimi

[Bug target/80315] Calling __builtin_crypto_vshasigmaw with argument 3 out of range creates an unrecognizable insn

2017-04-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80315 --- Comment #5 from Bill Schmidt --- Author: wschmidt Date: Wed Apr 12 13:45:27 2017 New Revision: 246874 URL: https://gcc.gnu.org/viewcvs?rev=246874&root=gcc&view=rev Log: 2017-04-12 Bill Schmidt Backport from mainline 2017-

[Bug target/80376] Some vec_xxpermdi usage lead to ICE

2017-04-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80376 --- Comment #8 from Bill Schmidt --- Author: wschmidt Date: Wed Apr 12 13:45:27 2017 New Revision: 246874 URL: https://gcc.gnu.org/viewcvs?rev=246874&root=gcc&view=rev Log: 2017-04-12 Bill Schmidt Backport from mainline 2017-

[Bug rtl-optimization/80357] [7 Regression] ICE in model_update_limit_points_in_group, at haifa-sched.c:1982 on powerpc64le-linux-gnu

2017-04-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80357 --- Comment #11 from Segher Boessenkool --- The pressure becomes quite negative here... that isn't supposed to happen as far as I can see. Allowing all negative pressures in the asserts makes everything compile fine, but there really shouldn't

[Bug target/80315] Calling __builtin_crypto_vshasigmaw with argument 3 out of range creates an unrecognizable insn

2017-04-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80315 --- Comment #4 from Bill Schmidt --- Author: wschmidt Date: Wed Apr 12 13:37:30 2017 New Revision: 246873 URL: https://gcc.gnu.org/viewcvs?rev=246873&root=gcc&view=rev Log: 2017-04-12 Bill Schmidt Backport from mainline 2017-

[Bug target/80376] Some vec_xxpermdi usage lead to ICE

2017-04-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80376 --- Comment #7 from Bill Schmidt --- Author: wschmidt Date: Wed Apr 12 13:37:30 2017 New Revision: 246873 URL: https://gcc.gnu.org/viewcvs?rev=246873&root=gcc&view=rev Log: 2017-04-12 Bill Schmidt Backport from mainline 2017-

[Bug debug/80321] [7 regression] infinite recursion with inlining of nested function and debug info

2017-04-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80321 --- Comment #2 from Jakub Jelinek --- Note this breaks profiledbootstrap with Ada on various targets.

[Bug tree-optimization/80359] [7 Regression] DSE causes error: invalid reference prefix

2017-04-12 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80359 --- Comment #8 from Jeffrey A. Law --- That's exactly what I tested yesterday. It bootstraps and regression tests successfully. So no need to wait on the testrun.

[Bug sanitizer/69279] Uncomplete documentation for -fsanitize-recovery option

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

[Bug tree-optimization/80359] [7 Regression] DSE causes error: invalid reference prefix

2017-04-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80359 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|law at redh

[Bug gcov-profile/77698] Unrolled loop not considered hot after profiling

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

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

2017-04-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #14 from Jakub Jelinek --- For the base class alignment vs. alignment of base class members, I think testcases could be e.g. like: struct B { char a __attribute__((aligned (8))); }; struct A : public B {}; A foo (int x, A y) { retu

[Bug rtl-optimization/80357] [7 Regression] ICE in model_update_limit_points_in_group, at haifa-sched.c:1982 on powerpc64le-linux-gnu

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

[Bug tree-optimization/79390] [7 Regression] 10% performance drop in SciMark2 LU after r242550

2017-04-12 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390 --- Comment #27 from rguenther at suse dot de --- On Wed, 12 Apr 2017, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390 > > --- Comment #26 from Jakub Jelinek --- > Created attachment 41189 > --> https://g

[Bug tree-optimization/79390] [7 Regression] 10% performance drop in SciMark2 LU after r242550

2017-04-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390 --- Comment #26 from Jakub Jelinek --- Created attachment 41189 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41189&action=edit gcc7-pr79390-ecm.patch Untested fix for the -O3 -ffast-math -march=haswell case. The difference between -fno-f

[Bug debug/77343] ICE in dwarf2out_frame_debug_expr, at dwarf2cfi.c:1596

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

[Bug c/80409] Document that va_arg(ap, void*) can be used to consume any pointer argument

2017-04-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80409 --- Comment #1 from Andrew Pinski --- I don't see why this needs to be documented as it should work even with standard c. That is for an example %p in printf takes a void* but nobody casts it to void* when passing to printf.

[Bug gcov-profile/71672] inlining indirect calls does not work with autofdo

2017-04-12 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71672 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Assig

[Bug c++/80412] [c++17] crash with class template deduction guide and inheritance

2017-04-12 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80412 Markus Trippelsdorf changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #1

[Bug c++/80412] [c++17] crash with class template deduction guide and inheritance

2017-04-12 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80412 Markus Trippelsdorf changed: What|Removed |Added Keywords||error-recovery Priority|

[Bug rtl-optimization/80357] [7 Regression] ICE in model_update_limit_points_in_group, at haifa-sched.c:1982 on powerpc64le-linux-gnu

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

[Bug tree-optimization/79390] [7 Regression] 10% performance drop in SciMark2 LU after r242550

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

[Bug c++/80412] New: [c++17] crash with class template deduction guide and inheritance

2017-04-12 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80412 Bug ID: 80412 Summary: [c++17] crash with class template deduction guide and inheritance Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/79390] [7 Regression] 10% performance drop in SciMark2 LU after r242550

2017-04-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390 --- Comment #25 from Richard Biener --- So the original report is fixed (-O3 -march-native). But adding -ffast-math still ends up regressing. At this point it's probably appropriate to re-target to GCC 8.

[Bug middle-end/80411] DCE vs. offloading

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

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

2017-04-12 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #13 from rguenther at suse dot de --- On Wed, 12 Apr 2017, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 > > Jakub Jelinek changed: > >What|Removed |Added

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

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

[Bug target/80082] [5/6 regression] GCC incorrectly assumes Cortex-r[578] have 64-bit single-copy atomic LDRD

2017-04-12 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80082 Ramana Radhakrishnan changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

  1   2   >