[Bug d/88039] gdc.test/compilable/ddoc12.d FAILs
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Tue Nov 20 01:05:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88039
--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Mon, 19 Nov 2018, ro at CeBiTec dot Uni-Bielefeld.DE wrote:
> However, there's another option: C11, 6.4.2.1 General, n.71 suggests
>
> On systems in which linkers cannot accept extended characters, an
> encoding of the universal character name may be used in forming valid
> external identifiers. For example, some otherwise unused character or
> sequence of characters may be used to encode the \u in a universal
> character name. Extended characters may produce a long external
> identifier
Since we don't do any such encoding for C or C++, this is not suitable for
any case where the identifiers are meant to be link-compatible with C or
C++ (unless we implement such encoding for C and C++ on target OSes that
need it, presumably in a way ABI-compatible with how the OSes' own
compilers handle UCNs in identifiers if they support that feature, of
course).
More information about the Gcc-bugs
mailing list