1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mbig-endian" } */
3
4 long long a;
5 enum { NILFS_SEGMENT_USAGE_ACTIVE, NILFS_SEGMENT_USAGE_DIRTY } b;
6 void nilfs_sufile_mod_counter(long long p1) {
7 long c = p1;
8 unsigned d = __builtin_bswap64(a);
9 a = __builtin_bswap64(d + c);
10 }
11 void nilfs_sufile_do_free() {
12 int e, f;
13 e = __builtin_bswap32(b) & 1 << NILFS_SEGMENT_USAGE_DIRTY;
14 f = e;
15 nilfs_sufile_mod_counter(f ? -1 : 0);
16 }