https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99117
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
Component|c++ |middle-end
Last reconfirmed| |2021-02-16
Target Milestone|--- |9.4
Ever confirmed|0 |1
Known to fail| |10.2.1, 11.0
Status|UNCONFIRMED |NEW
Known to work| |7.5.0, 8.4.0
Keywords| |needs-reduction, wrong-code
Summary|cannot accumulate |[9/10/11 Regression] cannot
|std::valarray |accumulate std::valarray
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. If I disable SRA it works but I haven't looked closer yet.