public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/34692]  New: [4.2/4.3 regression]
@ 2008-01-06 21:47 reichelt at gcc dot gnu dot org
  2008-01-06 21:48 ` [Bug preprocessor/34692] [4.2/4.3 regression] Internal error with prgama in macro reichelt at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-01-06 21:47 UTC (permalink / raw)
  To: gcc-bugs

The following testcase triggers an internal error in the preprocessor
since GCC 4.2.0:

================================
#define FOO(expr) (#expr)

FOO(
#pragma GCC diagnostic
)
================================

bug.c:5:1: internal error: unspellable token PRAGMA
bug.c:5:1: internal error: unspellable token PRAGMA_EOL
bug.c:3: error: expected identifier or '(' before string constant

This is similar to PR34602, but not yet fixed on mainline.


-- 
           Summary: [4.2/4.3 regression]
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

end of thread, other threads:[~2009-03-31 14:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-06 21:47 [Bug preprocessor/34692] New: [4.2/4.3 regression] reichelt at gcc dot gnu dot org
2008-01-06 21:48 ` [Bug preprocessor/34692] [4.2/4.3 regression] Internal error with prgama in macro reichelt at gcc dot gnu dot org
2008-01-06 22:31 ` [Bug preprocessor/34692] [4.2/4.3 regression] Internal error with pragma " pinskia at gcc dot gnu dot org
2008-01-07 21:19 ` tromey at gcc dot gnu dot org
2008-01-09 21:23 ` jakub at gcc dot gnu dot org
2008-01-11  8:52 ` jakub at gcc dot gnu dot org
2008-01-23 16:36 ` jakub at gcc dot gnu dot org
2008-01-25  9:44 ` jakub at gcc dot gnu dot org
2008-01-25  9:47 ` [Bug preprocessor/34692] [4.2 " jakub at gcc dot gnu dot org
2008-02-01 17:02 ` jsm28 at gcc dot gnu dot org
2008-05-19 20:32 ` jsm28 at gcc dot gnu dot org
2009-03-31 14:58 ` jsm28 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).