This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/15262] [tree-ssa] Alias analyzer cannot handle addressable fields


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]