tree-cfg.c (verify_gimple_phi): Check that gimple_phi_result is an SSA_NAME rather than a is_gimple_variable.
2009-09-09 Martin Jambor <mjambor@suse.cz> * tree-cfg.c (verify_gimple_phi): Check that gimple_phi_result is an SSA_NAME rather than a is_gimple_variable. From-SVN: r151560
This commit is contained in:
parent
5a4b005fef
commit
7648edc4d3
|
@ -1,3 +1,8 @@
|
||||||
|
2009-09-09 Martin Jambor <mjambor@suse.cz>
|
||||||
|
|
||||||
|
* tree-cfg.c (verify_gimple_phi): Check that gimple_phi_result is
|
||||||
|
an SSA_NAME rather than a is_gimple_variable.
|
||||||
|
|
||||||
2009-09-09 Richard Guenther <rguenther@suse.de>
|
2009-09-09 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
PR middle-end/41317
|
PR middle-end/41317
|
||||||
|
|
|
@ -4143,7 +4143,7 @@ verify_gimple_phi (gimple stmt)
|
||||||
tree type = TREE_TYPE (gimple_phi_result (stmt));
|
tree type = TREE_TYPE (gimple_phi_result (stmt));
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
||||||
if (!is_gimple_variable (gimple_phi_result (stmt)))
|
if (TREE_CODE (gimple_phi_result (stmt)) != SSA_NAME)
|
||||||
{
|
{
|
||||||
error ("Invalid PHI result");
|
error ("Invalid PHI result");
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue