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
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
||||
|
||||
PR middle-end/41317
|
||||
|
|
|
@ -4143,7 +4143,7 @@ verify_gimple_phi (gimple stmt)
|
|||
tree type = TREE_TYPE (gimple_phi_result (stmt));
|
||||
unsigned i;
|
||||
|
||||
if (!is_gimple_variable (gimple_phi_result (stmt)))
|
||||
if (TREE_CODE (gimple_phi_result (stmt)) != SSA_NAME)
|
||||
{
|
||||
error ("Invalid PHI result");
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue