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++/31749] [4.1/4.2/4.3 regression] ICE with invalid redeclaration of builtin



------- Comment #8 from aaw at gcc dot gnu dot org  2007-08-17 21:42 -------
Subject: Bug 31749

Author: aaw
Date: Fri Aug 17 21:42:38 2007
New Revision: 127600

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127600
Log:
        PR c++/31749

        gcc/cp/
        * name-lookup.c (do_nonmember_using_decl): Shift implicit type
        declarations into appropriate slots for comparison.  Fix type
        comparison.

        gcc/testsuite/
        * g++.dg/lookup/builtin3.C: New test.
        * g++.dg/lookup/builtin4.C: New test.
        * g++.dg/lookup/using19.C: New test.

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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31749


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