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++/69657] [6 Regression] abs() not inlined after including math.h


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

--- Comment #12 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Feb 10 15:34:59 2016
New Revision: 233278

URL: https://gcc.gnu.org/viewcvs?rev=233278&root=gcc&view=rev
Log:
        PR c++/69657

        * name-lookup.c (ambiguous_decl): Call remove_hidden_names.
        (lookup_name_real_1): Likewise.
        (remove_hidden_names): Handle non-functions too.

Added:
    trunk/gcc/testsuite/g++.dg/lookup/builtin7.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/name-lookup.c

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