diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-08 00:59:14 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-08 00:59:14 +0000 |
commit | 5e016dfc61b8e84dcbd0df9a4807394e1ca173bf (patch) | |
tree | babd76cec557046e1170d5178daf1a07972d000c /gcc/lower-subreg.c | |
parent | 8fd0991a9abfe60c8647c3e8b3c765993a2b9f49 (diff) | |
download | gcc-5e016dfc61b8e84dcbd0df9a4807394e1ca173bf.tar.gz |
* lower-subreg.c (simple_move): Reject PARTIAL_INT modes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121707 138bc75d-0d04-0410-961f-82ee72b054a4
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 8d04390da93..fbb506c572e 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; } |