[PATCH] Add warnings about GENERIC code-gen deficiencies in genmatch

Michael Matz matz@suse.de
Thu Jul 30 12:40:00 GMT 2015


Hi,

On Thu, 30 Jul 2015, Richard Biener wrote:

> @@ -4174,11 +4267,13 @@ main (int argc, char **argv)
>        else if (strcmp (argv[i], "--generic") == 0)
>  	gimple = false;
>        else if (strcmp (argv[i], "-v") == 0)
> -	verbose = true;
> +	verbose = 1;

If you don't want to start using a real option parser like getopt, please 
at least do verbose++ here, so that '-vv' is equivalent to '-v -v'.


Ciao,
Michael.



More information about the Gcc-patches mailing list