This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/12726] [3.3.2 regression] ICE (segfault) on trivial code


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]