attr-alloc_size-10.c
4.26 KB
-
attr-alloc_size-10.c: Fix calculation of USHRT_MAX to prevent integer overflow when... · d0cb4057
2018-11-08 Jozef Lawrynowicz <jozef.l@mittosystems.com> * gcc.dg/attr-alloc_size-10.c: Fix calculation of USHRT_MAX to prevent integer overflow when sizeof(short) == sizeof(int). * gcc.dg/attr-alloc_size-11.c: Likewise. * gcc.dg/attr-alloc_size-3.c: Likewise. * gcc.dg/attr-alloc_size-5.c: Likewise. * gcc.dg/builtin-stringop-chk-7.c: Likewise. From-SVN: r265928
Jozef Lawrynowicz committed