| 1 |
/* { dg-require-effective-target int32plus } */ |
| 2 |
/* { dg-skip-if "Array too big" { "pdp11-*-*" } { "-mint32" } } */ |
| 3 |
|
| 4 |
struct peakbufStruct { |
| 5 |
unsigned int lnum [5000]; |
| 6 |
int lscan [5000][4000]; |
| 7 |
double lmz [5000][4000]; |
| 8 |
double lint [5000][4000]; |
| 9 |
int PeaksInBuf; |
| 10 |
unsigned char freelists [350000]; |
| 11 |
unsigned char freelistl [5000]; |
| 12 |
unsigned int LastFreeL; |
| 13 |
} peakbuf; |
| 14 |
void foo(int); |
| 15 |
void findmzROI(int i, int *p_scan) |
| 16 |
{ |
| 17 |
foo(peakbuf.PeaksInBuf); |
| 18 |
__builtin_memmove(p_scan, peakbuf.lscan[i], peakbuf.lnum[i]*sizeof(int)); |
| 19 |
} |