[PATCH] Fix PR 37185, transpose-3.c fails in verify_stmts
Razya Ladelsky
RAZYA@il.ibm.com
Sun Aug 24 15:58:00 GMT 2008
Hi,
This patch fixes the matrix testsuite fauilure that was reported in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37185.
the problem was that after assigning the second operand
for the statement, it was not updated.
All matrix reorg tescases pass on x86-64. Will check on power as well.
O.K for mainline?
Thanks,
Razya
ChangeLog:
* matrix-reorg.c ( transform_access_sites): Update the stmt that
was changed.
Index: matrix-reorg.c
===================================================================
*** matrix-reorg.c (revision 139531)
--- matrix-reorg.c (working copy)
*************** transform_access_sites (void **slot, voi
*** 1962,1967 ****
--- 1962,1968 ----
{
gcc_assert (TREE_CODE (offset) == INTEGER_CST);
gimple_assign_set_rhs2 (acc_info->stmt, tmp1);
+ update_stmt (acc_info->stmt);
}
}
More information about the Gcc-patches
mailing list