[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug c++/18677] [3.4 / 4.0 regression] ICE: Segmentation fault (program cc1plus)



------- 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

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



Reply to: