[Bug tree-optimization/22488] [4.1 Regression] push_fields_onto_fieldstack calculates offset incorrectly

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Oct 4 15:12:00 GMT 2005



------- Comment #40 from rguenth at gcc dot gnu dot org  2005-10-04 15:12 -------
(In reply to comment #38)
> As a 4.1 kludge, i can make the points-to analyzer do what it does for unions,
> which is to glob everything to a single variable for those classes where it has
> found two fields it thinks overlap.
> 
> This will lose alias precision, but it won't be worse than what 4.0 was.

Yes please.  This bug really annoys me ;)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22488



More information about the Gcc-bugs mailing list