summaryrefslogtreecommitdiff
path: root/gcc/lto-wrapper.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-18 11:19:20 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-18 11:19:20 +0000
commita8d769a8d08ab2bf9e8b03382bb7484be1a77bec (patch)
tree11b160afac151698a19a1c5facdc94e5740cc863 /gcc/lto-wrapper.c
parent53a36eb23c3844bb065c5c603aa55ed3237bc3fd (diff)
downloadgcc-a8d769a8d08ab2bf9e8b03382bb7484be1a77bec.tar.gz
2010-11-18 Richard Guenther <rguenther@suse.de>
* 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
Diffstat (limited to 'gcc/lto-wrapper.c')
-rw-r--r--gcc/lto-wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/lto-wrapper.c b/gcc/lto-wrapper.c
index dea51b07c73..d0a80ad2f39 100644
--- a/gcc/lto-wrapper.c
+++ b/gcc/lto-wrapper.c
@@ -383,7 +383,7 @@ run_gcc (unsigned argc, char *argv[])
}
else
{
- parallel = atoi (option+8);
+ parallel = atoi (option + 6);
if (parallel <= 1)
parallel = 0;
}