public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "doko at debian dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/61474] ICE (segfault) in preprocessor Date: Tue, 09 Mar 2021 17:04:21 +0000 [thread overview] Message-ID: <bug-61474-4-fvlKwSXWo0@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-61474-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61474 Matthias Klose <doko at debian dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |doko at debian dot org --- Comment #2 from Matthias Klose <doko at debian dot org> --- seen with trunk 20210306 $ gcc-11 -E a.c # 0 "a.c" # 0 "<built-in>" # 0 "<command-line>" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "<command-line>" 2 # 1 "a.c" # 1 "b.h" 1 # 1 "c.h" 1 # 1 "b.h" 2 In file included from a.c:1: b.h:1: internal compiler error: Segmentation fault 1 | # 1 "c.h" 1 | 0xd041a0 crash_signal ../../src/gcc/toplev.c:327 0x11e616c open_file ../libcpp/../../src/libcpp/files.c:225 0x165a9ba read_file ../libcpp/../../src/libcpp/files.c:770 0x11e62dc _cpp_stack_file ../libcpp/../../src/libcpp/files.c:942 0x1684cd2 do_include_common ../libcpp/../../src/libcpp/directives.c:853 0x120a24f _cpp_handle_directive ../libcpp/../../src/libcpp/directives.c:541 0x1204fa4 _cpp_lex_token ../libcpp/../../src/libcpp/lex.c:2809 0x120927f cpp_get_token_1 ../libcpp/../../src/libcpp/macro.c:2839 0x16841c3 cpp_get_token_with_location(cpp_reader*, unsigned int*) ../libcpp/../../src/libcpp/macro.c:3108 0x16841c3 scan_translation_unit ../../src/gcc/c-family/c-ppoutput.c:320 0x16841c3 preprocess_file(cpp_reader*) ../../src/gcc/c-family/c-ppoutput.c:102 0x167e491 c_common_init() ../../src/gcc/c-family/c-opts.c:1195 0x163fb1b lang_dependent_init ../../src/gcc/toplev.c:1889 0x163fb1b do_compile ../../src/gcc/toplev.c:2186 Please submit a full bug report, with preprocessed source if appropriate.
next prev parent reply other threads:[~2021-03-09 17:04 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-06-11 12:39 [Bug preprocessor/61474] New: " doko at gcc dot gnu.org 2014-06-12 9:22 ` [Bug preprocessor/61474] " rguenth at gcc dot gnu.org 2021-03-09 17:04 ` doko at debian dot org [this message] 2023-09-20 20:46 ` cvs-commit at gcc dot gnu.org 2023-09-20 20:49 ` lhyatt at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-61474-4-fvlKwSXWo0@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).