public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/11806] New: cpp does not ignore "'" inside #if 0 / #endif
@ 2003-08-05 10:58 kcc at mcst dot ru
  2003-08-05 11:24 ` [Bug preprocessor/11806] " schwab at suse dot de
  0 siblings, 1 reply; 4+ messages in thread
From: kcc at mcst dot ru @ 2003-08-05 10:58 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: cpp does not ignore "'" inside #if 0 / #endif
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kcc at mcst dot ru
                CC: gcc-bugs at gcc dot gnu dot org,kcc at mcst dot ru
 GCC build triplet: solaris 2.8 i386
  GCC host triplet: solaris 2.8 i386
GCC target triplet: solaris 2.8 i386

$ cat a.c 
#if 0 
12'34
56
#endif

$ cpp a.c 
# 1 "a.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "a.c"
a.c:2:3: missing terminating ' character

$ cpp --version | tail -1 
cpp (GCC) 3.3


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

* [Bug preprocessor/11806] cpp does not ignore "'" inside #if 0 / #endif
  2003-08-05 10:58 [Bug preprocessor/11806] New: cpp does not ignore "'" inside #if 0 / #endif kcc at mcst dot ru
@ 2003-08-05 11:24 ` schwab at suse dot de
  0 siblings, 0 replies; 4+ messages in thread
From: schwab at suse dot de @ 2003-08-05 11:24 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


schwab at suse dot de changed:

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


------- Additional Comments From schwab at suse dot de  2003-08-05 11:24 -------
Not a bug.  The tokens inside #if 0 must still be properly formed, ie. no 
unmatched quotes.


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

* [Bug preprocessor/11806] cpp does not ignore "'" inside #if 0 / #endif
       [not found] <bug-11806-4@http.gcc.gnu.org/bugzilla/>
  2014-09-01 21:35 ` pinskia at gcc dot gnu.org
@ 2021-10-15 20:21 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-10-15 20:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11806

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |DUPLICATE

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---


*** This bug has been marked as a duplicate of bug 11064 ***

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

* [Bug preprocessor/11806] cpp does not ignore "'" inside #if 0 / #endif
       [not found] <bug-11806-4@http.gcc.gnu.org/bugzilla/>
@ 2014-09-01 21:35 ` pinskia at gcc dot gnu.org
  2021-10-15 20:21 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-09-01 21:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11806

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |olegendo at gcc dot gnu.org

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 62661 has been marked as a duplicate of this bug. ***


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

end of thread, other threads:[~2021-10-15 20:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-05 10:58 [Bug preprocessor/11806] New: cpp does not ignore "'" inside #if 0 / #endif kcc at mcst dot ru
2003-08-05 11:24 ` [Bug preprocessor/11806] " schwab at suse dot de
     [not found] <bug-11806-4@http.gcc.gnu.org/bugzilla/>
2014-09-01 21:35 ` pinskia at gcc dot gnu.org
2021-10-15 20:21 ` pinskia at gcc dot gnu.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).