This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/15262] [tree-ssa] Alias analyzer cannot handle addressable fields
- 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: 3 May 2004 14:47:11 -0000
- Subject: [Bug optimization/15262] [tree-ssa] Alias analyzer cannot handle addressable fields
- References: <20040503142200.15262.dnovillo@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-03 14:47 -------
Confirmed, actually I think the front-end should not lower &a->b into just (typeof(&a-
>b))((char*)(a)+offsetof(typeof(*a),b)), in fact once I disable the lowering in the front-end it works just
fine. I will submit a patch after the tree-ssa gets merged into the mainline for this and offsetof working
with this lowering disabled.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
BugsThisDependsOn| |14029
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2004-05-03 14:47:10
date| |
Target Milestone|--- |tree-ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15262