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 target/50887] [avr] Support ACCUMULATE_OUTGOING_ARGS


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


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