re PR middle-end/81737 (164.gzip in SPEC CPU 2000 failed to build)
authorMarek Polacek <polacek@redhat.com>
Mon, 7 Aug 2017 09:13:02 +0000 (09:13 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 7 Aug 2017 09:13:02 +0000 (09:13 +0000)
commit1653a8654977e0708b4669ed6637772cd47ac796
treec72da11b6870d2b9434b964c2d09e75e1b667b99
parent577eec5656925889d99c658de2a54ba8bd3ebf79
re PR middle-end/81737 (164.gzip in SPEC CPU 2000 failed to build)

PR middle-end/81737
* fold-const.c (fold_indirect_ref_1): Check type_domain.

* gcc.dg/pr81737.c: New test.

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