[Bug d/90601] ICE: gimplification failed (gimplify.c at 13436)

2019-08-10 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90601 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/90601] ICE: gimplification failed (gimplify.c at 13436)

2019-08-10 Thread ibuclaw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90601 --- Comment #3 from ibuclaw at gcc dot gnu.org --- Author: ibuclaw Date: Sun Aug 11 06:53:14 2019 New Revision: 274263 URL: https://gcc.gnu.org/viewcvs?rev=274263&root=gcc&view=rev Log: d: Fix ICE: gimplification failed (gimplify.c at 13436) The

[Bug preprocessor/41492] Please ignore #! on the first line of a file

2019-08-10 Thread felix.von.s at posteo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41492 felix changed: What|Removed |Added CC||felix.von.s at posteo dot de --- Comment #2 from

[Bug c++/91416] ICE in cp_check_const_attributes, at cp/decl2.c:1408

2019-08-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91416 --- Comment #8 from Marek Polacek --- This patch seems to fix the problem. It follows cp_parser_lambda_body in its handling of function_depth. --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -28934,6 +28934,8 @@ cp_parser_late_parsing_for_member

[Bug c++/91416] ICE in cp_check_const_attributes, at cp/decl2.c:1408

2019-08-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91416 --- Comment #7 from Marek Polacek --- This sort of problem, accidentally collecting live data, is typically fixed by adding ++function_depth; // whatever --function_depth; Here we're in cp_parser_late_parsing_for_member, which calls start_prepar

[Bug tree-optimization/91419] New: [10 Regression]: gcc.dg/tree-ssa/pr91091-2.c, ssa-fre-61.c, ssa-fre-61.c with r273232

2019-08-10 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91419 Bug ID: 91419 Summary: [10 Regression]: gcc.dg/tree-ssa/pr91091-2.c, ssa-fre-61.c, ssa-fre-61.c with r273232 Product: gcc Version: 10.0 Status: UNCONFIRMED Seve

[Bug c++/91418] Nested class of templated class cannot declare parent class friend

2019-08-10 Thread Darrell.Wright at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91418 --- Comment #1 from Darrell Wright --- The template isn't part of it, https://gcc.godbolt.org/z/KCok90

[Bug ada/91417] [10 regression] acats c761003 fails for powerpc targets

2019-08-10 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91417 Iain Sandoe changed: What|Removed |Added Target||powerpc*-*-* Status|UNCONFIRME

[Bug c++/91418] New: Nested class of templated class cannot declare parent class friend

2019-08-10 Thread Darrell.Wright at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91418 Bug ID: 91418 Summary: Nested class of templated class cannot declare parent class friend Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal

[Bug ada/91417] New: [10 regression] acats c761003 fails for powerpc targets

2019-08-10 Thread iains at gcc dot gnu.org
761003.adb +===GNAT BUG DETECTED==+ | 10.0.0 20190810 (experimental) [trunk revision 274249] (powerpc-apple-darwin9) GCC error:| | in ggc_set_mark, at ggc-page.c:1532 | | Error detected around c761003

[Bug target/87438] ICE building gfortran for MicroBlaze target

2019-08-10 Thread me at zv dot io
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87438 --- Comment #2 from Zach van Rijn --- Using GCC 8-20180706 snapshot, gcc -c -O2 -fPIC grapes.c during RTL pass: reload grapes.c: In function 'smaxval_r8': grapes.c:57:1: internal compiler error: in gen_reg_rtx, at emit-rtl.c:1155 } ^ 0x408422

[Bug target/87438] ICE building gfortran for MicroBlaze target

2019-08-10 Thread me at zv dot io
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87438 --- Comment #1 from Zach van Rijn --- Created attachment 46699 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46699&action=edit Test case. Triggers bug on 8.x to at least 10-20190721.

[Bug c++/91416] ICE in cp_check_const_attributes, at cp/decl2.c:1408

2019-08-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91416 --- Comment #6 from Marek Polacek --- This is where we free the memory occupied by the parsed attribute: (gdb) bt #0 __memset_avx2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:180 #1 0x00c8e052 in poison

[Bug middle-end/90597] [9/10 Regression] FAIL: gcc.dg/attr-vector_size.c (internal compiler error)

2019-08-10 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90597 --- Comment #6 from John David Anglin --- I suppose an assert could be generated to avoid running the test on hppa64, but this is a compiler ICE and the error shouldn't occur.

[Bug fortran/91414] Improved PRNG

2019-08-10 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91414 Janne Blomqvist changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jb at gcc dot gnu.org --- Comme

[Bug fortran/91413] [F2018]: Procedures are recursive by default; switching from stack to static allocation is not safe

2019-08-10 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91413 Janne Blomqvist changed: What|Removed |Added URL||https://gcc.gnu.org/ml/gcc-

[Bug c++/91416] ICE in cp_check_const_attributes, at cp/decl2.c:1408

2019-08-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91416 Marek Polacek changed: What|Removed |Added Target Milestone|10.0|--- Summary|[10 Regression] I

[Bug c++/91416] [10 Regression] ICE in cp_check_const_attributes, at cp/decl2.c:1408

2019-08-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91416 Marek Polacek changed: What|Removed |Added Target Milestone|--- |10.0

[Bug c++/91416] [10 Regression] ICE in cp_check_const_attributes, at cp/decl2.c:1408

