aboutsummaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.c-c++-common/interop-2.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2025-04-24 18:35:54 +0200
committerJan Hubicka <hubicka@ucw.cz>2025-04-24 18:36:17 +0200
commitcfb04e0de6aa438df9d8b83a3d8c7f93789b5c9f (patch)
tree42f332663e65d5adfd519641744294bfd7deb278 /libgomp/testsuite/libgomp.c-c++-common/interop-2.c
parent8ef0518bce489c4c0c252a0e0c44193c5f7cf777 (diff)
downloadgcc-cfb04e0de6aa438df9d8b83a3d8c7f93789b5c9f.zip
gcc-cfb04e0de6aa438df9d8b83a3d8c7f93789b5c9f.tar.gz
gcc-cfb04e0de6aa438df9d8b83a3d8c7f93789b5c9f.tar.bz2
Fix ICE building deepsjeng with -fprofile-use
The problem here is division by zero, since adjusted 0 > precise 0. Fixed by using right test. gcc/ChangeLog: PR ipa/119924 * ipa-cp.cc (update_counts_for_self_gen_clones): Use nonzero_p. (update_profiling_info): Likewise. (update_specialized_profile): Likewise.
Diffstat (limited to 'libgomp/testsuite/libgomp.c-c++-common/interop-2.c')
0 files changed, 0 insertions, 0 deletions