summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-02 18:37:16 +0000
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-02 18:37:16 +0000
commiteac325b4302ea9e0aa19e276159a7806d56980f0 (patch)
treeef85adad2f1262025dca7d243686b5b093ffa5ed /gcc
parent6fa01489f8db7b71c30746e4457354429601ed81 (diff)
downloadgcc-eac325b4302ea9e0aa19e276159a7806d56980f0.tar.gz
* trans-types.c (gfc_type_for_mode): Return NULL for unknown modes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86976 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/ChangeLog4
-rw-r--r--gcc/fortran/trans-types.c2
2 files changed, 5 insertions, 1 deletions
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 <paul@codesourcery.com>
+
+ * trans-types.c (gfc_type_for_mode): Return NULL for unknown modes.
+
2004-09-01 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
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)
{