From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 129967 invoked by alias); 10 Aug 2015 21:42:50 -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 129920 invoked by uid 55); 10 Aug 2015 21:42:46 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/67140] undefined reference to _gfortran_mvbits_i16 Date: Mon, 10 Aug 2015 21:42: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.8.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-08/txt/msg00669.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67140 --- Comment #10 from Steve Kargl --- On Mon, Aug 10, 2015 at 09:40:51PM +0000, hjl.tools at gmail dot com wrote: > > > > Index: intrinsics/mvbits.c > > =================================================================== > > --- intrinsics/mvbits.c (revision 226764) > > +++ intrinsics/mvbits.c (working copy) > > @@ -84,6 +84,7 @@ SUB_NAME (const TYPE *from, const int *f > > # undef TYPE > > # undef UTYPE > > > > +#if defined (HAVE_GFC_INTEGER_16) > > # define TYPE GFC_INTEGER_16 > > # define UTYPE GFC_UINTEGER_16 > > # define SUB_NAME mvbits_i16 > > @@ -92,3 +93,4 @@ SUB_NAME (const TYPE *from, const int *f > > # undef TYPE > > # undef UTYPE > > #endif > > +#endif > > It builds on x86. > Thanks. I'll commit a fix in a few moments.