[PATCH] Check that fold returns gimple in tree-ssa-ccp

Richard Henderson rth@redhat.com
Sun Jul 4 03:10:00 GMT 2004


On Sat, Jul 03, 2004 at 05:40:26PM -0600, Roger Sayle wrote:
> +       if ((TREE_CODE_CLASS (TREE_CODE (TREE_OPERAND (expr, 0))) != 'c'
> + 	   && !is_gimple_val (TREE_OPERAND (expr, 0)))

This test should be only is_gimple_val.

Otherwise ok.


r~



More information about the Gcc-patches mailing list