diff options
author | Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> | 2016-10-11 10:35:57 +0000 |
---|---|---|
committer | Senthil Kumar Selvaraj <saaadhu@gcc.gnu.org> | 2016-10-11 10:35:57 +0000 |
commit | ddefad9a0845cdd0d648f3c234b1abfaa239612b (patch) | |
tree | 52938ea4db9f91b4f70b45fbf994feaebac0f4a8 /ChangeLog | |
parent | 656b031126ee1679e97b03484cd870d68dd387a9 (diff) | |
download | gcc-ddefad9a0845cdd0d648f3c234b1abfaa239612b.zip gcc-ddefad9a0845cdd0d648f3c234b1abfaa239612b.tar.gz gcc-ddefad9a0845cdd0d648f3c234b1abfaa239612b.tar.bz2 |
Fix gcc.dg/tree-ssa/pr59597.c failure for avr
Declare loop index variable j as a 32 bit int instead of assuming ints
are 32 bits. The smaller int size on the avr makes prior passes optimize
away the loop exit check (j < 10000000), as the constant is outside
the range of a 16 bit int.
gcc/testsuite/ChangeLog
2016-10-11 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
* gcc.dg/tree-ssa/pr59597.c: Typedef __INT32_TYPE__ to i32.
(main): Declare j as i32 instead of int.
From-SVN: r240986
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions