ICE in `find_reloads', at reload.c:4106

John David Anglin dave@hiauly1.hia.nrc.ca
Wed Jun 14 17:09:00 GMT 2000


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)


More information about the Gcc-bugs mailing list