[Bug middle-end/78703] -fprintf-return-value floating point handling incorrect in locales with a mulltibyte decimal point

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 6 21:46:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78703

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
But how will you know what MB_LEN_MAX the different implementations use?
And does it really have to be a single character, not a string?

At least in glibc in the included locales there are just 3 decimal_point forms,
"<U002C>", "<U002E>" and "<U066B>".  But perhaps you should see if localedef
allows you to define something containing multiple characters (or a single one
from surrogate pair etc.).  Would be also interesting to see if zero length
radix character will get through.


More information about the Gcc-bugs mailing list