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]

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


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


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