https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126003
--- Comment #9 from Drea Pinski <pinskia at gcc dot gnu.org> --- (In reply to Alejandro Colomar from comment #5) > (In reply to Drea Pinski from comment #1) > > twogig+twogig is only undefined if executed. > > While TWOGIG+TWOGIG is considered as part of a constant integer expression > > so it need to warn there. > > This is not correct. TL;DR: Both of them only have UB if executed, and > none of them violate any constraints. See below. > > CC += Joseph > > TWOGIG+TWOGIG, by being part of an argument to a function, is not a constant > expression. Huh? Read the original source again? `TWOGIG+TWOGIG` is not part of the argument of a function but rather part of the initialization of a global scoped variable.
