mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
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:
committed by
Martin Jambor
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>
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user