[PATCH, committed] * pt.c (make_auto_1): Use input_location rather than BUILTINS_LOCATION.

Adam Butcher adam@jessamine.co.uk
Mon Sep 16 08:23:00 GMT 2013


On 16.09.2013 09:02, Eric Botcazou wrote:
>> ---
>>  gcc/cp/pt.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
>> index 2ef160a..ed08dca 100644
>> --- a/gcc/cp/pt.c
>> +++ b/gcc/cp/pt.c
>> @@ -21041,7 +21041,7 @@ static tree
>>  make_auto_1 (tree name)
>>  {
>>    tree au = cxx_make_type (TEMPLATE_TYPE_PARM);
>> -  TYPE_NAME (au) = build_decl (BUILTINS_LOCATION,
>> +  TYPE_NAME (au) = build_decl (input_location,
>>  			       TYPE_DECL, name, au);
>>    TYPE_STUB_DECL (au) = TYPE_NAME (au);
>>    TEMPLATE_TYPE_PARM_INDEX (au) = build_template_parm_index
>
> That's not a valid post to gcc-patches though.  You need to explain 
> what the
> patch does in a few words, post a ChangeLog entry and say how you 
> tested it.
>
> See all the other messages on the list...
>
Apologies if this was out of context.  This was a change suggested and 
reviewed by Jason 
(http://gcc.gnu.org/ml/gcc-patches/2013-09/msg01114.html).

It has been commited.  The changelog happened to be a one liner which 
folded into the subject line.



More information about the Gcc-patches mailing list