diff options
author | Mark Harmstone <mark@harmstone.com> | 2024-07-26 20:46:33 +0100 |
---|---|---|
committer | Mark Harmstone <mark@harmstone.com> | 2024-08-01 02:36:54 +0100 |
commit | 4c88b4e635f6025a897c5d059628e63ec5ba948f (patch) | |
tree | 4358c34733a9784df98b0ca6f19acdd2cf0a5fc7 /gcc/gimplify.cc | |
parent | 64fbaf36a3834c394422cdf86985c7cc45179925 (diff) | |
download | gcc-4c88b4e635f6025a897c5d059628e63ec5ba948f.zip gcc-4c88b4e635f6025a897c5d059628e63ec5ba948f.tar.gz gcc-4c88b4e635f6025a897c5d059628e63ec5ba948f.tar.bz2 |
Fix ICE when using -gcodeview with empty struct
Empty structs result in empty LF_FIELDLIST types, which are valid, but
we weren't accounting for this and assuming they had to contain
subtypes.
gcc/
* dwarf2codeview.cc (get_type_num_struct): Fix NULL pointer dereference.
Diffstat (limited to 'gcc/gimplify.cc')
0 files changed, 0 insertions, 0 deletions