This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/14569] should not warn about truncated comment lines
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Apr 2005 14:50:07 -0000
- Subject: [Bug fortran/14569] should not warn about truncated comment lines
- References: <20040313105621.14569.schnetter@aei.mpg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rguenth at gcc dot gnu dot org 2005-04-15 14:50 -------
Created an attachment (id=8649)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8649&action=view)
proposed patch
Proposed patch attached; it seems, error reporting interferes with warnings,
though. Or error reporting causes line increment. Or whatever is going wrong.
F.i we produce for
SUBROUTINE foo(x,y)
x = 4.3 + 1.2
END
In file /tmp/t2.f:2
x = 4.3
1
Warning: Line truncated at (1)
but for
SUBROUTINE foo(x,y)
x = 4.3 + 1.2
END
In file /tmp/t2.f:2
x = 4.3 +
1
Error: Syntax error in expression at (1)
I'm probably missing something obvious.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14569