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

2005-01-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-30 14:14 --- The easiest fix would be to fold it in the front-end for all INT_CST's like the following with a slight comment fix above: Index: c-typeck.c ===

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

2005-01-31 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-01 00:20 --- : Search converges between 2004-08-30-trunk (#529) and 2004-08-31-trunk (#530). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19708

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

2005-02-09 Thread rth at gcc dot gnu dot org
--- 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