This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r247203 - in /trunk/gcc/testsuite: ChangeLog gc...
- From: saaadhu at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 25 Apr 2017 12:06:05 -0000
- Subject: r247203 - in /trunk/gcc/testsuite: ChangeLog gc...
Author: saaadhu
Date: Tue Apr 25 12:06:04 2017
New Revision: 247203
URL: https://gcc.gnu.org/viewcvs?rev=247203&root=gcc&view=rev
Log:
Fix broken attr-alloc_size-10.c for avr
Integer promotion combined with equal sizes for short and int (16 bits)
causes overflow warnings when expanding the TEST macro for USHRT_MAX.
Fix by explicitly disabling overflow warnings for targets with !int32plus.
gcc/testsuite/
2017-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
* gcc.dg/attr-alloc_size-10.c: Ignore overflow warnings
for targets with int size less than 32 bits.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/attr-alloc_size-10.c