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

Reply via email to