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

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

From-SVN: r221066
This commit is contained in:
Pat Haugen 2015-02-27 18:42:07 +00:00 committed by Pat Haugen
parent 5bcd1ab333
commit 9c78ecc2e6
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,7 @@
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>
PR ipa/65237

View File

@ -8,12 +8,11 @@ void abort (void);
unsigned int a[256];
unsigned char b[256];
int main()
__attribute__ ((noinline)) void
main1()
{
int i, z, x, y;
check_vect ();
for(i = 0; i < 256; i++)
{
a[i] = i % 5;
@ -27,6 +26,13 @@ int main()
if (b[4] != 1)
abort ();
}
int main (void)
{
check_vect ();
main1 ();
return 0;
}