2 /* { dg-do compile } */
3 /* { dg-options "-O3" } */
5 typedef struct p7_profile_s
{} P7_PROFILE
;
7 p7T_S
= 4, p7T_N
= 5, p7T_E
= 7, p7T_C
= 8, p7T_J
= 10, };
8 typedef struct p7_trace_s
{} P7_TRACE
;
9 typedef struct p7_gmx_s
{
12 static inline int select_c(const P7_PROFILE
*gm
, const P7_GMX
*pp
, const P7_GMX
*gx
, int i
) {
14 return ((path
[0] > path
[1]) ? p7T_C
: p7T_E
);
16 void p7_GOATrace(const P7_PROFILE
*gm
, const P7_GMX
*pp
, const P7_GMX
*gx
, P7_TRACE
*tr
) {
19 while (sprv
!= p7T_S
) {
20 switch (sprv
) { case p7T_C
: scur
= select_c(gm
, pp
, gx
, i
); break; }
21 if ( (scur
== p7T_N
|| scur
== p7T_J
|| scur
== p7T_C
) && scur
== sprv
) i
--;