public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libffi/65441] New: FAIL: libffi.call/float2.c -W -Wall -Wno-psabi (test for excess errors)
@ 2015-03-16 14:30 danglin at gcc dot gnu.org
  2015-03-28 20:03 ` [Bug libffi/65441] " danglin at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: danglin at gcc dot gnu.org @ 2015-03-16 14:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65441

            Bug ID: 65441
           Summary: FAIL: libffi.call/float2.c -W -Wall -Wno-psabi (test
                    for excess errors)
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libffi
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
              Host: hppa*-*-hpux*
            Target: hppa*-*-hpux*
             Build: hppa*-*-hpux*

Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/te
st/gnu/gcc/gcc/libffi/testsuite/libffi.call/float2.c  -W -Wall -Wno-psabi -O0 
-
I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libffi/include
-I/test/gnu/gcc/gcc
/libffi/testsuite/../include 
-I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./lib
ffi/include/.. -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libffi/.libs
-L/te
st/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs  -lffi -lm  
-o
 ./float2.exe    (timeout = 300)
spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/test/gnu/gcc/gc
c/libffi/testsuite/libffi.call/float2.c -W -Wall -Wno-psabi -O0
-I/test/gnu/gcc/
objdir/hppa2.0w-hp-hpux11.11/./libffi/include
-I/test/gnu/gcc/gcc/libffi/testsui
te/../include -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libffi/include/..
-
L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libffi/.libs
-L/test/gnu/gcc/objdi
r/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs -lffi -lm -o ./float2.exe
ESC[01mESC[K/test/gnu/gcc/gcc/libffi/testsuite/libffi.call/float2.c:ESC[mESC[K
I
n function 'ESC[01mESC[KmainESC[mESC[K':
ESC[01mESC[K/test/gnu/gcc/gcc/libffi/testsuite/libffi.call/float2.c:52:7:ESC[m
ESC[K ESC[01;35mESC[Kwarning: ESC[mESC[Kimplicit declaration of function
'ESC[01
mESC[KfabslESC[mESC[K' [-Wimplicit-function-declaration]
   if (fabsl(ld - ldblit(f)) < LDBL_EPSILON)
ESC[01;32mESC[K       ^ESC[mESC[K
ESC[01mESC[K/test/gnu/gcc/gcc/libffi/testsuite/libffi.call/float2.c:52:7:ESC[m
ESC[K ESC[01;35mESC[Kwarning: ESC[mESC[Kincompatible implicit declaration of
bui
lt-in function 'ESC[01mESC[KfabslESC[mESC[K'
ESC[01mESC[K/test/gnu/gcc/gcc/libffi/testsuite/libffi.call/float2.c:52:7:ESC[m
ESC[K ESC[01;36mESC[Knote: ESC[mESC[Kinclude 'ESC[01mESC[K<math.h>ESC[mESC[K'
or provide a declaration of 'ESC[01mESC[KfabslESC[mESC[K'
output is:
ESC[01mESC[K/test/gnu/gcc/gcc/libffi/testsuite/libffi.call/float2.c:ESC[mESC[K
In function 'ESC[01mESC[KmainESC[mESC[K':
ESC[01mESC[K/test/gnu/gcc/gcc/libffi/testsuite/libffi.call/float2.c:52:7:ESC[m
ESC[K ESC[01;35mESC[Kwarning: ESC[mESC[Kimplicit declaration of function
'ESC[01mESC[KfabslESC[mESC[K' [-Wimplicit-function-declaration]
   if (fabsl(ld - ldblit(f)) < LDBL_EPSILON)
ESC[01;32mESC[K       ^ESC[mESC[K
ESC[01mESC[K/test/gnu/gcc/gcc/libffi/testsuite/libffi.call/float2.c:52:7:ESC[m
ESC[K ESC[01;35mESC[Kwarning: ESC[mESC[Kincompatible implicit declaration of
built-in function 'ESC[01mESC[KfabslESC[mESC[K'
ESC[01mESC[K/test/gnu/gcc/gcc/libffi/testsuite/libffi.call/float2.c:52:7:ESC[m
ESC[K ESC[01;36mESC[Knote: ESC[mESC[Kinclude 'ESC[01mESC[K<math.h>ESC[mESC[K'
or provide a declaration of 'ESC[01mESC[KfabslESC[mESC[K'

FAIL: libffi.call/float2.c -W -Wall -Wno-psabi -O0 (test for excess errors)
ESC[01mESC[K/test/gnu/gcc/gcc/libffi/testsuite/libffi.call/float2.c:ESC[mESC[K
In function 'ESC[01mESC[KmainESC[mESC[K':
ESC[01mESC[K/test/gnu/gcc/gcc/libffi/testsuite/libffi.call/float2.c:52:7:ESC[m
ESC[K ESC[01;35mESC[Kwarning: ESC[mESC[Kimplicit declaration of function
'ESC[01mESC[KfabslESC[mESC[K' [-Wimplicit-function-declaration]
   if (fabsl(ld - ldblit(f)) < LDBL_EPSILON)
ESC[01;32mESC[K       ^ESC[mESC[K
ESC[01mESC[K/test/gnu/gcc/gcc/libffi/testsuite/libffi.call/float2.c:52:7:ESC[m
ESC[K ESC[01;35mESC[Kwarning: ESC[mESC[Kincompatible implicit declaration of
built-in function 'ESC[01mESC[KfabslESC[mESC[K'
ESC[01mESC[K/test/gnu/gcc/gcc/libffi/testsuite/libffi.call/float2.c:52:7:ESC[m
ESC[K ESC[01;36mESC[Knote: ESC[mESC[Kinclude 'ESC[01mESC[K<math.h>ESC[mESC[K'
or provide a declaration of 'ESC[01mESC[KfabslESC[mESC[K'

System libm doesn't provide C99 long double math routines.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libffi/65441] FAIL: libffi.call/float2.c -W -Wall -Wno-psabi (test for excess errors)
  2015-03-16 14:30 [Bug libffi/65441] New: FAIL: libffi.call/float2.c -W -Wall -Wno-psabi (test for excess errors) danglin at gcc dot gnu.org
@ 2015-03-28 20:03 ` danglin at gcc dot gnu.org
  2015-03-28 22:13 ` danglin at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu.org @ 2015-03-28 20:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65441

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> ---
Although there is support for long doubles on this target, it lacks the
long double math functions added in c99.  So, it doesn't have fabsl.

There is a libcall implementation of abs for long double and the test
passes the execution test since fabsl is folded to a built-in.  However,
I couldn't suppress the "incompatible implicit declaration of built-in
function"
warning.  So probably, it's best to either explicitly disable test or
require c99.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libffi/65441] FAIL: libffi.call/float2.c -W -Wall -Wno-psabi (test for excess errors)
  2015-03-16 14:30 [Bug libffi/65441] New: FAIL: libffi.call/float2.c -W -Wall -Wno-psabi (test for excess errors) danglin at gcc dot gnu.org
  2015-03-28 20:03 ` [Bug libffi/65441] " danglin at gcc dot gnu.org
