This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/41368] Erroneous aliasing rules violation messages are issued
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Sep 2009 08:02:00 -0000
- Subject: [Bug c++/41368] Erroneous aliasing rules violation messages are issued
- References: <bug-41368-6649@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rguenth at gcc dot gnu dot org 2009-09-16 08:02 -------
The compiler warns for the store in
D.1845_1 = (struct Fffff *) &eee.llll[0];
D.1854_8 ={v} &0B->D.1740.rrrr[0];
D.1845_1->ppp1 = D.1854_8;
because that stores to eee.llll (type char) via a pointer to type Fffff which
is invalid.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41368