From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10716 invoked by alias); 6 Sep 2014 12:22:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 10662 invoked by uid 48); 6 Sep 2014 12:22:06 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/61360] [5 Regression] ICE: in lra_update_insn_recog_data, at lra.c:1363 with -mtune=bdver4 Date: Sat, 06 Sep 2014 12:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-09/txt/msg01188.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61360 --- Comment #11 from Markus Trippelsdorf --- (In reply to GGanesh from comment #9) > Patch that fixes this issue has been submitted=20 > https://gcc.gnu.org/ml/gcc-patches/2014-08/msg02179.html >=20 > The idea is to prohibit changes to the "enabled" attribute during lra and > reload pass. Here's a small testcase that still ICE's even with your patch applied: % cat utils.i int a, b, c, e, f, g, h; long *d; __attribute__((cold)) void fn1() { int i =3D g | 1; for (; g; h++) { for (; a; e++) d[0] =3D c; if (0.002 * i) break; for (; b; f++) d[h] =3D 0; } } % gcc -march=3Damdfam10 -O2 -c utils.i utils.i: In function =E2=80=98fn1=E2=80=99: utils.i:10:1: internal compiler error: in lra_update_insn_recog_data, at lra.c:1223 } ^ 0x8ddb6c lra_update_insn_recog_data(rtx_insn*) ../../gcc/gcc/lra.c:1222 0x8f4595 eliminate_regs_in_insn ../../gcc/gcc/lra-eliminations.c:1077 0x8f4595 process_insn_for_elimination ../../gcc/gcc/lra-eliminations.c:1344 0x8f4595 lra_eliminate(bool, bool) ../../gcc/gcc/lra-eliminations.c:1408 0x8df81e lra(_IO_FILE*) ../../gcc/gcc/lra.c:2278 0x89ddf6 do_reload ../../gcc/gcc/ira.c:5311 0x89ddf6 execute ../../gcc/gcc/ira.c:5470 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-461355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Sep 06 13:11:08 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27679 invoked by alias); 6 Sep 2014 13:11:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27609 invoked by uid 48); 6 Sep 2014 13:11:00 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/63194] New: [4.9/5 Regression] ICE in maybe_explain_implicit_delete, at cp/method.c:1552 Date: Sat, 06 Sep 2014 13:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-09/txt/msg01189.txt.bz2 Content-length: 3327 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63194 Bug ID: 63194 Summary: [4.9/5 Regression] ICE in maybe_explain_implicit_delete, at cp/method.c:1552 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: jason at gcc dot gnu.org Reduced from a huge boost testcase: markus@x4 tmp % cat horzcollisionbar.ii template class A { public: A() noexcept(noexcept(0)) =3D default; }; class B { A<0> m_points; }; void fn1(A<0>, A<0>) { B(); } markus@x4 tmp % g++ -c -std=3Dc++11 horzcollisionbar.ii horzcollisionbar.ii: In function =E2=80=98void fn1(A<0>, A<0>)=E2=80=99: horzcollisionbar.ii:9:26: error: use of deleted function =E2=80=98B::B()=E2= =80=99 void fn1(A<0>, A<0>) { B(); } ^ horzcollisionbar.ii:6:7: note: =E2=80=98B::B()=E2=80=99 is implicitly delet= ed because the default definition would be ill-formed: class B { ^ horzcollisionbar.ii:6:7: error: use of deleted function =E2=80=98A< >::A() [with int =3D 0]=E2=80=99 horzcollisionbar.ii:4:3: internal compiler error: in maybe_explain_implicit_delete, at cp/method.c:1552 A() noexcept(noexcept(0)) =3D default; ^ 0x6ea0d8 maybe_explain_implicit_delete(tree_node*) ../../gcc/gcc/cp/method.c:1552 0x653df0 mark_used(tree_node*, int) ../../gcc/gcc/cp/decl2.c:4877 0x57233e build_over_call ../../gcc/gcc/cp/call.c:7019 0x57df65 build_new_method_call_1 ../../gcc/gcc/cp/call.c:8098 0x57df65 build_new_method_call(tree_node*, tree_node*, vec**, tree_node*, int, tree_node**, int) ../../gcc/gcc/cp/call.c:8168 0x6e00ef locate_fn_flags ../../gcc/gcc/cp/method.c:906 0x6e2eca walk_field_subobs ../../gcc/gcc/cp/method.c:1193 0x6e3a34 synthesized_method_walk ../../gcc/gcc/cp/method.c:1435 0x6e9f7f maybe_explain_implicit_delete(tree_node*) ../../gcc/gcc/cp/method.c:1541 0x653df0 mark_used(tree_node*, int) ../../gcc/gcc/cp/decl2.c:4877 0x572cc2 build_over_call ../../gcc/gcc/cp/call.c:7381 0x57df65 build_new_method_call_1 ../../gcc/gcc/cp/call.c:8098 0x57df65 build_new_method_call(tree_node*, tree_node*, vec**, tree_node*, int, tree_node**, int) ../../gcc/gcc/cp/call.c:8168 0x57eed9 build_special_member_call(tree_node*, tree_node*, vec**, tree_node*, int, int) ../../gcc/gcc/cp/call.c:7712 0x6d83ab build_value_init(tree_node*, int) ../../gcc/gcc/cp/init.c:350 0x620e74 build_functional_cast(tree_node*, tree_node*, int) ../../gcc/gcc/cp/typeck2.c:1928 0x687643 cp_parser_functional_cast ../../gcc/gcc/cp/parser.c:23581 0x68118b cp_parser_postfix_expression ../../gcc/gcc/cp/parser.c:5936 0x683e73 cp_parser_unary_expression ../../gcc/gcc/cp/parser.c:7287 0x684c38 cp_parser_binary_expression ../../gcc/gcc/cp/parser.c:8030 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. Started with r203989. >>From gcc-bugs-return-461356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Sep 06 13:20:39 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31299 invoked by alias); 6 Sep 2014 13:20:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31268 invoked by uid 48); 6 Sep 2014 13:20:35 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/63194] [5 Regression] ICE in maybe_explain_implicit_delete, at cp/method.c:1552 Date: Sat, 06 Sep 2014 13:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work short_desc cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-09/txt/msg01190.txt.bz2 Content-length: 716 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63194 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |4.8.3, 4.9.0 Summary|[4.9/5 Regression] ICE in |[5 Regression] ICE in |maybe_explain_implicit_dele |maybe_explain_implicit_dele |te, at cp/method.c:1552 |te, at cp/method.c:1552 Known to fail| |5.0 --- Comment #1 from Markus Trippelsdorf --- Actually gcc-4.9 compiles the testcase without any warning.