[pushed:,r16-3938] sarif-replay: fix uninitialized m_debug_physical_locations
Commit Message
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(+)
@@ -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;
}