diff options
author | Dominik Vogt <vogt@linux.vnet.ibm.com> | 2015-08-27 07:38:36 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2015-08-27 07:38:36 +0000 |
commit | d26d508afa21f42ac33b0f10e64d78e961171796 (patch) | |
tree | 291ad7b335a6a734ededa6da70bbcb65b1b293ac /gcc/config/s390 | |
parent | d8d9efb3480764438e243f6c22843a57b5188185 (diff) | |
download | gcc-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.c | 1 |
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 { |