1 /* This test was supplied with PR target/5379. It caused the compiler
2 to get a segmentation fault. */
4 /* { dg-do compile } */
5 /* { dg-options "-O2 -fprefetch-loop-arrays -w" } */
6 /* { dg-options "-O2 -fprefetch-loop-arrays -march=athlon" { target i?86-*-* } } */
7 /* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
9 extern int access( char* );
14 _KDE_IceGetPoValidAuthIndices (protocol_name
, num_indices_ret
, indices_ret
)
15 const char *protocol_name
;
23 if (!(filename
= foocp ()))
26 if (access (filename
))
29 if (auth_file
= access (filename
))
34 if (strcmp (protocol_name
, protocol_name
) == 0 )
36 for (i
= 0; i
< *num_indices_ret
; i
++)
37 if (index_ret
== indices_ret
[i
])