Commit ac2c96ab by Andrew Pinski Committed by Andrew Pinski

20160802-1.c: New testcase.

2016-08-03  Andrew Pinski  <apinski@cavium.com>

        * gcc.c-torture/compile/20160802-1.c: New testcase.

From-SVN: r239099
parent f177a3d1
2016-08-03 Andrew Pinski <apinski@cavium.com>
* gcc.c-torture/compile/20160802-1.c: New testcase.
2016-08-03 Fritz Reese <fritzoreese@gmail.com>
* gfortran.dg/dec_intrinsic_ints.f90: New testcase.
......
long g (long width, unsigned long byte) {
long r_hi = 0;
unsigned long r_lo = 0;
int s;
for (s = 0; s < width; s += 8)
{
int d = width - s - 8;
if (s < (8 * 8))
r_hi |= byte << (d - (8 * 8));
}
return r_lo + r_hi;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment