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

--- Comment #11 from anlauf at gcc dot gnu.org ---
(In reply to kargls from comment #10)
> (In reply to anlauf from comment #9)
> > (In reply to kargls from comment #8)
> > > One could set GFC_MAX_SYMBOL_LEN to a value larger than 63, but what
> > > value makes sense?  (Note it will be less than 10000, which is the
> > > longest statement length allowed under the standard)
> > 
> > You sure?
> > 
> > F2023: 6.3.2.1 ... A line shall contain at most ten thousand characters.
> > 
> > But can't you break a line like in:
> > 
> > a&
> > &b&
> > &c = 1
> > 
> > ?
> 
> Ugh, indeed, you are correct!  I forgot that one could split
> a token across a line.  The question still remains.  What
> value does one use; especially given the 145 static buffers?

I am not sure.  We could use 255 as a hard limit, and emit a warning for any
-std=fxyz option when the respective limit is exceeded, at least for -pedantic.

Reply via email to