1  /* PR debug/78587 */
       2  /* { dg-do compile } */
       3  /* { dg-additional-options "-w" } */
       4  
       5  extern void bar (void);
       6  
       7  void
       8  foo (long long x)
       9  {
      10    x ^= 9223372036854775808ULL;
      11    bar ();
      12  }
      13  
      14  struct S { int w[4]; } a[1], b;
      15  
      16  void
      17  baz ()
      18  {
      19    int e = (int) baz;
      20    if (e <= -80)
      21      e = 0;
      22    b = a[e];
      23  }