aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
1999-11-11xcoffout.c (xcoffout_source_file): Change ggc_add_root to gcc_add_string_root.Rodney Brown2-1/+6
* xcoffout.c (xcoffout_source_file): Change ggc_add_root to gcc_add_string_root. From-SVN: r30486
1999-11-11flow.c (compute_flow_dominators): Initially put all blocks on the worklist.Jeffrey A Law4-94/+48
* flow.c (compute_flow_dominators): Initially put all blocks on the worklist. * lcm.c (compute_antinout_edge, compute_available): Similarly. * gcse.c (compute_cprop_avinout): Remove. (compute_cprop_data): Use compute_available. (delete_null_pointer_checks_1): Use compute_available. From-SVN: r30484
1999-11-11Daily bump.Jeff Law2-2/+2
From-SVN: r30483
1999-11-10basic-block.h (compute_available): Returns a void now.Jeffrey A Law4-189/+289
* basic-block.h (compute_available): Returns a void now. * gcse.c (one_classic_gcse_pass): Do not expect compute_available to return a value anymore. * lcm.c (compute_available, compute_antinout_edge): Revamp to use worklists. Fix boundary cases. Compute maximal solutions. (compute_laterin, compute_nearerout): Similarly. From-SVN: r30482
1999-11-11* config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.Jason Eckhardt2-1/+5
From-SVN: r30481
1999-11-10dwarf2out.c (add_AT_location_description): Allow (mem (plus (pseudo) (...)) too.Jeffrey A Law2-0/+12
* dwarf2out.c (add_AT_location_description): Allow (mem (plus (pseudo) (...)) too. From-SVN: r30480
1999-11-10error.c (dump_function_name): Don't crash if given a friend ↵Mark Mitchell2-0/+22
pseudo-instantiation. * error.c (dump_function_name): Don't crash if given a friend pseudo-instantiation. From-SVN: r30479
1999-11-10* gcc.c (do_spec_1): Support text between `%u' and `%O'.Tom Tromey2-19/+35
From-SVN: r30478
1999-11-10ansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'.Philippe De Muyter14-17/+48
include: * ansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'. gcc: * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'. * gansidecl.h: Likewise. * rtl.c: Likewise. * rtl.h: Likewise. * toplev.h: Likewise. * tree.c: Likewise. * tree.h: Likewise. * varray.c: Likewise. * varray.h: Likewise. gcc/cp: * cp-tree.h: Test `GCC_VERSION', not `HAVE_GCC_VERSION'. gcc/f: * proj.h: Test `GCC_VERSION', not `HAVE_GCC_VERSION'. Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu> From-SVN: r30477
1999-11-10gcov.c (struct arcdata): Add hits and total, remove prob.Clinton Popetz3-20/+62
* gcov.c (struct arcdata): Add hits and total, remove prob. (output_branch_counts): New. (process_args): Set output_branch_counts if -c. (calculate_branch_probs): Store hits and total instead of percentage. (output_data): Emit counts if output_branch_counts is true. * gcov.texi (Invoking Gcov): Document -c switch.. From-SVN: r30476
1999-11-10Daily bump.Jeff Law2-2/+2
From-SVN: r30472
1999-11-10genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and ↵Philippe De Muyter2-1/+6
`INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type. * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type. From-SVN: r30471
1999-11-10invoke.texi (C Dialect Options): Add missing builtins from c-common.c to list.Hans-Peter Nilsson3-11/+30
* invoke.texi (C Dialect Options): Add missing builtins from c-common.c to list. * extend.texi (Other Builtins): Copy to this list. From-SVN: r30470
1999-11-10typo; missing close parenAlexandre Oliva1-1/+1
From-SVN: r30469
1999-11-10Makefile.in (recog.o): Use BASIC_BLOCK_H macro.Alexandre Oliva2-5/+11
* Makefile.in (recog.o): Use BASIC_BLOCK_H macro. (print-rtl.o, $(HOST_PREIFX_1)print-rtl.o: Likewise. Remove redundant bitmap.h. From-SVN: r30468
1999-11-10flow.c (compute_flow_dominators): No longer treat basic block 0 or ↵Jeffrey A Law2-12/+83
(n_basic_blocks - 1) specially. * flow.c (compute_flow_dominators): No longer treat basic block 0 or (n_basic_blocks - 1) specially. Clear the AUX field before starting computation of doms/pdoms. Fix initial state for pdoms. From-SVN: r30467
1999-11-10Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to match rtl.o's: ↵Alexandre Oliva2-5/+14
added ggc.h and toplev.h * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to match rtl.o's: added ggc.h and toplev.h ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h. ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h. ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H). From-SVN: r30466
1999-11-10re GNATS gcj/84 (path to classes.zip is compiled in to gcj at build time)Tom Tromey2-1/+60
* jcf-path.c: Include <sys/stat.h>. (jcf_path_init): Search for libjava.zip. Fixes PR gcj/84. (DIR_UP): New macro. From-SVN: r30465
1999-11-10[multiple changes]Tom Tromey5-6/+320
Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com> * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed from HAVE_DOS_BASED_FILESYSTEM. * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not HAVE_DOS_BASED_FILESYSTEM. (main): Likewise. (split_directories): Only special-case DOS file names if HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR instead of explicit tests. Conditionalize on !VMS. (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit tests. Conditionalize on !VMS. (process_command): Only use make_relative_prefix if !VMS. (free_split_directories): Conditionalize on !VMS. (DIR_UP): Conditionalize on !VMS. Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu> * gcc.c (STANDARD_BINDIR_PREFIX): Provide default. Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu> * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX case. Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com> * invoke.texi (Environment Variables): Document relative path lookup. * gcc.c (DIR_UP): If not defined, define as "..". (standard_bindir_prefix): New static, holds target location to install binaries. (split_directories): New function to split a filename into component directories. (free_split_directories): New function, release memory allocated by split_directories. (make_relative_prefix): New function, make a relative pathname if the compiler is not in the expected location. (process_command): If GCC_EXEC_PREFIX was not specified, see if we can figure out an appropriate prefix from argv[0]. * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define STANDARD_BINDIR_PREFIX. From-SVN: r30464
1999-11-09c4x-protos.h: New file.Michael Hayes4-250/+289
* config/c4x/c4x-protos.h: New file. Prototypes for functions defined in c4x.c. * config/c4x/c4x.h: Moved prototypes to c4x.h. * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class, c4x_secondary_memory_needed) Delete. (fp_zero_operand): Add mode argument. From-SVN: r30463
1999-11-09parse.y (source_end_java_method): Resume permanent allocation, reversing Apr ↵Alexandre Petit-Bianco3-2/+11
27 1998 patch. Tue Nov 9 12:12:38 1999 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (source_end_java_method): Resume permanent allocation, reversing Apr 27 1998 patch. (patch_string_cst): Pop obstacks after having pushed the permanent ones. From-SVN: r30462
1999-11-09reload1.c (reload_reg_free_for_value_p): Don't use a register that is in ↵Andrew Haley2-0/+12
reload_reg_used. Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com> * reload1.c (reload_reg_free_for_value_p): Don't use a register that is in reload_reg_used. From-SVN: r30461
1999-11-09Add prototypes file.Nick Clifton6-187/+195
From-SVN: r30460
1999-11-09Add prototype header fileNick Clifton5-689/+1969
Import some code from Cygnus internal sources. From-SVN: r30459
1999-11-09Daily bump.Jeff Law2-2/+2
From-SVN: r30458
1999-11-09cp-tree.h (language_function): Remove x_last_dtor_insn and ↵Mark Mitchell3-25/+12
x_last_parm_cleanup_insn. * cp-tree.h (language_function): Remove x_last_dtor_insn and x_last_parm_cleanup_insn. * decl.c (last_dtor_insn): Remove. (last_parm_cleanup_insn): Likewise. (expand_start_early_try_stmts): Don't set them. (store_parm_decls): Likewise. (save_function_data): Or save them. (mark_lang_function): Or mark them. From-SVN: r30457
1999-11-09decl.c (store_parm_decls): Generate cleanup code at semantic-analysis time.Mark Mitchell3-25/+67
* decl.c (store_parm_decls): Generate cleanup code at semantic-analysis time. Destroy objects in the correct order. From-SVN: r30456
1999-11-08global.c (EXECUTE_IF_CONFLICT): Don't define.J"orn Rennecke2-2/+11
* global.c (EXECUTE_IF_CONFLICT): Don't define. (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead. (find_reg): Likewise. From-SVN: r30455
1999-11-08pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0 to avoid assembler ↵Jason Eckhardt2-2/+8
errors. * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0 to avoid assembler errors. From-SVN: r30454
1999-11-08Prototypes for functions defined in target C source files.Nick Clifton2-0/+131
From-SVN: r30452
1999-11-08*** empty log message ***Nick Clifton4-114/+37
From-SVN: r30451
1999-11-08Move prototypes into v850-protos.hNick Clifton4-109/+30
From-SVN: r30450
1999-11-08tree.h (get_containing_scope): Declare it.Mark Mitchell4-10/+28
* tree.h (get_containing_scope): Declare it. * tree.c (get_containing_scope): New fucntion. (decl_function_context): Use it. * toplev.c (rest_of_compilation): Use get_containing_scope. From-SVN: r30449
1999-11-08Include target-supports.expNick Clifton2-0/+5
From-SVN: r30448
1999-11-08Daily bump.Jeff Law2-2/+2
From-SVN: r30447
1999-11-08* Makefile.in (rtl.o): Depend on toplev.h.Alexandre Oliva2-1/+5
From-SVN: r30446
1999-11-08cse.c (delete_trivially_dead_insns): Replace alloca with xmalloc/xcalloc.Mark Mitchell11-322/+389
* cse.c (delete_trivially_dead_insns): Replace alloca with xmalloc/xcalloc. * except.c (update_rethrow_references): Likewise. (init_eh_nesting_info): Likewise. * function.c (identify_blocks): Likewise. * gcse.c (dump_hash_table): Likewise. * graph.c (print_rtl_graph_with_bb): Likewise. * loop.c (combine_movables): Likewise. (move_movables): Likewise. (count_loop_regs_set): Likewise. (strength_reduce): Likewise. * profile.c (compute_branch_probabilities): New function, split out from ... (branch_prob): Here. Replace alloca with xmalloc/xcalloc. * regclass.c (regclass): Likewise. * regmove.c (regmove_optimize): Likewise. * toplev.c (compile_file): Likewise. (main): Don't mess with the stack rlimit. From-SVN: r30445
1999-11-07elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.Catherine Moore2-2/+9
* config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define. (ASM_DECLARE_FUNCTION_SIZE): Conditionally define. From-SVN: r30444
1999-11-07cp-tree.h (begin_new_placement): Remove.Mark Mitchell10-4676/+4586
* cp-tree.h (begin_new_placement): Remove. (finish_new_placement): Likewise. * class.c (finish_struct_1): Don't suspend_momentary or resume_momentary. * decl.c (grokdeclarator): Likewise. (maybe_build_cleanup_1): Likewise. * except.c (push_eh_cleanup): Likewise. (build_terminate_handler): Likewise. * init.c (build_new_1): Likewise. * parse.y (parse_decl): Change prototype. (initdecls, notype_initdecls, initdcl): Don't return int. (initdcl0, notype_initdcl0, initdcl0_innards): Likewise. (.begin_new_placement): Remove. (.finish_new_placement): Likewise. (nonmomentary_expr): Likewise. (suspend_mom): Likewise. (condition): Don't suspend_momentary, resume_momentary, or keep track of need to resume. (unary_expr): Likewise. (new_placement): Likewise. (decl): Likewise. (structsp): Likewise. (new_type_id): Likewise. (maybe_parmlist): Likewise. (direct_after_type_declaration): Likewise. (direct_new_declarator): Likewise. (direct_abstract_declaration): Likewise. * parse.c: Regenerated. * pt.c (tsubst_expr): Don't suspend_momentary or resume_momentary. * semantics.c (begin_new_placement): Remove. (finish_new_placement): Likewise. From-SVN: r30443
1999-11-07* integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.Mark Mitchell2-1/+5
From-SVN: r30442
1999-11-07global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.Jeffrey A Law2-2/+8
* global.c (EXECUTE_IF_CONFLICT): Undo Robert's change. (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in macro expansion. From-SVN: r30441
1999-11-07Daily bump.Jeff Law2-2/+2
From-SVN: r30440
1999-11-07global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.Robert Lipe2-1/+5
From-SVN: r30438
1999-11-06gcse.c (post_dominators): Kill.Jeffrey A Law5-77/+96
* gcse.c (post_dominators): Kill. (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators. (compute_code_hoist_data): Use compute_flow_dominators. Do not pass in a pdom array since we do not need pdoms. * haifa-sched.c (schedule_insns): Similarly. * flow.c (compute_dominators): Remove dead function. (compute_flow_dominators): Do not compute doms or pdoms if the caller does not request them. Split up loop to build doms and pdoms. Use a worklist to compute doms and pdoms. * basic-block.h (compute_dominators): Remove prototype. From-SVN: r30437
1999-11-07New test case.Martin v. Löwis1-0/+9
From-SVN: r30436
1999-11-06haifa-sched.c (struct haifa_insn_data, h_i_d): New.Richard Henderson2-117/+92
* haifa-sched.c (struct haifa_insn_data, h_i_d): New. (insn_luid, insn_priority, insn_costs, insn_units): Remove. (insn_reg_weight, insn_depend, insn_dep_count): Remove. (insn_blockage, insn_ref_count, line_note, insn_tick): Remove. (cant_move, fed_by_spec_load, is_load_insn): Remove. (schedule_region): Remove unused variable. (schedule_insns): Allocate h_i_d, and not all the separate arrays. From-SVN: r30435
1999-11-06local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.Mark Mitchell4-25/+33
* local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca. (update_equiv_regs): Likewise. (block_alloc): Likewise. * reg-stack.c (reg_to_stack): Likewise. (convert_regs_2): Likewise. * reload1.c (reload_as_needed): Likewise. From-SVN: r30434
1999-11-06Makefile.in (dbxout.o): Depend on ggc.h.Mark Mitchell5-3/+27
* Makefile.in (dbxout.o): Depend on ggc.h. (dwarf2out.o): Likewise. (xcoffout.o): Likewise. * dbxout.c: Include ggc.h. (dbxout_init): Register lastfile as a root. * dwarf2out.c: Include ggc.h. (dwarf2out_line): Register lastfile as a root. * xcoffout.c: Include ggc.h. (xcoffout_source_line): Register xcoff_lastfile as a root. From-SVN: r30433
1999-11-06* i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.Richard Henderson2-2/+6
From-SVN: r30432
1999-11-06svr4.h (ASM_DECLARE_FUNCTION): Check if already defined.Catherine Moore2-2/+10
* config/svr4.h (ASM_DECLARE_FUNCTION): Check if already defined. (ASM_DECLARE_FUNCTION_SIZE): Likewise. From-SVN: r30429