From 5826955dbbc8a21f29e3248db0791107d3b41c1d Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 30 Apr 2003 20:30:37 +0000 Subject: [PATCH] * stor-layout.c (mode_for_size_tree): Use BLKmode if SIZE overflows. From-SVN: r66305 --- gcc/ChangeLog | 2 ++ gcc/stor-layout.c | 1 + 2 files changed, 3 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b67d15b5ae1..acfb3c99c7a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -37,6 +37,8 @@ 2003-04-30 Richard Kenner + * 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 diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 0df34bd5a43..7513eda00ae 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -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. */ -- 2.30.2