This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/79117] __builtin_isfinite edge case incorrect on i386
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 Jan 2017 16:49:40 +0000
- Subject: [Bug c/79117] __builtin_isfinite edge case incorrect on i386
- Auto-submitted: auto-generated
- References: <bug-79117-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79117
--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
If you use -fexcess-precision=standard, the classification built-in
functions should convert values with excess range and precision to their
semantic types as required by ISO C (see c-typeck.c:convert_arguments).
Without -fexcess-precision=standard, the front end can't do that because
the excess range and precision is all hidden by the back end.