mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-12 10:36:44 +08:00
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
This commit is contained in:
parent
d6964c30b4
commit
b30d21159d
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
|
||||
|
@ -1711,6 +1711,7 @@ legitimize_pic_address (orig, reg)
|
||||
{
|
||||
int even = INTVAL (op1) - 1;
|
||||
op0 = gen_rtx_PLUS (Pmode, op0, GEN_INT (even));
|
||||
op0 = gen_rtx_CONST (Pmode, op0);
|
||||
op1 = GEN_INT (1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user