[Intel-gfx] [PATCH i-g-t] tests/gem_pwrite_snooped: Fix #pragma GCC weirdness

2015-10-16 Thread ville . syrjala
From: Ville Syrjälä gem_pwrite_snooped was broken when the #pragma GCC stuff was added in b04691b tests/gem_pwrite_snooped: disable const cast warning Apparently gcc treats '#pragma GCC' as a C statement. With the current code memchr_inv() pretty much disappears

Re: [Intel-gfx] [PATCH i-g-t] tests/gem_pwrite_snooped: Fix #pragma GCC weirdness

2015-10-16 Thread Chris Wilson
On Fri, Oct 16, 2015 at 12:44:05PM +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > gem_pwrite_snooped was broken when the #pragma GCC stuff was added in > b04691b tests/gem_pwrite_snooped: disable const cast warning > > Apparently gcc treats