Commit 708d2456 by Hartmut Penner Committed by Hartmut Penner

re PR target/11591 ([3.4 only] ICE in gcc.dg/altivec-5.c)

      PR 11591
      * config/rs6000/rs6000.c (rs6000_legitimate_address):
        Allow any offset to argument pointer in no-strict case.

From-SVN: r80075
parent 285df6bf
2004-03-30 Hartmut Penner <hpenner@de.ibm.com>
PR 11591
* config/rs6000/rs6000.c (rs6000_legitimate_address):
Allow any offset to argument pointer in no-strict case.
2004-03-30 Jan Hubicka <jh@suse.cz>
* toplev.c (backend_init): Add missing call to inint_optimization_passes.
......
......@@ -3267,7 +3267,8 @@ rs6000_legitimate_address (enum machine_mode mode, rtx x, int reg_ok_strict)
if (! reg_ok_strict
&& GET_CODE (x) == PLUS
&& GET_CODE (XEXP (x, 0)) == REG
&& XEXP (x, 0) == virtual_stack_vars_rtx
&& (XEXP (x, 0) == virtual_stack_vars_rtx
|| XEXP (x, 0) == arg_pointer_rtx)
&& GET_CODE (XEXP (x, 1)) == CONST_INT)
return 1;
if (legitimate_offset_address_p (mode, x, reg_ok_strict))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment