Skip to content
This repository was archived by the owner on Oct 3, 2021. It is now read-only.

Commit 9f6e36f

Browse files
preprocessed files
1 parent 70e4455 commit 9f6e36f

File tree

2 files changed

+130
-130
lines changed

2 files changed

+130
-130
lines changed

c/ldv-races/race-3_2-container_of-global.i

Lines changed: 63 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ typedef signed short int __int16_t;
88
typedef unsigned short int __uint16_t;
99
typedef signed int __int32_t;
1010
typedef unsigned int __uint32_t;
11-
__extension__ typedef signed long long int __int64_t;
12-
__extension__ typedef unsigned long long int __uint64_t;
11+
typedef signed long int __int64_t;
12+
typedef unsigned long int __uint64_t;
1313
typedef __int8_t __int_least8_t;
1414
typedef __uint8_t __uint_least8_t;
1515
typedef __int16_t __int_least16_t;
@@ -18,49 +18,48 @@ typedef __int32_t __int_least32_t;
1818
typedef __uint32_t __uint_least32_t;
1919
typedef __int64_t __int_least64_t;
2020
typedef __uint64_t __uint_least64_t;
21-
__extension__ typedef long long int __quad_t;
22-
__extension__ typedef unsigned long long int __u_quad_t;
23-
__extension__ typedef long long int __intmax_t;
24-
__extension__ typedef unsigned long long int __uintmax_t;
25-
__extension__ typedef __uint64_t __dev_t;
26-
__extension__ typedef unsigned int __uid_t;
27-
__extension__ typedef unsigned int __gid_t;
28-
__extension__ typedef unsigned long int __ino_t;
29-
__extension__ typedef __uint64_t __ino64_t;
30-
__extension__ typedef unsigned int __mode_t;
31-
__extension__ typedef unsigned int __nlink_t;
32-
__extension__ typedef long int __off_t;
33-
__extension__ typedef __int64_t __off64_t;
34-
__extension__ typedef int __pid_t;
35-
__extension__ typedef struct { int __val[2]; } __fsid_t;
36-
__extension__ typedef long int __clock_t;
37-
__extension__ typedef unsigned long int __rlim_t;
38-
__extension__ typedef __uint64_t __rlim64_t;
39-
__extension__ typedef unsigned int __id_t;
40-
__extension__ typedef long int __time_t;
41-
__extension__ typedef unsigned int __useconds_t;
42-
__extension__ typedef long int __suseconds_t;
43-
__extension__ typedef int __daddr_t;
44-
__extension__ typedef int __key_t;
45-
__extension__ typedef int __clockid_t;
46-
__extension__ typedef void * __timer_t;
47-
__extension__ typedef long int __blksize_t;
48-
__extension__ typedef long int __blkcnt_t;
49-
__extension__ typedef __int64_t __blkcnt64_t;
50-
__extension__ typedef unsigned long int __fsblkcnt_t;
51-
__extension__ typedef __uint64_t __fsblkcnt64_t;
52-
__extension__ typedef unsigned long int __fsfilcnt_t;
53-
__extension__ typedef __uint64_t __fsfilcnt64_t;
54-
__extension__ typedef int __fsword_t;
55-
__extension__ typedef int __ssize_t;
56-
__extension__ typedef long int __syscall_slong_t;
57-
__extension__ typedef unsigned long int __syscall_ulong_t;
21+
typedef long int __quad_t;
22+
typedef unsigned long int __u_quad_t;
23+
typedef long int __intmax_t;
24+
typedef unsigned long int __uintmax_t;
25+
typedef unsigned long int __dev_t;
26+
typedef unsigned int __uid_t;
27+
typedef unsigned int __gid_t;
28+
typedef unsigned long int __ino_t;
29+
typedef unsigned long int __ino64_t;
30+
typedef unsigned int __mode_t;
31+
typedef unsigned long int __nlink_t;
32+
typedef long int __off_t;
33+
typedef long int __off64_t;
34+
typedef int __pid_t;
35+
typedef struct { int __val[2]; } __fsid_t;
36+
typedef long int __clock_t;
37+
typedef unsigned long int __rlim_t;
38+
typedef unsigned long int __rlim64_t;
39+
typedef unsigned int __id_t;
40+
typedef long int __time_t;
41+
typedef unsigned int __useconds_t;
42+
typedef long int __suseconds_t;
43+
typedef int __daddr_t;
44+
typedef int __key_t;
45+
typedef int __clockid_t;
46+
typedef void * __timer_t;
47+
typedef long int __blksize_t;
48+
typedef long int __blkcnt_t;
49+
typedef long int __blkcnt64_t;
50+
typedef unsigned long int __fsblkcnt_t;
51+
typedef unsigned long int __fsblkcnt64_t;
52+
typedef unsigned long int __fsfilcnt_t;
53+
typedef unsigned long int __fsfilcnt64_t;
54+
typedef long int __fsword_t;
55+
typedef long int __ssize_t;
56+
typedef long int __syscall_slong_t;
57+
typedef unsigned long int __syscall_ulong_t;
5858
typedef __off64_t __loff_t;
5959
typedef char *__caddr_t;
60-
__extension__ typedef int __intptr_t;
61-
__extension__ typedef unsigned int __socklen_t;
60+
typedef long int __intptr_t;
61+
typedef unsigned int __socklen_t;
6262
typedef int __sig_atomic_t;
63-
__extension__ typedef __int64_t __time64_t;
6463
static __inline __uint16_t
6564
__bswap_16 (__uint16_t __bsx)
6665
{
@@ -91,7 +90,7 @@ __uint64_identity (__uint64_t __x)
9190
{
9291
return __x;
9392
}
94-
typedef unsigned int size_t;
93+
typedef long unsigned int size_t;
9594
typedef __time_t time_t;
9695
struct timespec
9796
{
@@ -228,29 +227,28 @@ struct __pthread_rwlock_arch_t
228227
unsigned int __writers_futex;
229228
unsigned int __pad3;
230229
unsigned int __pad4;
231-
unsigned char __flags;
232-
unsigned char __shared;
233-
signed char __rwelision;
234-
unsigned char __pad2;
235230
int __cur_writer;
231+
int __shared;
232+
signed char __rwelision;
233+
unsigned char __pad1[7];
234+
unsigned long int __pad2;
235+
unsigned int __flags;
236236
};
237-
typedef struct __pthread_internal_slist
237+
typedef struct __pthread_internal_list
238238
{
239-
struct __pthread_internal_slist *__next;
240-
} __pthread_slist_t;
239+
struct __pthread_internal_list *__prev;
240+
struct __pthread_internal_list *__next;
241+
} __pthread_list_t;
241242
struct __pthread_mutex_s
242243
{
243244
int __lock ;
244245
unsigned int __count;
245246
int __owner;
247+
unsigned int __nusers;
246248
int __kind;
247249

248-
unsigned int __nusers;
249-
__extension__ union
250-
{
251-
struct { short __espins; short __eelision; } __elision_data;
252-
__pthread_slist_t __list;
253-
};
250+
short __spins; short __elision;
251+
__pthread_list_t __list;
254252

255253
};
256254
struct __pthread_cond_s
@@ -294,14 +292,14 @@ typedef unsigned int pthread_key_t;
294292
typedef int pthread_once_t;
295293
union pthread_attr_t
296294
{
297-
char __size[36];
295+
char __size[56];
298296
long int __align;
299297
};
300298
typedef union pthread_attr_t pthread_attr_t;
301299
typedef union
302300
{
303301
struct __pthread_mutex_s __data;
304-
char __size[24];
302+
char __size[40];
305303
long int __align;
306304
} pthread_mutex_t;
307305
typedef union
@@ -313,7 +311,7 @@ typedef union
313311
typedef union
314312
{
315313
struct __pthread_rwlock_arch_t __data;
316-
char __size[32];
314+
char __size[56];
317315
long int __align;
318316
} pthread_rwlock_t;
319317
typedef union
@@ -324,15 +322,15 @@ typedef union
324322
typedef volatile int pthread_spinlock_t;
325323
typedef union
326324
{
327-
char __size[20];
325+
char __size[32];
328326
long int __align;
329327
} pthread_barrier_t;
330328
typedef union
331329
{
332330
char __size[4];
333331
int __align;
334332
} pthread_barrierattr_t;
335-
typedef int __jmp_buf[6];
333+
typedef long int __jmp_buf[8];
336334
enum
337335
{
338336
PTHREAD_CREATE_JOINABLE,
@@ -500,11 +498,11 @@ struct __pthread_cleanup_frame
500498
int __cancel_type;
501499
};
502500
extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf)
503-
__attribute__ ((__regparm__ (1)));
501+
;
504502
extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf)
505-
__attribute__ ((__regparm__ (1)));
503+
;
506504
extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf)
507-
__attribute__ ((__regparm__ (1))) __attribute__ ((__noreturn__))
505+
__attribute__ ((__noreturn__))
508506
__attribute__ ((__weak__))
509507
;
510508
struct __jmp_buf_tag;
@@ -885,7 +883,7 @@ extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)
885883
extern int __uflow (FILE *);
886884
extern int __overflow (FILE *, int);
887885

888-
typedef long int wchar_t;
886+
typedef int wchar_t;
889887

890888
typedef enum
891889
{

0 commit comments

Comments
 (0)