]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR rtl-optimization/32339 (ICE in insert_save, at caller-save.c:726)
authorSeongbae Park <seongbae.park@gmail.com>
Fri, 15 Jun 2007 06:33:24 +0000 (06:33 +0000)
committerSeongbae Park <spark@gcc.gnu.org>
Fri, 15 Jun 2007 06:33:24 +0000 (06:33 +0000)
2007-06-14  Seongbae Park  <seongbae.park@gmail.com>

PR rtl-optimization/32339
* df-scan.c (df_uses_record): Don't modify flags but just add to it for
df_ref_record.

From-SVN: r125736

gcc/ChangeLog
gcc/df-scan.c

index a473387d7e80fc8c2a3ccb6d479a0129070b14c8..14f50febb765363a12766ec8933737d0a82e65a3 100644 (file)
@@ -1,3 +1,9 @@
+2007-06-14  Seongbae Park  <seongbae.park@gmail.com>
+
+       PR rtl-optimization/32339
+       * df-scan.c (df_uses_record): Don't modify flags but just add to it for
+       df_ref_record.
+
 2007-06-14  Andrew Pinski  <andrew_pinski@playstation.sony.com>
 
        * tree-mudflap.c: Fix whitespace issues.
index 6c95c272df1140c63417edda575d9f23419495b8..49d6df8ca15ed46f9f2e8a19f0a3e1d16816eb20 100644 (file)
@@ -2982,9 +2982,9 @@ df_uses_record (struct df_collection_rec *collection_rec,
     case PRE_MODIFY:
     case POST_MODIFY:
       /* Catch the def of the register being modified.  */
-      flags |= DF_REF_READ_WRITE | DF_REF_PRE_POST_MODIFY;
       df_ref_record (collection_rec, XEXP (x, 0), &XEXP (x, 0), bb, insn, 
-                    DF_REF_REG_DEF, flags);
+                    DF_REF_REG_DEF,
+                     flags | DF_REF_READ_WRITE | DF_REF_PRE_POST_MODIFY);
 
       /* ... Fall through to handle uses ...  */