This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [again] switch() statements on ARM/Thumb
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Adrian von Bidder <avbidder at acter dot ch>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 10 Jan 2002 19:38:29 -0500 (EST)
- Subject: Re: [again] switch() statements on ARM/Thumb
On 10 Jan 2002, Adrian von Bidder wrote:
> [beginner question]
> where do I add the -mthumb to add the testsuite? I always put off
> running it so far because it's an absolutely white area on my map.
>
> I feel that c-torture.exp and the other places in testsuite/lib are not
> right - I'm sure there is a 'add an additional flag to CFLAGS globally'
> sort of thing.
Besides site.exp as others mentioned, you can specify it on the
command line. For example:
make check-gcc 'RUNTESTFLAGS=--target_board=arm-sim{,-mthumb}'
would test without and with -mthumb.
> So far I ran the testsuite for arm-elf in arm mode, but it takes ages
> (16h and still running) because many of the execute tests fail with time
> outs (or after arm-elf-run has blown up on mallocing more than 3G). Many
> execute tests work ok. Would lowering the timeout to (again: where?)
> from 800 to around 30s be a reasonable approach to this? (800MHz Athlon;
> most of the tests I observer have run in 2-3 seconds at most)
You might have caught things in a bad state. I see this too.
Reverting to "Mon Jan 7 19:03:27 GMT 2002" should help.
brgds, H-P