r211937 - in /trunk/gcc: ChangeLog hash-table.h...

tbsaunde@gcc.gnu.org tbsaunde@gcc.gnu.org
Tue Jun 24 13:21:00 GMT 2014


Author: tbsaunde
Date: Tue Jun 24 13:21:53 2014
New Revision: 211937

URL: https://gcc.gnu.org/viewcvs?rev=211937&root=gcc&view=rev
Log:
allow storing values directly in hash tables

gcc/

	* hash-table.h: Add a template arg to choose between storing values
	and storing pointers to values, and then provide partial
	specializations for both.
	* tree-browser.c (tree_upper_hasher): Provide the type the hash table
	should store, not the type values should point to.
	* tree-into-ssa.c (var_info_hasher): Likewise.
	* tree-ssa-dom.c (expr_elt_hasher): Likewise.
	* tree-complex.c: Adjust.
	* tree-hasher.h (int_tree_hasher): store int_tree_map in the hash
	table instead of int_tree_map *.
	* tree-parloops.c: Adjust.
	* tree-ssa-reassoc.c (ocount_hasher): Don't lie to hash_map about what
	type is being stored.
	* tree-vectorizer.c: Adjust.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/hash-table.h
    trunk/gcc/tree-browser.c
    trunk/gcc/tree-complex.c
    trunk/gcc/tree-hasher.h
    trunk/gcc/tree-into-ssa.c
    trunk/gcc/tree-parloops.c
    trunk/gcc/tree-ssa-dom.c
    trunk/gcc/tree-ssa-reassoc.c
    trunk/gcc/tree-vectorizer.c



More information about the Gcc-cvs mailing list