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

--- Comment #2 from Sam James <sjames at gcc dot gnu.org> ---
(In reply to Sam James from comment #1)
> I thought we'd nailed all of these.

(It's far better with -g*.)

$ g++ -x c a.cxx -g
a.cxx: In function ‘main’:
a.cxx:25:1: error: ‘TYPE_CANONICAL’ of main variant is not main variant
   25 | }
      | ^
 <array_type 0x7fdcc4029b28
[...]

Both C and C++ FEs complain.

Reply via email to