diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2003-04-30 20:30:37 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2003-04-30 16:30:37 -0400 |
commit | 5826955dbbc8a21f29e3248db0791107d3b41c1d (patch) | |
tree | 6a5c56b50e98567b93dc9dee7c2adafd2b4673c0 /gcc/stor-layout.c | |
parent | fba020b13418f091ecf6c673bf8faa5baf047f02 (diff) | |
download | gcc-5826955dbbc8a21f29e3248db0791107d3b41c1d.zip gcc-5826955dbbc8a21f29e3248db0791107d3b41c1d.tar.gz gcc-5826955dbbc8a21f29e3248db0791107d3b41c1d.tar.bz2 |
* stor-layout.c (mode_for_size_tree): Use BLKmode if SIZE overflows.
From-SVN: r66305
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r-- | gcc/stor-layout.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 0df34bd..7513eda 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. */ |