]> gcc.gnu.org Git - gcc.git/commit
N3472 binary constants
authorJakub Jelinek <jakub@redhat.com>
Sun, 28 Apr 2013 21:36:57 +0000 (23:36 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 28 Apr 2013 21:36:57 +0000 (23:36 +0200)
commit01187df0970be20c06628f280ce07524db49d585
treebefd3b677796bad370f79def6822510edc236a34
parent5e67a36916b402a029a7b1a5a86355ddbc75ef75
N3472 binary constants

N3472 binary constants
* include/cpplib.h (struct cpp_options): Fix a typo in user_literals
field comment.  Add binary_constants field.
* init.c (struct lang_flags): Add binary_constants field.
(lang_defaults): Add bin_cst column to the table.
(cpp_set_lang): Initialize CPP_OPTION (pfile, binary_constants).
* expr.c (cpp_classify_number): Talk about C++11 instead of C++0x
in diagnostics.  Accept binary constants if
CPP_OPTION (pfile, binary_constants) even when pedantic.  Adjust
pedwarn message.

* g++.dg/cpp/limits.C: Adjust warning wording.
* g++.dg/system-binary-constants-1.C: Likewise.
* g++.dg/cpp1y/system-binary-constants-1.C: New test.

From-SVN: r198380
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp/limits.C
gcc/testsuite/g++.dg/cpp1y/system-binary-constants-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/system-binary-constants-1.C
libcpp/ChangeLog
libcpp/expr.c
libcpp/include/cpplib.h
libcpp/init.c
This page took 0.056157 seconds and 5 git commands to generate.