gcj fails to compile due to integer mismatch
Zopolis0
creatorsmithmdt@gmail.com
Sun Apr 17 15:28:19 GMT 2022
One of the errors stopping gcj from compiling is this:
../.././gcc/java/builtins.cc:352:56: error: no match for ‘operator<=’
(operand types are ‘poly_uint16’ {aka ‘poly_int<1, short unsigned int>’}
and ‘int’)
352 | && GET_MODE_SIZE (mode) <=
UNITS_PER_WORD)))
| ~~~~~~~~~~~~~~~~~~~~ ^~
| |
| poly_uint16 {aka
poly_int<1, short unsigned int>}
I think this is due to it not accepting the form of integer, but I have
seen code doing the exact same thing and that works. What is the issue with
this one? How would I fix it?
More information about the Gcc-help
mailing list