From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) by sourceware.org (Postfix) with ESMTPS id C3F4F3858D28 for ; Tue, 1 Nov 2022 17:06:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C3F4F3858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ot1-x32e.google.com with SMTP id w26-20020a056830061a00b0066c320f5b49so6513789oti.5 for ; Tue, 01 Nov 2022 10:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=Y/19NS/eMQoY+KWCgMJk8d+IYi27DFBg+DCRfAH4uQw=; b=k7lyqlJvCUleRukjixR3Mw7ThWEqN4XMGHGzuL/TH11ZHbT2nKPml4CLa2/3DmvzT2 SeJkHjrl4lnTg5KUFzFGrbI6uYqA7Nj85pO3zZ4wBnEBBiqu1gcqbQevi5W/7GQQQz2F CAltOw/zbUG77x9azIIWv1Hhg13YcViYz3Q+iLdayCc32TKtqsGq0Iqk8eBI0mL/8xEo xNA5a1uvUqClqMqNMEidiAbs/Z77EnOCor5CpBLT1A6KtWweLYSKMW8fhW+JNbP0MC0l GDUUoZMQ8vXWW9qv3lCB4i7mhm5iKI/+TjwmUAWnkQPD5k4p4c/xVGHz3P7AFO11IWQG QWCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Y/19NS/eMQoY+KWCgMJk8d+IYi27DFBg+DCRfAH4uQw=; b=MohFehDIXdmkLMc2mE41rW5at2lj6aHLpKFqU8nlxFSB9dHaVZnmssPeVyL1kq3mRT E+WHIAc42T23vSTFYYvco2Hn/vmnLAQBOQU4+yDBSpsxupxU5fDqQ5szFSiRhYmthuJU LI7dHIcdbYoDLDtRB8zGXalAvykqSYutfBrf2LqOA0eQiwVdpcvqfBeespoH8tmqN54/ ay0qxUf1Rsq/8MErGS9WTv6KWCuh6c5vuiTo6BGrbETJDbnZf/9ImfjZCNukD6WL3ggO ShE/CcgESAXtdPdf5VnzFmtXkhJBTmXRs3O0ISssW9maimLAWoI8F5tKG7ZPsf1IHTsz 5k7Q== X-Gm-Message-State: ACrzQf3CN4JQRC+i0VvPhBx712kefThrTPgk90REEtfS3dZjDmtYVeOj jg8uWfNhvAM5mi04LIp8zZ4TRQ== X-Google-Smtp-Source: AMsMyM7lxQaECx1luHzwMaG6cLobrFVHyZvJ1KT25Jg99fX82c0Q9XI/h2OU5Dn4alhQiNcMox+1Cg== X-Received: by 2002:a9d:4d1a:0:b0:66c:7296:a126 with SMTP id n26-20020a9d4d1a000000b0066c7296a126mr866759otf.340.1667322389001; Tue, 01 Nov 2022 10:06:29 -0700 (PDT) Received: from [192.168.15.31] ([191.17.238.148]) by smtp.gmail.com with ESMTPSA id 62-20020aca0741000000b00359ccf7748dsm3582634oih.56.2022.11.01.10.06.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Nov 2022 10:06:28 -0700 (PDT) Message-ID: <52d0580c-c272-8293-1118-1502b1026f7a@linaro.org> Date: Tue, 1 Nov 2022 14:05:11 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH 01/11] stdlib/longlong.h: Remove incorrect lvalue to rvalue conversion from asm output constraints Content-Language: en-US To: Joseph Myers Cc: Fangrui Song , libc-alpha@sourceware.org References: <20221028173532.876027-1-adhemerval.zanella@linaro.org> <20221028173532.876027-2-adhemerval.zanella@linaro.org> <20221028213233.anuo3qzfssgjg4g6@google.com> <7eb7deb7-4431-c32f-daa4-0f9f0d560dec@linaro.org> <118fd536-3493-0476-5f59-32f7fd7f27b1@linaro.org> <1686b-d2f0-c86-ecdf-9a1c50968ea5@codesourcery.com> From: Adhemerval Zanella Netto Organization: Linaro In-Reply-To: <1686b-d2f0-c86-ecdf-9a1c50968ea5@codesourcery.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 01/11/22 11:18, Joseph Myers wrote: > On Tue, 1 Nov 2022, Adhemerval Zanella Netto wrote: > >> Another option would be to check at configure time if cast in inline asm >> context is supported and disable the cast if not. > > The file is meant to be taken verbatim (no local changes) from GCC. So > you're getting into generating a file in the build tree based on automated > substitutions into the source file from GCC there. > I am open to suggestions in fact, I am not sure if this option would be best one. The automated substitution tends to be error prone with simple regex, but it might the best option (specially because longlong.h is not an constant updated file and the ABI won't change anytime soon).