This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC floating point usage


On 15-Oct-2002, Zack Weinberg <zack@codesourcery.com> wrote:
> SJLJ exceptions and setjmp/longjmp themselves do [execute floating
> point instructions].  My client was willing to stipulate that nothing could
> be done about that, and that code which used setjmp/longjmp or exceptions
> had to be used in a context where FPU access was safe.

If that is the case, then it should be explained in the documentation for
this feature.  Also, it would be nice if the comiler issued a warning
if the proposed -mno-implicit-fp flag is enabled and setjmp/longjmp is called,
e.g. "warning: -mno-implicit-fp not supported for setjmp/longjmp",
and likewise for SJLJ exceptions.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]