public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "nightstrike at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/108942] New: ICE in build2, at tree.c: 5096 for gcc/testsuite/gcc.dg/torture/ssa-fre-7.c:23:3
Date: Mon, 27 Feb 2023 09:40:25 +0000	[thread overview]
Message-ID: <bug-108942-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108942

            Bug ID: 108942
           Summary: ICE in build2, at tree.c: 5096 for
                    gcc/testsuite/gcc.dg/torture/ssa-fre-7.c:23:3
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nightstrike at gmail dot com
  Target Milestone: ---

Created attachment 54541
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54541&action=edit
preprocessed source from -freport-bug

The gcc.dg/torture/ssa-fre-7.c tests fail with the following backtrace:

0x844e1f build2(tree_code, tree_node*, tree_node*, tree_node*)
        ../../gcc/tree.cc:5096
0x9a26d7 build2_loc(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*)
        ../../gcc/tree.h:4604
0x9a26d7 c_parser_gimple_binary_expression
        ../../gcc/c/gimple-parser.cc:1027
0x9a38ce c_parser_gimple_statement
        ../../gcc/c/gimple-parser.cc:873
0x9a38ce c_parser_gimple_compound_statement
        ../../gcc/c/gimple-parser.cc:664
0x9a5c11 c_parser_parse_gimple_body(c_parser*, char*, c_declspec_il,
profile_count)
        ../../gcc/c/gimple-parser.cc:253
0x9954a6 c_parser_declaration_or_fndef
        ../../gcc/c/c-parser.cc:2835
0x99c6fb c_parser_external_declaration
        ../../gcc/c/c-parser.cc:1925
0x99d0d3 c_parser_translation_unit
        ../../gcc/c/c-parser.cc:1779
0x99d0d3 c_parse_file()
        ../../gcc/c/c-parser.cc:24632
0xa088e1 c_common_parse_file()
        ../../gcc/c-family/c-opts.cc:1248

This is in a linux to 64-bit windows cross compiler environment.  Output of
-freport-bug added as an attachment.

For this version of the repository (commit
e6d39f68d03c46637ca6e1bede3d28eae6278df3), line 23 is:

  p_4 = _Literal (int *) &x + _2;

             reply	other threads:[~2023-02-27  9:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-27  9:40 nightstrike at gmail dot com [this message]
2023-02-27 17:47 ` [Bug c/108942] " pinskia at gcc dot gnu.org
2023-02-27 17:50 ` [Bug testsuite/108942] " pinskia at gcc dot gnu.org
2023-02-28 10:36 ` rguenth at gcc dot gnu.org
2023-02-28 10:37 ` cvs-commit at gcc dot gnu.org
2023-02-28 10:37 ` 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-108942-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: link
Be 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).