Torture execute/950221-1.c
Michael Meissner
meissner@cygnus.com
Wed Nov 19 11:37:00 GMT 1997
I'm currently working on GCC support for a machine with a fairly small
address space (64K instructions, 32K data by default). I've
configured the linker to know about the memory regions, and now
tortutre blows up when I try to link execute/950221-1.c. So I patched
the filler array to be more reasonable, using the STACK_SIZE define
used elsewhere in the torture suite.
I have updated the egcs development branch (but not the release
branch) with this fix.
Wed Nov 19 14:27:04 1997 Michael Meissner <meissner@cygnus.com>
* execute/950221-1.c (filler): If STACK_SIZE is defined, use that
to size the filler array.
*** execute/950221-1.c.~1~ Fri Nov 8 13:52:58 1996
--- execute/950221-1.c Wed Nov 19 14:28:29 1997
*************** struct parsefile
*** 5,11 ****
--- 5,15 ----
};
struct parsefile basepf;
struct parsefile *parsefile = &basepf;
+ #ifdef STACK_SIZE
+ int filler[STACK_SIZE / (2*sizeof(int))];
+ #else
int filler[0x3000];
+ #endif
int el;
char *
More information about the Gcc
mailing list