The patch bootstrapped and passed gcc regression tests. Thanks, Dehao
On Tue, Oct 9, 2012 at 1:16 PM, Dehao Chen <de...@google.com> wrote: > Yes, you are right. I've changed to use EXPR_LOCATION (stmt) for the location. > > New patch attached, testing is on-going. > > Thanks, > Dehao > > On Tue, Oct 9, 2012 at 12:35 PM, Jason Merrill <ja...@redhat.com> wrote: >> On 10/07/2012 08:38 PM, Dehao Chen wrote: >>> >>> + *stmt_p = build2_loc (input_location, >> >> >> I think input_location in cp_genericize_r will always be the closing brace >> of the function, which might be right for a variable in the outermost block >> of the function, but not for variables in inner scopes. >> >> Jason >>