public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/ARM/heads/morello)] morello: Set LSB on label on longjmp builtin expansion
@ 2021-12-10 16:48 Matthew Malcomson
0 siblings, 0 replies; only message in thread
From: Matthew Malcomson @ 2021-12-10 16:48 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:e448e4ea47469b2f9696ede3648c264761ef6b1b
commit e448e4ea47469b2f9696ede3648c264761ef6b1b
Author: Stam Markianos-Wright <stam.markianos-wright@arm.com>
Date: Wed Oct 20 14:35:20 2021 +0100
morello: Set LSB on label on longjmp builtin expansion
Another mini-patch to fix a similar issue to that with
the casesi pattern to do with the LSB not being set. In this
case we can fix it in a neater way: using the target hook
to adjust the memory address.
Diff:
---
gcc/builtins.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/builtins.c b/gcc/builtins.c
index d7b0fcad423..181d34bf918 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -1166,6 +1166,7 @@ expand_builtin_longjmp (rtx buf_addr, rtx value)
emit_clobber (gen_rtx_MEM (BLKmode, gen_rtx_SCRATCH (VOIDmode)));
emit_clobber (gen_rtx_MEM (BLKmode, hard_frame_pointer_rtx));
+ lab = targetm.adjust_label_expansion (lab);
lab = copy_to_reg (lab);
/* Restore the frame pointer and stack pointer. We must use a
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-12-10 16:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-10 16:48 [gcc(refs/vendors/ARM/heads/morello)] morello: Set LSB on label on longjmp builtin expansion Matthew Malcomson
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).