------- Comment #11 from dfranke at gcc dot gnu dot org 2009-03-31 20:02 ------- Subject: Bug 25104
Author: dfranke Date: Tue Mar 31 20:01:51 2009 New Revision: 145369 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145369 Log: gcc/fortran/: 2009-03-31 Daniel Franke <franke.dan...@gmail.com> PR fortran/25104 PR fortran/29962 * intrinsic.h (gfc_simplify_dot_product): New prototype. (gfc_simplify_matmul): Likewise. (gfc_simplify_transpose): Likewise. * intrinsic.c (add_functions): Added new simplifier callbacks. * simplify.c (init_result_expr): New. (compute_dot_product): New. (gfc_simplify_dot_product): New. (gfc_simplify_matmul): New. (gfc_simplify_transpose): New. * expr.c (check_transformational): Allow transformational intrinsics with simplifier in initialization expression. gcc/testsuite/: 2009-03-31 Daniel Franke <franke.dan...@gmail.com> PR fortran/25104 PR fortran/29962 * gfortran.dg/dot_product_1.f03: New. * gfortran.dg/matmul_8.f03: New. * gfortran.dg/transpose_3.f03: New. Added: branches/fortran-dev/gcc/testsuite/gfortran.dg/dot_product_1.f03 branches/fortran-dev/gcc/testsuite/gfortran.dg/matmul_8.f03 branches/fortran-dev/gcc/testsuite/gfortran.dg/transpose_3.f03 Modified: branches/fortran-dev/gcc/fortran/ChangeLog.dev branches/fortran-dev/gcc/fortran/expr.c branches/fortran-dev/gcc/fortran/intrinsic.c branches/fortran-dev/gcc/fortran/intrinsic.h branches/fortran-dev/gcc/fortran/simplify.c branches/fortran-dev/gcc/testsuite/ChangeLog.fortran-dev -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25104