public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/42146]  New: ICE in tree_low_cst
@ 2009-11-22 15:47 hutchinsonandy at gcc dot gnu dot org
  0 siblings, 0 replies; only message in thread
From: hutchinsonandy at gcc dot gnu dot org @ 2009-11-22 15:47 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-22 15:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-22 15:47 [Bug c/42146] New: ICE in tree_low_cst hutchinsonandy at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).