This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add -### option
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: [PATCH] Add -### option
- From: Ira Ruben <ira at apple dot com>
- Date: Sat, 3 Nov 2001 20:13:58 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <p05100301b8037bc94f1c@[17.202.44.152]><20011103134058.C11575@redhat.com>
At 1:40 PM -0800 11/3/01, Richard Henderson wrote:
>On Mon, Oct 29, 2001 at 01:37:55PM -0800, Ira Ruben wrote:
>> ! if (verbose_only_flag)
>> ! for (j = commands[i].argv; *j; j++)
>> ! {
>> ! if (strcmp (*j, "-###") != 0)
>> ! fprintf (stderr, " \"%s\"", *j);
>> ! }
>
>This is unpleasant. You should have gotten the gcc driver
>to consume this option and not pass it on.
>
>But otherwise conceptually ok.
The -### is only for the driver. Thus it DOESN'T pass it on to anyone else.
Ira