public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Denis Chertykov <chertykov@gmail.com>
To: Georg-Johann Lay <avr@gjlay.de>
Cc: gcc-patches@gcc.gnu.org,
	Eric Weddington <eric.weddington@atmel.com>,
		Anatoly Sokolov <aesok@post.ru>
Subject: Re: [testsuite,AVR] test for PR46779, PR45291, PR41894
Date: Thu, 14 Apr 2011 18:18:00 -0000	[thread overview]
Message-ID: <BANLkTik5G0n0Tjg8vjnP=cD0M-qjbWX-qQ@mail.gmail.com> (raw)
In-Reply-To: <4DA729C5.2040204@gjlay.de>

2011/4/14 Georg-Johann Lay <avr@gjlay.de>:
> Denis Chertykov schrieb:
>> 2011/4/14 Georg-Johann Lay <avr@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  <avr@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	other threads:[~2011-04-14 18:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-14 12:02 Georg-Johann Lay
2011-04-14 16:28 ` Denis Chertykov
2011-04-14 17:07   ` Georg-Johann Lay
2011-04-14 18:18     ` Denis Chertykov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTik5G0n0Tjg8vjnP=cD0M-qjbWX-qQ@mail.gmail.com' \
    --to=chertykov@gmail.com \
    --cc=aesok@post.ru \
    --cc=avr@gjlay.de \
    --cc=eric.weddington@atmel.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).