This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34960] Statement starting in wrong column causes Unclassifiable Statement error in the preceding executable line
- From: "john dot klinger at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jan 2008 02:18:05 -0000
- Subject: [Bug fortran/34960] Statement starting in wrong column causes Unclassifiable Statement error in the preceding executable line
- References: <bug-34960-15688@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from john dot klinger at gmail dot com 2008-01-25 02:18 -------
The example program was just to show a few variations. The program I was
debugging only contained the second variant ("Unclassifiable statement error",
followed by a lot of comment lines, followed by the actual line that contained
the error). In other words, there were no cascading errors in the original
code, since there was only one error.
If you edit the example to only contain one of the variations, you'll still get
the associated error. If I were to do this to reflect my original error, I'd
come up with this:
FUNCTION TEST()
INTEGER IVAR1, IVAR2
IVAR1=1 ! "Unclassifiable statement" on this line
C
C Many comment lines in between.
C
IVAR2=0
END
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34960