This is the mail archive of the gcc-patches@gcc.gnu.org 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]

[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);
                }
                }


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