Re: [patch] Fix small oddity in gen_int_libfunc

2013-12-09 Thread Jeff Law
On 12/09/13 10:53, Eric Botcazou wrote: Hi, there is a small oddity in gen_int_libfunc since 2007: if (GET_MODE_CLASS (mode) != MODE_INT || mode < word_mode || GET_MODE_BITSIZE (mode) > maxsize) return; I don't think that modes are meant to be compared like that, so the attac

[patch] Fix small oddity in gen_int_libfunc

2013-12-09 Thread Eric Botcazou
Hi, there is a small oddity in gen_int_libfunc since 2007: if (GET_MODE_CLASS (mode) != MODE_INT || mode < word_mode || GET_MODE_BITSIZE (mode) > maxsize) return; I don't think that modes are meant to be compared like that, so the attached patch replaces the direct comparison wit