re PR middle-end/56288 (always true conditional expression in verify_ssa_name)
2013-02-12 Richard Biener <rguenther@suse.de> PR middle-end/56288 * tree-ssa.c (verify_ssa_name): Fix check, move SSA_NAME_IN_FREE_LIST check up. From-SVN: r195973
This commit is contained in:
parent
6da2688931
commit
a011aa391b
2 changed files with 13 additions and 7 deletions
|
@ -1,3 +1,9 @@
|
|||
2013-02-12 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR middle-end/56288
|
||||
* tree-ssa.c (verify_ssa_name): Fix check, move
|
||||
SSA_NAME_IN_FREE_LIST check up.
|
||||
|
||||
2013-02-12 Jakub Jelinek <jakub@redhat.com>
|
||||
Steven Bosscher <steven@gcc.gnu.org>
|
||||
|
||||
|
|
|
@ -626,19 +626,19 @@ verify_ssa_name (tree ssa_name, bool is_virtual)
|
|||
return true;
|
||||
}
|
||||
|
||||
if (SSA_NAME_VAR (ssa_name) != NULL_TREE
|
||||
&& TREE_TYPE (ssa_name) != TREE_TYPE (ssa_name))
|
||||
{
|
||||
error ("type mismatch between an SSA_NAME and its symbol");
|
||||
return true;
|
||||
}
|
||||
|
||||
if (SSA_NAME_IN_FREE_LIST (ssa_name))
|
||||
{
|
||||
error ("found an SSA_NAME that had been released into the free pool");
|
||||
return true;
|
||||
}
|
||||
|
||||
if (SSA_NAME_VAR (ssa_name) != NULL_TREE
|
||||
&& TREE_TYPE (ssa_name) != TREE_TYPE (SSA_NAME_VAR (ssa_name)))
|
||||
{
|
||||
error ("type mismatch between an SSA_NAME and its symbol");
|
||||
return true;
|
||||
}
|
||||
|
||||
if (is_virtual && !virtual_operand_p (ssa_name))
|
||||
{
|
||||
error ("found a virtual definition for a GIMPLE register");
|
||||
|
|
Loading…
Add table
Reference in a new issue