public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Alex Coplan <acoplan@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/vendors/ARM/heads/morello)] config: Fix up prototypes for valid_pointer_mode
Date: Wed, 28 Jun 2023 13:33:26 +0000 (GMT)	[thread overview]
Message-ID: <20230628133326.A97973857707@sourceware.org> (raw)

https://gcc.gnu.org/g:c30c85f483a5fb0528b2c5e9ee362c6580cb6b8e

commit c30c85f483a5fb0528b2c5e9ee362c6580cb6b8e
Author: Alex Coplan <alex.coplan@arm.com>
Date:   Thu May 11 12:27:36 2023 +0100

    config: Fix up prototypes for valid_pointer_mode
    
    With the Morello changes we changed the valid_pointer_mode hook to take
    a scalar_addr_mode instead of scalar_int_mode, but missed updating a
    couple of cases. This patch fixes that.

Diff:
---
 gcc/config/alpha/alpha.c | 2 +-
 gcc/config/ia64/ia64.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index 72ea6137ea0..b5fd3dd98b0 100644
--- a/gcc/config/alpha/alpha.c
+++ b/gcc/config/alpha/alpha.c
@@ -212,7 +212,7 @@ static void alpha_override_options_after_change (void);
 
 #if TARGET_ABI_OPEN_VMS
 static void alpha_write_linkage (FILE *, const char *);
-static bool vms_valid_pointer_mode (scalar_int_mode);
+static bool vms_valid_pointer_mode (scalar_addr_mode);
 #else
 #define vms_patch_builtins()  gcc_unreachable()
 #endif
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c
index 7122c731e97..86e610cdd36 100644
--- a/gcc/config/ia64/ia64.c
+++ b/gcc/config/ia64/ia64.c
@@ -300,7 +300,7 @@ static void ia64_vms_init_libfuncs (void)
      ATTRIBUTE_UNUSED;
 static void ia64_soft_fp_init_libfuncs (void)
      ATTRIBUTE_UNUSED;
-static bool ia64_vms_valid_pointer_mode (scalar_int_mode mode)
+static bool ia64_vms_valid_pointer_mode (scalar_addr_mode mode)
      ATTRIBUTE_UNUSED;
 static tree ia64_vms_common_object_attribute (tree *, tree, tree, int, bool *)
      ATTRIBUTE_UNUSED;

                 reply	other threads:[~2023-06-28 13:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230628133326.A97973857707@sourceware.org \
    --to=acoplan@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).