[Bug c++/70869] [6 Regression] internal compiler error: Segmentation fault on array of pointer to function members

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 19 08:40:00 GMT 2016


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

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jul 19 08:39:12 2016
New Revision: 238457

URL: https://gcc.gnu.org/viewcvs?rev=238457&root=gcc&view=rev
Log:
        Backported from mainline
        2016-07-07  Jakub Jelinek  <jakub@redhat.com>
                    Kai Tietz  <ktietz70@googlemail.com>

        PR c++/70869
        PR c++/71054
        * cp-gimplify.c (cp_genericize_r): For DECL_EXPR for non-static
        artificial vars, genericize their initializers.

        * g++.dg/cpp0x/pr70869.C: New test.
        * g++.dg/cpp0x/pr71054.C: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/pr70869.C
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/pr71054.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/cp-gimplify.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list