- 12 Jul, 1998 10 commits
-
-
* typeck.c (comptypes, case TEMPLATE_TEMPLATE_PARM): Add parameter comparison. * pt.c (for_each_template_parm, case TEMPLATE_DECL): If it is a template template parameter, record its use. (for_each_template_parm, case TEMPLATE_TEMPLATE_PARM): Traverse its template arguments if exists. * pt.c (coerce_template_template_parms): New function equivalent to coerce_template_parms when IS_TMPL_PARM is true. (coerce_template_parms): Use it. Remove the IS_TMPL_PARM parameter, all callers changed. (coerce_template_parms): Access ARGLIST properly when creating a new vector. Only accept implicit TYPE_DECL as valid argument for a template template parameter when it is a base class of current_class_type. Don't display error message when COMPLAIN is false. From-SVN: r21073
Kriang Lerdsuwanakij committed -
* Makefile.in (VERSION): Bump to 2.9.0. * std/bastring.cc (find_last_of): Fix. (find_last_not_of): Likewise. From-SVN: r21072
Jason Merrill committed -
From-SVN: r21071
Bob Sidebotham committed -
From-SVN: r21070
Jason Merrill committed -
* repo.c (get_base_filename): Use file_name_nondirectory (). (open_repo_file): Ditto. * cp-tree.h (file_name_nondirectory): Add prototype. From-SVN: r21069
Klaus Kaempf committed -
* friend.c (do_friend): Pull the identifier out of declarator. Use cp_error and friends. * decl2.c (qualified_lookup_using_namespace): Fix call to purpose_member. * decl.c (lookup_name_real): Don't call complete_type on a namespace. (grokvardecl): Use DECL_CLASS_SCOPE_P. (xref_basetypes): Fix call to GNU_xref_hier. * cvt.c (convert_pointer_to_real): Check for error_mark_node sooner. * class.c (warn_hidden): Fix for OVERLOAD. From grahams@rcp.co.uk: * cp-tree.h (DEFARG_NODE_CHECK): New macro. (DEFARG_LENGTH, DEFARG_POINTER): Use it. From-SVN: r21068
Jason Merrill committed -
From-SVN: r21067
Jason Merrill committed -
From-SVN: r21066
Jason Merrill committed -
From-SVN: r21065
Jeff Law committed -
From-SVN: r21064
Jeffrey A Law committed
-
- 11 Jul, 1998 9 commits
-
-
you commit changes to configure.in From-SVN: r21063
David S. Miller committed -
* cplus-dem.c (string): Move definition before work_stuff. (work_stuff): Add volatile_type, forgetting_types, previous_argument, and nrepeats fields. (SCOPE_STRING): New macro. (demangle_template): Add `remember' parameter. Add comment. Register the `B' code type here, if remembering. Tidy. Fix crash on NULL tmpl_argvec. Be consistent with use of tname/trawname. (demangle_nested_args): New function. (internal_cplus_demangle): Handle volatile-qualified member functions. (mop_up): Delete the previous_argument string if present. (demangle_signature): Tidy. Handle volatile-qualified member functions. Handle back-references using the `B' code. Use extra parameter to demangle_template and SCOPE_STRING where appropriate. (demangle_template_value_parm): Fix thinko; 'B' is not an integral code. (demangle_class): Use SCOPE_STRING. (gnu_special): Pass additional argument to demangle_template. Use SCOPE_STRING. (demangle_qualified): Save qualified types for later back-references. Handle constructors and destructors for template types correctly. (do_type): Tidy. Use SCOPE_STRING. Pass extra argument to demangle_template. Use demangled_nested_args. Don't remember qualified types here; that's now done in demangle_qualified. Similarly for templates. (do_arg): Improve commment. Handle 'n' repeat code. (remember_type): Check forgetting_types. (demangle_args): Deal with 'n' repeat codes. Tidy. * method.c (flush_repeats): Add nrepeats parameter. (issue_nrepeats): Likewise. (is_back_referenceable_type): New function. Don't back-reference TEMPLATE_TYPE_PARMs as well as simple types like integers. (build_mangled_name_for_type): Likewise. (build_mangled_name_for_type_with_Gcode): Likewise. (lasttype): Remove. (nrepeats): Likewise. (Nrepeats): Likewise. (start_squangling): Don't clear the variables removed above. (end_squangling): Likewise. (flush_repeats): Tidy. Use nrepeats parameter rather than Nrepeats global. (issue_nrepeats): Likewise, but with nrepeats global. Use is_backreferenceable_type. (build_overload_nested_name): Tidy. Add comment. Use build_mangled_name_for_type. (build_underscore_int): Comment. (build_overload_scope_ref): Use build_mangled_name_for_type. (build_overload_int): Likewise. (build_template_template_parm_names): Tidy. (build_template_parm_names): Use build_mangled_name_for_type. (build_overload_identifier): Add comments. (build_mangled_name_for_type_with_Gcode): Split out from build_mangled_name. (build_mangled_name_for_type): Use it. (build_mangled_name): Rework to use build_mangled_name_for_type and to not use global nrepeats/Nrepeats. Tidy. (process_modifiers): Tidy. (check_btype): Use is_backreferenceable_type. Add comment. Rename `node' to `type'. (process_overload_item): Set numeric_output_need_bar here. Use build_mangled_name_for_type. Tidy. (build_decl_overload_real): Tidy. Don't use Nrepeats. Use build_mangled_name_for_type. From-SVN: r21062
Mark Mitchell committed -
* pt.c (push_template_decl_real): Don't look at DECL_TEMPLATE_INFO for TYPE_DECLs. From-SVN: r21061
Mark Mitchell committed -
From-SVN: r21060
Martin v. Löwis committed -
From-SVN: r21059
Martin v. Löwis committed -
From-SVN: r21058
Richard Earnshaw committed -
arm.md (extendhisi2_mem, [...]): Propagate the volatile and structure attribute flags to MEMs generated. * arm.md (extendhisi2_mem, movhi, movhi_bytes): Propagate the volatile and structure attribute flags to MEMs generated. (splits for sign-extended HI & QI mode from memory): Also propagate the volatile flag. From-SVN: r21057
Richard Earnshaw committed -
From-SVN: r21056
Martin v. Löwis committed -
From-SVN: r21055
Jeff Law committed
-
- 10 Jul, 1998 7 commits
-
-
* g++.other/singleton.C: Return error value instead of taking SIGSEGV. From-SVN: r21054
Martin v. Loewis committed -
From-SVN: r21053
Michael Meissner committed -
* jump.c (jump_optimize): If after_regscan and our transformations generate new REGs, rerun reg_scan. From-SVN: r21052
David S. Miller committed -
Fri Jul 10 11:50:43 EDT 1998 Andrew MacLeod <amacleod@cygnus.com> * config/i960/i960.c (i960_address_cost): MEMA operands with positive offsets < 4096 are free. From-SVN: r21051
Andrew MacLeod committed -
* g++.other/singleton.C: New test. Warning is under dispute. Runtime crash is not. From-SVN: r21050
Klaus-Georg Adams committed -
* config/m68k/m68k.c (const_uint32_operand): Recognize CONSTANT_P_RTX. (const_sint32_operand): Likewise. From-SVN: r21049
Andreas Schwab committed -
From-SVN: r21047
Jeff Law committed
-
- 09 Jul, 1998 14 commits
-
-
From-SVN: r21046
Jeffrey A Law committed -
From-SVN: r21045
Jeff Law committed -
From-SVN: r21044
Jeffrey A Law committed -
From Martin Von Loewis. * g++.ns/{alias2.C, alias5.C, koenig4.C, lookup3.C ns13.C, ns14.C, ns15.C, template3.C, undef1.C, using4.C, using5.C, using6.C, using7.C}: New namespace tests. From-SVN: r21043
Martin v. Loewis committed -
From Martin Von Loewis. * g++.ns/{alias2.C, alias5.C, koenig4.C, lookup3.C ns13.C, ns14.C, ns15.C, template3.C, undef1.C, using4.C, using5.C, using6.C, using7.C}: New namespace tests. From-SVN: r21042
Martin v. Loewis committed -
From Martin Von Loewis. * g++.ns/{alias2.C, alias5.C, koenig4.C, lookup3.C ns13.C, ns14.C, ns15.C, template3.C, undef1.C, using4.C, using5.C, using6.C, using7.C}: New namespace tests. From-SVN: r21041
Martin v. Loewis committed -
* g++.old-deja/g++.other/partspec1.C: test matching of partial specialization with typedef'ed names used as array indexes. From-SVN: r21040
Alexandre Oliva committed -
1998-07-09 Dave Love <d.love@dl.ac.uk> * intdoc.in (HOSTNM_func, HOSTNM_subr): Update last change. From-SVN: r21039
Dave Love committed -
From-SVN: r21038
Dave Love committed -
* libU77/Makefile.in (check): Wrap -lg2c ... -lm around $(LIBS) in case of static link. From-SVN: r21037
Dave Love committed -
(check): Wrap -lg2c ... -lm around $(LIBS) in case of static link. From-SVN: r21036
Dave Love committed -
reload1.c (choose_reload_regs): If using an equivalence from find_equiv_reg and reg_reloaded_valid is not set... * reload1.c (choose_reload_regs): If using an equivalence from find_equiv_reg and reg_reloaded_valid is not set for this register, clear the associated spill_reg_store. From-SVN: r21035
J"orn Rennecke committed -
* reload1.c (emit_reload_insns): If an output reload copies only to a secondary reload register, indicate that the secondary reload does the actual store. From-SVN: r21034
J"orn Rennecke committed -
reload.c (find_equiv_reg): If need_stable_sp is set, check if stack pointer is changed directly in a PARALLEL. * reload.c (find_equiv_reg): If need_stable_sp is set, check if stack pointer is changed directly in a PARALLEL. From-SVN: r21033
J"orn Rennecke committed
-