[Bug c++/18677] [3.4 / 4.0 regression] ICE: Segmentation fault (program cc1plus)
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 25 21:55:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-25 21:55 -------
The code is invalid but we should not be seg faulting on it.
Reduced code:
struct string {};
struct DisplayString : public string {
DisplayString() ;
DisplayString(char *s);
DisplayString(string s);
DisplayString(DisplayString& ds) ;
};
DisplayString a = "%g";
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-invalid-code
Last reconfirmed|0000-00-00 00:00:00 |2004-11-25 21:55:24
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18677
More information about the Gcc-bugs
mailing list