This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/25772] No removal of redundant referencing / dereferencing



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]