This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR testsuite/35647
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jan Hubicka <jh at suse dot cz>
- Date: Thu, 20 Mar 2008 07:35:23 -0400 (EDT)
- Subject: Re: PR testsuite/35647
- References: <5787cf470803200415n545b12adv771097e5b0f40a76@mail.gmail.com>
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