From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16105 invoked by alias); 15 Dec 2013 18:55:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 16056 invoked by uid 55); 15 Dec 2013 18:55:33 -0000 From: "dave.anglin at bell dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/58015] FAIL: gfortran.dg/round_4.f90: Unsatisfied symbol "nextafterl" Date: Sun, 15 Dec 2013 18:55:00 -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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dave.anglin at bell dot net X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-12/txt/msg01306.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58015 --- Comment #7 from dave.anglin at bell dot net --- On 13-Dec-13, at 5:08 PM, ebotcazou at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58015 > > --- Comment #6 from Eric Botcazou --- > Why not just adapt the existing implementation of nextafterf to long > double? This requires frexpl and scalbnl which also don't currently exist. They have further dependencies. What did work was a simple routine to call nextafterq in libquadmath. Quad and long double are equivalent on hppa. Then I thought I should create a long double port of libquadmath and integrate it into libgcc on hppa. However, I haven't had time to complete this approach but it would provide a complete set of c99 long double functions. Dave -- John David Anglin dave.anglin@bell.net