lto testsuite may erase mathlib variable

BELBACHIR Selim selim.belbachir@fr.thalesgroup.com
Fri Jan 3 13:57:00 GMT 2014


Hi,

I noticed a problem in gcc/testsuite/g++.dg/lto/lto.exp

If the target does not support LTO (check_effective_target_lto) a brutal return is performed so the mathlib variable modified in lto_init will not be restored properly by lto_finish at the end of the script.

Subsequent testsuites will found an empty mathlib.

Regards,

Selim


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 893 bytes
Desc: patch
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20140103/636a7464/attachment.obj>


More information about the Gcc mailing list