This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/19786] [4.0 Regression] Aliasing optimisation bug
- 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: 21 Feb 2005 15:15:53 -0000
- Subject: [Bug tree-optimization/19786] [4.0 Regression] Aliasing optimisation bug
- References: <20050206101741.19786.sylvain.pion@sophia.inria.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-21 15:15 -------
This is an aliasing bug:
# VUSE <TMT.176_472>;
D.11241_367 = this_127->D.8251._M_impl._M_finish;
But if we do:
D.11300_379 = &this_127->D.8251._M_impl._M_finish;
__i_380 = D.11300_379;
# VUSE <TMT.177_189>;
SR.361_381 = *__i_380;
I think __i is const int * or something like that which causes the problem.
See how we have two different type tags.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dnovillo at gcc dot gnu dot
| |org
Keywords| |alias
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19786