PATCH: PR testsuite/35558: Untested g++.dg/tls/static-1a.cc

H.J. Lu hjl.tools@gmail.com
Thu Mar 13 19:45:00 GMT 2008


Hi,

dg-additional-files is called when compiling source code if there is

{ dg-additional-sources "static-1a.cc" }

check_runtime_nocache is called when there is

{ dg-require-effective-target tls_runtime }

When both are in the same test source file, we will do run time
check with additional sources, which don't exist in the same
directory where the run time check source is, and the run time
check will fail. However, those additional sources aren't needed
for run time check.

This patch avoids adding those additional sources for run-time
check. OK to install if pass on Linux/Intel64?


H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-runtime-1.patch
Type: text/x-patch
Size: 1805 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080313/61a1f2cb/attachment.bin>


More information about the Gcc-patches mailing list