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

--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Roger Sayle from comment #8)
> Yep, according to godbolt, with -fdisable-tree-pow, this test case ICE'd in
> GCC 15.  Alas -fdisable-tree-pow option didn't exist in GCC 14, so this
> issue could be older still.

The pass was renamed from powcabs to pow in GCC 15 by r15-1799-g36852a189a1dce.
It ICEs in GCC 14 with `-O3 -march=znver3  -fdisable-tree-powcabs`.

Note the powcabs pass itself was splitt off of sincos pass in GCC 13 by
r13-1763-g78d5e125c008d8 and then ICEd in GCC 12 with `-O3 -march=znver3
-fdisable-tree-sincos`. Going all the way back to at least GCC 8 (with `-O3
-march=znver1 -fdisable-tree-sincos`).

GCC 7.5.0 seems like it works but I am not sure.

Reply via email to