Patch committed: Bump num_args by 1 in g++spec.c

Ian Lance Taylor iant@google.com
Wed Jul 1 18:48:00 GMT 2009


In my recent patch to add -static-libstdc++ to the G++ driver, I
didn't understand why the code added 2 to the num_args computation,
and I changed it to 1.  However, that was a mistake; the extra 1 is
for the explicit -shared-libgcc which is added.  This patch fixes my
mistake.

Bootstrapped and tested on x86_64-unknown-linux-gnu.  Committed as
obvious.

Ian


2009-07-01  Ian Lance Taylor  <iant@google.com>

	* g++spec.c (lang_specific_driver): Bump num_args by 1.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 518 bytes
Desc: Bump num_args
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090701/d917ca54/attachment.bin>


More information about the Gcc-patches mailing list