Hi, In gcc 4.7.3 I found a bug in the testsuite script g++.dg/lto/lto.exp when a target does not support LTO (ENABLE_LTO not defined)
The following lines : if { ![check_effective_target_lto] } { return } Should be called beforeĀ : g++_init lto_init no-mathlib (Like in gcc.dg/lto/lto.exp) Otherwise 'lto_init' may hack board_info (removing the mathlib option) without being restored by 'lto_finish' because of the brutal return after 'check_effective_target_lto' Selim