Skip to contentSkip to conversation

gcc

Qemu-devel Rick Vernam 5 participants 7 messages Dec 4, 2007 – Dec 5, 2007

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 1 line · Rick Vernam

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/

#2 lore raw
Quoted 6 lines · Antti P Miettinen
Quoted 1 line · Rick Vernam

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

#3 lore raw
In reply to Antti P Miettinen

Hi,

Quoted 7 lines · Antti P Miettinen
Quoted 2 lines · Rick Vernam

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

#4 lore raw

Hi,

Quoted 6 lines · Johannes Schindelin
Quoted 4 lines · Antti P Miettinen
Quoted 2 lines · Rick Vernam

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

Quoted 8 lines
Quoted 3 lines

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

#5 lore raw
In reply to Rick Vernam
Quoted 1 line · Rick Vernam

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

#6 lore raw
Quoted 5 lines · Carlo Marcelo Arenas Belon
Quoted 2 lines · Rick Vernam

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

you meant dependency on GCC < 4 right?

yeah..thanks.

Quoted 1 line

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.

Quoted 2 lines

Carlo