Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
1ee1f340
Commit
1ee1f340
authored
Apr 13, 1999
by
Mike Stump
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up spelling and formatting.
From-SVN: r26417
parent
9c73ec84
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
133 additions
and
132 deletions
+133
-132
gcc/cp/ChangeLog
+133
-132
No files found.
gcc/cp/ChangeLog
View file @
1ee1f340
...
...
@@ -426,7 +426,7 @@ Fri Mar 26 10:20:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1999-03-25 Mark Mitchell <mark@codesourcery.com>
* pt.c (tsubst_decl):
T
subst into DECL_BEFRIENDING_CLASSES.
* pt.c (tsubst_decl):
t
subst into DECL_BEFRIENDING_CLASSES.
1999-03-25 Nathan Sidwell <nathan@acm.org>
...
...
@@ -513,7 +513,7 @@ Fri Mar 26 10:20:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* cp-tree.h (TYPE_PTRMEMFUNC_P): Use TYPE_PTRMEMFUNC_FLAG.
Document internals of pointer-to-member-functions.
(DELTA2_FROM_PTRMEMFUNC): Make it call delta2_from_ptrmemfunc.
(PFN_FROM_PTRMEMFUNC):
Similarly
.
(PFN_FROM_PTRMEMFUNC):
Likewise
.
(build_type_conversion): Remove unused parameter.
(build_ptrmemfunc1): Declare.
(expand_ptrmemfunc_cst): New function.
...
...
@@ -559,8 +559,8 @@ Fri Mar 26 10:20:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1999-03-19 Alexandre Oliva <oliva@dcc.unicamp.br>
* Make-lang.in: ($(INTL_TARGETS)):
depend on cp/parse.c
($(srcdir)/cp/parse.c):
moved from ../Makefile.in
* Make-lang.in: ($(INTL_TARGETS)):
Depend on cp/parse.c.
($(srcdir)/cp/parse.c):
Moved from ../Makefile.in.
1999-03-17 Martin von Lwis <loewis@informatik.hu-berlin.de>
...
...
@@ -575,7 +575,7 @@ Fri Mar 26 10:20:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
g++.jason/incomplete1.C.
* tree.c (build_dummy_object): Use void_zero_node instead of the
error_mark_node
error_mark_node
.
(is_dummy_object): Check for such a node.
Detected by g++.bob/inherit1.C
...
...
@@ -645,16 +645,16 @@ Mon Mar 15 21:57:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1999-03-13 Martin von Lwis <loewis@informatik.hu-berlin.de>
* semantics.c (finish_switch_cond): Handle error cases gracefully.
Detected by g++.law/enum5.C
Detected by g++.law/enum5.C
.
* typeck.c (build_modify_expr): Check for errors after resolving
offsets.
Detected by g++.brendan/static1.C
offsets.
Detected by g++.brendan/static1.C.
* decl.c (complete_array_type): Ignore initial_value if it is an
error.
Detected by g++.benjamin/17930.C
error.
Detected by g++.benjamin/17930.C.
* typeck2.c (process_init_constructor): Return error if one argument
is in error.
Detected by g++.benjamin/13478.C
is in error.
Detected by g++.benjamin/13478.C.
1999-03-12 Martin von Lwis <loewis@informatik.hu-berlin.de>
...
...
@@ -816,7 +816,7 @@ Mon Mar 15 21:57:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* typeck.c (complete_type_or_else): Add VALUE arg, for helpful
diagnostics.
cp-tree.h (complete_type_or_else): Added VALUE parameter.
*
cp-tree.h (complete_type_or_else): Added VALUE parameter.
* init.c (build_new_1): Extra arg to complete_type_or_else.
(build_delete): Likewise.
* typeck.c (require_complete_type): Likewise.
...
...
@@ -838,27 +838,28 @@ Mon Mar 15 21:57:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
require_complete_type_in_void. Call it.
* cp-tree.h (require_complete_type_in_void): Prototype new function.
* typeck.c (convert_arguments): Use alternative format for function
decls. Don't require_complete_type here. Simplify diagnostic printing.
* typeck.c (convert_arguments): Use alternative format for
function decls. Don't require_complete_type here. Simplify
diagnostic printing.
(convert_for_initialization): Don't require_complete_type on RHS yet.
* call.c (convert_arg_to_ellipsis): Call require_complete_type.
* call.c (build_over_call): Cope with qualified void return type.
* semantics.c (finish_call_expr): Likewise
* typeck.c (build_function_call_real): Likewise
(c_expand_return): Likewise
* semantics.c (finish_call_expr): Likewise
.
* typeck.c (build_function_call_real): Likewise
.
(c_expand_return): Likewise
.
* decl2.c (reparse_absdcl_as_expr): Cope with qualified void type.
* call.c (print_z_candidates): Use alternate print format, to be
consist
a
nt with (pt.c) print_candidates.
method.c (hack_identifier): List candidate members.
search.c (lookup_field): Build ambiguous list, and show it, if
consist
e
nt with (pt.c) print_candidates.
*
method.c (hack_identifier): List candidate members.
*
search.c (lookup_field): Build ambiguous list, and show it, if
ambiguous.
1999-02-26 Mark Mitchell <mark@markmitchell.com>
* typeck.c (decay_conversion): Don't confuse constant array
variables with their in
tiai
lizers.
variables with their in
itia
lizers.
* decl.c (duplicate_decls): Copy DECL_TEMPLATE_INSTANTIATED when
merging decls.
...
...
@@ -1042,7 +1043,7 @@ Thu Feb 18 23:40:01 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sat Feb 6 18:08:40 1999 Jeffrey A Law (law@cygnus.com)
* typeck2.c: Update email addrsses.
* typeck2.c: Update email addr
e
sses.
1999-02-04 Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu>
...
...
@@ -1413,7 +1414,7 @@ Tue Dec 22 15:09:25 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
(DECL_TEMPLATE_TEMPLATE_PARM_P): Use it.
(decl_template_parm_p): Remove.
* decl.c (pushdecl): Don't set DECL_CONTEXT for a template
param
ter.
param
eter.
* lex.c (do_identifier): Use DECL_TEMPLATE_PARM_P.
* pt.c (push_inline_template_parms_recursive): Set it.
(decl_template_parm_p): Remove.
...
...
@@ -1429,7 +1430,7 @@ Wed Dec 16 16:33:58 1998 Dave Brolley <brolley@cygnus.com>
* decl.c (poplevel): Make sure ns_binding is initialized.
* decl.c (finish_function): Undo inadvert
a
nt change in previous
* decl.c (finish_function): Undo inadvert
e
nt change in previous
patch.
1998-12-14 Mark Mitchell <mark@markmitchell.com>
...
...
@@ -1607,7 +1608,7 @@ Wed Dec 9 15:33:01 1998 Dave Brolley <brolley@cygnus.com>
1998-12-08 Andrew MacLeod <amacleod@cygnus.com>
* cp/except.c (call_eh_info):
u
se __start_cp_handler instead of
* cp/except.c (call_eh_info):
U
se __start_cp_handler instead of
__cp_eh_info for getting the eh info pointer. Add table_index to
field list.
(push_eh_cleanup): Don't increment 'handlers' data field.
...
...
@@ -1629,7 +1630,7 @@ Mon Dec 7 17:56:06 1998 Mike Stump <mrs@wrs.com>
* lex.c (check_newline): Add support for \ as `natural'
characters in file names in #line to be consistent with #include
handling. We support escape prcessing in the # 1 "..." version of
handling. We support escape pr
o
cessing in the # 1 "..." version of
the command. See also support in cp/lex.c.
1998-12-07 Zack Weinberg <zack@rabi.phys.columbia.edu>
...
...
@@ -1759,7 +1760,7 @@ Fri Nov 27 13:07:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1998-11-24 Dave Pitts <dpitts@cozx.com>
* Make-lang.in (DEMANGLER_PROG): Move the output argum
nts to the
* Make-lang.in (DEMANGLER_PROG): Move the output argum
ents to the
first position.
* lex.c (check_newline): Use ISALPHA.
(readescape): Use ISGRAPH.
...
...
@@ -2024,7 +2025,7 @@ Fri Nov 27 13:07:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
SET_IS_AGGR_TYPE.
* tree.c (make_binfo): Check CLASS_TYPE_P.
(copy_template_template_parm): Adjust.
(make_temp_vec): Use push_expresion_obstack.
(make_temp_vec): Use push_expres
s
ion_obstack.
* typeck.c (complete_type): Use new macros.
(comptypes): Likewise.
...
...
@@ -2196,10 +2197,10 @@ Sat Nov 7 15:48:02 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1998-11-02 Alexandre Oliva <oliva@dcc.unicamp.br>
* parse.y (apparent_template_type):
new type
(named_complex_class_head_sans_basetype):
use it
* Makefile.in (CONFLICTS):
one new conflict
* parse.c: Regenerated
* parse.y (apparent_template_type):
New type.
(named_complex_class_head_sans_basetype):
Use it.
* Makefile.in (CONFLICTS):
One new conflict.
* parse.c: Regenerated
.
1998-11-01 Mark Mitchell <mark@markmitchell.com>
...
...
@@ -2703,7 +2704,7 @@ Sat Oct 17 23:27:20 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
class type is complete.
(grokfield): Reformat error message.
* method.c (set_mangled_name_for_decl): Don't mangle names while
procesing_template_decl.
proces
s
ing_template_decl.
1998-10-16 Jason Merrill <jason@yorick.cygnus.com>
...
...
@@ -2854,7 +2855,7 @@ Thu Oct 8 06:00:19 1998 Jeffrey A Law (law@cygnus.com)
* typeck.c (unsigned_type): Only return TItype nodes when
HOST_BITS_PER_WIDE_INT is >= 64 bits.
(signed_type):
Similarly
.
(signed_type):
Likewise
.
* decl.c (intTI_type_node, unsigned_intTI_type_node): Only declare
when HOST_BITS_PER_WIDE_INT is >= 64 bits.
(init_decl_processing): Only create TItype nodes when
...
...
@@ -2870,7 +2871,7 @@ Wed Oct 7 12:32:44 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1998-10-07 Mark Mitchell <mark@markmitchell.com>
* class.c (finish_struct_1): Add commentary on prevous change.
* class.c (finish_struct_1): Add commentary on prev
i
ous change.
* cp-tree.h (vtbl_ptr_type_node): New variable.
* class.c (build_vtbl_ref): Don't indirect through the vptr; it's
...
...
@@ -3135,7 +3136,7 @@ Thu Oct 1 10:43:45 1998 Nick Clifton <nickc@cygnus.com>
(start_function): Add invocation of
SET_DEFAULT_DECL_ATTRIBUTES, if defined.
* lex.c: Replace occur
a
nces of HANDLE_SYSV_PRAGMA with
* lex.c: Replace occur
re
nces of HANDLE_SYSV_PRAGMA with
HANDLE_GENERIC_PRAGMAS.
1998-09-28 Anthony Green <green@cygnus.com>
...
...
@@ -3247,9 +3248,9 @@ Fri Sep 25 11:45:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* spew.c (yylex): Give diagnostic.
* hash.h (is_reserved_word): Add export.
* gxx.gperf:
Ditto
.
* gxx.gperf:
Likewise
.
* lex.h (rid): Add RID_EXPORT.
* lex.c (init_parse):
Ditto.
* lex.c (init_parse):
Likewise.
Tue Sep 22 21:01:19 1998 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
...
...
@@ -3289,7 +3290,7 @@ Mon Sep 21 01:53:05 1998 Felix Lee <flee@cygnus.com>
1998-09-17 Andrew MacLeod <amacleod@cygnus.com>
* exception.cc (__cplus_type_matcher):
r
ealign some code.
* exception.cc (__cplus_type_matcher):
R
ealign some code.
1998-09-16 Mark Mitchell <mark@markmitchell.com>
...
...
@@ -3312,10 +3313,10 @@ Mon Sep 21 01:53:05 1998 Felix Lee <flee@cygnus.com>
1998-09-15 Alexandre Oliva <oliva@dcc.unicamp.br>
* call.c (build_field_call):
handle static data members too
* call.c (build_field_call):
Handle static data members too.
* typeck.c (comptypes):
w
hen comparing pointer types, check
whether referred types match even in strictest modes
* typeck.c (comptypes):
W
hen comparing pointer types, check
whether referred types match even in strictest modes
.
1998-09-15 Mark Mitchell <mark@markmitchell.com>
...
...
@@ -3406,7 +3407,7 @@ Mon Sep 21 01:53:05 1998 Felix Lee <flee@cygnus.com>
1998-09-08 Richard Henderson <rth@cygnus.com>
Mark Mitchell <mark@markmitchell.com>
* pt.c (process_partial_specialization): Consist
a
ntly allocate
* pt.c (process_partial_specialization): Consist
e
ntly allocate
and zero tpd.parms based on ntparms. Use tpd2.parms, not
tpd.parms, where appropriate.
...
...
@@ -3447,7 +3448,7 @@ Sun Sep 6 00:00:51 1998 Jeffrey A Law (law@cygnus.com)
make_tree_vec. Document this behavior.
(lookup_template_class): Likewise.
(tsubst, cases METHOD_TYPE, FUNCTION_TYPE): Use tsubst_arg_types.
Remove dead code (and add ssertion to check its deadness). Fix
Remove dead code (and add
a
ssertion to check its deadness). Fix
bug w.r.t. exception specifications.
1998-09-03 Jason Merrill <jason@yorick.cygnus.com>
...
...
@@ -3546,7 +3547,7 @@ Wed Sep 02 09:25:29 1998 Nick Clifton <nickc@cygnus.com>
* decl.c (finish_enum): Handle member enums of classes declared in
template functions.
* decl2.c (grok_x_components): Strip attribut
r
es before calling
* decl2.c (grok_x_components): Strip attributes before calling
groktypename.
1998-08-31 Jason Merrill <jason@yorick.cygnus.com>
...
...
@@ -3606,7 +3607,7 @@ Sun Aug 30 22:16:31 1998 H.J. Lu (hjl@gnu.org)
1998-08-28 Mark Mitchell <mark@markmitchell.com>
* cp-tree.h (build_enumerator): Take the enumeration type as a
param
ter.
param
eter.
* decl.c (finish_enum): Don't set the TREE_TYPE for the
enumeration constant values if we're processing_template_decls.
Don't set the type for the CONST_DECLs either; that's done in
...
...
@@ -4158,7 +4159,7 @@ Fri Aug 14 16:42:27 1998 Nick Clifton <nickc@cygnus.com>
* method.c (hack_identifier): Improve error message.
* pt.c (lookup_template_function): Don't needlessly call
copy_to_permanent or build_min.
(tsubst_copy): Remove #if 0'd code.
T
subst into LOOKUP_EXPRs if
(tsubst_copy): Remove #if 0'd code.
t
subst into LOOKUP_EXPRs if
necessary.
(do_decl_instantiation): Improve error message.
* tree.c (mapcar, case LOOKUP_EXPR): Don't be sorry; make a copy.
...
...
@@ -4315,7 +4316,7 @@ Fri Aug 14 16:42:27 1998 Nick Clifton <nickc@cygnus.com>
(innermost_args): Use new macros.
(tsubst_aggr_type): New function, split out from tsubst.
(tsubst): Use tsubst_aggr_type, tsubst_template_parms, new calling
conventions for lookup_t
me
plate_class. Refine handling of partial
conventions for lookup_t
em
plate_class. Refine handling of partial
instantiations. Remove calls to complete_template_args.
Simplify. Add consistency checks. Use set_mangled_name_for_decl
and set_mangled_name_for_template_decl.
...
...
@@ -4691,7 +4692,7 @@ Mon Jul 13 17:21:01 1998 Nick Clifton <nickc@cygnus.com>
1998-07-12 Klaus Kaempf (kkaempf@progis.de)
* repo.c (get_base_filename): Use file_name_nondirectory.
(open_repo_file): Ditto
.
(open_repo_file): Likewise
.
* cp-tree.h (file_name_nondirectory): Add prototype.
1998-07-12 Jason Merrill <jason@yorick.cygnus.com>
...
...
@@ -4786,7 +4787,7 @@ Sun Jul 12 01:20:57 1998 Jeffrey A Law (law@cygnus.com)
1998-06-30 Benjamin Kosnik <bkoz@bliss.nabi.net>
* decl2.c (lang_decode_option): Remove warn_template_debugging.
* lang-options.h: Ditto
.
* lang-options.h: Likewise
.
Mon Jun 29 20:17:40 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
...
...
@@ -4899,7 +4900,7 @@ Sat Jun 27 07:36:09 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* exception.cc (struct cp_eh_info): Add original_value field.
(__cplus_type_matcher): Perform type matching on the original exception
value, and if we have a match, set the current value.
(__cp_push_exception): Set the original ex
pce
tion value.
(__cp_push_exception): Set the original ex
cep
tion value.
1998-06-23 Jason Merrill <jason@yorick.cygnus.com>
...
...
@@ -5571,7 +5572,7 @@ Thu May 21 11:54:44 1998 Dave Brolley <brolley@cygnus.com>
* cp-tree.h: (get_directive_line): Different prototype for cpplib.
(GET_DIRECTIVE_LINE): Macro wrapper for get_directive_line.
* Makefile.in (CXX_OBJS):
a
dd @extra_cxx_objs@ for cpplib.
* Makefile.in (CXX_OBJS):
A
dd @extra_cxx_objs@ for cpplib.
1998-05-21 Jason Merrill <jason@yorick.cygnus.com>
...
...
@@ -5698,7 +5699,7 @@ Tue May 19 10:05:02 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* parse.y: Include toplev.h.
* pt.c (type_unification): Remove unused variable `arg'.
(instantiate_decl):
l
ikewise for `save_ti'.
(instantiate_decl):
L
ikewise for `save_ti'.
* tree.c (propagate_binfo_offsets): Likewise for `base_binfos'.
...
...
@@ -5743,7 +5744,7 @@ Mon May 18 01:24:08 1998 Jeffrey A Law (law@cygnus.com)
* Makefile.in (program_transform_name, objdir): Define.
* Makefile.in (BISON): Use bison from the build tree if it exists.
(FLEX):
Similarly
.
(FLEX):
Likewise
.
Sun May 17 14:52:08 1998 Martin v. Loewis <loewis@informatik.hu-berlin.de>
...
...
@@ -5792,17 +5793,17 @@ Fri May 15 00:46:05 1998 Jason Merrill <jason@yorick.cygnus.com>
Thu May 14 16:30:47 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
* exception.cc: Include eh-common.h.
(struct cp_eh_info):
a
dd eh_info struct with NEW_EH_MODEL.
(struct cp_eh_info):
A
dd eh_info struct with NEW_EH_MODEL.
(__cplus_type_matcher): First stab at new C++ runtime type matcher.
(__cp_push_exception): Initialize eh_info struct as well.
* except.c: Remove local structs and include eh-common.h.
(init_exception_processing): Set language and version codes.
(call_eh_info):
add presence of eh_info to runtime description of
(call_eh_info):
Add presence of eh_info to runtime description of
struct cp_eh_info.
(expand_end_eh_spec):
c
all start_catch_block() and end_catch_block().
* semantics.c (finish_try_block):
call start_catch_block() and
(expand_end_eh_spec):
C
all start_catch_block() and end_catch_block().
* semantics.c (finish_try_block):
Call start_catch_block() and
end_catch_block().
* parse.y (function_try_block):
call start_catch_block() and
* parse.y (function_try_block):
Call start_catch_block() and
end_catch_block().
Thu May 14 12:27:34 1998 Brendan Kehoe <brendan@cygnus.com>
...
...
@@ -6161,7 +6162,7 @@ Fri May 8 23:32:42 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
Set DECL_CONTEXT to current_namespace if not set already.
Ignore real contexts that are namespaces.
(mangle_class_name_for_template): Skip global_namespace.
Mangle other namepaces as declarations.
Mangle other name
s
paces as declarations.
(lookup_template_function): Set type of OVERLOAD nodes to unknown.
(lookup_template_class): Push into namespace of context.
If the context is a namespace, set it to global_namespace.
...
...
@@ -6363,7 +6364,7 @@ Thu Apr 23 21:19:06 1998 Jason Merrill <jason@yorick.cygnus.com>
Enforce access control here. Emit overload warnings here.
(add_warning): New fn.
(joust): Add WARN parm. If not set, call add_warning instead of
printing a warning. Reenable some warnings.
printing a warning. Re
-
enable some warnings.
(tourney): Pass it.
(convert_like): Adjust.
(build_new_op): Adjust.
...
...
@@ -6573,14 +6574,14 @@ Thu Apr 9 22:16:57 1998 Benjamin Kosnik <bkoz@loony.cygnus.com>
* decl.c (grokdeclarator): Check TYPE_MAIN_VARIANT.
* call.c (build_scoped_method_call): Check for TREE_CODE for
VOID_TYPE instead of type == void_type_node.
(build_method_call):
Ditto
.
* decl.c (lookup_name_real):
Ditto
.
(grokdeclarator):
Ditto
.
(start_decl):
Ditto
.
(grokparms):
Ditto
.
(start_function):
Ditto
.
(finish_function):
Ditto
.
(start_method):
Ditto
.
(build_method_call):
Likewise
.
* decl.c (lookup_name_real):
Likewise
.
(grokdeclarator):
Likewise
.
(start_decl):
Likewise
.
(grokparms):
Likewise
.
(start_function):
Likewise
.
(finish_function):
Likewise
.
(start_method):
Likewise
.
Thu Apr 9 00:18:44 1998 Dave Brolley (brolley@cygnus.com)
...
...
@@ -6868,7 +6869,7 @@ Tue Mar 24 10:23:47 1998 Mark Mitchell <mmitchell@usa.net>
(fn_type_unification): Use new interfaces.
(type_unification): Likewise. Remove NOP_EXPR hack.
(type_unification_real): Likewise.
(unify): Likewise. Deal with unification of complex expresions.
(unify): Likewise. Deal with unification of complex expres
s
ions.
Mon Mar 23 12:24:37 1998 Jason Merrill <jason@yorick.cygnus.com>
...
...
@@ -7008,7 +7009,7 @@ Mon Mar 16 10:54:21 1998 Mark Mitchell <mmitchell@usa.net>
* pt.c (tsubst_copy): Deal with BIND_EXPR in a way that more
closely mimics the behavior in parse.y.
(tsubst_expr): Return the resuting BLOCK when making a tsubst'ing
(tsubst_expr): Return the resu
l
ting BLOCK when making a tsubst'ing
into a compound statement.
Sun Mar 15 02:07:26 1998 Jason Merrill <jason@yorick.cygnus.com>
...
...
@@ -7126,7 +7127,7 @@ Wed Mar 4 12:11:53 1998 Michael Tiemann <tiemann@axon.cygnus.com>
* rtti.c (get_tinfo_fn_dynamic): If this function is called an
FLAG_RTTI is unset, initialize type info machinery and continue
with FLAG_RTTI enabled.
(get_typeid):
Ditto
.
(get_typeid):
Likewise
.
Wed Mar 4 11:47:55 1998 Jason Merrill <jason@yorick.cygnus.com>
...
...
@@ -7262,43 +7263,43 @@ Wed Feb 25 00:35:33 1998 Jason Merrill <jason@yorick.cygnus.com>
Tue Feb 24 22:15:04 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
* cp-tree.def: Add CPLUS_BINDING node.
* cp-tree.h (tree_binding):
new struct
(BINDING_SCOPE, BINDING_VALUE):
new macros
(current_namespace, global_namespace):
declare extern
(struct lang_decl_flags):
new field in_namespace
(DECL_NAMESPACE_USING, DECL_NAMESPACE_USERS):
new macros
(DECL_NAMESPACE, SET_DECL_NAMESPACE):
new macros
(TREE_INDIRECT_USING):
new macro
* cp-tree.h (tree_binding):
New struct.
(BINDING_SCOPE, BINDING_VALUE):
New macros.
(current_namespace, global_namespace):
Declare extern.
(struct lang_decl_flags):
New field in_namespace.
(DECL_NAMESPACE_USING, DECL_NAMESPACE_USERS):
New macros.
(DECL_NAMESPACE, SET_DECL_NAMESPACE):
New macros.
(TREE_INDIRECT_USING):
New macro.
* decl2.c (current_namespace, global_namespace): Declare. The
value is a NAMESPACE_DECL now, not a TREE_LIST.
(is_namespace_ancestor, namespace_ancestor):
n
ew static functions.
(add_using_namespace, ambiguous_decl):
l
ikewise.
(lookup_using_namespace):
n
ew support function for lookup_name.
(qualified_lookup_using_namespace):
n
ew support function for
do_scoped_id and lookup_namespace_name
(get_namespace_id):
m
ark as obsolete.
(is_namespace_ancestor, namespace_ancestor):
N
ew static functions.
(add_using_namespace, ambiguous_decl):
L
ikewise.
(lookup_using_namespace):
N
ew support function for lookup_name.
(qualified_lookup_using_namespace):
N
ew support function for
do_scoped_id and lookup_namespace_name
.
(get_namespace_id):
M
ark as obsolete.
(current_namespace_id): Likewise.
(do_namespace_alias): Implement.
(do_using_directive): Implement as call to add_using_namespace.
* decl.c (binding_for_name):
n
ew function.
(push_namespace, pop_namespace):
i
mplement.
(push_decl):
d
on't install a FUNCTION_DECL in the global branch.
(lookup_namespace_name):
i
mplement using qualified lookup.
* decl.c (binding_for_name):
N
ew function.
(push_namespace, pop_namespace):
I
mplement.
(push_decl):
D
on't install a FUNCTION_DECL in the global branch.
(lookup_namespace_name):
I
mplement using qualified lookup.
(lookup_name_real): For global scoping, lookup in
global_namespace. For namespace scoping, lookup in given
namespace. For unscoped lookup, iterate over namespace,
considering using directives.
(init_decl_processing):
i
nitialize global_namespace.
(init_decl_processing):
I
nitialize global_namespace.
(grokvardecl): Build assembler name as static name for globals.
(grokdeclarator): Remove old namespace mangling.
(xref_tag): When installing a global binding for the
tag, make sure we have an identifier.
* method.c (build_overload_nested_name):
m
angle namespaces.
* method.c (build_overload_nested_name):
M
angle namespaces.
(build_qualified_name): Likewise.
(build_decl_overload_real): Likewise.
* lex.c (build_lang_decl):
s
et namespace for new declaration to
* lex.c (build_lang_decl):
S
et namespace for new declaration to
current_namespace.
(do_scoped_id):
f
ind global names in global or current
(do_scoped_id):
F
ind global names in global or current
namespace, or using qualified namespace lookup, depending on
context.
* init.c (build_member_call): When scope is namespace, use
...
...
@@ -7328,7 +7329,7 @@ Tue Feb 24 01:40:24 1998 Jason Merrill <jason@yorick.cygnus.com>
* pt.c (instantiate_class_template): Don't instantiate if pedantic
and the args use template parms.
* pt.c (push_tinst_level): If the instantiaton uses template parms,
* pt.c (push_tinst_level): If the instantiat
i
on uses template parms,
fail silently.
* decl.c (xref_basetypes): Do call complete_type for basetypes
that involve template parameters.
...
...
@@ -7440,7 +7441,7 @@ Mon Feb 23 02:52:29 1998 Mark Mitchell <mmitchell@usa.net>
(instantiate_decl): Handle instantiations of friend templates.
* search.c (lookup_field_1): Don't treat the TYPE_FIELDS of a
TEMPLATE_TYPE_PARM as a list of fields; it's not!
* spew.c (yylex): Do a little manual constant prop
o
gation to
* spew.c (yylex): Do a little manual constant prop
a
gation to
clarify the code.
Sun Feb 22 19:53:29 1998 Jeffrey A Law (law@cygnus.com)
...
...
@@ -7455,7 +7456,7 @@ Thu Feb 19 10:36:48 1998 Jason Merrill <jason@yorick.cygnus.com>
* typeck2.c (process_init_constructor): Sorry about non-trivial
labeled initializers.
* parse.y (initlist): Reenable labeled initializers.
* parse.y (initlist): Re
-
enable labeled initializers.
Thu Feb 19 10:15:55 1998 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
...
...
@@ -7468,7 +7469,7 @@ Thu Feb 19 10:04:12 1998 Jason Merrill <jason@yorick.cygnus.com>
* cvt.c (cp_convert_to_pointer): Preserve TREE_CONSTANT.
* typeck2.c (initializer_constant_valid_p): Allow conversions
between pointers and ref
r
erences.
between pointers and references.
1998-02-19 Brendan Kehoe <brendan@cygnus.com>
...
...
@@ -7529,7 +7530,7 @@ Fri Feb 13 02:26:10 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.
* call.c (build_over_call): Convert builtin abs, labs and fabs to
tree-codes.
* decl.c (init_decl_processing): Reenable abs, labs and fabs as
* decl.c (init_decl_processing): Re
-
enable abs, labs and fabs as
builtins.
Fri Feb 13 01:36:42 1998 Jason Merrill <jason@yorick.cygnus.com>
...
...
@@ -7680,7 +7681,7 @@ Tue Feb 3 22:43:42 1998 Jason Merrill <jason@yorick.cygnus.com>
* decl.c: Lose arg_looking_for_template.
(lookup_name_real): Likewise.
* parse.y: Lose processing_template_arg, template_arg1
* parse.y: Lose processing_template_arg, template_arg1
.
(primary): Likewise.
* spew.c (yylex): Set lastiddecl for PTYPENAMEs, too.
...
...
@@ -7824,7 +7825,7 @@ Mon Feb 2 00:57:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
truth value.
(finish_repo): Remove unused varable `p'.
* search.c (get_binfo): Initiize `type' to NULL_TREE.
* search.c (get_binfo): Initi
al
ize `type' to NULL_TREE.
(get_base_distance): Likewise.
(lookup_field): Initialize `rval_binfo_h', `type', `basetype_path'
and `new_v' to NULL_TREE.
...
...
@@ -8097,7 +8098,7 @@ Mon Jan 19 22:40:03 1998 Mark Mitchell <mmitchell@usa.net>
(begin_tree): Likewise.
(end_tree): Likewise.
(lookup_template_class): Change prototype.
* decl.c (cp_finish_decl): Check for NULL where necesary.
* decl.c (cp_finish_decl): Check for NULL where neces
s
ary.
Consider FUNCTION_DECLS to declare objects with top-level binding,
when calling make_decl_rtl.
(grokdeclarator): Give members of local classes internal linkage.
...
...
@@ -8165,7 +8166,7 @@ Mon Jan 19 22:40:03 1998 Mark Mitchell <mmitchell@usa.net>
instantiation/specialization mismatches.
(start_decl): Don't call pushdecl for template specializations,
since they don't affect overloading.
(start_function): Likewise
(start_function): Likewise
.
(grokfndecl): Call check_explicit_specialization a little later.
Don't call duplicate_decls for memberm template specializations.
(grokdeclarator): Don't update template_count for classes that are
...
...
@@ -8364,8 +8365,8 @@ Thu Dec 11 20:43:33 1997 Teemu Torma <tot@trema.com>
(init_decl_processing): Initialize it.
* cp-tree.h: Declare it.
* exception.cc (__cp_exception_info): Use __get_eh_info.
(__cp_push_exception):
Ditto
.
(__cp_pop_exception):
Ditto
.
(__cp_push_exception):
Likewise
.
(__cp_pop_exception):
Likewise
.
From Scott Snyder <snyder@d0sgif.fnal.gov>:
* except.c (expand_builtin_throw): Use get_saved_pc_ref instead of
...
...
@@ -8628,7 +8629,7 @@ Wed Nov 19 18:24:14 1997 Jason Merrill <jason@yorick.cygnus.com>
* decl.c (make_implicit_typename): Handle case where t is not
actually from context.
* tree.c (get_type_decl): Lose identifier case.
* spew.c (yylex): Lose useless call to identifer_typedecl_value.
* spew.c (yylex): Lose useless call to identif
i
er_typedecl_value.
* parse.y (nonnested_type): Just use lookup_name.
(complex_type_name): Just use IDENTIFIER_GLOBAL_VALUE.
...
...
@@ -8865,7 +8866,7 @@ Thu Oct 23 02:01:30 1997 Jason Merrill <jason@yorick.cygnus.com>
Mon Oct 20 12:06:34 1997 Jason Merrill <jason@yorick.cygnus.com>
* except.c (expand_exception_blocks): Call do_pending_stack_adust.
* except.c (expand_exception_blocks): Call do_pending_stack_ad
j
ust.
(expand_end_catch_block): Likewise.
(expand_end_eh_spec): Likewise.
...
...
@@ -8969,9 +8970,9 @@ Tue Oct 7 22:52:10 1997 Jason Merrill <jason@yorick.cygnus.com>
Tue Oct 7 22:45:31 1997 Alexandre Oliva <oliva@dcc.unicamp.br>
* typeck.c (build_reinterpret_cast):
c
onverting a void pointer
* typeck.c (build_reinterpret_cast):
C
onverting a void pointer
to function pointer with a reinterpret_cast produces a warning
if -pedantic is issued
if -pedantic is issued
.
Tue Oct 7 22:43:43 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
...
...
@@ -9068,11 +9069,11 @@ Mon Sep 29 19:57:51 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
Mon Sep 29 11:05:54 1997 Alexandre Oliva <oliva@dcc.unicamp.br>
* lang-options.h:
n
ew -Wold-style-cast flag.
* cp-tree.h (warn_old_style_cast):
n
ew variable.
* decl2.c (warn_old_style_cast):
ditto
.
(lang_decode_option):
s
upport -Wold-style-cast.
(reparse_absdcl_as_casts):
p
roduce old-style-cast warning.
* lang-options.h:
N
ew -Wold-style-cast flag.
* cp-tree.h (warn_old_style_cast):
N
ew variable.
* decl2.c (warn_old_style_cast):
Likewise.
.
(lang_decode_option):
S
upport -Wold-style-cast.
(reparse_absdcl_as_casts):
P
roduce old-style-cast warning.
Mon Sep 29 09:20:53 1997 Benjamin Kosnik <bkoz@rhino.cygnus.com>
...
...
@@ -9236,7 +9237,7 @@ Thu Sep 25 11:11:13 1997 Jason Merrill <jason@yorick.cygnus.com>
Rvalue conversions were removed in London.
* call.c (is_subseq): Don't consider lvalue transformations.
(build_conv): LVALUE_CONV and RVALUE_CONV get IDENTITY_RANK.
(joust): Reenable ?: kludge.
(joust): Re
-
enable ?: kludge.
1997-09-22 Brendan Kehoe <brendan@lisa.cygnus.com>
...
...
@@ -9433,7 +9434,7 @@ Fri Sep 5 01:37:17 1997 Mark Mitchell <mmitchell@usa.net>
Wed Sep 3 12:30:24 1997 Mark Mitchell <mmitchell@usa.net>
* pt.c (type_unification): Change calling squence to allow for
* pt.c (type_unification): Change calling s
e
quence to allow for
multiple levels of template parameters.
(tsubst_expr): Likewise.
(tsubst): Likewise.
...
...
@@ -9495,7 +9496,7 @@ Wed Sep 3 12:30:24 1997 Mark Mitchell <mmitchell@usa.net>
for member templates.
(process_next_inline): Likewise.
* method. (build_overload_identifier): Adjust for multiple levels
* method.
c
(build_overload_identifier): Adjust for multiple levels
of template parameters.
* parse.y (fn.def2): Add member templates.
...
...
@@ -9718,7 +9719,7 @@ Fri Aug 8 11:47:48 1997 Jason Merrill <jason@yorick.cygnus.com>
* decl2.c (lang_decode_option): Handle -fhandle-exceptions.
* lang-options.h: Add -fhandle-exceptions.
* class.c (build_vtable):
v
tables are artificial.
* class.c (build_vtable):
V
tables are artificial.
(prepare_fresh_vtable): Likewise.
Wed Aug 6 11:02:36 1997 Jason Merrill <jason@yorick.cygnus.com>
...
...
@@ -9812,8 +9813,8 @@ Thu Jul 17 18:06:30 1997 Jason Merrill <jason@yorick.cygnus.com>
Thu Jul 17 11:20:17 1997 Benjamin Kosnik <bkoz@rhino.cygnus.com>
* class.c (finish_struct_methods):
a
dd check of warn_ctor_dtor_privacy
before "all member functions in class [] are private"
* class.c (finish_struct_methods):
A
dd check of warn_ctor_dtor_privacy
before "all member functions in class [] are private"
.
Wed Jul 16 23:47:08 1997 Jason Merrill <jason@yorick.cygnus.com>
...
...
@@ -9881,7 +9882,7 @@ Wed Jul 9 13:44:12 1997 Jason Merrill <jason@yorick.cygnus.com>
Wed Jul 9 13:04:38 1997 Geoffrey Noer <noer@cygnus.com>
* decl.c (init_decl_processing):
f
ix Jun 30 patch -- move
* decl.c (init_decl_processing):
F
ix Jun 30 patch -- move
ifndef for Cygwin32 to include SIGSEGV.
Thu Jul 3 01:44:05 1997 Jason Merrill <jason@yorick.cygnus.com>
...
...
@@ -10063,9 +10064,9 @@ Tue Jun 3 18:08:23 1997 Jason Merrill <jason@yorick.cygnus.com>
Tue Jun 3 12:30:40 1997 Benjamin Kosnik <bkoz@cirdan.cygnus.com>
* decl.c (build_enumerator):
f
ix problem with unsigned long
* decl.c (build_enumerator):
F
ix problem with unsigned long
enumerated values being smashed to ints, causing overflow
when computing next enumerated value
.
(for enum values around
when computing next enumerated value (for enum values around
MAX_VAL).
Mon Jun 2 17:40:56 1997 Jason Merrill <jason@yorick.cygnus.com>
...
...
@@ -10257,7 +10258,7 @@ Wed Apr 23 18:06:50 1997 Jason Merrill <jason@yorick.cygnus.com>
Wed Apr 23 14:43:06 1997 Mike Stump <mrs@cygnus.com>
* init.c (init_decl_processing): Add sup
op
rt for setjmp/longjmp based
* init.c (init_decl_processing): Add sup
po
rt for setjmp/longjmp based
exception handling.
* except.c (init_exception_processing): Likewise.
(expand_end_catch_block): Likewise.
...
...
@@ -10746,7 +10747,7 @@ Thu Jan 23 16:39:06 1997 Jason Merrill <jason@yorick.cygnus.com>
Tue Jan 21 18:32:04 1997 Mike Stump <mrs@cygnus.com>
* cvt.c (cp_convert):
P
edwarn enum to pointer conversions.
* cvt.c (cp_convert):
p
edwarn enum to pointer conversions.
Mon Jan 20 17:59:51 1997 Jason Merrill <jason@yorick.cygnus.com>
...
...
@@ -11358,7 +11359,7 @@ Fri Sep 27 16:40:30 1996 Jason Merrill <jason@yorick.cygnus.com>
* decl2.c (build_expr_from_tree): Use it.
* cp-tree.h: Declare it.
* decl.c (start_decl):
v
ariable-sized arrays cannot be initialized.
* decl.c (start_decl):
V
ariable-sized arrays cannot be initialized.
* error.c (dump_type_suffix): Handle variable arrays.
Fri Sep 27 13:14:05 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
...
...
@@ -11586,7 +11587,7 @@ Wed Sep 4 17:16:09 1996 Bob Manson <manson@charmed.cygnus.com>
* init.c (perform_member_init): Use add_partial_entry () instead
of directly manipulating lists.
(emit_base_init):
Ditto
.
(emit_base_init):
Likewise
.
Wed Sep 4 12:14:36 1996 Mike Stump <mrs@cygnus.com>
...
...
@@ -11677,7 +11678,7 @@ Fri Aug 30 10:01:55 1996 Mike Stump <mrs@cygnus.com>
to start_function.
* parse.y (datadef): Remove non-winning optimization.
(decl): Likewise.
(fndef): Remove ambiguous error productions uncovered by gramm
e
r
(fndef): Remove ambiguous error productions uncovered by gramm
a
r
fixing.
(constructor_declarator): Add exception_specification_opt here.
(component_constructor_declarator): Likewise.
...
...
@@ -11789,7 +11790,7 @@ Wed Aug 21 00:13:15 1996 Jason Merrill <jason@yorick.cygnus.com>
* call.c (build_new_method_call): Add missing args to cp_error.
* tree.c (error_type): Dont print reference-to-array.
* tree.c (error_type): Don
'
t print reference-to-array.
* typeck.c (convert_for_assignment): Don't say contravariance for
removing const.
...
...
@@ -12282,7 +12283,7 @@ Mon Jul 22 12:18:54 1996 Jason Merrill <jason@yorick.cygnus.com>
* g++.c (main): Don't link with -lg++.
NEW_OVER changes:
* cvt.c (convert_to_reference): Don't use convert_from_refeence on
* cvt.c (convert_to_reference): Don't use convert_from_refe
r
ence on
result of build_type_conversion.
(cp_convert): Only call build_method_call for ctors if
build_type_conversion failed.
...
...
@@ -13464,7 +13465,7 @@ Fri Mar 22 17:57:55 1996 Mike Stump <mrs@cygnus.com>
Fri Mar 22 13:48:29 1996 Jason Merrill <jason@yorick.cygnus.com>
* decl.c (grokdeclarator): Call bad_specifiers for typedefs. Also
give an error if initialized.
P
edwarn about nested type with the
give an error if initialized.
p
edwarn about nested type with the
same name as its enclosing class.
* pt.c (tsubst, case TYPE_DECL): Set DECL_CONTEXT.
...
...
@@ -13695,7 +13696,7 @@ Wed Mar 13 14:03:34 1996 Jason Merrill <jason@yorick.cygnus.com>
Tue Mar 12 14:36:02 1996 Jason Merrill <jason@yorick.cygnus.com>
* init.c (build_new):
P
edwarn about init and array new.
* init.c (build_new):
p
edwarn about init and array new.
(expand_vec_init): Handle lists, use convert_for_initialization.
* typeck.c (convert_for_initialization): Pass LOOKUP_NO_CONVERSION
...
...
@@ -14276,7 +14277,7 @@ Wed Feb 21 16:57:33 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
* class.c (n_*): Wrap with #ifdef GATHER_STATISTICS.
* class.c (get_vtable_entry): Diable unused function.
* class.c (get_vtable_entry): Di
s
able unused function.
(doing_hard_virtuals): Delete unused static global var.
(finish_struct_1): Don't init DOING_HARD_VIRTUALS.
(prepare_fresh_vtable): Delete unused vars PATH and RESULT.
...
...
@@ -15057,7 +15058,7 @@ Wed Dec 6 11:48:21 1995 Mike Stump <mrs@cygnus.com>
* class.c (build_vfn_ref): Remove building_cleanup logic, as we now
use UNSAVE_EXPRs.
typeck.c (get_member_function_from_ptrfunc): Remove remnants of
*
typeck.c (get_member_function_from_ptrfunc): Remove remnants of
building_cleanup logic, as we now use UNSAVE_EXPRs.
* cp-tree.h (unsave_expr): Declare it.
* decl.c (building_cleanup): Remove.
...
...
@@ -15155,7 +15156,7 @@ Mon Nov 6 18:36:13 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
Sat Nov 4 20:01:52 1995 Jason Molenda <crash@phydeaux.cygnus.com>
* method.c (make_thunk):
u
se TREE_SET_CODE to set thunk's tree code.
* method.c (make_thunk):
U
se TREE_SET_CODE to set thunk's tree code.
Thu Nov 2 17:56:57 1995 Mike Stump <mrs@cygnus.com>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment