https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77572
Simon Marchi <simon.marchi at polymtl dot ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |simon.marchi at polymtl dot ca
--- Comment #4 from Simon Marchi <simon.marchi at polymtl dot ca> ---
I found a DWARF oddity that I believe has the same root cause.
Compile (on x86-64 Linux):
template <char c> struct C {};
C<'\xc8'> c;
It gives a type with DW_AT_name:
C<'\37777777710'>
A name with a more expected octal value would be:
C<'\310'>
Or in hex (not sure why octal would be preferred here):
C<'\xc8'>