Re: [Qemu-devel] [PATCH] configure: don't optimize away avx2 test functions

2016-06-21 Thread Mohammed Gamal
Please drop this patch. I see it has already been fixed upstream On Tue, Jun 21, 2016 at 11:10 AM, Mohammed Gamal wrote: > The configure script contains an embedded test C function > to test for avx2 support. It gets optimized away with > gcc 4.7 on wheezy. > Add __attribute__((optimize("O0"))) t

[Qemu-devel] [PATCH] configure: don't optimize away avx2 test functions

2016-06-21 Thread Mohammed Gamal
The configure script contains an embedded test C function to test for avx2 support. It gets optimized away with gcc 4.7 on wheezy. Add __attribute__((optimize("O0"))) to it in order to prevent optimizing it away Signed-off-by: Mohammed Gamal --- configure | 2 +- 1 file changed, 1 insertion(+),