/* PR target/97682 */ /* { dg-do compile } */ /* { dg-options "-fPIC -O2 -march=rv64g -mabi=lp64" } */ template struct g { ab b[ac]; }; long i, m; namespace std { template struct t { int a; c h; }; struct ad { enum { j }; }; template k l(k); struct al {}; template k aa(k); struct v { template static q o(n, n, q); }; template void p(n z, n ao, q ap) { v::o(z, ao, ap); } template void r(n z, n ao, q ap) { p(z, ao, ap); } template void af(n z, n ao, q) { r(aa(z), aa(ao), 0); } template void ag(n z, n ao, q ap) { af(l(z), l(ao), ap); } template class allocator; template void ak(ah, ai, aj); template class aq { template struct ar { using f = am *; }; public: using an = typename ar::f; }; template class as { public: using an = typename aq::an; an operator->(); }; struct ay { int at(); }; template > class vector : ay { public: long au(); long x; void av() { _M_default_append(x); } void _M_default_append(unsigned long); void aw(); long ax(int); }; template void vector::_M_default_append(unsigned long z) { long az = au(); int w = at(), bc = at(); i = ax(w); m = ax(w); if (i || m) aw(); ak(az, z, bc); } } namespace llvm { template class bh { enum { bf = bd } * bg[bf]; }; template class bi; class bm { using bj = bi; std::as bk; void bl(); }; template struct bn; class br { bh<8> bo; }; class ca { int *d; int e; }; template class bv : std::al, br { g, 8> b; }; template bv bt(ab); class BlockFrequencyInfoImplBase { public: struct FrequencyData; std::vector bu; }; template struct cb { using bw = int; }; template class bi : BlockFrequencyInfoImplBase { using bw = typename cb::bw; public: void bl(); }; template void bi::bl() { const bw *by; bv bz; ag(bz, bt(by), 0); bu.av(); } template <> struct bn { using u = ca; }; void bm::bl() { bk->bl(); } } /* The t1 register is to initial symbol reference for call instruction. */ /* { dg-final { scan-assembler "la\tt1,.*FrequencyData.*_M_default_append.*" } } */