aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2024-10-05 18:39:41 -0400
committerJohn David Anglin <danglin@gcc.gnu.org>2024-10-05 18:39:41 -0400
commit29f47b0929e00ef9b880e9157f156c78ff924f5b (patch)
treecfed28b178399f63b2b2e4f70fead794b6110840 /gcc/config
parentf6539107b8804bcc3532e748f3f596c5a8b29b44 (diff)
downloadgcc-29f47b0929e00ef9b880e9157f156c78ff924f5b.zip
gcc-29f47b0929e00ef9b880e9157f156c78ff924f5b.tar.gz
gcc-29f47b0929e00ef9b880e9157f156c78ff924f5b.tar.bz2
hppa: Don't clobber frame_pointer_rtx in expanders
Noticed testing LRA. Clobbers cause internal compiler errors. 2024-10-05 John David Anglin <danglin@gcc.gnu.org> gcc/ChangeLog: * config/pa/pa.md (nonlocal_goto): Don't clobber frame_pointer_rtx. (builtin_longjmp): Likewise.
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/pa/pa.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md
index fae9e43..2f82b43 100644
--- a/gcc/config/pa/pa.md
+++ b/gcc/config/pa/pa.md
@@ -7411,7 +7411,6 @@
/* Ensure the frame pointer move is not optimized. */
emit_insn (gen_blockage ());
emit_clobber (hard_frame_pointer_rtx);
- emit_clobber (frame_pointer_rtx);
emit_move_insn (hard_frame_pointer_rtx, fp);
emit_use (hard_frame_pointer_rtx);
@@ -9202,7 +9201,6 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
/* Ensure the frame pointer move is not optimized. */
emit_insn (gen_blockage ());
emit_clobber (hard_frame_pointer_rtx);
- emit_clobber (frame_pointer_rtx);
emit_move_insn (hard_frame_pointer_rtx, fp);
emit_use (hard_frame_pointer_rtx);