public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/55113] New: internal compiler error: in emit_library_call_value_1, at calls.c:3739
@ 2012-10-28 22:26 patrick at motec dot com.au
  2012-10-28 23:27 ` [Bug lto/55113] " pinskia at gcc dot gnu.org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: patrick at motec dot com.au @ 2012-10-28 22:26 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55113
           Summary: internal compiler error: in emit_library_call_value_1,
                    at calls.c:3739
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: patrick@motec.com.au


Created attachment 28550
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28550
Problem object files

Using cross-compile gcc (x86_64 to powerpc) the following command line results
in an internal compiler error.

I have attached the problem object files (couldn't reduce beyond these two).

Hope this is enough information, thanks.

patrick@gtr:~/bug/report2$ powerpc-eabispe-gcc -v -Os -flto=jobserver -nostdlib
-o test *.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/ccXmIQW9.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
bug0.o bug1.o
GNU ld (GNU Binutils) 2.22
  Supported emulations:
   elf32ppc
   elf32ppclinux
   elf32ppcsim powerpc-eabispe-gcc @/tmp/ccMr3FEZ.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/cc06h8H9.ltrans.out' '-fwpa'
'-fresolution=/tmp/ccXmIQW9.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 bug0 -Os -version
-fltrans-output-list=/tmp/cc06h8H9.ltrans.out -fwpa
-fresolution=/tmp/ccXmIQW9.res @/tmp/ccZssqpa
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/cc06h8H9.ltrans.out' '-fwpa'
'-fresolution=/tmp/ccXmIQW9.res'
 make -f /tmp/ccI66gEF.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/cc06h8H9.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/cc06h8H9.ltrans0.ltrans.o -Os -version -fltrans
/tmp/cc06h8H9.ltrans0.o -o /tmp/ccMPWpac.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 tpu.c:1245:0,
                 from :74:
etpu/etpu_port.c: In function 'tpu_port_status_get.isra.25':
etpu/etpu_port.c:310:33: internal compiler error: in emit_library_call_value_1,
at calls.c:3739
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [/tmp/cc06h8H9.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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug lto/55113] internal compiler error: in emit_library_call_value_1, at calls.c:3739
  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 ` pinskia at gcc dot gnu.org
  2012-10-29 14:49 ` rguenth at gcc dot gnu.org
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-10-28 23:27 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-10-28 23:27:17 UTC ---
Can you attach the preprocessed source for those object files and how those
object files were compiled?


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug lto/55113] internal compiler error: in emit_library_call_value_1, at calls.c:3739
  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
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-10-29 14:49 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> 2012-10-29 14:48:06 UTC ---
Did you compile the object files with -O0?


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug lto/55113] internal compiler error: in emit_library_call_value_1, at calls.c:3739
  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
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: patrick at motec dot com.au @ 2012-11-21  2:34 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from Patrick Oppenlander <patrick at motec dot com.au> 2012-11-21 02:33:28 UTC ---
My apologies -- I haven't been receiving notification emails from bugzilla for
some reason so I didn't see your comments.

I'll attach the preprocessed source in a few minutes.

The object files were compiled with -Os


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug lto/55113] internal compiler error: in emit_library_call_value_1, at calls.c:3739
  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
                   ` (2 preceding siblings ...)
  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
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: patrick at motec dot com.au @ 2012-11-21  3:06 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #4 from Patrick Oppenlander <patrick at motec dot com.au> 2012-11-21 03:05:26 UTC ---
Compiling with -O0 changes the ICE to:

internal compiler error: in emit_move_insn, at expr.c:3435


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug lto/55113] internal compiler error: in emit_library_call_value_1, at calls.c:3739
  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
                   ` (3 preceding siblings ...)
  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
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: patrick at motec dot com.au @ 2012-11-21  3:11 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #5 from Patrick Oppenlander <patrick at motec dot com.au> 2012-11-21 03:11:33 UTC ---
Created attachment 28747
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28747
Preprocessed source


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug lto/55113] internal compiler error: in emit_library_call_value_1, at calls.c:3739
  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
                   ` (4 preceding siblings ...)
  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
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: patrick at motec dot com.au @ 2012-11-21  3:12 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #6 from Patrick Oppenlander <patrick at motec dot com.au> 2012-11-21 03:12:20 UTC ---
Preprocessed source added.

