[gcc]
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jun 2012 19:40:34 +0000 (19:40 +0000)
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jun 2012 19:40:34 +0000 (19:40 +0000)
commitaca8cc63d5d270f4ada7f277586f47036ad2683e
tree2965431741fdd7023479a8b0d618d9a1b0d848e3
parent1877c426a910d11e8af637ffdd30f34906658749
[gcc]
2012-06-04  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/53487
* config/rs6000/rs6000.c (rs6000_generate_compare): If we are
doing an unsigned compare, make sure the second argument is not a
negative constant.
(rs6000_emit_cmove): Don't allow floating point comparisons when
generating ISEL moves.

[gcc/testsuite]
2012-06-04  Michael Meissner  <meissner@linux.vnet.ibm.com>

* gcc.target/powerpc/pr53487.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188248 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr53487.c [new file with mode: 0644]