This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/55113] ICE in emit_library_call_value_1, at calls.c:3757


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

--- Comment #9 from Patrick Oppenlander <patrick at motec dot com.au> ---
Compiling the new test case results in:

patrick@gtr:~/Downloads/source$ powerpc-eabispe-gcc -v -fshort-double -flto
-nostdlib -o test bug.c
Using built-in specs.
COLLECT_GCC=powerpc-eabispe-gcc
COLLECT_LTO_WRAPPER=/home/patrick/src/e7/toolchain/stage2/libexec/gcc/powerpc-eabispe/4.8.1/lto-wrapper
Target: powerpc-eabispe
Configured with: /home/patrick/src/e7/toolchain/src/gcc-4.8.1/configure
--prefix=/home/patrick/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=/home/patrick/src/e7/toolchain/../prex_sysroot --disable-nls
--disable-werror --with-newlib --with-gmp=/home/patrick/src/e7/toolchain/stage2
--with-mpfr=/home/patrick/src/e7/toolchain/stage2 --disable-shared
--disable-debug --disable-libssp --with-cpu=8540
Thread model: single
gcc version 4.8.1 (GCC) 
COLLECT_GCC_OPTIONS='-v' '-fshort-double' '-flto' '-nostdlib' '-o' 'test'
'-mcpu=8540'
 /home/patrick/src/e7/toolchain/stage2/libexec/gcc/powerpc-eabispe/4.8.1/cc1
-quiet -v bug.c -quiet -dumpbase bug.c -mcpu=8540 -auxbase bug -version
-fshort-double -flto -o /tmp/ccnCVRUu.s
GNU C (GCC) version 4.8.1 (powerpc-eabispe)
    compiled by GNU C version 4.7.3, GMP version 5.0.1, MPFR version 3.1.2, MPC
version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory
"/home/patrick/src/e7/toolchain/../prex_sysroot/usr/local/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/4.8.1/include

/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/4.8.1/include-fixed

/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/4.8.1/../../../../powerpc-eabispe/include
 /home/patrick/src/e7/toolchain/../prex_sysroot/usr/include
End of search list.
GNU C (GCC) version 4.8.1 (powerpc-eabispe)
    compiled by GNU C version 4.7.3, GMP version 5.0.1, MPFR version 3.1.2, MPC
version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: e48f86d0c3d6aa531e016751882fea57
COLLECT_GCC_OPTIONS='-v' '-fshort-double' '-flto' '-nostdlib' '-o' 'test'
'-mcpu=8540'

/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/4.8.1/../../../../powerpc-eabispe/bin/as
-me500 -many -o /tmp/ccsCqBnU.o /tmp/ccnCVRUu.s
COMPILER_PATH=/home/patrick/src/e7/toolchain/stage2/libexec/gcc/powerpc-eabispe/4.8.1/:/home/patrick/src/e7/toolchain/stage2/libexec/gcc/powerpc-eabispe/4.8.1/:/home/patrick/src/e7/toolchain/stage2/libexec/gcc/powerpc-eabispe/:/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/4.8.1/:/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/:/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/4.8.1/../../../../powerpc-eabispe/bin/
LIBRARY_PATH=/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/4.8.1/:/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/4.8.1/../../../../powerpc-eabispe/lib/
COLLECT_GCC_OPTIONS='-v' '-fshort-double' '-flto' '-nostdlib' '-o' 'test'
'-mcpu=8540'

/home/patrick/src/e7/toolchain/stage2/libexec/gcc/powerpc-eabispe/4.8.1/collect2
-plugin
/home/patrick/src/e7/toolchain/stage2/libexec/gcc/powerpc-eabispe/4.8.1/liblto_plugin.so
-plugin-opt=/home/patrick/src/e7/toolchain/stage2/libexec/gcc/powerpc-eabispe/4.8.1/lto-wrapper
-plugin-opt=-fresolution=/tmp/ccXfXmRj.res -flto
--sysroot=/home/patrick/src/e7/toolchain/../prex_sysroot --eh-frame-hdr -V -dn
-Bstatic -o test
-L/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/4.8.1
-L/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/4.8.1/../../../../powerpc-eabispe/lib
/tmp/ccsCqBnU.o
GNU ld (GNU Binutils) 2.23.1
  Supported emulations:
   elf32ppc
   elf32ppclinux
   elf32ppcsim
 powerpc-eabispe-gcc @/tmp/ccKgHGUV.args
