2014-10-30 Richard Biener <rguenther@suse.de>
commit80c3d8cfbee4261191eb22419c2145ff70aa49b7
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Oct 2014 15:41:45 +0000 (30 15:41 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Oct 2014 15:41:45 +0000 (30 15:41 +0000)
treec5e0462a35b1e8a51050239cd3e22abc7b3b38e6
parent2a2d01bbba41f13b47a772ad118d1041e4798f8e
2014-10-30  Richard Biener  <rguenther@suse.de>

* genmatch.c: Remove <map>, <utility> and <string> includes.
Include ggc.h and hash-map.h.
(ggc_internal_cleared_alloc): Provide stub definition.
(ggc_free): Likewise.
(struct capture_id_map_hasher): New traits for hash_map.
(cid_map_t): New typedef.
(everywhere else): Replace std::map use with cid_map_t.
* hash-map.h (hash_map::elements): New member function.
* Makefile.in (build/genmatch.o): Add $(HASH_TABLE_H),
hash-map.h and $(GGC_H) as dependency.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216940 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/genmatch.c
gcc/hash-map.h