OSDN Git Service

2009-06-07 Daniel Franke <franke.daniel@gmail.com>
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 7 Jun 2009 11:53:21 +0000 (11:53 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 7 Jun 2009 11:53:21 +0000 (11:53 +0000)
commit2702253ad9c6e726ee9776a53a1ffbcc7d7ff89b
tree2e75ad1b42bc85ad8644cffb94677a120f3f3547
parente1c8f1c586d8879584089e0f35bae491164de9b8
2009-06-07  Daniel Franke  <franke.daniel@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.

2009-06-07  Daniel Franke  <franke.daniel@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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148243 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/fortran/intrinsic.c
gcc/fortran/intrinsic.h
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dot_product_1.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/matmul_8.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/transpose_3.f03 [new file with mode: 0644]