* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr34334.c
blob5fa60a35604984e393b365600931ac0502b5d079
1 /* { dg-skip-if "ptxas times out" { nvptx-*-* } { "*" } { "-O0" } } */
2 __extension__ typedef __SIZE_TYPE__ size_t;
3 __extension__ typedef long long int __quad_t;
4 __extension__ typedef unsigned int __mode_t;
5 __extension__ typedef __quad_t __off64_t;
6 typedef __mode_t mode_t;
7 typedef __off64_t off_t;
8 struct timeval {};
9 typedef struct {} fd_set;
10 typedef union {} __pthread_slist_t;
11 typedef union {
12 struct __pthread_mutex_s { __extension__ union { }; } __data;
14 extern int stat64 (__const char *__restrict __file, struct stat64 *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
15 extern int fstatat64 (int __fd, __const char *__restrict __file, struct stat64 *__restrict __buf, int __flag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
16 enum __socket_type { SOCK_STREAM = 1, };
17 enum { SI_ASYNCNL = -60, };
18 enum { CLD_EXITED = 1, };
19 typedef struct sigaltstack { } stack_t;
20 enum __rlimit_resource { __RLIMIT_SIGPENDING = 11, };
21 struct rlimit { };
22 enum __priority_which { PRIO_PROCESS = 0, };
23 typedef union { } __WAIT_STATUS __attribute__ ((__transparent_union__));
24 union wait {
25 struct { } __wait_stopped;
27 typedef enum { P_ALL, } idtype_t;
28 struct utsname { };
29 enum { IPPROTO_IP = 0, };
30 enum { IPPORT_ECHO = 7, };
31 struct in_addr { };
32 struct in6_addr {
33 union { } in6_u;
35 typedef long int wchar_t;
36 typedef unsigned char guint8;
37 typedef signed int gint32;
38 typedef unsigned int guint32;
39 typedef signed int gssize;
40 typedef unsigned int gsize;
41 struct _GStaticMutex {
42 union { } static_mutex;
44 union _GSystemThread { };
45 typedef int GPid;
46 typedef char gchar;
47 typedef int gint;
48 typedef gint gboolean;
49 typedef unsigned short gushort;
50 typedef unsigned long gulong;
51 typedef unsigned int guint;
52 typedef void* gpointer;
53 typedef const void *gconstpointer;
54 typedef gboolean (*GEqualFunc) (gconstpointer a, gconstpointer b);
55 typedef void (*GFunc) (gpointer data, gpointer user_data);
56 typedef void (*GHFunc) (gpointer key, gpointer user_data);
57 struct _GTimeVal { };
58 typedef struct _GByteArray GByteArray;
59 guint8* g_byte_array_free (GByteArray *array, guint index_);
60 typedef guint32 GQuark;
61 typedef struct _GError GError;
62 GError* g_error_new (GQuark domain, const gchar *message);
63 gboolean g_error_matches (const GError *error, gint code);
64 typedef __builtin_va_list __gnuc_va_list;
65 typedef __gnuc_va_list va_list;
66 typedef enum { G_USER_DIRECTORY_DESKTOP, } GUserDirectory;
67 typedef enum { G_THREAD_PRIORITY_URGENT } GThreadPriority;
68 struct _GThread { };
69 typedef struct _GCond GCond;
70 struct _GThreadFunctions {
71 void (*cond_wait) (GCond *cond, GError **error);
72 gboolean (*thread_equal) (gpointer thread1, gpointer thread2);
74 typedef struct _GAsyncQueue GAsyncQueue;
75 void g_async_queue_sort (GAsyncQueue *queue, guint *save);
76 struct tm { };
77 typedef struct __locale_struct { } *__locale_t;
78 extern int getaddrinfo (__const char *__restrict __name, struct addrinfo **__restrict __pai);
79 typedef struct _IO_FILE FILE;
80 __strsep_1c (char **__s, char __reject) { }
81 __strsep_2c (char **__s, char __reject1, char __reject2) { }
82 typedef struct stack_st { } STACK;
83 typedef struct asn1_string_st ASN1_BIT_STRING;
84 typedef struct bn_mont_ctx_st BN_MONT_CTX;
85 typedef struct evp_cipher_st EVP_CIPHER;
86 typedef struct EDIPartyName_st {
87 union { } d;
88 } GENERAL_NAME;
89 typedef struct DIST_POINT_NAME_st {
90 union { } name;
91 } DIST_POINT_NAME;
92 typedef struct SXNET_st { } NOTICEREF;
93 typedef struct GENERAL_SUBTREE_st { } X509_PURPOSE;
94 int X509V3_add_value(const char *name, const char *value, STACK **extlist);
95 int X509_PURPOSE_add(int id, int trust, int flags, char *name, char *sname, void *arg);
96 extern char *dcgettext (__const char *__domainname, __const char *__msgid, int __category) __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
97 enum { __LC_CTYPE = 0, };
98 struct lconv { };
99 typedef enum gftp_logging_level_tag { gftp_logging_send, } gftp_logging_level;
100 struct gftp_file_tag {
101 char *file, *destfile;
102 unsigned int selected : 1,
103 is_fd : 1;
104 gint32 ipv4_network_address, ipv4_netmask;
105 } gftp_proxy_hosts;
106 typedef enum { gftp_option_type_text = 0, } gftp_option_type_enum;
107 typedef struct gftp_config_list_vars_tag { } gftp_config_list_vars;
108 typedef struct gftp_config_vars_tag { } gftp_config_vars;
109 typedef struct gftp_option_type_tag {
110 int (*read_function) (char *str, gftp_config_vars * cv, int line);
111 int (*write_function) (gftp_config_vars * cv, char *buf, size_t buflen, int to_config_file);
112 } gftp_option_type_var;
113 typedef struct gftp_request_tag gftp_request;
114 typedef void (*gftp_logging_func) ( gftp_logging_level level, const char *string, ... );
115 typedef struct gftp_transfer_tag {
116 gftp_request * fromreq, * toreq;
117 unsigned int cancel : 1,
118 skip_file : 1;
119 long numfiles, resumed_bytes;
120 } gftp_transfer;
121 typedef struct gftp_log_tag {
122 unsigned int shown : 1,
123 use_threads : 1;
124 } supported_gftp_protocols;
125 void
126 gftp_config_parse_args (char *str, int numargs, int lineno, char **first, ...)
128 char *curpos, *endpos, *pos, **dest, tempchar;
129 va_list argp;
130 dest = first;
131 while (numargs > 0)
133 if (numargs > 1)
135 dest = __builtin_va_arg(argp,char **);
136 *dest = ((void *)0);
138 numargs--;
139 **dest = '\0';