recog.c (general_operand): Modify last change to allow it if reload has completed.
* recog.c (general_operand): Modify last change to allow it if reload has completed. From-SVN: r42309
This commit is contained in:
parent
30cf266f94
commit
e86f9f3267
@ -1,3 +1,8 @@
|
||||
Sat May 19 07:53:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
* recog.c (general_operand): Modify last change to allow it if reload
|
||||
has completed.
|
||||
|
||||
Sat May 19 10:23:54 CEST 2001 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* recog.c (general_operand): Prohibit nonzero subreg bytes on
|
||||
|
@ -961,8 +961,12 @@ general_operand (op, mode)
|
||||
#endif
|
||||
/* Avoid memories with nonzero SUBREG_BYTE, as offsetting the memory
|
||||
may result in incorrect reference. We should simplify all valid
|
||||
subregs of MEM anyway. */
|
||||
if (SUBREG_BYTE (op) && GET_CODE (SUBREG_REG (op)) == MEM)
|
||||
subregs of MEM anyway. But allow this after reload because we
|
||||
might be called from cleanup_subreg_operands.
|
||||
|
||||
??? This is a kludge. */
|
||||
if (!reload_completed && SUBREG_BYTE (op) != 0
|
||||
&& GET_CODE (SUBREG_REG (op)) == MEM)
|
||||
return 0;
|
||||
|
||||
op = SUBREG_REG (op);
|
||||
|
Loading…
Reference in New Issue
Block a user