comparison gcc/varray.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
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
60 VARRAY_DATA_TREE_PTR, 60 VARRAY_DATA_TREE_PTR,
61 NUM_VARRAY_DATA 61 NUM_VARRAY_DATA
62 }; 62 };
63 63
64 /* Union of various array types that are used. */ 64 /* Union of various array types that are used. */
65 typedef union varray_data_tag GTY (()) { 65 typedef union GTY (()) varray_data_tag {
66 char GTY ((length ("%0.num_elements"), 66 char GTY ((length ("%0.num_elements"),
67 tag ("VARRAY_DATA_C"))) vdt_c[1]; 67 tag ("VARRAY_DATA_C"))) vdt_c[1];
68 unsigned char GTY ((length ("%0.num_elements"), 68 unsigned char GTY ((length ("%0.num_elements"),
69 tag ("VARRAY_DATA_UC"))) vdt_uc[1]; 69 tag ("VARRAY_DATA_UC"))) vdt_uc[1];
70 short GTY ((length ("%0.num_elements"), 70 short GTY ((length ("%0.num_elements"),
108 tree *GTY ((length ("%0.num_elements"), skip (""), 108 tree *GTY ((length ("%0.num_elements"), skip (""),
109 tag ("VARRAY_DATA_TREE_PTR"))) vdt_tp[1]; 109 tag ("VARRAY_DATA_TREE_PTR"))) vdt_tp[1];
110 } varray_data; 110 } varray_data;
111 111
112 /* Virtual array of pointers header. */ 112 /* Virtual array of pointers header. */
113 struct varray_head_tag GTY(()) { 113 struct GTY(()) varray_head_tag {
114 size_t num_elements; /* Maximum element number allocated. */ 114 size_t num_elements; /* Maximum element number allocated. */
115 size_t elements_used; /* The number of elements used, if 115 size_t elements_used; /* The number of elements used, if
116 using VARRAY_PUSH/VARRAY_POP. */ 116 using VARRAY_PUSH/VARRAY_POP. */
117 enum varray_data_enum type; /* The kind of elements in the varray. */ 117 enum varray_data_enum type; /* The kind of elements in the varray. */
118 const char *name; /* name of the varray for reporting errors */ 118 const char *name; /* name of the varray for reporting errors */