This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
cpp -dD broken in CVS
- To: gcc-bugs at gcc dot gnu dot org
- Subject: cpp -dD broken in CVS
- From: Craig Newell <CraigN at savaJe dot com>
- Date: Mon, 6 Mar 2000 12:52:32 -0500 (EST)
- cc: Zack Weinberg <zack at wolery dot cumb dot org>
Hi All,
It appears that cpp is currently broken in the CVS when used with
the "-dD" option. For example:
--- test.h ---
#define macro(x,y) (x) + (y)
--------------
Processed with "/opt/arm/lib/gcc-lib/arm-elf/2.96/cpp -dD -P test.h" gives:
--- test.i ---
#define macro(, x) () + (x)
--------------
Hence it appears that at least gcc/cpphash.c:dump_definition() is broken
...
Thanks,
CraigN
--
Craig Newell email: CraigN@savaJe.com
Founder and Kernel Engineer icbm: anywhere in NJ, USA
savaJe technologies, inc. voice: +1 732 558 0018