This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/62030] wrong code due to ifcvt merging two stores which have different aliasing sets
- 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: Wed, 06 Aug 2014 07:03:16 +0000
- Subject: [Bug rtl-optimization/62030] wrong code due to ifcvt merging two stores which have different aliasing sets
- Auto-submitted: auto-generated
- References: <bug-62030-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62030
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to vries from comment #2)
> I think the test-case is reading an undefined value from n->next, but that's
> easy enough to fix with an intializer for node.
Since node is a global variable, it is zero initialized so there is no reading
from an uninitialized area.