From: rs AT redplanet DOT mars DOT org DOT cy (Rotes Sapiens) Newsgroups: comp.os.msdos.djgpp Subject: Re: THE -O2 PROBLEM Date: Sun, 30 Apr 2000 01:19:02 GMT Message-ID: <390b89b1.9812591@news.cobweb.com.au> References: <38F20E7A DOT 3330E9A4 AT mtu-net DOT ru> <38F6C64E DOT C7753C6C AT mtu-net DOT ru> <8d7l3g$j3i$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <38F76B94 DOT 5E968BA7 AT mtu-net DOT ru> <38F78F5F DOT 25DD4C47 AT is DOT elta DOT co DOT il> X-Newsreader: Forte Free Agent 1.11/32.235 NNTP-Posting-Host: 210.9.20.44 X-Trace: 30 Apr 2000 11:51:08 +0950, 210.9.20.44 Lines: 25 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Fri, 14 Apr 2000 23:36:31 +0200, Eli Zaretskii wrote: >"Alexei A. Frounze" wrote: >> Btw, I have a suggestion. Why not to add this story to the FAQ? Just mention >> there that usage of the "g" constarint may cause problems during compilation >> such as error messages about wrong syntax, although syntax seems to be correct. >I think this issue is too complicated for the FAQ. The "g" vs "r" might see >simple, but there are lots and lots of other similar pitfalls, and there's no >reason why they, too, shouldn't be mentioned. >I think this is a topic for a good tutorial. There's already a tutorial on >this, it just needs work to make it better and more complete. Volunteers are >welcome to improve the tutorial and send in the patches. I have another suggestion, perhaps it is a good idea not to optimise asm at all? I can't see any harm in linking the asm object file into the program without optimising it. Perhaps this should go in the FAQ? Sig: She sells C shells. Buy the C, sure.