we (and gcc) have no real -fstrength-reduce
authorMatthias Braun <matze@braunis.de>
Fri, 10 Jun 2011 12:56:45 +0000 (14:56 +0200)
committerMatthias Braun <matze@braunis.de>
Fri, 10 Jun 2011 12:56:45 +0000 (14:56 +0200)
main.c

diff --git a/main.c b/main.c
index 6a4cf71..f30c8ca 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1068,7 +1068,8 @@ int main(int argc, char **argv)
                                        } else if (streq(opt, "signed-char")) {
                                                char_is_signed = truth_value;
                                        } else if (streq(opt, "strength-reduce")) {
-                                               firm_option(truth_value ? "strength-red" : "no-strength-red");
+                                               /* does nothing, for gcc compatibility (even gcc does
+                                                * nothing for this switch anymore) */
                                        } else if (streq(opt, "syntax-only")) {
                                                mode = truth_value ? ParseOnly : CompileAssembleLink;
                                        } else if (streq(opt, "unsigned-char")) {