https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119653
Bug ID: 119653 Summary: internal compiler error: Segmentation fault Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: xieym3 at zohomail dot com Target Milestone: --- $ cat file.c #define _VARGS_N_ARGS(first, second, third, __VA_ARGS__,...) $ gcc -v Using built-in specs. COLLECT_GCC=/data/xieym/work-f4/install/gcc-14.2.0/bin/gcc COLLECT_LTO_WRAPPER=/data/xieym/work-f4/install/gcc-14.2.0/libexec/gcc/x86_64-pc-linux-gnu/14.2.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /data/xieym/work-f4/src/gcc-14.2.0/configure --enable-coverage --enable-checking --disable-multilib --disable-shared --disable-bootstrap --enable-languages=c,c++ --prefix=/data/xieym/work-f4/install/gcc-14.2.0 Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.2.0 (GCC) $ gcc file.c -o /dev/null <source>:1: internal compiler error: Segmentation fault 1 | #define _VARGS_N_ARGS(first, second, third, __VA_ARGS__,...) 0x2600f05 diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag (*) [1], diagnostic_t) ???:0 0x2617ed6 internal_error(char const*, ...) ???:0 0x26b358e _cpp_create_definition ???:0 0x2693398 _cpp_handle_directive ???:0 0x26aa1c8 _cpp_lex_token ???:0 0xb1bc5a c_lex_with_flags(tree_node**, unsigned long*, unsigned char*, int) ???:0 0xab1859 c_parse_file() ???:0 0xb308b9 c_common_parse_file() ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Godbold Url: https://godbolt.org/z/Wqdbfs5d6