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

           Summary: ICE [arm] immed_double_const at emit-rtl.c (-mfpu=neon
                    -g -O1)
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: juha.kallioi...@nokia.com


Created attachment 23707
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23707
pre-processed source

When compiling the attached pre-processed source for arm (-march=armv7-a
-mtune=cortex-a8) and using options -mfpu=neon -g -O1 I get an ICE.

kaltsi@kaltsnatty:~/tmp/ice$ arm-linux-gnueabi-gcc-4.5 -mfpu=neon -O1 -g -c
emit-rtl-ice.i
optimized.c: In function ‘move_16bit_to_32bit’:
optimized.c:4:6: internal compiler error: in immed_double_const, at
emit-rtl.c:552
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.

This does not happen if I leave the -g option out.

Also reported to linaro: https://bugs.launchpad.net/gcc-linaro/+bug/736007

Reply via email to