From 8fcd361eac822f38485d0010d41f401df79f2031 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Wed, 1 Jul 1992 00:58:07 +0000 Subject: [PATCH] (lookup_label): Call label_rtx. From-SVN: r1362 --- gcc/c-decl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/c-decl.c b/gcc/c-decl.c index c78d88873a6..2d6d1e2c189 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -2051,6 +2051,9 @@ lookup_label (id) decl = build_decl (LABEL_DECL, id, void_type_node); + /* Make sure every label has an rtx. */ + label_rtx (decl); + /* A label not explicitly declared must be local to where it's ref'd. */ DECL_CONTEXT (decl) = current_function_decl; -- 2.30.2