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

--- Comment #5 from anlauf at gcc dot gnu.org ---
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

Reply via email to