From 3a450868d861e429c9df940f179d80e90145635c Mon Sep 17 00:00:00 2001 From: dfranke Date: Fri, 29 Jun 2007 16:58:56 +0000 Subject: gcc/fortran: 2007-06-29 Daniel Franke * openmp.c (resolve_omp_clauses): Adjust error message to better reflect the actual requirement. gcc/testsuite: 2007-06-29 Daniel Franke * gfortran.dg/gomp/reduction1.f90: Adjust error message. * gfortran.dg/gomp/allocatable_components_1.f90: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126115 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/fortran/openmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/fortran/openmp.c') diff --git a/gcc/fortran/openmp.c b/gcc/fortran/openmp.c index 54981ef3a6f..9494052cd72 100644 --- a/gcc/fortran/openmp.c +++ b/gcc/fortran/openmp.c @@ -850,7 +850,7 @@ resolve_omp_clauses (gfc_code *code) case OMP_LIST_MULT: case OMP_LIST_SUB: if (!gfc_numeric_ts (&n->sym->ts)) - gfc_error ("%c REDUCTION variable '%s' at %L must be of intrinsic type, got %s", + gfc_error ("%c REDUCTION variable '%s' at %L must be of numeric type, got %s", list == OMP_LIST_PLUS ? '+' : list == OMP_LIST_MULT ? '*' : '-', n->sym->name, &code->loc, -- cgit v1.2.3