aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-09-06ltconfig, [...]: Updated from libtool multi-language branch.Alexandre Oliva7-110/+197
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh, ltcf-gcj.sh: Updated from libtool multi-language branch. From-SVN: r36198
2000-09-06Don't use CLASS_LIKELY_SPILLED in local-allocBernd Schmidt2-22/+7
From-SVN: r36197
2000-09-06* g++.old-deja/g++.pt/deduct2.C: New test.Nathan Sidwell2-0/+25
From-SVN: r36196
2000-09-06pt.c (type_unification_real): Replace switch with if.Nathan Sidwell2-9/+11
* pt.c (type_unification_real): Replace switch with if. (unify): Tsubst non-type parms before comparing. From-SVN: r36195
2000-09-06* g++.old-deja/g++.pt/parms2.C: New test.Nathan Sidwell2-0/+43
From-SVN: r36194
2000-09-06error.c (dump_typename): New function, broken out of ...Nathan Sidwell3-5/+29
* error.c (dump_typename): New function, broken out of ... (dump_type): ... here. Use it. * typeck.c (same_type_p): Use cp_tree_equal for TYPENAME_TYPE. From-SVN: r36193
2000-09-06Changes in cse.c/loop.c cost calculationsBernd Schmidt8-98/+261
From-SVN: r36192
2000-09-06rs6000.c (validate_condition_mode): New function.Geoff Keating5-617/+514
* config/rs6000/rs6000.c (validate_condition_mode): New function. (branch_comparison_operator): Call validate_condition_mode to abort rather than returning 0. (branch_positive_comparison_operator): New function. (scc_comparison_operator): Call validate_condition_mode to abort rather than returning 0. (ccr_bit): Call validate_condition_mode. Update for new branch scheme. (print_operand): Delete %C modifier. Update %E case to use EQ bit not SO bit. (rs6000_reverse_condition): New function. (rs6000_generate_compare): New function. (rs6000_emit_sCOND): New function. (rs6000_emit_cbranch): New function. (output_cbranch): The length of a long branch insn is now only 8 bytes. Add validate_condition_mode. Use rs6000_reverse_condition. Remove cror generation. * config/rs6000/rs6000.h: Update comments. (PREDICATE_CODES): Add new predicate. Update codes used by branch_comparison_operator and scc_comparison_operator. * config/rs6000/rs6000-protos.h: Add prototypes for new external functions. * config/rs6000/rs6000.md: Add new scheduling parameters for cr_logical instructions. Change length of branch instructions. (bCOND patterns): Call rs6000_emit_cbranch. (sCOND patterns): Call rs6000_emit_sCOND. (branch patterns): Change lengths to 4. (cr logical patterns): New. From-SVN: r36191
2000-09-06* g++.old-deja/g++.pt/crash58.C: New test.Nathan Sidwell2-0/+37
From-SVN: r36190
2000-09-06init.c (build_offset_ref): Deal with namespace scoped TEMPLATE_ID_EXPRs.Nathan Sidwell2-15/+29
* init.c (build_offset_ref): Deal with namespace scoped TEMPLATE_ID_EXPRs. From-SVN: r36189
2000-09-06class.c (resolve_address_of_overloaded_function): Add explanation message.Nathan Sidwell5-14/+31
* class.c (resolve_address_of_overloaded_function): Add explanation message. * decl.c (define_case_label): Reformat explanation. * decl2.c (finish_static_data_member_decl): Likewise. (grokfield): Likewise. * friend.c (do_friend): Likewise. From-SVN: r36188
2000-09-06i386.md (call_pop): Fix test for setting current_function_uses_pic_offset_table.Richard Henderson3-13/+16
* config/i386/i386.md (call_pop): Fix test for setting current_function_uses_pic_offset_table. (call, call_value_pop, call_value): Likewise. From-SVN: r36187
2000-09-0620000906.c: New test.Greg McGary3-0/+95
* gcc.c-torture/20000906.c: New test. * gcc.c-torture/20000906.x: Expect failure for ix86 at `-O2'. From-SVN: r36186
2000-09-06Daily bump.Jeff Law5-5/+5
From-SVN: r36185
2000-09-06timevar.c (timevar_add): Delete.Zack Weinberg2-22/+19
* timevar.c (timevar_add): Delete. (timevar_get): Also count time since the selected timer was last updated. Do not examine the timevar stack if the selected timer is standalone. From-SVN: r36184
2000-09-06gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend.J. David Anglin1-0/+4
2000-09-05 J. David Anglin <dave@hiauly1.hia.nrc.ca> * gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend. From-SVN: r36183
2000-09-06gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend.J. David Anglin1-3/+8
2000-09-02 J. David Anglin <dave@hiauly1.hia.nrc.ca> * gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend. From-SVN: r36182
2000-09-05John David Anglin <dave@hiauly1.hia.nrc.ca>John David Anglin2-10/+10
* md5.h (md5_uint32): Choose via INT_MAX instead of UINT_MAX. From-SVN: r36181
2000-09-05John David Anglin <dave@hiauly1.hia.nrc.ca>John David Anglin2-12/+13
* gettext.h (nls_uint32): Choose via INT_MAX instead of UINT_MAX. From-SVN: r36180
2000-09-06c-decl.c (finish_incomplete_decl): Don't call complete_array_type for ↵Jason Merrill2-4/+9
'extern' arrays. * c-decl.c (finish_incomplete_decl): Don't call complete_array_type for 'extern' arrays. From-SVN: r36179
2000-09-06tree.c (walk_tree): Expose tail recursion.Zack Weinberg4-18/+103
* tree.c (walk_tree): Expose tail recursion. (walk_stmt_tree): New function. * cp-tree.h: Prototype walk_stmt_tree. * semantics.c (prune_unused_decls): Operate on SCOPE_STMTs not the BLOCKs directly. If a BLOCK has no variables after pruning, discard it. (finish_stmt_tree): Use walk_stmt_tree. No need to save and restore the line number. From-SVN: r36178
2000-09-05lib1func.asm (__divtf3): Rebundle for Itanium.Richard Henderson2-32/+40
* config/ia64/lib1func.asm (__divtf3): Rebundle for Itanium. Eliminate final copy from non-trapping case. (__divdf3, __divsf3): Likewise. From-SVN: r36177
2000-09-05parse.y (do_merge_string_cste): New locals.Alexandre Petit-Bianco2-6/+17
2000-08-11 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (do_merge_string_cste): New locals. Create new STRING_CSTs each time, use memcpy. Fixes gcj/311 (Fixes gcj/311: http://gcc.gnu.org/ml/gcc-patches/2000-09/msg00144.html http://sources.redhat.com/ml/java-prs/2000-q3/msg00116.html) From-SVN: r36176
2000-09-06jcf-io.c: Include zlib.h.Anthony Green4-8/+57
2000-09-02 Anthony Green <green@redhat.com> * jcf-io.c: Include zlib.h. (open_in_zip): Read compressed class file archives. * zipfile.h (ZipDirectory): Add uncompressed_size and compression_method fields. * zextract.c (read_zip_archive): Collect file compression info. From-SVN: r36175
2000-09-05ia64.md (mulhi3): Fix typo last change.Richard Henderson3-2/+9
* config/ia64/ia64.md (mulhi3): Fix typo last change. * config/ia64/lib1func.asm (__divdi3, __udivdi3, __umodsi3): Likewise. From-SVN: r36174
2000-09-05Makefile.in: Restructure bootstrap stages to allow clean restart after failure.Donn Terry2-19/+75
* Makefile.in: Restructure bootstrap stages to allow clean restart after failure. From-SVN: r36173
2000-09-05ia64.md (movsi and movdi patterns): Allow moves from 8-bit constants to AR ↵Richard Henderson2-20/+28
registers. * config/ia64.md (movsi and movdi patterns): Allow moves from 8-bit constants to AR registers. From-SVN: r36172
2000-09-05* config/ia64/ia64.md (mulhi3): New.Richard Henderson2-0/+19
From-SVN: r36171
2000-09-06* java/net/natPlainDatagramSocketImpl.cc (mcastGrp): Fix typo.Bryce McKinlay2-3/+4
From-SVN: r36170
2000-09-05ia64.h (INIT_TARGET_OPTABS): Remove.Richard Henderson3-243/+145
* config/ia64/ia64.h (INIT_TARGET_OPTABS): Remove. * config/ia64/lib1funcs.asm (__divdi3): Update from Intel IA-64 Optimization Guide, minimum latency alternative. (__moddi3, __udivdi3, __umoddi3): Likewise. (__divsi3, __modsi3, __udivsi3, __umodsi3): Likewise. From-SVN: r36169
2000-09-05cp-demangle.c (demangle_encoding): Rename variable.Alex Samuel2-73/+113
* cp-demangle.c (demangle_encoding): Rename variable. (demangle_name): Rename parameter. Handle return type suppression. (demangle_nested_name): Rename parameter. (demangle_prefix): Likewise. Change return type suppression. (demangle_unqualified_name): Add parameter. Flag constructors and conversion operators. (demangle_special_name): Fix comment. (demangle_type): Rename variable. (demangle_bare_function_type): Check for missing return type and parameter. (demangle_class_enum_type): Rename parameter. (demangle_discriminator): Fix misspelling in comment. From-SVN: r36168
2000-09-05use "#if defined( HAV..." instead of "#if HAV..."Bruce Korb1-1/+1
From-SVN: r36167
2000-09-05PAGESIZE is not portableBruce Korb2-1/+2
From-SVN: r36166
2000-09-05natPlainDatagramSocketImpl.cc: Change various `JvThrow' calls to `throw'.Bryce McKinlay4-80/+114
2000-09-05 Bryce McKinlay <bryce@albatross.co.nz> * java/net/natPlainDatagramSocketImpl.cc: Change various `JvThrow' calls to `throw'. (send): Undo last patch. Remove the label only. (mcastGrp): Ditto. * java/net/natPlainSocketImpl.cc: Change various `JvThrow' calls to `throw'. * java/net/natInetAdress.cc: Ditto. From-SVN: r36165
2000-09-05configure.in (Cygwin): special case cygwin only when we're building cygwin, ↵DJ Delorie3-8/+23
not when we're hosting cygwin. * configure.in (Cygwin): special case cygwin only when we're building cygwin, not when we're hosting cygwin. From-SVN: r36164
2000-09-05always read header files with poorly chosen sizesBruce Korb2-2/+17
From-SVN: r36163
2000-09-05* doc/cni.sgml: Updated from master copy.Tom Tromey2-117/+28
From-SVN: r36162
2000-09-05Makefile.in (all-bootstrap): Added all-texinfo and all-zlib.Alexandre Oliva2-2/+7
* Makefile.in (all-bootstrap): Added all-texinfo and all-zlib. (bootstrap*): Depend on all-bootstrap. From-SVN: r36161
2000-09-05* gcc.dg/wtr-int-type-1.c: Fix for 64-bit platforms.Kaveh R. Ghazi2-4/+29
From-SVN: r36160
2000-09-05boehm.c (mark_reference_fields): Set marking bits for all words in a ↵Hans Boehm2-3/+25
multiple-word record. 2000-08-07 Hans Boehm <boehm@acm.org> * boehm.c (mark_reference_fields): Set marking bits for all words in a multiple-word record. (get_boehm_type_descriptor): Use the procedure marking descriptor for java.lang.Class. From-SVN: r36159
2000-09-05natIconv.cc (read): Remove unused local.Bryce McKinlay6-19/+20
2000-09-05 Bryce McKinlay <bryce@albatross.co.nz> * gnu/gcj/convert/natIconv.cc (read): Remove unused local. (write): Ditto. * gnu/gcj/runtime/FileDeleter.java (deleteOnExitNow): Check for null stack. Synchronize. * java/lang/fdlibm.h: #undef __P if previously defined. * java/lang/natSystem.cc (currentTimeMillis): Remove unused local. * java/net/natPlainDatagramSocketImpl.cc (send): Remove unreachable block. (mcastGrp): Ditto. From-SVN: r36158
2000-09-05Checked in for recognition of x86_64Philipp Thomas3-7/+21
2000-09-05 Philipp Thomas <pthomas@suse.de> * config.guess: Import CVS version 1.156. * config.sub: Import CVS version 1.179. From-SVN: r36157
2000-09-05Daily bump.Jeff Law5-5/+5
From-SVN: r36156
2000-09-05Makefile.in (CXX_TREE_H): Add dependency on HTAB_H.Mark Mitchell8-34/+103
* Makefile.in (CXX_TREE_H): Add dependency on HTAB_H. (pt.o): Remove dependency on HTAB_H. * cp-tree.h: Include hashtab.h. (walk_tree): Change prototype. (walk_tree_without_duplicates): New function. * decl.c (check_default_argument): Use it. * optimize.c (remap_decl): Adjust calls to walk_tree. (copy_body): Likewise. (expand_calls_inline): Likewise. (calls_setjmp_p): Use walk_tree_without_duplicates. * pt.c: Don't include hashtab.h. (for_each_template_parm): Use walk_tree_without_duplicates. * semantics.c (finish-stmt_tree): Likewise. (expand_body): Likewise. * tree.c (walk_tree): Add additional parameter. (walk_tree_without_duplicates): New function. (count_trees): Use it. (verify_stmt_tree): Adjust call to walk_tree. (find_tree): Use walk_tree_without_duplicates. (no_linkage_check): Likewise. (break_out_target_exprs): Adjust call to walk_tree. (cp_unsave): Likewise. From-SVN: r36155
2000-09-05gcse.c (hash_string_1): Add prototype.Alexandre Oliva3-0/+7
* gcse.c (hash_string_1): Add prototype. * cse.c (canon_hash_string): Likewise. From-SVN: r36154
2000-09-05cp-demangle.c (demangle_template_arg): Eat an `E' after an <expression>.Alex Samuel2-0/+6
* cp-demangle.c (demangle_template_arg): Eat an `E' after an <expression>. From-SVN: r36153
2000-09-04tweakJason Merrill1-0/+1
From-SVN: r36152
2000-09-05cp-demangle.c (demangle_type_ptr): Increment position past pointer and ↵Alex Samuel2-0/+11
reference characters. * cp-demangle.c (demangle_type_ptr): Increment position past pointer and reference characters. From-SVN: r36151
2000-09-05cp-demangle.c (demangle_nv_offset): New function.Alex Samuel2-51/+169
* cp-demangle.c (demangle_nv_offset): New function. (demangle_v_offset): Likewise. (demangle_call_offset): Likewise. (demangle_special_name): Update thunk demangling to comply with ABI changes. From-SVN: r36150
2000-09-04cp-tree.def (BOUND_TEMPLATE_TEMPLATE_PARM): New tree code.Kriang Lerdsuwanakij17-156/+254
* cp-tree.def (BOUND_TEMPLATE_TEMPLATE_PARM): New tree code. (TEMPLATE_TEMPLATE_PARM): Adjust comment. * cp-tree.h (TYPE_BINFO): Adjust comment. (TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO): Likewise. (TEMPLATE_TYPE_PARM_INDEX): Likewise. (IS_AGGR_TYPE): Use BOUND_TEMPLATE_TEMPLATE_PARM instead. (TYPE_TEMPLATE_INFO): Likewise. (TEMPLATE_TEMPLATE_PARM_TEMPLATE_DECL): Likewise. * class.c (push_nested_class): Likewise. * decl.c (lookup_name_real): Likewise. (grokdeclarator): Likewise. (grok_op_properties): Likewise. (xref_tag): Likewise. (xref_basetypes): Likewise. * decl2.c (constructor_name_full): Likewise. (arg_assoc_template_arg): Add TEMPLATE_TEMPLATE_PARM case. (arg_assoc_type): Use BOUND_TEMPLATE_TEMPLATE_PARM instead. * error.c (dump_type): Split TEMPLATE_TEMPLATE_PARM case. (dump_type_prefix): Add BOUND_TEMPLATE_TEMPLATE_PARM. (dump_type_suffix): Likewise. * init.c (is_aggr_type): Use BOUND_TEMPLATE_TEMPLATE_PARM instead. (get_aggr_from_typedef): Likewise. * mangle.c (write_type): Split TEMPLATE_TEMPLATE_PARM case. (write_expression): Add BOUND_TEMPLATE_TEMPLATE_PARM. (write_template_parm): Likewise. (write_template_template_parm): Check tree code instead of using TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO. * method.c (build_overload_nested_name): Add BOUND_TEMPLATE_TEMPLATE_PARM. (process_overload_item): Split TEMPLATE_TEMPLATE_PARM case. * parse.y (bad_parm): Add BOUND_TEMPLATE_TEMPLATE_PARM. * pt.c (convert_template_argument): Check tree code instead of using TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO. (for_each_template_parm_r): Split TEMPLATE_TEMPLATE_PARM case. (for_each_template_parm): Adjust comment. (tsubst): Add BOUND_TEMPLATE_TEMPLATE_PARM. Reorganize. (tsubst_copy): Add BOUND_TEMPLATE_TEMPLATE_PARM. (unify): Add BOUND_TEMPLATE_TEMPLATE_PARM. Reorganize. Use template_args_equal to compare template template parameter cases. * ptree.c (print_lang_type): Add BOUND_TEMPLATE_TEMPLATE_PARM. * search.c (lookup_field_1): Use BOUND_TEMPLATE_TEMPLATE_PARM instead. * tree.c (copy_template_template_parm): Decide whether to create a TEMPLATE_TEMPLATE_PARM or BOUND_TEMPLATE_TEMPLATE_PARM node. (walk_tree): Add BOUND_TEMPLATE_TEMPLATE_PARM. (copy_tree_r): Likewise. * typeck.c (comptypes): Likewise. Check tree code instead of using TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO. From-SVN: r36149