This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/50925] [4.7 Regression][avr] ICE at spill_failure, at reload1.c:2118
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 27 Jan 2012 23:20:03 +0000
- Subject: [Bug other/50925] [4.7 Regression][avr] ICE at spill_failure, at reload1.c:2118
- Auto-submitted: auto-generated
- References: <bug-50925-4@http.gcc.gnu.org/bugzilla/>
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.