This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52606] Confusing diagnostics for long identifiers
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 17 Mar 2012 04:57:55 +0000
- Subject: [Bug fortran/52606] Confusing diagnostics for long identifiers
- Auto-submitted: auto-generated
- References: <bug-52606-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52606
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #2 from kargl at gcc dot gnu.org 2012-03-17 04:57:55 UTC ---
(In reply to comment #1)
>
> Ideally, we'd just accept long identifiers, but the maximum name length is
> hard-coded (GFC_MAX_SYMBOL_LEN) and already way too large. I want to change
> this to string pointers (probably using a string pool, maybe the GCC common
> implementation, TBD).
The OP used -std=f95, the max identifier is 31. gfortran's
behavior is already ideal in that she correctly reports
an error.
If the OP finds the run-on diagnostics confusing, then
OP should use -fmax-errors=1.