User account creation filtered due to spam.

Bug 20111 - real_nan and non-ASCII character sets
Summary: real_nan and non-ASCII character sets
Status: NEW
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
Keywords: accepts-invalid, rejects-valid
Depends on:
Reported: 2005-02-20 19:27 UTC by Joseph S. Myers
Modified: 2005-12-24 19:45 UTC (History)
1 user (show)

See Also:
Known to work:
Known to fail:
Last reconfirmed: 2005-12-24 19:45:39


Note You need to log in before you can comment on or make changes to this bug.
Description Joseph S. Myers 2005-02-20 19:27:44 UTC
real_nan presumes that its string argument is in the host character set,
so __builtin_nan does not work in the presence of -fexec-charset
making the target character set incompatible with the host character set.
It should allow for the argument being in the target character set.
(Other approaches such as special parsing so as not to translate the
string argument to the target character set do not work since this
function should also be used for a plain "nan" built-in function,
bug 19984.)
Comment 1 Andrew Pinski 2005-02-21 21:29:23 UTC