Set gcc_force_conventional_output even without LTO linker plugin

gcc/testsuite/

	* lib/gcc-dg.exp: Set gcc_force_conventional_output whenever
	LTO is used.

Set gcc_force_conventional_output even without LTO linker plugin

From-SVN: r241306
This commit is contained in:
Matthew Fortune 2016-10-18 14:12:58 +00:00 committed by Matthew Fortune
parent c502602151
commit f5de494c59
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2016-10-18 Matthew Fortune <matthew.fortune@imgtec.com>
* lib/gcc-dg.exp: Set gcc_force_conventional_output whenever
LTO is used.
2016-10-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
* gcc.dg/sso/sso.exp: Return early if not

View file

@ -87,13 +87,13 @@ if [info exists TORTURE_OPTIONS] {
{ -O2 -flto -fno-use-linker-plugin -flto-partition=none } \
{ -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects }
]
set gcc_force_conventional_output "-ffat-lto-objects"
} else {
set LTO_TORTURE_OPTIONS [list \
{ -O2 -flto -flto-partition=none } \
{ -O2 -flto }
]
}
set gcc_force_conventional_output "-ffat-lto-objects"
}
}