[Fwd: More cpplib Work]

Jim Wilson wilson@cygnus.com
Thu Jun 18 15:03:00 GMT 1998

	Yes, we dreadfully need an OR-type syntax.  

I agree.  This would also be useful for the case where some ports have
multiple names for the same option.  One must now duplicate specs code to
handle both options, but with an OR-type syntax, you could do this
without duplication.

	* gcc.c (handle_braces): Recognize | between options as an or.

The patch looks good to me.

+ %{S|P:X} substitutes X if either -S or -P was given to CC.  This maybe

maybe->may be


More information about the Gcc-patches mailing list