On 07 March 2006 08:27, Yang Yang wrote: > 1.For the same bunch of optimization options, does it matter if I > change the order of them? Will that cause a different behavior of > GCC?
Only if there are any that conflict, in which case the last one on the command line wins. > 2.Recently I've seen a spec2000 config file, where there is one > optimization option written twice in the OPTIMIZE part(thay are not in > a row).Why is it written that way?Does it mean the same optimization > will be done twice? I can't say, because I don't know, but I'd just guess that it's some little glitch in the way the options are autogenerated and nobody's fixed it yet because it doesn't do any harm. Maybe even it's just a typo that nobody even noticed yet, because it doesn't do any harm.... It won't apply an optimisation twice. cheers, DaveK -- Can't think of a witty .sigline today....