Commit 46c62690 by Jakub Jelinek Committed by Jakub Jelinek

c-lex.c (c_common_has_attribute): Return 201803 instead of 20180312 for no_unique_address.

	* c-lex.c (c_common_has_attribute): Return 201803 instead of 20180312
	for no_unique_address.

	* g++.dg/cpp2a/feat-cxx2a.C: New test.

From-SVN: r265034
parent f7904392
2018-10-11 Jakub Jelinek <jakub@redhat.com>
* c-lex.c (c_common_has_attribute): Return 201803 instead of 20180312
for no_unique_address.
2018-10-09 David Malcolm <dmalcolm@redhat.com> 2018-10-09 David Malcolm <dmalcolm@redhat.com>
* c-common.c (c_option_controlling_cpp_error): Rename to... * c-common.c (c_option_controlling_cpp_error): Rename to...
......
...@@ -357,7 +357,7 @@ c_common_has_attribute (cpp_reader *pfile) ...@@ -357,7 +357,7 @@ c_common_has_attribute (cpp_reader *pfile)
|| is_attribute_p ("fallthrough", attr_name)) || is_attribute_p ("fallthrough", attr_name))
result = 201603; result = 201603;
else if (is_attribute_p ("no_unique_address", attr_name)) else if (is_attribute_p ("no_unique_address", attr_name))
result = 20180312; result = 201803;
if (result) if (result)
attr_name = NULL_TREE; attr_name = NULL_TREE;
} }
......
2018-10-11 Jakub Jelinek <jakub@redhat.com> 2018-10-11 Jakub Jelinek <jakub@redhat.com>
* g++.dg/cpp2a/feat-cxx2a.C: New test.
PR c++/87547 PR c++/87547
* g++.dg/rtti/typeid12.C: New test. * g++.dg/rtti/typeid12.C: New test.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment