PATCH RFA: Increase support for restrict qualifier

Richard Henderson rth@redhat.com
Sun Oct 2 08:50:00 GMT 2005


On Sat, Oct 01, 2005 at 09:53:53PM -0700, Ian Lance Taylor wrote:
> > I'd hope it's possible to write a testcase for the optimization 
> > improvements in the present patch as well.
> 
> I don't know.  The real optimization improvement is in the scheduler
> which will no longer see dependencies which it formerly saw.

It's usually easier to write aliasing test cases with copy/constant
propagation and dead code elimination.  The general form is

	x = 0;
	y = 1;
	if (x != 0)
	  link_error ();

where x and y are the two things you want to affirm do not alias.



r~



More information about the Gcc-patches mailing list