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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic

--- Comment #1 from anlauf at gcc dot gnu.org ---
It is indeed unfortunate that the runtime has a different view here on
what is a GNU extension and what is not.  But I am uncertain how we should
diagnose such issues at compile-time -- there is legacy code out there
that we want to continue to support -- and how to tell the runtime how
strict it should be.

An option would be to downgrade missing commas to a legacy extension, emit
a warning by default, and maybe allow this in the runtime if no standard
has been selected.  But I am not sure if this information can be passed in
a suitable way to the runtime.

BTW: Nvidia and AMD flang accept the code and run it without issues.
Intel ifx rejects it.

Reply via email to