Handle -fno-strength-reduce.
authorChristoph Mallon <christoph.mallon@gmx.de>
Sun, 31 Aug 2008 22:13:12 +0000 (22:13 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sun, 31 Aug 2008 22:13:12 +0000 (22:13 +0000)
[r21606]

main.c

diff --git a/main.c b/main.c
index a4eafe7..9d7c04e 100644 (file)
--- a/main.c
+++ b/main.c
@@ -652,7 +652,7 @@ int main(int argc, char **argv)
                                        } else if (streq(opt, "omit-frame-pointer")) {
                                                set_be_option(truth_value ? "omitfp" : "omitfp=no");
                                        } else if (streq(opt, "strength-reduce")) {
-                                               firm_option("strength-red");
+                                               firm_option(truth_value ? "strength-red" : "no-strength-red");
                                        } else if (streq(opt, "fast-math")               ||
                                                   streq(opt, "jump-tables")             ||
                                                   streq(opt, "unroll-loops")            ||