public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mkuvyrkov at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/37053] [4.3/4.4/4.5 regression] ICE in reload_cse_simplify_operands, at postreload.c:395 Date: Tue, 23 Jun 2009 12:26:00 -0000 [thread overview] Message-ID: <20090623122615.13033.qmail@sourceware.org> (raw) In-Reply-To: <bug-37053-11770@http.gcc.gnu.org/bugzilla/> ------- Comment #10 from mkuvyrkov at gcc dot gnu dot org 2009-06-23 12:26 ------- (In reply to comment #9) > But % makes it commutative, no? Yes, but that only means that the operands can be swapped *if* swap_commutative_operands_p() returns true. Due to the funny precedence that does not happen. > So operand 2 matches operand 0, and operand 1 > matches mSrIKLT. Matching procedures do not take commutativeness into account. Part of the problem are optimizations using commutativeness during reload. One way to paper over the issue is to forbid such optimizations during reload, but that may worsen code. And this approach is not as clean as letting backends decide if their .md files can handle funny canonicalization rules. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37053
next prev parent reply other threads:[~2009-06-23 12:26 UTC|newest] Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-08-08 1:02 [Bug c/37053] New: " stephen at marenka dot net 2008-08-08 1:03 ` [Bug c/37053] " stephen at marenka dot net 2008-08-08 1:04 ` stephen at marenka dot net 2008-09-11 15:21 ` [Bug middle-end/37053] [4.3/4.4 regression] " schwab at suse dot de 2008-09-11 15:30 ` bonzini at gnu dot org 2008-09-16 21:01 ` schwab at suse dot de 2008-09-16 21:03 ` bonzini at gnu dot org 2008-09-20 14:30 ` rguenth at gcc dot gnu dot org 2009-06-23 11:40 ` [Bug middle-end/37053] [4.3/4.4/4.5 " mkuvyrkov at gcc dot gnu dot org 2009-06-23 12:05 ` bonzini at gnu dot org 2009-06-23 12:26 ` mkuvyrkov at gcc dot gnu dot org [this message] 2009-06-23 13:09 ` bonzini at gnu dot org 2009-06-23 17:22 ` mkuvyrkov at gcc dot gnu dot org 2009-06-24 16:02 ` mkuvyrkov at gcc dot gnu dot org 2009-08-04 12:42 ` rguenth at gcc dot gnu dot org 2009-08-04 13:14 ` mkuvyrkov at gcc dot gnu dot org 2009-08-04 13:36 ` bergner at gcc dot gnu dot org 2009-08-04 13:43 ` mkuvyrkov at gcc dot gnu dot org 2009-08-05 14:59 ` uweigand at gcc dot gnu dot org 2009-08-10 15:34 ` uweigand at gcc dot gnu dot org 2009-08-23 18:19 ` schwab at linux-m68k dot org 2009-12-29 19:30 ` [Bug middle-end/37053] [4.3/4.4 " bonzini at gnu dot org 2010-05-22 18:25 ` rguenth at gcc dot gnu dot 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=20090623122615.13033.qmail@sourceware.org \ --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).