PR testsuite/35647
Hans-Peter Nilsson
hp@bitrange.com
Thu Mar 20 12:51:00 GMT 2008
On Thu, 20 Mar 2008, Uros Bizjak wrote:
> $ gcc -dI -M cmdlne-dI-M.c
> cmdlne-di-M.o: cmdlne-dI-M.c cmdlne-dI-M.h
>
> So, the output looks correct to me, except it is output on stdout
> instead of cmdlne-dI-M.i that is expected by scan-file-not.
No, that's not how the testsuite uses gcc. Try again. :)
> Probably all scan-file-not directives pass because there is no file to scan ...?
That's not it. I get them in the .i (cutnpasted from gcc.log):
Executing on host: /tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/xgcc
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/cpp/cmdlne-dI-M.c
-dI -M -fno-show-column -E -isystem
/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib/targ-include
-isystem /tmp/hpautotest-gcc1/gcc/newlib/libc/include -o
cmdlne-dI-M.i (timeout = 300)
$ cat cmdlne-dI-M.i
cmdlne-dI-M.o: \
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/cpp/cmdlne-dI-M.c \
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/cpp/cmdlne-dI-M.h
Still, FAIL: gcc.dg/cpp/cmdlne-dI-M.c scan-file (^|\\n)cmdlne-dI-M.*:[^\\n]*cmdlne-dI-M.c
brgds, H-P
More information about the Gcc-patches
mailing list