This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/17810] New: internal compiler error: in verify_local_live_at_start for arm-rtems, arm-linux


The internal compiler bug on legal code similar to bug 15342.
This bug manifest itself on specific combination of two functions
accessing structure fields and containing more return paths.
If one of the functions is moved into separate file, error seems
to disappear.

arm-linux-gcc --pipe -B/opt/rtems/arm-rtems/csb336/lib/  \
-mcpu=arm920 -mstructure-size-boundary=8 -msoft-float \
-g -Wall  -O3 -g \
-o icetest1.o \
-c icetest1.c

icetest1.c: In function `sui_get_event':
icetest1.c:172: internal compiler error: in verify_local_live_at_start, at
flow.c:546
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


Experienced on next x86 to ARM GCC builds

GCC 3.4.1 and GCC 3.4.2
./configure --target=arm-rtems --prefix=/usr --with-cpu=arm9 \
  --enable-languages=c,c++ --with-gnu-ld --with-float=soft \
  --enable-threads=rtems --enable-target-optspace --verbose  \
  --disable-nls --host=i586-pc-linux-gnu --with-newlib
Thread model: rtems
gcc version 3.4.2

GCC 3.4.1
./configure --target=arm-linux --prefix=/usr --with-cpu=arm9 \
--enable-languages=c,c++ --with-gnu-ld --enable-shared --enable-symvers=gnu \
--with-float=soft --enable-threads=posix --enable-__cxa_atexit \
--enable-target-optspace --verbose --disable-nls --host=i586-pc-linux-gnu \
--with-headers=/usr/src/linux-2.6.8-rc1-arm/include
Thread model: posix
gcc version 3.4.1

Attached reprocessed sources length reduced form original 3150 lines
to 173 lines. More attempt to simplify code even more lead to compilation
without errors.

-- 
           Summary: internal compiler error: in verify_local_live_at_start
                    for arm-rtems, arm-linux
           Product: gcc
           Version: 3.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pisa at cmp dot felk dot cvut dot cz
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i586-pc-linux-gnu
  GCC host triplet: i586-pc-linux-gnu
GCC target triplet: arm-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17810


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]