[Bug c++/30470] Compiling C++ programs with -mno-80387 and -O3 failes
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jan 15 17:45:00 GMT 2007
------- Comment #7 from pinskia at gcc dot gnu dot org 2007-01-15 17:44 -------
>Well for starters why should the act of #include'ing stdlib.h cause any
> instructions to be emitted if strtold isn't even invoked?
Not really.
>However if the -mno-80387 option is meant to disable x87 instructions then it
> should be possible to build something without causing and x87 instructions to
> be emitted shouldn't it?
Yes and that means you can not use (or reference, even via a prototype) any
function that would cause x87 which is all functions which return a
float/double.
>The reason I want to disable the x87 is otherwise Signalling NaN's can get
> silently supressed being passed through the x87 unit. I didn't want that and
> wanted my SIGFPE's to be generated in some SSE code I had written.
You cannot without changing the ABI and changing the abi would mean you can't
do any thing.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30470
More information about the Gcc-bugs
mailing list