public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcj fails to compile due to integer mismatch
@ 2022-04-17 15:28 Zopolis0
  0 siblings, 0 replies; only message in thread
From: Zopolis0 @ 2022-04-17 15:28 UTC (permalink / raw)
  To: gcc-help

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?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-17 15:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-17 15:28 gcj fails to compile due to integer mismatch Zopolis0

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).