[Bug c/52648] remove string literal by preprocessor

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 21 06:55:00 GMT 2012


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-21 04:09:28 UTC ---
No that is correct. the comment starts at /* and ends at the first */.  The
preprocessor does not tokenize stuff inside comments at all so "" is not taken
into account.  This is different from a #if block where it is tokenized.



More information about the Gcc-bugs mailing list