summaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2018-01-12 15:43:58 +0100
committerMartin Liska <marxin@gcc.gnu.org>2018-01-12 14:43:58 +0000
commitb27b31dc2d160453e7b05168f1dd195e73cb176b (patch)
treea6dbb2f5ef07d7accb9a8d71b0c192cb21e1b696 /gcc/Makefile.in
parent4a0d0ed28fe9695b95e30b5aea4e45c78420d359 (diff)
downloadgcc-b27b31dc2d160453e7b05168f1dd195e73cb176b.tar.gz
Fix --enable-gather-detailed-mem-stats build.
2018-01-12 Martin Liska <mliska@suse.cz> * Makefile.in: As qsort_chk is implemented in vec.c, add vec.o to linkage of gencfn-macros. * tree.c (build_new_poly_int_cst): Add CXX_MEM_STAT_INFO as it's passing the info to record_node_allocation_statistics. (test_vector_cst_patterns): Add CXX_MEM_STAT_INFO to declaration and pass the info. * ggc-common.c (struct ggc_usage): Add operator== and use it in operator< and compare function. * mem-stats.h (struct mem_usage): Likewise. * vec.c (struct vec_usage): Remove operator< and compare function. Can be simply inherited. From-SVN: r256582
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index fb988cda9d1..f04b8a224c0 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2810,7 +2810,8 @@ genprog = $(genprogerr) check checksum condmd match
build/genautomata$(build_exeext) : BUILD_LIBS += -lm
build/genrecog$(build_exeext) : build/hash-table.o build/inchash.o
-build/gencfn-macros$(build_exeext) : build/hash-table.o build/ggc-none.o
+build/gencfn-macros$(build_exeext) : build/hash-table.o build/vec.o \
+ build/ggc-none.o
# For stage1 and when cross-compiling use the build libcpp which is
# built with NLS disabled. For stage2+ use the host library and