From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) by sourceware.org (Postfix) with ESMTPS id 63DCD3858D1E for ; Sun, 17 Apr 2022 15:28:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 63DCD3858D1E Received: by mail-oi1-x22d.google.com with SMTP id q189so12686802oia.9 for ; Sun, 17 Apr 2022 08:28:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=NDpzcn+O88csYeFoW7vlvIsdpGwhFbgU2LOiwzXO65Y=; b=LK8hZgcPiUQ/hWJxfl+zvsyzbxQksTeQFkVzFgIxpREmgPRVZjgaQvV+BqBWE4vv05 UTGXYj2gb4L0Aw04ye6b9QlguNQ8U+ZBmdYHeyL1KDqvKlsa3YFS+NCCYHW49Q3YsPw8 HgBweVVQxliwv50OakNs+x9VJeEnCDAGI8jIb7KeVa7faZLr8ZyeQaSjvUUdN50Oo1al eDFN6XXMtqInA6RcNMeMFcDmVuy8YKkymPb6bPCBLCc96fE4aLIob1N3V4qDpUiMAYql gdIpA1ig2O+Q9vh/u1ST3ojaJ3Pdfk0YxruSnKAmRGt2tzzFrU78b/WwPNgkD73AAMdr r5Mw== X-Gm-Message-State: AOAM531wEb5+lH8IqLfruhVkREkoSHDTRogUQkfq3CvPdl/ESVg9XoAm dLAhP2zSrNk9EnFvYyoVh32zybrsSG5wARUU5TK4FDz1rOCuBA== X-Google-Smtp-Source: ABdhPJyX9EHHBP5PI9br5VkHY4/+c/HyVuKS/PCzMJlBDF80FrM13UCWdd8yVK2HIlQZ8gNt2rt4Au4fBGKT6zaalsE= X-Received: by 2002:a05:6808:5c5:b0:322:7334:e44e with SMTP id d5-20020a05680805c500b003227334e44emr2063766oij.250.1650209307456; Sun, 17 Apr 2022 08:28:27 -0700 (PDT) MIME-Version: 1.0 From: Zopolis0 Date: Mon, 18 Apr 2022 01:28:19 +1000 Message-ID: Subject: gcj fails to compile due to integer mismatch To: gcc-help@gcc.gnu.org X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2022 15:28:30 -0000 One of the errors stopping gcj from compiling is this: ../.././gcc/java/builtins.cc:352:56: error: no match for =E2=80=98operator<= =3D=E2=80=99 (operand types are =E2=80=98poly_uint16=E2=80=99 {aka =E2=80=98poly_int<1, = short unsigned int>=E2=80=99} and =E2=80=98int=E2=80=99) 352 | && GET_MODE_SIZE (mode) <=3D 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?