projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b90e4a9
)
Reset force_source_line in final.c
author
Eric Botcazou
<ebotcazou@adacore.com>
Fri, 15 Jan 2021 21:50:48 +0000
(22:50 +0100)
committer
Eric Botcazou
<ebotcazou@adacore.com>
Fri, 15 Jan 2021 21:53:27 +0000
(22:53 +0100)
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.
gcc/final.c
patch
|
blob
|
history
diff --git
a/gcc/final.c
b/gcc/final.c
index b037e07fca031587f964ca9acd5844e2551fb7f2..daae115fef5612caa22a013816190424649212cb 100644
(file)
--- 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;