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

             Bug #: 53092
           Summary: ICE using -ftree-loop-if-convert-stores -O3
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: b3timm...@speedymail.org


Created attachment 27225
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27225
preprocessed C source

I reduced the original file atapi.i slightly, but here is the invocation:

gcc -v -B. -r -nostdlib -Wall -ftree-loop-if-convert-stores -O3 atapi.i
Using built-in specs.
COLLECT_GCC=/usr/local/bin/gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --enable-languages=c,c++
--enable-cloog-backend=isl
Thread model: posix
gcc version 4.8.0 20120417 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-v' '-B' '.' '-r' '-nostdlib' '-Wall'
'-ftree-loop-if-convert-stores' '-O3' '-mtune=generic' '-march=x86-64'
 /usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/cc1 -fpreprocessed
atapi.i -quiet -dumpbase atapi.i -mtune=generic -march=x86-64 -auxbase atapi
-O3 -Wall -version -ftree-loop-if-convert-stores -o /tmp/cc7uZdoI.s
GNU C (GCC) version 4.8.0 20120417 (experimental) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.8.0 20120417 (experimental), GMP version
5.0.4, MPFR version 3.1.0, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 4.8.0 20120417 (experimental) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.8.0 20120417 (experimental), GMP version
5.0.4, MPFR version 3.1.0, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 18e514d302ccbc55708943dff7b495a6
In file included from /build/qemu/sysemu.h:9:0,
                 from /build/qemu/hw/ide/internal.h:13,
                 from /build/qemu/hw/ide/atapi.c:26:
/build/qemu/hw/ide/internal.h: In function ‘cmd_inquiry’:
/build/qemu/hw/ide/internal.h:432:13: internal compiler error: Segmentation
fault

Reply via email to