]> gcc.gnu.org Git - gcc.git/blame - gcc/cp/ChangeLog
[multiple changes]
[gcc.git] / gcc / cp / ChangeLog
CommitLineData
a1622f83
AM
11998-06-08 Andrew MacLeod <amacleod@cygnus.com>
2
3 * except.c (init_exception_processing): Remove NEW_EH_MODEL compile
4 time flag. Call __cp_eh_info instead of __cp_exception_info.
5 * exception.cc (struct cp_eh_info): Remove NEW_EH_MODEL flag.
6 (__cp_exception_info): Return offset into cp_eh_info structure to
7 match what use to be the start of this structure.
8 (__cp_eh_info): New function to return a pointer to cp_eh_info struct.
9 (__cplus_type_matcher, __cp_push_exception): Remove NEW_EH_MODEL
10 compile time flag.
11 (__uncatch_exception, __check_eh_spec, std::uncaught_exception): Call
12 __cp_eh_info instead of __cp_exception_info.
13
aeb302bb
JM
141998-06-08 Jason Merrill <jason@yorick.cygnus.com>
15
16 * decl.c (cp_finish_decl): Disable inlining of extern inlines
17 with static variables.
18
53b22f3d
MM
191998-06-08 Mark Mitchell <mark@markmitchell.com>
20
21 * init.c (build_offset_ref): Correct previous change to use build,
22 not build_min.
23
4146c3af
MM
241998-06-07 Mark Mitchell <mark@markmitchell.com>
25
26 * class.c (instantiate_type): Handle pointer-to-members where the
27 member is a template.
28 * init.c (build_offset_ref): Likewise.
29 * typeck.c (build_unary_op): Likewise.
30
9116eca2
RH
311998-06-07 Richard Henderson <rth@cygnus.com>
32
33 * lex.c (lang_init_options): New function.
34 (lang_init): Remove flag_exceptions == 2 hack.
35
a4785564
JM
361998-06-05 Jason Merrill <jason@yorick.cygnus.com>
37
3070ba0b
JM
38 * search.c (envelope_add_decl): Tweak for implicit typename.
39
598c8c2c
JM
40 * call.c (joust): Also warn about confusing conversion op/constructor
41 overload resolution.
42
a4785564
JM
43 * spew.c (yylex): Also return the TYPE_DECL if got_object.
44 Don't clear got_object after '~'.
45 * call.c (build_scoped_method_call): Tweak destructor handling.
46 (build_method_call): Likewise.
47 * pt.c (tsubst_copy, case METHOD_CALL_EXPR): Don't mess with
48 TYPE_MAIN_VARIANT for destructors.
49 * semantics.c (finish_object_call_expr): Complain about calling a
50 TYPE_DECL.
51
9ffe87d0
PB
521998-06-05 Per Bothner <bothner@cygnus.com>
53
e211a323 54 * g++spec.c (lang_specific_pre_link, lang_specific_extra_ofiles):
9ffe87d0
PB
55 Define - update needed by gcc.c change.
56
19333f70
JM
571998-06-05 Jason Merrill <jason@yorick.cygnus.com>
58
59 * error.c (cp_printers): Use 'o' instead of '_' for the null entry.
60
3e3f722c
ML
611998-06-05 Martin v. Loewis <loewis@informatik.hu-berlin.de>
62
63 * cp-tree.h (DECL_NAMESPACE_ALIAS, ORIGINAL_NAMESPACE): Declare.
64 * decl.c (lookup_name_real): Add namespaces_only parameter.
65 If set, return only NAMESPACE_DECLs.
66 (select_decl): Likewise.
67 (identifier_type_value): Give additional parameter.
68 (lookup_name_nonclass): Likewise.
69 (lookup_name): Likewise.
70 (find_binding): Skip namespace aliases.
71 (binding_for_name): Likewise.
72 (push_namespace): Check for namespace aliases.
73 (lookup_name_namespace_only): New function.
74 (begin_only_namespace_names, end_only_namespace_names): New functions.
75 * decl2.c (set_decl_namespace): Skip namespace aliases.
76 (do_using_directive): Likewise.
77 (do_namespace_alias): Produce namespace aliases, fix alias
78 redeclaration.
79 * error.c (dump_decl): Support SCOPE_REF.
80 * parse.y (extdef): Wrap lookup with namespace_only for namespace
81 aliases and using declarations.
82
285baa06
JM
831998-06-04 Jason Merrill <jason@yorick.cygnus.com>
84
db36eaf7
JM
85 * tree.c (really_overloaded_fn): Only see through one TREE_LIST.
86
285baa06
JM
87 * error.c (dump_expr): Clean up NEW_EXPR case.
88
89