https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117381
--- Comment #7 from kargls at comcast dot net --- (In reply to anlauf from comment #5) > While Nvidia and flang seem to allow the sample code, even the latest > Intel ifx 2025.0 rejects it: > > pr117381.f90(5): error #6439: This symbol has too many characters. > [VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERAT] > integer :: > VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_PROPERTIES_KHR = 1 > -------------^ > compilation aborted for pr117381.f90 (code 1) > > > With the following patch we could adjust the documentation: > > diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi > index ff4040732d8..b25976c7026 100644 > --- a/gcc/fortran/invoke.texi > +++ b/gcc/fortran/invoke.texi > @@ -407,8 +407,9 @@ lines in the source file. The default value is 132. > > @opindex fmax-identifier-length=@var{n} > @item -fmax-identifier-length=@var{n} > -Specify the maximum allowed identifier length. Typical values are > -31 (Fortran 95) and 63 (Fortran 2003 and later). > +Specify the maximum allowed identifier length. Standard values are > +31 (Fortran 95) and 63 (Fortran 2003 and later). Values larger than > +63 are not supported. > > @opindex fimplicit-none > @item -fimplicit-none I was making a similar change, then discovered that one can use -fmax-identifier-length=0. I gets a lot of errors. :-). I have a patch building at the moment that checks that the specified value is not less than 6, which is the old Fortran 77 limit.