[PATCH] Fix use of declare'd vars by routine procedures.

Jakub Jelinek jakub@redhat.com
Mon Feb 1 16:06:00 GMT 2016


On Mon, Feb 01, 2016 at 10:00:51AM -0600, James Norris wrote:
> +2016-01-XX  James Norris  <jnorris@codesourcery.com>

It is February now ;)

> @@ -8223,7 +8247,7 @@ gimplify_oacc_declare (tree *expr_p, gimple_seq *pre_p)
>  	      if (oacc_declare_returns == NULL)
>  		oacc_declare_returns = new hash_map<tree, tree>;
>  
> -	      oacc_declare_returns->put (decl, c);
> +		oacc_declare_returns->put (decl, c);
>  	    }
>  	}

This snippet looks wrong, I bet -Wmisleading-indentation will flag that (or should).

Ok for trunk with the bogus snippet removed.

	Jakub



More information about the Gcc-patches mailing list