The GNU Development Chain integrates a very complete testsuite that is
used to validate the compiler, assembler, linker, debugger and other tools.
The testsuite uses the DejaGNU test harness. This test harness
was adapted for 68HC11/68HC12 support. The adaptation is part of
DejaGNU version 1.4.2.
Release 1.1 Results
Below are the result summaries obtained for the validation:
- GNU C compiler
-
=== gcc Summary ===
# of expected passes 56083
# of unexpected failures 19
# of expected failures 189
# of unresolved testcases 88
# of unsupported tests 71
- GNU Binutils
-
=== binutils Summary ===
# of expected passes 22
# of untested testcases 4
- GNU Assembler
-
=== gas Summary ===
# of expected passes 76
- GNU Linker
-
=== ld Summary ===
# of expected passes 13
Notes:
- The C++ compiler is not validated because the validation suite
uses the C++ iostreams.
- The GDB validation is being adapted.
The C compiler is validated with the following option and option
combination:
- -O0
- -O1
- -O2
- -O3 -fomit-frame-pointer
- -O3 -fomit-frame-pointer -funroll-loops
- -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions
- -O3 -g
- -Os
- -O0 -mshort
- -O1 -mshort
- -O2 -mshort
- -O3 -mshort -fomit-frame-pointer
- -O3 -mshort -fomit-frame-pointer -funroll-loops
- -O3 -mshort -fomit-frame-pointer -funroll-all-loops -finline-functions
- -O3 -mshort -g
- -Os -mshort
- -O1 -msoft-reg-count=0
- -O2 -msoft-reg-count=0
- -O3 -fomit-frame-pointer -msoft-reg-count=0
- -O3 -g -msoft-reg-count=0
- -Os -msoft-reg-count=0
- -O1 -mshort -msoft-reg-count=0
- -O2 -mshort -msoft-reg-count=0
- -O3 -mshort -fomit-frame-pointer -msoft-reg-count=0
- -O3 -mshort -g -msoft-reg-count=0
- -Os -mshort -msoft-reg-count=0
- -O0 -m68hc12
- -O1 -m68hc12
- -O2 -m68hc12
- -O3 -fomit-frame-pointer -m68hc12
- -O3 -fomit-frame-pointer -funroll-loops -m68hc12
- -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions -m68hc12
- -O3 -g -m68hc12
- -Os -m68hc12
- -O0 -mshort -m68hc12
- -O1 -mshort -m68hc12
- -O2 -mshort -m68hc12
- -O3 -mshort -fomit-frame-pointer -m68hc12
- -O3 -mshort -fomit-frame-pointer -funroll-loops -m68hc12
- -O3 -mshort -fomit-frame-pointer -funroll-all-loops -finline-functions -m68hc12
- -O3 -mshort -g -m68hc12
- -Os -mshort -m68hc12
- -O1 -m68hc12 -msoft-reg-count=0
- -O2 -m68hc12 -msoft-reg-count=0
- -O3 -m68hc12 -fomit-frame-pointer -msoft-reg-count=0
- -O3 -m68hc12 -g -msoft-reg-count=0
- -Os -m68hc12 -msoft-reg-count=0
- -O1 -mshort -m68hc12 -msoft-reg-count=0
- -O2 -mshort -m68hc12 -msoft-reg-count=0
- -O3 -mshort -m68hc12 -fomit-frame-pointer -msoft-reg-count=0
- -O3 -mshort -m68hc12 -g -msoft-reg-count=0
- -Os -mshort -m68hc12 -msoft-reg-count=0