]> gcc.gnu.org Git - gcc.git/commit
ipa-modref: Fix dumping
authorMartin Jambor <mjambor@suse.cz>
Tue, 3 Oct 2023 16:44:52 +0000 (18:44 +0200)
committerMartin Jambor <mjambor@suse.cz>
Tue, 3 Oct 2023 16:49:01 +0000 (18:49 +0200)
commited8fe3b1203b936d870d1ab79e66d34f9c955738
treed19b9c70e02b08536cc3c051955153a984a0d7b4
parent14d0c509898b0361f78284c05556035edde6d1e0
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.
gcc/ipa-modref.cc
gcc/ipa-modref.h
This page took 0.062565 seconds and 6 git commands to generate.