revert: re PR bootstrap/57609 (S/390 ESA mode bootstrap failure since r197266)
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>
Wed, 19 Jun 2013 06:40:05 +0000 (06:40 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Wed, 19 Jun 2013 06:40:05 +0000 (06:40 +0000)
2013-06-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

Revert:
2013-06-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

PR target/57609
* config/s390/s390.c (s390_chunkify_start): Replace next_real_insn
with next_active_insn.

From-SVN: r200188

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

index d82677b..1db60fd 100644 (file)
@@ -1,3 +1,12 @@
+2013-06-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       Revert:
+       2013-06-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       PR target/57609
+       * config/s390/s390.c (s390_chunkify_start): Replace next_real_insn
+       with next_active_insn.
+
 2013-06-18  Sriraman Tallam  <tmsriram@google.com>
 
        * ipa-inline.c (inline_always_inline_functions): Pretend always_inline
index 837308b..358345a 100644 (file)
@@ -7023,7 +7023,7 @@ s390_chunkify_start (void)
       if (LABEL_P (insn)
          && (LABEL_PRESERVE_P (insn) || LABEL_NAME (insn)))
        {
-         rtx vec_insn = next_active_insn (insn);
+         rtx vec_insn = next_real_insn (insn);
          if (! vec_insn || ! JUMP_TABLE_DATA_P (vec_insn))
            bitmap_set_bit (far_labels, CODE_LABEL_NUMBER (insn));
        }
@@ -7054,7 +7054,7 @@ s390_chunkify_start (void)
            {
              /* Find the jump table used by this casesi jump.  */
              rtx vec_label = XEXP (XEXP (XVECEXP (pat, 0, 1), 0), 0);
-             rtx vec_insn = next_active_insn (vec_label);
+             rtx vec_insn = next_real_insn (vec_label);
              if (vec_insn && JUMP_TABLE_DATA_P (vec_insn))
                {
                  rtx vec_pat = PATTERN (vec_insn);
@@ -7085,20 +7085,11 @@ s390_chunkify_start (void)
 
   /* Insert base register reload insns at every far label.  */
 
-  if (dump_file)
-    {
-      fprintf (dump_file, "Function: %s\n", current_function_name ());
-      fprintf (dump_file, "far labels:\n");
-    }
-
   for (insn = get_insns (); insn; insn = NEXT_INSN (insn))
     if (LABEL_P (insn)
         && bitmap_bit_p (far_labels, CODE_LABEL_NUMBER (insn)))
       {
        struct constant_pool *pool = s390_find_pool (pool_list, insn);
-       if (dump_file)
-         print_rtx (insn);
-
        if (pool)
          {
            rtx new_insn = gen_reload_base (cfun->machine->base_reg,