diff options
author | DJ Delorie <dj@delorie.com> | 2001-12-13 00:05:32 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2001-12-13 00:05:32 +0000 |
commit | ef3f34444a5c68d28e63862058f811ec7b078522 (patch) | |
tree | 7fc3a32a57ba691db6af07ac6edcd968a3a8d12f /libiberty/cplus-dem.c | |
parent | 64ed27f89d5e02fc12a7e4851344e1bf1aba9731 (diff) | |
download | gdb-ef3f34444a5c68d28e63862058f811ec7b078522.tar.gz |
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 a35ff14624e..159f8d5aef0 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); } |