diff options
| author | seyko <seyko2@gmail.com> | 2015-03-03 15:44:29 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-03-03 15:44:29 +0300 |
| commit | c45a8695ebbcbad812993d530e69bfa2de33f131 (patch) | |
| tree | 375856311bfbf5df5fa6eaed82f44bf7ec40842f /tccpe.c | |
| parent | 6fd4e5bace73a260ab45a12f5588aa7bd3431f49 (diff) | |
| download | tinycc-c45a8695ebbcbad812993d530e69bfa2de33f131.tar.gz tinycc-c45a8695ebbcbad812993d530e69bfa2de33f131.tar.bz2 | |
A reverse of the commit 14745bdeb because of the problems while compiling linux 2.4.26
A test program:
///////////
typedef unsigned int __u32;
static inline const __u32 __fswab32(__u32 x)
{
return ({ __u32 __tmp = (x) ; ___swab32(__tmp); });
}
void func()
{
int aaa = 1;
int snd_wnd = 2;
int TCP_FLAG_ACK = 3;
int pred_flags = (__builtin_constant_p((__u32)
(((aaa << 26) |
(__builtin_constant_p((__u32)((TCP_FLAG_ACK))) ?
({ __u32 __x = (((TCP_FLAG_ACK))); ((__u32)( (((__u32)(__x) & (__u32)0x000000ffUL) << 24) | (((__u32)(__x) & (__u32)0x0000ff00UL) << 8) | (((__u32)(__x) & (__u32)0x00ff0000UL) >> 8) | (((__u32)(__x) & (__u32)0xff000000UL) >> 24) )); }) : __fswab32(((TCP_FLAG_ACK)))) | snd_wnd))) ? ({ __u32 __x = ((((aaa << 26) | (__builtin_constant_p((__u32)((TCP_FLAG_ACK))) ? ({ __u32 __x = (((TCP_FLAG_ACK))); ((__u32)( (((__u32)(__x) & (__u32)0x000000ffUL) << 24) | (((__u32)(__x) & (__u32)0x0000ff00UL) << 8) | (((__u32)(__x) & (__u32)0x00ff0000UL) >> 8) | (((__u32)(__x) & (__u32)0xff000000UL) >> 24) )); }) : __fswab32(((TCP_FLAG_ACK)))) | snd_wnd))); ((__u32)( (((__u32)(__x) & (__u32)0x000000ffUL) << 24) | (((__u32)(__x) & (__u32)0x0000ff00UL) << 8) | (((__u32)(__x) & (__u32)0x00ff0000UL) >> 8) | (((__u32)(__x) & (__u32)0xff000000UL) >> 24) )); }) : __fswab32((((aaa << 26) | (__builtin_constant_p((__u32)((TCP_FLAG_ACK))) ? ({ __u32 __x = (((TCP_FLAG_ACK))); ((__u32)( (((__u32)(__x) & (__u32)0x000000ffUL) << 24) | (((__u32)(__x) & (__u32)0x0000ff00UL) << 8) | (((__u32)(__x) & (__u32)0x00ff0000UL) >> 8) | (((__u32)(__x) & (__u32)0xff000000UL) >> 24) )); })
: __fswab32(((TCP_FLAG_ACK)))) | snd_wnd))));
}
////////////
error: ';' expected (got "(")
Diffstat (limited to 'tccpe.c')
0 files changed, 0 insertions, 0 deletions
