* gcc.target/i386/avx2-vpop-check.h: volatility is casted away in
memcmp().
From-SVN: r198055
+2013-04-18 Grigoriy Kraynov <grigoriy.kraynov@intel.com>
+
+ * gcc.target/i386/avx2-vpop-check.h: volatility is casted away in
+ memcmp().
+
2013-04-18 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/56984
gen_pop ();
check_pop ();
- if (memcmp (c, c_ref, SIZE * sizeof (TYPE)))
+ /* We need to cast away volatility from c_ref here in order to eliminate
+ warning if libc version of memcpy is used here. */
+ if (memcmp (c, (void *) c_ref, SIZE * sizeof (TYPE)))
abort();
}
}