This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[lno] Re: Your change to lno branch

On Mar 9, 2004, at 02:02, Zdenek Dvorak wrote:

... causes the following bootstrap failure on i686; could you please
either fix it or revert the change?

For some reason I thought that invert_truthvalue only returned a non-gimple
which only had a cast added, well I was wrong so I disabled the extra check
for now.

Andrew Pinski

Index: tree-ssa-phiopt.c
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-ssa-phiopt.c,v
retrieving revision
diff -u -p -r1.1.4.2 tree-ssa-phiopt.c
--- tree-ssa-phiopt.c 9 Mar 2004 07:20:36 -0000
+++ tree-ssa-phiopt.c 9 Mar 2004 14:17:46 -0000
@@ -324,11 +324,15 @@ conditional_replacement (basic_block bb,
if (is_gimple_cast (cond)
&& !is_gimple_val (TREE_OPERAND (cond, 0)))
+ return false;
+ /* FIXME: disabled for now as it causes a bootstrap failure. */
+#if 0
tree temp = TREE_OPERAND (cond, 0);
tree new_var_1 = make_temp (TREE_TYPE (temp));
new = build (MODIFY_EXPR, TREE_TYPE (new_var_1), new_var_1, temp);
bsi_insert_after (&bsi, new, BSI_NEW_STMT);
cond = convert (TREE_TYPE (result), new_var_1);

new = build (MODIFY_EXPR, TREE_TYPE (PHI_RESULT (phi)),

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]