re PR testsuite/52641 (Test cases fail for 16-bit int targets)

PR testsuite/52641
	PR tree-optimization/52631
	* gcc.dg/tree-ssa/pr52631.c: Fix 16-bit int.

From-SVN: r196428
This commit is contained in:
Georg-Johann Lay 2013-03-04 11:12:30 +00:00 committed by Georg-Johann Lay
parent 5eb010bcfc
commit e303dcce6a
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2013-03-04 Georg-Johann Lay <avr@gjlay.de>
PR testsuite/52641
PR tree-optimization/52631
* gcc.dg/tree-ssa/pr52631.c: Fix 16-bit int.
2013-03-03 David Edelsohn <dje.gcc@gmail.com>
* gcc.dg/vect/vect-82_64.c: Skip on AIX.

View File

@ -3,7 +3,11 @@
unsigned f(unsigned a)
{
#if __SIZEOF_INT__ == 2
unsigned b = a >> 15;
#else
unsigned b = a >> 31;
#endif
return b&1;
}