gcc.c (execute): Fix -Wc++-compat warning.

* gcc.c (execute): Fix -Wc++-compat warning.

From-SVN: r137548
This commit is contained in:
Kaveh R. Ghazi 2008-07-07 00:48:55 +00:00 committed by Kaveh Ghazi
parent 9eb578c8e3
commit 63ab5b8c18
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2008-07-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c (execute): Fix -Wc++-compat warning.
2008-07-06 H.J. Lu <hongjiu.lu@intel.com>
PR target/36720

View file

@ -2973,7 +2973,7 @@ execute (void)
for (argc = 0; commands[i].argv[argc] != NULL; argc++)
;
argv = alloca ((argc + 3) * sizeof (char *));
argv = XALLOCAVEC (const char *, argc + 3);
argv[0] = VALGRIND_PATH;
argv[1] = "-q";