s390.c (s390_dump_pool): Create copy of constant pool entries since they might hold values that must not...
2007-09-10 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (s390_dump_pool): Create copy of constant pool entries since they might hold values that must not be shared. From-SVN: r128342
This commit is contained in:
parent
232abc3ff8
commit
77340500f2
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-09-10 Andreas Krebbel <krebbel1@de.ibm.com>
|
||||
|
||||
* config/s390/s390.c (s390_dump_pool): Create copy of constant
|
||||
pool entries since they might hold values that must not be shared.
|
||||
|
||||
2007-09-10 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR target/33369
|
||||
|
|
|
@ -5600,7 +5600,7 @@ s390_dump_pool (struct constant_pool *pool, bool remote_label)
|
|||
for (c = pool->constants[i]; c; c = c->next)
|
||||
{
|
||||
/* Convert UNSPEC_LTREL_OFFSET unspecs to pool-relative references. */
|
||||
rtx value = c->value;
|
||||
rtx value = copy_rtx (c->value);
|
||||
if (GET_CODE (value) == CONST
|
||||
&& GET_CODE (XEXP (value, 0)) == UNSPEC
|
||||
&& XINT (XEXP (value, 0), 1) == UNSPEC_LTREL_OFFSET
|
||||
|
|
Loading…
Add table
Reference in a new issue