2010-11-18 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Nov 2010 11:19:20 +0000 (11:19 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Nov 2010 11:19:20 +0000 (11:19 +0000)
* lto-wrapper.c (run_gcc): Fix -flto=N parsing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166901 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/lto-wrapper.c

index f290bb9..2169780 100644 (file)
@@ -1,3 +1,7 @@
+2010-11-18  Richard Guenther  <rguenther@suse.de>
+
+       * lto-wrapper.c (run_gcc): Fix -flto=N parsing.
+
 2010-11-18  Alexander Monakov  <amonakov@ispras.ru>
 
        PR middle-end/46518
index dea51b0..d0a80ad 100644 (file)
@@ -383,7 +383,7 @@ run_gcc (unsigned argc, char *argv[])
                  }
                else
                  {
-                   parallel = atoi (option+8);
+                   parallel = atoi (option + 6);
                    if (parallel <= 1)
                      parallel = 0;
                  }