[Bug target/65916] Unnecessary floating-point instruction causes runtime exception on PowerPC

nikolay.pakulin at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue May 19 10:34:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65916

--- Comment #2 from Nikolay Pakulin <nikolay.pakulin at gmail dot com> ---
(In reply to Segher Boessenkool from comment #1)
> GCC 5 does not do this for me.
> 
> You need to add -msoft-float if you have no hardware float; doing
> that solves the problem for me (with a GCC 4.7 I had handy).  Does
> that work for you?

Yes, the workaround with -msoft-float works fine.
I din't try GCC 5, therefore I can't say anything.

NP



More information about the Gcc-bugs mailing list