public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "aoliva at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/53827] [4.8 Regression][alpha]: Invalid insn scheduling in sched1 pass Date: Mon, 02 Jul 2012 12:07:00 -0000 [thread overview] Message-ID: <bug-53827-4-i0nAsSz8uj@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-53827-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53827 Alexandre Oliva <aoliva at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |aoliva at gcc dot gnu.org |gnu.org | --- Comment #2 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2012-07-02 12:07:09 UTC --- My thinko. This patchlet ought to fix it. Testing now... Index: gcc/alias.c =================================================================== --- gcc/alias.c.orig 2012-07-02 09:04:06.193137799 -0300 +++ gcc/alias.c 2012-07-02 09:04:08.000000000 -0300 @@ -2107,7 +2107,7 @@ memrefs_conflict_p (int xsize, rtx x, in if (xsize > 0 && sc < 0 && -uc == (uc & -uc)) { xsize -= sc + 1; - c -= sc; + c -= sc + 1; return memrefs_conflict_p (xsize, canon_rtx (XEXP (x, 0)), ysize, y, c); } @@ -2119,7 +2119,7 @@ memrefs_conflict_p (int xsize, rtx x, in if (ysize > 0 && sc < 0 && -uc == (uc & -uc)) { ysize -= sc + 1; - c += sc; + c += sc + 1; return memrefs_conflict_p (xsize, x, ysize, canon_rtx (XEXP (y, 0)), c); }
next prev parent reply other threads:[~2012-07-02 12:07 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-07-01 13:00 [Bug rtl-optimization/53827] New: [alpha]: " ubizjak at gmail dot com 2012-07-01 17:16 ` [Bug rtl-optimization/53827] " ubizjak at gmail dot com 2012-07-02 9:02 ` [Bug rtl-optimization/53827] [4.8 Regression][alpha]: " rguenth at gcc dot gnu.org 2012-07-02 12:07 ` aoliva at gcc dot gnu.org [this message] 2012-07-03 7:05 ` ubizjak at gmail dot com 2012-07-06 7:56 ` ubizjak at gmail dot com 2012-07-06 11:37 ` aoliva at gcc dot gnu.org 2012-07-06 12:19 ` aoliva at gcc dot gnu.org 2013-01-16 4:32 ` aoliva at gcc dot gnu.org 2013-01-18 11:01 ` aoliva 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-53827-4-i0nAsSz8uj@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).