A local variable was declared as an int while it needs to hold a pointer. This caused bug 4905.
Bernd -- This footer brought to you by insane German lawmakers. Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368 Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif
Index: ChangeLog.bfin =================================================================== --- ChangeLog.bfin (revision 3181) +++ ChangeLog.bfin (working copy) @@ -1,3 +1,7 @@ +2009-02-13 Bernd Schmidt <[email protected]> + + * tree-ssa-loop-ivopts.c (difference_cost): Give FOLDED the right type. + 2009-02-13 Jie Zhang <[email protected]> * emutls.c (emutls_destroy): Don't fall out of the array bound. Index: tree-ssa-loop-ivopts.c =================================================================== --- tree-ssa-loop-ivopts.c (revision 3179) +++ tree-ssa-loop-ivopts.c (working copy) @@ -3410,7 +3410,7 @@ difference_cost (struct ivopts_data *dat comp_cost cost; enum machine_mode mode = TYPE_MODE (TREE_TYPE (e1)); unsigned HOST_WIDE_INT off1, off2; - int folded; + tree folded; e1 = strip_offset (e1, &off1); e2 = strip_offset (e2, &off2);
_______________________________________________ Toolchain-devel mailing list [email protected] http://blackfin.uclinux.org/mailman/listinfo/toolchain-devel
