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

Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arthur.j.odwyer at gmail dot 
com

--- Comment #4 from Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> ---
Confirmed; the test case can be as simple as

// https://godbolt.org/z/M9rf31qqq
struct S { mutable int m; };
static_assert(S{42}.m == 42);

(Removing the "mutable" keyword makes GCC happy.)

Reply via email to