[Bug lto/55113] ICE with LTO and -fshort-double

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 20 07:27:00 GMT 2014


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE in                      |ICE with LTO and
                   |emit_library_call_value_1,  |-fshort-double
                   |at calls.c:3757             |

--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
 -fshort-double is what is causing the issue.  Why are you using that option in
the first place?  It changes the ABI.

With 4.7.0 (and checking enabled), I get the following ICE on all targets with
-flto -fshort-double -Os:
t7.c: In function ‘main’:
t7.c:3:5: error: non-trivial conversion at assignment
float
double
# .MEM_2 = VDEF <.MEM_1(D)>
f = 1.0e+0;


More information about the Gcc-bugs mailing list