This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Reduce array size in libgomp.graphite/force-parallel-2.c to fix PR42135


On Wed, Nov 25, 2009 at 19:34, Jack Howarth <howarth@bromo.med.uc.edu> wrote:
> Â The attached patch reduces the array size in the libgomp.graphite/force-parallel-2.c
> testcase from 10000 to 500 so that it will fit into stacksize's as small as 2MB per
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42135#c2. This revised testcase now passes
> on x86_64-apple-darwin10. Okay for gcc trunk?

Yes.

Thanks,
Sebastian

> Â Â Â Â Â Â Â Â Â Â Â Jack
>
> 2009-11-25 ÂJack Howarth <howarth@bromo.med.uc.edu>
>
> Â Â Â ÂPR testsuite/42135
> Â Â Â Â* libgomp.graphite/force-parallel-2.c: Reduce array size.
>
> Index: libgomp/testsuite/libgomp.graphite/force-parallel-2.c
> ===================================================================
> --- libgomp/testsuite/libgomp.graphite/force-parallel-2.c    (revision 154653)
> +++ libgomp/testsuite/libgomp.graphite/force-parallel-2.c    (working copy)
> @@ -3,7 +3,7 @@
> Âvoid parloop (int N)
> Â{
> Â int i, j;
> - Âint x[10000][10000];
> + Âint x[500][500];
>
> Â for (i = 0; i < N; i++)
> Â Â for (j = 0; j < N; j++)
> @@ -17,7 +17,7 @@
>
> Âint main(void)
> Â{
> - Âparloop(10000);
> + Âparloop(500);
>
> Â return 0;
> Â}
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]