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++/25625] [4.0/4.1/4.2 Regression] Fails to compile C++ code when -frepo is specified.



------- Comment #7 from mmitchel at gcc dot gnu dot org  2006-01-04 01:04 -------
Subject: Bug 25625

Author: mmitchel
Date: Wed Jan  4 01:04:03 2006
New Revision: 109306

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109306
Log:
        PR c++/25492
        * name-lookup.c (push_class_level_binding): When a derived class
        provides a type binding, eliminate any type binding from a base
        class. 
        PR c++/25625
        * repo.c (repo_emit_p): Always instantiate static data members
        initialized by constant expressions, so that there values are
        available.
        PR c++/25492
        * g++.dg/lookup/friend9.C: New test.
        PR c++/25625
        * g++.dg/template/repo5.C: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/lookup/friend9.C
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/repo5.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/name-lookup.c
    branches/gcc-4_1-branch/gcc/cp/repo.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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



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