Commit 9c78ecc2 by Pat Haugen Committed by Pat Haugen

pr59354.c: Move vector producing code to separate function.

	* gcc.dg/vect/pr59354.c: Move vector producing code to separate function.

From-SVN: r221066
parent 5bcd1ab3
2015-02-27 Pat Haugen <pthaugen@us.ibm.com>
* gcc.dg/vect/pr59354.c: Move vector producing code to separate function.
2015-02-27 Jan Hubicka <hubicka@ucw.cz> 2015-02-27 Jan Hubicka <hubicka@ucw.cz>
PR ipa/65237 PR ipa/65237
......
...@@ -8,12 +8,11 @@ void abort (void); ...@@ -8,12 +8,11 @@ void abort (void);
unsigned int a[256]; unsigned int a[256];
unsigned char b[256]; unsigned char b[256];
int main() __attribute__ ((noinline)) void
main1()
{ {
int i, z, x, y; int i, z, x, y;
check_vect ();
for(i = 0; i < 256; i++) for(i = 0; i < 256; i++)
{ {
a[i] = i % 5; a[i] = i % 5;
...@@ -27,6 +26,13 @@ int main() ...@@ -27,6 +26,13 @@ int main()
if (b[4] != 1) if (b[4] != 1)
abort (); abort ();
}
int main (void)
{
check_vect ();
main1 ();
return 0; return 0;
} }
......
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