This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, testsuite] Fix PASS->UNSUPPORTED on g++.dg/tls/static-1.C


On Thu, May 24, 2007 at 11:34:01AM -0700, Adam Nemet wrote:
> The patch in http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00763.html
> introduced the above transition.
> 
> The problem is that ${tool}_target_compile compiles not only the
> SOURCE file that is passed to it but also files mentioned in
> dg-additional-source.  It finds these and the files in
> dg-additional-file relative to SOURCE.  When running feature tests in
> target-supports.exp SOURCE is generated and resides in the testsuite
> directory so additional files are not found.
> 
> My patch derives a new function ${tool}_target_compile_file that
> clears the value of dg-additional-* temporarily before calling
> ${tool}_target_compile.
> 
> Tested on x86_64-unknown-linux-gnu and mipsisa64-elf.
> 
> OK for mainline and release branches?
> 

Does your patch fix

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32064

If not, can you fix it? Basically, we need to make sure that
all proper just built target libraries are searched/used when
they are tested.

Thanks.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]