aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/analyzer/deref-before-check-2.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2025-04-29 22:43:45 +0200
committerJan Hubicka <hubicka@ucw.cz>2025-04-29 22:43:45 +0200
commit1efd525e828d5c30d0962d05ba81f9d7c8176ca7 (patch)
tree3e9819d93ad8c5fbd88213d75cc62ecde74c8a12 /gcc/testsuite/c-c++-common/analyzer/deref-before-check-2.c
parent405fee9e1faf20f05b62e810ec1d6528100de067 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
Fix cs_interesting_for_ipcp_p wrt flag_profile_partial_training.HEADtrunkmaster
As noticed by Martin Jambor, I introduced a bug while simplifying cs_interesting_for_ipcp_p and reversed condition for flag_profile_partial_training. Also I noticed that we probably want to consider calls with unintialized counts for cloning so the pass does somehting with -fno-guess-branch-probability even thugh this is probably not very useful in practice. gcc/ChangeLog: * ipa-cp.cc (cs_interesting_for_ipcp_p): Fix handling of uninitialized counts and 0 IPA cost wrt flag_profile_partial_training.
Diffstat (limited to 'gcc/testsuite/c-c++-common/analyzer/deref-before-check-2.c')
0 files changed, 0 insertions, 0 deletions