------- Comment #5 from jason at gcc dot gnu dot org 2010-02-19 20:13 ------- The problem is that instantiate_decl_rtl isn't being run on the rtl for the upper bound temporary, because it isn't visible to instantiate_decls. This happens because even though the temp got added to cfun->local_decls, expand_used_vars clears it out before instantiate_decls gets a chance to look at it.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42800