[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Faulty code generation with three uint64_t args tofun
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] Faulty code generation with three uint64_t args tofunction |
Date: |
Tue, 2 May 2006 17:44:11 +0200 |
User-agent: |
Mutt/1.5.11 |
As Anatoly Sokolov wrote:
> This bug duplicated to:
> "Error when passing unsigned long long as function arguments:"
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21834
One of the GCC maintainers already added that bug as a dependency now.
> In "gcc/config/avr/avr.md" file does not contain 'insn' for DI mode.
> If I correctly understand for complete support of the 'long long'
> type in the gcc it is necessary to add these 'insn'.
See Bjoern's analysis: apparently, GCC has a general bug with DI
arguments pushed onto the stack here, that is only masked for other
targets by them declaring their own implementation for this operation,
while the AVR uses the generic implementation.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)