Commit c0510d84 by DJ Delorie Committed by DJ Delorie

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
parent fe86047c
2003-03-21 DJ Delorie <dj@redhat.com>
* optabs.c (init_integral_libfuncs): Make sure we init at least up
to "long long" size words.
2003-03-21 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390.h: Do not include fixdfdi.h on s390x.
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment