------- Comment #3 from reichelt at gcc dot gnu dot org  2009-10-30 15:52 
-------
Confirmed. Even shorter testcase (crashes with "-O2
-fno-ira-share-save-slots"):

==========================
struct A
{
  A(double);
};

int foo();

A bar(double x)
{
  double y;
  if (foo())
    y = 1 / x;
  return y;
}
==========================

bug.cc: In function 'bar(double)':
bug.cc:14:1: internal compiler error: in insert_save, at caller-save.c:1223
Please submit a full bug report, [etc.]

The code compiles with GCC 4.4.0, but crashes since GCC 4.4.1.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to fail|                            |4.4.1 4.4.2
      Known to work|                            |4.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2009-10-30 15:52:44
               date|                            |
            Summary|ICE in insert_save (caller- |[4.4/4.5 regression] ICE in
                   |save.c) for SPEC CPU2000's  |insert_save (caller-save.c)
                   |252.eon                     |for SPEC CPU2000's 252.eon
   Target Milestone|---                         |4.4.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41619

Reply via email to