]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix bug in ipa-pure-const and add debug counters
authorJan Hubicka <jh@suse.cz>
Sat, 13 Nov 2021 23:48:32 +0000 (00:48 +0100)
committerJan Hubicka <jh@suse.cz>
Sat, 13 Nov 2021 23:48:32 +0000 (00:48 +0100)
commit6471396dec0cfc30e30e64a70b0d0e6a02de2de7
tree15c02f61efe82810881574e39856a0b6c5274fc8
parente30bf330443da67fe56bea021b9d70c0f76deedb
Fix bug in ipa-pure-const and add debug counters

gcc/ChangeLog:

PR lto/103211
* dbgcnt.def (ipa_attr): New counters.
* ipa-pure-const.c: Include dbgcnt.c
(ipa_make_function_const): Use debug counter.
(ipa_make_function_pure): Likewise.
(propagate_pure_const): Fix bug in my previous change.
gcc/dbgcnt.def
gcc/ipa-pure-const.c