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