------- Comment #28 from manu at gcc dot gnu dot org 2007-06-05 22:25 ------- Subject: Bug 23479
Author: manu Date: Tue Jun 5 22:25:27 2007 New Revision: 125346 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125346 Log: 2007-06-05 Joerg Wunsch <[EMAIL PROTECTED]> PR preprocessor/23479 gcc/ * doc/extend.texi: Document the 0b-prefixed binary integer constant extension. libcpp/ * expr.c (cpp_classify_number): Implement 0b-prefixed binary integer constants. (append_digit): Likewise. * include/cpplib.h: Add CPP_N_BINARY, to be used for 0b-prefixed binary integer constants. testsuite/ * testsuite/gcc.dg/binary-constants-1.c: Add test suites for the 0b-prefixed binary integer constants. * testsuite/gcc.dg/binary-constants-2.c: Ditto. * testsuite/gcc.dg/binary-constants-3.c: Ditto. * testsuite/gcc.dg/binary-constants-4.c: Ditto. Added: trunk/gcc/testsuite/gcc.dg/binary-constants-1.c trunk/gcc/testsuite/gcc.dg/binary-constants-2.c trunk/gcc/testsuite/gcc.dg/binary-constants-3.c trunk/gcc/testsuite/gcc.dg/binary-constants-4.c Modified: trunk/gcc/ChangeLog trunk/gcc/doc/extend.texi trunk/gcc/testsuite/ChangeLog trunk/libcpp/ChangeLog trunk/libcpp/expr.c trunk/libcpp/include/cpplib.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23479