r132515 - in /trunk/gcc: ChangeLog expr.c fold-...
rguenth@gcc.gnu.org
rguenth@gcc.gnu.org
Thu Feb 21 09:38:00 GMT 2008
Author: rguenth
Date: Thu Feb 21 09:38:07 2008
New Revision: 132515
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132515
Log:
2008-02-21 Richard Guenther <rguenther@suse.de>
* 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.
(gfc_conv_unary_op): Fold the built tree.
* gfortran.dg/reassoc_1.f90: New testcase.
* gfortran.dg/reassoc_2.f90: Likewise.
* gfortran.dg/reassoc_3.f90: Likewise.
Added:
trunk/gcc/testsuite/gfortran.dg/reassoc_1.f90
trunk/gcc/testsuite/gfortran.dg/reassoc_2.f90
trunk/gcc/testsuite/gfortran.dg/reassoc_3.f90
Modified:
trunk/gcc/ChangeLog
trunk/gcc/expr.c
trunk/gcc/fold-const.c
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-expr.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-complex.c
trunk/gcc/tree-inline.c
trunk/gcc/tree-pretty-print.c
trunk/gcc/tree-vectorizer.c
trunk/gcc/tree.def
More information about the Gcc-cvs
mailing list