From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86799 invoked by alias); 28 May 2015 07:47:10 -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 86739 invoked by uid 48); 28 May 2015 07:47:06 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66320] [5/6 Regression] ICE: in cxx_eval_constant_expression, at cp/constexpr.c:3524 Date: Thu, 28 May 2015 07:47: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: 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_status cf_reconfirmed_on cc short_desc everconfirmed cf_known_to_fail 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: 2015-05/txt/msg02315.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66320 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-05-28 CC| |trippels at gcc dot gnu.org Summary|internal compiler error: in |[5/6 Regression] ICE: in |cxx_eval_constant_expressio |cxx_eval_constant_expressio |n, at cp/constexpr.c:3524 |n, at cp/constexpr.c:3524 Ever confirmed|0 |1 Known to fail| |5.0, 6.0 --- Comment #1 from Markus Trippelsdorf --- markus@x4 tmp % cat testcase.ii class A { virtual int m_fn1 (); }; class B { public: B (int); }; class D : B { struct C { A a; A b =3D a; }; D (int *); C _channels; }; D::D (int *) : B (0) { }; markus@x4 tmp % g++ -c -std=3Dc++11 testcase.ii testcase.ii: In constructor =E2=80=98D::D(int*)=E2=80=99: testcase.ii:20:20: internal compiler error: in cxx_eval_constant_expression= , at cp/constexpr.c:3477 D::D (int *) : B (0) ^ 0x7ccfd3 cxx_eval_constant_expression ../../gcc/gcc/cp/constexpr.c:3476 0x7cad5e cxx_eval_constant_expression ../../gcc/gcc/cp/constexpr.c:3191 0x7cb3a5 cxx_eval_constant_expression ../../gcc/gcc/cp/constexpr.c:3390 0x7cb28b cxx_eval_indirect_ref ../../gcc/gcc/cp/constexpr.c:2432 0x7cb28b cxx_eval_constant_expression ../../gcc/gcc/cp/constexpr.c:3182 0x7cc415 cxx_eval_component_reference ../../gcc/gcc/cp/constexpr.c:1753 0x7cc415 cxx_eval_constant_expression ../../gcc/gcc/cp/constexpr.c:3342 0x7cad5e cxx_eval_constant_expression ../../gcc/gcc/cp/constexpr.c:3191 0x7cb3a5 cxx_eval_constant_expression ../../gcc/gcc/cp/constexpr.c:3390 0x7cb3a5 cxx_eval_constant_expression ../../gcc/gcc/cp/constexpr.c:3390 0x7c9503 cxx_bind_parameters_in_call ../../gcc/gcc/cp/constexpr.c:1101 0x7c9503 cxx_eval_call_expression ../../gcc/gcc/cp/constexpr.c:1282 0x7cadf5 cxx_eval_constant_expression ../../gcc/gcc/cp/constexpr.c:3062 0x7cd5a7 is_sub_constant_expr(tree_node*) ../../gcc/gcc/cp/constexpr.c:3642 0x71f6c9 check_noexcept_r ../../gcc/gcc/cp/except.c:1182 0xf14612 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set*)) ../../gcc/gcc/tree.c:11149 0xf14979 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set*)) ../../gcc/gcc/tree.c:11363 0xf19248 walk_tree_without_duplicates_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set*)) ../../gcc/gcc/tree.c:11479 0x71f21f expr_noexcept_p(tree_node*, int) ../../gcc/gcc/cp/except.c:1259 0x731ff9 walk_field_subobs ../../gcc/gcc/cp/method.c:1221 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-487476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 28 07:49:16 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95939 invoked by alias); 28 May 2015 07:49:15 -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 95880 invoked by uid 48); 28 May 2015 07:49:11 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/66312] [SH] Regression: Bootstrap failure gcc/d/ctfeexpr.dmd.o differs with gcc-4.8/4.9 Date: Thu, 28 May 2015 07:49: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: 4.9.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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: 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: 2015-05/txt/msg02316.txt.bz2 Content-length: 636 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66312 --- Comment #3 from Oleg Endo --- (In reply to Richard Biener from comment #2) > D is not part of FSF GCC so I am inclined to close as invalid. If there's a bug that shows up with D but doesn't show up with non-D, and the bug can be identified as an SH backend bug and it's not too complex, then we can fix it. Otherwise I guess we'd have to pass the ball to the debian maintainers of their version of GCC (they also apply a bunch of patches, a vanilla GCC doesn't even build out of the box on SH4 debian). Anyway, please leave this PR open for now.