http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23200
--- Comment #46 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-03 13:23:02 UTC --- Created attachment 23236 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23236 gcc46-pr23200-2.patch Or we could perhaps for EXPAND_INITIALIZER just try harder to look at SSA_NAME definitions, as done in this patch. EXPAND_INITIALIZER expansion is used just in a couple of places, usually the expression is already known to be constant, and in stmt.c it is for asm inputs with constraints that allow neither a register nor memory.