This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR testsuite/35647


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]