aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-ifcombine.c
diff options
context:
space:
mode:
authorMarcel Böhme <boehme.marcel@gmail.com>2016-04-08 12:10:21 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2016-04-08 12:10:21 +0000
commitbdf66f7734daf0d2a8f53eb5a1a94a94a28246fc (patch)
treecfa89c5025da2434c49ea375c858dac4c4e7233d /gcc/tree-ssa-ifcombine.c
parent59dad006fa31fe3355defcd6b38ab70fd7d2737f (diff)
downloadgcc-bdf66f7734daf0d2a8f53eb5a1a94a94a28246fc.zip
gcc-bdf66f7734daf0d2a8f53eb5a1a94a94a28246fc.tar.gz
gcc-bdf66f7734daf0d2a8f53eb5a1a94a94a28246fc.tar.bz2
Fix memory allocation size overflows (PR69687, patch by Marcel Böhme)
PR c++/69687 * cplus-dem.c: Include <limits.h> if available. (INT_MAX): Define if necessary. (remember_type, remember_Ktype, register_Btype, string_need): Abort if we detect cases where we the size of the allocation would overflow. From-SVN: r234829
Diffstat (limited to 'gcc/tree-ssa-ifcombine.c')
0 files changed, 0 insertions, 0 deletions