------- Comment #3 from rguenth at gcc dot gnu dot org 2008-02-15 15:50 -------
Ok, so with -fmath-errno the middle-end has to assume that the C library will
set errno appropriately for all math functions this is specified, even if
optional. Right? So we could at most detect at compile-time if there is a
macro named math_errhandling and defined to a constant by the library that
says it doesn't set errno and in this case clear -fmath-errno?
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-02-15 15:50:39
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35202