On Sun, Jul 27, 2014 at 10:45 PM, Prathamesh Kulkarni
<bilbotheelffri...@gmail.com> wrote:
> Added checks to see if either cmmand-line options is not repeated,
> and generates match-and-simplify code on both GENERIC and GIMPLE
> if both -generic and -gimple are specified.

I don't think we want to do this - in GCC earlier options are just overridden.
So passing multiple copies is fine.

Code-generation for both GIMPLE and GENERIC off one invocation of
genmatch doesn't work as you get the wrong macro predefined.

Not applied.

Richard.

> * genmatch.c (cmd_options): New struct.
>     (check_repeated_arg): New function.
>     (parse_cmd_arg): Likewise.
>     (main): Emit diagnostic if no command line options are given.
>                Add call to parse_cmd_arg.
>
> Thanks,
> Prathamesh

Reply via email to