1 /* { dg-do compile } */
2 /* { dg-options "-O1 -minline-all-stringops -minline-stringops-dynamically" } */
6 extern double ran(void);
15 int spec_random_load (int fd
) {
17 char random_text
[(32)][(128*1024)];
19 for (j
= 0; j
< (128*1024); j
++) {
20 random_text
[i
][j
] = (int)(ran()*256);
23 for (i
= 0 ; i
< spec_fd
[fd
].limit
; i
+= (128*1024)) {
24 memcpy(spec_fd
[fd
].buf
+ i
, random_text
[(int)(ran()*(32))],
28 spec_fd
[fd
].len
= 1024*1024;