public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/30452]  New: Strange syntax error with high-value character
@ 2007-01-12 22:50 tkoenig at gcc dot gnu dot org
  2007-01-13  7:01 ` [Bug fortran/30452] " jvdelisle at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-01-12 22:50 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 785 bytes --]

This shouldn't be rejected. g77 accepts this.

$ cat char.f
      program main
      if (char (254) /= "þ") call abort
      end program main
$ gfortran char.f
char.f:2.24:

      if (char (254) /= "\xFE") call abort
                       1
Error: Unterminated character constant beginning at (1)
$ g77 char.f
$


-- 
           Summary: Strange syntax error with high-value character
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tkoenig at gcc dot gnu dot org
OtherBugsDependingO 19292
             nThis:


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


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

end of thread, other threads:[~2007-01-31  7:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-12 22:50 [Bug fortran/30452] New: Strange syntax error with high-value character tkoenig at gcc dot gnu dot org
2007-01-13  7:01 ` [Bug fortran/30452] " jvdelisle at gcc dot gnu dot org
2007-01-13  7:20 ` jvdelisle at gcc dot gnu dot org
2007-01-13  8:42 ` Thomas dot Koenig at online dot de
2007-01-13 11:51 ` Thomas dot Koenig at online dot de
2007-01-13 18:45 ` jvdelisle at gcc dot gnu dot org
2007-01-14 11:01 ` tkoenig at gcc dot gnu dot org
2007-01-15 20:27 ` [Bug fortran/30452] [4.2, 4.1 only] " tkoenig at gcc dot gnu dot org
2007-01-31  7:37 ` tkoenig at gcc dot gnu dot org
2007-01-31  7:38 ` tkoenig 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).