1  /* PR tree-optimization/88775 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O2 -fdump-tree-optimized" } */
       4  /* { dg-final { scan-tree-dump-times "return 1;" 10 "optimized" } } */
       5  
       6  int a[64] = {};
       7  int b[64] = {};
       8  
       9  int
      10  f1 (void)
      11  {
      12    return (__UINTPTR_TYPE__) &a[2] != (__UINTPTR_TYPE__) &b[2];
      13  }
      14  
      15  int
      16  f2 (void)
      17  {
      18    return (__UINTPTR_TYPE__) &a[2] != (__UINTPTR_TYPE__) &b[10];
      19  }
      20  
      21  int
      22  f3 (void)
      23  {
      24    return (__UINTPTR_TYPE__) &a[0] != (__UINTPTR_TYPE__) &b[0];
      25  }
      26  
      27  int
      28  f4 (void)
      29  {
      30    return (__UINTPTR_TYPE__) &a[64] != (__UINTPTR_TYPE__) &b[64];
      31  }
      32  
      33  int
      34  f5 (void)
      35  {
      36    int c[64] = {};
      37    return (__UINTPTR_TYPE__) &a[0] != (__UINTPTR_TYPE__) &c[64];
      38  }
      39  
      40  int
      41  f6 (void)
      42  {
      43    int c[64] = {};
      44    return (__UINTPTR_TYPE__) &b[64] != (__UINTPTR_TYPE__) &c[0];
      45  }
      46  
      47  int
      48  f7 (void)
      49  {
      50    int c[64] = {}, d[64] = {};
      51    return (__UINTPTR_TYPE__) &c[2] != (__UINTPTR_TYPE__) &d[2];
      52  }
      53  
      54  int
      55  f8 (void)
      56  {
      57    int c[64] = {}, d[64] = {};
      58    return (__UINTPTR_TYPE__) &c[2] != (__UINTPTR_TYPE__) &d[10];
      59  }
      60  
      61  int
      62  f9 (void)
      63  {
      64    int c[64] = {}, d[64] = {};
      65    return (__UINTPTR_TYPE__) &c[0] != (__UINTPTR_TYPE__) &d[0];
      66  }
      67  
      68  int
      69  f10 (void)
      70  {
      71    int c[64] = {}, d[64] = {};
      72    return (__UINTPTR_TYPE__) &c[64] != (__UINTPTR_TYPE__) &d[64];
      73  }