[Bug c/42146] New: ICE in tree_low_cst
hutchinsonandy at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Nov 22 15:47:00 GMT 2009
The test trunk/gcc/testsuite/gcc.dg/large-size-array-2.c causes ICE on AVR
target.
/* PR c/25309 */
/* { dg-do compile } */
/* { dg-options "-O2" } */
static char * name[] = {
[0x80000000] = "bar"
};
/* { dg-error "too large" "" { target { { ! lp64 } && { ! llp64 } } } 6 } */
llp645503.c:2:6: error: size of array 'dummy' is negative
Executing on host: /media/verbatim/gcchead/obj-dir/gcc/xgcc
-B/media/verbatim/gcchead/obj-dir/gcc/
/media/verbatim/gcchead/trunk/gcc/testsuite/gcc.dg/large-size-array-2.c -O2
-DSTACK_SIZE=2048 -DNO_TRAMPOLINES -S -DSIGNAL_SUPPRESS -mmcu=atmega128 -o
large-size-array-2.s (timeout = 300)
/media/verbatim/gcchead/trunk/gcc/testsuite/gcc.dg/large-size-array-2.c:6:3:
internal compiler error: in tree_low_cst, at tree.c:6199
--
Summary: ICE in tree_low_cst
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hutchinsonandy at gcc dot gnu dot org
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: avr-unknown-none
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42146
More information about the Gcc-bugs
mailing list