Throughout the compiler testsuite there are several directories whose tests are run multiple times, each with a different set of options. These are known as torture tests. gcc/testsuite/lib/torture-options.exp defines procedures to set up these lists:
The .exp file for a set of tests that use torture options must include calls to these three procecures if:
gcc-dg-runtestand overrides DG_TORTURE_OPTIONS.
-torture-execute, where tool is
It is not necessary for a .exp file that calls
to call the torture procedures if the tests should use the list in
DG_TORTURE_OPTIONS defined in gcc-dg.exp.
Most uses of torture options can override the default lists by defining TORTURE_OPTIONS in a .dejagnurc file.