On Sun, May 31, 2015 at 10:38 PM, Jason Merrill <ja...@redhat.com> wrote: > On 05/30/2015 08:52 PM, Aldy Hernandez wrote: >> >> On 05/29/2015 03:33 PM, Jason Merrill wrote: >>> >>> On 05/29/2015 03:26 PM, Richard Biener wrote: >>>> >>>> ISTR I had to mark the gimple reg used for the bound as >>>> non-DECL_IGNORED for the LTO stuff. >>> >>> >>> Let's go with that, then. >> >> >> Well, I did play around with that option originally, but temporaries do >> not end up in the symbol table, so we won't see them to feed them to >> late_global_decl. > > > The temporary has function scope, so I don't see why that would be an issue.
Yeah, we should walk it via the function_decl hook on the containing function. Richard. > Jason >