https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120498

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
clang does throw a -pedantic-error though:
<source>:8:34: error: nested designators are a C99 extension
[-Werror,-Wc99-designator]
    8 |   struct sa sa = {.sa_flags = 0, .u.sa_handler = 0};
      |                                  ^~~~~~~~~~~~~

Reply via email to