https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100284
Bug ID: 100284
Summary: gcc crash with -march=armv8.2-a+sve -O3
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gilles.gouaillardet at gmail dot com
Target Milestone: ---
Created attachment 50686
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50686&action=edit
a reproducer
The attached (and self-contained) bug.c (trimmed from GROMACS 2021.1) can be
used to evidence this issue with the latest GCC from the master and
releases/gcc-11 branches:
gcc -march=armv8.2-a+sve -O3 -c bug.c
The crash occurs at -O3 (and no crash at -O2) and only with an aarch64+sve
target
(this is a compiler crash that can be evidenced on a *non* SVE capable hardware
too)
I ran a git bisect and it points to
# first bad commit: [cdb2e365fc0dba2ee052827e5ca65234ca82d605] SLP: support
entire BB.
GCC 10.3.0 is not affected.