public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/103050] [12 Regression] 520.omnetpp_r miscompiled after r12-4787-gb8ef019ab938471f Date: Tue, 02 Nov 2021 19:53:57 +0000 [thread overview] Message-ID: <bug-103050-4-oMlGaTXHXU@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-103050-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103050 --- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> --- I was able to track that to ltrans0, where one needs 2 optimizations to happen: -fdbg-cnt=ipa_mod_ref_pta:1296-1296:1482-1482 then optimized dump differs (good vs. bad) in: void recordScalar (struct cFileOutputScalarManager * const this, struct cComponent * component, const char * name, double value, struct opp_string_map * attributes) { ... <bb 56> [local count: 84297948]: _152 = D.31174._M_dataplus._M_p; - if (&D.31174.D.4725._M_local_buf != _152) - goto <bb 57>; [53.47%] - else - goto <bb 58>; [46.53%] - - <bb 57> [local count: 45074110]: ... _202 = D.31174._M_dataplus._M_p; - if (&D.31174.D.4725._M_local_buf != _202) - goto <bb 125>; [0.00%] - else - goto <bb 126>; [0.00%] - - <bb 125> [count: 0]: _203 = D.31174.D.4725._M_allocated_capacity; _204 = _203 + 1; operator delete (_202, _204);
next prev parent reply other threads:[~2021-11-02 19:53 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-11-02 18:24 [Bug tree-optimization/103050] New: " marxin at gcc dot gnu.org 2021-11-02 18:29 ` [Bug tree-optimization/103050] " hubicka at gcc dot gnu.org 2021-11-02 18:32 ` marxin at gcc dot gnu.org 2021-11-02 18:39 ` marxin at gcc dot gnu.org 2021-11-02 18:41 ` marxin at gcc dot gnu.org 2021-11-02 18:47 ` marxin at gcc dot gnu.org 2021-11-02 19:53 ` marxin at gcc dot gnu.org [this message] 2021-11-02 19:58 ` marxin at gcc dot gnu.org 2021-11-02 20:06 ` marxin at gcc dot gnu.org 2021-11-02 20:08 ` marxin at gcc dot gnu.org 2021-11-02 20:35 ` marxin at gcc dot gnu.org 2021-11-02 20:35 ` marxin at gcc dot gnu.org 2021-11-03 8:11 ` [Bug ipa/103050] " marxin 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-103050-4-oMlGaTXHXU@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).