https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82695
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> --- I think this is a valid request (though not a bug), as discussed in the other BZ. You can use e.g. enums to statically initialize variables. *** This bug has been marked as a duplicate of bug 69960 ***