Compile with:

powerpc-eabispe-gcc -fno-builtin -fshort-double -Os -flto=jobserver -std=gnu99
-nostdlib -fuse-linker-plugin -o test etpu_port_E.c tpu_E.c

to reproduce the bug.

Thanks, and sorry again for the delay.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug lto/55113] internal compiler error: in emit_library_call_value_1, at calls.c:3739
  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
                   ` (5 preceding siblings ...)
  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
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: patrick at motec dot com.au @ 2013-03-25  5:42 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #7 from Patrick Oppenlander <patrick at motec dot com.au> 2013-03-25 05:41:48 UTC ---
Still present in 4.8

etpu/etpu_port.c: In function 'tpu_port_status_get.isra.26':
etpu/etpu_port.c:326:2: internal compiler error: in emit_library_call_value_1,
at calls.c:3757
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [/tmp/ccad0BqF.ltrans2.ltrans.o] Error 1
lto-wrapper: make returned 2 exit status
/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.8.0/../../../../powerpc-eabispe/bin/ld:
lto-wrapper failed
collect2: error: ld returned 1 exit status


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug lto/55113] ICE in emit_library_call_value_1, at calls.c:3757
  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
                   ` (6 preceding siblings ...)
  2013-03-25  5:42 ` patrick at motec dot com.au
@ 2013-06-05 22:17 ` patrick at motec dot com.au
  2013-06-05 22:19 ` patrick at motec dot com.au
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: patrick at motec dot com.au @ 2013-06-05 22:17 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick Oppenlander <patrick at motec dot com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #28550|0                           |1
        is obsolete|                            |
  Attachment #28747|0                           |1
        is obsolete|                            |

--- Comment #8 from Patrick Oppenlander <patrick at motec dot com.au> ---
Created attachment 30264
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30264&action=edit
Reduced test case

Compile with:

powerpc-eabispe-gcc -fshort-double -flto -nostdlib -o test bug.c

to reproduce the bug.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug lto/55113] ICE in emit_library_call_value_1, at calls.c:3757
  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
                   ` (7 preceding siblings ...)
  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
  2014-01-20  9:34 ` [Bug lto/55113] ICE with LTO and -fshort-double rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: patrick at motec dot com.au @ 2013-06-05 22:19 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug lto/55113] ICE with LTO and -fshort-double
  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
                   ` (8 preceding siblings ...)
  2013-06-05 22:19 ` patrick at motec dot com.au
@ 2014-01-20  9:34 ` rguenth at gcc dot gnu.org
  2014-02-26 21:03 ` pmatos at gcc dot gnu.org
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-01-20  9:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
If double_type_node is FE dependent then it needs treatment in
tree-streamer.c:preload_common_nodes:

static void
preload_common_nodes (struct streamer_tree_cache_d *cache)
{
  unsigned i;

  for (i = 0; i < itk_none; i++)
    /* Skip itk_char.  char_type_node is dependent on -f[un]signed-char.  */
    if (i != itk_char)
      record_common_node (cache, integer_types[i]);

  for (i = 0; i < stk_type_kind_last; i++)
    record_common_node (cache, sizetype_tab[i]);

  for (i = 0; i < TI_MAX; i++)
    /* Skip boolean type and constants, they are frontend dependent.  */
    if (i != TI_BOOLEAN_TYPE
        && i != TI_BOOLEAN_FALSE
        && i != TI_BOOLEAN_TRUE)
      record_common_node (cache, global_trees[i]);
}


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug lto/55113] ICE with LTO and -fshort-double
  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
                   ` (9 preceding siblings ...)
  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
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pmatos at gcc dot gnu.org @ 2014-02-26 21:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 from pmatos at gcc dot gnu.org ---
(In reply to Richard Biener from comment #11)
> If double_type_node is FE dependent then it needs treatment in
> tree-streamer.c:preload_common_nodes:
> 
> static void
> preload_common_nodes (struct streamer_tree_cache_d *cache)
> {
>   unsigned i;
> 
>   for (i = 0; i < itk_none; i++)
>     /* Skip itk_char.  char_type_node is dependent on -f[un]signed-char.  */
>     if (i != itk_char)
>       record_common_node (cache, integer_types[i]);
> 
>   for (i = 0; i < stk_type_kind_last; i++)
>     record_common_node (cache, sizetype_tab[i]);
> 
>   for (i = 0; i < TI_MAX; i++)
>     /* Skip boolean type and constants, they are frontend dependent.  */
>     if (i != TI_BOOLEAN_TYPE
>         && i != TI_BOOLEAN_FALSE
>         && i != TI_BOOLEAN_TRUE)
>       record_common_node (cache, global_trees[i]);
> }

Richard,
I tried what you suggested but led me nowhere. In the meantime I noticed that
-fshort-double shows up in COLLECT_GCC_OPTIONS before collect2 is called:

COLLECT_GCC_OPTIONS='-fshort-double' '-flto' '-nostdlib' '-o' 'test'
'-save-temps' '-v' '-da' '-fdump-tree-all-all' '-mcpu=8540'

/home/pmatos/work/pr55113/top-4_8/toolchain/install/libexec/gcc/powerpc-eabispe/4.8.3/collect2
-plugin
/home/pmatos/work/pr55113/top-4_8/toolchain/install/libexec/gcc/powerpc-eabispe/4.8.3/liblto_plugin.so
-plugin-opt=/home/pmatos/work/pr55113/top-4_8/toolchain/install/libexec/gcc/powerpc-eabispe/4.8.3/lto-wrapper
-plugin-opt=-fresolution=pr55113.res -flto
--sysroot=/home/pmatos/work/pr55113/top-4_8/toolchain/prex_sysroot
--eh-frame-hdr -V -dn -Bstatic -o test
-L/home/pmatos/work/pr55113/top-4_8/toolchain/install/lib/gcc/powerpc-eabispe/4.8.3
-L/home/pmatos/work/pr55113/top-4_8/toolchain/install/lib/gcc/powerpc-eabispe/4.8.3/../../../../powerpc-eabispe/lib
pr55113.o

but not after when lto1 is called:
COLLECT_GCC_OPTIONS='-c' '-mcpu=8540' '-nostdlib' '-save-temps' '-v' '-da'
'-fdump-tree-all-all' '-mcpu=8540' '-dumpdir' './' '-dumpbase' 'test.wpa'
'-fltrans-output-list=test.ltrans.out' '-fwpa' '-fresolution=pr55113.res'

/home/pmatos/work/pr55113/top-4_8/toolchain/install/libexec/gcc/powerpc-eabispe/4.8.3/lto1
-quiet -da -dumpdir ./ -dumpbase test.wpa -mcpu=8540 -mcpu=8540 -auxbase
pr55113 -version -fdump-tree-all-all -fltrans-output-list=test.ltrans.out -fwpa
-fresolution=pr55113.res @/tmp/ccW7YQPl

Somewhere along the line the option is lost. It seems to be that only some
options are kept and optimization options are lost, like fshort-double.
However, in lto/lto-lang.c:lto_init you have:
  /* Create the basic integer types.  */
  build_common_tree_nodes (flag_signed_char, /*short_double=*/false);

This hardcodes short double to false. If I were to hardcode this to true,
Patricks example would work.

I think similarly to what we do in c-family/c-common.c:
  build_common_tree_nodes (flag_signed_char, flag_short_double);

we need to pass flag_short_double but the only way to do so is by letting
fshort-double pass through the flag filtering that goes on before lto1 is
called.

I will prepare a patch to add this exception, let me know if you think there's
a better way.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug lto/55113] ICE with LTO and -fshort-double
  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
                   ` (10 preceding siblings ...)
  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
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-02-27  8:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to pmatos from comment #13)
> (In reply to Richard Biener from comment #11)
> > If double_type_node is FE dependent then it needs treatment in
> > tree-streamer.c:preload_common_nodes:
> > 
> > static void
> > preload_common_nodes (struct streamer_tree_cache_d *cache)
> > {
> >   unsigned i;
> > 
> >   for (i = 0; i < itk_none; i++)
> >     /* Skip itk_char.  char_type_node is dependent on -f[un]signed-char.  */
> >     if (i != itk_char)
> >       record_common_node (cache, integer_types[i]);
> > 
> >   for (i = 0; i < stk_type_kind_last; i++)
> >     record_common_node (cache, sizetype_tab[i]);
> > 
> >   for (i = 0; i < TI_MAX; i++)
> >     /* Skip boolean type and constants, they are frontend dependent.  */
> >     if (i != TI_BOOLEAN_TYPE
> >         && i != TI_BOOLEAN_FALSE
> >         && i != TI_BOOLEAN_TRUE)
> >       record_common_node (cache, global_trees[i]);
> > }
> 
> Richard,
> I tried what you suggested but led me nowhere. In the meantime I noticed
> that -fshort-double shows up in COLLECT_GCC_OPTIONS before collect2 is
> called:
> 
> COLLECT_GCC_OPTIONS='-fshort-double' '-flto' '-nostdlib' '-o' 'test'
> '-save-temps' '-v' '-da' '-fdump-tree-all-all' '-mcpu=8540'
>  /home/pmatos/work/pr55113/top-4_8/toolchain/install/libexec/gcc/powerpc-
> eabispe/4.8.3/collect2 -plugin
> /home/pmatos/work/pr55113/top-4_8/toolchain/install/libexec/gcc/powerpc-
> eabispe/4.8.3/liblto_plugin.so
> -plugin-opt=/home/pmatos/work/pr55113/top-4_8/toolchain/install/libexec/gcc/
> powerpc-eabispe/4.8.3/lto-wrapper -plugin-opt=-fresolution=pr55113.res -flto
> --sysroot=/home/pmatos/work/pr55113/top-4_8/toolchain/prex_sysroot
> --eh-frame-hdr -V -dn -Bstatic -o test
> -L/home/pmatos/work/pr55113/top-4_8/toolchain/install/lib/gcc/powerpc-
> eabispe/4.8.3
> -L/home/pmatos/work/pr55113/top-4_8/toolchain/install/lib/gcc/powerpc-
> eabispe/4.8.3/../../../../powerpc-eabispe/lib pr55113.o
> 
> but not after when lto1 is called:
> COLLECT_GCC_OPTIONS='-c' '-mcpu=8540' '-nostdlib' '-save-temps' '-v' '-da'
> '-fdump-tree-all-all' '-mcpu=8540' '-dumpdir' './' '-dumpbase' 'test.wpa'
> '-fltrans-output-list=test.ltrans.out' '-fwpa' '-fresolution=pr55113.res'
>  /home/pmatos/work/pr55113/top-4_8/toolchain/install/libexec/gcc/powerpc-
> eabispe/4.8.3/lto1 -quiet -da -dumpdir ./ -dumpbase test.wpa -mcpu=8540
> -mcpu=8540 -auxbase pr55113 -version -fdump-tree-all-all
> -fltrans-output-list=test.ltrans.out -fwpa -fresolution=pr55113.res
> @/tmp/ccW7YQPl
> 
> Somewhere along the line the option is lost. It seems to be that only some
> options are kept and optimization options are lost, like fshort-double.

-fshort-double is a C frontend family option and thus not generally available
(you can add LTO to the list of FEs that support it).

> However, in lto/lto-lang.c:lto_init you have:
>   /* Create the basic integer types.  */
>   build_common_tree_nodes (flag_signed_char, /*short_double=*/false);
> 
> This hardcodes short double to false. If I were to hardcode this to true,
> Patricks example would work.
> 
> I think similarly to what we do in c-family/c-common.c:
>   build_common_tree_nodes (flag_signed_char, flag_short_double);
> 
> we need to pass flag_short_double but the only way to do so is by letting
> fshort-double pass through the flag filtering that goes on before lto1 is
> called.

Yes, see above - this will fix the immediate issue.  Of course it won't
fix things if you have mismatched -fshort-double options in TUs or
in compile vs. link-time.  For this was my original suggestion - do not
stream double_type_node but stream the type literally.

Index: tree-streamer.c
===================================================================
--- tree-streamer.c     (revision 208066)
+++ tree-streamer.c     (working copy)
@@ -264,7 +264,8 @@

   gcc_checking_assert (node != boolean_type_node
                       && node != boolean_true_node
-                      && node != boolean_false_node);
+                      && node != boolean_false_node
+                      && node != double_type_node);

   /* We have to make sure to fill exactly the same number of
      elements for all frontends.  That can include NULL trees.
@@ -318,7 +319,10 @@
     /* Skip boolean type and constants, they are frontend dependent.  */
     if (i != TI_BOOLEAN_TYPE
        && i != TI_BOOLEAN_FALSE
-       && i != TI_BOOLEAN_TRUE)
+       && i != TI_BOOLEAN_TRUE
+       && i != TI_DOUBLE_TYPE
+       && i != TI_COMPLEX_DOUBLE_TYPE
+       && i != TI_DOUBLE_PTR_TYPE)
       record_common_node (cache, global_trees[i]);
 }

This should fix both errors - not passing on -fshort-double _and_ mixing
-f[no-]short-double.

Well.  At least to my theory (didn't try).

> I will prepare a patch to add this exception, let me know if you think
> there's a better way.

See above - if that works I'd prefer that.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug lto/55113] ICE with LTO and -fshort-double
  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
                   ` (11 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pmatos at gcc dot gnu.org @ 2014-02-27  9:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #15 from pmatos at gcc dot gnu.org ---
(In reply to Richard Biener from comment #14)
> See above - if that works I'd prefer that.

Makes sense. Thanks Richard. I will give that a try and if everything looks ok
I will prepare a patch today along with a testcase.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug lto/55113] ICE with LTO and -fshort-double
  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
                   ` (12 preceding siblings ...)
  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
  15 siblings, 0 replies; 17+ messages in thread
From: pmatos at gcc dot gnu.org @ 2014-02-28 10:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #16 from pmatos at gcc dot gnu.org ---
(In reply to Richard Biener from comment #14)
> 
> Well.  At least to my theory (didn't try).
> 

Theory and practice match. It seems to fix the bug and work fine. I will do
some further testing and post a patch. 

Thanks.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug lto/55113] ICE with LTO and -fshort-double
  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
                   ` (13 preceding siblings ...)
  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
  15 siblings, 0 replies; 17+ messages in thread
From: pmatos at gcc dot gnu.org @ 2014-03-02 20:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #17 from pmatos at gcc dot gnu.org ---
Patch submitted to gcc-patches.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug lto/55113] ICE with LTO and -fshort-double
  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
                   ` (14 preceding siblings ...)
  2014-03-02 20:14 ` pmatos at gcc dot gnu.org
@ 2014-03-04 11:51 ` pmatos at gcc dot gnu.org
  15 siblings, 0 replies; 17+ messages in thread
From: pmatos at gcc dot gnu.org @ 2014-03-04 11:51 UTC (permalink / raw)
  To: gcc-bugs

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

pmatos at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #18 from pmatos at gcc dot gnu.org ---
Fixed in r208312.


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-03-04 11:51 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).