* config/darwin-driver.c (darwin_default_min_version): Fix
-Wc++-compat warnings.
From-SVN: r137304
+2008-06-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * config/darwin-driver.c (darwin_default_min_version): Fix
+ -Wc++-compat warnings.
+
2008-06-30 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (*movti_rex64): Add "!" to "r" constraint
&& macosx_deployment_target[0])
{
++*argc_p;
- *argv_p = xmalloc (sizeof (char *) * *argc_p);
+ *argv_p = XNEWVEC (char *, *argc_p);
(*argv_p)[0] = argv[0];
(*argv_p)[1] = concat ("-mmacosx-version-min=",
macosx_deployment_target, NULL);
/* Add the new flag. */
++*argc_p;
- *argv_p = xmalloc (sizeof (char *) * *argc_p);
+ *argv_p = XNEWVEC (char *, *argc_p);
(*argv_p)[0] = argv[0];
(*argv_p)[1] = new_flag;
memcpy (*argv_p + 2, argv + 1, (argc - 1) * sizeof (char *));