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/109301] New: [13 Regression] ICE in format_helper, at real.h:233
Date: Mon, 27 Mar 2023 18:38:37 +0000	[thread overview]
Message-ID: <bug-109301-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 109301
           Summary: [13 Regression] ICE in format_helper, at real.h:233
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started between 20220717 and 20220724, at -Ofast :


$ cat z1.c
double x[256];
void f (void)
{
  int i, j;
  for (i=0; i<256; ++i)
    for (j=0; j<8; ++j)
      x[i] = __builtin_pow (x[i], 0.5);
}


$ gcc-13-20230326 -c z1.c -Ofast
during GIMPLE pass: cunroll
z1.c: In function 'f':
z1.c:2:6: internal compiler error: in format_helper, at real.h:233
    2 | void f (void)
      |      ^
0x94a671 format_helper::format_helper<machine_mode>(machine_mode const&)
        ../../gcc/real.h:233
0x94a671 const_binop
        ../../gcc/fold-const.cc:1340
0x94b027 const_binop(tree_code, tree_node*, tree_node*, tree_node*)
        ../../gcc/fold-const.cc:1761
0x10e23d8 gimple_resimplify2
        ../../gcc/gimple-match-head.cc:280
0x10e258a gimple_match_op::resimplify(gimple**, tree_node* (*)(tree_node*))
        ../../gcc/gimple-match-head.cc:516
0x1206eb8 gimple_simplify_CFN_POW
        .../gcc-13-20230326/zzz_rel/gcc/gimple-match.cc:188875
0x10e1112 gimple_simplify
        .../gcc-13-20230326/zzz_rel/gcc/gimple-match.cc:211319
0x10e22ca gimple_resimplify2
        ../../gcc/gimple-match-head.cc:323
0x10e258a gimple_match_op::resimplify(gimple**, tree_node* (*)(tree_node*))
        ../../gcc/gimple-match-head.cc:516
0x10fd1c0 gimple_simplify_CFN_SQRT
        .../gcc-13-20230326/zzz_rel/gcc/gimple-match.cc:87171
0x12a7aa7 gimple_simplify
        .../gcc-13-20230326/zzz_rel/gcc/gimple-match.cc:95836
0x12a8dc9 gimple_resimplify1
        ../../gcc/gimple-match-head.cc:246
0x10e259a gimple_match_op::resimplify(gimple**, tree_node* (*)(tree_node*))
        ../../gcc/gimple-match-head.cc:514
0x12a8f86 gimple_simplify(gimple*, gimple_match_op*, gimple**, tree_node*
(*)(tree_node*), tree_node* (*)(tree_node*))
        ../../gcc/gimple-match-head.cc:1115
0x99029d fold_stmt_1
        ../../gcc/gimple-fold.cc:6251
0xe234f8 eliminate_dom_walker::eliminate_stmt(basic_block_def*,
gimple_stmt_iterator*)
        ../../gcc/tree-ssa-sccvn.cc:7062
0xe298b7 process_bb
        ../../gcc/tree-ssa-sccvn.cc:8050
0xe2ad95 do_rpo_vn_1
        ../../gcc/tree-ssa-sccvn.cc:8501
0xe2bdc9 do_rpo_vn(function*, edge_def*, bitmap_head*, bool, bool,
vn_lookup_kind)
        ../../gcc/tree-ssa-sccvn.cc:8603
0xd9b03d tree_unroll_loops_completely
        ../../gcc/tree-ssa-loop-ivcanon.cc:1485

             reply	other threads:[~2023-03-27 18:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-27 18:38 gscfq@t-online.de [this message]
2023-03-27 18:48 ` [Bug tree-optimization/109301] " pinskia at gcc dot gnu.org
2023-03-27 19:00 ` jakub at gcc dot gnu.org
2023-03-27 19:01 ` [Bug tree-optimization/109301] [13 Regression] ICE in format_helper, at real.h:233 since r13-1763 jakub at gcc dot gnu.org
2023-03-27 19:14 ` jakub at gcc dot gnu.org
2023-03-27 19:23 ` jakub at gcc dot gnu.org
2023-03-28  7:20 ` rguenth at gcc dot gnu.org
2023-03-29  6:37 ` cvs-commit at gcc dot gnu.org
2023-03-29  6:39 ` jakub 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-109301-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).