[Bug c/35964] New: ICE with -funroll-loops on arm/arm eabi

riku dot voipio at iki dot fi gcc-bugzilla@gcc.gnu.org
Thu Apr 17 11:15:00 GMT 2008


Since the upgrade to gcc-4.3, gcc has started to ICE on selected
packages. After some debugging, all cases so far seem to relate
to using -funroll-loops, so I'll start putting all ICE's to same
bugreport.

Using built-in specs.
Target: arm-linux-gnueabi
Configured with: ../src/configure linux gnueabi
Thread model: posix
gcc version 4.3.1 20080401 (prerelease) (Debian 4.3.0-3)

libcoveb:

coveb-tree.i:

$ gcc-4.3 -S -g -O2 -funroll-loops coveb-tree.i
../../../src/coveb-tree.c: In function 'coveb__ibq_remove':
../../../src/coveb-tree.c:1053: internal compiler error: Segmentation
fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.

Removing -funroll-loops make compile succeed.

john:

$ gcc -S -Wall -O2 -fomit-frame-pointer -funroll-loops DES_bs.i
DES_bs.c: In function 'DES_bs_cmp_all':
DES_bs.c:175: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.

Removing -funroll-loops make compile succeed.

pymol:

$ gcc -g -O2 -fwrapv -funroll-loops -S Match.i
layer0/Match.c: In function 'MatchAlign':
layer0/Match.c:578: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.

removing either -funroll-loops or -fwrapv makes compile succeed.

openarena:

$ gcc -S -O3 -ffast-math -funroll-loops files.i

code/qcommon/files.c: In function 'FS_Seek':
code/qcommon/files.c:1454: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.

Removing -funroll-loops make compile succeed.


-- 
           Summary: ICE with -funroll-loops on arm/arm eabi
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: riku dot voipio at iki dot fi
 GCC build triplet: arm-linux-gnueabi
  GCC host triplet: arm-linux-gnueabi
GCC target triplet: arm-linux-gnueabi


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



More information about the Gcc-bugs mailing list