aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2004-02-18 22:37:04 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2004-02-18 22:37:04 +0000
commitd76e8439b662952a61fbae626a4f9136b1ce6050 (patch)
tree3028600f799f067a300beb32f398e0eddea2e338
parent3cf7104e3e722f1170660e8348374621a8a491d0 (diff)
downloadgcc-d76e8439b662952a61fbae626a4f9136b1ce6050.zip
gcc-d76e8439b662952a61fbae626a4f9136b1ce6050.tar.gz
gcc-d76e8439b662952a61fbae626a4f9136b1ce6050.tar.bz2
s390.c (s390_mainpool_start): Delete the main pool placeholder insn when chunkifying the pool.
* config/s390/s390.c (s390_mainpool_start): Delete the main pool placeholder insn when chunkifying the pool. From-SVN: r78054
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/s390/s390.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 12345f5..795acac 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-18 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/s390/s390.c (s390_mainpool_start): Delete the main pool
+ placeholder insn when chunkifying the pool.
+
2004-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* pa.h (PIC_OFFSET_TABLE_REGNUM): Define to INVALID_REGNUM when not
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index 914e261..0b45351 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -4373,6 +4373,10 @@ s390_mainpool_start (void)
if (pool->size >= 4096)
{
+ /* We're going to chunkify the pool, so remove the main
+ pool placeholder insn. */
+ remove_insn (pool->pool_insn);
+
s390_free_pool (pool);
pool = NULL;
}