diff options
author | Martin Jambor <mjambor@suse.cz> | 2023-10-03 18:44:52 +0200 |
---|---|---|
committer | Martin Jambor <mjambor@suse.cz> | 2023-10-03 18:49:01 +0200 |
commit | ed8fe3b1203b936d870d1ab79e66d34f9c955738 (patch) | |
tree | d19b9c70e02b08536cc3c051955153a984a0d7b4 /gcc/cp/error.cc | |
parent | 14d0c509898b0361f78284c05556035edde6d1e0 (diff) | |
download | gcc-ed8fe3b1203b936d870d1ab79e66d34f9c955738.zip gcc-ed8fe3b1203b936d870d1ab79e66d34f9c955738.tar.gz gcc-ed8fe3b1203b936d870d1ab79e66d34f9c955738.tar.bz2 |
ipa-modref: Fix dumping
Function dump_lto_records ought to dump to its parameter OUT but was
dumping expressions to dump_file. This is corrected by this patch and
while at at, I also made the modref_summary::dump member function
const so that it is callable from more contexts.
gcc/ChangeLog:
2023-09-21 Martin Jambor <mjambor@suse.cz>
* ipa-modref.h (modref_summary::dump): Make const.
* ipa-modref.cc (modref_summary::dump): Likewise.
(dump_lto_records): Dump to out instead of dump_file.
Diffstat (limited to 'gcc/cp/error.cc')
0 files changed, 0 insertions, 0 deletions