This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fw: Possible GCC Bug



This is not a bug.

marmalade@x-stream.co.uk (Nick Fleming) writes:

> > > 0xff, // 00000000  // \
> > > 0x60, // 01100000

That is a two-line comment.

This follows from the list of translation phases in section 5.1.1.2 of
the 1999 C standard.  backslash-newline constructs are deleted in
phase 2; then comments are recognised and replaced by spaces in phase
3.


-- 
- Geoffrey Keating <geoffk@cygnus.com>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]