From 033eb5671769a4c681a44aad08a454e667e08502 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Wed, 17 Oct 2018 13:56:05 +0000 Subject: Run selftests for C++ as well as C gcc/ChangeLog: * Makefile.in (SELFTEST_TARGETS): New. (selftest) Change from s-selftest-c to $(SELFTEST_TARGETS). (C_SELFTEST_FLAGS, C_SELFTEST_DEPS, s-selftest-c, selftest-c-gdb) (selftest-gdb, selftest-c-valgrind, selftest-valgrind): Move to c/Make-lang.in. (CPP_SELFTEST_FLAGS, CPP_SELFTEST_DEPS, s-selftest-c++) (selftest-c++-gdb, selftest-c++-valgrind): Move to cp/Make-lang.in. * configure: Regenerate. * configure.ac (selftest_languages): New. gcc/brig/ChangeLog: * Make-lang.in (selftest-brig): New. gcc/c/ChangeLog: * Make-lang.in (selftest-c): New. (C_SELFTEST_FLAGS, C_SELFTEST_DEPS, s-selftest-c, selftest-c-gdb) (selftest-gdb, selftest-c-valgrind, selftest-valgrind): Move here from gcc/Makefile.in. gcc/cp/ChangeLog: * Make-lang.in (selftest-c++): New. (CPP_SELFTEST_FLAGS, CPP_SELFTEST_DEPS, s-selftest-c++) (selftest-c++-gdb, selftest-c++-valgrind): Move here from gcc/Makefile.in. gcc/fortran/ChangeLog: * Make-lang.in (selftest-fortran): New. gcc/go/ChangeLog: * Make-lang.in (selftest-go): New. gcc/jit/ChangeLog: * Make-lang.in (selftest-jit): New. gcc/lto/ChangeLog: * Make-lang.in (selftest-lto): New. gcc/objc/ChangeLog: * Make-lang.in (selftest-objc): New. gcc/objcp/ChangeLog: * Make-lang.in (selftest-obj-c++): New. From-SVN: r265240 --- gcc/objcp/ChangeLog | 4 ++++ gcc/objcp/Make-lang.in | 3 +++ 2 files changed, 7 insertions(+) (limited to 'gcc/objcp') diff --git a/gcc/objcp/ChangeLog b/gcc/objcp/ChangeLog index b8a9793..26de7cb 100644 --- a/gcc/objcp/ChangeLog +++ b/gcc/objcp/ChangeLog @@ -1,3 +1,7 @@ +2018-10-17 David Malcolm + + * Make-lang.in (selftest-obj-c++): New. + 2018-05-07 Nathan Sidwell * objcp-lang.c (objcxx_init_ts): Don't call init_shadowed_var_for_decl. diff --git a/gcc/objcp/Make-lang.in b/gcc/objcp/Make-lang.in index 5a03999..c98286b 100644 --- a/gcc/objcp/Make-lang.in +++ b/gcc/objcp/Make-lang.in @@ -126,6 +126,9 @@ obj-c++.tags: force lang_checks += check-obj-c++ +# No objc-c++-specific selftests +selftest-obj-c++: + # # Install hooks: # cc1objplus is installed elsewhere as part of $(COMPILERS). -- cgit v1.1