From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D1FB83858436; Tue, 13 Jun 2023 21:46:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D1FB83858436 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1686692814; bh=OP2t7Il1VJgPMMV3NQ0Wh2fp+RzDC+W3tupKlPKfUmM=; h=From:To:Subject:Date:From; b=uEktDcQJ1x8+8C2M+SOBLUqFoagNdPilnL5/tV/uPQObkeQKVGCTrCD+icAf2OwYw yph0ri/pzldjzKmgOQMMj3scHz+9zQ6UEvgKv2vIDsqOWQdYROSj2/n6i7wFMHBRK8 LIfpbO/xwMDu0OBHLIqzgTGfqJnQsLOIYo8zFRvQ= From: "tuliom at ascii dot art.br" To: glibc-bugs@sourceware.org Subject: [Bug math/30550] New: powerpc64le: GCC-specific code for isinf() is being used on clang Date: Tue, 13 Jun 2023 21:46:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.39 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tuliom at ascii dot art.br X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30550 Bug ID: 30550 Summary: powerpc64le: GCC-specific code for isinf() is being used on clang Product: glibc Version: 2.39 Status: NEW Severity: normal Priority: P2 Component: math Assignee: unassigned at sourceware dot org Reporter: tuliom at ascii dot art.br Target Milestone: --- The error can be reproduced with the following: $ cat test-isinf.c=20 #include _Bool classify(long double x) { return isinf(x); } $ clang -c -mabi=3Dibmlongdouble -mfloat128 test-isinf.c=20 test-isinf.c:3:46: error: passing 'long double' to parameter of incompatible type '_Float128' (aka '__float128') _Bool classify(long double x) { return isinf(x); } ^ /usr/include/math.h:1026:21: note: expanded from macro 'isinf' ? __isinff128 (x) : __builtin_isinf_sign (x)) ^ /usr/include/bits/mathcalls-helper-functions.h:29:45: note: passing argumen= t to parameter '__value' here __MATHDECL_ALIAS (int, __isinf,, (_Mdouble_ __value), isinf) ^ 1 error generated. --=20 You are receiving this mail because: You are on the CC list for the bug.=