re PR bootstrap/71071 (ICE --enable-checking=fold : fold check: original tree changed...
authorJakub Jelinek <jakub@redhat.com>
Fri, 13 May 2016 20:24:22 +0000 (22:24 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 13 May 2016 20:24:22 +0000 (22:24 +0200)
commit9e37582dfb2ec9e0bc9f0b5d76aa13cd142d6cf0
tree91859c02e8db809f3fe22ce9b6cb8ecdbc91de79
parent23cb72663051cd3f5a8952d4aa2186d50243b7d0
re PR bootstrap/71071 (ICE --enable-checking=fold : fold check: original tree changed by fold)

PR bootstrap/71071
* fold-const.c (fold_checksum_tree): Allow modification
of TYPE_ALIAS_SET during folding.

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

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