re PR tree-optimization/51865 (ICE in insert_vi_for_tree, at tree-ssa-structalias...
authorJakub Jelinek <jakub@redhat.com>
Mon, 16 Jan 2012 11:12:53 +0000 (12:12 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 16 Jan 2012 11:12:53 +0000 (12:12 +0100)
commit90dda0e9563ec83ddbf59bc8fce9f1c1c9d1a55b
tree51a01f146db9cdfa99ce7cd9516901ce6c7b78ba
parent12e3ff92d4c1fbcfc3150895be2567e4e97806f0
re PR tree-optimization/51865 (ICE in insert_vi_for_tree, at tree-ssa-structalias.c:2642)

PR tree-optimization/51865
* tree-inline.c (tree_function_versioning): Call remap_decl
on DECL_RESULT whenever it has VOID_TYPE_P type.

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

From-SVN: r183207
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr51865.c [new file with mode: 0644]
gcc/tree-inline.c