http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50925

--- Comment #16 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-01-27 
23:20:03 UTC ---
Created attachment 26486
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=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.

Reply via email to