[Bug middle-end/34701] New: ICE in tree-ssa-ccp.c with -fipa-struct-reorg
alond at il dot ibm dot com
gcc-bugzilla@gcc.gnu.org
Mon Jan 7 10:06:00 GMT 2008
The following testcase fails for me when run with -fipa-struct-reorg:
#include <stdlib.h>
typedef struct baba
{
int a;
int b[10];
} type_struct;
type_struct *str1;
int main()
{
int i;
str1 = malloc (10 * sizeof (type_struct));
for (i=0; i<=9; i++)
str1[i].a = str1[i].b[0];
return 0;
}
The failure is:
try2.c: In function ÂmainÂ:
try2.c:12: internal compiler error: in set_lattice_value, at tree-ssa-ccp.c:486
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE in tree-ssa-ccp.c with -fipa-struct-reorg
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: alond at il dot ibm dot com
GCC build triplet: powerpc-suse-linux
GCC host triplet: powerpc-suse-linux
GCC target triplet: powerpc-suse-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34701
More information about the Gcc-bugs
mailing list