From patchwork Fri Dec 11 16:48:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Dominique_d=27Humi=C3=A8res?= X-Patchwork-Id: 555818 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 CA4201402D8 for ; Sat, 12 Dec 2015 03:48:28 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=pE3yN2u9; 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 :content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; q=dns; s= default; b=P4P6+vs8tQ9m0uux09LKgn6K+/Y7QbRBPRXlSdm0OW/A4iqB7vJGI OxD5TcH0Jmr/h/a7ZMuoaaj9AmC50KzZHlp8GZ7jDoJalEHiGcKPQTBKGJviresw jAV/FWiTJePAs38JnB4zTA7f3l4E/dqyr7T9QzAleFRgDK+wm7z7Lk= 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 :content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=default; bh=hZg4Zecyoelugt8ua827kmTWG8g=; b=pE3yN2u9DZzNuz1NDLjFOtB/W6jm UqodlnuXantPUTw025V7eTJIcuJWHB0qJVqssgEe83qh9gMB23ux7Qi7Kf4wOS8V lxwNIiCDOx+X98g9wofJaWrRy+b+eH9V3TdTemC/KJgp2DfKR7lX+tQCzUvZDo99 Dq+e4ecqGm/oaPA= Received: (qmail 115173 invoked by alias); 11 Dec 2015 16:48:20 -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 115111 invoked by uid 89); 11 Dec 2015 16:48:14 -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, KAM_ASCII_DIVIDERS, KAM_LAZY_DOMAIN_SECURITY, KAM_STOCKGEN, T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: nef2.ens.fr Received: from nef2.ens.fr (HELO nef2.ens.fr) (129.199.96.40) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 11 Dec 2015 16:48:10 +0000 Received: from mailhost.lps.ens.fr (tournesol.lps.ens.fr [129.199.120.1]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id tBBGm5Jc077525 ; Fri, 11 Dec 2015 17:48:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailhost.lps.ens.fr (Postfix) with ESMTP id DFABA166; Fri, 11 Dec 2015 17:48:05 +0100 (CET) Received: from mailhost.lps.ens.fr ([127.0.0.1]) by localhost (tournesol.lps.ens.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id og31_uNc81BG; Fri, 11 Dec 2015 17:48:05 +0100 (CET) Received: from [192.168.1.11] (log78-1-82-242-47-10.fbx.proxad.net [82.242.47.10]) by mailhost.lps.ens.fr (Postfix) with ESMTPSA id 8AFAC15D; Fri, 11 Dec 2015 17:48:05 +0100 (CET) Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: [PATCH 4/4] Add -Wmisleading-indentation to -Wall From: =?utf-8?Q?Dominique_d=27Humi=C3=A8res?= In-Reply-To: Date: Fri, 11 Dec 2015 17:48:04 +0100 Cc: jbglaw@lug-owl.de, dmalcolm@redhat.com, "law@redhat.com" , gcc-patches Message-Id: References: <2B637228-32FB-454E-BEB7-95A059A93A07@lps.ens.fr> To: Iain Sandoe Revision r231571 with Jan-Benedict Glaw’s fix for trailing whitespace. Dominique > I think you can apply this as obvious > Iain Index: gcc/ChangeLog =================================================================== --- gcc/ChangeLog (revision 231570) +++ gcc/ChangeLog (working copy) @@ -1,3 +1,13 @@ +2015-12-11 Jan-Benedict Glaw + Dominique d'Humieres + + PR target/26427 + PR target/33120 + PR testsuite/35710 + + * config/darwin.c (darwin_use_anchors_for_symbol_p): Fix indention and + trailing whitespace. + 2015-12-11 Jan Beulich * cfgexpand.c (expand_one_var): Exit early for static and Index: gcc/config/darwin.c =================================================================== --- gcc/config/darwin.c (revision 231570) +++ gcc/config/darwin.c (working copy) @@ -2997,23 +2997,23 @@ SYMBOL_REF_BLOCK_OFFSET (symbol)); } -/* Disable section anchoring on any section containing a zero-sized +/* Disable section anchoring on any section containing a zero-sized object. */ bool darwin_use_anchors_for_symbol_p (const_rtx symbol) { - if (DARWIN_SECTION_ANCHORS && flag_section_anchors) + if (DARWIN_SECTION_ANCHORS && flag_section_anchors) { section *sect; /* If the section contains a zero-sized object it's ineligible. */ sect = SYMBOL_REF_BLOCK (symbol)->sect; /* This should have the effect of disabling anchors for vars that follow - any zero-sized one, in a given section. */ + any zero-sized one, in a given section. */ if (sect->common.flags & SECTION_NO_ANCHOR) return false; - /* Also check the normal reasons for suppressing. */ - return default_use_anchors_for_symbol_p (symbol); + /* Also check the normal reasons for suppressing. */ + return default_use_anchors_for_symbol_p (symbol); } else return false;