summaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-26 03:22:15 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-26 03:22:15 +0000
commite12b44a32f4b2d67b5345ab5ca384d92acd4fa9d (patch)
treeb0f93ca1b6e40dba5a22539f21ca724539f77be1 /gcc/builtins.c
parentfcce1e1216d27a11e80fe9f319a976a4f6805ec5 (diff)
downloadgcc-e12b44a32f4b2d67b5345ab5ca384d92acd4fa9d.tar.gz
PR middle-end/55030
* builtins.c (expand_builtin_setjmp_receiver): Update comment regarding purpose of blockage. * emit-rtl.c [!HAVE_blockage] (gen_blockage): Similarly for the head comment. * rtlanal.c (volatile_insn_p): Ditto. * doc/md.texi (blockage): Update similarly. Change wording to require one of two forms, rather than implying a wider choice. * cse.c (cse_insn): Where checking for blocking insns, use volatile_insn_p instead of manual check for volatile ASM. * dse.c (scan_insn): Ditto. * cselib.c (cselib_process_insn): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193802 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index b0cab51556e..fb7b537ca2c 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -951,7 +951,8 @@ expand_builtin_setjmp_receiver (rtx receiver_label ATTRIBUTE_UNUSED)
/* We must not allow the code we just generated to be reordered by
scheduling. Specifically, the update of the frame pointer must
- happen immediately, not later. */
+ happen immediately, not later. Similarly, we must block
+ (frame-related) register values to be used across this code. */
emit_insn (gen_blockage ());
}