aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/error.cc
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2023-10-03 18:44:52 +0200
committerMartin Jambor <mjambor@suse.cz>2023-10-03 18:49:01 +0200
commited8fe3b1203b936d870d1ab79e66d34f9c955738 (patch)
treed19b9c70e02b08536cc3c051955153a984a0d7b4 /gcc/cp/error.cc
parent14d0c509898b0361f78284c05556035edde6d1e0 (diff)
downloadgcc-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