--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-03
12:51 ---
But not argument passing ABI sorry.
--
What|Removed |Added
Status|UNCONFIRMED
--- Additional Comments From lts-rudolph at gmx dot de 2004-12-03 08:39
---
I think you are not right :-)
The gcc docs say that it is possible to overwrite the abi with ffixed-reg!
It is also an example given (qsort) which comes from external library. The
examples says that you have to
--- Additional Comments From rth at gcc dot gnu dot org 2004-12-02 21:50
---
Invalid. Registers 8 through 25 inclusive are all used for parameter passing.
You cannot arbitrarily change the ABI simply by declaring registers as global.
It's your job to pick a global register that doesn't
--- Additional Comments From lts-rudolph at gmx dot de 2004-12-02 21:43
---
(In reply to comment #2)
> I think this is invalid, does -ffixed-reg=r13 fix the problem?
No, also using ffixed-regs will result in wrong code.
As I saw in source (avr.c) the register allocation for functions
i
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-02
21:26 ---
I think this is invalid, does -ffixed-reg=r13 fix the problem?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18798
--- Additional Comments From lts-rudolph at gmx dot de 2004-12-02 21:12
---
Created an attachment (id=7665)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7665&action=view)
only one sourcefile needed, no others attatched
Simply use source file with avr-gcc and look for using of reg
--
What|Removed |Added
Component|c |target
Keywords||wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id