re PR tree-optimization/16461 (ICE: expected ssa_name, have integer_cst in independent_of_stmt_p, at tree-tailcall.c:210)
PR tree-optimization/16461 * tree-tailcall.c (independent_of_stmt_p): Handle non-SSA name arguments of phi nodes. From-SVN: r84595
This commit is contained in:
parent
7aded94477
commit
066a03440a
@ -1,3 +1,9 @@
|
||||
2004-07-12 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
|
||||
|
||||
PR tree-optimization/16461
|
||||
* tree-tailcall.c (independent_of_stmt_p): Handle non-SSA name
|
||||
arguments of phi nodes.
|
||||
|
||||
2004-07-12 Devang Patel <dpatel@apple.com>
|
||||
|
||||
* doc/invoke.texi (Darwin Options): Document -gused and -gfull.
|
||||
|
@ -238,6 +238,11 @@ independent_of_stmt_p (tree expr, tree at, block_stmt_iterator bsi)
|
||||
abort ();
|
||||
|
||||
expr = PHI_ARG_DEF_FROM_EDGE (at, e);
|
||||
if (TREE_CODE (expr) != SSA_NAME)
|
||||
{
|
||||
/* The value is a constant. */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/* Unmark the blocks. */
|
||||
|
Loading…
Reference in New Issue
Block a user