Skip to content
Snippets Groups Projects
Commit d0cb4057 authored by Jozef Lawrynowicz's avatar Jozef Lawrynowicz Committed by Jozef Lawrynowicz
Browse files

attr-alloc_size-10.c: Fix calculation of USHRT_MAX to prevent integer overflow when...

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
parent 270819b8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment