public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/112536] [14 regression] ICE when building xorg-server on arm64 (internal compiler error: in vect_slp_analyze_node_operations, at tree-vect-slp.cc:6378) since r14-5435-g7383cb56e11707
Date: Wed, 15 Nov 2023 08:47:42 +0000	[thread overview]
Message-ID: <bug-112536-4-p1DgbHw79g@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-112536-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
unsigned a[4];

void
foo (void)
{
  int i = a[0];
  int j = a[1];
  int k = a[2];
  int l = a[3];
  int e = i ? __builtin_clz (i) : __SIZEOF_INT__ * __CHAR_BIT__;
  int f = j ? __builtin_clz (j) : __SIZEOF_INT__ * __CHAR_BIT__;
  int g = k ? __builtin_clz (k) : __SIZEOF_INT__ * __CHAR_BIT__;
  int h = l ? __builtin_clz (l) : __SIZEOF_INT__ * __CHAR_BIT__;
  a[0] = e;
  a[1] = f;
  a[2] = g;
  a[3] = h;
}

ICEs on x86_64-linux as well with -mlzcnt -mavx512cd -mavx512vl

  parent reply	other threads:[~2023-11-15  8:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-15  1:59 [Bug tree-optimization/112536] New: [14 regression] ICE when buliding xorg-server on arm64 (internal compiler error: in vect_slp_analyze_node_operations, at tree-vect-slp.cc:6378) sjames at gcc dot gnu.org
2023-11-15  1:59 ` [Bug tree-optimization/112536] " sjames at gcc dot gnu.org
2023-11-15  2:00 ` sjames at gcc dot gnu.org
2023-11-15  2:48 ` pinskia at gcc dot gnu.org
2023-11-15  2:53 ` pinskia at gcc dot gnu.org
2023-11-15  3:17 ` sjames at gcc dot gnu.org
2023-11-15  3:30 ` pinskia at gcc dot gnu.org
2023-11-15  3:40 ` pinskia at gcc dot gnu.org
2023-11-15  3:56 ` sjames at gcc dot gnu.org
2023-11-15  8:47 ` jakub at gcc dot gnu.org [this message]
2023-11-15  9:42 ` [Bug tree-optimization/112536] [14 regression] ICE when building xorg-server on arm64 (internal compiler error: in vect_slp_analyze_node_operations, at tree-vect-slp.cc:6378) since r14-5435-g7383cb56e11707 jakub at gcc dot gnu.org
2023-11-15 10:56 ` manuel.lauss at googlemail dot com
2023-11-15 12:04 ` sjames at gcc dot gnu.org
2023-11-16  7:33 ` cvs-commit at gcc dot gnu.org
2023-11-16  7:35 ` 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-112536-4-p1DgbHw79g@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).