Andreas Schwab <sch...@linux-m68k.org> writes: > Rainer Orth <r...@cebitec.uni-bielefeld.de> writes: > >> And why do you add -gdwarf-2 in dg-options? AFAICS all tests in >> gcc.dg/debug/dwarf2 are built with -gdwarf-2 anyway. > > Do they? Not here. > > Executing on host: /daten/aranym/gcc/gcc-20130530/Build/gcc/xgcc > -B/daten/aranym/gcc/gcc-20130530/Build/gcc/ > /daten/aranym/gcc/gcc-20130530/gcc/testsuite/gcc.dg/debug/dwarf2/discriminator.c > -fno-diagnostics-show-caret -fdiagnostics-color=never -ansi > -pedantic-errors -O0 -ffat-lto-objects -ffat-lto-objects -ffat-lto-objects > -S -o discriminator.s (timeout = 300) > spawn /daten/aranym/gcc/gcc-20130530/Build/gcc/xgcc > -B/daten/aranym/gcc/gcc-20130530/Build/gcc/ > /daten/aranym/gcc/gcc-20130530/gcc/testsuite/gcc.dg/debug/dwarf2/discriminator.c > -fno-diagnostics-show-caret -fdiagnostics-color=never -ansi > -pedantic-errors -O0 -ffat-lto-objects -ffat-lto-objects -ffat-lto-objects > -S -o discriminator.s > PASS: gcc.dg/debug/dwarf2/discriminator.c (test for excess errors) > FAIL: gcc.dg/debug/dwarf2/discriminator.c scan-assembler loc [0-9] 11 > [0-9]( is_stmt [0-9])?\n > FAIL: gcc.dg/debug/dwarf2/discriminator.c scan-assembler loc [0-9] 11 > [0-9]( is_stmt [0-9])? discriminator 2\n > FAIL: gcc.dg/debug/dwarf2/discriminator.c scan-assembler loc [0-9] 11 > [0-9]( is_stmt [0-9])? discriminator 1\n
Could you please run just copy site.exp from one of the testsuite/gcc* directories to a new directory and run % runtest --tool gcc dwarf2.exp=discriminator.c there? Maybe this gives a clue. Thanks. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University