gcc/gcc/cp
Mark Mitchell 5eb106287b re PR c++/10381 (Accepts call to inexistent function)
PR c++/10381
	* parser.c (cp_parser_primary_expression): Reorganize logic for
	dealing with name lookup failures.

	PR c++/10381
	* g++.dg/parse/lookup3.C: New test.

From-SVN: r65656
2003-04-15 20:23:36 +00:00
..
ChangeLog re PR c++/10381 (Accepts call to inexistent function) 2003-04-15 20:23:36 +00:00
ChangeLog.1 ChangeLog: Follow spelling conventions. 2002-09-15 17:55:36 +00:00
ChangeLog.2 ChangeLog: Follow spelling conventions. 2002-09-21 12:51:56 +00:00
ChangeLog.egcs
Make-lang.in Oops, this belongs with the previous calls.c commit 2003-04-07 05:52:07 +00:00
NEWS Make-lang.in (po-generated): Remove parse.c. 2002-12-28 08:03:42 +00:00
call.c configure.in: Check for wchar.h, mbstowcs, and wcswidth. 2003-04-12 18:07:06 +00:00
cfns.gperf cfns.gperf: ANSIfy function declarations. 2003-01-10 20:49:29 +00:00
cfns.h cfns.gperf: ANSIfy function declarations. 2003-01-10 20:49:29 +00:00
class.c tree.c (build_constructor): New function. 2003-04-13 01:45:35 +00:00
config-lang.in Index: testsuite/ChangeLog 2003-04-03 03:45:49 +00:00
cp-lang.c tree.c (tree_size): For all 'c' and 'x' nodes... 2003-04-07 06:03:17 +00:00
cp-tree.def tree.c (tree_size): For all 'c' and 'x' nodes... 2003-04-07 06:03:17 +00:00
cp-tree.h c-common.h (lang_statement_code_p): Remove declaration. 2003-04-10 08:07:13 +00:00
cvt.c cvt.c (ocp_convert): Only abort if we try to convert an object of TREE_ADDRESSABLE type. 2003-04-03 15:07:56 -05:00
cxxfilt.c Remove traditional C constructs 4/n. 2002-12-29 14:53:05 +00:00
decl.c builtin-types.def (BT_FN_STRING_CONST_STRING): New builtin type. 2003-04-14 02:55:31 +00:00
decl.h * cp-tree.h, decl.h: Get rid of PARAMS. Again. 2003-01-23 20:22:16 +00:00
decl2.c decl2.c (mark_used): Don't instantiate anything if skip_evaluation. 2003-04-15 12:26:03 -04:00
dump.c c-common.h (c_dump_tree), [...]): Change return type from 'int' to 'bool'. 2003-03-19 20:34:10 +00:00
error.c error.c (dump_expr): Add 0x to printed hex numbers to make output match source code better. 2003-03-28 23:48:17 +00:00
except.c except.c (init_exception_processing): Use C90 prototype style. 2003-03-07 07:45:29 +00:00
expr.c re PR c++/7050 (g++ segfaults on: (i ? get_string() : throw)) 2003-03-12 17:24:48 -05:00
friend.c re PR c++/8700 (unhelpful error message for binding temp to reference) 2003-03-11 15:43:14 +00:00
g++spec.c gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove. 2003-03-10 15:41:42 -08:00
init.c re PR c++/10300 (use of array-new (nothrow) in segfaults on NULL return) 2003-04-13 17:54:03 +00:00
lang-options.h except.c, [...]: Fix Copyright years. 2003-01-02 12:39:56 +01:00
lang-specs.h Makefile.in: Update. 2003-03-11 06:42:21 +00:00
lex.c c-common.h (lang_statement_code_p): Remove declaration. 2003-04-10 08:07:13 +00:00
lex.h except.c, [...]: Fix Copyright years. 2003-01-02 12:39:56 +01:00
mangle.c Index: testsuite/ChangeLog 2003-04-03 03:45:49 +00:00
method.c gengtype-lex.l (IWORD): Add CHAR_BITFIELD. 2003-04-03 15:42:16 +00:00
name-lookup.c name-lookup.c (find_binding): Pass appropriate pointer type to POP_TIMEVAR_AND_RETURN. 2003-04-04 22:35:22 +00:00
name-lookup.h cp-tree.h (binding_for_name): Move to name-lookup.h Adjust prototype. 2003-03-30 16:00:39 +00:00
operators.def gengtype-lex.l (IWORD): Add CHAR_BITFIELD. 2003-04-03 15:42:16 +00:00
optimize.c params.def: Introduce parameter max-inline-insns-rtl for a separate limit for the RTL inliner. 2003-03-02 21:18:16 +00:00
parser.c re PR c++/10381 (Accepts call to inexistent function) 2003-04-15 20:23:36 +00:00
pt.c tree.c (build_constructor): New function. 2003-04-13 01:45:35 +00:00
ptree.c gengtype-lex.l (IWORD): Add CHAR_BITFIELD. 2003-04-03 15:42:16 +00:00
repo.c Merge from pch-branch. 2003-01-10 02:22:34 +00:00
rtti.c tree.c (build_constructor): New function. 2003-04-13 01:45:35 +00:00
search.c re PR c++/7647 (ICE when data member has the name of the enclosing class) 2003-03-30 22:30:54 +00:00
semantics.c tree.c (build_constructor): New function. 2003-04-13 01:45:35 +00:00
tree.c tree.c (build_cplus_array_type_1): Do not call uses_template_parms() on a NULL index_type. 2003-04-15 00:34:11 +00:00
typeck.c tree.c (build_constructor): New function. 2003-04-13 01:45:35 +00:00
typeck2.c tree.c (build_constructor): New function. 2003-04-13 01:45:35 +00:00