@ 2015-03-28 22:13 ` danglin at gcc dot gnu.org
  2015-09-18 19:30 ` danglin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu.org @ 2015-03-28 22:13 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65441

--- Comment #2 from John David Anglin <danglin at gcc dot gnu.org> ---
Patch here:
https://gcc.gnu.org/ml/gcc-patches/2015-03/msg01492.html


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libffi/65441] FAIL: libffi.call/float2.c -W -Wall -Wno-psabi (test for excess errors)
  2015-03-16 14:30 [Bug libffi/65441] New: FAIL: libffi.call/float2.c -W -Wall -Wno-psabi (test for excess errors) danglin at gcc dot gnu.org
  2015-03-28 20:03 ` [Bug libffi/65441] " danglin at gcc dot gnu.org
  2015-03-28 22:13 ` danglin at gcc dot gnu.org
@ 2015-09-18 19:30 ` danglin at gcc dot gnu.org
  2015-10-27  0:40 ` danglin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu.org @ 2015-09-18 19:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65441

--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> ---
Created attachment 36348
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36348&action=edit
Proposed patch


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libffi/65441] FAIL: libffi.call/float2.c -W -Wall -Wno-psabi (test for excess errors)
  2015-03-16 14:30 [Bug libffi/65441] New: FAIL: libffi.call/float2.c -W -Wall -Wno-psabi (test for excess errors) danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2015-09-18 19:30 ` danglin at gcc dot gnu.org
@ 2015-10-27  0:40 ` danglin at gcc dot gnu.org
  2015-10-27  0:42 ` danglin at gcc dot gnu.org
  2015-10-27  0:44 ` danglin at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu.org @ 2015-10-27  0:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65441

