lto-wrapper.c (run_gcc): Fix -flto=N parsing.
authorRichard Guenther <rguenther@suse.de>
Thu, 18 Nov 2010 11:19:20 +0000 (11:19 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 18 Nov 2010 11:19:20 +0000 (11:19 +0000)
2010-11-18  Richard Guenther  <rguenther@suse.de>

* lto-wrapper.c (run_gcc): Fix -flto=N parsing.

From-SVN: r166901

gcc/ChangeLog
gcc/lto-wrapper.c

index f290bb9f9c8de5cf25e07d0f5c18a221c9c4a07e..216978069ac09dfd114a4968915d3c727f239226 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 dea51b07c7379fe8a0b96b2f8f5645a9f2d9efad..d0a80ad2f39e3f1c2b02fe7154b91c2f87dd69bc 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;
                  }