re PR target/56214 (FAIL: gcc.c-torture/execute/20050121-1.c compilation, ICE)
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Mon, 18 Feb 2013 15:21:32 +0000 (15:21 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Mon, 18 Feb 2013 15:21:32 +0000 (15:21 +0000)
commitceaca33e28ab08fc6913935bcc50161d211f27b1
tree8ba0ef49d9742b4adcda26a5026f5f7d2948ba36
parentfe0b4796ad3fe8ec17de328a628d39a100b17d7c
re PR target/56214 (FAIL: gcc.c-torture/execute/20050121-1.c compilation, ICE)

PR target/56214
* config/pa/predicates.md (base14_operand): Except for BLKmode, QImode
and HImode, require all displacements to be an integer multiple of the
mode size.
* config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses,
only allow QImode and HImode when reload is in progress and strict is
true.  Likewise for symbolic addresses.  Use base14_operand to check
displacements in REG+BASE addresses.

From-SVN: r196122
gcc/ChangeLog
gcc/config/pa/pa.c
gcc/config/pa/predicates.md