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



             Bug #: 55112

           Summary: internal compiler error: in simplify_subreg, at

                    simplify-rtx.c:5424

    Classification: Unclassified

           Product: gcc

           Version: 4.7.2

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: lto

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: patr...@motec.com.au





Using cross compile gcc (x86_64->powerpc-eabispe) the following command line

results in an internal compiler error.



I've attached the problem object file.



Hope this is enough information, thanks.



patrick@gtr:~/bug/report1$ powerpc-eabispe-gcc -v -Os -flto=jobserver -nostdlib

-o test bug.o

Using built-in specs.

COLLECT_GCC=powerpc-eabispe-gcc

COLLECT_LTO_WRAPPER=/home/patrick/src/e7/toolchain/stage2/bin/../libexec/gcc/powerpc-eabispe/4.7.2/lto-wrapper

Target: powerpc-eabispe

Configured with: /z/src/e7/toolchain/src/gcc-4.7.2/configure

--prefix=/z/src/e7/toolchain/stage2 --build=x86_64-unknown-linux-gnu

--host=x86_64-unknown-linux-gnu --target=powerpc-eabispe

--enable-languages=c,c++ --with-sysroot=/z/src/e7/toolchain/../prex_sysroot

--disable-nls --disable-werror --with-newlib

--with-gmp=/z/src/e7/toolchain/stage2 --with-mpfr=/z/src/e7/toolchain/stage2

--disable-shared --disable-debug --disable-libssp --with-cpu=8540

Thread model: single

gcc version 4.7.2 (GCC) 

COMPILER_PATH=/home/patrick/src/e7/toolchain/stage2/bin/../libexec/gcc/powerpc-eabispe/4.7.2/:/home/patrick/src/e7/toolchain/stage2/bin/../libexec/gcc/:/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2/../../../../powerpc-eabispe/bin/

LIBRARY_PATH=/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2/:/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/:/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2/../../../../powerpc-eabispe/lib/

COLLECT_GCC_OPTIONS='-v' '-Os' '-flto=jobserver' '-nostdlib' '-o' 'test'

'-mcpu=8540'



/home/patrick/src/e7/toolchain/stage2/bin/../libexec/gcc/powerpc-eabispe/4.7.2/collect2

-plugin

/home/patrick/src/e7/toolchain/stage2/bin/../libexec/gcc/powerpc-eabispe/4.7.2/liblto_plugin.so

-plugin-opt=/home/patrick/src/e7/toolchain/stage2/bin/../libexec/gcc/powerpc-eabispe/4.7.2/lto-wrapper

-plugin-opt=-fresolution=/tmp/ccTv6kV7.res -flto=jobserver

--sysroot=/z/src/e7/toolchain/../prex_sysroot --eh-frame-hdr -V -dn -Bstatic -o

test

-L/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2

-L/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc

-L/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2/../../../../powerpc-eabispe/lib

bug.o

GNU ld (GNU Binutils) 2.22

  Supported emulations:

   elf32ppc

   elf32ppclinux

   elf32ppcsim powerpc-eabispe-gcc @/tmp/ccu1YKNX.args

Using built-in specs.

COLLECT_GCC=powerpc-eabispe-gcc

Target: powerpc-eabispe

Configured with: /z/src/e7/toolchain/src/gcc-4.7.2/configure

--prefix=/z/src/e7/toolchain/stage2 --build=x86_64-unknown-linux-gnu

--host=x86_64-unknown-linux-gnu --target=powerpc-eabispe

--enable-languages=c,c++ --with-sysroot=/z/src/e7/toolchain/../prex_sysroot

--disable-nls --disable-werror --with-newlib

--with-gmp=/z/src/e7/toolchain/stage2 --with-mpfr=/z/src/e7/toolchain/stage2

--disable-shared --disable-debug --disable-libssp --with-cpu=8540

Thread model: single

gcc version 4.7.2 (GCC) 

COLLECT_GCC_OPTIONS='-c' '-msdata=none' '-mno-spe' '-mcpu=8540' '-v' '-Os'

'-nostdlib' '-mcpu=8540' '-dumpdir' './' '-dumpbase' 'test.wpa'

'-fltrans-output-list=/tmp/cc4GjAt6.ltrans.out' '-fwpa'

'-fresolution=/tmp/ccTv6kV7.res'



/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/../../libexec/gcc/powerpc-eabispe/4.7.2/lto1

-quiet -dumpdir ./ -dumpbase test.wpa -msdata=none -mno-spe -mcpu=8540

