This is the mail archive of the gcc-patches@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: __LDBL_MAX__ exceeds range of 'long double'


I have applied this patch to the gcc-3.4 branch to fix a FreeBSD problem
with computing __LDBL_MAX__.  This occurs because FreeBSD uses a
non-default x86 FP format (53-bits fraction in long double), and the
default FP format did not get overridden properly when preprocessing but
not compiling.  This is a backport of a patch I added to mainline about
two weeks ago.

This was tested with a gcc-3.4 bootstrap on an x86 FreeBSD 4.7 machine,
with a make check.  There were no regressions.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com

Attachment: patch.freebsd.ldbl_max
Description: Text document


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