Re: Write test case for libstdc++ with C source

2014-06-09 Thread Sebastian Huber
On 04/27/2014 03:01 PM, Sebastian Huber wrote: Hallo, I would like to add a test case to the libstdc++ tests to test for C/C++ compatibility of the atomic operations. A straight forward approach like in the attached patch doesn't work since the "dg-additional-sources" is not supported: ERR

Re: Write test case for libstdc++ with C source

2014-04-27 Thread Andreas Schwab
Sebastian Huber writes: > Is it possible to add a search path to something and avoid this > load_gcc_lib? Just follow the numerous examples that get it right. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now fo

Re: Write test case for libstdc++ with C source

2014-04-27 Thread Sebastian Huber
On 04/27/2014 03:25 PM, Andreas Schwab wrote: Sebastian Huber writes: Since I am not an expert in the GCC test suite scripts, is it possible to add such a test case at all with a moderate amount of work? Just add load_gcc_lib gcc-defs.exp. In libstdc++-v3/testsuite/lib/libstdc++.exp? In th

Re: Write test case for libstdc++ with C source

2014-04-27 Thread Andreas Schwab
Sebastian Huber writes: > Since I am not an expert in the GCC test suite scripts, is it possible to > add such a test case at all with a moderate amount of work? Just add load_gcc_lib gcc-defs.exp. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 175

Write test case for libstdc++ with C source

2014-04-27 Thread Sebastian Huber
Hallo, I would like to add a test case to the libstdc++ tests to test for C/C++ compatibility of the atomic operations. A straight forward approach like in the attached patch doesn't work since the "dg-additional-sources" is not supported: ERROR: 29_atomics/atomic/pr60932-c++.cc: unknown dg