Re: [GSoC][match-and-simplify] sanitize option checking

2014-07-28 Thread Richard Biener
On Sun, Jul 27, 2014 at 10:45 PM, Prathamesh Kulkarni 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 opti

[GSoC][match-and-simplify] sanitize option checking

2014-07-27 Thread Prathamesh Kulkarni
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. * genmatch.c (cmd_options): New struct. (check_repeated_arg): New function. (parse_cmd_arg): Likewise. (main):