This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18677] [3.4 / 4.0 regression] ICE: Segmentation fault (program cc1plus)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Nov 2004 21:55:25 -0000
- Subject: [Bug c++/18677] [3.4 / 4.0 regression] ICE: Segmentation fault (program cc1plus)
- References: <20041125211836.18677.debian-gcc@lists.debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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