public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/47614] [4.6 Regression] cpu2000 benchmark 301.apsi fails with revision 169782
Date: Wed, 09 Feb 2011 21:14:00 -0000	[thread overview]
Message-ID: <bug-47614-4-8MychRtK4b@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-47614-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47614

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-09 21:10:23 UTC ---
Please move the side_effects_p check in reload_cse_simplify_operands right
before the cselib_lookup call, there is no point calling cselib_lookup if it
has side effects.
BTW, on powerpc64-linux Alex's incdec patch apparently broke profiledbootstrap,
cc1 built with -fprofile-use keeps segfaulting on most of libgcc compilations.

A patch similar to #c13 (just with if (side_effects_p (op)) continue; moved
in front of v = cselib_lookup (...);) fixed the profiledbootstrap apparently
(but guess a patch using check_for_inc_dec + the *_operands change will do the
same).  I agree that in this case it can generate better code to delete the
redundant insn and just keep the side effects.


  parent reply	other threads:[~2011-02-09 21:10 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-04 22:34 [Bug rtl-optimization/47614] New: " pthaugen at gcc dot gnu.org
2011-02-04 22:48 ` [Bug rtl-optimization/47614] " pthaugen at gcc dot gnu.org
2011-02-07 12:09 ` [Bug rtl-optimization/47614] [4.6 Regression] " rguenth at gcc dot gnu.org
2011-02-07 12:50 ` ebotcazou at gcc dot gnu.org
2011-02-07 12:51 ` rguenth at gcc dot gnu.org
2011-02-07 18:36 ` ebotcazou at gcc dot gnu.org
2011-02-07 19:19 ` jakub at gcc dot gnu.org
2011-02-07 21:22 ` pthaugen at gcc dot gnu.org
2011-02-08 14:54 ` jakub at gcc dot gnu.org
2011-02-08 21:18 ` pthaugen at gcc dot gnu.org
2011-02-09 18:32 ` jakub at gcc dot gnu.org
2011-02-09 18:42 ` jakub at gcc dot gnu.org
2011-02-09 18:48 ` ebotcazou at gcc dot gnu.org
2011-02-09 18:52 ` jakub at gcc dot gnu.org
2011-02-09 21:06 ` pthaugen at gcc dot gnu.org
2011-02-09 21:14 ` jakub at gcc dot gnu.org [this message]
2011-02-11 20:55 ` pthaugen at gcc dot gnu.org
2011-02-11 22:33 ` pthaugen 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-47614-4-8MychRtK4b@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: link
Be 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).