aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-array.c
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2014-11-24 08:47:46 +0100
committerTobias Burnus <burnus@gcc.gnu.org>2014-11-24 08:47:46 +0100
commit29e0597e2530cc21fe964e35c6cfbfadfb08a01e (patch)
tree1aa34e1cd7e4302714c0158d4e9f35e09f80bc70 /gcc/fortran/trans-array.c
parentc6a4ed03be9089a1a242ddc8e812c5e8e504a391 (diff)
downloadgcc-29e0597e2530cc21fe964e35c6cfbfadfb08a01e.zip
gcc-29e0597e2530cc21fe964e35c6cfbfadfb08a01e.tar.gz
gcc-29e0597e2530cc21fe964e35c6cfbfadfb08a01e.tar.bz2
error.c (gfc_fatal_error_1): Remove.
2014-11-24 Tobias Burnus <burnus@net-b.de> * error.c (gfc_fatal_error_1): Remove. * gfortran.h (gfc_fatal_error_1): Remove. * check.c (check_co_collective): Change gfc_fatal_error_1 to gfc_fatal_error. * match.c (gfc_match_name): Ditto. * trans-array.c (gfc_conv_array_initializer): Ditto. * trans-stmt.c (gfc_trans_sync): Ditto. 2014-11-24 Tobias Burnus <burnus@net-b.de> * gfortran.dg/dollar_sym_3.f: Update dg-error. * gfortran.dg/dollar_sym_3.f: Ditto. From-SVN: r217997
Diffstat (limited to 'gcc/fortran/trans-array.c')
-rw-r--r--gcc/fortran/trans-array.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/fortran/trans-array.c b/gcc/fortran/trans-array.c
index 4e5fd68..218d274 100644
--- a/gcc/fortran/trans-array.c
+++ b/gcc/fortran/trans-array.c
@@ -5425,11 +5425,12 @@ gfc_conv_array_initializer (tree type, gfc_expr * expr)
{
/* Problems occur when we get something like
integer :: a(lots) = (/(i, i=1, lots)/) */
- gfc_fatal_error_1 ("The number of elements in the array "
- "constructor at %L requires an increase of "
- "the allowed %d upper limit. See "
- "-fmax-array-constructor option", &expr->where,
- gfc_option.flag_max_array_constructor);
+ gfc_fatal_error ("The number of elements in the array "
+ "constructor at %L requires an increase of "
+ "the allowed %d upper limit. See "
+ "%<-fmax-array-constructor%> option",
+ &expr->where,
+ gfc_option.flag_max_array_constructor);
return NULL_TREE;
}
if (mpz_cmp_si (c->offset, 0) != 0)