Adjust v850 rotate expander to allow more cases for V850E3V5
[official-gcc.git] / gcc / testsuite / g++.dg / ipa / pr78188.C
blobf6ee654471e0433c1211beff1aea637ffc9b06b0
1 // { dg-do compile }
2 // { dg-options "-O2 -fno-exceptions" }
4 int a;
5 static void __attribute__((noinline)) foo () { a = 1; }
6 static void __attribute__((noinline)) foo2 () { a = 2; }
8 struct X
10   virtual void bar (int i) { if (!i) { foo (); __builtin_abort (); } }
13 void baz (int i)
15   if (!i)
16      { foo2 (); __builtin_abort (); }
19 X xx;