qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] gcc
@ 2007-12-04  2:20 Rick Vernam
  2007-12-04 21:35 ` [Qemu-devel] gcc Antti P Miettinen
  2007-12-05  0:35 ` [Qemu-devel] gcc Carlo Marcelo Arenas Belon
  0 siblings, 2 replies; 7+ messages in thread
From: Rick Vernam @ 2007-12-04  2:20 UTC (permalink / raw)
  To: Qemu mailing list

any comments on the current status of moving beyond dependency on GCC 3.3.6?

no need to go into details of 'why' on my behalf, so spare yourself the time 
on that... :-)

thanks

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] Re: gcc
  2007-12-04  2:20 [Qemu-devel] gcc Rick Vernam
@ 2007-12-04 21:35 ` Antti P Miettinen
  2007-12-04 22:10   ` andrzej zaborowski
  2007-12-04 22:17   ` Johannes Schindelin
  2007-12-05  0:35 ` [Qemu-devel] gcc Carlo Marcelo Arenas Belon
  1 sibling, 2 replies; 7+ messages in thread
From: Antti P Miettinen @ 2007-12-04 21:35 UTC (permalink / raw)
  To: qemu-devel

Rick Vernam <rickv@hobi.com> writes:
> any comments on the current status of moving beyond dependency on GCC 3.3.6?

Sorry for a vague ignorant question, but would the gcc-4 issues be
affected in any way if the ops were inside a big function (use labels
to find them) vs the current use of separate functions?

--
http://www.iki.fi/~ananaza/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Re: gcc
  2007-12-04 21:35 ` [Qemu-devel] gcc Antti P Miettinen
@ 2007-12-04 22:10   ` andrzej zaborowski
  2007-12-04 22:17   ` Johannes Schindelin
  1 sibling, 0 replies; 7+ messages in thread
From: andrzej zaborowski @ 2007-12-04 22:10 UTC (permalink / raw)
  To: ananaza, qemu-devel

On 04/12/2007, Antti P Miettinen <ananaza@iki.fi> wrote:
> Rick Vernam <rickv@hobi.com> writes:
> > any comments on the current status of moving beyond dependency on GCC 3.3.6?
>
> Sorry for a vague ignorant question, but would the gcc-4 issues be
> affected in any way if the ops were inside a big function (use labels
> to find them) vs the current use of separate functions?

They might likely be affected but it would be an equally fragile and
compiler-dependent solution and I think not worth putting the time it
would take to adapt dyngen to this.
Regards

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Re: gcc
  2007-12-04 21:35 ` [Qemu-devel] gcc Antti P Miettinen
  2007-12-04 22:10   ` andrzej zaborowski
@ 2007-12-04 22:17   ` Johannes Schindelin
  2007-12-04 22:26     ` Johannes Schindelin
  1 sibling, 1 reply; 7+ messages in thread
From: Johannes Schindelin @ 2007-12-04 22:17 UTC (permalink / raw)
  To: Antti P Miettinen; +Cc: qemu-devel

Hi,

On Tue, 4 Dec 2007, Antti P Miettinen wrote:

> Rick Vernam <rickv@hobi.com> writes:
> > any comments on the current status of moving beyond dependency on GCC 
> > 3.3.6?
> 
> Sorry for a vague ignorant question, but would the gcc-4 issues be 
> affected in any way if the ops were inside a big function (use labels to 
> find them) vs the current use of separate functions?

It might be a bit outdated, but the basic ideas still hold valid in 
http://libvncserver.sourceforge.net/qemu/qemu-porting.html.

So no, you cannot have the ops inside a big function.

Hth,
Dscho

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Re: gcc
  2007-12-04 22:17   ` Johannes Schindelin
@ 2007-12-04 22:26     ` Johannes Schindelin
  0 siblings, 0 replies; 7+ messages in thread
From: Johannes Schindelin @ 2007-12-04 22:26 UTC (permalink / raw)
  To: Antti P Miettinen; +Cc: qemu-devel

Hi,

On Tue, 4 Dec 2007, Johannes Schindelin wrote:

> On Tue, 4 Dec 2007, Antti P Miettinen wrote:
> 
> > Rick Vernam <rickv@hobi.com> writes:
> > > any comments on the current status of moving beyond dependency on 
> > > GCC 3.3.6?
> > 
> > Sorry for a vague ignorant question, but would the gcc-4 issues be 
> > affected in any way if the ops were inside a big function (use labels 
> > to find them) vs the current use of separate functions?
> 
> It might be a bit outdated, but the basic ideas still hold valid in 
> http://libvncserver.sourceforge.net/qemu/qemu-porting.html.
> 
> So no, you cannot have the ops inside a big function.

I realise that I was not quite clear enough... gcc4 has this annoying 
behaviour that it occasionally puts in return statements in the middle of 
the function.  There seems to be no option to prevent that.  And this 
behaviour is not helped by having one function rather than many.

Hth,
Dscho

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] gcc
  2007-12-04  2:20 [Qemu-devel] gcc Rick Vernam
  2007-12-04 21:35 ` [Qemu-devel] gcc Antti P Miettinen
@ 2007-12-05  0:35 ` Carlo Marcelo Arenas Belon
  2007-12-05 15:41   ` Rick Vernam
  1 sibling, 1 reply; 7+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2007-12-05  0:35 UTC (permalink / raw)
  To: qemu-devel

On Mon, Dec 03, 2007 at 08:20:28PM -0600, Rick Vernam wrote:
> any comments on the current status of moving beyond dependency on GCC 3.3.6?

you meant dependency on GCC < 4 right?, I use gcc 3.4.6 and there shouldn't be
any reasons AFAIK that wouldn't work.

Carlo

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] gcc
  2007-12-05  0:35 ` [Qemu-devel] gcc Carlo Marcelo Arenas Belon
@ 2007-12-05 15:41   ` Rick Vernam
  0 siblings, 0 replies; 7+ messages in thread
From: Rick Vernam @ 2007-12-05 15:41 UTC (permalink / raw)
  To: qemu-devel

On Tuesday 04 December 2007 06:35:53 pm Carlo Marcelo Arenas Belon wrote:
> On Mon, Dec 03, 2007 at 08:20:28PM -0600, Rick Vernam wrote:
> > any comments on the current status of moving beyond dependency on GCC
> > 3.3.6?
>
> you meant dependency on GCC < 4 right?
yeah..thanks.

> I use gcc 3.4.6 and there shouldn't be any reasons AFAIK that wouldn't work.
yeah, I keep 3.4.6 around, too.

>
> Carlo

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-12-05 15:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-04  2:20 [Qemu-devel] gcc Rick Vernam
2007-12-04 21:35 ` [Qemu-devel] gcc Antti P Miettinen
2007-12-04 22:10   ` andrzej zaborowski
2007-12-04 22:17   ` Johannes Schindelin
2007-12-04 22:26     ` Johannes Schindelin
2007-12-05  0:35 ` [Qemu-devel] gcc Carlo Marcelo Arenas Belon
2007-12-05 15:41   ` Rick Vernam

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 NNTP newsgroup(s).