diff options
author | Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> | 2017-04-25 12:06:04 +0000 |
---|---|---|
committer | Senthil Kumar Selvaraj <saaadhu@gcc.gnu.org> | 2017-04-25 12:06:04 +0000 |
commit | c9e9c3ac4d6554fc26f540b95ad3f1ef9eccfc26 (patch) | |
tree | fe116c4edb92ef5e2fbdf325c51d1ab7aff50c27 /gcc/tree-chkp-opt.c | |
parent | 904a2ae4e30147cebb7eedad48d76f8bda9e3080 (diff) | |
download | gcc-c9e9c3ac4d6554fc26f540b95ad3f1ef9eccfc26.zip gcc-c9e9c3ac4d6554fc26f540b95ad3f1ef9eccfc26.tar.gz gcc-c9e9c3ac4d6554fc26f540b95ad3f1ef9eccfc26.tar.bz2 |
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.
From-SVN: r247203
Diffstat (limited to 'gcc/tree-chkp-opt.c')
0 files changed, 0 insertions, 0 deletions