Commit 59dad006 by Marcel Böhme Committed by Bernd Schmidt

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
parent c3da4956
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>
Marcel Bohme boehme.marcel@gmail.com
......
......@@ -3001,6 +3001,11 @@ gnu_special (struct work_stuff *work, const char **mangled, string *declp)
success = 1;
break;
}
else if (n == -1)
{
success = 0;
break;
}
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment