OSDN Git Service

2012-02-21 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Feb 2012 12:37:33 +0000 (12:37 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Feb 2012 12:37:33 +0000 (12:37 +0000)
commit6b55f6d9ed04b1c4b6a47ad84929ccd2a4b0f2fa
treea608d53ad0ae105cb54069a711fc6c63a367c516
parentb2a9fb6b9758bc2feae44dca7e3fd3153bc2f628
2012-02-21  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52324
* gimplify.c (gimplify_expr): When re-gimplifying expressions
do not gimplify a MEM_REF address operand if it is already
in suitable form.

* gcc.dg/tree-ssa/ssa-lim-10.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184435 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-lim-10.c [new file with mode: 0644]