diff options
author | DJ Delorie <dj@redhat.com> | 2001-12-13 00:05:32 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2001-12-13 00:05:32 +0000 |
commit | ae53364610e53bb7551c33dbb85adc6442cdf412 (patch) | |
tree | febf3b523fdd9a310fd9e54ea92288b859abf072 /libiberty/cplus-dem.c | |
parent | 2072249c02b4187eff14568389f16a7df0bbbdc9 (diff) | |
download | gdb-ae53364610e53bb7551c33dbb85adc6442cdf412.zip gdb-ae53364610e53bb7551c33dbb85adc6442cdf412.tar.gz gdb-ae53364610e53bb7551c33dbb85adc6442cdf412.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/cplus-dem.c')
-rw-r--r-- | libiberty/cplus-dem.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c index a35ff14..159f8d5 100644 --- a/libiberty/cplus-dem.c +++ b/libiberty/cplus-dem.c @@ -574,6 +574,9 @@ consume_count (type) (*type)++; } + if (count < 0) + count = -1; + return (count); } |