[Bug c++/12726] [3.3.2 regression] ICE (segfault) on trivial code
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Oct 22 19:59:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12726
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Priority|P2 |P1
Last reconfirmed|0000-00-00 00:00:00 |2003-10-22 19:54:33
date| |
Summary|ICE (segfault) on trivial |[3.3.2 regression] ICE
|code |(segfault) on trivial code
Target Milestone|--- |3.3.3
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-10-22 19:54 -------
Indeed. Crashes 3.3.2, but not 3.3.1 or mainline.
Here's a reduced code snippet:
===============================================
struct A
{
A();
A(const A&);
A(int);
};
struct B
{
A a;
};
void foo()
{
B b;
b = (B){0};
}
===============================================
According to Phil's tester, the regression was introduced
between 2003-10-14-3.3 (#246) and 2003-10-15-3.3 (#247).
More information about the Gcc-bugs
mailing list