https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71983
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-07-23 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- I'll confirm this bug report based on comment #1, and also in light of enhancement requests to have GCC treat more expressions as constant (e.g, bug 69960 and bug 71713). It would make sense treat this one as a constant expression as well. Other C implementations like Clang have done so.