From patchwork Fri Oct 23 12:20:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joern Wolfgang Rennecke X-Patchwork-Id: 534947 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 2609414131D for ; Fri, 23 Oct 2015 23:20:35 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=WxKuBAY8; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=T7/EoKHaoBvsv0r/eZnYeI+JylXg5byqJRMbGiYIb+p2+gRyTq E9Z+4HyHQsQDhGm0etR3M5W3ZiFFXQB140NKLgou4XbcEakvWggCYYQaHqRXIlIt tv4N+n/1lHpwM3CIxDNvf4KTszFHQznT78CPYV2xw7zMXdPGRJRfgjP6g= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=9UMMr8jZko1jo4OdDkxhjr0Ly7A=; b=WxKuBAY8Y/UW9mbSsHtX wanlyOG6KPeFXo6webPqs3zo/tZYJ+P4r8+XXtBZywOOeMiAdj4CcRWz6M+ZRbEf c/yhDbf0GuEhcCASvviJZZSPiLUhFiGfCSF/tj4hr7lIsfGEEHBpsdHXcERkKmYw wS4I+rUaRSFIs7+AsJVCz3Y= Received: (qmail 48948 invoked by alias); 23 Oct 2015 12:20:30 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 48917 invoked by uid 89); 23 Oct 2015 12:20:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: mailrelay6.public.one.com Received: from mailrelay6.public.one.com (HELO mailrelay6.public.one.com) (91.198.169.200) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 23 Oct 2015 12:20:28 +0000 X-HalOne-Cookie: 17e773617bcd801a589f9888993364810ca3d8a3 X-HalOne-ID: 6f404034-7980-11e5-bfcd-b82a72d06996 Received: from localhost.localdomain (unknown [91.135.11.213]) by smtpfilter3.public.one.com (Halon Mail Gateway) with ESMTPSA for ; Fri, 23 Oct 2015 12:20:23 +0000 (GMT) To: gcc-patches@gcc.gnu.org From: Joern Wolfgang Rennecke Subject: Committed: Fix PR libgcc/66883 Message-ID: <562A2606.8060601@amylaar.uk> Date: Fri, 23 Oct 2015 13:20:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 2015-10-23 Joern Rennecke PR libgcc/66883 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo. Index: config/epiphany/udivsi3-float.c =================================================================== --- config/epiphany/udivsi3-float.c (revision 229235) +++ config/epiphany/udivsi3-float.c (revision 229236) @@ -49,9 +49,9 @@ __udivsi3 (unsigned int a, unsigned int u0.f = (int) a; u1.f = (int) b; #ifdef CONCISE - if (a < 0) + if ((int) a < 0) u0.i = (a >> 8) - 0x00800000 + 0x3f800000 + (31 << 23); -#else /* To use flag seting / cmove, this can be written as: */ +#else /* To use flag setting / cmove, this can be written as: */ { unsigned c = 0xff800000 - 0x4f000000; t = (int)a >> 8;