From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id 5FB07388802F for ; Sat, 17 Jul 2021 22:29:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5FB07388802F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: nDkkiiHbxSPvb050B/y6WfAAgdEW7F2ToghgXwVoQTL3ijWF6zANKdrJi3plfY5k9MGaMYlS3t 6i1HkknxnEsg62g3+BgriVk0OYCGrw0jW+BrKRiEOS1BIzNUxTC8NPI2+x2Fwea2pl4KLLDkqO Y2Plr6q8RTwHbMqhmY1nzyQSLlS7aYLqN3ODHjzIKQuxxGrKp7x60YTiRH3q7n/hYj029i6ElJ il3IyPOnyMlqsCL/IoQJYbKuzH/CIZzYtk7Dp+4uKvaYOsJDqjQK8XJcD2+GrK/ETBRgaiHw1Y 2WFyeOE/R4EofPp/g5MbNYyZ X-IronPort-AV: E=Sophos;i="5.84,248,1620720000"; d="scan'208";a="66081316" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 17 Jul 2021 14:29:00 -0800 IronPort-SDR: prxqIdvlNhpgUOrS2s1elk0XgEt3m0VaVBSCYn5TpQ4fe0iGxsWgNrJK7h4bQ9v1z7LMyzv7Wy YN5tK+s1vn4yeqmgPE8IOlH8uhGJgZoe15eXWf4p2p/5S5Rm5Tlymr7i+QTKyxMpUtAN3p20UK wqZ5A60dfPWPCQOJmbbYLy9lN93kOEc9h6nkN3qKUad3QJnYLAHJvZhIBDDgtx0BnViFOOVmFk 0m7YWUzF2CrukGNve0Or8bC/nb2GhQD5fTfUfZ53nMxdxmuUzwQy4kh2tUI2YcKgOd8m7yl26D Ghw= Subject: Re: [PATCH libatomic/arm] avoid warning on constant addresses (PR 101379) To: Thomas Schwinge , Martin Sebor CC: , Hafiz Abid Qadeer References: <816ce216-bf6a-75ca-4241-4861ec43ab27@gmail.com> <87pmvii29w.fsf@euler.schwinge.homeip.net> From: Andrew Stubbs Message-ID: <2e085663-b619-5240-6a40-961420341ebd@codesourcery.com> Date: Sat, 17 Jul 2021 23:28:45 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <87pmvii29w.fsf@euler.schwinge.homeip.net> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jul 2021 22:29:02 -0000 On 16/07/2021 18:42, Thomas Schwinge wrote: > Of course, we may simply re-work the libgomp/GCN code -- but don't we > first need to answer the question whether the current code is actually > "bad"? Aren't we going to get a lot of similar reports from > kernel/embedded/other low-level software developers, once this is out in > the wild? I mean: GCN already uses address 4 for this value because address 0 caused problems with null-pointer checks. It really ought not be this hard. :-( Andrew