This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/14569] should not warn about truncated comment lines


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]