1 /* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O2 -fselective-scheduling -fsel-sched-pipelining" } */
4 typedef struct TypHeader
7 struct TypHeader
**ptr
;
10 extern TypHandle
NewBag (unsigned int type
, unsigned long size
);
11 typedef unsigned long TypPoint32
;
14 QuoPP (TypHandle hdL
, TypHandle hdR
)
25 degL
= ((hdL
)->size
) / sizeof (TypPoint32
);
26 degR
= ((hdR
)->size
) / sizeof (TypPoint32
);
27 degC
= degL
< degR
? degR
: degL
;
28 hdC
= NewBag (9, (unsigned long) (degC
* sizeof (TypPoint32
)));
29 ptC
= (TypPoint32
*) ((TypHandle
*) ((hdC
)->ptr
));
31 for (p
= 0; p
< degC
; p
++)
32 ptC
[(((p
) < (degR
)) ? (ptR
)[(p
)] : (p
))] =
33 ((((((p
) < (degL
)) ? (ptL
)[(p
)] : (p
))) <
34 (degR
)) ? (ptR
)[((((p
) < (degL
)) ? (ptL
)[(p
)] : (p
)))]
35 : ((((p
) < (degL
)) ? (ptL
)[(p
)] : (p
))));