Lines Matching refs:a
10 int a; in test() local
12 a + ++a; // expected-warning {{unsequenced modification and access to 'a'}} in test()
13 a = ++a; // expected-warning {{multiple unsequenced modifications to 'a'}} in test()
14 a + a++; // expected-warning {{unsequenced modification and access to 'a'}} in test()
15 a = a++; // expected-warning {{multiple unsequenced modifications to 'a'}} in test()
16 (a++, a++); // ok in test()
17 ++a + ++a; // expected-warning {{multiple unsequenced modifications}} in test()
18 a++ + a++; // expected-warning {{multiple unsequenced modifications}} in test()
19 a = xs[++a]; // expected-warning {{multiple unsequenced modifications}} in test()
20 a = xs[a++]; // expected-warning {{multiple unsequenced modifications}} in test()
21 a = (++a, ++a); // expected-warning {{multiple unsequenced modifications}} in test()
22 a = (a++, ++a); // expected-warning {{multiple unsequenced modifications}} in test()
23 a = (a++, a++); // expected-warning {{multiple unsequenced modifications}} in test()
24 f(a, a); // ok in test()
25 f(a = 0, a); // expected-warning {{unsequenced modification and access}} in test()
26 f(a, a += 0); // expected-warning {{unsequenced modification and access}} in test()
27 f(a = 0, a = 0); // expected-warning {{multiple unsequenced modifications}} in test()
28 a = f(++a, 0); // ok in test()
29 a = f(a++, 0); // ok in test()
30 a = f(++a, a++); // expected-warning {{multiple unsequenced modifications}} in test()
32 ++a + f(++a, 0); // expected-warning {{multiple unsequenced modifications}} in test()
33 f(++a, 0) + ++a; // expected-warning {{multiple unsequenced modifications}} in test()
34 a++ + f(a++, 0); // expected-warning {{multiple unsequenced modifications}} in test()
35 f(a++, 0) + a++; // expected-warning {{multiple unsequenced modifications}} in test()
37 a = ++a; // expected-warning {{multiple unsequenced modifications}} in test()
38 a += ++a; // expected-warning {{unsequenced modification and access}} in test()
40 A agg1 = { a++, a++ }; // expected-warning {{multiple unsequenced modifications}} in test()
41 A agg2 = { a++ + a, a++ }; // expected-warning {{unsequenced modification and access}} in test()
43 (xs[2] && (a = 0)) + a; // expected-warning {{unsequenced modification and access to 'a'}} in test()
44 (0 && (a = 0)) + a; // ok in test()
45 (1 && (a = 0)) + a; // expected-warning {{unsequenced modification and access}} in test()
47 (xs[3] || (a = 0)) + a; // expected-warning {{unsequenced modification and access to 'a'}} in test()
48 (0 || (a = 0)) + a; // expected-warning {{unsequenced modification and access}} in test()
49 (1 || (a = 0)) + a; // ok in test()
51 (xs[4] ? a : ++a) + a; // expected-warning {{unsequenced modification and access to 'a'}} in test()
52 (0 ? a : ++a) + a; // expected-warning {{unsequenced modification and access}} in test()
53 (1 ? a : ++a) + a; // ok in test()
54 (xs[5] ? ++a : ++a) + a; // expected-warning {{unsequenced modification and access to 'a'}} in test()
56 (++a, xs[6] ? ++a : 0) + a; // expected-warning {{unsequenced modification and access}} in test()
60 a += (a++, a) + a; // expected-warning {{unsequenced modification and access}} in test()
63 a = *(a++, p); // ok in test()
64 a = a++ && a; // ok in test()
74 a = a++ && f(a, a); in test()
77 (a && a++) + a; // expected-warning {{unsequenced modification and access to 'a'}} in test()
80 …(xs[7] && ++a) * (!xs[7] && ++a); // expected-warning {{multiple unsequenced modifications to 'a'}} in test()
82 xs[0] = (a = 1, a); // ok in test()
84 xs[8] ? ++a + a++ : 0; // expected-warning {{multiple unsequenced modifications}} in test()
85 xs[8] ? 0 : ++a + a++; // expected-warning {{multiple unsequenced modifications}} in test()
86 xs[8] ? ++a : a++; // ok in test()
88 xs[8] && (++a + a++); // expected-warning {{multiple unsequenced modifications}} in test()
89 xs[8] || (++a + a++); // expected-warning {{multiple unsequenced modifications}} in test()
91 (__builtin_classify_type(++a) ? 1 : 0) + ++a; // ok in test()
92 (__builtin_constant_p(++a) ? 1 : 0) + ++a; // ok in test()
93 …(__builtin_expect(++a, 0) ? 1 : 0) + ++a; // expected-warning {{multiple unsequenced modifications… in test()
94 _Generic(++a, default: 0) + ++a; // ok in test()
95 sizeof(++a) + ++a; // ok in test()
96 _Alignof(++a) + ++a; // expected-warning {{extension}} in test()
98 __builtin_constant_p(f(++a, 0)) ? f(f(++a, 0), f(++a, 0)) : 0; in test()
100 if (0) ++a + ++a; // ok, unreachable in test()