Using built-in specs.
COLLECT_GCC=powerpc-eabispe-gcc
Target: powerpc-eabispe
Configured with: /home/patrick/src/e7/toolchain/src/gcc-4.8.1/configure
--prefix=/home/patrick/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=/home/patrick/src/e7/toolchain/../prex_sysroot --disable-nls
--disable-werror --with-newlib --with-gmp=/home/patrick/src/e7/toolchain/stage2
--with-mpfr=/home/patrick/src/e7/toolchain/stage2 --disable-shared
--disable-debug --disable-libssp --with-cpu=8540
Thread model: single
gcc version 4.8.1 (GCC) 
COLLECT_GCC_OPTIONS='-c' '-mcpu=8540' '-v' '-nostdlib' '-mcpu=8540' '-dumpdir'
'./' '-dumpbase' 'test.wpa' '-fltrans-output-list=/tmp/ccBBf5pw.ltrans.out'
'-fwpa' '-fresolution=/tmp/ccXfXmRj.res'
 /home/patrick/src/e7/toolchain/stage2/libexec/gcc/powerpc-eabispe/4.8.1/lto1
-quiet -dumpdir ./ -dumpbase test.wpa -mcpu=8540 -mcpu=8540 -auxbase ccsCqBnU
-version -fltrans-output-list=/tmp/ccBBf5pw.ltrans.out -fwpa
-fresolution=/tmp/ccXfXmRj.res @/tmp/cc7E2Oxw
GNU GIMPLE (GCC) version 4.8.1 (powerpc-eabispe)
    compiled by GNU C version 4.7.3, GMP version 5.0.1, MPFR version 3.1.2, MPC
version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU GIMPLE (GCC) version 4.8.1 (powerpc-eabispe)
    compiled by GNU C version 4.7.3, GMP version 5.0.1, MPFR version 3.1.2, MPC
version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
COMPILER_PATH=/home/patrick/src/e7/toolchain/stage2/libexec/gcc/powerpc-eabispe/4.8.1/:/home/patrick/src/e7/toolchain/stage2/libexec/gcc/powerpc-eabispe/4.8.1/:/home/patrick/src/e7/toolchain/stage2/libexec/gcc/powerpc-eabispe/:/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/4.8.1/:/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/:/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/4.8.1/../../../../powerpc-eabispe/bin/:/home/patrick/src/e7/toolchain/stage2/libexec/gcc/powerpc-eabispe/4.8.1/:/home/patrick/src/e7/toolchain/stage2/libexec/gcc/powerpc-eabispe/4.8.1/:/home/patrick/src/e7/toolchain/stage2/libexec/gcc/powerpc-eabispe/:/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/4.8.1/:/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/:/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/4.8.1/../../../../powerpc-eabispe/bin/
LIBRARY_PATH=/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/4.8.1/:/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/4.8.1/../../../../powerpc-eabispe/lib/
COLLECT_GCC_OPTIONS='-c' '-mcpu=8540' '-v' '-nostdlib' '-mcpu=8540' '-dumpdir'
'./' '-dumpbase' 'test.wpa' '-fltrans-output-list=/tmp/ccBBf5pw.ltrans.out'
'-fwpa' '-fresolution=/tmp/ccXfXmRj.res'
 powerpc-eabispe-gcc @/tmp/ccXeBPWK.args
Using built-in specs.
COLLECT_GCC=powerpc-eabispe-gcc
Target: powerpc-eabispe
Configured with: /home/patrick/src/e7/toolchain/src/gcc-4.8.1/configure
--prefix=/home/patrick/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=/home/patrick/src/e7/toolchain/../prex_sysroot --disable-nls
--disable-werror --with-newlib --with-gmp=/home/patrick/src/e7/toolchain/stage2
--with-mpfr=/home/patrick/src/e7/toolchain/stage2 --disable-shared
--disable-debug --disable-libssp --with-cpu=8540
Thread model: single
gcc version 4.8.1 (GCC) 
COLLECT_GCC_OPTIONS='-c' '-mcpu=8540' '-v' '-nostdlib' '-mcpu=8540' '-dumpdir'
'./' '-dumpbase' 'test.ltrans0' '-fltrans' '-o'
'/tmp/ccBBf5pw.ltrans0.ltrans.o'
 /home/patrick/src/e7/toolchain/stage2/libexec/gcc/powerpc-eabispe/4.8.1/lto1
-quiet -dumpdir ./ -dumpbase test.ltrans0 -mcpu=8540 -mcpu=8540 -auxbase-strip
/tmp/ccBBf5pw.ltrans0.ltrans.o -version -fltrans @/tmp/ccn3ihQz -o
/tmp/ccb4O8nZ.s
GNU GIMPLE (GCC) version 4.8.1 (powerpc-eabispe)
    compiled by GNU C version 4.7.3, GMP version 5.0.1, MPFR version 3.1.2, MPC
version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU GIMPLE (GCC) version 4.8.1 (powerpc-eabispe)
    compiled by GNU C version 4.7.3, GMP version 5.0.1, MPFR version 3.1.2, MPC
version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
bug.c: In function 'main':
bug.c:8:8: internal compiler error: in emit_library_call_value_1, at
calls.c:3757
  f = a + b * 1e-12;
        ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: powerpc-eabispe-gcc returned 1 exit status
/home/patrick/src/e7/toolchain/stage2/lib/gcc/powerpc-eabispe/4.8.1/../../../../powerpc-eabispe/bin/ld:
lto-wrapper failed
collect2: error: ld returned 1 exit status


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]