PATCH: change splay_tree_key & splay_tree_value types to void*

Jeffrey A Law law@cygnus.com
Tue Aug 29 15:34:00 GMT 2000


  In message < 200008252105.OAA24749@kayak.mcgary.org >you write:
  > Splay trees with string keys & values need to store bounds,
  > so a `long' doesn't do the job.  I changed `long' to `void*',
  > but that might be too naive if GCC supports architectures
  > for which sizeof (long) > sizeof (void*).  If we need
  > to handle that, then I guess we should make these types
  > unions.
We do support those kinds of architectures as targets and possibly 
one day as natives.

jeff



More information about the Gcc-patches mailing list