]> gcc.gnu.org Git - gcc.git/commitdiff
(mark_jump_label): Copy LABEL_REF_NONLOCAL_P
authorRichard Stallman <rms@gnu.org>
Mon, 26 Oct 1992 05:28:39 +0000 (05:28 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 26 Oct 1992 05:28:39 +0000 (05:28 +0000)
from LABEL_REF into REG_LABEL note.

From-SVN: r2605

gcc/jump.c

index 3d66fcf99b49681e29cdf3cdd1015b53b1219d8d..63f531311154b6a9aae01863ff52861724777665 100644 (file)
@@ -2989,8 +2989,13 @@ mark_jump_label (x, insn, cross_jump)
                    || ! (GET_CODE (next) == JUMP_INSN
                          && (GET_CODE (PATTERN (next)) == ADDR_VEC
                              || GET_CODE (PATTERN (next)) == ADDR_DIFF_VEC)))
-                 REG_NOTES (insn) = gen_rtx (EXPR_LIST, REG_LABEL, label,
-                                             REG_NOTES (insn));
+                 {
+                   REG_NOTES (insn) = gen_rtx (EXPR_LIST, REG_LABEL, label,
+                                               REG_NOTES (insn));
+                   /* Record in the note whether label is nonlocal.  */
+                   LABEL_REF_NONLOCAL_P (REG_NOTES (insn))
+                     = LABEL_REF_NONLOCAL_P (x);
+                 }
              }
          }
        return;
This page took 0.067451 seconds and 5 git commands to generate.