This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/77745] Inconsistent application of aliasing rules
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 26 Sep 2016 15:40:32 +0000
- Subject: [Bug tree-optimization/77745] Inconsistent application of aliasing rules
- Auto-submitted: auto-generated
- References: <bug-77745-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77745
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is all due to life time of objects rather than aliasing. If c1==c2, the
lifetime of p1 ends at the operator new.