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: Testsuite adaptions for the avr target / nested function support


On Sun, Mar 06, 2005 at 11:36:40AM +0100, Björn Haase wrote:
> when preparing to prepare the testsuite to be better adapted also for small 
> targets, I have made use of the approach that you had suggested. You will 
> find attached a patch that defines three new effective-target keywords:

This was sent directly to me and copied to gcc-patches, so obviously I
have seen it; I'm very sorry to have forgotten about it.  I probably put
off looking at it because it was an attachment rathern than included in
the body of the message.

> nested_functions
> trampolines
> int_larger_than_16_bits
> 
> All of those make use of the knowledge stored in the board information 
> variables. With the new keyword "trampolines" it now will also be possible to 
> uprightly skip tests that use trampolines instead of continuing to report the 
> testcases to pass.

Using the board information variables seems like a good idea, but instead
of checking those in is-effective-keyword, add new procs

  check_effective_target_nested_functions
  check_effective_target_trampolines
  check_effective_target_int_larger_than_16_bits

That allows the effective-target keywords to be recognized in selector
expressions.

> The attached patch also adds "avr-*-*" to the list of targets that do not 
> support profiling.

That part is fine.

Janis


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