diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2024-06-29 03:10:59 +0100 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2024-06-29 03:49:34 +0100 |
commit | 45e74d5dfa4c5f372df0d3545bc342b6a2505e71 (patch) | |
tree | 0cf9331c9ac84c5f3e7f86538adfb342aa62bf39 /move-if-change | |
parent | 9fbbad9b6c6e7fa7eaf37552173f5b8b2958976b (diff) | |
download | gcc-45e74d5dfa4c5f372df0d3545bc342b6a2505e71.zip gcc-45e74d5dfa4c5f372df0d3545bc342b6a2505e71.tar.gz gcc-45e74d5dfa4c5f372df0d3545bc342b6a2505e71.tar.bz2 |
jit: Fix Darwin bootstrap after r15-1699.
r15-1699-g445c62ee492 contains changes that trigger two maybe-uninitialized
warnings on Darwin, which result in a bootstrap failure.
Note that the warnings are false positives, in fact the variables should be
initialized in the cases of a switch (all values of the switch condition are
covered).
Fixed here by providing default initializations for the relevant variables.
gcc/jit/ChangeLog:
* jit-recording.cc
(recording::memento_of_typeinfo::make_debug_string): Default the value
of ident.
(recording::memento_of_typeinfo::write_reproducer): Default the value
of type.
Signed-off-by: Iain Sandoe <iains@gcc.gnu.org>
Diffstat (limited to 'move-if-change')
0 files changed, 0 insertions, 0 deletions