public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/103264] [12 regression] gcc.dg/tree-prof/merge_block.c fails after r12-5236 Date: Sun, 21 Nov 2021 12:20:26 +0000 [thread overview] Message-ID: <bug-103264-4-x7KtCjd848@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-103264-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103264 --- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Aha, I see it. The difference with IPA modref is that we now eliminate the loop before profile instrumentation. This leads to difference because the function t() is never executed and thus we use guessed profile on it. Now without modref we are not able to optimize out the loop and we actualy profile it and then scale down the profile to zero. This makes the cunrolli updating bug to disappear and also shows weird behaviour of profile scaling - when we get count to 0 we should maintain local profile. So to get back to the original behaviour we want to add -fno-ipa-modref but there are at least two other issues - the cunrolli misupading profile (which if I recall may be partly intentional) and profile scalling killing local profile when dropping count to 0.
next prev parent reply other threads:[~2021-11-21 12:20 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-11-15 18:43 [Bug testsuite/103264] New: " seurer at gcc dot gnu.org 2021-11-15 21:04 ` [Bug testsuite/103264] " hubicka at kam dot mff.cuni.cz 2021-11-16 8:30 ` marxin at gcc dot gnu.org 2021-11-16 9:36 ` rguenth at gcc dot gnu.org 2021-11-21 12:10 ` hubicka at gcc dot gnu.org 2021-11-21 12:20 ` hubicka at gcc dot gnu.org [this message] 2021-11-21 15:14 ` cvs-commit at gcc dot gnu.org 2021-11-22 17:45 ` jakub at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-103264-4-x7KtCjd848@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).