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

     1  /* PR optimization/8396 */
     2  /* Originator: <papadopo@shfj.cea.fr> */
     3  
     4  /* Verify that the tree inliner doesn't mess up the types
     5     when passing the value of read-only constant arguments.  */
     6  
     7  static inline bar(const short int xs, const short int xe)
     8  {
     9    if (xe && (xs < xe))
    10      ;
    11  }
    12    
    13  void f()
    14  {
    15    short int xe;
    16  
    17    bar(0, xe);
    18  }