From: Eric Botcazou Date: Mon, 4 May 2020 21:32:39 +0000 (+0200) Subject: Fix Ada bootstrap on Cygwin64 X-Git-Tag: misc/first-auto-changelog-9~60 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a34b818215174f6cbe46e2e2bfae874fde7aec72;p=thirdparty%2Fgcc.git Fix Ada bootstrap on Cygwin64 This fixes a compilation error preventing bootstrap with Ada on x86_64-pc-cygwin. 2020-05-04 Mikael Pettersson PR bootstrap/94918 * mingw32.h: Prevent windows.h from including emmintrin.h on Cygw64. --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index a819f57a2bfa..41ba2db6a07b 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2020-05-04 Mikael Pettersson + + PR bootstrap/94918 + * mingw32.h: Prevent windows.h from including emmintrin.h on Cygwin64. + 2020-03-12 Release Manager * GCC 9.3.0 released. diff --git a/gcc/ada/mingw32.h b/gcc/ada/mingw32.h index fe6464fd601d..3dbf7974a674 100644 --- a/gcc/ada/mingw32.h +++ b/gcc/ada/mingw32.h @@ -56,6 +56,7 @@ /* Note: windows.h on cygwin-64 includes x86intrin.h which uses malloc. That fails to compile, if malloc is poisoned, i.e. if !IN_RTS. */ #define _X86INTRIN_H_INCLUDED +#define _EMMINTRIN_H_INCLUDED #endif #include