[Bug rtl-optimization/16408] [3.4 Regression] internal compiler error: in delete_insn, at cfgrtl.c:146

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jul 7 17:05:00 GMT 2004


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-07-07 17:05 -------
Here's a testcase that crashes the C as well as the C++ frontend.
Just compile with "-O2 -fPIC":

===============================================
int *baz() __attribute__ ((__const__));

void bar(int**);

void foo(int i)
{
  int *p;

  if (i) *p = 0;
  bar(&p);
  *p++ = *baz();
  *p++ = 0;
}
===============================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to work|3.5.0 3.3.3                 |3.5.0 3.3.4
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-07 17:05:10
               date|                            |


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



More information about the Gcc-bugs mailing list