Optimization

John Carr jfc@mit.edu
Thu Apr 2 03:41:00 GMT 1998


The problem is, egcs detects aliases based on size of type, not type.
The stores to the float array kill the values in the integer array.

If you compile with -fargument-noalias you should see the optimization
you want.  Be careful using this flag: it makes an assertion about
pointer behavior which is not valid for some programs.




More information about the Gcc mailing list