summaryrefslogtreecommitdiffstats
path: root/libcpp/ChangeLog
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-28 21:36:57 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-28 21:36:57 +0000
commitd8c8614f4367003c5a82be24dcbba4ad83835c63 (patch)
treebefd3b677796bad370f79def6822510edc236a34 /libcpp/ChangeLog
parent0c0d26605077f30f0d07dda0b930da94b1fff3bd (diff)
downloadppe42-gcc-d8c8614f4367003c5a82be24dcbba4ad83835c63.tar.gz
ppe42-gcc-d8c8614f4367003c5a82be24dcbba4ad83835c63.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198380 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/ChangeLog')
-rw-r--r--libcpp/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 329f5e0b938..da68e5210a9 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,16 @@
+2013-04-28 Jakub Jelinek <jakub@redhat.com>
+
+ 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.
+
2013-04-24 Paolo Carlini <paolo.carlini@oracle.com>
* include/cpplib.h (enum c_lang): Add CLK_GNUCXX1Y and CLK_CXX1Y.
OpenPOWER on IntegriCloud