This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/16586] [3.3/3.4 Regression] -O3 -fno-gcse ICE verify_local_live_at_start flow.c:575
- 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: 16 Aug 2004 14:23:38 -0000
- Subject: [Bug rtl-optimization/16586] [3.3/3.4 Regression] -O3 -fno-gcse ICE verify_local_live_at_start flow.c:575
- References: <20040716071005.16586.ned@bike-nomad.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-08-16 14:23 -------
Here's a slightly shorter testcase. It crashes everything from 3.1 until
3.4 branch.
======================================
int (**foo)(int);
int bar()
{
static int **s;
int i, j, k=i, **p;
(*foo)(**s);
if ((*foo)(0)) return 0;
if (k > 0) return 0;
p = s;
for (i = 0; i <= k-1; ++i)
{
j = (*foo)(0);
if ((*foo)(0)) return 0;
**p = j;
}
}
======================================
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
Known to fail|3.2.3 3.3.3 3.4.0 |3.1 3.2.3 3.3.3 3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16586