public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/110669] [14 regression] ICE in gcc.dg/torture/pr105132.c since r14-2515-gb77161e60bce7b
Date: Fri, 14 Jul 2023 18:14:35 +0000	[thread overview]
Message-ID: <bug-110669-4-yW76QeJI9C@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-110669-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
Reduced C code seems to be:

int g_29, func_47_p_48, func_47_p_51_l_129;
void func_47_p_51() {
  for (;;) {
    func_47_p_51_l_129 = 0;
    for (; func_47_p_51_l_129 <= 1; func_47_p_51_l_129 += 1) {
      short *l_160 = func_47_p_48 || *l_160;
      *l_160 &= g_29;
    }
  }
}

$ ~/gcc/results/bin/gcc -c -Ofast bug942.c
bug942.c: In function ‘func_47_p_51’:
bug942.c:6:22: warning: initialization of ‘short int *’ from ‘int’ makes
pointer from integer without a cast [-Wint-conversion]
    6 |       short *l_160 = func_47_p_48 || *l_160;
      |                      ^~~~~~~~~~~~
during GIMPLE pass: sccp
bug942.c:2:6: internal compiler error: in gimple_phi_arg_def_from_edge, at
gimple.h:4699
    2 | void func_47_p_51() {
      |      ^~~~~~~~~~~~
0xf4f20f final_value_replacement_loop(loop*)
        ../../trunk.year/gcc/tree-scalar-evolution.cc:0

  parent reply	other threads:[~2023-07-14 18:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-14 17:38 [Bug other/110669] New: [24 " seurer at gcc dot gnu.org
2023-07-14 17:48 ` [Bug other/110669] " dcb314 at hotmail dot com
2023-07-14 18:14 ` dcb314 at hotmail dot com [this message]
2023-07-15 17:19 ` [Bug other/110669] [14 " pinskia at gcc dot gnu.org
2023-07-17  3:38 ` pinskia at gcc dot gnu.org
2023-07-17  3:39 ` pinskia at gcc dot gnu.org
2023-07-17  3:41 ` pinskia at gcc dot gnu.org
2023-07-17  7:15 ` [Bug tree-optimization/110669] " rguenth at gcc dot gnu.org
2023-07-17  7:22 ` rguenth at gcc dot gnu.org
2023-07-17  8:20 ` cvs-commit at gcc dot gnu.org
2023-07-17  8:23 ` cvs-commit at gcc dot gnu.org
2023-07-17  8:36 ` rguenth at gcc dot gnu.org
2023-07-21 19:40 ` cvs-commit 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-110669-4-yW76QeJI9C@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).