This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/41838] Incorrect "dereferencing pointer '<anonymous>' does break strict-aliasing rules"
- 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: 26 Oct 2009 23:42:53 -0000
- Subject: [Bug c++/41838] Incorrect "dereferencing pointer '<anonymous>' does break strict-aliasing rules"
- References: <bug-41838-13604@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2009-10-26 23:42 -------
> There's no aliasing through the void*.
This is not true. In fact aliasing is not about what the type of the pointers
are but what the dynamic type of what the pointer points to and the access
type.
But that is not the issue here though.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41838