X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fstor-layout.c;h=94ea457c5a58899a2dc36821447daf502e6a26e5;hp=ccbf9f7f3199ceea25646d0d4e162ad7140ce557;hb=63f8dfe51d0be96da3b53d262bf568d57117834f;hpb=d4a43a03641af1a48c5bae7f323614d7d69e0819 diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index ccbf9f7f319..94ea457c5a5 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -1941,7 +1941,8 @@ set_sizetype (tree type) calculating signed sizes / offsets in bits. However, when cross-compiling from a 32 bit to a 64 bit host, we are limited to 64 bit precision. */ - int precision = MIN (oprecision + BITS_PER_UNIT_LOG + 1, + int precision = MIN (MIN (oprecision + BITS_PER_UNIT_LOG + 1, + MAX_FIXED_MODE_SIZE), 2 * HOST_BITS_PER_WIDE_INT); tree t;