diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-10-26 17:43:51 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2001-10-26 17:43:51 +0000 |
commit | 45c23566b6caa9010dda42a4df20b4e7f17d238a (patch) | |
tree | 353e2522e9b78e6437b08ed0ac5aed67e4d2e6d8 /gcc/cse.c | |
parent | 11a802bf1df0ecc2a7dc6e88233f734e7fd4ab75 (diff) | |
download | gcc-45c23566b6caa9010dda42a4df20b4e7f17d238a.zip gcc-45c23566b6caa9010dda42a4df20b4e7f17d238a.tar.gz gcc-45c23566b6caa9010dda42a4df20b4e7f17d238a.tar.bz2 |
cse.c (check_for_label_ref): Don't require REG_LABEL notes for non-local label_refs.
* cse.c (check_for_label_ref): Don't require REG_LABEL notes for
non-local label_refs.
From-SVN: r46555
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7362,7 +7362,7 @@ cse_basic_block (from, to, next_branch, around_loop) } /* Called via for_each_rtx to see if an insn is using a LABEL_REF for which - there isn't a REG_DEAD note. Return one if so. DATA is the insn. */ + there isn't a REG_LABEL note. Return one if so. DATA is the insn. */ static int check_for_label_ref (rtl, data) @@ -7376,6 +7376,7 @@ check_for_label_ref (rtl, data) LABEL_REF for a CODE_LABEL that isn't in the insn chain, don't do this since no REG_LABEL will be added. */ return (GET_CODE (*rtl) == LABEL_REF + && ! LABEL_REF_NONLOCAL_P (*rtl) && LABEL_P (XEXP (*rtl, 0)) && INSN_UID (XEXP (*rtl, 0)) != 0 && ! find_reg_note (insn, REG_LABEL, XEXP (*rtl, 0))); |