Created attachment 26486
main-loop.c (maybe related from PR52025)
This is a small test case from PR52025 generates strange code: It sets up a frame to store a local variable. Notice that there is just one local variable in the whole little program, so there is really no frame needed.
This issue can be resolved by -fno-caller-saves, so maybe it's related to the spill fails from here that can also be hacked around with -fno-caller-saves.
Maybe this little programs helps to find what's going wrong with the register allocation and spill fails.
Created attachment 26486
main-loop.c (maybe related from PR52025)
This is a small test case from PR52025 generates strange code: It sets up a frame to store a local variable. Notice that there is just one local variable in the whole little program, so there is really no frame needed.
This issue can be resolved by -fno-caller-saves, so maybe it's related to the spill fails from here that can also be hacked around with -fno-caller-saves.
Maybe this little programs helps to find what's going wrong with the register allocation and spill fails.