2 // { dg-options "-O2 -fdump-tree-optimized" }
3 // { dg-require-effective-target c++11 }
4 // { dg-skip-if "requires hosted libstdc++ for iostream" { ! hostedlib } }
11 char * buf; int a{0}; int b{0};
12 Buf(char * b) : buf(b) { }
14 ::memcpy(buf, &v, sizeof(v));
20 virtual void fill(Buf &buf) {
25 virtual int type() = 0;
37 struct CBA final : BA {
40 ::std::map<int, int> m;
46 int main(int argc, char ** ) {
54 // { dg-final { scan-tree-dump-not "__builtin_unreachable" "optimized" } }