This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR 37185, transpose-3.c fails in verify_stmts
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Razya Ladelsky" <RAZYA at il dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 24 Aug 2008 20:57:52 +0200
- Subject: Re: [PATCH] Fix PR 37185, transpose-3.c fails in verify_stmts
- References: <OF21730073.C9B425C4-ONC22574AF.0041EEBB-C22574AF.0044126B@il.ibm.com>
On Sun, Aug 24, 2008 at 2:23 PM, Razya Ladelsky <RAZYA@il.ibm.com> wrote:
> 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?
Ok.
Thanks,
Richard.
> 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);
> }
> }
>