1 /* PR rtl-optimization/45865 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fcompare-debug" } */
5 typedef union tree_node
*tree
;
6 enum ix86_builtin_type
{
10 extern const enum ix86_builtin_type ix86_builtin_type_ptr_base
[];
11 extern tree
build_qualified_type (tree
, int);
12 extern tree
build_pointer_type (tree
);
14 ix86_get_builtin_type (enum ix86_builtin_type tcode
, unsigned int index
)
18 if (tcode
<= IX86_BT_LAST_PTR
)
22 itype
= ix86_get_builtin_type (ix86_builtin_type_ptr_base
[index
],
25 itype
= build_qualified_type (itype
, quals
);
26 type
= build_pointer_type (itype
);