This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 16 Nov 2015 18:44:46 +0000
- Subject: [Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)
- Auto-submitted: auto-generated
- References: <bug-68356-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356
--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Mon, 16 Nov 2015, dominiq at lps dot ens.fr wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356
>
> --- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> > Darwin defaults to -fno-math-errno, and tests for libm functions setting
> > errno should be disabled there.
>
> Does this mean that the test should be skipped on darwin?
Yes, or at least what's testing errno in it (which looks like pretty much
the whole test). Or, better, add an effective-target keyword for
math-errno support and restrict the test based on that (and convert any
present skips of math-errno tests for Darwin to use the new
effective-target keyword) - it's not the only system without math-errno
support in its libm.