From: Eric Botcazou Date: Fri, 15 Jan 2021 21:50:48 +0000 (+0100) Subject: Reset force_source_line in final.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c029fcb56805bcb556e5c4dccdd4d124ca7eda33;p=gcc.git Reset force_source_line in final.c Unlike the other global variables, it is not reset at the beginning of a function so can leak into the next one. gcc/ChangeLog: * final.c (final_start_function_1): Reset force_source_line. --- diff --git a/gcc/final.c b/gcc/final.c index b037e07fca0..daae115fef5 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -1712,6 +1712,7 @@ final_start_function_1 (rtx_insn **firstp, FILE *file, int *seen, last_columnnum = LOCATION_COLUMN (prologue_location); last_discriminator = discriminator = 0; last_bb_discriminator = bb_discriminator = 0; + force_source_line = false; high_block_linenum = high_function_linenum = last_linenum;