2019-08-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91416 --- Comment #4 from Marek Polacek --- __attribute__ ((unused)) const struct S { S() { } } s; ICEs with --param ggc-min-expand=0 --param ggc-min-heapsize=0

[Bug c++/91416] [10 Regression] ICE in cp_check_const_attributes, at cp/decl2.c:1408

2019-08-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91416 --- Comment #3 from Marek Polacek --- (In reply to p.vanh...@oma.be from comment #0) > Unfortunately this appears to be a heisenbug. I tried generating the > preprocessed file with -save-temps, but the ICE goes away when using that > file (or eve

[Bug c++/91416] [10 Regression] ICE in cp_check_const_attributes, at cp/decl2.c:1408

2019-08-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91416 Marek Polacek changed: What|Removed |Added Keywords||ice-on-valid-code Summary|ICE

[Bug c++/91416] ICE in cp_check_const_attributes, at cp/decl2.c:1408

2019-08-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91416 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/91416] New: ICE in cp_check_const_attributes, at cp/decl2.c:1408

2019-08-10 Thread p.vanhoof at oma dot be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91416 Bug ID: 91416 Summary: ICE in cp_check_const_attributes, at cp/decl2.c:1408 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug fortran/91413] [F2018]: Procedures are recursive by default; switching from stack to static allocation is not safe

2019-08-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91413 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/91359] logical function X returns .TRUE. - Warning: spaghetti code

2019-08-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91359 kargl at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gnu.org

[Bug fortran/91414] Improved PRNG

2019-08-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91414 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P5 Status|UNCONFIR

[Bug c++/91415] Invalid warning for C++17 sequencing of shift operator E1<

2019-08-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91415 --- Comment #5 from Marek Polacek --- I think this is P0145R3 Refining Expression Evaluation Order for Idiomatic C++ http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0145r3.pdf which says 4. A SOLUTION In summary, the following expression

[Bug c++/91415] Invalid warning for C++17 sequencing of shift operator E1<

2019-08-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91415 Marek Polacek changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRME

[Bug c++/91415] Invalid warning for C++17 sequencing of shift operator E1<

2019-08-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91415 --- Comment #4 from Jakub Jelinek --- Testcase also with PMF: struct S { int a[10]; void bar (); void baz (); }; typedef void (S::*pmf) (); void foo (int i, int x[10][10], int y[10], struct S z[10], struct S *w[10], pmf u[10]) { int b = x[i++

[Bug c++/91415] Invalid warning for C++17 sequencing of shift operator E1<

2019-08-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91415 --- Comment #3 from Jakub Jelinek --- --- gcc/c-family/c-common.c.jj 2019-07-30 08:27:49.987555303 +0200 +++ gcc/c-family/c-common.c 2019-08-10 18:13:20.821949299 +0200 @@ -1889,6 +1889,7 @@ verify_tree (tree x, struct tlist **pbef case

[Bug c++/91415] Invalid warning for C++17 sequencing of shift operator E1<

2019-08-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91415 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/91415] Invalid warning for C++17 sequencing of shift operator E1<

2019-08-10 Thread maxim.yegorushkin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91415 --- Comment #1 from Maxim Egorushkin --- gcc-9.1 produces the same warning.

[Bug c++/91415] New: Invalid warning for C++17 sequencing of shift operator E1<

2019-08-10 Thread maxim.yegorushkin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91415 Bug ID: 91415 Summary: Invalid warning for C++17 sequencing of shift operator E1<

[Bug d/91238] internal compiler error: in add_expr, at tree.c:7794

2019-08-10 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91238 --- Comment #6 from Iain Buclaw --- Fixed in trunk in r274253.

[Bug d/91238] internal compiler error: in add_expr, at tree.c:7794

2019-08-10 Thread ibuclaw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91238 --- Comment #5 from ibuclaw at gcc dot gnu.org --- Author: ibuclaw Date: Sat Aug 10 14:11:49 2019 New Revision: 274253 URL: https://gcc.gnu.org/viewcvs?rev=274253&root=gcc&view=rev Log: d: Fix internal compiler error: in add_expr, at tree.c:7794

[Bug fortran/91414] New: Improved PRNG

2019-08-10 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91414 Bug ID: 91414 Summary: Improved PRNG Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unass

[Bug fortran/91413] New: [F2018]: Procedures are recursive by default; switching from stack to static allocation is not safe

2019-08-10 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91413 Bug ID: 91413 Summary: [F2018]: Procedures are recursive by default; switching from stack to static allocation is not safe Product: gcc Version: unknown Status: UNCONFIRM

[Bug target/91408] [10 Regression] ICE in extract_insn, at recog.c:2310 since r273981

2019-08-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91408 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Sat Aug 10 10:13:52 2019 New Revision: 274251 URL: https://gcc.gnu.org/viewcvs?rev=274251&root=gcc&view=rev Log: PR target/91408 * config/i386/mmx.md (usadv8qi): Use regis

[Bug c/91398] Possible missed optimization: Can a pointer be passed as hidden pointer in x86-64 System V ABI

2019-08-10 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91398 --- Comment #5 from rguenther at suse dot de --- On August 10, 2019 4:22:25 AM GMT+02:00, peter at cordes dot ca wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91398 > >Peter Cordes changed: > > What|Removed