This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/14187] [tree-ssa] restricted pointers should not alias on the tree level
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jun 2007 00:48:31 -0000
- Subject: [Bug tree-optimization/14187] [tree-ssa] restricted pointers should not alias on the tree level
- References: <bug-14187-1008@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pinskia at gcc dot gnu dot org 2007-06-11 00:48 -------
(In reply to comment #3)
> Interestingly the following code is optimized:
That is because we create a new may_alias variable for malloc to point to so we
know that it cannot alias anything.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14187