1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fno-ipa-sra -fdump-ipa-inline -fdump-ipa-cp" } */
11 virtual int m_fn1() { return 0; }
12 inline A &operator[](int p1) {
15 static_cast<void>(__builtin_expect(a, 0) ?: 0);
16 return B::operator[](p1);
21 static void sort(C &p1, C &p2) {
32 void update_sources() {
39 /* { dg-final { scan-ipa-dump-times "Discovered a virtual call to a known target" 1 "inline" { xfail *-*-* } } } */
40 /* { dg-final { scan-ipa-dump-times "Aggregate passed by reference" 1 "cp" } } */