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.
This commit is contained in:
parent
b90e4a9741
commit
c029fcb568
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user