public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/27715]  New: Extented ASCII characters lead to wrong "CASE" selection
@ 2006-05-22  9:11 P dot Schaffnit at access dot rwth-aachen dot de
  2006-05-27  8:12 ` [Bug fortran/27715] " fxcoudert at gcc dot gnu dot org
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: P dot Schaffnit at access dot rwth-aachen dot de @ 2006-05-22  9:11 UTC (permalink / raw)
  To: gcc-bugs

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

Hi!

I am under the impression that using "extended ASCII" wrecks "CASE
constructs"... (see example hereafter).

Cheers!

Philippe

PS: The following code lands on the default:

!
      PROGRAM Test
!
      CHARACTER ( LEN = 1 ) :: Letter
!
      Letter = "c"
      SELECT CASE ( Letter )
      CASE ( "c", "ç" )
        WRITE ( 6, "(A)" ) "Expected"
      CASE DEFAULT
        WRITE ( 6, "(A)" ) "Surprising"
      END SELECT
!
      END PROGRAM Test
!

PPPS: I' using:
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /USER/philippe/Irix/Gcc_Sources/configure
--prefix=/usr1/MICRESS/Philippe/Tools/Gcc --enable-languages=c,fortran
--disable-maintainer-mode --disable-shared
--with-mpfr=/usr1/MICRESS/Philippe/Tools/Mpfr
--with-gmp=/usr1/MICRESS/Philippe/Tools/Gmp
Thread model: posix
gcc version 4.2.0 20060519 (experimental)


-- 
           Summary: Extented ASCII characters lead to wrong "CASE" selection
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: P dot Schaffnit at access dot rwth-aachen dot de
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2006-06-20  6:14 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-22  9:11 [Bug fortran/27715] New: Extented ASCII characters lead to wrong "CASE" selection P dot Schaffnit at access dot rwth-aachen dot de
2006-05-27  8:12 ` [Bug fortran/27715] " fxcoudert at gcc dot gnu dot org
2006-05-28 14:53 ` tkoenig at gcc dot gnu dot org
2006-05-28 15:59 ` fxcoudert at gcc dot gnu dot org
2006-05-28 16:10 ` tkoenig at gcc dot gnu dot org
2006-05-28 16:32 ` fxcoudert at gcc dot gnu dot org
2006-05-28 16:52 ` kargl at gcc dot gnu dot org
2006-05-28 19:56 ` fxcoudert at gcc dot gnu dot org
2006-05-28 20:03 ` pinskia at gcc dot gnu dot org
2006-05-28 20:05 ` pinskia at gcc dot gnu dot org
2006-05-29 13:10 ` fxcoudert at gcc dot gnu dot org
2006-05-29 13:10 ` patchapp at dberlin dot org
2006-05-30 19:32 ` tkoenig at gcc dot gnu dot org
2006-06-01 15:44 ` fxcoudert at gcc dot gnu dot org
2006-06-01 19:24 ` tkoenig at gcc dot gnu dot org
2006-06-13  7:12 ` [Bug fortran/27715] [4.1 only] " fxcoudert at gcc dot gnu dot org
2006-06-16 20:03 ` tkoenig at gcc dot gnu dot org
2006-06-19 22:29 ` fxcoudert at gcc dot gnu dot org
2006-06-20  6:04 ` fxcoudert at gcc dot gnu dot org
2006-06-20  6:20 ` [Bug fortran/27715] " fxcoudert 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).