https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61586

            Bug ID: 61586
           Summary: ICE on alpha in alpha_handle_trap_shadows, at
                    config/alpha/alpha.c:8724
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mcree at orcon dot net.nz
            Target: alpha

Created attachment 32985
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32985&action=edit
Failing preprocessed source.

gcc ICE in alpha_handle_trap_shadows, at config/alpha/alpha.c:8724 seen with
the attached preprocessed source (being a source file from python-scipy) when
compiling at -O2 with both -mieee and -mcpu=ev4 on gcc git master and the 4.9
branch.

/home/mjc/toolchain/gcc-build/./gcc/xgcc -B/home/mjc/toolchain/gcc-build/./gcc/
-g -O2 -mcpu=ev4 -mieee -c ccEXci8c.c 
scipy/ndimage/src/ni_fourier.c: In function ‘NI_FourierFilter’:
scipy/ndimage/src/ni_fourier.c:420:1: internal compiler error: in
alpha_handle_trap_shadows, at config/alpha/alpha.c:8726
0x120a0b303 alpha_handle_trap_shadows
    ../../gcc.git/gcc/config/alpha/alpha.c:8726
0x120a0b303 alpha_reorg
    ../../gcc.git/gcc/config/alpha/alpha.c:9396
0x12064347b execute
    ../../gcc.git/gcc/reorg.c:3959
Please submit a full bug report,
with preprocessed source if appropriate.

Reducing optimisation to -O1 or leaving out any of -mieee or -mcpu=ev4 results
in a successful compilation.  While I have not checked the gcc git 4.8 branch I
note that Debian supplied gcc-4.8 compiles the file fine whereas Debian
supplied gcc-4.9 ICEs so likely to be a regression from the 4.8 branch.

I wonder if this ICE is related in any way to bug 56858.

Reply via email to