This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55900] internal compiler error: Segmentation fault
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 07 Jan 2013 15:54:32 +0000
- Subject: [Bug c++/55900] internal compiler error: Segmentation fault
- Auto-submitted: auto-generated
- References: <bug-55900-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55900
Richard Biener <rguenth at gcc dot gnu.org> 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 <rguenth at gcc dot gnu.org> 2013-01-07 15:54:32 UTC ---
Reduced testcase:
template<typename _Tp> class complex;
template<>
struct complex<double>
{
typedef __complex__ double _ComplexT;
constexpr complex(double __r = 0.0, double __i = 0.0)
: _M_value{ __r, __i } { }
_ComplexT _M_value;
};
template <typename Tp>
struct B
{
B() { complex<double>((true ? 1.0 : complex<double>())); }
};
4.6 does not support the initializer list, so technically not a regression.