This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Disable execute/20030209-1.c on H8.
- From: law at redhat dot com
- To: Kazu Hirata <kazu at cs dot umass dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 10 Feb 2003 14:45:30 -0700
- Subject: Re: [patch] Disable execute/20030209-1.c on H8.
- Reply-to: law at redhat dot com
In message <20030210.163715.98562203.kazu@cs.umass.edu>, Kazu Hirata writes:
>Hi,
>
>Attached is a patch to disable execute/20030209-1.c on H8 because the
>array (double x[100][100]) is too large. OK to apply?
Err, rather than creating a .x file, can't you use STACK_SIZE mechanism
which should be appropriately defined for the H8 and other ports with
limited stack memory.
[ Which has the added advantage that it would fix the test for other
ports with limited address spaces. ]
jeff
>
>Kazu Hirata
>
>2003-02-10 Kazu Hirata <kazu@cs.umass.edu>
>
> * gcc.c-torture/execute/20030209-1.x: New.
>
>--- /dev/null 2002-08-30 19:31:37.000000000 -0400
>+++ 20030209-1.x 2003-02-10 16:33:08.000000000 -0500
>@@ -0,0 +1,6 @@
>+# The array is too big.
>+if { [istarget "h8300-*-*"] } {
>+ return 1;
>+}
>+
>+return 0