2011/4/14 Georg-Johann Lay <a...@gjlay.de>:
> Denis Chertykov schrieb:
>> 2011/4/14 Georg-Johann Lay <a...@gjlay.de>:
>>> This tests are intended to reveal the respective PRs because the test
>>> case is more stable under slight variations in code (both of
>>> application or compiler).
>>>
>>> This test case migh also be helpful for older versions of avr-gcc, in
>>> particular if PR41894 is actually fixed.
>>>
>>> 2011-04-14  Georg-Johann Lay  <a...@gjlay.de>
>>>
>>>        PR target/46779
>>>        PR target/45291
>>>        PR target/41894
>>>        * gcc.target/avr/pr46779-1.c: New test case
>>>        * gcc.target/avr/pr46779-2.c: New test case
>>>
>>
>> __asm volatile ("ldi %B0, 56" : "+y" (y));
>>
>> It's wrong expression. "+y" must be "=y".
>
> The "+y" is needed because y is both input and output.

Yes, you are right.
I missed that %B is only part of Y.

Approved.

Denis.

Reply via email to