From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by sourceware.org (Postfix) with ESMTPS id ED03C385B522 for ; Thu, 20 Jul 2023 15:25:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ED03C385B522 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1b89cfb4571so6741965ad.3 for ; Thu, 20 Jul 2023 08:25:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689866726; x=1690471526; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=JlsJHh5YY4oAAFB7PU7IyqFiPfdgfW3Vm/oUvo1v+kc=; b=VcEeSoqxLUtFIav1/Q8WBuel5Io87x7L9D7gTKnhkLjCNP0R+WLlxZ9GIk2mMLlc/w HlIDf/G8r6oks0rJDhzuDrD2gN4KTLIBsS5dQhgGpnc+QPC0nZfPURqA5Bkcyws0/+5x cdp5pKCEluXWh3WfkccZgJYkBeb/P2DOB1k1B5vRrylmGV3U+PrAkGl3x/pbrvJD9tEa ktgeJSZB/+pa4OWxPkYWxJFBJcKpUfA/4jJMFroeJ/o2GOJQX9ZZt+bkbKbx4U8dvyEY wP2oia+Q55T/dOd1S+oU96z+yuUOanYX+gMTgkgD9aOm/i64H1WErgtmobgVieuitbXD vYDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689866726; x=1690471526; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JlsJHh5YY4oAAFB7PU7IyqFiPfdgfW3Vm/oUvo1v+kc=; b=eywzLFZUpEWzbvhjNlC9aKtchtLJiIStaIM8shn1QAd+RkBpd0UcjcJ5DAvUt6iwMX dqHUX1HJ4QmxZWMv1wr6AlocxVDAIHHM8XXwJzFLr6v66HBQVKkf2P9mNu9DWcfx2Mds inb2RYdo8eNHfk8bZo8t7La1xlvF2n3MQLNunXu7L0WFAwxSyY49qrCRMRO79OoHMkA+ f9KKXAtIkgUyY7+2AK7r+p3NIHzFTgTy4pJe+TvUcTagPO3SSQFPx1bGGAyV7pV7Z1cw tQw+TsvjheX7s57A9YzP03iL0ut/j15ALTqdIl7tn3aKxAT4fxFCsGbBIrr41/XKMddZ p6VQ== X-Gm-Message-State: ABy/qLbamFuS/XST1mTzh9egifJQ+lDzYtMoFW7G10VHTuYwmi8qDbB9 vQ3eeTY2F6/JDZcKUT1f9LJe2nMf2zSqMA4GQvw= X-Google-Smtp-Source: APBJJlGYRFHQiWUMqjcM2NGY20pU24es1eZLw4aZkjbuC2KI/OyCNITXLAGBeyft2HjJyaXXbS+eSifgpkhqRU/xx3I= X-Received: by 2002:a17:902:da81:b0:1b8:c828:f742 with SMTP id j1-20020a170902da8100b001b8c828f742mr6914985plx.14.1689866726439; Thu, 20 Jul 2023 08:25:26 -0700 (PDT) MIME-Version: 1.0 References: <485a6a6c62a8632d9e3ac44b2d8fd935c0e0a78b.camel@espressif.com> <764ac77b1311325242c0c2ab709fa31f5bf62f8f.camel@espressif.com> In-Reply-To: <764ac77b1311325242c0c2ab709fa31f5bf62f8f.camel@espressif.com> From: Max Filippov Date: Thu, 20 Jul 2023 08:25:15 -0700 Message-ID: Subject: Re: [PATCH 2/3] gcc: xtensa: use dynconfig settings as builtin-macros To: Alexey Lapshin Cc: "gcc-patches@gcc.gnu.org" , Alexey Gerenkov , Ivan Grokhotkov Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE 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 Thu, Jul 20, 2023 at 8:12=E2=80=AFAM Alexey Lapshin wrote: > > Oops, missed this loop while implementing... > > I had a problem with building esp chips multilib until added my changes. > > This loop looks like just defines a macro without value. But it defines them with their respective values. Just notice that it adds two leading underscores in front of the names. > But the value must be set to make it work correctly. > It uses builtin_define() instead builtin_define_with_int_value() > > I will check how it could be soved with the loop approach. --=20 Thanks. -- Max