re PR target/50395 (Infinite loop when bootstrapping java)

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.

From-SVN: r182116
This commit is contained in:
Andreas Krebbel 2011-12-08 14:37:19 +00:00 committed by Andreas Krebbel
parent 3c370d4240
commit b0a1ac21bd
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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);