]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/trans-types.cc
trans-types.c (gfc_type_for_size): Return wider type if no suitable narrower type...
authorJakub Jelinek <jakub@redhat.com>
Tue, 27 Sep 2011 19:17:31 +0000 (21:17 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 27 Sep 2011 19:17:31 +0000 (21:17 +0200)
commit82aa87223192a954c5bee4fc5d7dadae0d120b7e
tree8fe351ceea5fb4aa1c1e79248400f0b0802c3b84
parent4c345757e00b62047a02d4f1349f31104aa07bd8
trans-types.c (gfc_type_for_size): Return wider type if no suitable narrower type has been found.

* trans-types.c (gfc_type_for_size): Return wider type
if no suitable narrower type has been found.
(gfc_type_for_mode): Return NULL_TREE if gfc_type_for_size
returned type doesn't have expected TYPE_MODE.

From-SVN: r179290
gcc/fortran/ChangeLog
gcc/fortran/trans-types.c