[PATCH] Committed: Add testcases for a few PRs

2022-01-01 Thread apinski--- via Gcc-patches
From: Andrew Pinski These were fixed as part of the fix for PR 99766, I thought it would be useful to add a few testcases for the other cases that were failing. Committed as obvious after running the tests to make sure they work. PR rtl-optimization/100241 PR rtl-optimization/99

[PATCH] Fixincludes: handle __FLT_EVAL_METHOD__ == 16 on darwin

2022-01-01 Thread FX via Gcc-patches
Hi, The darwin system headers error out on __FLT_EVAL_METHOD__ == 16, which occurs when the compiler is called with -mavx512fp16 on i386. Allow this value to proceed past the check (nothing else depends on it in the system headers). See https://gcc.gnu.org/pipermail/gcc/2021-December/237972.html f

Re: [PATCH] Fixincludes: handle __FLT_EVAL_METHOD__ == 16 on darwin

2022-01-01 Thread Iain Sandoe
Hi FX > On 1 Jan 2022, at 11:30, FX via Gcc-patches wrote: > > The darwin system headers error out on __FLT_EVAL_METHOD__ == 16, which > occurs when the compiler is called with -mavx512fp16 on i386. Allow this > value to proceed past the check (nothing else depends on it in the > system headers)