Rebase from GCC

This commit is contained in:
Anthony Green
2010-01-12 09:14:14 -05:00
parent 4b18d1f73d
commit 7b7a42f221
47 changed files with 230 additions and 142 deletions

View File

@@ -1,15 +1,15 @@
10
dir
155537
155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/testsuite/libffi.call
svn+ssh://green@gcc.gnu.org/svn/gcc
2009-12-15T23:55:56.203674Z
155277
danglin
2010-01-07T20:35:33.358709Z
155710
ro
@@ -96,7 +96,7 @@ aph
stret_medium.c
file
155548
@@ -130,7 +130,7 @@ green
cls_align_longdouble_split2.c
file
155548
@@ -708,7 +708,7 @@ aph
cls_pointer.c
file
155548
@@ -882,11 +882,11 @@ file
2009-12-20T06:01:57.937806Z
1d647c48703602a6f43399507dea040b
2009-06-16T10:15:31.432585Z
148521
aph
2010-01-12T13:53:13.725804Z
11ecc6aca1f00fa662a97100ae0415a3
2010-01-07T20:35:33.358709Z
155710
ro
@@ -908,7 +908,7 @@ aph
2571
2633
many.c
file
@@ -1048,7 +1048,7 @@ aph
stret_large.c
file
155548
@@ -1252,7 +1252,7 @@ aph
cls_align_longdouble_split.c
file
155548
@@ -1800,11 +1800,11 @@ file
2009-12-20T06:01:57.943803Z
4464c6fa615810685c3fa04a8f9be7a3
2009-06-16T10:15:31.432585Z
148521
aph
2010-01-12T13:53:13.727013Z
675d8bc6e828c9d48fcea15ef768bba6
2010-01-07T20:35:33.358709Z
155710
ro
@@ -1826,7 +1826,7 @@ aph
995
1057
cls_4byte.c
file
@@ -1932,7 +1932,7 @@ aph
cls_longdouble.c
file
155548
@@ -1966,7 +1966,7 @@ green
huge_struct.c
file
155538
@@ -2136,7 +2136,7 @@ aph
cls_double_va.c
file
155551
@@ -2238,7 +2238,7 @@ andreast
cls_pointer_stack.c
file
155548
@@ -2986,7 +2986,7 @@ aph
stret_large2.c
file
155548
@@ -3126,11 +3126,11 @@ file
2009-12-20T06:01:57.951813Z
0975f1a6228b3fa9cb4aa9ad0971df85
2009-06-16T10:15:31.432585Z
148521
aph
2010-01-12T13:53:13.744999Z
94ddbe50a41192f72cce1a94e88f327f
2010-01-07T20:35:33.358709Z
155710
ro
@@ -3152,7 +3152,7 @@ aph
2574
2636
cls_align_longdouble.c
file
@@ -3228,11 +3228,11 @@ file
2009-12-20T06:01:57.951813Z
157a65bbf1f2ffea80bf4657214771cf
2009-06-16T10:15:31.432585Z
148521
aph
2010-01-12T13:53:13.746013Z
e2793918ba20624ce732ad88c3d61093
2010-01-07T20:35:33.358709Z
155710
ro
@@ -3254,7 +3254,7 @@ aph
1382
1444
return_ll.c
file
@@ -3462,15 +3462,15 @@ aph
ffitest.h
file
155550
2010-01-01T12:32:57.612320Z
91d3eace525dd3fdece89ebb069dd8a5
2010-01-01T12:36:07.805985Z
155550
green
2010-01-12T13:53:13.747013Z
14775c89efa8ec6961cb5cc6e4e18b9c
2010-01-07T20:35:33.358709Z
155710
ro
@@ -3492,7 +3492,7 @@ green
2171
2447
cls_16byte.c
file
@@ -3632,7 +3632,7 @@ aph
cls_longdouble_va.c
file
155551
@@ -3836,15 +3836,15 @@ aph
stret_medium2.c
file
155548
2009-12-31T17:54:32.267337Z
db952271eda288e8fd1e9b7c2addf6ab
2010-01-01T12:26:49.969276Z
155548
green
2010-01-12T13:53:13.747013Z
9e86da993ed48e9e5e4b8abd4cded2b2
2010-01-07T20:35:33.358709Z
155710
ro
@@ -3866,7 +3866,7 @@ green
3827
3889
negint.c
file

View File

@@ -5,6 +5,7 @@
Originator: <hos@tamanegi.org> 20031203 */
/* { dg-do run } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h"
typedef struct cls_struct_align {

View File

@@ -6,6 +6,7 @@
/* { dg-do run } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h"
typedef struct cls_struct_align {

View File

@@ -5,6 +5,7 @@
Originator: <andreast@gcc.gnu.org> 20030828 */
/* { dg-do run } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h"
static void cls_ret_ulonglong_fn(ffi_cif* cif __UNUSED__, void* resp,

View File

@@ -60,6 +60,18 @@
#define PRIuLL "llu"
#endif
/* Tru64 UNIX kludge. */
#if defined(__alpha__) && defined(__osf__)
/* Tru64 UNIX V4.0 doesn't support %lld/%lld, but long is 64-bit. */
#undef PRIdLL
#define PRIdLL "ld"
#undef PRIuLL
#define PRIuLL "lu"
#define PRId64 "ld"
#define PRIu64 "lu"
#define PRIuPTR "lu"
#endif
/* PA HP-UX kludge. */
#if defined(__hppa__) && defined(__hpux__) && !defined(PRIuPTR)
#define PRIuPTR "lu"

View File

@@ -5,6 +5,7 @@
Originator: <andreast@gcc.gnu.org> 20050222 */
/* { dg-do run } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h"
static long long return_ll(int ll0, long long ll1, int ll2)
{

View File

@@ -7,6 +7,7 @@
Originator: Blake Chaffin 6/21/2007 */
/* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h"
typedef struct struct_72byte {

View File

@@ -5,6 +5,7 @@
Originator: <hos@tamanegi.org> 20031203 */
/* { dg-do run } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h"
typedef struct cls_struct_align {

View File

@@ -6,6 +6,7 @@
/* { dg-do run } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h"
typedef struct cls_struct_align {

View File

@@ -5,6 +5,7 @@
Originator: <andreast@gcc.gnu.org> 20030828 */
/* { dg-do run } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h"
static void cls_ret_ulonglong_fn(ffi_cif* cif __UNUSED__, void* resp,

View File

@@ -60,6 +60,18 @@
#define PRIuLL "llu"
#endif
/* Tru64 UNIX kludge. */
#if defined(__alpha__) && defined(__osf__)
/* Tru64 UNIX V4.0 doesn't support %lld/%lld, but long is 64-bit. */
#undef PRIdLL
#define PRIdLL "ld"
#undef PRIuLL
#define PRIuLL "lu"
#define PRId64 "ld"
#define PRIu64 "lu"
#define PRIuPTR "lu"
#endif
/* PA HP-UX kludge. */
#if defined(__hppa__) && defined(__hpux__) && !defined(PRIuPTR)
#define PRIuPTR "lu"

View File

@@ -5,6 +5,7 @@
Originator: <andreast@gcc.gnu.org> 20050222 */
/* { dg-do run } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h"
static long long return_ll(int ll0, long long ll1, int ll2)
{

View File

@@ -7,6 +7,7 @@
Originator: Blake Chaffin 6/21/2007 */
/* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h"
typedef struct struct_72byte {