https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113586
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-checking
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The problem is get_dynamic_stack_size can set size to register due to this
code:
```
size = plus_constant (Pmode, size, extra);
size = force_operand (size, NULL_RTX);
if (size_align > known_align)
size_align = known_align;
```
Which has been there for a while now.
r7-2051-g7072df0aae0c59 introduced the call to get_dynamic_stack_size that will
then assume the INTVAL (note this was later changed to rtx_to_poly_int64 but
the force_operand was there earlier than that).