* stor-layout.c (mode_for_size_tree): Use BLKmode if SIZE overflows.

From-SVN: r66305
This commit is contained in:
Richard Kenner 2003-04-30 20:30:37 +00:00 committed by Richard Kenner
parent fba020b134
commit 5826955dbb
2 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,8 @@
2003-04-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* stor-layout.c (mode_for_size_tree): Use BLKmode if SIZE overflows.
* doc/install.texi (--enable-threads): Document "gnat" option.
2003-04-30 Gabriel Dos Reis <gdr@integrable-solutions.net>

View File

@ -243,6 +243,7 @@ mode_for_size_tree (size, class, limit)
int limit;
{
if (TREE_CODE (size) != INTEGER_CST
|| TREE_OVERFLOW (size)
/* What we really want to say here is that the size can fit in a
host integer, but we know there's no way we'd find a mode for
this many bits, so there's no point in doing the precise test. */