aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 57c191a..a948959 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -4244,7 +4244,7 @@ c_common_init_options (lang)
}
/* Post-switch processing. */
-void
+bool
c_common_post_options ()
{
cpp_post_options (parse_in);
@@ -4286,6 +4286,8 @@ c_common_post_options ()
/* If an error has occurred in cpplib, note it so we fail
immediately. */
errorcount += cpp_errors (parse_in);
+
+ return flag_preprocess_only;
}
/* Hook that registers front end and target-specific built-ins. */