public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/ARM/heads/morello)] config: Fix up prototypes for valid_pointer_mode
@ 2023-06-28 13:33 Alex Coplan
  0 siblings, 0 replies; only message in thread
From: Alex Coplan @ 2023-06-28 13:33 UTC (permalink / raw)
  To: gcc-cvs

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-28 13:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-28 13:33 [gcc(refs/vendors/ARM/heads/morello)] config: Fix up prototypes for valid_pointer_mode Alex Coplan

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).