https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77948

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Oct 31 16:38:21 2016
New Revision: 241707

URL: https://gcc.gnu.org/viewcvs?rev=241707&root=gcc&view=rev
Log:
        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.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr77948-1.C
    trunk/gcc/testsuite/g++.dg/cpp0x/pr77948-2.C
    trunk/gcc/testsuite/g++.dg/cpp0x/pr77948-3.C
    trunk/gcc/testsuite/g++.dg/cpp0x/pr77948-4.C
    trunk/gcc/testsuite/g++.dg/cpp0x/pr77948-5.C
    trunk/gcc/testsuite/g++.dg/cpp0x/pr77948-6.C
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-opts.c
    trunk/gcc/c-family/c.opt
    trunk/gcc/testsuite/ChangeLog

Reply via email to