summaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index a197601407a..940d4b18393 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -6705,6 +6705,11 @@ c_expand_body (fndecl, nested_p)
tree fndecl;
int nested_p;
{
+ /* There's no reason to do any of the work here if we're only doing
+ semantic analysis; this code just generates RTL. */
+ if (flag_syntax_only)
+ return;
+
/* Squirrel away our current state. */
if (nested_p)
push_function_context ();
@@ -6982,17 +6987,6 @@ copy_lang_decl (decl)
DECL_LANG_SPECIFIC (decl) = ld;
}
-/* Mark ARG for GC. */
-
-void
-lang_mark_false_label_stack (arg)
- struct label_node *arg;
-{
- /* C doesn't use false_label_stack. It better be NULL. */
- if (arg != NULL)
- abort ();
-}
-
/* Mark the language specific bits in T for GC. */
void