From 4c97f95a5b31d4ab0826bfb8af36fbcf9e6a4098 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Thu, 2 Sep 2004 18:37:16 +0000 Subject: [PATCH] * trans-types.c (gfc_type_for_mode): Return NULL for unknown modes. From-SVN: r86976 --- gcc/fortran/ChangeLog | 4 ++++ gcc/fortran/trans-types.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index abeaaaaeb43..f796c850ed9 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,7 @@ +2004-08-31 Paul Brook + + * trans-types.c (gfc_type_for_mode): Return NULL for unknown modes. + 2004-09-01 Tobias Schlueter PR fortran/15327 diff --git a/gcc/fortran/trans-types.c b/gcc/fortran/trans-types.c index 2400c2e21d5..7159c50ac65 100644 --- a/gcc/fortran/trans-types.c +++ b/gcc/fortran/trans-types.c @@ -1625,7 +1625,7 @@ gfc_type_for_mode (enum machine_mode mode, int unsignedp) return NULL_TREE; } else - abort (); + return NULL; for (i = 0; i <= MAX_REAL_KINDS; ++i) { -- 2.30.2