Latest gcc svn sources

This commit is contained in:
green
2008-01-29 15:15:20 +00:00
parent 2544e45a0b
commit 77175b3f72
141 changed files with 5242 additions and 2218 deletions

View File

@@ -4,19 +4,20 @@
PR: none.
Originator: Jeff Sturm <jsturm@one-point.com> */
/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
/* { dg-do run } */
#include "ffitestcxx.h"
void
closure_test_fn(ffi_cif* cif, void* resp, void** args, void* userdata)
closure_test_fn(ffi_cif* cif __UNUSED__, void* resp __UNUSED__,
void** args __UNUSED__, void* userdata __UNUSED__)
{
throw 9;
}
typedef void (*closure_test_type)();
void closure_test_fn1(ffi_cif* cif,void* resp,void** args,
void* userdata)
void closure_test_fn1(ffi_cif* cif __UNUSED__, void* resp,
void** args, void* userdata __UNUSED__)
{
*(ffi_arg*)resp =
(int)*(float *)args[0] +(int)(*(float *)args[1]) +
@@ -54,7 +55,6 @@ int main (void)
#endif
ffi_closure *pcl;
ffi_type * cl_arg_types[17];
int res;
#ifdef USING_MMAP
pcl = (ffi_closure *) allocate_mmap (sizeof(ffi_closure));
#else