"Richard Guenther" <[EMAIL PROTECTED]> writes: > > We've got a test case with gcc 4.2 for which compilation time goes > > from nine minutes to 30 seconds when we use that option. I know the > > code is much better in mainline. Still, I would prefer to keep the > > option unless we are certain that similar compilation time blowouts > > can not occur. Lots of code can profit from optimization even with > > struct aliasing turned off. > > Well, ATM the flag doesn't work. And honestly we have enough "kinds" > of alias bugs - adding another knob to get different wrong-code bugs > doesn't look too appealing to me ;)
Well, if the -fno-tree-salias flag now causes wrong-code bugs then I certainly agree that it should be eliminated. The gcc 4.2 issue we saw wasn't wrong code either way, it was just a compilation time issue. Ian