[Bug tree-optimization/86571] New: AIX NaNQ and NaNS output format conflicts with __builtin_sprintf
dje at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 18 18:10:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86571
Bug ID: 86571
Summary: AIX NaNQ and NaNS output format conflicts with
__builtin_sprintf
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: dje at gcc dot gnu.org
CC: msebor at gcc dot gnu.org
Target Milestone: ---
Target: powerpc-ibm-aix*
AIX sprintf generates NaNQ and NaNS, probably as extensions defined by IBM XL
Fortran. The recent __builtin_sprintf optimization assumes a 3 character output
of "nan" or "NAN". NAN(S) and NAN(Q) optionally may be allowed. IBM libc is
unlikely to change because customers depend on the current extension.
More information about the Gcc-bugs
mailing list