--- Comment #2 from rguenth at gcc dot gnu dot org 2010-07-03 11:17 ---
The code in question is likely expr.c:8830 ff:
address_mode = targetm.addr_space.address_mode (as);
op0 = expand_expr (TREE_OPERAND (exp, 0), NULL_RTX, address_mode,
EXPAND
--- Comment #1 from sje at cup dot hp dot com 2010-07-02 19:49 ---
This may be related to &x + CST folding. The bug only happens at -O1 or above.
I think I forgot to mention that in the original bug report.
When I look at the expand dump and the comparision to 123 I see:
(insn 17 16 1