re PR middle-end/52720 (internal compiler error: in try_move_mult_to_index)
authorRichard Guenther <rguenther@suse.de>
Tue, 27 Mar 2012 12:50:29 +0000 (12:50 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 27 Mar 2012 12:50:29 +0000 (12:50 +0000)
commit005aa1b4fba54dfc9f8a532ee82a8ac5f7257b9f
tree8dd9d34e7c52146f545feb63ff4f16d11ba4d954
parenta59b038cc8edf2e34d5c9544a8805bf9b3450709
re PR middle-end/52720 (internal compiler error: in try_move_mult_to_index)

2012-03-27  Richard Guenther  <rguenther@suse.de>

PR middle-end/52720
* fold-const.c (try_move_mult_to_index): Handle &x.array more
explicitely.

* gcc.dg/torture/pr52720.c: New testcase.

From-SVN: r185865
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr52720.c [new file with mode: 0644]