This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/50925] [4.7 Regression][avr] ICE at spill_failure, at reload1.c:2118


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]