[committed] [RISC-V] Skip zbs-ext-2.c for -Oz as well
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr89190.c
blobe622d7081ed01a6318e2c4b3e07598d495bd7e0f
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_arch_v8m_base_ok } */
3 /* { dg-options "-O2" } */
4 /* { dg-add-options arm_arch_v8m_base } */
6 long long a;
7 int b, c;
8 int d(int e, int f) { return e << f; }
9 void g() {
10 long long h;
11 char i = d(b >= 7, 2);
12 c = i == 0 ?: 1 / i;
13 h = c && a ?: c + a;
14 b = h;