aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/resolve.c
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2012-06-18 20:31:54 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2012-06-18 20:31:54 +0200
commit478ad83d94c54c0e8e939336fcfbbfb85529a6d9 (patch)
tree3fd75f61b5e57a6a5cac11296c0f7173d323cd01 /gcc/fortran/resolve.c
parentc1fb34c3ae740ed96d771e3f2b009e3bf3278242 (diff)
downloadgcc-478ad83d94c54c0e8e939336fcfbbfb85529a6d9.zip
gcc-478ad83d94c54c0e8e939336fcfbbfb85529a6d9.tar.gz
gcc-478ad83d94c54c0e8e939336fcfbbfb85529a6d9.tar.bz2
re PR fortran/53692 (OPTIONAL: Scalarizing over the wrong array)
2012-06-18 Tobias Burnus <burnus@net-b.de> PR fortran/53692 * trans-array.c (set_loop_bounds): Don't scalarize via absent optional arrays. * resolve.c (resolve_elemental_actual): Don't stop resolving after printing a warning. 2012-06-18 Tobias Burnus <burnus@net-b.de> PR fortran/53692 * gfortran.dg/elemental_optional_args_6.f90: New. From-SVN: r188749
Diffstat (limited to 'gcc/fortran/resolve.c')
-rw-r--r--gcc/fortran/resolve.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c
index 8531318..d09cb11 100644
--- a/gcc/fortran/resolve.c
+++ b/gcc/fortran/resolve.c
@@ -1957,7 +1957,6 @@ resolve_elemental_actual (gfc_expr *expr, gfc_code *c)
"ELEMENTAL procedure unless there is a non-optional "
"argument with the same rank (12.4.1.5)",
arg->expr->symtree->n.sym->name, &arg->expr->where);
- return FAILURE;
}
}