https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95379
--- Comment #11 from Luc Van Oostenryck <luc.vanoostenryck at gmail dot com> --- (In reply to Andrew Pinski from comment #10) > GCC uses -Wno-designated-init to disable the warning (this option has been > there included for a while)? Do you think sparse could add/use the same > option? Sparse already has this option. Also, I don't think it would help here since from I understand the OP want these warnings but not if they're caused by using '{ 0 }'.