[Bug middle-end/19708] [4.0 Regression] does not fold "&int_cst->a" to just INT_CST

rth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Feb 10 01:13:00 GMT 2005


------- Additional Comments From rth at gcc dot gnu dot org  2005-02-09 22:18 -------
Andrew, your patch is wrong; fold_offsetof assumes a zero base.

Alan, I have no particular interest in fixing this.  See how the 
alpha tcb-offsets.def file addresses this same problem.

If this turns out to be Absolutely Necessary, ie affects more than
just the nptl build, we can consider adding more hacks in this area
to accomodate, but at present I just don't think it's worth it.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


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



More information about the Gcc-bugs mailing list