Commit e7fa68d5 by Jason Merrill Committed by Jason Merrill

c-opts.c (c_common_post_options): Default to C++14.

gcc/c-family/
	* c-opts.c (c_common_post_options): Default to C++14.
gcc/testsuite/
	* lib/target-supports.exp (cxx_default): Set to C++14.

From-SVN: r225272
parent a03c9bf1
2015-07-01 Jason Merrill <jason@redhat.com>
* c-opts.c (c_common_post_options): Default to C++14.
* c-opts.c (c_common_post_options): Highest ABI level is now 10.
2015-06-30 Edward Smith-Rowland <3dw4rd@verizon.net>
......
......@@ -889,9 +889,9 @@ c_common_post_options (const char **pfilename)
if (flag_abi_version == 0)
flag_abi_version = 10;
/* Set C++ standard to C++98 if not specified on the command line. */
/* Set C++ standard to C++14 if not specified on the command line. */
if (c_dialect_cxx () && cxx_dialect == cxx_unset)
set_std_cxx98 (/*ISO*/false);
set_std_cxx14 (/*ISO*/false);
if (cxx_dialect >= cxx11)
{
......
2015-07-01 Jason Merrill <jason@redhat.com>
* lib/target-supports.exp (cxx_default): Set to C++14.
2015-07-01 Tom de Vries <tom@codesourcery.com>
PR testsuite/66723
......
......@@ -5935,7 +5935,7 @@ proc check_effective_target_c++ { } {
return 0
}
set cxx_default "c++98"
set cxx_default "c++14"
# Check whether the current active language standard supports the features
# of C++11/C++14 by checking for the presence of one of the -std flags.
# This assumes that the default for the compiler is $cxx_default, and that
......
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