Commit 63ab5b8c by Kaveh R. Ghazi Committed by Kaveh Ghazi

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

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

From-SVN: r137548
parent 9eb578c8
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
......
......@@ -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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment