summaryrefslogtreecommitdiff
path: root/gcc/fortran/arith.h
diff options
context:
space:
mode:
authorTobias Schlüter <tobi@gcc.gnu.org>2007-04-12 18:53:26 +0200
committerTobias Schlüter <tobi@gcc.gnu.org>2007-04-12 18:53:26 +0200
commit2f11881446ab72f0e85eedb8391ae47cd89d3244 (patch)
tree1be65cae232e27fb532bca1c95d395b50376e17f /gcc/fortran/arith.h
parent2d3649b23f90ddd51b968a00c8e8ab6ccf5bd93c (diff)
downloadgcc-2f11881446ab72f0e85eedb8391ae47cd89d3244.tar.gz
arith.c (gfc_arith_uplus): Rename to ...
* arith.c (gfc_arith_uplus): Rename to ... (gfc_arith_identity): ... this. (gfc_parentheses): New function. (gfc_uplus): Adapt to renamed function. * arith.h (gfc_parentheses): Add prototype. * expr.c (gfc_copy_expr): Deal with INTRINSIC_PARENTHESES. (simplifiy_intrinsic_op): Treat INTRINSIC_UPLUS separately from INTRINSIC_PARENTHESES. From-SVN: r123750
Diffstat (limited to 'gcc/fortran/arith.h')
-rw-r--r--gcc/fortran/arith.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fortran/arith.h b/gcc/fortran/arith.h
index 04d37dce2e2..6a45108bbad 100644
--- a/gcc/fortran/arith.h
+++ b/gcc/fortran/arith.h
@@ -43,6 +43,7 @@ int gfc_compare_expr (gfc_expr *, gfc_expr *);
int gfc_compare_string (gfc_expr *, gfc_expr *);
/* Constant folding for gfc_expr trees. */
+gfc_expr *gfc_parentheses (gfc_expr * op);
gfc_expr *gfc_uplus (gfc_expr * op);
gfc_expr *gfc_uminus (gfc_expr * op);
gfc_expr *gfc_add (gfc_expr *, gfc_expr *);