diff options
author | Nathan Sidwell <nathan@acm.org> | 2021-01-19 11:31:57 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2021-01-19 11:37:03 -0800 |
commit | 6e6f3ed47e5cb575819f8253e42313664b89b042 (patch) | |
tree | c4aab6509d3f384e5689b66d6de8bbc899d4afdb /gcc/hwint.h | |
parent | 6a2a38620cf178b53b217051f32d1d7bbba86fc9 (diff) | |
download | gcc-6e6f3ed47e5cb575819f8253e42313664b89b042.zip gcc-6e6f3ed47e5cb575819f8253e42313664b89b042.tar.gz gcc-6e6f3ed47e5cb575819f8253e42313664b89b042.tar.bz2 |
c++: Fix null this pointer [PR 98624]
There's no need for this function to have an object, so make it
static and avoid UB.
PR c++/98624
gcc/cp/
* module.cc (trees_out::write_location): Make static.
Diffstat (limited to 'gcc/hwint.h')
0 files changed, 0 insertions, 0 deletions