summaryrefslogtreecommitdiff
path: root/gcc/fortran/arith.h
diff options
context:
space:
mode:
authortobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-12 16:53:26 +0000
committertobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-12 16:53:26 +0000
commit02eddeb002eeddbc541f90d5ff5e394fea803b81 (patch)
tree1be65cae232e27fb532bca1c95d395b50376e17f /gcc/fortran/arith.h
parent4462e6acd5318e4b1554f26b2f1093edbb0f5c22 (diff)
downloadgcc-02eddeb002eeddbc541f90d5ff5e394fea803b81.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123750 138bc75d-0d04-0410-961f-82ee72b054a4
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 *);