This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/80259] [6/7/8 Regression] ICE deleting friend function


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Dec  6 22:48:39 2017
New Revision: 255456

URL: https://gcc.gnu.org/viewcvs?rev=255456&root=gcc&view=rev
Log:
        PR c++/80259
        * decl2.c (grokfield): Diagnose = delete redefinition of a friend.

        * g++.dg/cpp0x/pr80259.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr80259.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]