summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * config/mips/mips.md (div_trap_normal): Don't ask for the REGNOgeoffk1999-11-242-9/+16
| | | | | | | | | of (const_int 0), when what we really care about is whether it's a zero constant anyway. (div_trap_mips16): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30648 138bc75d-0d04-0410-961f-82ee72b054a4
* * loop.c (loop_optimize): Always find_loop_tree_blocks andmmitchel1999-11-243-8/+11
| | | | | | | unroll_block_trees when generating debuggable code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30647 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.h (unsave_expr_1): New function.mmitchel1999-11-243-41/+116
| | | | | | | | | | | | | | | (lang_unsave): New variable. (get_callee_fndecl): New function. * tree.c (unsave_expr_now_r): New function. (lang_unsave): Define. (unsave_expr_1): Likewise. (unsave_expr_now_r): Split out from unsave_expr_now. (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise, call unsave_expr_now_r. (get_callee_fndecl): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30646 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (gencheck): Don't depend on lang_tree_files.mmitchel1999-11-242-2/+6
| | | | | | | (gencheck.o): Do depend on lang_tree_files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30645 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-11-23 Mark Mitchell <mark@codesourcery.com>mmitchel1999-11-233-46/+63
| | | | | | | | | | | * integrate.h (copy_decl_for_inlining): New declaration. * integrate.c (copy_and_set_decl_abstract_origin): Remove. (copy_decl_for_inlining): New function. (integrate_parm_decls): Use it. (integrate_decl_tree): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30644 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Splitgavin1999-11-234-26/+51
| | | | | | | | | | | | | | the second two from the first. (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4. * config/mips/mips.md (movcc,reload_incc,reload_outcc, conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than ISA_HAS_FP4. * config/mips/mips.c (mips_move_1word,gen_conditional_branch, override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than ISA_HAS_FP4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30643 138bc75d-0d04-0410-961f-82ee72b054a4
* * pa.md (call_internal_symref, call_value_internal_symref): No modelaw1999-11-233-3/+10
| | | | | | | | needed on the address operand. * pa.c (call_operand_address): Check for the correct mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30642 138bc75d-0d04-0410-961f-82ee72b054a4
* * decl.c (pushdecl, grokdeclarator): Don't call a variadicghazi1999-11-234-17/+28
| | | | | | | | | | | function with a non-literal format string. * lex.c (do_identifier): Likewise. * typeck.c (build_unary_op): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30641 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.c (build_chill_function_call): Don't call a variadicghazi1999-11-236-43/+53
| | | | | | | | | | | | | | | | | function with a non-literal format string. * grant.c (write_spec_module): Likewise. * parse.c (require, expect): Likewise. * tasking.c (get_struct_type_name, get_struct_debug_type_name, get_tasking_code_name, get_struct_variable_name, get_process_wrapper_name, build_start_process): Likewise. * typeck.c (valid_array_index_p): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30640 138bc75d-0d04-0410-961f-82ee72b054a4
* revert AT_containing_type changejason1999-11-232-8/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30639 138bc75d-0d04-0410-961f-82ee72b054a4
* Copy propagation for hoisted mems in loop.c.crux1999-11-233-4/+120
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30638 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-11-23 Bryce McKinlay <bryce@albatross.co.nz>bryce1999-11-233-34/+46
| | | | | | | | | | | * java/net/natPlainSocketImpl.cc: Fix potential buffer overruns in Exception messages. PR java.net/57. (bind): set SO_REUSEADDR before bind. * java/net/natPlainDatagramSocketImpl.cc: Fix potential buffer overruns. PR java.net/57. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30637 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.law1999-11-235-5/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30636 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-tree.h (DECL_NEEDED_P): Tweak to match documentation.mmitchel1999-11-232-3/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30635 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-tree.def (CTOR_COMPLETE): New tree node.mmitchel1999-11-231-3/+4
| | | | | | | | | | | * decl.c (finish_constructor_body): Add it, to mark the end of the constructor. (finish_function): Don't call end_protect_partials here. * ir.texi (CTOR_COMPLETE): Document it. * semantics.c (expand_stmt): Handle it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30634 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (gencheck.o): Depend on gencheck.h.law1999-11-232-11/+23
| | | | | | | | | | | | | (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h. (insn-peep.o): Depend on except.h and function.h. (insn-attrtab.o): Depend on RECOG_H. (insn-output.o): Depend on toplev.h and flags.h. (gengenrtl.o): Depend on real.h. (gen-protos.o): Depend on cpplib.h and cpphash.h. Unify all dependencies to be on RECOG_H rather than recog.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30633 138bc75d-0d04-0410-961f-82ee72b054a4
* * config-ml.in (sparc*-*-*): Disable sparcv9 support if thelaw1999-11-232-0/+29
| | | | | | | necessary libraries are missing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30632 138bc75d-0d04-0410-961f-82ee72b054a4
* From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:law1999-11-233-87/+110
| | | | | | | | | * configure.in: Try building a bi-arch 32/64-bit compiler on sparc-*-solaris2.7 and higher. * configure: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30631 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-tree.def (CTOR_COMPLETE): New tree node.mmitchel1999-11-235-3/+20
| | | | | | | | | | | (finish_constructor_body): Add it, to mark the end of the constructor. (finish_function): Don't call end_protect_partials here. * ir.texi (CTOR_COMPLETE): Document it. * semantics.c (expand_stmt): Handle it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30630 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/freebsd.h: New, FreeBSD architecture independent file.law1999-11-238-66/+170
| | | | | | | | | | | | | | | | * config/i386/freebsd-elf.h: removed FreeBSD architecturally independent pieces. * config/i386/freebsd.h: include i386/perform.h via tm.h rather than directly by i386/freebsd.h. * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally independent configuration file. (*-*-freebsdelf): Include i386/perform.h via tm.h rather than directly by i386/freebsd.h. * configure: Rebuilt. *POTFILES.in: Add config/freebsd.h git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30628 138bc75d-0d04-0410-961f-82ee72b054a4
* * xm-i386.h: Define `__i386__' if not defined, rather than `i386'law1999-11-233-3/+10
| | | | | | | | | which is in the user's namespace. * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs. `i386' which is not in our namespace. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30627 138bc75d-0d04-0410-961f-82ee72b054a4
* * invoke.texi (ARM Options): Add in -mno-alignment-trapslaw1999-11-232-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30626 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-tree.def (FUNCTION_NAME): New tree node.mmitchel1999-11-2310-17/+111
| | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30625 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.jason1999-11-232-284/+306
| | | | | | | | | | | | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30624 138bc75d-0d04-0410-961f-82ee72b054a4
* * combine.c (combine_simplify_rtx): When handling a SUBREG,amylaar1999-11-222-1/+18
| | | | | | | | take SUBREG_WORD into account. (if_then_else_cond): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30623 138bc75d-0d04-0410-961f-82ee72b054a4
* * stl_rope.h: Fix initialization order.loewis1999-11-223-21/+26
| | | | | | | * stl_deque.h: Use static_casts<size_type>(signed_type). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30622 138bc75d-0d04-0410-961f-82ee72b054a4
* * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertisingjason1999-11-224-12/+10
| | | | | | | clause from BSD license git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30621 138bc75d-0d04-0410-961f-82ee72b054a4
* * strtoul.c, strtol.c, random.c: Remove advertising clause fromjason1999-11-224-19/+33
| | | | | | | BSD license git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30620 138bc75d-0d04-0410-961f-82ee72b054a4
* Add regset_head and INIT_REG_SET.crux1999-11-222-1/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30619 138bc75d-0d04-0410-961f-82ee72b054a4
* Reformat load_mems slightly.crux1999-11-222-137/+140
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30618 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.old-deja/g++.other/warn4.C: New test.nathan1999-11-222-0/+71
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30617 138bc75d-0d04-0410-961f-82ee72b054a4
* * semantics.c (finish_unary_op_expr): Only set TREE_NEGATED_INTnathan1999-11-223-17/+17
| | | | | | | | | | | | when actually negative. * typeck.c (convert_for_assignment): Expand comment about strange NULL check, moved from ... (convert_for_initialization): ... here. Remove unneeded code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30616 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.old-deja/g++.eh/cleanup2.C: New test.nathan1999-11-225-0/+223
| | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30615 138bc75d-0d04-0410-961f-82ee72b054a4
* fixinc.x86-linux-gnu folded into inclhack.defkorbb1999-11-222-143/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30614 138bc75d-0d04-0410-961f-82ee72b054a4
* __FD_ZERO fixes for gnu libc1&2korbb1999-11-226-264/+610
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30613 138bc75d-0d04-0410-961f-82ee72b054a4
* Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>aph1999-11-222-7/+12
| | | | | | | | * emit-rtl.c (gen_sequence): Only return the pattern of an insn if its code is INSN and it has no notes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30612 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-11-22 Andrew Haley <aph@cygnus.com>aph1999-11-223-10/+20
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30611 138bc75d-0d04-0410-961f-82ee72b054a4
* * regclass.c (reg_pref): New structure and static variablehubicka1999-11-222-58/+58
| | | | | | | | | (prefclass): Delete. (altclass): Delete. (all uses of prefclass and altclass): Use reg_pref instead. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30610 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.law1999-11-225-5/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30609 138bc75d-0d04-0410-961f-82ee72b054a4
* * constants.c (find_methodref_index): Unwrap method names beforegreen1999-11-216-9/+201
| | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30608 138bc75d-0d04-0410-961f-82ee72b054a4
* * delete2.C, delete3.C, delete4.C, delete5.C: New tests.oliva1999-11-215-0/+123
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30607 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-tree.h (build_vec_delete): Remove `auto_delete' argument.oliva1999-11-214-37/+21
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30606 138bc75d-0d04-0410-961f-82ee72b054a4
* Rename -mshort-load-bytes switch to -malignment-trapsnickc1999-11-215-53/+82
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30604 138bc75d-0d04-0410-961f-82ee72b054a4
* Oops, forgot the Changleog entry.hubicka1999-11-211-0/+13
| | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30603 138bc75d-0d04-0410-961f-82ee72b054a4
* * global.c (allocno): New structure and static variable.hubicka1999-11-211-181/+155
| | | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30602 138bc75d-0d04-0410-961f-82ee72b054a4
* * regclass.c (may_move_in_cost): Rename from may_move_cost, allhubicka1999-11-212-11/+27
| | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30601 138bc75d-0d04-0410-961f-82ee72b054a4
* * regclass.c (dump_regclass): New function.hubicka1999-11-214-6/+41
| | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30600 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.law1999-11-215-5/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30599 138bc75d-0d04-0410-961f-82ee72b054a4
* * varasm.c (output_constructor): Solve problem with long longgeoffk1999-11-214-2/+47
| | | | | | | bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30598 138bc75d-0d04-0410-961f-82ee72b054a4
* * i386.md (neg, not and abs patterns): Revmap to usehubicka1999-11-213-62/+209
| | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30597 138bc75d-0d04-0410-961f-82ee72b054a4