This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30470] Compiling C++ programs with -mno-80387 and -O3 failes
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jan 2007 17:44:56 -0000
- Subject: [Bug c++/30470] Compiling C++ programs with -mno-80387 and -O3 failes
- References: <bug-30470-13920@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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