This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-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 13:48:36 -0000
- Subject: [Bug rtl-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 13:48 -------
Confirmed. Reduced testcase:
=====================================
struct A
{
int *p;
int i;
};
void foo(struct A* a)
{
int *q, j=0;
static void *L[]={ &&L1 };
goto *q;
L0:
*q=j;
j=1;
if(q<a->p) a->i=0;
if(q<a->p) a->i=0;
L1:
*q=0;
goto L0;
}
=====================================
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Component|middle-end |rtl-optimization
Ever Confirmed| |1
GCC build triplet|powerpc-apple-darwin7.5.0 |
GCC host triplet|powerpc-apple-darwin7.5.0 |
GCC target triplet|powerpc-apple-darwin7.5.0 |
Keywords| |monitored
Last reconfirmed|0000-00-00 00:00:00 |2004-11-02 13:48:30
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18270