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 target/100302] New: ICE in abs_hwi, at hwint.h:324
Date: Wed, 28 Apr 2021 03:31:02 +0000	[thread overview]
Message-ID: <bug-100302-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 100302
           Summary: ICE in abs_hwi, at hwint.h:324
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: aarch64-linux-gnu

gcc-11.0.1-alpha20210426 snapshot (g:d3212299e2cfc3c16dd23bab26ec6c49024105f8)
ICEs when compiling the following testcase w/ -mcpu=zeus -O1
-ftree-loop-vectorize -fno-tree-scev-cprop --param vect-partial-vector-usage=0:

long int ct;

void
pt (void)
{
  for (ct = 0; ct >= 0; ++ct)
    ;
}

% aarch64-linux-gnu-gcc-11.0.1 -mcpu=zeus -O1 -ftree-loop-vectorize
-fno-tree-scev-cprop --param vect-partial-vector-usage=0 -c ppzrgnc5.c
during RTL pass: expand
ppzrgnc5.c: In function 'pt':
ppzrgnc5.c:4:1: internal compiler error: in abs_hwi, at hwint.h:324
    4 | pt (void)
      | ^~
0x7f23c9 abs_hwi(long)
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210426/work/gcc-11-20210426/gcc/hwint.h:324
0x7f23c9 abs_hwi(long)
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210426/work/gcc-11-20210426/gcc/hwint.h:322
0x7f23c9 aarch64_add_offset_1_temporaries
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210426/work/gcc-11-20210426/gcc/config/aarch64/aarch64.c:4739
0x7f23c9 aarch64_offset_temporaries
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210426/work/gcc-11-20210426/gcc/config/aarch64/aarch64.c:4854
0x12a1c6c aarch64_legitimate_constant_p
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210426/work/gcc-11-20210426/gcc/config/aarch64/aarch64.c:18023
0xe455bb general_operand(rtx_def*, machine_mode)
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210426/work/gcc-11-20210426/gcc/recog.c:1434
0xb23e7a copy_to_mode_reg(machine_mode, rtx_def*)
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210426/work/gcc-11-20210426/gcc/explow.c:648
0xdbc022 prepare_cmp_insn
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210426/work/gcc-11-20210426/gcc/optabs.c:4397
0xdbc8e6 emit_cmp_and_jump_insns(rtx_def*, rtx_def*, rtx_code, rtx_def*,
machine_mode, int, rtx_def*, profile_probability)
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210426/work/gcc-11-20210426/gcc/optabs.c:4583
0xa91020 do_compare_rtx_and_jump(rtx_def*, rtx_def*, rtx_code, int,
machine_mode, rtx_def*, rtx_code_label*, rtx_code_label*, profile_probability)
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210426/work/gcc-11-20210426/gcc/dojump.c:1220
0xa92574 do_compare_and_jump
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210426/work/gcc-11-20210426/gcc/dojump.c:1294
0xa93c83 do_jump_1
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210426/work/gcc-11-20210426/gcc/dojump.c:242
0xa230cd expand_gimple_cond
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210426/work/gcc-11-20210426/gcc/cfgexpand.c:2646
0xa2396c expand_gimple_basic_block
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210426/work/gcc-11-20210426/gcc/cfgexpand.c:5904
0xa2539f execute
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210426/work/gcc-11-20210426/gcc/cfgexpand.c:6729

             reply	other threads:[~2021-04-28  3:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-28  3:31 asolokha at gmx dot com [this message]
2021-04-28  8:01 ` [Bug target/100302] " jakub at gcc dot gnu.org
2021-04-28  8:04 ` jakub at gcc dot gnu.org
2021-04-28  8:29 ` [Bug target/100302] [11/12 Regression] ICE in abs_hwi, at hwint.h:324 since r11-7861 jakub at gcc dot gnu.org
2021-04-28  8:42 ` jakub at gcc dot gnu.org
2021-04-28  9:26 ` jakub at gcc dot gnu.org
2021-04-29  9:35 ` cvs-commit at gcc dot gnu.org
2021-04-29  9:36 ` cvs-commit at gcc dot gnu.org
2021-04-29  9:37 ` jakub at gcc dot gnu.org
2021-05-04 12:08 ` cvs-commit at gcc dot gnu.org
2021-05-04 12:22 ` cvs-commit at gcc dot gnu.org
2021-05-04 12:26 ` 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-100302-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).