it would have been tough without the second snippit
On 08/21/2012 01:02 PM, Richard Sandiford wrote:
Richard Sandiford <rdsandif...@googlemail.com> writes:
    switch (code)
      {
-    case CONST_INT:
-    case CONST_DOUBLE:
-    case CONST_FIXED:
+    CASE_CONST_UNIQUE:
      case SYMBOL_REF:
      case CONST:
      case LABEL_REF:
This was suppsoed to be CASE_CONST_ANY too.  The omission of CONST_VECTOR
looks like an oversight.
Sorry, snipped the all-important:

--- gccBaseline/gcc/loop-invariant.c    2012-07-22 16:55:01.239982968 -0400
+++ gccWCase/gcc/loop-invariant.c       2012-08-20 16:02:30.013430970 -0400
@@ -203,9 +203,7 @@ check_maybe_invariant (rtx x)
Richard

Reply via email to