https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99571
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 Last reconfirmed| |2021-03-15 Status|UNCONFIRMED |NEW --- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Confirmed. ICE started with r11-2237. Before that: error: ‘& i.I::<anonymous>.I::<unnamed union>::a’ is not a valid template argument of type ‘int*’ because ‘i.I::<anonymous>.I::<unnamed union>::a’ is not a variable 7 | [[maybe_unused]]C<i>c; | ^ Not sure if we should treat this as a regression.