This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18270] [4.0 Regression] internal compiler error: in tree_redirect_edge_and_branch, at tree-cfg.c:4146
- 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: 2 Nov 2004 14:12:19 -0000
- Subject: [Bug tree-optimization/18270] [4.0 Regression] internal compiler error: in tree_redirect_edge_and_branch, at tree-cfg.c:4146
- References: <20041102073336.18270.lucier@math.purdue.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-11-02 14:12 -------
Even shorter testcase:
================================
void foo()
{
void **p;
int *q, i=0;
static void *L[]={ &&L1 };
goto **p;
L0:
*q=i;
i=1;
if (q<*p) *q=0;
if (q<*p) *q=0;
L1:
*q=0;
goto L0;
}
================================
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18270