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

     1  /* ICE in subreg_get_info: bug 30311.  */
     2  /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
     3  inline double bar(double x)
     4  {
     5    long double d;
     6    __asm__ ("" : "=t" (d) : "0" (x));
     7    return d;
     8  }
     9  
    10  double foo(double x)
    11  {
    12    if (x)
    13      return bar(x);
    14    else
    15      return bar(x);
    16  }