This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
RE: preprocessor/6738: -dM -M -o file.i doesn't work (test gcc.dg/cpp/cmdlne-dM-M.c)
- From: "Billinghurst, David \(CRTS\)" <David dot Billinghurst at riotinto dot com>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 21 May 2002 02:46:03 -0000
- Subject: RE: preprocessor/6738: -dM -M -o file.i doesn't work (test gcc.dg/cpp/cmdlne-dM-M.c)
- Reply-to: "Billinghurst, David \(CRTS\)" <David dot Billinghurst at riotinto dot com>
The following reply was made to PR preprocessor/6738; it has been noted by GNATS.
From: "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com>
To: <gcc-gnats@gcc.gnu.org>
Cc: <jakub@redhat.com>
Subject: RE: preprocessor/6738: -dM -M -o file.i doesn't work (test gcc.dg/cpp/cmdlne-dM-M.c)
Date: Tue, 21 May 2002 12:41:38 +1000
Jakub,
This test behaves similarly on cygwin and irix6.5
- the other cmdlin-*.c tests pass
- there is no output to stdout or stderr
- only the make dependency in the output file
- testsuite results are
PASS: gcc.dg/cpp/cmdlne-dM-M.c (test for excess errors)
FAIL: cmdlne-dM-M.c: #define line not printed
XFAIL: cmdlne-dM-M.c: dependency rule not printed
On cygwin the file cmdli-dM-M.i (with trailing \n) is
cmdlne-dM-M.o: /usr/local/src/gcc/gcc/testsuite/gcc.dg/cpp/cmdlne-dM-M.c
On irix the file cmdli-dM-M.i (with trailing \n) is
cmdlne-dM-M.o: \
/exd4/billingd/src/gcc/gcc/testsuite/gcc.dg/cpp/cmdlne-dM-M.c
od -c cmdlne-dM-M.i
0000000 c m d l n e - d M - M . o : =20
0000020 \ \n / e x d 4 / b i l l i n g
0000040 d / s r c / g c c / g c c / t e
0000060 s t s u i t e / g c c . d g / c
0000100 p p / c m d l n e - d M - M . c
0000120 \n