[Patch,testsuite,AVR]: target-supports.exp: AVR does not support TLS

Georg-Johann Lay avr@gjlay.de
Mon Oct 10 10:38:00 GMT 2011


The auto-detect machinery fails to correctly detect that TLS is not supported
on AVR.  This leads to gross noise of several hundreds of FAILs in testsuite.

This patch explicitly tells that AVR doesn't support TLS.

Lightly tested with testsuite run on avr-unknown-none where tests like
gcc.dg/debug/tls-1.c ran into ICE are UNSUPPORTED now.

Okay for trunk?

testsuite/
	* lib/target-supports.exp (check_effective_target_tls): AVR has no
	support for TLS.
	(check_effective_target_tls_native): Ditto.
	(check_effective_target_tls_emulated): Ditto.
	(check_effective_target_tls_runtime): Ditto.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: avr-no-tls.diff
Type: text/x-patch
Size: 1644 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111010/a7e0a757/attachment.bin>


More information about the Gcc-patches mailing list