This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/55900] internal compiler error: Segmentation fault


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]