Mercurial > hg > CbC > CbC_gcc
diff include/splay-tree.h @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | f6334be47118 |
line wrap: on
line diff
--- a/include/splay-tree.h Sun Feb 07 18:28:00 2010 +0900 +++ b/include/splay-tree.h Fri Feb 12 23:39:51 2010 +0900 @@ -1,5 +1,6 @@ /* A splay-tree datatype. - Copyright 1998, 1999, 2000, 2002, 2007 Free Software Foundation, Inc. + Copyright 1998, 1999, 2000, 2002, 2005, 2007, 2009 + Free Software Foundation, Inc. Contributed by Mark Mitchell (mark@markmitchell.com). This file is part of GCC. @@ -40,7 +41,13 @@ typedef unsigned long int libi_uhostptr_t; typedef long int libi_shostptr_t; #else +#ifdef __GNUC__ + __extension__ +#endif typedef unsigned long long libi_uhostptr_t; +#ifdef __GNUC__ + __extension__ +#endif typedef long long libi_shostptr_t; #endif @@ -86,8 +93,7 @@ typedef void (*splay_tree_deallocate_fn) (void *, void *); /* The nodes in the splay tree. */ -struct splay_tree_node_s GTY(()) -{ +struct GTY(()) splay_tree_node_s { /* The key. */ splay_tree_key GTY ((use_param1)) key; @@ -100,8 +106,7 @@ }; /* The splay tree itself. */ -struct splay_tree_s GTY(()) -{ +struct GTY(()) splay_tree_s { /* The root of the tree. */ splay_tree_node GTY ((use_params)) root;