/* { dg-require-effective-target long_double_ibm128 } */ /* { dg-options "-O2 -ffloat-store -fgcse -fnon-call-exceptions -fno-forward-propagate -fno-omit-frame-pointer -fstack-protector-all" } */ /* { dg-add-options long_double_ibm128 } */ /* Verify there is no ICE. */ template struct b { static constexpr int c = a; }; template using d = b; struct e { int f; int g () { return __builtin_ceil (f / (long double) h); } float h; }; template using k = d; template class n { public: e ae; void af (); }; template void n::af () { ae.g (); } template using m = int; template ::c>> using aj = n; struct o { void af () { al.af (); } aj al; }; template class am; template class ao { protected: static i *ap (int); }; template class p; template class p : ao { public: static ar as (const int &p1, j...) { (*ao::ap (p1)) (j ()...); } }; template class am { template using av = int; public: template , void>, typename = av> am (i); using aw = ar (*) (const int &, j...); aw ax; }; template template am::am (i) { ax = p::as; } struct G { void ba (am); }; struct q { q () { G a; a.ba (r ()); } struct r { void operator() (o p1) try { p1.af (); } catch (int) { } }; } s;