Handle -fno-syntax-only.
authorChristoph Mallon <christoph.mallon@gmx.de>
Sun, 31 Aug 2008 22:12:04 +0000 (22:12 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sun, 31 Aug 2008 22:12:04 +0000 (22:12 +0000)
[r21605]

main.c

diff --git a/main.c b/main.c
index d09119f..a4eafe7 100644 (file)
--- a/main.c
+++ b/main.c
@@ -648,7 +648,7 @@ int main(int argc, char **argv)
                                        } else if (streq(opt, "short-wchar")) {
                                                opt_short_wchar_t = truth_value;
                                        } else if (streq(opt, "syntax-only")) {
-                                               mode = ParseOnly;
+                                               mode = truth_value ? ParseOnly : CompileAssembleLink;
                                        } else if (streq(opt, "omit-frame-pointer")) {
                                                set_be_option(truth_value ? "omitfp" : "omitfp=no");
                                        } else if (streq(opt, "strength-reduce")) {