r197379 - in /branches/gupc/gcc: ChangeLog.upc ...
gfunck@gcc.gnu.org
gfunck@gcc.gnu.org
Tue Apr 2 23:45:00 GMT 2013
Author: gfunck
Date: Tue Apr 2 23:45:11 2013
New Revision: 197379
URL: http://gcc.gnu.org/viewcvs?rev=197379&root=gcc&view=rev
Log:
Revert revision 178346 (2011-08-30)
which changed the prototype of check_qualified_type and related
functions so that their parameters were just 'tree' and not
'const_tree'. This seemed necessary at the time because of a
change to TYPE_BLOCK_FACTOR(), which in turn called function
that hashed the type node pointer. The hash functions did
not accept "const void *" pointers. Implement a work around
that removes this restriction.
* c/c-typeck.c: Revert.
* tree.c: Revert.
* tree.h: Revert. Change prototype of upc_block_factor_lookup()
to accept a 'const_tree' pointer to a type node.
* c-family/stub-upc.c (upc_block_factor_lookup): Update prototype.
* upc/upc-act.c (upc_block_factor_lookup): Accept const_tree
input argument and convert this to 'tree' for use with hash function.
Modified:
branches/gupc/gcc/ChangeLog.upc
branches/gupc/gcc/c-family/stub-upc.c
branches/gupc/gcc/c/c-typeck.c
branches/gupc/gcc/tree.c
branches/gupc/gcc/tree.h
branches/gupc/gcc/upc/ChangeLog
branches/gupc/gcc/upc/upc-act.c
More information about the Gcc-cvs
mailing list