s390.c (s390_mainpool_start): Delete the main pool placeholder insn when chunkifying...
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 18 Feb 2004 22:37:04 +0000 (22:37 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Wed, 18 Feb 2004 22:37:04 +0000 (22:37 +0000)
* config/s390/s390.c (s390_mainpool_start): Delete the main pool
placeholder insn when chunkifying the pool.

From-SVN: r78054

gcc/ChangeLog
gcc/config/s390/s390.c

index 12345f58fa110161e2d413feb1c3a920565978d5..795acaca21df3acde299d3e3bda4149410c68dfc 100644 (file)
@@ -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
index 914e261c474e3af926e9cce2ead78497b3d9685e..0b453517f68c49d6354363c2d41014bc30876a96 100644 (file)
@@ -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;
     }