[patch] vec.h: Fix a typo.
Kazu Hirata
kazu@cs.umass.edu
Sun Apr 24 03:57:00 GMT 2005
Hi,
While I was trying out VEC_safe_grow, I noticed this typo.
I tested this patch by using VEC_safe_grow elsewhere. Committed as
obvious.
Kazu Hirata
2005-04-24 Kazu Hirata <kazu@cs.umass.edu>
* vec.h (VEC_safe_grow): Replace grow with safe_grow.
Index: vec.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/vec.h,v
retrieving revision 2.25
diff -u -d -p -r2.25 vec.h
--- vec.h 21 Apr 2005 18:05:34 -0000 2.25
+++ vec.h 24 Apr 2005 01:35:19 -0000
@@ -276,7 +276,7 @@ Software Foundation, 59 Temple Place - S
uninitialized. */
#define VEC_safe_grow(T,A,V,I) \
- (VEC_OP(T,A,grow)(&(V),I VEC_CHECK_INFO))
+ (VEC_OP(T,A,safe_grow)(&(V),I VEC_CHECK_INFO))
/* Replace element
T VEC_T_replace (VEC(T) *v, unsigned ix, T val); // Pointer
More information about the Gcc-patches
mailing list