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: Miscellaneous identifiers charset conversion cleanup


"Joseph S. Myers" <joseph@codesourcery.com> writes:

| This patch makes identifiers handling in the language and target
| independent parts of the compiler allow for extended identifiers and
| translate them to the locale character set as appropriate (presuming
| that UTF-8 is always OK for assembly output and debugging dumps).
| Some representative tests are added, including verifying that
| -ffunction-sections and -fdata-sections work with extended
| identifiers.

Excellent!

| I decided that when toplev.c announces functions to stderr this should
| count as diagnostics rather than debugging dumps, and be converted to
| the locale character set.
| 
| (Not all changes from %qs to %qE are in places where extended
| identifiers can actually occur, but it still seems cleanest to reduce
| the number of direct IDENTIFIER_POINTER calls and use the %E format
| rather than %s for identifiers.)
| 
| Bootstrapped with no regressions on x86_64-unknown-linux-gnu.  OK to
| commit?

Yes, thanks.

-- Gaby


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