https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64918
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #6 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to Øystein Schønning-Johansen from comment #2) > Really insightful, Joseph. I do understand the warning a bit better now. I > have not looked into the GCC parsing code, but based on your description and > my (limited) understanding of the problem, I guess a fix is not trivial? Can > I suppress this warning in any way? I haven't looked at the code, but my guess is that at the time of the warning, it should be possible to check the overriden initializer, if it is a compound literal, recur on its initializers and check for side-effects again.