public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "amodra at bigpond dot net dot au" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/18751] [4.0 Regression] ICE in expr.c:5083, profiledbootstrap
Date: Mon, 06 Dec 2004 11:26:00 -0000	[thread overview]
Message-ID: <20041206112607.21877.qmail@sourceware.org> (raw)
In-Reply-To: <20041201060338.18751.stuckey@earthlink.net>


------- Additional Comments From amodra at bigpond dot net dot au  2004-12-06 11:26 -------
I think this particular problem was introduced with one of Geoff's patches,
http://gcc.gnu.org/ml/gcc-patches/2004-08/msg00022.html

rs6000_mode_dependent_address returns true for LO_SUM addresses, which in turn
makes them not offsettable.  Thus movdi_internal32 won't match DImode gpr stores.
It's clear that LO_SUM addresses can't be offset (since an offset may bump the
final address over a 64k+32k boundary, and the compiler can't know when this
might happen).  Also, the rtl generated by -fprofile-generate looks OK.  I don't
think there's anything wrong with Geoff's patch either, but it's boxed us into a
corner.  A fix that will work (I think) is to limit legitimate_lo_sum_address_p
to 32 bit modes, but that could pessimize all loads and stores of 64 bit values.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |geoffk at geoffk dot org


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


  parent reply	other threads:[~2004-12-06 11:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-01  6:03 [Bug c/18751] New: ICE in expr.c:5083: in reload_cse_simplify_operands, at postreload.c:391 stuckey at earthlink dot net
2004-12-01  6:07 ` [Bug c/18751] " stuckey at earthlink dot net
2004-12-01  6:09 ` [Bug target/18751] [4.0 Regression] ICE in expr.c:5083, profiledbootstrap pinskia at gcc dot gnu dot org
2004-12-04 10:50 ` amodra at bigpond dot net dot au
2004-12-06 11:26 ` amodra at bigpond dot net dot au [this message]
2004-12-07  2:08 ` amodra at bigpond dot net dot au
2004-12-23  7:35 ` cvs-commit at gcc dot gnu dot org
2004-12-23 13:11 ` amodra at bigpond dot net dot au

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=20041206112607.21877.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: 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).