1 /* { dg-do compile } */
2 /* { dg-options "-w -O2 -g -fselective-scheduling2" } */
4 typedef long unsigned int size_t;
9 typedef struct type
*type_p
;
10 typedef const struct type
*const_type_p
;
39 typedef struct outf
*outf_p
;
40 oprintf (outf_p o
, const char *format
, ...)
44 memcpy (o
->buf
+ o
->bufused
, s
, slength
);
46 output_mangled_typename (outf_p of
, const_type_p t
)
50 case TYPE_POINTER
: (fancy_abort ("/gcc/gengtype.c", 1988, __FUNCTION__
));
53 output_type_enum (outf_p of
, type_p s
)
55 if (s
->kind
== TYPE_PARAM_STRUCT
&& s
->u
.param_struct
.line
.file
!= ((void *)0))
57 oprintf (of
, ", gt_e_");
59 else if (((s
)->kind
== TYPE_UNION
|| (s
)->kind
== TYPE_STRUCT
|| (s
)->kind
== TYPE_LANG_STRUCT
) && s
->u
.s
.line
.file
!= ((void *)0))
61 oprintf (of
, ", gt_ggc_e_");
62 output_mangled_typename (of
, s
);
65 oprintf (of
, ", gt_types_enum_last");