This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: ICE in `find_reloads', at reload.c:4106
- To: law at cygnus dot com
- Subject: Re: ICE in `find_reloads', at reload.c:4106
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Wed, 14 Jun 2000 20:09:43 -0400 (EDT)
- Cc: gcc-bugs at gcc dot gnu dot org
I think the problem in reload.c is here:
else if (goal_alternative_matched[i] == -1
&& goal_alternative_offmemok[i]
&& GET_CODE (recog_data.operand[i]) == MEM)
{
operand_reloadnum[i]
= push_reload (XEXP (recog_data.operand[i], 0), NULL_RTX,
&XEXP (recog_data.operand[i], 0), NULL_PTR,
BASE_REG_CLASS,
GET_MODE (XEXP (recog_data.operand[i], 0)),
VOIDmode, 0, 0, i, RELOAD_FOR_INPUT);
I think the else if should include "&& !no_input_reloads".
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)