This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Assigning correct source location for deallocator


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]