From: Paul Brook Date: Thu, 2 Sep 2004 18:44:39 +0000 (+0000) Subject: * trans-types.c (gfc_type_for_mode): Return NULL for unknown modes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a5ffec4eb7916849d973d82a845602ae2c0c86d;p=gcc.git * trans-types.c (gfc_type_for_mode): Return NULL for unknown modes. From-SVN: r86978 --- diff --git a/gcc/fortran/trans-types.c b/gcc/fortran/trans-types.c index 7159c50ac65..610449ffea1 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 - return NULL; + return NULL_TREE; for (i = 0; i <= MAX_REAL_KINDS; ++i) {