[RFA]: Fix gcc.c-torture tests for 16-bit targets(HC11/HC12)

Stephane Carrez Stephane.Carrez@worldnet.fr
Mon May 21 04:52:00 GMT 2001


Hi Mark,

Mark Mitchell a écrit :
> 
> >>>>> "Stephane" == Stephane Carrez <Stephane.Carrez@worldnet.fr> writes:
> 
>     Stephane> The size of the arrays is set to smaller values when
>     Stephane> STACK_SIZE is defined and small.  They are not changed
>     Stephane> for others.
> 
> How does STACK_SIZE get set?
> 
It's set by DejaGnu configuration file.  When you do:

# Used by a few gcc.c-torture testcases to delimit how large the stack can
# be.
set_board_info gcc,stack_size  5000

The -DSTACK_SIZE is generated by testsuite/lib/[gcc/g77/objc].exp if
such configuration variable is defined for the board.

	Stephane



More information about the Gcc-patches mailing list