Fix va_arg ap_copy nop detection
authorTom de Vries <tom@codesourcery.com>
Wed, 22 Apr 2015 09:03:01 +0000 (09:03 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 22 Apr 2015 09:03:01 +0000 (09:03 +0000)
commit5cf3629251b7551a6082c1dca59675f042f986f4
tree1665f0ecf25caa8207c2dd40ffc97c380262cd32
parent2aa84d43ba19ff173cbf2f63ebd2c398d6fb6c6f
Fix va_arg ap_copy nop detection

2015-04-22  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/65823
* gimplify.c (gimplify_modify_expr): Use operand_equal_p to test for
equality between ap_copy and ap.

From-SVN: r222318
gcc/ChangeLog
gcc/gimplify.c