[PATCH] Add PAREN_EXPR
Diego Novillo
dnovillo@google.com
Thu Feb 21 13:23:00 GMT 2008
On 2/19/08 12:43 PM, Richard Guenther wrote:
> * tree.def (PAREN_EXPR): New tree code.
> * fold-const.c (fold_unary): Remove PAREN_EXPR around constants
> and PAREN_EXPR.
> * tree-pretty-print.c (dump_generic_node): Handle PAREN_EXPR.
> * expr.c (expand_expr_real_1): Likewise.
> * tree-inline.c (estimate_num_insns_1): Likewise.
> * tree-complex.c (expand_complex_move): Likewise.
> * tree-vectorizer.c (vect_is_simple_use): Treat PAREN_EXPR (x)
> as plain x.
>
> * trans-expr.c (gfc_conv_expr_op): Expand INTRINSIC_PARENTHESES
> as unary PAREN_EXPR for real and complex typed expressions.
> * options.c (gfc_init_options): Enable flag_associative_math if
> it isn't disabled automatically.
>
> * gfortran.dg/reassoc_1.f90: New testcase.
> * gfortran.dg/reassoc_2.f90: Likewise.
OK.
Diego.
More information about the Fortran
mailing list