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++/82401] [8 Regression] error: qsort comparator non-negative on sorted output: 1 in insert_late_enum_def_bindings on an invalid code


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Nov 22 22:35:52 2017
New Revision: 255084

URL: https://gcc.gnu.org/viewcvs?rev=255084&root=gcc&view=rev
Log:
        PR c++/82401
        * name-lookup.c (member_name_cmp): Return 0 if a == b.

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

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr82401.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/name-lookup.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]