diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2023-05-02 19:57:47 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2023-05-08 15:59:24 +0200 |
commit | d6654a4be3ba44c0d57be7c8a51d76d9721345e1 (patch) | |
tree | e2ae8ad9809ff65faaabe26242710a1a0730d737 /libgfortran/libgfortran.spec.in | |
parent | 130c2f3c3acd0963aeab64b77bd6b578e698a2f6 (diff) | |
download | gcc-d6654a4be3ba44c0d57be7c8a51d76d9721345e1.zip gcc-d6654a4be3ba44c0d57be7c8a51d76d9721345e1.tar.gz gcc-d6654a4be3ba44c0d57be7c8a51d76d9721345e1.tar.bz2 |
Let each 'lto_init' determine the default 'LTO_OPTIONS', and 'torture-init' the 'LTO_TORTURE_OPTIONS'
Otherwise, for example for 'RUNTESTFLAGS' of '--target_board=unix\{-m64,-m32\}'
vs. '--target_board=unix\{-m32,-m64\}', both variants exercise testing with
always the first flag variant's 'LTO_OPTIONS'/'LTO_TORTURE_OPTIONS', which
results in unequal test results between the two 'RUNTESTFLAGS' variants if one
of the flag variants has 'check_linker_plugin_available' but the other doesn't.
Fix-up for r180245 (commit c1a7cdbbcca90ad5260bfc543f8c10f3514e76c1)
"Update testsuite to run with slim LTO".
gcc/testsuite/
* g++.dg/guality/guality.exp: Move 'torture-init' earlier.
* gcc.dg/guality/guality.exp: Likewise.
* gfortran.dg/guality/guality.exp: Likewise.
* lib/c-torture.exp (LTO_TORTURE_OPTIONS): Don't set.
* lib/gcc-dg.exp (LTO_TORTURE_OPTIONS): Don't set.
* lib/lto.exp (lto_init, lto_finish): Let each 'lto_init'
determine the default 'LTO_OPTIONS'.
* lib/torture-options.exp (torture-init, torture-finish): Let each
'torture-init' determine the 'LTO_TORTURE_OPTIONS'.
Diffstat (limited to 'libgfortran/libgfortran.spec.in')
0 files changed, 0 insertions, 0 deletions