--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> ---
Author: danglin
Date: Tue Oct 27 00:39:32 2015
New Revision: 229400

URL: https://gcc.gnu.org/viewcvs?rev=229400&root=gcc&view=rev
Log:
        PR libffi/65441
        * testsuite/lib/libffi.exp: Load target-supports-dg.exp.
        * testsuite/libffi.call/float2.c: Don't run on hppa*-*-hpux*.


Modified:
    trunk/libffi/ChangeLog
    trunk/libffi/testsuite/lib/libffi.exp
    trunk/libffi/testsuite/libffi.call/float2.c


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libffi/65441] FAIL: libffi.call/float2.c -W -Wall -Wno-psabi (test for excess errors)
  2015-03-16 14:30 [Bug libffi/65441] New: FAIL: libffi.call/float2.c -W -Wall -Wno-psabi (test for excess errors) danglin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2015-10-27  0:40 ` danglin at gcc dot gnu.org
@ 2015-10-27  0:42 ` danglin at gcc dot gnu.org
  2015-10-27  0:44 ` danglin at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu.org @ 2015-10-27  0:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65441

--- Comment #5 from John David Anglin <danglin at gcc dot gnu.org> ---
Author: danglin
Date: Tue Oct 27 00:41:31 2015
New Revision: 229401

URL: https://gcc.gnu.org/viewcvs?rev=229401&root=gcc&view=rev
Log:
        PR libffi/65441
        * testsuite/lib/libffi.exp: Load target-supports-dg.exp.
        * testsuite/libffi.call/float2.c: Don't run on hppa*-*-hpux*.


Modified:
    branches/gcc-5-branch/libffi/ChangeLog
    branches/gcc-5-branch/libffi/testsuite/lib/libffi.exp
    branches/gcc-5-branch/libffi/testsuite/libffi.call/float2.c


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libffi/65441] FAIL: libffi.call/float2.c -W -Wall -Wno-psabi (test for excess errors)
  2015-03-16 14:30 [Bug libffi/65441] New: FAIL: libffi.call/float2.c -W -Wall -Wno-psabi (test for excess errors) danglin at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2015-10-27  0:42 ` danglin at gcc dot gnu.org
@ 2015-10-27  0:44 ` danglin at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu.org @ 2015-10-27  0:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65441

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from John David Anglin <danglin at gcc dot gnu.org> ---
Fixed.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-27  0:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-16 14:30 [Bug libffi/65441] New: FAIL: libffi.call/float2.c -W -Wall -Wno-psabi (test for excess errors) danglin at gcc dot gnu.org
2015-03-28 20:03 ` [Bug libffi/65441] " danglin at gcc dot gnu.org
2015-03-28 22:13 ` danglin at gcc dot gnu.org
2015-09-18 19:30 ` danglin at gcc dot gnu.org
2015-10-27  0:40 ` danglin at gcc dot gnu.org
2015-10-27  0:42 ` danglin at gcc dot gnu.org
2015-10-27  0:44 ` danglin at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).