modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/builtins/strnlen.x (about)

     1  # At -Og no pass records the global range information
     2  # necessary to optimize the strnlen calls down to
     3  # a constant.  The framework assumes that the test
     4  # will never call strnlen when the optimizer is
     5  # enabled.  So we filter out the -Og run here.
     6  
     7  set torture_eval_before_compile {
     8    if {[string match {*-Og*} "$option"]} {
     9      continue
    10    }
    11  }
    12  
    13  return 0
    14