* [Bug target/100302] ICE in abs_hwi, at hwint.h:324
2021-04-28 3:31 [Bug target/100302] New: ICE in abs_hwi, at hwint.h:324 asolokha at gmx dot com
@ 2021-04-28 8:01 ` jakub at gcc dot gnu.org
2021-04-28 8:04 ` jakub at gcc dot gnu.org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-04-28 8:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100302
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
CC| |jakub at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2021-04-28
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/100302] ICE in abs_hwi, at hwint.h:324
2021-04-28 3:31 [Bug target/100302] New: ICE in abs_hwi, at hwint.h:324 asolokha at gmx dot com
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
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-04-28 8:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100302
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Related to PR94121, just another abs_hwi needs to change to absu_hwi.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/100302] [11/12 Regression] ICE in abs_hwi, at hwint.h:324 since r11-7861
2021-04-28 3:31 [Bug target/100302] New: ICE in abs_hwi, at hwint.h:324 asolokha at gmx dot com
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 ` jakub at gcc dot gnu.org
2021-04-28 8:42 ` jakub at gcc dot gnu.org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-04-28 8:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100302
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |11.2
Summary|ICE in abs_hwi, at |[11/12 Regression] ICE in
|hwint.h:324 |abs_hwi, at hwint.h:324
| |since r11-7861
Priority|P3 |P2
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r11-7861-ge4180ab2fea0d3e8010f23b5e73095ac13cedafa
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/100302] [11/12 Regression] ICE in abs_hwi, at hwint.h:324 since r11-7861
2021-04-28 3:31 [Bug target/100302] New: ICE in abs_hwi, at hwint.h:324 asolokha at gmx dot com
` (2 preceding siblings ...)
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
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-04-28 8:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100302
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
With -march=armv8.2-a+sve -O1 -ftree-loop-vectorize -fno-tree-scev-cprop
--param vect-partial-vector-usage=0 -fvect-cost-model=unlimited
it started to ICE already with
r11-2221-g9fb832ce382d649b7687426e6bc4e5d3715cb78a
when vect-parial-vector-usage param has been introduced. Anyway, latent before
that.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/100302] [11/12 Regression] ICE in abs_hwi, at hwint.h:324 since r11-7861
2021-04-28 3:31 [Bug target/100302] New: ICE in abs_hwi, at hwint.h:324 asolokha at gmx dot com
` (3 preceding siblings ...)
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
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-04-28 9:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100302
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 50698
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50698&action=edit
gcc12-pr100302.patch
Untested fix.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/100302] [11/12 Regression] ICE in abs_hwi, at hwint.h:324 since r11-7861
2021-04-28 3:31 [Bug target/100302] New: ICE in abs_hwi, at hwint.h:324 asolokha at gmx dot com
` (4 preceding siblings ...)
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
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-29 9:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100302
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:1bb3e2c0ce6ed363c72caf814a6ba6d7b17c3e0a
commit r12-282-g1bb3e2c0ce6ed363c72caf814a6ba6d7b17c3e0a
Author: Jakub Jelinek <jakub@redhat.com>
Date: Thu Apr 29 11:34:50 2021 +0200
aarch64: Fix ICE in aarch64_add_offset_1_temporaries [PR100302]
In PR94121 I've changed aarch64_add_offset_1 to use absu_hwi instead of
abs_hwi because offset can be HOST_WIDE_INT_MIN. As can be seen with
the testcase below, aarch64_add_offset_1_temporaries suffers from the same
problem and should be in sync with aarch64_add_offset_1, i.e. for
HOST_WIDE_INT_MIN it needs a temporary.
2021-04-29 Jakub Jelinek <jakub@redhat.com>
PR target/100302
* config/aarch64/aarch64.c (aarch64_add_offset_1_temporaries): Use
absu_hwi instead of abs_hwi.
* gcc.target/aarch64/sve/pr100302.c: New test.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/100302] [11/12 Regression] ICE in abs_hwi, at hwint.h:324 since r11-7861
2021-04-28 3:31 [Bug target/100302] New: ICE in abs_hwi, at hwint.h:324 asolokha at gmx dot com
` (5 preceding siblings ...)
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
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-29 9:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100302
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:5ac1313f32c5cd875ad047f6575dd4608e1949cf
commit r11-8326-g5ac1313f32c5cd875ad047f6575dd4608e1949cf
Author: Jakub Jelinek <jakub@redhat.com>
Date: Thu Apr 29 11:34:50 2021 +0200
aarch64: Fix ICE in aarch64_add_offset_1_temporaries [PR100302]
In PR94121 I've changed aarch64_add_offset_1 to use absu_hwi instead of
abs_hwi because offset can be HOST_WIDE_INT_MIN. As can be seen with
the testcase below, aarch64_add_offset_1_temporaries suffers from the same
problem and should be in sync with aarch64_add_offset_1, i.e. for
HOST_WIDE_INT_MIN it needs a temporary.
2021-04-29 Jakub Jelinek <jakub@redhat.com>
PR target/100302
* config/aarch64/aarch64.c (aarch64_add_offset_1_temporaries): Use
absu_hwi instead of abs_hwi.
* gcc.target/aarch64/sve/pr100302.c: New test.
(cherry picked from commit 1bb3e2c0ce6ed363c72caf814a6ba6d7b17c3e0a)
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/100302] [11/12 Regression] ICE in abs_hwi, at hwint.h:324 since r11-7861
2021-04-28 3:31 [Bug target/100302] New: ICE in abs_hwi, at hwint.h:324 asolokha at gmx dot com
` (6 preceding siblings ...)
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
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-04-29 9:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100302
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 11.2 and on the trunk.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/100302] [11/12 Regression] ICE in abs_hwi, at hwint.h:324 since r11-7861
2021-04-28 3:31 [Bug target/100302] New: ICE in abs_hwi, at hwint.h:324 asolokha at gmx dot com
` (7 preceding siblings ...)
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
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-04 12:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100302
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:42ba897862fbdc0d6b27fae95a10fcc1a6436b1d
commit r10-9794-g42ba897862fbdc0d6b27fae95a10fcc1a6436b1d
Author: Jakub Jelinek <jakub@redhat.com>
Date: Thu Apr 29 11:34:50 2021 +0200
aarch64: Fix ICE in aarch64_add_offset_1_temporaries [PR100302]
In PR94121 I've changed aarch64_add_offset_1 to use absu_hwi instead of
abs_hwi because offset can be HOST_WIDE_INT_MIN. As can be seen with
the testcase below, aarch64_add_offset_1_temporaries suffers from the same
problem and should be in sync with aarch64_add_offset_1, i.e. for
HOST_WIDE_INT_MIN it needs a temporary.
2021-04-29 Jakub Jelinek <jakub@redhat.com>
PR target/100302
* config/aarch64/aarch64.c (aarch64_add_offset_1_temporaries): Use
absu_hwi instead of abs_hwi.
(cherry picked from commit 1bb3e2c0ce6ed363c72caf814a6ba6d7b17c3e0a)
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/100302] [11/12 Regression] ICE in abs_hwi, at hwint.h:324 since r11-7861
2021-04-28 3:31 [Bug target/100302] New: ICE in abs_hwi, at hwint.h:324 asolokha at gmx dot com
` (8 preceding siblings ...)
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
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-04 12:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100302
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:a322c55e05a4f74cb5cc7513826ec4900eb50d14
commit r9-9506-ga322c55e05a4f74cb5cc7513826ec4900eb50d14
Author: Jakub Jelinek <jakub@redhat.com>
Date: Thu Apr 29 11:34:50 2021 +0200
aarch64: Fix ICE in aarch64_add_offset_1_temporaries [PR100302]
In PR94121 I've changed aarch64_add_offset_1 to use absu_hwi instead of
abs_hwi because offset can be HOST_WIDE_INT_MIN. As can be seen with
the testcase below, aarch64_add_offset_1_temporaries suffers from the same
problem and should be in sync with aarch64_add_offset_1, i.e. for
HOST_WIDE_INT_MIN it needs a temporary.
2021-04-29 Jakub Jelinek <jakub@redhat.com>
PR target/100302
* config/aarch64/aarch64.c (aarch64_add_offset_1_temporaries): Use
absu_hwi instead of abs_hwi.
(cherry picked from commit 1bb3e2c0ce6ed363c72caf814a6ba6d7b17c3e0a)
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/100302] [11/12 Regression] ICE in abs_hwi, at hwint.h:324 since r11-7861
2021-04-28 3:31 [Bug target/100302] New: ICE in abs_hwi, at hwint.h:324 asolokha at gmx dot com
` (9 preceding siblings ...)
2021-05-04 12:22 ` cvs-commit at gcc dot gnu.org
@ 2021-05-04 12:26 ` cvs-commit at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-04 12:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100302
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:e704ac6615e1e4badeb048ac3a0551f02a94dfc4
commit r8-10947-ge704ac6615e1e4badeb048ac3a0551f02a94dfc4
Author: Jakub Jelinek <jakub@redhat.com>
Date: Thu Apr 29 11:34:50 2021 +0200
aarch64: Fix ICE in aarch64_add_offset_1_temporaries [PR100302]
In PR94121 I've changed aarch64_add_offset_1 to use absu_hwi instead of
abs_hwi because offset can be HOST_WIDE_INT_MIN. As can be seen with
the testcase below, aarch64_add_offset_1_temporaries suffers from the same
problem and should be in sync with aarch64_add_offset_1, i.e. for
HOST_WIDE_INT_MIN it needs a temporary.
2021-04-29 Jakub Jelinek <jakub@redhat.com>
PR target/100302
* config/aarch64/aarch64.c (aarch64_add_offset_1_temporaries): Use
absu_hwi instead of abs_hwi.
(cherry picked from commit 1bb3e2c0ce6ed363c72caf814a6ba6d7b17c3e0a)
^ permalink raw reply [flat|nested] 12+ messages in thread