public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/19101] New: missing & in character continuation not caught
@ 2004-12-21  9:42 Thomas dot Koenig at online dot de
  2004-12-21 18:49 ` [Bug fortran/19101] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Thomas dot Koenig at online dot de @ 2004-12-21  9:42 UTC (permalink / raw)
  To: gcc-bugs

The following code is erroneous because
there's a & missing in the continuation
line:

$ cat char-cont-wrong.f90
program main
  character (len=40) c
  c = "Hello, &
       world!"
  print *,c
end program main
$ gfortran char-cont-wrong.f90
$ ./a.out
 Hello,        world!

I think a diagnostic is needed for this case.

-- 
           Summary: missing & in character continuation not caught
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Thomas dot Koenig at online dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2006-04-07 21:20 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-19101-9515@http.gcc.gnu.org/bugzilla/>
2006-02-22  2:01 ` [Bug fortran/19101] missing & in character continuation not caught jvdelisle at gcc dot gnu dot org
2006-03-06  6:23 ` jvdelisle at gcc dot gnu dot org
2006-03-08  7:35 ` patchapp at dberlin dot org
2006-03-09  6:08 ` jvdelisle at gcc dot gnu dot org
2006-03-12  5:15 ` patchapp at dberlin dot org
2006-03-15  7:03 ` jvdelisle at gcc dot gnu dot org
2006-03-15  7:08 ` jvdelisle at gcc dot gnu dot org
2006-04-07 21:08 ` jvdelisle at gcc dot gnu dot org
2006-04-07 21:12 ` jvdelisle at gcc dot gnu dot org
2006-04-07 21:20 ` jvdelisle at gcc dot gnu dot org
2004-12-21  9:42 [Bug fortran/19101] New: " Thomas dot Koenig at online dot de
2004-12-21 18:49 ` [Bug fortran/19101] " pinskia at gcc dot gnu dot org
2004-12-25  0:41 ` eedelman at acclab dot helsinki dot fi
2004-12-25  9:31 ` Thomas dot Koenig at online dot de
2004-12-27 21:41 ` tobi at gcc dot gnu dot org
2004-12-27 21:47 ` tobi at gcc dot gnu dot org
2004-12-28 19:19 ` tobi 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).