[PATCH] Fortran: different character lengths in array constructor [PR93289]

Harald Anlauf anlauf@gmx.de
Sat Feb 1 18:25:51 GMT 2025


Dear all,

the attached patch downgrades different constant character lengths in an
array constructor from a GNU to a legacy extension, so that users get a
warning with -std=gnu.  We continue to generate an error when standard
conformance is requested.

Regtested on x86_64-pc-linux-gnu (found one testcase where this
triggered... :)

OK for mainline?

Thanks,
Harald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr93289.diff
Type: text/x-patch
Size: 3428 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20250201/ce7d189d/attachment-0001.bin>


More information about the Fortran mailing list