From c0510d84b7e1e57f475d27a3390b7177a1cf9d27 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Fri, 21 Mar 2003 11:58:35 -0500 Subject: optabs.c (init_integral_libfuncs): Make sure we init at least up to "long long" size words. * optabs.c (init_integral_libfuncs): Make sure we init at least up to "long long" size words. From-SVN: r64670 --- gcc/optabs.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gcc/optabs.c') diff --git a/gcc/optabs.c b/gcc/optabs.c index ffad83f..bd5c385 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -5344,8 +5344,11 @@ init_integral_libfuncs (optable, opname, suffix) const char *opname; int suffix; { + int maxsize = 2*BITS_PER_WORD; + if (maxsize < LONG_LONG_TYPE_SIZE) + maxsize = LONG_LONG_TYPE_SIZE; init_libfuncs (optable, word_mode, - mode_for_size (2*BITS_PER_WORD, MODE_INT, 0), + mode_for_size (maxsize, MODE_INT, 0), opname, suffix); } -- cgit v1.1