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: New tsan tests.


What's wrong with C++?  :)
Upstream we have 16 .c tests and 106 .cc tests in
compiler-rt/lib/tsan/lit_tests.
We typically prefer .cc because imo C++ is a better language (even
when using what looks like the C subset).
But we need some .c tests to make sure that tsan still works w/o C++ run-time.

--kcc

On Wed, Dec 11, 2013 at 3:12 PM, Yury Gribov <y.gribov@samsung.com> wrote:
>> I guess I can live with it as is, just was wondering why the tests
>> were written so carelessly that when they don't really need to test
>> any C++ features they are still written in C++.
>
> Adding Kostya to comment.
>
> -Y


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