public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/96298] [11 Regression] wrong code with -O -fno-tree-forwprop Date: Thu, 23 Jul 2020 11:55:28 +0000 [thread overview] Message-ID: <bug-96298-4-nv4fKelRAw@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-96298-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96298 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at gcc dot gnu.org --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- -fdisable-rtl-combine fixes it. In the end it elides an xor, but it prints many matches so not sure what goes on. Likely an issue in some simplify-rtx thing. @@ -175,15 +1453,7 @@ (expr_list:REG_EQUAL (plus:DI (reg:DI 85 [ _10 ]) (const_int 9187201950435737471 [0x7f7f7f7f7f7f7f7f])) (nil))))) -(insn 14 13 17 2 (parallel [ - (set (reg:DI 108) - (xor:DI (reg:DI 106) - (reg:DI 86 [ _12 ]))) - (clobber (reg:CC 17 flags)) - ]) "t.c":8:18 521 {*xordi_1} - (expr_list:REG_DEAD (reg:DI 106) - (expr_list:REG_UNUSED (reg:CC 17 flags) - (nil)))) +(note 14 13 17 2 NOTE_INSN_DELETED) (insn 17 14 18 2 (parallel [ (set (reg:DI 110) (minus:DI (reg:DI 105) @@ -199,22 +1469,22 @@ (insn 18 17 20 2 (parallel [ (set (reg:DI 112) (xor:DI (reg:DI 110) - (reg:DI 86 [ _12 ]))) + (reg:DI 106))) (clobber (reg:CC 17 flags)) ]) "t.c":8:25 521 {*xordi_1} - (expr_list:REG_DEAD (reg:DI 110) - (expr_list:REG_DEAD (reg:DI 86 [ _12 ]) - (expr_list:REG_UNUSED (reg:CC 17 flags) + (expr_list:REG_UNUSED (reg:CC 17 flags) + (expr_list:REG_DEAD (reg:DI 106) + (expr_list:REG_DEAD (reg:DI 110) (nil))))) (insn 20 18 21 2 (parallel [ (set (reg:DI 114) - (xor:DI (reg:DI 108) - (reg:DI 112))) + (xor:DI (reg:DI 112) + (reg:DI 86 [ _12 ]))) (clobber (reg:CC 17 flags)) ]) "t.c":8:23 521 {*xordi_1} - (expr_list:REG_DEAD (reg:DI 112) - (expr_list:REG_DEAD (reg:DI 108) - (expr_list:REG_UNUSED (reg:CC 17 flags) + (expr_list:REG_DEAD (reg:DI 86 [ _12 ]) + (expr_list:REG_UNUSED (reg:CC 17 flags) + (expr_list:REG_DEAD (reg:DI 112) (nil)))))
next prev parent reply other threads:[~2020-07-23 11:55 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-07-23 10:17 [Bug tree-optimization/96298] New: " zsojka at seznam dot cz 2020-07-23 11:50 ` [Bug tree-optimization/96298] " rguenth at gcc dot gnu.org 2020-07-23 11:55 ` rguenth at gcc dot gnu.org [this message] 2020-07-23 12:10 ` [Bug rtl-optimization/96298] " segher at gcc dot gnu.org 2020-07-23 12:13 ` marxin at gcc dot gnu.org 2020-07-23 12:56 ` segher at gcc dot gnu.org 2020-07-23 14:01 ` marxin at gcc dot gnu.org 2020-07-23 17:14 ` segher at gcc dot gnu.org 2020-07-23 17:49 ` cvs-commit at gcc dot gnu.org 2020-08-18 13:46 ` cvs-commit at gcc dot gnu.org 2020-08-18 13:58 ` roger at nextmovesoftware dot com
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-96298-4-nv4fKelRAw@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).