This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/25772] No removal of redundant referencing / dereferencing
- From: "bonzini at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2006 18:58:03 -0000
- Subject: [Bug other/25772] No removal of redundant referencing / dereferencing
- References: <bug-25772-11906@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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