In r16-2766-g7969e4859ed007 I added a new field to replay_opts
but forgot to initialize it in set_defaults.
Fixed thusly.
Spotted thanks to valgrind.
Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu.
Pushed to trunk as r16-3938-gddabda614fed35.
gcc/ChangeLog:
* sarif-replay.cc (set_defaults): Initialize
m_debug_physical_locations.
---
gcc/sarif-replay.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/sarif-replay.cc b/gcc/sarif-replay.cc
index c740c29b2a32..aa7f2debe9cc 100644
--- a/gcc/sarif-replay.cc
+++ b/gcc/sarif-replay.cc
@@ -37,6 +37,7 @@ set_defaults (replay_options &replay_opts)
replay_opts.m_echo_file = false;
replay_opts.m_json_comments = false;
replay_opts.m_verbose = false;
+ replay_opts.m_debug_physical_locations = false;
replay_opts.m_diagnostics_colorize = DIAGNOSTIC_COLORIZE_IF_TTY;
}
--
2.26.3