https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118403
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Using `{}` is the correct fix. The referenced part of the C standard here is applying to struct and not unions.
pinskia at gcc dot gnu.org via Gcc-bugs Fri, 10 Jan 2025 09:16:52 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118403
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Using `{}` is the correct fix. The referenced part of the C standard here is applying to struct and not unions.