This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Add -### option


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]