[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and olde
From: |
Gleb Natapov |
Subject: |
Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older |
Date: |
Thu, 17 Oct 2013 12:43:15 +0300 |
On Thu, Oct 17, 2013 at 12:44:46PM +0300, Michael S. Tsirkin wrote:
> On Thu, Oct 17, 2013 at 12:33:39PM +0300, Gleb Natapov wrote:
> > > > It just papers over the problem. Compiler should either complain that it
> > > > does not know what %w0 or complain that variable length does not match
> > > > assembly
> > >
> > > Of course it can't. Compiler does not parse assembly at all:
> > > these are just constant strings as far as it's concerned.
> > >
> > Compiler does not pars assembly itself but it parses things like %w0 to
> > know what assembly to emit. That is why it complained about %d0 in the
> > first place.
>
> Right. I meant that with this: "outl %0" it has no chance to figure out
> that outl needs eax. It has to go by variable type.
Yes.
--
Gleb.
- [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older, Michael S. Tsirkin, 2013/10/16
- Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older, Gleb Natapov, 2013/10/17
- Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older, Michael S. Tsirkin, 2013/10/17
- Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older, Gleb Natapov, 2013/10/17
- Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older, Michael S. Tsirkin, 2013/10/17
- Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older, Gleb Natapov, 2013/10/17
- Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older, Michael S. Tsirkin, 2013/10/17
- Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older, Gleb Natapov, 2013/10/17
- Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older, Michael S. Tsirkin, 2013/10/17
- Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older,
Gleb Natapov <=
- Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older, Paolo Bonzini, 2013/10/17
- Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older, Paolo Bonzini, 2013/10/17