------- Comment #2 from bonzini at gnu dot org 2006-01-12 18:58 ------- The compiler surely converts &data[i] to data+i or the other way round even at no optimization level and so does with &*&*&*&*&*a that is equivalent to a.
You cannot expect the preprocessor to do that, and the result to show up with the -E option. But the generated assembly language has all of the optimizations you requested. -- bonzini at gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25772