re PR target/59946 (-mpcrel -O2 produces illegal asm code)
authorJeff Law <law@redhat.com>
Wed, 21 Jan 2015 06:17:50 +0000 (23:17 -0700)
committerJeff Law <law@gcc.gnu.org>
Wed, 21 Jan 2015 06:17:50 +0000 (23:17 -0700)
commit1f36fbf4a81d10160f3083d93952ec9d6c8da7f0
tree78acb3929b463455fa078ab992408f491ecadf21
parent18092bec58ca45442b7e0893609688056ffc9f09
re PR target/59946 (-mpcrel -O2 produces illegal asm code)

2015-01-20  Jeff Law  <law@redhat.com>

PR target/59946
* config/m68k/m68k.md (Comparison expanders and patterns): Do not
allow pc-relative addresses in operand predicates or constraints.

PR target/59946
* gcc.target/m68k/pr59946.c: New test.

From-SVN: r219927
gcc/ChangeLog
gcc/config/m68k/m68k.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/m68k/pr59946.c [new file with mode: 0644]