|
From: | Rolf Ebert |
Subject: | Re: [avr-libc-dev] Test results for avr-gcc-3.4.3 with test suite adapted for avr |
Date: | Thu, 06 Jan 2005 11:51:31 +0100 |
User-agent: | Opera M2/7.54 (Win32, build 3865) |
Find enclosed the repeated and "cleaned-up" test report for the avr target.
thank you very much, Björn, for your efforts!
When adapting the test suite, I had to decide for a couple of cases whether atest is relevant for avr or not. A couple of failures stems from the fact that required header files are not present. They reflect, thus, rather amissing support of the std library than a problem with the compiler itself.For header files, that I personally assumed to be not relevant for avr, Idecided to mark the test to be XFAIL. I would appreciate comments from theother avr users for the following points :
I think we can to distinguish between features that will never be supported (XFAIL) and features, that are currently missing (preliminary XFAIL?). The preliminary XFAIL cases are reminders to complete the libc in the future.
5.) nested functionsDue to the Harvard-Architecture of avr, gcc seems to have always problems whenusing nested functions: Gcc seems to try to use trampolines all the time.a feature rather than a bug. IMHO the only real use of nested functions is to employ them for passing pointers to them to other functions. IIRC, however,this allways requires the use of trampolines.
Nested functions are very common in Ada and Pascal. I don't know about gpc, but gnat heavily relies on the GNU extension of nested functions in C. It'd be helpful for AVR-Ada if they were tested at the C testsuite already.
6.) Presently alias attributes are not supported for avr. I have marked tests as XFAIL if they use this feature. (This should be discussed!).
Aliasing gives lots of hints for the optimizer; a feature that would be useful to AVR-gcc. I think they should be marked as preliminary XFAIL.
RolfP.S. There is nothing like "preliminary XFAIL". We probably have to document that elsewhere, something like a TODO list.
[Prev in Thread] | Current Thread | [Next in Thread] |