[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2018-12-30 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #19 from Dominique d'Humieres  ---
Fixed on all active branches, closing.

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2018-12-30 Thread dominiq at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

--- Comment #18 from dominiq at gcc dot gnu.org ---
Author: dominiq
Date: Sun Dec 30 12:28:54 2018
New Revision: 267476

URL: https://gcc.gnu.org/viewcvs?rev=267476=gcc=rev
Log:
2018-12-30  Dominique d'Humieres  

PR tree-optimization/68356
PR target/81210
* gcc.dg/torture/pr68264.c: Skip on darwin.
* gcc.dg/torture/pr68037-1.c: Likewise.
* gcc.dg/torture/pr68037-2.c: Likewise.
* gcc.dg/torture/pr68037-3.c: Likewise.


Modified:
branches/gcc-7-branch/gcc/testsuite/ChangeLog
branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr68037-1.c
branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr68037-2.c
branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr68037-3.c
branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr68264.c

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2018-12-30 Thread dominiq at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

--- Comment #17 from dominiq at gcc dot gnu.org ---
Author: dominiq
Date: Sun Dec 30 10:51:49 2018
New Revision: 267474

URL: https://gcc.gnu.org/viewcvs?rev=267474=gcc=rev
Log:
2018-12-30  Dominique d'Humieres  

PR tree-optimization/68356
PR target/81210
PR target/81693
* gcc.dg/torture/pr68264.c: Skip on darwin.
* gcc.dg/torture/pr68037-1.c: Likewise.
* gcc.dg/torture/pr68037-2.c: Likewise.
* gcc.dg/torture/pr68037-3.c: Likewise.
* gcc.dg/torture/pr25967-1.c: Likewise.
* gcc.dg/torture/pr25967-2.c: Likewise.


Modified:
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr25967-1.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr25967-2.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr68037-1.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr68037-2.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr68037-3.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr68264.c

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2018-12-29 Thread dominiq at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

--- Comment #16 from dominiq at gcc dot gnu.org ---
Author: dominiq
Date: Sat Dec 29 15:05:55 2018
New Revision: 267462

URL: https://gcc.gnu.org/viewcvs?rev=267462=gcc=rev
Log:
2018-12-29  Dominique d'Humieres  

PR tree-optimization/68356
PR target/81210
PR target/81693
* gcc.dg/torture/pr68264.c: Skip on darwin.
* gcc.dg/torture/pr68037-1.c: Likewise.
* gcc.dg/torture/pr68037-2.c: Likewise.
* gcc.dg/torture/pr68037-3.c: Likewise.
* gcc.dg/torture/pr25967-1.c: Likewise.
* gcc.dg/torture/pr25967-2.c: Likewise.


MChangeLog
Mgcc.dg/torture/pr25967-1.c
Mgcc.dg/torture/pr25967-2.c
Mgcc.dg/torture/pr68037-1.c
Mgcc.dg/torture/pr68037-2.c
Mgcc.dg/torture/pr68037-3.c
Mgcc.dg/torture/pr68264.c

Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/torture/pr25967-1.c
trunk/gcc/testsuite/gcc.dg/torture/pr25967-2.c
trunk/gcc/testsuite/gcc.dg/torture/pr68037-1.c
trunk/gcc/testsuite/gcc.dg/torture/pr68037-2.c
trunk/gcc/testsuite/gcc.dg/torture/pr68037-3.c
trunk/gcc/testsuite/gcc.dg/torture/pr68264.c

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2018-07-21 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

--- Comment #15 from Iain Sandoe  ---
by coincidence (triaging Darwin bugs at the moment) I was looking at this last
night.

An alternative, for platforms with math_errhandling and which use
MATH_ERREXCEPT, (Darwin and a couple of others) could be to arrange for the
tests to check the exception conditions when MATH_ERREXCEPT is set in
math_errhandling and errno otherwise (I was thinking of looking into adding an
extra field to the TEST macro for the exception bit value).

However, if there's not 1:1 mapping (it could be that the exception bits are
more fine-grained), then perhaps better to skip the test and add a similar one
that is keyed off the exception bits instead.

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2018-02-19 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

--- Comment #14 from joseph at codesourcery dot com  ---
I'd expect any complete patch default to -fno-math-errno to add 
-fmath-errno to all tests relating to errno setting by libm functions (so 
that patch was incomplete for lack of test updates).  Those tests, 
independently, should be disabled on platforms which do not support errno 
setting in libm.

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2018-02-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

Eric Gallager  changed:

   What|Removed |Added

 CC||egallager at gcc dot gnu.org
   See Also||https://gcc.gnu.org/bugzill
   ||a/show_bug.cgi?id=68264

