This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/16408] [3.4 Regression] internal compiler error: in delete_insn, at cfgrtl.c:146
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jul 2004 17:05:10 -0000
- Subject: [Bug rtl-optimization/16408] [3.4 Regression] internal compiler error: in delete_insn, at cfgrtl.c:146
- References: <20040707145717.16408.treeve01@pi.be>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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