diff options
| author | krebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-12-08 14:37:19 +0000 |
|---|---|---|
| committer | krebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-12-08 14:37:19 +0000 |
| commit | 12f0f6d77dbac8ef1d119fb6a2b2fc91f7d09d56 (patch) | |
| tree | 687d4a4bcbe586f3f636caabb608fa102376ea31 | |
| parent | de19e4917468f04667cd461112876cd635ded743 (diff) | |
| download | ppe42-gcc-12f0f6d77dbac8ef1d119fb6a2b2fc91f7d09d56.tar.gz ppe42-gcc-12f0f6d77dbac8ef1d119fb6a2b2fc91f7d09d56.zip | |
2011-12-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
PR target/50395
* config/s390/s390.c (s390_mainpool_finish): Emit the jump over
the literal pool as jump insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182116 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/config/s390/s390.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b8831739a94..ee1b6985f23 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-12-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + PR target/50395 + * config/s390/s390.c (s390_mainpool_finish): Emit the jump over + the literal pool as jump insn. + 2011-12-08 Richard Guenther <rguenther@suse.de> PR tree-optimization/49772 diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index ffca91a107a..67cdfb4a0d7 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -6476,7 +6476,8 @@ s390_mainpool_finish (struct constant_pool *pool) rtx pool_end = gen_label_rtx (); insn = gen_main_base_31_large (base_reg, pool->label, pool_end); - insn = emit_insn_after (insn, pool->pool_insn); + insn = emit_jump_insn_after (insn, pool->pool_insn); + JUMP_LABEL (insn) = pool_end; INSN_ADDRESSES_NEW (insn, -1); remove_insn (pool->pool_insn); |

