re PR tree-optimization/33458 (ICE "PHI def is not a GIMPLE value")
authorJakub Jelinek <jakub@redhat.com>
Tue, 6 Nov 2007 08:29:48 +0000 (09:29 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 6 Nov 2007 08:29:48 +0000 (09:29 +0100)
commit36b6e793433a2558e6f0f83a49bd61ead46183e4
treebb692f7913feb15169fc1eeed1c0b6a20bdfa55f
parentc563bcd1da29d2a3a107e39eb894427042df5973
re PR tree-optimization/33458 (ICE "PHI def is not a GIMPLE value")

PR tree-optimization/33458
* tree-inline.c (copy_phis_for_bb): If PHI arg substitution creates
!is_gimple_val PHI argument, gimplify it and insert it on edge.

* g++.dg/opt/inline12.C: New test.

From-SVN: r129921
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/inline12.C [new file with mode: 0644]
gcc/tree-inline.c