aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/s390
diff options
context:
space:
mode:
authorDominik Vogt <vogt@linux.vnet.ibm.com>2015-08-27 07:38:36 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2015-08-27 07:38:36 +0000
commitd26d508afa21f42ac33b0f10e64d78e961171796 (patch)
tree291ad7b335a6a734ededa6da70bbcb65b1b293ac /gcc/config/s390
parentd8d9efb3480764438e243f6c22843a57b5188185 (diff)
downloadgcc-d26d508afa21f42ac33b0f10e64d78e961171796.zip
gcc-d26d508afa21f42ac33b0f10e64d78e961171796.tar.gz
gcc-d26d508afa21f42ac33b0f10e64d78e961171796.tar.bz2
S/390: Add emit_barrier() after trap
gcc/ChangeLog * config/s390/s390.c (s390_emit_prologue): Add emit_barrier() after trap to fix ICE. gcc/testsuite/ChangeLog * gcc.target/s390/20150826-1.c: New test. From-SVN: r227251
Diffstat (limited to 'gcc/config/s390')
-rw-r--r--gcc/config/s390/s390.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index 54b6b7d..cbfc800 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -10351,6 +10351,7 @@ s390_emit_prologue (void)
current_function_name(), cfun_frame_layout.frame_size,
s390_stack_size);
emit_insn (gen_trap ());
+ emit_barrier ();
}
else
{