This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix PR 37185, transpose-3.c fails in verify_stmts
- From: Razya Ladelsky <RAZYA at il dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 24 Aug 2008 15:23:53 +0300
- Subject: [PATCH] Fix PR 37185, transpose-3.c fails in verify_stmts
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);
}
}