Commit ce3904da by Ian Bolton Committed by Ian Bolton

Fix pr59597.c test to work with PIC variants too

From-SVN: r207541
parent 155b4fcc
2014-02-06 Ian Bolton <ian.bolton@arm.com>
* gcc.dg/tree-ssa/pr59597.c: Make called function static
so that expected outcome works for PIC variants too.
2014-02-06 Yury Gribov <y.gribov@samsung.com>
Kugan Vivekanandarajah <kuganv@linaro.org>
......
......@@ -8,7 +8,8 @@ typedef unsigned int u32;
u32 f[NNN], t[NNN];
u16 Calc_crc8(u8 data, u16 crc )
static u16
Calc_crc8 (u8 data, u16 crc)
{
u8 i=0,x16=0,carry=0;
for (i = 0; i < 8; i++)
......@@ -31,7 +32,9 @@ u16 Calc_crc8(u8 data, u16 crc )
}
return crc;
}
int main (int argc, char argv[])
int
main (int argc, char argv[])
{
int i, j; u16 crc;
for (j = 0; j < 10000000; j++)
......
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