1 /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-require-effective-target powerpc_p8vector_ok } */
4 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */
5 /* { dg-options "-mcpu=power7 -mtune=power8 -O3 -w" } */
7 /* target/67211, compiler got a 'insn does not satisfy its constraints' error. */
9 template <typename _InputIterator, typename _ForwardIterator>
10 void find_first_of(_InputIterator, _InputIterator, _ForwardIterator p3,
11 _ForwardIterator p4) {
12 for (; p3 != p4; ++p3)
16 template <typename, typename, typename> struct A {
23 if (_M_cur == _M_last)
26 void m_fn1(int **p1) {
29 _M_last = _M_first + _S_buffer_size;
33 template <typename _Tp, typename _Ref, typename _Ptr>
34 bool operator==(A<_Tp, _Ref, _Ptr>, A<_Tp, _Ref, _Ptr>);
35 template <typename _Tp, typename _Ref, typename _Ptr>
36 bool operator!=(A<_Tp, _Ref, _Ptr> p1, A<_Tp, _Ref, _Ptr> p2) {
42 A<int, int, int> m_fn2();
48 A<int, int, int> b, c, d;
49 find_first_of(d, c, b, a.j.m_fn2());