mirror of git://gcc.gnu.org/git/gcc.git
tree-complex.c (expand_complex_div_wide): Check for INTEGER_CST, not TREE_CONSTANT on comparison folding result.
2009-10-27 Richard Guenther <rguenther@suse.de> * tree-complex.c (expand_complex_div_wide): Check for INTEGER_CST, not TREE_CONSTANT on comparison folding result. From-SVN: r153598
This commit is contained in:
parent
65a07a30aa
commit
b57d8e6f0c
|
@ -1,3 +1,8 @@
|
||||||
|
2009-10-27 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
|
* tree-complex.c (expand_complex_div_wide): Check for
|
||||||
|
INTEGER_CST, not TREE_CONSTANT on comparison folding result.
|
||||||
|
|
||||||
2009-10-27 Revital Eres <eres@il.ibm.com>
|
2009-10-27 Revital Eres <eres@il.ibm.com>
|
||||||
|
|
||||||
PR tree-optimization/40648
|
PR tree-optimization/40648
|
||||||
|
|
|
@ -1119,7 +1119,7 @@ expand_complex_div_wide (gimple_stmt_iterator *gsi, tree inner_type,
|
||||||
|
|
||||||
bb_cond = bb_true = bb_false = bb_join = NULL;
|
bb_cond = bb_true = bb_false = bb_join = NULL;
|
||||||
rr = ri = tr = ti = NULL;
|
rr = ri = tr = ti = NULL;
|
||||||
if (!TREE_CONSTANT (compare))
|
if (TREE_CODE (compare) != INTEGER_CST)
|
||||||
{
|
{
|
||||||
edge e;
|
edge e;
|
||||||
gimple stmt;
|
gimple stmt;
|
||||||
|
|
Loading…
Reference in New Issue