summaryrefslogtreecommitdiffstats
path: root/gcc/fortran/expr.c
diff options
context:
space:
mode:
authortobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-10 18:08:27 +0000
committertobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-10 18:08:27 +0000
commit9bdc6bfa502105f18aeb1f83c1aacc8959c4b4a9 (patch)
treeeb3ad4ad7e033f8eb204117a20e099e37602a9cd /gcc/fortran/expr.c
parent674106a4d4542ea220b0159003be16ddce66f052 (diff)
downloadppe42-gcc-9bdc6bfa502105f18aeb1f83c1aacc8959c4b4a9.tar.gz
ppe42-gcc-9bdc6bfa502105f18aeb1f83c1aacc8959c4b4a9.zip
fortran/
PR fortran/14771 * arith.c (eval_intrinsic): Accept INTRINSIC_PARENTHESES. * expr.c (check_intrinsic_op): Likewise. * module.c (mio_expr): Likewise. testsuite/ PR fortran/14771 * gfortran.dg/parens_4.f90: New. * gfortran.dg/parens_5.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110840 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/expr.c')
-rw-r--r--gcc/fortran/expr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/fortran/expr.c b/gcc/fortran/expr.c
index c72281c6758..28a2fc81a90 100644
--- a/gcc/fortran/expr.c
+++ b/gcc/fortran/expr.c
@@ -1344,6 +1344,9 @@ check_intrinsic_op (gfc_expr * e, try (*check_function) (gfc_expr *))
break;
+ case INTRINSIC_PARENTHESES:
+ break;
+
default:
gfc_error ("Only intrinsic operators can be used in expression at %L",
&e->where);
OpenPOWER on IntegriCloud