Commit 8c4294b2 by David Malcolm Committed by David Malcolm

Add ggc-tests.c

gcc/ChangeLog:
	* Makefile.in (OBJS): Add ggc-tests.o.
	(GTFILES): Add ggc-tests.c.
	* ggc-tests.c: New file.
	* selftest-run-tests.c (selftest::run_tests): Call
	selftest::ggc_tests_c_tests.
	* selftest.h (selftest::ggc_tests_c_tests): New prototype.

From-SVN: r237309
parent 18c9b7d4
2016-06-10 David Malcolm <dmalcolm@redhat.com>
* Makefile.in (OBJS): Add ggc-tests.o.
(GTFILES): Add ggc-tests.c.
* ggc-tests.c: New file.
* selftest-run-tests.c (selftest::run_tests): Call
selftest::ggc_tests_c_tests.
* selftest.h (selftest::ggc_tests_c_tests): New prototype.
2016-06-10 Alexander Monakov <amonakov@ispras.ru> 2016-06-10 Alexander Monakov <amonakov@ispras.ru>
* match.pd (-1 / B < A): Use :c to avoid pattern duplication. * match.pd (-1 / B < A): Use :c to avoid pattern duplication.
......
...@@ -1270,6 +1270,7 @@ OBJS = \ ...@@ -1270,6 +1270,7 @@ OBJS = \
gcse.o \ gcse.o \
gcse-common.o \ gcse-common.o \
ggc-common.o \ ggc-common.o \
ggc-tests.o \
gimple.o \ gimple.o \
gimple-builder.o \ gimple-builder.o \
gimple-expr.o \ gimple-expr.o \
...@@ -2398,6 +2399,7 @@ GTFILES = $(CPP_ID_DATA_H) $(srcdir)/input.h $(srcdir)/coretypes.h \ ...@@ -2398,6 +2399,7 @@ GTFILES = $(CPP_ID_DATA_H) $(srcdir)/input.h $(srcdir)/coretypes.h \
$(srcdir)/emit-rtl.c $(srcdir)/except.h $(srcdir)/explow.c $(srcdir)/expr.c \ $(srcdir)/emit-rtl.c $(srcdir)/except.h $(srcdir)/explow.c $(srcdir)/expr.c \
$(srcdir)/expr.h \ $(srcdir)/expr.h \
$(srcdir)/function.c $(srcdir)/except.c \ $(srcdir)/function.c $(srcdir)/except.c \
$(srcdir)/ggc-tests.c \
$(srcdir)/gcse.c $(srcdir)/godump.c \ $(srcdir)/gcse.c $(srcdir)/godump.c \
$(srcdir)/lists.c $(srcdir)/optabs-libfuncs.c \ $(srcdir)/lists.c $(srcdir)/optabs-libfuncs.c \
$(srcdir)/profile.c $(srcdir)/mcf.c \ $(srcdir)/profile.c $(srcdir)/mcf.c \
......
This diff is collapsed. Click to expand it.
...@@ -48,6 +48,7 @@ selftest::run_tests () ...@@ -48,6 +48,7 @@ selftest::run_tests ()
vec_c_tests (); vec_c_tests ();
pretty_print_c_tests (); pretty_print_c_tests ();
wide_int_cc_tests (); wide_int_cc_tests ();
ggc_tests_c_tests ();
/* Mid-level data structures. */ /* Mid-level data structures. */
input_c_tests (); input_c_tests ();
......
...@@ -47,6 +47,7 @@ extern void et_forest_c_tests (); ...@@ -47,6 +47,7 @@ extern void et_forest_c_tests ();
extern void fold_const_c_tests (); extern void fold_const_c_tests ();
extern void function_tests_c_tests (); extern void function_tests_c_tests ();
extern void gimple_c_tests (); extern void gimple_c_tests ();
extern void ggc_tests_c_tests ();
extern void hash_map_tests_c_tests (); extern void hash_map_tests_c_tests ();
extern void hash_set_tests_c_tests (); extern void hash_set_tests_c_tests ();
extern void input_c_tests (); extern void input_c_tests ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment