https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104474
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|12.0 |11.2.1
Known to work|11.2.1 |12.0
Target Milestone|12.0 |10.4
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=94668
Resolution|FIXED |---
Status|RESOLVED |NEW
Assignee|pinskia at gcc dot gnu.org |unassigned at gcc dot
gnu.org
Summary|[12 Regression] ICE: in |[10/11 Regression] ICE: in
|output_constant_pool_2, at |output_constant_pool_2, at
|varasm.cc:4062 with |varasm.cc:4062 with
|-mcpu=neoverse-512tvb |-mcpu=neoverse-512tvb
|-msve-vector-bits=512 |-msve-vector-bits=512
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So it looks like it is a bug in GCC 10.x and 11.x too and the only reason why
it was not caught back then was the testcase that was added was all 0 for the
constant (gcc.target/aarch64/sve/pr94668.c).
Note -frounding-math testcases are a regression in GCC 12 though due to
r12-4767-g81342e95827f77c.
Note I am not going to do the backport of the patch, someone else can do that.