* store-motion.c (compute_store_table): Add ENABLE_CHECKING guard.
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 2 May 2009 09:11:23 +0000 (09:11 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 2 May 2009 09:11:23 +0000 (09:11 +0000)
From-SVN: r147054

gcc/ChangeLog
gcc/store-motion.c

index b023c4299c66ba467c58bec01ed4b3c7a9ad118e..1a46e3247a05ae6f13e468bc612b83a066c8d280 100644 (file)
@@ -1,3 +1,7 @@
+2009-05-02  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * store-motion.c (compute_store_table): Add ENABLE_CHECKING guard.
+
 2009-05-02  Steven Bosscher  <steven@gcc.gnu.org>
 
        * varasm.c: Do not include c-pragma.h.
index 7ff0ac69dc60043afc0ab7842f4145930ef3e841..5dabd1a8f2036bd43618123b341df31ecc64095e 100644 (file)
@@ -646,7 +646,9 @@ compute_store_table (void)
 {
   int ret;
   basic_block bb;
+#ifdef ENABLE_CHECKING
   unsigned regno;
+#endif
   rtx insn, tmp;
   df_ref *def_rec;
   int *last_set_in, *already_set;