Commit b30d2115 by Ulrich Weigand Committed by Ulrich Weigand

s390.c (legitimize_pic_address): Do not generate illegal address constant without CONST.

* config/s390/s390.c (legitimize_pic_address): Do not generate
illegal address constant without CONST.

From-SVN: r52425
parent d6964c30
2002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390.c (legitimize_pic_address): Do not generate
illegal address constant without CONST.
2002-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2002-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64. * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
......
...@@ -1711,6 +1711,7 @@ legitimize_pic_address (orig, reg) ...@@ -1711,6 +1711,7 @@ legitimize_pic_address (orig, reg)
{ {
int even = INTVAL (op1) - 1; int even = INTVAL (op1) - 1;
op0 = gen_rtx_PLUS (Pmode, op0, GEN_INT (even)); op0 = gen_rtx_PLUS (Pmode, op0, GEN_INT (even));
op0 = gen_rtx_CONST (Pmode, op0);
op1 = GEN_INT (1); op1 = GEN_INT (1);
} }
......
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