--- Comment #13 from Eric Gallager  ---
(In reply to Dominique d'Humieres from comment #8)
> > You might want to double check that it's not a bug in the HP-UX libm.
> 
> AFAIU Joseph (comment 2) the test should be skipped on platforms defaulting
> to -fno-math-errno as Darwin.

There has been discussion on making ALL platforms default to -fno-math-errno
lately on gcc-patches: https://gcc.gnu.org/ml/gcc-patches/2018-01/msg01065.html
I assume if that were to happen, it'd make sense just to remove the test
entirely?

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2016-01-11 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

John David Anglin  changed:

   What|Removed |Added

 Target|x86_64-apple-darwin1*   |x86_64-apple-darwin1*
   |hppa*-*-hpux*   |
   Host|x86_64-apple-darwin1*   |x86_64-apple-darwin1*
   |hppa*-*-hpux*   |
  Build|x86_64-apple-darwin1*   |x86_64-apple-darwin1*
   |hppa*-*-hpux*   |

--- Comment #12 from John David Anglin  ---
Fixed on hppa*-*-hpux*.

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2016-01-11 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

--- Comment #11 from John David Anglin  ---
Author: danglin
Date: Tue Jan 12 02:06:20 2016
New Revision: 232256

URL: https://gcc.gnu.org/viewcvs?rev=232256=gcc=rev
Log:
PR tree-optimization/68356
* gcc.dg/torture/pr68264.c: Disable exp2 ERANGE test on hppa unix.


Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/torture/pr68264.c

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2015-12-29 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

--- Comment #10 from dave.anglin at bell dot net ---
On 2015-12-29, at 5:25 PM, dave.anglin at bell dot net wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356
> 
> --- Comment #9 from dave.anglin at bell dot net ---
> On 2015-12-29, at 5:05 PM, dominiq at lps dot ens.fr wrote:
> 
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356
>> 
>> --- Comment #8 from Dominique d'Humieres  ---
>>> You might want to double check that it's not a bug in the HP-UX libm.
>> 
>> AFAIU Joseph (comment 2) the test should be skipped on platforms defaulting 
>> to
>> -fno-math-errno as Darwin. Is it the case for HP-UX?
> 
> 
> I believe that is the case for hpux.  No errors are defined for exp2.  Man 
> page
> says:
> 
> If the correct value after rounding would be smaller in magnitude than
> MINDOUBLE, exp2() returns zero.


It looks like the lack of an ERANGE error is specific to exp2.  The other tests
pass okay,
so I think I'll do the same skip as __sun__ around exp2 and expm1 even though I
think
expm1 would pass since it supports ERANGE errors.

Dave
--
John David Anglin   dave.ang...@bell.net

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2015-12-29 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

John David Anglin  changed:

   What|Removed |Added

 Target|x86_64-apple-darwin1*   |x86_64-apple-darwin1*
   ||hppa*-*-hpux*
   Last reconfirmed|2015-11-15 00:00:00 |2015-12-29
   Host|x86_64-apple-darwin1*   |x86_64-apple-darwin1*
   ||hppa*-*-hpux*
  Build|x86_64-apple-darwin1*   |x86_64-apple-darwin1*
   ||hppa*-*-hpux*

--- Comment #6 from John David Anglin  ---
First fail on hpux is:

Breakpoint 2, test ()
at /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/torture/pr68264.c:86
86TEST (exp2 (d), POWER_ERANGE);
(gdb) p d
$1 = -1e+80

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2015-12-29 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

--- Comment #9 from dave.anglin at bell dot net ---
On 2015-12-29, at 5:05 PM, dominiq at lps dot ens.fr wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356
> 
> --- Comment #8 from Dominique d'Humieres  ---
>> You might want to double check that it's not a bug in the HP-UX libm.
> 
> AFAIU Joseph (comment 2) the test should be skipped on platforms defaulting to
> -fno-math-errno as Darwin. Is it the case for HP-UX?


I believe that is the case for hpux.  No errors are defined for exp2.  Man page
says:

If the correct value after rounding would be smaller in magnitude than
MINDOUBLE, exp2() returns zero.

Dave
--
John David Anglin   dave.ang...@bell.net

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2015-12-29 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

Eric Botcazou  changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu.org

--- Comment #7 from Eric Botcazou  ---
> Also fails on hppa64-hp-hpux11.11.

You might want to double check that it's not a bug in the HP-UX libm.

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2015-12-29 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

--- Comment #8 from Dominique d'Humieres  ---
> You might want to double check that it's not a bug in the HP-UX libm.

AFAIU Joseph (comment 2) the test should be skipped on platforms defaulting to
-fno-math-errno as Darwin. Is it the case for HP-UX?

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2015-12-06 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

John David Anglin  changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu.org

--- Comment #5 from John David Anglin  ---
Also fails on hppa64-hp-hpux11.11.

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2015-11-16 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

--- Comment #4 from 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  ---
> > 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.

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2015-11-16 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

--- Comment #3 from Dominique d'Humieres  ---
> 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?

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2015-11-16 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

--- Comment #2 from joseph at codesourcery dot com  ---
Darwin defaults to -fno-math-errno, and tests for libm functions setting 
errno should be disabled there.

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2015-11-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

--- Comment #1 from Richard Biener  ---
It looks like a math library issue.  The test has workarounds for glibc:

  /* Disabled due to glibc PR 6792, fixed in Apr 2015.  */
  if (0)
TEST (log1p (d), LARGE_NEG_EDOM);

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2015-11-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2015-11-15
 Ever confirmed|0   |1