This is the mail archive of the gcc-bugs@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]

cpp -dD broken in CVS



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


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