Message ID | 1280249995.18689.48.camel@e102325-lin.cambridge.arm.com |
---|---|
State | New |
Headers | show |
Index: tree-ssa-math-opts.c =================================================================== --- tree-ssa-math-opts.c (revision 162571) +++ tree-ssa-math-opts.c (working copy) @@ -1323,6 +1323,9 @@ is_widening_mult_p (gimple stmt, { tree type; + if (!is_gimple_assign (stmt)) + return false; + type = TREE_TYPE (gimple_assign_lhs (stmt)); if (TREE_CODE (type) != INTEGER_TYPE && TREE_CODE (type) != FIXED_POINT_TYPE)