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] Set is_stmt flag to 0 in DWARF line number table for discriminators


>> +/* Last is_stmt flag written to assembly (for line number table). ?*/
>> +static int last_is_stmt;
>
> ...
>>
>> @@ -1503,6 +1506,7 @@ final_start_function (rtx first ATTRIBUT
>> ? last_filename = locator_file (prologue_locator);
>> ? last_linenum = locator_line (prologue_locator);
>> ? last_discriminator = discriminator = 0;
>> + ?last_is_stmt = true;
>
> This variable is otherwise unused. ?It looks like a leftover
> from before you moved a variable of the same name into
> dwarf2out_source_line.
>
> Ok with that bit removed.

Thanks for catching that!

Attached is the patch as committed.

-cary

Attachment: gcc-isstmt-patch.txt
Description: Text document


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