public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/ARM/heads/morello)] except.c: Fix bootstrap
@ 2022-11-14 13:23 Alex Coplan
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Coplan @ 2022-11-14 13:23 UTC (permalink / raw)
  To: gcc-cvs

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

commit c863bfd83aece5daed11630cb531b33dc1f1e1bf
Author: Alex Coplan <alex.coplan@arm.com>
Date:   Mon Nov 7 16:50:19 2022 +0000

    except.c: Fix bootstrap
    
    Commit ef254a8c7f201389ff7963bacb84254c61a2053e removed the last use of
    convert_to_offset_mode from except.c, leading to a warning which gets
    promoted to an error during bootstrap.
    
    Remove the now-unused function in order to fix bootstrap.

Diff:
---
 gcc/except.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/gcc/except.c b/gcc/except.c
index 96953df030b..4a173f9b22b 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -2260,17 +2260,6 @@ expand_builtin_frob_return_addr (tree addr_tree)
   return addr;
 }
 
-static rtx
-convert_to_offset_mode (rtx x)
-{
-#ifndef POINTERS_EXTEND_UNSIGNED
-  gcc_assert (GET_MODE (x) == POmode || GET_MODE (x) == VOIDmode);
-  return x;
-#else
-  return convert_to_mode (POmode, x, POINTERS_EXTEND_UNSIGNED);
-#endif
-}
-
 /* Set up the epilogue with the magic bits we'll need to return to the
    exception handler.  */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gcc(refs/vendors/ARM/heads/morello)] except.c: Fix bootstrap
@ 2022-11-22 12:42 Stam Markianos-Wright
  0 siblings, 0 replies; 2+ messages in thread
From: Stam Markianos-Wright @ 2022-11-22 12:42 UTC (permalink / raw)
  To: gcc-cvs

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

commit c863bfd83aece5daed11630cb531b33dc1f1e1bf
Author: Alex Coplan <alex.coplan@arm.com>
Date:   Mon Nov 7 16:50:19 2022 +0000

    except.c: Fix bootstrap
    
    Commit ef254a8c7f201389ff7963bacb84254c61a2053e removed the last use of
    convert_to_offset_mode from except.c, leading to a warning which gets
    promoted to an error during bootstrap.
    
    Remove the now-unused function in order to fix bootstrap.

Diff:
---
 gcc/except.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/gcc/except.c b/gcc/except.c
index 96953df030b..4a173f9b22b 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -2260,17 +2260,6 @@ expand_builtin_frob_return_addr (tree addr_tree)
   return addr;
 }
 
-static rtx
-convert_to_offset_mode (rtx x)
-{
-#ifndef POINTERS_EXTEND_UNSIGNED
-  gcc_assert (GET_MODE (x) == POmode || GET_MODE (x) == VOIDmode);
-  return x;
-#else
-  return convert_to_mode (POmode, x, POINTERS_EXTEND_UNSIGNED);
-#endif
-}
-
 /* Set up the epilogue with the magic bits we'll need to return to the
    exception handler.  */

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-22 12:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-14 13:23 [gcc(refs/vendors/ARM/heads/morello)] except.c: Fix bootstrap Alex Coplan
2022-11-22 12:42 Stam Markianos-Wright

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