Re: [PATCH] testsuite: require c99 runtime for trigonometric optimisation tests

2020-08-19 Thread Richard Sandiford
Pat Bernardi writes: > A number of optimisation that simplify trigonometric expressions are only > performed when the compiler knows the target has a C99 libm available. > Since targets like *-elf may not have such a libm, a C99 runtime requirement > is added to these tests. > > Tested on x86-elf

[PATCH] testsuite: require c99 runtime for trigonometric optimisation tests

2020-08-18 Thread Pat Bernardi
A number of optimisation that simplify trigonometric expressions are only performed when the compiler knows the target has a C99 libm available. Since targets like *-elf may not have such a libm, a C99 runtime requirement is added to these tests. Tested on x86-elf and x86_64-elf hosted on x86_64-l