diff options
author | Ian Lance Taylor <iant@google.com> | 2007-02-08 00:59:14 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2007-02-08 00:59:14 +0000 |
commit | 1f64a0811b05c2f4fdc39d66dea4dbdb66c4952d (patch) | |
tree | babd76cec557046e1170d5178daf1a07972d000c /gcc/lower-subreg.c | |
parent | e42ac3dede382243e5ded0b994ec2656d991f6a9 (diff) | |
download | gcc-1f64a0811b05c2f4fdc39d66dea4dbdb66c4952d.zip gcc-1f64a0811b05c2f4fdc39d66dea4dbdb66c4952d.tar.gz gcc-1f64a0811b05c2f4fdc39d66dea4dbdb66c4952d.tar.bz2 |
* lower-subreg.c (simple_move): Reject PARTIAL_INT modes.
From-SVN: r121707
Diffstat (limited to 'gcc/lower-subreg.c')
-rw-r--r-- | gcc/lower-subreg.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/lower-subreg.c b/gcc/lower-subreg.c index 8d04390..fbb506c5 100644 --- a/gcc/lower-subreg.c +++ b/gcc/lower-subreg.c @@ -136,6 +136,11 @@ simple_move (rtx insn) == BLKmode)) return NULL_RTX; + /* Reject PARTIAL_INT modes. They are used for processor specific + purposes and it's probably best not to tamper with them. */ + if (GET_MODE_CLASS (mode) == MODE_PARTIAL_INT) + return NULL_RTX; + return set; } |