avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] More results from the testsuite with avrtest


From: Paulo Marques
Subject: Re: [avr-gcc-list] More results from the testsuite with avrtest
Date: Wed, 23 Jan 2008 03:24:15 +0000
User-agent: Internet Messaging Program (IMP) H3 (4.1.2)

Quoting Andrew Hutchinson <address@hidden>:

Here is my list:
[...]
FAIL: gcc.c-torture/execute/multi-ix.c compilation,  -O0
FAIL: gcc.c-torture/execute/multi-ix.c compilation,  -O1
FAIL: gcc.c-torture/execute/multi-ix.c compilation,  -O2
FAIL: gcc.c-torture/execute/multi-ix.c compilation,  -O3 -fomit-frame-pointer
FAIL: gcc.c-torture/execute/multi-ix.c compilation, -O3 -fomit-frame-pointer -funroll-loops FAIL: gcc.c-torture/execute/multi-ix.c compilation, -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions
FAIL: gcc.c-torture/execute/multi-ix.c compilation,  -O3 -g
FAIL: gcc.c-torture/execute/multi-ix.c compilation,  -Os

These seem to be the bad guys. This test only fails for me with -O0, but passes on all other compiler options.

I think the problem is that this test requires the increase in stack size in atmega128-exp.sim file, i.e., you have to replace

set_board_info gcc,stack_size 400

with

set_board_info gcc,stack_size 2048

or it won't have enough stack to run the test.

Don't forget to also move bss to external memory with:

set_board_info ldflags "/home/pmarques/dejagnuboards/exit.c -Wl,-u,vfprintf -lprintf_flt -Wl,-Tbss=0x802000,--defsym=__heap_end=0x80ffff"

or some other tests might fail too.

--
Paulo Marques


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]