[Bug tree-optimization/123070] [16 Regression] pr90178.c -m32 starts to fail since r16-5975 (make_forwarders_with_degenerate_phis )

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 24 10:52:25 GMT 2025


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

--- Comment #22 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #21)
> Hacking generic_type_for in tree-ssa-loop-ivopts.cc to return the pointer
> type fixes the issue. But I still am not sure that is valid.
> 
> generic_type_for used to return pointer_type_node, see PR 20625
> (r0-67159-gd482f417e4445f). But then an integer type due to PR 27865
> (r0-76106-g2052721560b232).

Most of r0-76106-g2052721560b232 was removed when pointer plus was added
(r0-81506-g5be014d5b728cf) too. So maybe we can move back to ptr_type_node.


More information about the Gcc-bugs mailing list