This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH RFA: Add -static-libstdc++ option to g++
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: NightStrike <nightstrike at gmail dot com>
- Cc: Ian Lance Taylor <iant at google dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 01 Jul 2009 16:57:32 +0100
- Subject: Re: PATCH RFA: Add -static-libstdc++ option to g++
- References: <m3vdmrxww8.fsf@pepe.airs.com> <b609cb3b0906281024x7b163c61x77c9e19f0b193db4@mail.gmail.com> <b609cb3b0906292156t353d5c27k664c842113fba0d8@mail.gmail.com> <m3my7py81e.fsf@google.com> <b609cb3b0907010652p2af4878fu99880dc8f68b3300@mail.gmail.com>
NightStrike wrote:
> Changing that 1 to a 2 appeared to fix the problem. I don't know
> really how to guarantee that it did.
Well, you need to work out what can be guaranteed about the maximum possible
value of j in the "arglist[j] = NULL;" statement.
cheers,
DaveK