From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by sourceware.org (Postfix) with ESMTPS id 7F8573838013 for ; Mon, 12 Jul 2021 06:14:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7F8573838013 Received: by mail-ed1-x52d.google.com with SMTP id l1so4455339edr.11 for ; Sun, 11 Jul 2021 23:14:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Y5roestYDBTN7wWak44TIoVwgm7myFjXmfZzFE9fat0=; b=JgD2FLXxUEUDUkYquseW1FZmiw5L6PEW8BeWbFBh8s/6y4Bl4C5tkbbQ+L3jfL518v /QcjDD75WOQdKQiiatmmR+NXuPHbTLLT4V5JNbzBEfCWZJzbxvCYxIGgK4rbt4Zvrnpy g5syv/XT/LLkUC6xCpomDVwe2u/EGpL3vI2H7FI9b4vxN+hp+gd3bWFBEH7gopZt/Uya 2+1Q38zBesyldKMVKrAATNjcudsFXEiY5vsrupt08I2AwkloR2LzEpmSMmqi0Y7m7LnP 5YO8hIu9zWoRlIdX+lnwO2SyApeax6rqDb6SSRIEgO0Y1dM0hjZKQ4Nq8BDx+BdegMP7 euBg== X-Gm-Message-State: AOAM532ynZh/7Aji742mfacNDg9PBshnucXekHgQTtrWPyFy9B1RCB/n nvECJlIvBOdoOUuAOif31LDkODK5vcjw4UaNNC4= X-Google-Smtp-Source: ABdhPJwbeLfjBY+Z/yz0D/vj3gZhJIr0bd+breoCsAPnn2Q7BnqHbESjUTh8GoimnG5GhrejRzB1HTXqEcOytJ3OUxU= X-Received: by 2002:aa7:c652:: with SMTP id z18mr4889449edr.361.1626070457692; Sun, 11 Jul 2021 23:14:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Richard Biener Date: Mon, 12 Jul 2021 08:14:06 +0200 Message-ID: Subject: Re: [PATCH] Change the type of memory classification functions to bool To: Uros Bizjak Cc: "gcc-patches@gcc.gnu.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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: Mon, 12 Jul 2021 06:14:20 -0000 On Fri, Jul 9, 2021 at 5:07 PM Uros Bizjak via Gcc-patches wrote: > > 2021-07-09 Uro=C5=A1 Bizjak > > gcc/ > * recog.c (memory_address_addr_space_p): Change the type to bool. > Return true/false instead of 1/0. > (offsettable_memref_p): Ditto. > (offsettable_nonstrict_memref_p): Ditto. > (offsettable_address_addr_space_p): Ditto. > Change the type of addressp indirect function to bool. > * recog.h (memory_address_addr_space_p): Change the type to bool. > (strict_memory_address_addr_space_p): Ditto. > (offsettable_memref_p): Ditto. > (offsettable_nonstrict_memref_p): Ditto. > (offsettable_address_addr_space_p): Ditto. > * reload.c (maybe_memory_address_addr_space_p): Ditto. > (strict_memory_address_addr_space_p): Change the type to bool. > Return true/false instead of 1/0. > (maybe_memory_address_addr_space_p): Change the type to bool. > > Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}. > > OK for master? OK. > Uros.