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

     1  /* PR tree-optimization/39394 */
     2  
     3  char *p;
     4  int x;
     5  
     6  static inline void
     7  f1 (int n)
     8  {
     9    asm volatile ("" : "=m" (*(struct { char x[n]; } *) p));
    10  }
    11  
    12  static inline void
    13  f2 (void)
    14  {
    15    x ? f1 (1) : f1 (2);
    16  }
    17  
    18  static inline void
    19  f3 (void)
    20  {
    21    f2 ();
    22  }
    23  
    24  void
    25  f4 (void)
    26  {
    27    f3 ();
    28  }