public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/99323] New: [9/10/11 Regression] ICE in add_hint, at diagnostic-show-locus.c:2234 Date: Mon, 01 Mar 2021 17:03:58 +0000 [thread overview] Message-ID: <bug-99323-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99323 Bug ID: 99323 Summary: [9/10/11 Regression] ICE in add_hint, at diagnostic-show-locus.c:2234 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- With testfile gcc.c-torture/compile/limits-externdecl.c and options -Wall -no-integrated-cpp, started with r8 : $ gcc-11-20210228 -c limits-externdecl.c -no-integrated-cpp $ $ gcc-11-20210228 -c limits-externdecl.c -Wall -no-integrated-cpp limits-externdecl.c:55:26: warning: missing braces around initializer [-Wmissing-braces] 55 | REFERENCE references[] = { | ^ 56 | LIM5 (X) limits-externdecl.c:58:1: internal compiler error: in add_hint, at diagnostic-show-locus.c:2234 58 | }; | ^ 0x15769cf add_hint ../../gcc/diagnostic-show-locus.c:2233 0x15769cf print_trailing_fixits ../../gcc/diagnostic-show-locus.c:2316 0x15769cf print_line ../../gcc/diagnostic-show-locus.c:2555 0x15769cf diagnostic_show_locus(diagnostic_context*, rich_location*, diagnostic_t) ../../gcc/diagnostic-show-locus.c:2637 0x6e9ef5 c_diagnostic_finalizer ../../gcc/c-family/c-opts.c:175 0x157029b diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*) ../../gcc/diagnostic.c:1251 0x157091e diagnostic_impl ../../gcc/diagnostic.c:1406 0x1572272 warning_at(rich_location*, int, char const*, ...) ../../gcc/diagnostic.c:1558 0x662913 pop_init_level(unsigned int, int, obstack*, unsigned int) ../../gcc/c/c-typeck.c:8839 0x684a0a c_parser_braced_init ../../gcc/c/c-parser.c:5280 0x686d1e c_parser_initializer ../../gcc/c/c-parser.c:5201 0x694e3a c_parser_declaration_or_fndef ../../gcc/c/c-parser.c:2276 0x69c717 c_parser_external_declaration ../../gcc/c/c-parser.c:1777 0x69d239 c_parser_translation_unit ../../gcc/c/c-parser.c:1650 0x69d239 c_parse_file() ../../gcc/c/c-parser.c:21984 0x6ed0a2 c_common_parse_file() ../../gcc/c-family/c-opts.c:1218
next reply other threads:[~2021-03-01 17:03 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-03-01 17:03 gscfq@t-online.de [this message] 2021-03-02 7:37 ` [Bug c/99323] " rguenth at gcc dot gnu.org 2021-03-02 9:51 ` [Bug c/99323] [9/10/11 Regression] ICE in add_hint, at diagnostic-show-locus.c:2234 since r8-379-gd1b5f5cc3cfd148e marxin at gcc dot gnu.org 2021-03-02 10:12 ` marxin at gcc dot gnu.org 2021-03-02 14:31 ` dmalcolm at gcc dot gnu.org 2021-03-02 20:47 ` cvs-commit at gcc dot gnu.org 2021-03-02 20:50 ` [Bug c/99323] [9/10 " dmalcolm at gcc dot gnu.org 2021-04-30 8:09 ` rguenth at gcc dot gnu.org 2021-06-01 8:19 ` rguenth at gcc dot gnu.org 2022-05-27 9:44 ` [Bug c/99323] [10 " rguenth at gcc dot gnu.org 2022-06-28 10:43 ` jakub at gcc dot gnu.org 2023-07-07 9:29 ` rguenth 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-99323-4@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).