diff options
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; } |