modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/20011217-2.c (about)

     1  /* Test that the initializer of a compound literal is properly walked
     2     when tree inlining.  */
     3  /* Origin: glibc (as reported in PR c/5105) from <aj@suse.de>.  */
     4  
     5  inline int
     6  finite (double __x)
     7  {
     8    return (__extension__
     9  	  (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1]
    10  	     | 0x800fffffu) + 1) >> 31));
    11  }
    12  
    13  int
    14  main (void)
    15  {
    16    double x = 1.0;
    17    
    18    return finite (x);
    19  }