public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hutchinsonandy at aim dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/36336] ICE push_reload - psuedo reg_equiv_constant
Date: Fri, 06 Jun 2008 20:19:00 -0000	[thread overview]
Message-ID: <20080606201853.4357.qmail@sourceware.org> (raw)
In-Reply-To: <bug-36336-7746@http.gcc.gnu.org/bugzilla/>



------- Comment #5 from hutchinsonandy at aim dot com  2008-06-06 20:18 -------
Subject: Re:  ICE push_reload - psuedo reg_equiv_constant


The patch for

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

removes one problematic part of LEGITIMIZE_RELOAD_ADDRESS. This is  
applied to WinAVR 20080512 (patched 4.3.0). But is still waiting for 
approval on avr-gcc 4.3/4.4 HEAD.

Even with that patch, the other parts of L_R_A are bad and need fixing 
with added check of reg_equivalent_constant.
So if register is equivalent constant LEGITIMIZE_RELOAD_ADDRESS should 
do nothing.

The assert that triggers is an explicit check for this.

I have not posted patch due to overlap with pending patch.

BTW gcc list has short discussion on this bug, including explanation 
for the AVR code.

Andy




----------------------------------------------
Sent from my Dingleberry wired device.


-----Original Message-----
From: eric dot weddington at atmel dot com <gcc-bugzilla@gcc.gnu.org>
To: hutchinsonandy@aim.com
Sent: Fri, 6 Jun 2008 3:48 pm
Subject: [Bug target/36336] ICE push_reload - psuedo reg_equiv_constant




------- Comment #4 from eric dot weddington at atmel dot com  
2008-06-06 19:48
-------
Test case passes with -O[0123s], with WinAVR 20080512 (patched 4.3.0).


--


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

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.


-- 


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


  parent reply	other threads:[~2008-06-06 20:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-26 19:23 [Bug c/36336] New: " hutchinsonandy at aim dot com
2008-05-26 19:25 ` [Bug c/36336] " hutchinsonandy at aim dot com
2008-06-06 19:25 ` [Bug target/36336] " eric dot weddington at atmel dot com
2008-06-06 19:43 ` hutchinsonandy at aim dot com
2008-06-06 19:49 ` eric dot weddington at atmel dot com
2008-06-06 20:19 ` hutchinsonandy at aim dot com [this message]
2008-06-15 18:26 ` hutchinsonandy at gcc dot gnu dot org
2008-06-15 18:36 ` hutchinsonandy at gcc dot gnu dot org
2008-06-15 18:37 ` hutchinsonandy 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=20080606201853.4357.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).