public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/109284] New: __VA_OPT__ triggers internal compiler error
@ 2023-03-26 10:06 jens.gustedt at inria dot fr
  2023-03-26 15:59 ` [Bug preprocessor/109284] " jakub at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: jens.gustedt at inria dot fr @ 2023-03-26 10:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 109284
           Summary: __VA_OPT__ triggers internal compiler error
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jens.gustedt at inria dot fr
  Target Milestone: ---

Created attachment 54755
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54755&action=edit
simple pre-pro only file that crashes gcc-12

Hi,
the attached code, meant to provide a feature test for `__VA_OPT__`, crashes my
compiler:

gcc-12-va-opt-bug.c:15:1: internal compiler error: unspellable token PADDING

I am on an standard Ubuntu, nothing fancy:

gcc version 12.1.0 (Ubuntu 12.1.0-2ubuntu1~22.04) 

Jens

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

* [Bug preprocessor/109284] __VA_OPT__ triggers internal compiler error
  2023-03-26 10:06 [Bug c/109284] New: __VA_OPT__ triggers internal compiler error jens.gustedt at inria dot fr
@ 2023-03-26 15:59 ` jakub at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-03-26 15:59 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
                 CC|                            |jakub at gcc dot gnu.org
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed almost a year ago on all release branches.

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

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

end of thread, other threads:[~2023-03-26 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-26 10:06 [Bug c/109284] New: __VA_OPT__ triggers internal compiler error jens.gustedt at inria dot fr
2023-03-26 15:59 ` [Bug preprocessor/109284] " jakub 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).