[Bug c++/71979] [5/6/7 Regression] ICE with on C++ code with incorrect type in overloaded base class '=' operator: in build_base_path, at cp/class.c:304

paolo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 22 16:15:00 GMT 2016


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

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Thu Sep 22 16:14:20 2016
New Revision: 240376

URL: https://gcc.gnu.org/viewcvs?rev=240376&root=gcc&view=rev
Log:
/cp
2016-09-22  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/71979
        * class.c (build_base_path): Allow for lookup_base returning
        NULL_TREE.

/testsuite
2016-09-22  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/71979
        * g++.dg/cpp0x/pr71979.C: New.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/pr71979.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/class.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list