re PR rtl-optimization/57381 (array of volatile pointers hangs gcc)
authorRichard Biener <rguenther@suse.de>
Thu, 23 May 2013 10:08:33 +0000 (10:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 23 May 2013 10:08:33 +0000 (10:08 +0000)
commitaf6d44b57389b939aa515c177ce35d1e23b2cc07
tree2369b240a34a2e78bdc300991b113f4ed7fbe628
parentbd3647bf76d1d207eaa80c7c6b5a460fecc327a9
re PR rtl-optimization/57381 (array of volatile pointers hangs gcc)

2013-05-23  Richard Biener  <rguenther@suse.de>

PR middle-end/57381
* fold-const.c (operand_equal_p): Compare FIELD_DECLs with
OEP_CONSTANT_ADDRESS_OF retained.

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

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