diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-12-31 14:19:25 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-12-31 14:19:25 -0500 |
commit | 33bc3ff583997c4fd0f4ee22b3a19c290cb3ceba (patch) | |
tree | e3f4bb053820210a9955e1d89d6db1fd47de2d9f /gcc | |
parent | 70f75202a78dceefcf86b512f951a560c88c83a9 (diff) | |
download | gcc-33bc3ff583997c4fd0f4ee22b3a19c290cb3ceba.zip gcc-33bc3ff583997c4fd0f4ee22b3a19c290cb3ceba.tar.gz gcc-33bc3ff583997c4fd0f4ee22b3a19c290cb3ceba.tar.bz2 |
(fixup_gotos): Use DECL_ERROR_ISSUED instead of DECL_REGISTER.
From-SVN: r10910
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/stmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1148,12 +1148,12 @@ fixup_gotos (thisblock, stack_level, cleanup_list, first_insn, dont_jump_in) && (after_label == 0 || INSN_UID (first_insn) < INSN_UID (after_label)) && INSN_UID (first_insn) > INSN_UID (f->before_jump) - && ! DECL_REGISTER (f->target)) + && ! DECL_ERROR_ISSUED (f->target)) { error_with_decl (f->target, "label `%s' used before containing binding contour"); /* Prevent multiple errors for one label. */ - DECL_REGISTER (f->target) = 1; + DECL_ERROR_ISSUED (f->target) = 1; } /* We will expand the cleanups into a sequence of their own and |