From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F00CD385DC0C; Tue, 14 Apr 2020 07:51:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F00CD385DC0C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1586850718; bh=uOYgZl6YQygvkTYA3tHwTIAk9mAaedosN1t9ZLazwUE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xhAkES7ps0XsBjKmJV8M39cbWO5pTodXZj5DZ0SQHb9Te0tnojnaNWwMmOyQo2NaJ 2OLh4i4/cF9kl78kUaq4/hWf6Mlu7rSzVso75iDf1GOlwDquj76rFOQDpJzLQBVUpL JRuYiOd3UVK3OM8d5n0QW5s/INLxbrFnfPb89OzI= From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/94586] trigd_lib.inc:84:28: error: implicit declaration of function 'fmaf' Date: Tue, 14 Apr 2020 07:51:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu 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: Message-ID: In-Reply-To: References: 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: Tue, 14 Apr 2020 07:51:59 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94586 --- Comment #3 from Steve Kargl -= -- On Tue, Apr 14, 2020 at 07:23:32AM +0000, rguenth at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94586 >=20 > --- Comment #2 from Richard Biener --- > Not all targets have a C99 math runtime. libgfortran configury tests for= a > load > of C99 functions: >=20 > # Check for C99 (and other IEEE) math functions > GCC_CHECK_MATH_FUNC([acosf]) > GCC_CHECK_MATH_FUNC([acos]) > GCC_CHECK_MATH_FUNC([acosl]) > GCC_CHECK_MATH_FUNC([acoshf]) > ... >=20 > but fails to check for fma[lf ] (I also don't see any uses of the HAVE_* > macros defined but that's another issue. >=20 It is 2020. If a target doesn't support C99, then building gfortran should be prohibited. The file=20 libgfortran/intrinsics/c99_functions.c is nothing=20 but a kludge, and I wrote a part of that file! I also note that FreeBSD does not have a complete C99 and building libstdc++ is broken because of=20 this. Yet, I can't get a trivially stupid patch applied. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D89991=