* lower-subreg.c (simple_move): Reject PARTIAL_INT modes.
authorIan Lance Taylor <iant@google.com>
Thu, 8 Feb 2007 00:59:14 +0000 (00:59 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 8 Feb 2007 00:59:14 +0000 (00:59 +0000)
From-SVN: r121707

gcc/ChangeLog
gcc/lower-subreg.c

index da613e789fba0025bc66ee6043384d8c666294a6..34abb3be7efa40133f6fe83fb5635a3b2ad5e0a8 100644 (file)
@@ -1,3 +1,7 @@
+2007-02-07  Ian Lance Taylor  <iant@google.com>
+
+       * lower-subreg.c (simple_move): Reject PARTIAL_INT modes.
+
 2007-02-07  Roger Sayle  <roger@eyesopen.com>
 
        * config/rs6000/rs6000.md (ctz<mode>2, ffs<mode>2, popcount<mode>2,
index 8d04390da93637c4ee850f84ec8d412104d1b0a2..fbb506c572e686fe2376b54d49f62e863ba0aa06 100644 (file)
@@ -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;
 }