-mcpu=8540 -auxbase bug -Os -version

-fltrans-output-list=/tmp/cc4GjAt6.ltrans.out -fwpa

-fresolution=/tmp/ccTv6kV7.res @/tmp/ccfQPfB6

GNU GIMPLE (GCC) version 4.7.2 (powerpc-eabispe)

    compiled by GNU C version 4.7.2, GMP version 5.0.1, MPFR version 3.1.1, MPC

version 0.9

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072

GNU GIMPLE (GCC) version 4.7.2 (powerpc-eabispe)

    compiled by GNU C version 4.7.2, GMP version 5.0.1, MPFR version 3.1.1, MPC

version 0.9

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072

COMPILER_PATH=/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/../../libexec/gcc/powerpc-eabispe/4.7.2/:/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/../../libexec/gcc/:/home/patrick/src/e7/toolchain/stage2/bin/../libexec/gcc/powerpc-eabispe/4.7.2/:/home/patrick/src/e7/toolchain/stage2/bin/../libexec/gcc/powerpc-eabispe/4.7.2/:/home/patrick/src/e7/toolchain/stage2/bin/../libexec/gcc/:/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2/../../../../powerpc-eabispe/bin/:/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2/../../../../powerpc-eabispe/bin/

LIBRARY_PATH=/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2/:/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/:/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2/../../../../powerpc-eabispe/lib/

COLLECT_GCC_OPTIONS='-c' '-msdata=none' '-mno-spe' '-mcpu=8540' '-v' '-Os'

'-nostdlib' '-mcpu=8540' '-dumpdir' './' '-dumpbase' 'test.wpa'

'-fltrans-output-list=/tmp/cc4GjAt6.ltrans.out' '-fwpa'

'-fresolution=/tmp/ccTv6kV7.res'

 make -f /tmp/ccIeKgxG.mk all

Using built-in specs.

COLLECT_GCC=powerpc-eabispe-gcc

Target: powerpc-eabispe

Configured with: /z/src/e7/toolchain/src/gcc-4.7.2/configure

--prefix=/z/src/e7/toolchain/stage2 --build=x86_64-unknown-linux-gnu

--host=x86_64-unknown-linux-gnu --target=powerpc-eabispe

--enable-languages=c,c++ --with-sysroot=/z/src/e7/toolchain/../prex_sysroot

--disable-nls --disable-werror --with-newlib

--with-gmp=/z/src/e7/toolchain/stage2 --with-mpfr=/z/src/e7/toolchain/stage2

--disable-shared --disable-debug --disable-libssp --with-cpu=8540

Thread model: single

gcc version 4.7.2 (GCC) 

COLLECT_GCC_OPTIONS='-c' '-msdata=none' '-mno-spe' '-mcpu=8540' '-v' '-Os'

'-nostdlib' '-mcpu=8540' '-dumpdir' './' '-dumpbase' 'test.ltrans0' '-fltrans'

'-o' '/tmp/cc4GjAt6.ltrans0.ltrans.o'



/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/../../libexec/gcc/powerpc-eabispe/4.7.2/lto1

-quiet -dumpdir ./ -dumpbase test.ltrans0 -msdata=none -mno-spe -mcpu=8540

-mcpu=8540 -auxbase-strip /tmp/cc4GjAt6.ltrans0.ltrans.o -Os -version -fltrans

/tmp/cc4GjAt6.ltrans0.o -o /tmp/ccgARQQa.s

GNU GIMPLE (GCC) version 4.7.2 (powerpc-eabispe)

    compiled by GNU C version 4.7.2, GMP version 5.0.1, MPFR version 3.1.1, MPC

version 0.9

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072

GNU GIMPLE (GCC) version 4.7.2 (powerpc-eabispe)

    compiled by GNU C version 4.7.2, GMP version 5.0.1, MPFR version 3.1.1, MPC

version 0.9

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072

In file included from /home/patrick/src/e7/prex/include/sys/list.h:225:0,

                 from :80:

eqadc.c: In function 'eqadc_get_diag':

eqadc.c:955:20: internal compiler error: in simplify_subreg, at

simplify-rtx.c:5424

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.

make: *** [/tmp/cc4GjAt6.ltrans0.ltrans.o] Error 1

lto-wrapper: make returned 2 exit status

/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2/../../../../powerpc-eabispe/bin/ld:

lto-wrapper failed

collect2: error: ld returned 1 exit status

Reply via email to