[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Clobber list isn't working

From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Clobber list isn't working
Date: Thu, 26 Jul 2007 07:12:56 +0200 (MET DST)

Eric Weddington <address@hidden> wrote:

> True, but you said yourself that it was an absurd test
> case. Obviously a nop doesn't clobber any registers.

But the compiler doesn't know that, because it cannot "look inside"
the inline asm statement: it has to trust the developer that they
specified the correct constraint.

cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]