This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34203] Treat \ as normal character (at least on Windows); diagnose unrecognized escape characters
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Nov 2007 19:29:04 -0000
- Subject: [Bug fortran/34203] Treat \ as normal character (at least on Windows); diagnose unrecognized escape characters
- References: <bug-34203-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from kargl at gcc dot gnu dot org 2007-11-23 19:29 -------
(In reply to comment #1)
>
> gfortran's default behavior should match whatever g77 did
> with C escape sequences.
>
Found it.
http://gcc.gnu.org/onlinedocs/gcc-3.3.6/g77/Backslash-in-Constants.html#Backslash-in-Constants
Note, I'm not emotional attached to Craig's decision with g77, and in fact,
one might argue that Craig's argument has diminished with age. UNIX f77 has
been dead for a long time.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34203