Re: [PATCH,i386] Don't use errno when freestanding (was: config/i386/xmmintrin.h: Only #include if __STDC_HOSTED__)

2019-08-19 Thread Jeff Law
On 8/18/19 10:29 AM, Gerald Pfeifer wrote: > On Sat, 9 Dec 2017, Jakub Jelinek wrote: >>> Some users on FreeBSD noticed a problem when trying to use GCC to >>> build things in a standalone environment that manifests itself as >>> >>> /usr/local/lib/gcc/x86_64-unknown-freebsd11.0/6.3.0/include/xmmin

[PATCH,i386] Don't use errno when freestanding (was: config/i386/xmmintrin.h: Only #include if __STDC_HOSTED__)

2019-08-18 Thread Gerald Pfeifer
On Sat, 9 Dec 2017, Jakub Jelinek wrote: >> Some users on FreeBSD noticed a problem when trying to use GCC to >> build things in a standalone environment that manifests itself as >> >> /usr/local/lib/gcc/x86_64-unknown-freebsd11.0/6.3.0/include/xmmintrin.h:34 >> from >> /usr/local/lib/gcc/x86_64-

Re: config/i386/xmmintrin.h: Only #include if __STDC_HOSTED__

2017-12-09 Thread Jakub Jelinek
On Sat, Dec 09, 2017 at 06:41:14PM +0100, Gerald Pfeifer wrote: > Some users on FreeBSD noticed a problem when trying to use GCC to > build things in a standalone environment that manifests itself as > > /usr/local/lib/gcc/x86_64-unknown-freebsd11.0/6.3.0/include/xmmintrin.h:34 > from > /usr/loca

config/i386/xmmintrin.h: Only #include if __STDC_HOSTED__

2017-12-09 Thread Gerald Pfeifer
if !__STDC_HOSTED__ whereas ours unconditionally does so. Andreas and Alexander have tested the simple patch below that essentially mirrors what clang does. Okay? Gerald 2017-12-09 Gerald Pfeifer * config/i386/xmmintrin.h: Only #include if __STDC_HOSTED__. Index: con