From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5A7FE385782A; Mon, 22 Mar 2021 09:56:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5A7FE385782A From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99708] New: __SIZEOF_FLOAT128__ not defined on powerpc64le-linux Date: Mon, 22 Mar 2021 09:56:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2021 09:56:19 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99708 Bug ID: 99708 Summary: __SIZEOF_FLOAT128__ not defined on powerpc64le-linux Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- For consistency with other targets, I think the rs6000 backend should prede= fine __SIZEOF_FLOAT128__ 16 __SIZEOF_IBM128__ 16 __SIZEOF_IEEE128__ 16 macros (each of them whenever __float128, __ibm128 or __ieee128 can be used given the current ABI and ISA options etc.). E.g. i386 backend has in i386-c.c cpp_define_formatted (parse_in, "__SIZEOF_FLOAT80__=3D%d", GET_MODE_SIZE (XFmode)); cpp_define (parse_in, "__SIZEOF_FLOAT128__=3D16"); Seems rs6000 predefines __FLOAT128__ macro instead when __float128 can be u= sed and __FLOAT128_TYPE__ when __ibm128 and __ieee128 can be used.=