From patchwork Fri May 31 15:45:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Shawcroft X-Patchwork-Id: 247978 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 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 071F22C00A4 for ; Sat, 1 Jun 2013 01:46:06 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=kMSoEk9sJljgJ7WjRO1dCYTrTcO94OiSljVce1BgbXnzhF La5bCFAqD04OgVSt+zHYWtTN0SX3pRZJ/fzFwbSXge+lDHX1VGqjsiHJZUo5hOcP L9K5iJUgaAHUXmOlvcQYnZdXdMO27C0WcVwx/39rMlt1iYCrReCYwDrDWermA= 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 :message-id:date:from:mime-version:to:subject:content-type; s= default; bh=kqSGDMlW+HVlH4SZvZL5E3M46WQ=; b=FieOq+jKT6xuIb+QhQOd 8NaXAZc27SpLnkZxd1B208GKPdYTs8qzAuNNgZrsTnOfJTCPEmEo79VIuK0t4tNP XsbWgbjphICWxDatUYGfPwWxUOgVhnLwQHCUW04NIiuGyJlrl/8AydrIDgzhMA1q H6N2GAlT4fR3Y/qnNdcVTvs= Received: (qmail 25430 invoked by alias); 31 May 2013 15:46:00 -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 25400 invoked by uid 89); 31 May 2013 15:45:57 -0000 X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.1 Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 31 May 2013 15:45:56 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Fri, 31 May 2013 16:45:53 +0100 Received: from [10.1.207.36] ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 31 May 2013 16:45:51 +0100 Message-ID: <51A8C5AF.2070201@arm.com> Date: Fri, 31 May 2013 16:45:51 +0100 From: Marcus Shawcroft User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" Subject: [PATCH, AArch64] Remove excessive braces.. X-MC-Unique: 113053116455301701 X-Virus-Found: No Remove un-necessary braces. Applied. /Marcus 2013-05-31 Marcus Shawcroft * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Remove un-necessary braces. diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 9c77888..f554550 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -532,9 +532,7 @@ aarch64_load_symref_appropriately (rtx dest, rtx imm, { rtx tmp_reg = dest; if (can_create_pseudo_p ()) - { - tmp_reg = gen_reg_rtx (Pmode); - } + tmp_reg = gen_reg_rtx (Pmode); emit_move_insn (tmp_reg, gen_rtx_HIGH (Pmode, imm)); emit_insn (gen_ldr_got_small (dest, tmp_reg, imm)); return;