This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/50887] [avr] Support ACCUMULATE_OUTGOING_ARGS
- 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: Thu, 27 Oct 2011 18:01:17 +0000
- Subject: [Bug target/50887] [avr] Support ACCUMULATE_OUTGOING_ARGS
- Auto-submitted: auto-generated
- References: <bug-50887-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50887
--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-10-27 18:01:17 UTC ---
Created attachment 25636
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25636
aoa.c
C source file that has several call to printf-ish function.
With the current implementation, after each call the code must get rid of the
pushed arguments which is expensive as SP cannot be modified directly.
Compile with, e.g.,
$ avr-gcc aoa.c -S -Os -mmcu=avr4