summaryrefslogtreecommitdiff
path: root/gcc/vec.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/vec.h')
-rw-r--r--gcc/vec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/vec.h b/gcc/vec.h
index 42d1c1f6310..d0cc477688b 100644
--- a/gcc/vec.h
+++ b/gcc/vec.h
@@ -287,7 +287,7 @@ static inline TDEF VEC_OP (TDEF,last) \
{ \
VEC_ASSERT (vec_ && vec_->num, "last", TDEF); \
\
- return vec_->vec[vec->num - 1]; \
+ return vec_->vec[vec_->num - 1]; \
} \
\
static inline TDEF VEC_OP (TDEF,index) \