[Bug c/123154] During RTL pass: expand; internal compiler error: in get_alias_set, at alias.cc:955
sjames at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 16 10:28:22 GMT 2025
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.
More information about the Gcc-bugs
mailing list