diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2006-05-22 17:55:53 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2006-05-22 17:55:53 +0000 |
commit | 3d763bcffe7b76b4167159c9193263dbb47ededd (patch) | |
tree | cb3ffe7a82a26a5b36b28bfa8bae93179e54b173 /gcc/config | |
parent | 123b24e73b5ffc38f548cccfde0aea45b4797c51 (diff) | |
download | gcc-3d763bcffe7b76b4167159c9193263dbb47ededd.zip gcc-3d763bcffe7b76b4167159c9193263dbb47ededd.tar.gz gcc-3d763bcffe7b76b4167159c9193263dbb47ededd.tar.bz2 |
re PR target/27266 (syncronization primitives cause ICE with -march=pentium or better)
gcc/
PR target/27266
* config/i386/i386.c (ix86_expand_branch): Jump to simple if
ix86_compare_emitted is non-NULL.
gcc/testsuite/
PR target/27266
* gcc.target/i386/pr27266.c: New.
From-SVN: r113987
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/i386/i386.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index d1f087c..b004415 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -10175,6 +10175,12 @@ ix86_expand_branch (enum rtx_code code, rtx label) { rtx tmp; + /* If we have emitted a compare insn, go straight to simple. + ix86_expand_compare won't emit anything if ix86_compare_emitted + is non NULL. */ + if (ix86_compare_emitted) + goto simple; + switch (GET_MODE (ix86_compare_op0)) { case QImode: |