mirror of git://gcc.gnu.org/git/gcc.git
Handle an overflow case (PR70498, patch by Marcel Böhme).
PR c++/70498 * cplus-dem.c (gnu_special): Handle case where consume_count returns -1. From-SVN: r234828
This commit is contained in:
parent
c3da495616
commit
59dad006fa
|
@ -1,3 +1,9 @@
|
||||||
|
2016-04-08 Marcel Böhme <boehme.marcel@gmail.com>
|
||||||
|
|
||||||
|
PR c++/70498
|
||||||
|
* cplus-dem.c (gnu_special): Handle case where consume_count returns
|
||||||
|
-1.
|
||||||
|
|
||||||
2016-03-31 Mikhail Maltsev <maltsevm@gmail.com>
|
2016-03-31 Mikhail Maltsev <maltsevm@gmail.com>
|
||||||
Marcel Bohme boehme.marcel@gmail.com
|
Marcel Bohme boehme.marcel@gmail.com
|
||||||
|
|
||||||
|
|
|
@ -3001,6 +3001,11 @@ gnu_special (struct work_stuff *work, const char **mangled, string *declp)
|
||||||
success = 1;
|
success = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
else if (n == -1)
|
||||||
|
{
|
||||||
|
success = 0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue