gcc/gcc/cp
Mark Mitchell e46e9f822e re PR c++/14510 (Lookup error between function name and struct name)
PR c++/14510
	* decl.c (xref_tag): Disregard non-type declarations when
	looking up a tagged type.

	PR c++/14510
	* g++.dg/lookup/struct2.C: New test.

From-SVN: r79298
2004-03-11 04:25:38 +00:00
..
ChangeLog re PR c++/14510 (Lookup error between function name and struct name) 2004-03-11 04:25:38 +00:00
ChangeLog.1 ChangeLog: Fix typos. 2003-12-13 04:28:50 +00:00
ChangeLog.2 Rotate ChangeLog. 2004-01-01 00:43:21 +00:00
ChangeLog.3 Fixes formatting in a couple of entries of mines 2004-02-02 18:55:07 +00:00
ChangeLog.egcs
Make-lang.in Makefile.in (srcextra): Add a level of indirection to ... 2004-02-06 01:02:31 +00:00
NEWS Remove 3.4 change list, point to gcc-3.4/changes.html 2003-08-16 13:49:27 +00:00
call.c re PR c++/14397 (Access check for wrong copy constructor) 2004-03-09 18:44:02 +00:00
cfns.gperf * cfns.gperf: Add '%%' delimiter to placate gperf 3.0. 2003-07-25 13:57:43 +00:00
cfns.h * cfns.h: Rebuilt. 2003-07-26 19:31:30 +00:00
class.c re PR c++/14401 (Uninitialized reference error not reported.) 2004-03-09 08:16:49 +00:00
config-lang.in re PR c++/14278 (fails when calling through a function pointer) 2004-02-27 00:31:47 +00:00
cp-lang.c call.c (conversion_kind): New type. 2004-02-13 07:19:25 +00:00
cp-tree.def cfgloop.h, [...]: Update copyright. 2004-02-18 15:05:17 +00:00
cp-tree.h re PR c++/14401 (Uninitialized reference error not reported.) 2004-03-09 08:16:49 +00:00
cvt.c re PR c++/14250 (switch() does not seem to see operator int() in template class) 2004-02-23 12:40:59 +00:00
cxx-pretty-print.c call.c: Fix comment formatting. 2003-12-21 21:07:32 +00:00
cxx-pretty-print.h re PR c++/10147 (Confusing error message for invalid template function argument) 2003-10-07 07:07:07 +00:00
decl.c re PR c++/14510 (Lookup error between function name and struct name) 2004-03-11 04:25:38 +00:00
decl.h re PR middle-end/11041 (ICE: const myclass &x = *x; (when operator*() defined)) 2003-06-20 00:48:44 +00:00
decl2.c re PR c++/14138 (100x -O0 C++ Compile Time Regression {3.2,3.3} -> {3.4,4.0}) 2004-03-01 06:23:38 +00:00
dump.c Give the anonymous namespace a null DECL_NAME. 2003-12-08 15:29:15 -05:00
error.c re PR c++/14369 (errenous reject of well-formed code) 2004-03-01 21:04:30 +00:00
except.c Make-lang.in, [...]: Update copyright. 2004-01-21 20:52:28 +00:00
expr.c Make-lang.in, [...]: Update copyright. 2004-01-21 20:52:28 +00:00
friend.c cvt.c: Remove uses of "register" specifier in declarations of arguments and local... 2003-12-19 23:28:11 +00:00
g++spec.c libunwind cleanup 2003-12-03 22:07:03 -08:00
init.c Fix typo 2004-03-09 10:00:12 +00:00
lang-specs.h
lex.c re PR c++/14401 (Uninitialized reference error not reported.) 2004-03-09 08:16:49 +00:00
lex.h
mangle.c re PR c++/14246 (Problems with templates, ice in write_template_arg_literal) 2004-02-26 02:17:26 +00:00
method.c re PR c++/12007 (Multiple inheritance float pass by value fails) 2004-02-20 23:03:41 +00:00
name-lookup.c re PR c++/14432 (Built-ins lead to conflict even if no header file included) 2004-03-09 08:26:14 +00:00
name-lookup.h re PR c++/14401 (Uninitialized reference error not reported.) 2004-03-09 08:16:49 +00:00
operators.def re PR c++/11437 (ICE in lookup_name_real) 2003-07-11 23:01:53 +00:00
optimize.c c-common.c (shadow_warning): Delete. 2004-02-08 01:59:11 +00:00
parser.c re PR c++/14409 (Accepts invalid function signature for explicit instantiation) 2004-03-09 15:35:03 +00:00
pt.c re PR c++/14409 (Accepts invalid function signature for explicit instantiation) 2004-03-09 15:35:03 +00:00
ptree.c re PR c++/14401 (Uninitialized reference error not reported.) 2004-03-09 08:16:49 +00:00
repo.c cvt.c: Remove uses of "register" specifier in declarations of arguments and local... 2003-12-19 23:28:11 +00:00
rtti.c re PR c++/13170 (ICE in build_base_path) 2004-03-08 17:24:45 -05:00
search.c re PR c++/14401 (Uninitialized reference error not reported.) 2004-03-09 08:16:49 +00:00
semantics.c re PR c++/14199 (Unjustified warning about unused variable) 2004-02-20 08:57:33 +00:00
tree.c tree.h (TYPE_HASH): Use TYPE_UID. 2004-03-05 17:38:24 -05:00
typeck.c re PR c++/14401 (Uninitialized reference error not reported.) 2004-03-09 08:16:49 +00:00
typeck2.c * optimize.c, typeck2.c: Update copyright. 2004-01-22 00:03:52 +00:00