Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git] / main / gcc / testsuite / gcc.target / arm / pr60650.c
blobbfa7f1e3c675129162c0f1896448af6f962d5136
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-omit-frame-pointer -mabi=apcs-gnu -march=armv7-a" } */
4 struct super_block
6 int s_blocksize_bits;
7 };
8 struct btrfs_fs_info
10 struct super_block *sb;
12 struct btrfs_root
14 struct btrfs_fs_info *fs_info;
15 } *b;
18 int a, c, d;
19 long long e;
21 truncate_one_csum (struct btrfs_root *p1, long long p2, long long p3)
23 int f, g, i = p1->fs_info->sb->s_blocksize_bits;
24 g = a;
25 long long h = p2 + p3;
26 f = foo1 (b, 0, c, 0);
27 e = f / g;
28 e <<= p1->fs_info->sb->s_blocksize_bits;
29 if (d < p2)
31 int j = e - h >> i;
32 foo2 (p1, 0, j);
34 else
36 asm ("1\t.long ");
37 __builtin_unreachable ();