From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 07B0F385DC1B; Thu, 16 Apr 2020 02:10:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 07B0F385DC1B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587003049; bh=PNXN00bhvAo0oR+ePrIB7URXqsiR1Hd6OMLUu2FGGDA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KXaK9H5jD7bJ0jmUgwGN+00jMFL5JlMZGlPPvJU/hbe8XGDYqkyJsWLbyhZKfO/2n kocN6kQRohJlzty0CVP2jW3vrmSccPyP8IhX0tg34YAcWjTUqHgFgNXlIpJeo+DmCD O+xndRnhqodYy+VzH0/GGXgyFdd6qFtChX2r1z9w= 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: Thu, 16 Apr 2020 02:10:48 +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: Thu, 16 Apr 2020 02:10:49 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94586 --- Comment #20 from Steve Kargl = --- On Thu, Apr 16, 2020 at 01:10:21AM +0000, dave.anglin at bell dot net wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94586 >=20 > --- Comment #18 from dave.anglin at bell dot net --- > On 2020-04-15 2:14 p.m., sgk at troutmask dot apl.washington.edu wrote: > > What does -fdump-tree-original show for > > > > function foo(x) > > real(16) foo, x > > foo =3D cos(x) > > end function foo > foo (real(kind=3D16) & restrict x) > { > =C2=A0 real(kind=3D16) __result_foo; >=20 > =C2=A0 __result_foo =3D __builtin_cosl (*x); > =C2=A0 return __result_foo; > } This is what I anticipated after I sent the email.=20 With -fno-builtin, you'll get cosl, which you don't have. So, you'll need to figure out how to force=20 gfortran to use 'q' suffixes instead of 'l'. I don't know how the frontend will handle this. Using weak references as you suggested in your other reply might be the easily (if it worked).=