aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2001-06-23i386-protos.h (emit_i387_cw_initialization): Declare.Jan Hubicka4-145/+158
* i386-protos.h (emit_i387_cw_initialization): Declare. * i386.md (movsi_insv_1): Remove '*'. (fix_trunc?f?i2): Revamp to use control word parameters. (fix_trunc?i_1): Likewise; update splitters. (fix splitter): Remove. * i386.c (MAX_386_STACK_LOCALS): set to 3. (emit_i387_cw_initialization): New function. (output_fix_trunc): Do not initialize control word; kill dead code; simplify. From-SVN: r43530
2001-06-23zipfile.h: Use GCC_JCF_H instead of JCF_H.Jan van Male2-1/+5
2001-06-22 Jan van Male <jan.vanmale@fenk.wau.nl> * zipfile.h: Use GCC_JCF_H instead of JCF_H. (http://gcc.gnu.org/ml/gcc-patches/2001-06/msg01427.html) From-SVN: r43529
2001-06-23cppmacro.c (make_string_token): Avoid warning.Neil Booth3-9/+25
* cppmacro.c (make_string_token): Avoid warning. (cpp_macro_definition): Prepend the macro name. Update comments. * cppmain.c (cb_define, dump_macro): Update for changes to cpp_macro_definition. From-SVN: r43528
2001-06-23* flow.c (attempt_auto_inc, try_pre_increment_1): Fix typo.Jan Hubicka2-2/+6
From-SVN: r43527
2001-06-23Daily bump.GCC Administrator2-2/+2
From-SVN: r43525
2001-06-22flow.c (mark_set_1, [...]): compute REG_FREQ using bb->frequency.Jan Hubicka3-20/+36
* flow.c (mark_set_1, attempt_auto_inc, mark_used_reg, try_pre_increment_1): compute REG_FREQ using bb->frequency. * regclass.c (loop_cost): Kill. (frequency): New global variable. (record_operand_costs): Replace loop_cost by frequency. (scan_one_insn): Likewise. (regclass): Likewise; set frequency according to bb->frequency. * flow.c (split_edge): Set frequency. From-SVN: r43523
2001-06-22predict.c (block_info_def): Add nvisited.Jan Hubicka3-2/+49
* predict.c (block_info_def): Add nvisited. (propagate_freq): Count nvisited; re-queue delayed blocks; handle irreducible regions. * flow.c (dump_edge_info): Dump the probability of edge. (combine_predictions_for_insn): Dump the basic block. From-SVN: r43522
2001-06-23gcc.texi: Update documentation of source files of C compiler.Joseph Myers2-10/+34
* doc/gcc.texi: Update documentation of source files of C compiler. From-SVN: r43520
2001-06-22invoke.texi (-funsafe-math-optimizations): Document its possible effects at ↵Richard Henderson2-1/+8
link time. * doc/invoke.texi (-funsafe-math-optimizations): Document its possible effects at link time. From-SVN: r43519
2001-06-22basic-block.h (dump_edge_info): Declare.Diego Novillo5-11/+26
2001-06-22 Diego Novillo <dnovillo@redhat.com> * basic-block.h (dump_edge_info): Declare. (clear_edges): Declare. (mark_critical_edges): Declare. * flow.c (dump_edge_info): Remove static declaration. (clear_edges): Ditto. (mark_critical_edges): Ditto. (free_basic_block_vars): Only clear edges and free basic block array if basic_block_info is not NULL. * ssa.c (compute_dominance_frontiers): Remove static declaration. * ssa.h (compute_dominance_frontiers): Declare. From-SVN: r43518
2001-06-22predict.c: (expected_value_to_br_prob): Check for const_true_rtx instead of ↵Toshiyasu Morita2-2/+7
const1_rtx for... * predict.c: (expected_value_to_br_prob): Check for const_true_rtx instead of const1_rtx for true case. From-SVN: r43517
2001-06-22crtfastmath.c: New file.David Mosberger4-1/+52
* config/ia64/crtfastmath.c: New file. * config/ia64/t-ia64 (EXTRA_PARTS): Include it. * config/ia64/linux.h (ENDFILE_SPEC): New. From-SVN: r43515
2001-06-22h8300.c (asm_file_start): Remove reference to "release F-1".Toshiyasu Morita2-1/+5
2001-06-22 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> * config/h8300/h8300.c (asm_file_start): Remove reference to "release F-1". From-SVN: r43512
2001-06-22re PR c/3259 (({ }) and -Wall)Joseph Myers5-0/+29
* c-common.c (verify_tree): Check for x being NULL. * doc/c-tree.texi: Document COMPOUND_BODY of an empty COMPOUND_STMT. Fixes PR c/3259. testsuite: * gcc.dg/20010622-1.c: New test. From-SVN: r43508
2001-06-22arm.h (struct machine_function): Remove ra_rtx.DJ Delorie9-149/+33
* config/arm/arm.h (struct machine_function): Remove ra_rtx. * config/arm/arm.c (arm_mark_machine_status): Remove ra_rtx. (arm_return_addr): Use get_hard_reg_initial_val et al. * config/d30v/d30v.h (struct machine_function): Remove ra_rtx. * config/d30v/d30v.c (d30v_mark_machine_status): Remove ra_rtx. (d30v_return_addr): Use get_hard_reg_initial_val et al. * config/rs6000/rs6000.h (struct machine_function): Remove ra_rtx. * config/rs6000/rs6000.c (rs6000_override_options): Don't set mark_machine_status. (rs6000_mark_machine_status): Remove. (rs6000_return_addr): Use get_hard_reg_initial_val. (rs6000_ra_ever_killed): Use has_hard_reg_initial_val. * config/v850/v850.h (INIT_EXPANDERS): Delete. * config/v850/v850.c (struct machine_function): Delete. (v850_init_machine_status): Delete. (v850_mark_machine_status): Delete. (v850_free_machine_status): Delete. (v850_return_addr): Use get_hard_reg_initial_val. (v850_init_expanders): Delete. From-SVN: r43507
2001-06-22predict.c (estimate_bb_frequencies): Do not handle conditional jumps jumping ↵Jan Hubicka3-8/+79
to fallthru basic block as conditional... * predict.c (estimate_bb_frequencies): Do not handle conditional jumps jumping to fallthru basic block as conditional jumps. * tm.texi (GCOV_TYPE_SIZE): Document. * basic-block.h (gcov_type): Define. (struct edge_def): Use gcov_type for count field. (struct basic_block_def): Likewise. * defaults.h (GCOV_TYPE_SIZE): Define. * final.c (end_final): Use GCOV_TYPE_SIZE. * flow.c (dump_edge_info, dump_flow_info, dump_bb): Print count fields using HOST_WIDEST_INT_PRINT_DEC. * gcov-io.h (__fetch_gcov_type, __store_gcov_type, __read_gcov_type, __write_gcov_type): New. (store_long): Remove. * gcov.c (gcov_type): Set default. (struct adj_list): Use gcov_type for arc_count. (bb_info): Use gcov_type for succ_count, pred_count and exec_count. (create_program_flow_graph): Read arc_count properly. (solve_program_flow_graph): 'total' is gcov_type. (output_data): Line_counts is gcov_type, print it properly. * libgcc2.c (struct bb): Counts is gcov_type. (__bb_exit_func): Use __read_gcov_type and __write_gcov_type. * profile.c (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set default. (GCOV_TYPE_SIZE): Define. (struct bb_info): succ_count and pred_count is gcov_type. (compute_branch_probabilities): Use __read_gcov_type, print read edges to the dump file. (total): Is gcov_type. (gen_edge_profiler): Use GCOV_TYPE_SIZE. From-SVN: r43506
2001-06-22regs.h (struct reg_info_def): Add freq field.Jan Hubicka14-60/+182
* regs.h (struct reg_info_def): Add freq field. (REG_N_REFS): Update comment. (REG_FREQ): New. * regclass.c (scan_one_insn): Update REG_FREQ. * flow.c (mark_set_1): Update REG_FREQ, make REG_N_SETS unweighted. (attempt_auto_inc): Likewise. (mark_used_reg): Likewise. (try_pre_increment_1): Likewise. * local-alloc.c (struct qty): Add freq field. (alloc_qty): Set freq. (update_equiv_regs): Set REG_FREQ. (QTY_CMP_PRI): Use freq. (combine_regs): Update qty->freq. * global.c (struct allocno): Update comment for n_refs; add freq field. (local_reg_freq): New array. (global_alloc): Update freq field; allocate and initialize local_reg_freq. (allocno_compare): Use freq field. (find_reg): Likewise. * reload1.c (count_pseudo): Use freq isntead of n_refs. (count_spilled_pseudo): Likewise. * tm.texi (GCOV_TYPE_SIZE): Document. * basic-block.h (gcov_type): Define. (struct edge_def): Use gcov_type for count field. (struct basic_block_def): Likewise. * defaults.h (GCOV_TYPE_SIZE): Define. * final.c (end_final): Use GCOV_TYPE_SIZE. * flow.c (dump_edge_info, dump_flow_info, dump_bb): Print count fields using HOST_WIDEST_INT_PRINT_DEC. * gcov-io.h (__fetch_gcov_type, __store_gcov_type, __read_gcov_type, __write_gcov_type): New. (store_long): Remove. * gcov.c (gcov_type): Set default. (struct adj_list): Use gcov_type for arc_count. (bb_info): Use gcov_type for succ_count, pred_count and exec_count. (create_program_flow_graph): Read arc_count properly. (solve_program_flow_graph): 'total' is gcov_type. (output_data): Line_counts is gcov_type, print it properly. * libgcc2.c (struct bb): Counts is gcov_type. (__bb_exit_func): Use __read_gcov_type and __write_gcov_type. * profile.c (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set default. (GCOV_TYPE_SIZE): Define. (struct bb_info): succ_count and pred_count is gcov_type. (compute_branch_probabilities): Use __read_gcov_type, print read edges to the dump file. (total): Is gcov_type. (gen_edge_profiler): Use GCOV_TYPE_SIZE. From-SVN: r43505
2001-06-22optabs.c (emit_libcall_block): When using non-call exceptions, don't mark ↵Andrew Haley2-13/+31
libcalls never throwing. 2001-06-14 Andrew Haley <aph@cambridge.redhat.com> * optabs.c (emit_libcall_block): When using non-call exceptions, don't mark libcalls never throwing. From-SVN: r43504
2001-06-22Daily bump.GCC Administrator2-2/+2
From-SVN: r43501
2001-06-22* objc/objc-act.c (hash_init): Use xcalloc.Stan Shebs2-5/+6
From-SVN: r43498
2001-06-21flow.c (entry_exit_blocks): Initialize frequency.Richard Henderson2-4/+15
* flow.c (entry_exit_blocks): Initialize frequency. (split_block): Copy it. (dump_flow_info): Dump it. From-SVN: r43494
2001-06-21sh.c (barrier_align): Also recognize branch-around-a-jump-sequence from ↵J"orn Rennecke2-5/+10
machine-depedent_reorg for... * sh.c (barrier_align): Also recognize branch-around-a-jump-sequence from machine-depedent_reorg for purposes of alignment supression when no delay slot insn has been added. From-SVN: r43493
2001-06-21re PR preprocessor/3260 (#include __FILE__ broken)Neil Booth2-1/+6
PR preprocessor/3260 * cppmacro.c (make_string_token): Null terminate. From-SVN: r43492
2001-06-21alpha.h (struct machine_function): Remove.DJ Delorie3-79/+16
* config/alpha/alpha.h (struct machine_function): Remove. * config/alpha/alpha.c (integrate.h): Include. (override_options): Don't set up machine_status hooks. (alpha_init_machine_status): Remove. (alpha_mark_machine_status): Remove. (alpha_free_machine_status): Remove. (alpha_return_addr): Use get_hard_reg_initial_val. (alpha_gp_save_rtx): Likewise. (alpha_ra_ever_killed): Use has_hard_reg_initial_val. From-SVN: r43491
2001-06-21handle interrupt_handler correctlyAldy Hernandez4-2/+28
From-SVN: r43490
2001-06-21Fix massive typo/thinko in previous ChangeLog entry.Phil Edwards1-17/+0
From-SVN: r43489
2001-06-21install.texi: Add 'c' to list of --enable-languages choices.Phil Edwards2-2/+23
2001-06-21 Phil Edwards <pme@sources.redhat.com> * doc/install.texi: Add 'c' to list of --enable-languages choices. Index: doc/install.texi =================================================================== RCS file: /cvs/gcc/gcc/gcc/doc/install.texi,v retrieving revision 1.31 diff -u -3 -p -r1.31 install.texi --- install.texi 2001/06/21 15:25:54 1.31 +++ install.texi 2001/06/21 18:59:08 @@ -546,7 +546,7 @@ their runtime libraries should be built. @var{langN} you can issue the following command in the @file{gcc} directory of your GCC source tree:@* @samp{grep language= */config-lang.in}@* Currently, you can use any of the following: -@code{c++}, @code{f77}, @code{java} and @code{objc}. +@code{c}, @code{c++}, @code{f77}, @code{java} and @code{objc}. @code{CHILL} is not currently maintained, and will almost certainly fail to compile. Note that this switch does not work with EGCS 1.1.2 or older versions of egcs. It is supported in GCC 2.95 From-SVN: r43488
2001-06-21* integrate.c (mark_hard_reg_initial_vals): Check for NULL.DJ Delorie2-0/+5
From-SVN: r43487
2001-06-21integrate.c (ggc.h): Include.DJ Delorie6-1/+191
* integrate.c (ggc.h): Include. (initial_value_pair, initial_value_struct, setup_initial_hard_reg_value_integration): Add prototypes. (expand_inline_function): Call setup_initial_hard_reg_value_integration. (has_func_hard_reg_initial_val, get_func_hard_reg_initial_val, get_hard_reg_initial_val, has_hard_reg_initial_val): New functions to keep track of values present at the start of a function. (mark_hard_reg_initial_vals): New, for gc. (setup_initial_hard_reg_value_integration): New. Sets up pseudo mappings for initial values. (emit_initial_value_sets): New. Emits code to set initial value pseudos. * integrate.h: Add prototypes for new functions. * function.h (struct function): Add hard_reg_initial_vals field. * function.c (integrate.h): Include. (mark_function_status): Call mark_hard_reg_initial_vals. * toplev.c (integrate.h): Include. (rest_of_compilation): Call emit_initial_value_sets. From-SVN: r43486
2001-06-21contrib.texi, [...]: Use the correct name "Objective-C" everywhere instead ↵Stan Shebs10-38/+45
of "Objective C". * doc/contrib.texi, doc/cpp.texi, doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/invoke.texi, doc/objc.texi, doc/tm.texi: Use the correct name "Objective-C" everywhere instead of "Objective C". From-SVN: r43485
2001-06-21Daily bump.GCC Administrator2-2/+2
From-SVN: r43482
2001-06-20class.c (java_hash_tree_node): Fixed indentation in leading comment.Alexandre Petit-Bianco3-17/+43
2001-06-20 Alexandre Petit-Bianco <apbianco@redhat.com> * class.c (java_hash_tree_node): Fixed indentation in leading comment. * parse.y (do_resolve_class): Moved comments out to leading comment section. Removed local `start', New local `_ht' and `circularity_hash.' Record `enclosing' in hash table and search it to detect circularity. Use `enclosing' as an argument to `lookup_cl.' Free the hash table when done. (http://gcc.gnu.org/ml/gcc-patches/2001-06/msg01318.html ) From-SVN: r43480
2001-06-21c-tree.texi, [...]: Consistently use "front end" and "back end" as nouns and ↵Joseph Myers9-47/+54
"front-end" and... * doc/c-tree.texi, doc/contrib.texi, doc/extend.texi, doc/gcc.texi, doc/install-old.texi, doc/install.texi, doc/invoke.texi, doc/rtl.texi: Consistently use "front end" and "back end" as nouns and "front-end" and "back-end" as adjectives. From-SVN: r43479
2001-06-20* predict.c (estimate_probability): Fix loop bounds.Jan Hubicka2-2/+6
From-SVN: r43478
2001-06-20toplev.c (rest_of_compilation): Run mark_constant_function before profile-arcs.Jan Hubicka2-1/+14
* toplev.c (rest_of_compilation): Run mark_constant_function before profile-arcs. From-SVN: r43477
2001-06-20predict.c (estimate_loops_at_level, [...]): New functions.Jan Hubicka3-0/+291
* predict.c (estimate_loops_at_level, propagate_freq estimate_bb_frequencies, count_to_freqs): New functions. (estimate_probability): Call estimate_bb_frequencies. * basic-block.h (basic_block_def): Add field "freq". (BB_FREQ_MAX): New constant. From-SVN: r43476
2001-06-20re PR java/2319 (invalid UTF-8 sequences should be rejected)Tom Tromey2-10/+28
* lex.c (java_read_char): Disallow invalid and overlong sequences. Fixes PR java/2319. From-SVN: r43475
2001-06-20sh.c (barrier_align): Don't ask for alignment when seeing a ↵J"orn Rennecke2-1/+14
branch-around-a-jump from... * sh.c (barrier_align): Don't ask for alignment when seeing a branch-around-a-jump from machine_dependent_reorg. From-SVN: r43474
2001-06-20ssa.c (rename_block): Update parameter to remove_phi_alternativeJeffrey A Law2-3/+9
* ssa.c (rename_block): Update parameter to remove_phi_alternative (convert_from_ssa): Do create REG_DEAD and REG_UNUSED notes when re-running life analysis. From-SVN: r43473
2001-06-20objc-act.c (hash_init): Assume xmalloc always succeeds, also use memset to ↵Stan Shebs2-21/+13
clear the hash tables. * objc/objc-act.c (hash_init): Assume xmalloc always succeeds, also use memset to clear the hash tables. (hash_enter): Assume xmalloc always succeeds. (hash_add_attr): Ditto. (continue_class): Ditto. From-SVN: r43472
2001-06-20Fix __builtin_expect on PowerPCsMichael Meissner5-3/+164
From-SVN: r43470
2001-06-20Daily bump.GCC Administrator2-2/+2
From-SVN: r43468
2001-06-19rtl.texi (Machine Modes): Correct description of floating-point modes on ↵Geoffrey Keating2-10/+19
machines with non-8-bit bytes. * doc/rtl.texi (Machine Modes): Correct description of floating-point modes on machines with non-8-bit bytes. From-SVN: r43465
2001-06-19ssa.c (remove_phi_alternative): Remove declaration.Jeffrey A Law3-14/+26
* ssa.c (remove_phi_alternative): Remove declaration. No longer static. Second argument is a pointer to a basic block structure, not a basic block index. (convert_to_ssa): Do not remove dead code. (convert_from_ssa): Do not remove dead code to create death notes. * ssa.h (remove_phi_alternative): Declare. From-SVN: r43464
2001-06-19flow.c (delete_unreachable_blocks): Fix patch error in previous change (call ↵Jeffrey A Law2-0/+5
to find_unreachable_blocks was lost). * flow.c (delete_unreachable_blocks): Fix patch error in previous change (call to find_unreachable_blocks was lost). From-SVN: r43463
2001-06-19Fix incorrect note handling.Bernd Schmidt2-0/+15
From-SVN: r43462
2001-06-19ssa.c (ssa_uses): Remove definition.Jeffrey A Law2-7/+6
* ssa.c (ssa_uses): Remove definition. (apply_delayed_renames): Don't grow ssa_uses. (rename_block): Remove comment related to ssa_uses. (rename_registers): Do not initialize ssa_uses. (convert_from_ssa): Do not free ssa_uses. From-SVN: r43460
2001-06-19Makefile.in (OBJS): Replace dce.o with ssa-dce.oJeffrey A Law2-2/+5
* Makefile.in (OBJS): Replace dce.o with ssa-dce.o (dependencies): Replace dce.c with ssa-dce.c and dce.o with ssa-dce.o. From-SVN: r43459
2001-06-19* POTFILES.in: Replace dce.c with ssa-dce.c.Jeffrey A Law2-1/+5
From-SVN: r43458
2001-06-19* ssa-dce.c: Renamed from dce.c.Jeffrey A Law2-0/+4
From-SVN: r43457