re PR tree-optimization/71405 (ICE on valid C++ code at -Os and above on x86_64-linux...
authorJakub Jelinek <jakub@redhat.com>
Sat, 4 Jun 2016 14:50:57 +0000 (16:50 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 4 Jun 2016 14:50:57 +0000 (16:50 +0200)
commit1927a96372b003fe6217c64241bb69d838a67dc8
treebefd4674cc10cc316c209d081ba0bcebdd77e8c8
parent56812845490199b04123d9faf55cc2b338e6dfb9
re PR tree-optimization/71405 (ICE on valid C++ code at -Os and above on x86_64-linux-gnu: verify_gimple failed)

PR tree-optimization/71405
* tree-ssa.c (execute_update_addresses_taken): For clobber with
incompatible type, build a new clobber with the right type instead
of building a VIEW_CONVERT_EXPR around it.

* g++.dg/torture/pr71405.C: New test.

From-SVN: r237091
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr71405.C [new file with mode: 0644]
gcc/tree-ssa.c