diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-10-31 17:38:21 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-10-31 17:38:21 +0100 |
commit | dcb466eca3741d1cb06acb44a4009657cd475781 (patch) | |
tree | 8c64fede4c4066c5dff6e9d102527ca44edf645e /ltsugar.m4 | |
parent | 1e4fa9b11255ea15a3510dfd1e3011ffebdcc530 (diff) | |
download | gcc-dcb466eca3741d1cb06acb44a4009657cd475781.zip gcc-dcb466eca3741d1cb06acb44a4009657cd475781.tar.gz gcc-dcb466eca3741d1cb06acb44a4009657cd475781.tar.bz2 |
re PR c++/77948 (Option processing of -std=c++11 -std=gnu++11 doesn't reset ext_numeric_literals)
PR c++/77948
* c.opt (fext-numeric-literals): Add Var and Init.
* c-opts.c (c_common_handle_option): Don't clear
cpp_opts->ext_numeric_literals for -std=c++{11,14,1z}.
(c_common_post_options): Clear it here if not set
explicitly.
* g++.dg/cpp0x/pr77948-1.C: New test.
* g++.dg/cpp0x/pr77948-2.C: New test.
* g++.dg/cpp0x/pr77948-3.C: New test.
* g++.dg/cpp0x/pr77948-4.C: New test.
* g++.dg/cpp0x/pr77948-5.C: New test.
* g++.dg/cpp0x/pr77948-6.C: New test.
From-SVN: r241707
Diffstat (limited to 'ltsugar.m4')
0 files changed, 0 insertions, 0 deletions