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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue May 30 08:15:55 2017
New Revision: 248660

URL: https://gcc.gnu.org/viewcvs?rev=248660&root=gcc&view=rev
Log:
        Backported from mainline
        2017-03-10  Jakub Jelinek  <ja...@redhat.com>

        PR c++/79896
        * decl.c (finish_enum_value_list): If value is error_mark_node,
        don't copy it and change its type.
        * init.c (constant_value_1): Return error_mark_node if DECL_INITIAL
        of CONST_DECL is error_mark_node.

        * g++.dg/ext/int128-5.C: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/ext/int128-5.C

Reply via email to