aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
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 Law2-2/+2
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-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-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-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-05always read header files with poorly chosen sizesBruce Korb2-2/+17
From-SVN: r36163
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-05Daily bump.Jeff Law2-2/+2
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-04tweakJason Merrill1-0/+1
From-SVN: r36152
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
2000-09-04decl.c (finish_function): Move the code for handling functions marked with ↵Mark Elbrecht2-8/+21
the constructor and destructor... * decl.c (finish_function): Move the code for handling functions marked with the constructor and destructor attributes inside the expand_p block. From-SVN: r36147
2000-09-04* gcc.c: Undefine "__WCHAR_TYPE__" before redefining it.Craig Newell2-1/+5
From-SVN: r36146
2000-09-04Makefile.in (STAGESTUFF): Remove libgcc.Andreas Schwab2-5/+17
* Makefile.in (STAGESTUFF): Remove libgcc. (stage1-start, stage2-start, stage3-start): Copy the contents of the libgcc directory explicitly. (mostlyclean): Clean libgcc. From-SVN: r36139
2000-09-04dwarf2out.c: (stack_adjust_offset): New prototype.Andrew Haley2-1/+7
2000-09-04 Andrew Haley <aph@redhat.com> * dwarf2out.c: (stack_adjust_offset): New prototype. From-SVN: r36138
2000-09-04* g++.old-deja/g++.pt/crash57.C: New test.Nathan Sidwell2-0/+16
From-SVN: r36137
2000-09-04* init.c (resolve_offset_ref): Deal with TEMPLATE_ID_EXPR.Nathan Sidwell2-2/+6
From-SVN: r36136
2000-09-04* g++.old-deja/g++.pt/crash56.C: New test.Nathan Sidwell2-0/+23
From-SVN: r36135
2000-09-04pt.c (lookup_template_class): Remove abort.Nathan Sidwell3-3/+8
* pt.c (lookup_template_class): Remove abort. * tree.c (get_type_decl): Allow error_mark_node. From-SVN: r36134
2000-09-04* g++.old-deja/g++.pt/koenig1.C: New test.Nathan Sidwell2-0/+26
From-SVN: r36133
2000-09-04decl2.c (arg_assoc): Deal with COMPONENT_REFs inside TEMPLATE_ID_EXPRs.Nathan Sidwell2-0/+8
* decl2.c (arg_assoc): Deal with COMPONENT_REFs inside TEMPLATE_ID_EXPRs. From-SVN: r36132
2000-09-04combine.c (make_extraction): Fix rtx_cost comparison to match the comment.Jan Hubicka2-2/+13
* combine.c (make_extraction): Fix rtx_cost comparison to match the comment. From-SVN: r36131
2000-09-04* gcc.dg/20000904-1.c: New test.Jakub Jelinek2-0/+15
From-SVN: r36130
2000-09-04i386.md (pushsi2, [...]): Add '*' to insn pattern name.Jan Hubicka1-11/+11
* i386.md (pushsi2, pushhi2, pophi2, swapsf, swapdf, umulsi3_highpart, smulsi3_highpart, testqi_ccno_1, xorqi_ext_1): Add '*' to insn pattern name. From-SVN: r36129