https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91667
--- Comment #2 from jbeulich at suse dot com --- (In reply to Martin Sebor from comment #1) > The warning is still in GCC 9 but has gone away in GCC 10.0 with r274837. While I trust you one this, ... > In bug 91490, comment #4 I said: I'm not sure this should be backported. It > suppresses bogus warnings but also introduces new warnings for invalid code." I'm struggling to see how said change affects the case here: There's no flexible array involved here, and also from other parts of the change I can't seem to be able to make a connection. Please forgive me asking, but I'd appreciate some explanation as to the connection. I'm in particular wondering whether it wouldn't be possible to backport a subset of the change, if there's worry about new warnings (personally I'd consider such fine when they only affect invalid code).