public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/39229]  New: fixed-form: silent line truncation in procedure calls
@ 2009-02-18  9:46 dfranke at gcc dot gnu dot org
  2009-02-18 10:20 ` [Bug fortran/39229] No warning of truncated lines if a continuation line follows burnus at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2009-02-18  9:46 UTC (permalink / raw)
  To: gcc-bugs

If 'warn' after PRINT is removed, the snippet is accepted as is, without
further warning. I'm not sure if this kind of thing is legal to begin with, but
I'd at least expect a warning for both truncated lines.

$> cat trunc.f
      PRINT *, MIN(1                                                     nowarn
     &, 2)                               !                               warn
      END
$> gfortran-svn -ffixed-form -Wall -Wextra  trunc.f
trunc.f:2.72:

     &, 2)
                                                                        1
Warning: Line truncated at (1)

$> gfortran-svn -v
gcc version 4.4.0 20090217 (experimental) (GCC)


-- 
           Summary: fixed-form: silent line truncation in procedure calls
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dfranke at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39229


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-09-02  1:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-18  9:46 [Bug fortran/39229] New: fixed-form: silent line truncation in procedure calls dfranke at gcc dot gnu dot org
2009-02-18 10:20 ` [Bug fortran/39229] No warning of truncated lines if a continuation line follows burnus at gcc dot gnu dot org
2009-02-18 16:41 ` burnus at gcc dot gnu dot org
2009-02-23 19:38 ` dfranke at gcc dot gnu dot org
2009-03-08 18:05 ` jvdelisle at gcc dot gnu dot org
2009-07-25 16:46 ` jvdelisle at gcc dot gnu dot org
2009-07-25 17:10 ` burnus at gcc dot gnu dot org
2009-09-01  3:02 ` jvdelisle at gcc dot gnu dot org
2009-09-02  1:04 ` jvdelisle at gcc dot gnu dot org
2009-09-02  1:19 ` jvdelisle at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).