This is the mail archive of the gcc-cvs@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]

r110894 - in /branches/gcc-4_1-branch/gcc: fort...


Author: tobi
Date: Sun Feb 12 18:31:40 2006
New Revision: 110894

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110894
Log:
fortran/
        Backport r110819 and r110840 from the trunk
        PR fortran/14771
        * gfortran.h (gfc_intrinsic_op): Add INTRINSIC_PARENTHESES.
        * dump-parse-tree (gfc_show_expr): Handle INTRINSIC_PARENTHESES.
        * expr.c (simplify_intrinsic_op): Treat INTRINSIC_PARENTHESES as
        if it were INTRINSIC_UPLUS.
        * resolve.c (resolve_operator): Handle INTRINSIC_PARENTHESES.
        * match.c (intrinsic_operators): Add INTRINSIC_PARENTHESES.
        * matchexp.c (match_primary): Record parentheses surrounding
        numeric expressions.
        * module.c (intrinsics): Add INTRINSIC_PARENTHESES for module
        dumping.
        * trans-expr.c (gfc_conv_expr_op): Handle INTRINSIC_PARENTHESES.

        PR fortran/14771
        * arith.c (eval_intrinsic): Accept INTRINSIC_PARENTHESES.
        * expr.c (check_intrinsic_op): Likewise.
        * module.c (mio_expr): Likewise.
testsuite/
        Backport r110819 and r110840 from the trunk
        PR fortran/14771
        * gfortran.dg/parens_1.f90: New.
        * gfortran.dg/parens_2.f90: New.
        * gfortran.dg/parens_3.f90: New.
        * gfortran.dg/parens_4.f90: New.
        * gfortran.dg/parens_5.f90: New.


Added:
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/parens_1.f90
      - copied unchanged from r110819, trunk/gcc/testsuite/gfortran.dg/parens_1.f90
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/parens_2.f90
      - copied unchanged from r110819, trunk/gcc/testsuite/gfortran.dg/parens_2.f90
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/parens_3.f90
      - copied unchanged from r110819, trunk/gcc/testsuite/gfortran.dg/parens_3.f90
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/parens_4.f90
      - copied unchanged from r110840, trunk/gcc/testsuite/gfortran.dg/parens_4.f90
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/parens_5.f90
      - copied unchanged from r110840, trunk/gcc/testsuite/gfortran.dg/parens_5.f90
Modified:
    branches/gcc-4_1-branch/gcc/fortran/ChangeLog
    branches/gcc-4_1-branch/gcc/fortran/arith.c
    branches/gcc-4_1-branch/gcc/fortran/dump-parse-tree.c
    branches/gcc-4_1-branch/gcc/fortran/expr.c
    branches/gcc-4_1-branch/gcc/fortran/gfortran.h
    branches/gcc-4_1-branch/gcc/fortran/match.c
    branches/gcc-4_1-branch/gcc/fortran/matchexp.c
    branches/gcc-4_1-branch/gcc/fortran/module.c
    branches/gcc-4_1-branch/gcc/fortran/resolve.c
    branches/gcc-4_1-branch/gcc/fortran/trans-expr.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


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