URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [vect/] [pr45470-b.cc] - Rev 717
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O1 -ftree-vectorize -fno-vect-cost-model -fnon-call-exceptions" } */ template < typename _Tp > struct new_allocator { typedef _Tp * pointer; template < typename > struct rebind { typedef new_allocator other; }; }; template < typename _Tp > struct allocator:public new_allocator < _Tp > {}; template < typename _Tp, typename _Alloc > struct _Vector_base { typedef typename _Alloc::template rebind < _Tp >::other _Tp_alloc_type; struct { typename _Tp_alloc_type::pointer _M_start; typename _Tp_alloc_type::pointer _M_finish; typename _Tp_alloc_type::pointer _M_end_of_storage; }; }; template < typename _Tp, typename _Alloc = allocator < _Tp > >struct vector:_Vector_base < _Tp, _Alloc > { typedef _Vector_base < _Tp, _Alloc > _Base; vector ():_Base () {} ~vector (); } ; struct LoadGraph { LoadGraph (int); vector < struct _GdkColor >colors; vector < float >data_block; }; LoadGraph::LoadGraph (int) {} /* { dg-final { cleanup-tree-dump "vect" } } */
Go to most recent revision | Compare with Previous | Blame | View Log