(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
compile/
20030907-1.c
       1  /* PR 11665 
       2     Orgin: jwhite@cse.unl.edu
       3     The problem was in initializer_constant_valid_p,
       4     "for a CONSTRUCTOR, only the last element
       5     of the CONSTRUCTOR was being checked" 
       6     (from the email of the patch which fixed this).  
       7     This used to ICE because GCC thought gdt_table was a 
       8     constant value when it is not.  */
       9  
      10  int x;
      11  struct gdt
      12  {
      13  unsigned a,b,c,d,e,f;
      14  };
      15  void f()
      16  {
      17  struct gdt gdt_table[2]=
      18  {
      19      {
      20  		0,
      21  		( (((unsigned)(&x))<<(24))&(-1<<(8)) ),
      22      },
      23  };
      24  }
      25