public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "patrick at motec dot com.au" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/55113] ICE in emit_library_call_value_1, at calls.c:3757
Date: Wed, 05 Jun 2013 22:19:00 -0000	[thread overview]
Message-ID: <bug-55113-4-KfVxg8br9o@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55113-4@http.gcc.gnu.org/bugzilla/>

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


  parent reply	other threads:[~2013-06-05 22:19 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-28 22:26 [Bug lto/55113] New: internal compiler error: in emit_library_call_value_1, at calls.c:3739 patrick at motec dot com.au
2012-10-28 23:27 ` [Bug lto/55113] " pinskia at gcc dot gnu.org
2012-10-29 14:49 ` rguenth at gcc dot gnu.org
2012-11-21  2:34 ` patrick at motec dot com.au
2012-11-21  3:06 ` patrick at motec dot com.au
2012-11-21  3:11 ` patrick at motec dot com.au
2012-11-21  3:12 ` patrick at motec dot com.au
2013-03-25  5:42 ` patrick at motec dot com.au
2013-06-05 22:17 ` [Bug lto/55113] ICE in emit_library_call_value_1, at calls.c:3757 patrick at motec dot com.au
2013-06-05 22:19 ` patrick at motec dot com.au [this message]
2014-01-20  9:34 ` [Bug lto/55113] ICE with LTO and -fshort-double rguenth at gcc dot gnu.org
2014-02-26 21:03 ` pmatos at gcc dot gnu.org
2014-02-27  8:58 ` rguenth at gcc dot gnu.org
2014-02-27  9:22 ` pmatos at gcc dot gnu.org
2014-02-28 10:17 ` pmatos at gcc dot gnu.org
2014-03-02 20:14 ` pmatos at gcc dot gnu.org
2014-03-04 11:51 ` pmatos at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-55113-4-KfVxg8br9o@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).