* trans-types.c (gfc_type_for_mode): Return NULL for unknown modes.

From-SVN: r86976
This commit is contained in:
Paul Brook 2004-09-02 18:37:16 +00:00 committed by Paul Brook
parent 9f09b4152f
commit 4c97f95a5b
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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)
{