[Bug c++/15528] segmentation fault with invalid code

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed May 19 22:27:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-19 04:25 -------
Confirmed and here is the reduced source:
template<class T> struct A
{
  A(const A<T>& = A<T>()){}
};
A<int> a;

Thanks for pointing out what was wrong, it made it easy to find a reduced source.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-invalid-code, memory-
                   |                            |hog
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-19 04:25:25
               date|                            |
            Summary|segv                        |segmentation fault with
                   |                            |invalid code


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15528



More information about the Gcc-bugs mailing list