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/97958] New: ICE in build2, at tree.c:4868 Date: Mon, 23 Nov 2020 16:44:32 +0000 [thread overview] Message-ID: <bug-97958-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97958 Bug ID: 97958 Summary: ICE in build2, at tree.c:4868 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: --- Affects versions down to at least r5 : $ cat z1.c int f () { #pragma omp atomic f = f + 1; } $ gcc-11-20201122 -c z1.c -fopenmp z1.c: In function 'f': z1.c:4:3: internal compiler error: in build2, at tree.c:4868 4 | f = f + 1; | ^ 0xdaaf2d build2(tree_code, tree_node*, tree_node*, tree_node*) ../../gcc/tree.c:4867 0x674105 c_parser_binary_expression ../../gcc/c/c-parser.c:8010 0x674b15 c_parser_conditional_expression ../../gcc/c/c-parser.c:7607 0x675071 c_parser_expr_no_commas ../../gcc/c/c-parser.c:7522 0x67ffd0 c_parser_omp_atomic ../../gcc/c/c-parser.c:17677 0x69045c c_parser_omp_construct ../../gcc/c/c-parser.c:21546 0x66dd07 c_parser_pragma ../../gcc/c/c-parser.c:12517 0x688206 c_parser_compound_statement_nostart ../../gcc/c/c-parser.c:5764 0x6885d3 c_parser_compound_statement ../../gcc/c/c-parser.c:5606 0x689e61 c_parser_declaration_or_fndef ../../gcc/c/c-parser.c:2543 0x690a47 c_parser_external_declaration ../../gcc/c/c-parser.c:1777 0x691569 c_parser_translation_unit ../../gcc/c/c-parser.c:1650 0x691569 c_parse_file() ../../gcc/c/c-parser.c:21882 0x6e0772 c_common_parse_file() ../../gcc/c-family/c-opts.c:1198
next reply other threads:[~2020-11-23 16:44 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-11-23 16:44 gscfq@t-online.de [this message] 2020-11-23 17:43 ` [Bug c/97958] " jakub at gcc dot gnu.org 2020-11-24 8:07 ` cvs-commit at gcc dot gnu.org 2020-11-24 8:16 ` rguenth at gcc dot gnu.org 2020-11-24 8:21 ` jakub at gcc dot gnu.org 2020-11-25 11:56 ` cvs-commit at gcc dot gnu.org 2021-04-20 23:30 ` cvs-commit at gcc dot gnu.org 2021-04-22 16:49 ` cvs-commit at gcc dot gnu.org 2021-04-22 17:08 ` jakub at gcc dot gnu.org 2021-09-11 14:20 ` pinskia 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-97958-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).