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

     1  /* PR c/6358
     2     This testcase ICEd on IA-32 in foo, because current_function_return_rtx
     3     was assigned a hard register only after expand_null_return was called,
     4     thus return pseudo was clobbered twice and the hard register not at
     5     all.  */
     6  
     7  void baz (void);
     8                         
     9  double foo (void)
    10  {
    11    baz ();
    12    return;
    13  }
    14  
    15  double bar (void)
    16  {
    17    baz ();
    18  }