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++/81640] [8 Regression] ICE in lookup_fnfields_slot_nolazy w/ -Wshadow=compatible-local


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Aug  2 07:28:21 2017
New Revision: 250816

URL: https://gcc.gnu.org/viewcvs?rev=250816&root=gcc&view=rev
Log:
        PR c++/81640
        * call.c (build_user_type_conversion_1): Only call
        lookup_fnfields_slot if totype is CLASS_TYPE_P.

        * g++.dg/warn/Wshadow-compatible-local-2.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/warn/Wshadow-compatible-local-2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.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]