obj-c++.dg/dwarf-2.mm fails on Tru64 UNIX since the target doesn't support DWARF-2:
FAIL: obj-c++.dg/dwarf-2.mm -fgnu-runtime (test for excess errors) Excess errors: /vol/gcc/src/hg/trunk/local/gcc/testsuite/obj-c++.dg/dwarf-2.mm:1:0: error: target system does not support the "dwarf-2" debug format ERROR: obj-c++.dg/dwarf-2.mm: error executing dg-final: couldn't open "dwarf-2.s": no such file or directory UNRESOLVED: obj-c++.dg/dwarf-2.mm: error executing dg-final: couldn't open "dwarf-2.s": no such file or directory To avoid this, the following patch skips the test as is done in objc.dg/dwarf-2.m. Tested with the appropriate runtest invocation, installed on mainline. Rainer 2011-04-18 Rainer Orth <r...@cebitec.uni-bielefeld.de> * obj-c++.dg/dwarf-2.mm: Skip on alpha*-dec-osf*. Index: gcc/testsuite/obj-c++.dg/dwarf-2.mm =================================================================== --- gcc/testsuite/obj-c++.dg/dwarf-2.mm (revision 172647) +++ gcc/testsuite/obj-c++.dg/dwarf-2.mm (working copy) @@ -1,4 +1,4 @@ /* { dg-options "-gdwarf-2 -dA" } */ -/* { dg-skip-if "" { { hppa*-*-hpux* } && { ! hppa*64*-*-* } } { "*" } { "" } } */ +/* { dg-skip-if "No Dwarf" { { alpha*-dec-osf* hppa*-*-hpux* } && { ! hppa*64*-*-* } } { "*" } { "" } } */ /* { dg-final { scan-assembler "0x11\[^0-9a-f\].*DW_AT_language" } } */ int x; -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University