diff options
author | Adam Nemet <anemet@caviumnetworks.com> | 2008-12-15 21:59:51 +0000 |
---|---|---|
committer | Adam Nemet <nemet@gcc.gnu.org> | 2008-12-15 21:59:51 +0000 |
commit | 4cba945dade35fffa100eabe6ff7171170e4a79e (patch) | |
tree | 60d59479952eefda2e52d29bea09006c82e0b58e | |
parent | aaeee6d61627760d1ac78d26794e1338a4af8754 (diff) | |
download | gcc-4cba945dade35fffa100eabe6ff7171170e4a79e.zip gcc-4cba945dade35fffa100eabe6ff7171170e4a79e.tar.gz gcc-4cba945dade35fffa100eabe6ff7171170e4a79e.tar.bz2 |
mips.c (mips_output_conditional_branch): Assert that openrands[1] is a CODE_LABEL.
* config/mips/mips.c (mips_output_conditional_branch): Assert that
openrands[1] is a CODE_LABEL.
From-SVN: r142772
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 147d6f8..8fe6a69 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-12-15 Adam Nemet <anemet@caviumnetworks.com> + + * config/mips/mips.c (mips_output_conditional_branch): Assert that + openrands[1] is a CODE_LABEL. + 2008-12-15 Richard Sandiford <rdsandiford@googlemail.com> * config/mips/mips.c (mips_expand_builtin_direct): Set TARGET to diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 71e64bb..d74f490 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -10192,6 +10192,8 @@ mips_output_conditional_branch (rtx insn, rtx *operands, unsigned int length; rtx taken, not_taken; + gcc_assert (LABEL_P (operands[1])); + length = get_attr_length (insn); if (length <= 8) { |