- 23 Nov, 1999 2 commits
-
-
* cp-tree.def (FUNCTION_NAME): New tree node. * cp-tree.h (current_function_name_declared): Tweak documentation. (lang_decl_flags): Add pretty_function_p, adjust dummy. (DECL_PRETTY_FUNCTION_P): New macro. * decl.c (cp_finish_decl): Handle declarations of __FUNCTION__, etc., in a template function. Use at_function_scope_p instead of expanding it inline. * pt.c (tsubst_decl): Handle DECL_PRETTY_FUNCTION_P declarations specially. (tsubst): Handle FUNCTION_NAME. (tsubst_copy): Likewise. (instantiate_decl): Prevent redeclarations of __PRETTY_FUNCTION__, etc. in instantiation. * semantics.c (begin_compound_stmt): Declare __FUNCTION__, etc., even in template functions. (setup_vtbl_ptr): Don't declare __PRETTY_FUNCTION in the conditional scope at the top of a destructor. * error.c (dump_function_decl): Use `[ with ... ]' syntax for specializations too. From-SVN: r30625
Mark Mitchell committed -
* dwarf2out.c (die_struct): Remove die_attr_last and die_child_last. (add_dwarf_attr, add_child_die): Just push onto the front. (reverse_die_lists): New fn. (add_sibling_attributes): Use it. (push_decl_scope): Reorganize. (gen_struct_or_union_type_die): Don't add a DW_AT_containing_type that points to ourself. (add_name_and_src_coords_attributes): Don't set file and line for an artificial decl. (gen_subprogram_die): An artificial function doesn't need to match file and line. (gen_compile_unit_die): Return the generated die. Only add AT_comp_dir if the filename is relative. (remove_AT): Simplify loop. Also free string values. (output_die): A DIE ref can't be null. (output_value_format, value_format): Take a dw_attr_ref. (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove. (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc, AT_addr, AT_lbl): New fns. (various): Use them. (various): Constify. From-SVN: r30624
Jason Merrill committed
-
- 22 Nov, 1999 15 commits
-
-
* combine.c (combine_simplify_rtx): When handling a SUBREG, take SUBREG_WORD into account. (if_then_else_cond): Likewise. From-SVN: r30623
J"orn Rennecke committed -
* stl_rope.h: Fix initialization order. * stl_deque.h: Use static_casts<size_type>(signed_type). Co-Authored-By: Matthias Klose <doko@cs.tu-berlin.de> From-SVN: r30622
Benjamin Kosnik committed -
* gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising clause from BSD license From-SVN: r30621
Jason Merrill committed -
* strtoul.c, strtol.c, random.c: Remove advertising clause from BSD license From-SVN: r30620
Jason Merrill committed -
From-SVN: r30619
Bernd Schmidt committed -
From-SVN: r30618
Bernd Schmidt committed -
From-SVN: r30617
Nathan Sidwell committed -
* semantics.c (finish_unary_op_expr): Only set TREE_NEGATED_INT when actually negative. * typeck.c (convert_for_assignment): Expand comment about strange NULL check, moved from ... (convert_for_initialization): ... here. Remove unneeded code. From-SVN: r30616
Nathan Sidwell committed -
* g++.old-deja/g++.eh/cleanup2.C: New test. * g++.old-deja/g++.ext/pretty2.C: New test. * g++.old-deja/g++.ext/pretty3.C: New test. * g++.old-deja/g++.other/debug6.C: New test. From-SVN: r30615
Nathan Sidwell committed -
From-SVN: r30614
Bruce Korb committed -
From-SVN: r30613
Bruce Korb committed -
emit-rtl.c (gen_sequence): Only return the pattern of an insn if its code is INSN and it has no notes. Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com> * emit-rtl.c (gen_sequence): Only return the pattern of an insn if its code is INSN and it has no notes. From-SVN: r30612
Andrew Haley committed -
1999-11-22 Andrew Haley <aph@cygnus.com> * varasm.c (function_defined): Remove. (make_function_rtl): Don't set function_defined. (make_decl_rtl): Remove global register warning. * regclass.c (no_global_reg_vars): New variable. (globalize_reg): Warn if function has already been defined. (regclass_init): Set no_global_reg_vars. From-SVN: r30611
Andrew Haley committed -
* regclass.c (reg_pref): New structure and static variable (prefclass): Delete. (altclass): Delete. (all uses of prefclass and altclass): Use reg_pref instead. From-SVN: r30610
Jan Hubicka committed -
From-SVN: r30609
Jeff Law committed
-
- 21 Nov, 1999 12 commits
-
-
* constants.c (find_methodref_index): Unwrap method names before inserting them in the constant pool. * jcf-parse.c (jcf_parse): Display `interface' when appropriate. * class.c (assume_compiled_node): New typedef. (assume_compiled_tree): New static data. (find_assume_compiled_node): New function. (add_assume_compiled): New function. (assume_compiled): New function. * class.c (make_class_data): Use assume_compiled. (is_compiled_class): Use assume_compiled. * java-tree.h (add_assume_compiled): Declare. * lang.c (lang_decode_option): Parse new options. From-SVN: r30608
Anthony Green committed -
From-SVN: r30607
Alexandre Oliva committed -
* cp-tree.h (build_vec_delete): Remove `auto_delete' argument. * init.c (build_vec_delete, build_vec_delete_1): Likewise. Always destruct virtual bases of array components, but never delete them. (build_vec_init): Adjust invocations. (build_delete): Likewise. * decl2.c (delete_sanity): Likewise. From-SVN: r30606
Alexandre Oliva committed -
From-SVN: r30604
Nick Clifton committed -
* global.c (allocno): New structure and static variable. (allocno_reg): Remove, all references replaced by allocno. (allocno_size): Likewise. (hard_reg_conflicts): Likewise. (hard_reg_preferences): Likewise. (hard_reg_copy_preferences): Likewise. (hard_reg_full_preferences): Likewise. (regs_someone_prefers): Likewise. (allocno_calls_crossed): Likewise. (allocno_n_refs): Likewise. (allocno_live_length): Likewise. (find_reg): Rename ALLOCNO to NUM. From-SVN: r30603
Jan Hubicka committed -
* global.c (allocno): New structure and static variable. (allocno_reg): Remove, all references replaced by allocno. (allocno_size): Likewise. (hard_reg_conflicts): Likewise. (hard_reg_preferences): Likewise. (hard_reg_copy_preferences): Likewise. (hard_reg_full_preferences): Likewise. (regs_someone_prefers): Likewise. (allocno_calls_crossed): Likewise. (allocno_n_refs): Likewise. (allocno_live_length): Likewise. (find_reg): Rename ALLOCNO to NUM. From-SVN: r30602
Jan Hubicka committed -
* regclass.c (may_move_in_cost): Rename from may_move_cost, all references updated. (may_move_out_cost): New variable. (init_reg_sets_1): Initialize may_move_out_cost. (record_reg_classes): Use may_move_out_cost. From-SVN: r30601
Jan Hubicka committed -
* regclass.c (dump_regclass): New function. (regclass): New parameter DUMP, call DUMP_REGCLASS. * toplev.c (rest_of_compilation): Opent lreg dump file before regclass, pass rtl_dump_file to regclass. * rtl.h (regclass): Update prototype. From-SVN: r30600
Jan Hubicka committed -
From-SVN: r30599
Jeff Law committed -
* varasm.c (output_constructor): Solve problem with long long bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1). From-SVN: r30598
Geoff Keating committed -
* i386.md (neg, not and abs patterns): Revmap to use ix86_expand_unary_operator and ix86_unary_operator_ok. (add?f and sub?f expanders): Force operand 1 to register. * i386.c (ix86_expand_unary_operator): Rewrite. (ix86_unary_operator_ok): Ensure that memory operands match real opcode. (ix86_binary_operator_ok): Do not allow operand 1 to come into memory and operand 0 not. (ix86_expand_binary_operator): Ensure that src1 is not non-matching memory. From-SVN: r30597
Jan Hubicka committed -
* i386.md (negs?2): Rewrite to expanders, new patterns and splitters to support integer registers and memory. (abss?2_integer): Likewise. From-SVN: r30596
Jan Hubicka committed
-
- 20 Nov, 1999 1 commit
-
-
From-SVN: r30595
Jeff Law committed
-
- 19 Nov, 1999 10 commits
-
-
* i386.h (enum reg_class): Add FLOAT_INT_REGS. (REG_CLASS_NAMES): Likewise. (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS and GENERAL_REGS. * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS. (movsf): Likewise; unify 4th and 5th alternative. (pushdf): Likewise. (movdf_1): Likewise; rename to movdf_integer. (pushxf): Likewise; rename to pushxf_integer; fix output template; remove redundant splitter. (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition. (movdf_nointeger): New. (movxf_nointeger): New. (pushxf_nointeger): New. From-SVN: r30594
Jan Hubicka committed -
* i386.md (extend?f?f): Split to expander and pattern, refuse two memory operands in patterns. (fop*): Refuse two memory operands. From-SVN: r30593
Jan Hubicka committed -
* i386.md (ashrsi3_31): Allow cltd when optimizing for size even on !TARGET_USE_CLTD CPUs. From-SVN: r30592
Jan Hubicka committed -
From-SVN: r30591
Tom Tromey committed -
From-SVN: r30590
Diego Novillo committed -
* rtl.texi (mem): Add documentation for alias-set argument to RTX `mem'. From-SVN: r30589
Diego Novillo committed -
From-SVN: r30588
Nathan Sidwell committed -
* extend.texi: Document C++ restricted pointers and references. * cp-tree.h (grok_method_quals): Return this pointer qualifiers. * decl.c (grokdeclarator): Adjust calls to grok_method_quals. * decl2.c (grok_method_quals): Accept `restrict' as applying to the object pointer. Return such qualifiers. (grokclassfn): Apply this pointer qualifiers. Cleanup unused variables. From-SVN: r30587
Nathan Sidwell committed -
From-SVN: r30586
Bernd Schmidt committed -
* i386.h (struct_processor_costs): New fileds int_load, int_store, fp_move, fp_load and fp_store (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of fp->int moves (MEMORY_MOVE_COST): New macro. * i386.c (386_cost): Define new fields. (i486_cost): Likewise. (pentium_cost): Likewise. (pentiumpro_cost): Likewise. (k6_cost): Likewise. From-SVN: r30585
Jan Hubicka committed
-