annotate gcc/testsuite/gcc.c-torture/compile/pr34334.c @ 131:84e7813d76e9

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