public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/105458] New: [12/13 Regression] ICE in set_relation, at value-relation.cc:609
Date: Tue, 03 May 2022 03:25:15 +0000	[thread overview]
Message-ID: <bug-105458-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 105458
           Summary: [12/13 Regression] ICE in set_relation, at
                    value-relation.cc:609
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

gcc 12.0.1 20220424 snapshot (g:6b7441a46c771aa6ecdc0c8ed96197417d036b9a) ICEs
when compiling gcc/testsuite/gcc.dg/torture/pr83418.c w/ -O1
-fexpensive-optimizations -fno-tree-dominator-opts:

% gcc-12.0.1 -O1 -fexpensive-optimizations -fno-tree-dominator-opts -c
gcc/testsuite/gcc.dg/torture/pr83418.c
during GIMPLE pass: threadfull
gcc/testsuite/gcc.dg/torture/pr83418.c: In function 'yj':
gcc/testsuite/gcc.dg/torture/pr83418.c:4:1: internal compiler error: in
set_relation, at value-relation.cc:609
    4 | yj (int j4)
      | ^~
0x7a2b0b value_relation::set_relation(tree_code, tree_node*, tree_node*)
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/value-relation.cc:609
0x7a2b0b value_relation::value_relation(tree_code, tree_node*, tree_node*)
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/value-relation.cc:630
0x7a2b0b path_oracle::register_relation(basic_block_def*, tree_code,
tree_node*, tree_node*)
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/value-relation.cc:1385
0x1c84309 fur_source::register_outgoing_edges(gcond*, irange&, edge_def*,
edge_def*)
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/gimple-range-fold.cc:1522
0x1c85106 fold_using_range::range_of_range_op(irange&, gimple*, fur_source&)
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/gimple-range-fold.cc:665
0x1c87005 fold_using_range::fold_stmt(irange&, gimple*, fur_source&,
tree_node*)
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/gimple-range-fold.cc:554
0x1082e93 path_range_query::range_of_stmt(irange&, gimple*, tree_node*)
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/gimple-range-path.cc:767
0x110a659 back_threader::find_taken_edge_cond(vec<basic_block_def*, va_heap,
vl_ptr> const&, gcond*)
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/tree-ssa-threadbackward.cc:320
0x110b01f back_threader::maybe_register_path()
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/tree-ssa-threadbackward.cc:232
0x110b7c4 back_threader::find_paths_to_names(basic_block_def*, bitmap_head*)
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/tree-ssa-threadbackward.cc:419
0x110b762 back_threader::find_paths_to_names(basic_block_def*, bitmap_head*)
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/tree-ssa-threadbackward.cc:459
0x110bb22 back_threader::find_paths(basic_block_def*, tree_node*)
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/tree-ssa-threadbackward.cc:493
0x110bd41 back_threader::thread_blocks()
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/tree-ssa-threadbackward.cc:901
0x110be23 execute
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/tree-ssa-threadbackward.cc:1031

             reply	other threads:[~2022-05-03  3:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-03  3:25 asolokha at gmx dot com [this message]
2022-05-03  6:52 ` [Bug tree-optimization/105458] " rguenth at gcc dot gnu.org
2022-05-03  8:44 ` [Bug tree-optimization/105458] [12/13 Regression] ICE in set_relation, at value-relation.cc:609 since r12-4790-g4b3a325f07acebf4 marxin at gcc dot gnu.org
2022-05-06  8:33 ` jakub at gcc dot gnu.org
2022-05-17 15:44 ` cvs-commit at gcc dot gnu.org
2022-05-18 14:13 ` cvs-commit at gcc dot gnu.org
2022-07-26 11:36 ` 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-105458-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).