From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8613 invoked by alias); 7 Jan 2013 15:54:51 -0000 Received: (qmail 8573 invoked by uid 48); 7 Jan 2013 15:54:33 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/55900] internal compiler error: Segmentation fault Date: Mon, 07 Jan 2013 15:54: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-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Keywords Status Last reconfirmed Ever Confirmed Known to fail Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2013-01/txt/msg00526.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55900 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2013-01-07 Ever Confirmed|0 |1 Known to fail| |4.7.2, 4.8.0 --- Comment #2 from Richard Biener 2013-01-07 15:54:32 UTC --- Reduced testcase: template class complex; template<> struct complex { typedef __complex__ double _ComplexT; constexpr complex(double __r = 0.0, double __i = 0.0) : _M_value{ __r, __i } { } _ComplexT _M_value; }; template struct B { B() { complex((true ? 1.0 : complex())); } }; 4.6 does not support the initializer list, so technically not a regression.