This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/44468] Bogus access re-construction from offset calculation
- 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: 8 Jun 2010 12:52:54 -0000
- Subject: [Bug tree-optimization/44468] Bogus access re-construction from offset calculation
- References: <bug-44468-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rguenth at gcc dot gnu dot org 2010-06-08 12:52 -------
Argument why the testcase is invalid might go along the line that a pointer
to struct Q may not be converted to a pointer to struct R, or that
&((struct R *)q)->a is accessing *q as struct R.
This is similar to PR41317.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.3.5 4.4.3 4.5.0
Known to work| |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44468