This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r248138 - in /trunk/gcc/testsuite: ChangeLog gc...
- From: saaadhu at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 17 May 2017 05:51:16 -0000
- Subject: r248138 - in /trunk/gcc/testsuite: ChangeLog gc...
Author: saaadhu
Date: Wed May 17 05:50:37 2017
New Revision: 248138
URL: https://gcc.gnu.org/viewcvs?rev=248138&root=gcc&view=rev
Log:
Fix bogus pr78886.c failure for avr
The test fails for avr because malloc has been declared to take
an unsigned long, whereas size_t for avr is only unsigned int.
Fixed by typedef'ing __SIZE_TYPE__ to size_t and using it in the
malloc function declaration.
gcc/testsuite/
2017-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
* gcc.dg/tree-ssa/pr78886.c: Use __SIZE_TYPE__ instead of
unsigned long.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/tree-ssa/pr78886.c