OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [tree-ssa/] [pr22444.C] - Blame information for rev 307

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// PR tree-optimization/22444
2
// When creating SFT's, we shouldn't add the original variable
3
// to the addressable vars list, because this may cause false aliasing
4
// with the subvars leading to the subvars not being renamed when they should
5
// { dg-do compile }
6
// { dg-options "-O2" }
7
__extension__ typedef __PTRDIFF_TYPE__ ptrdiff_t;
8
__extension__ typedef __SIZE_TYPE__ size_t;
9
namespace std
10
{
11
  template struct pair
12
  {
13
    _T1 first;
14
    _T2 second;
15
    pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) { }
16
  };
17
}
18
namespace __gnu_internal
19
{
20
  typedef char __one;
21
  template __one __test_type(int _Tp::*);
22
}
23
namespace std
24
{
25
  template struct ___is_pod
26
  {
27
    enum { __value = (sizeof(__gnu_internal::__test_type<_Tp>(0))!= sizeof(__gnu_internal::__one)) };
28
  };
29
  template struct iterator
30
  { };
31
  template struct iterator_traits
32
  {
33
    typedef typename _Iterator::difference_type difference_type;
34
  };
35
  template class reverse_iterator : public iterator::iterator_category, typename iterator_traits<_Iterator>::value_type, typename iterator_traits<_Iterator>::difference_type, typename iterator_traits<_Iterator>::pointer, typename iterator_traits<_Iterator>::reference>
36
  {
37
    typedef _Iterator iterator_type;
38
    typedef typename iterator_traits<_Iterator>::difference_type difference_type;
39
    typedef typename iterator_traits<_Iterator>::reference reference;
40
    reverse_iterator operator+(difference_type __n) const {}
41
    reverse_iterator& operator+=(difference_type __n) { }
42
    reference operator[](difference_type __n) const { }
43
  };
44
}
45
namespace __gnu_cxx
46
{
47
  template class __pool;
48
  template