- 01 Jun, 2002 19 commits
-
-
* gcse.c (cprop_cc0_jump): Function deleted. (cprop_jump): Take an additional argument which is the possibly NULL cc setting insn immediately before the conditional jump. When a MODE_CC set is present, substitute it into the JUMP_INSN before attempting the constant propagation. (cprop_insn): Recognize cc setters followed by conditional jumps as a special case. Use cprop_jump instead of cprop_cc0_jump. (cprop_one_pass): Call bypass_conditional_jumps if altering jumps. (find_bypass_set): New function based upon find_avail_set used by cprop, but finds constant expressions available at the end of basic blocks. (bypass_block): New function. Given a basic block that begins with a conditional jump and multiple incoming edges, perform the jump bypass optimization. (bypass_conditional_jumps): New function. Call bypass_block with each suitable basic block in the CFG using a simple single pass. From-SVN: r54152
Roger Sayle committed -
* tree.c (real_minus_onep): New function to test for -1.0. * fold-const.c (fold) [MULT_EXPR]: Optimize -1.0*x into -x. * gcc.dg/fnegate-1.c: New test case. From-SVN: r54149
Roger Sayle committed -
fold-const.c (fold_truthop): Transform "a || b" into "(a|b) != 0" and "!p && !q" into "(p|q) == 0" under... * fold-const.c (fold_truthop): Transform "a || b" into "(a|b) != 0" and "!p && !q" into "(p|q) == 0" under suitable conditions. From-SVN: r54148
Roger Sayle committed -
* cppexp.c (cpp_classify_number): Cast precission to int for correct printf format. From-SVN: r54147
Andreas Jaeger committed -
* config/avr/avr.c (avr_mcu_types): Remove devices that were once expected, but don't really exist: atmega83, atmega85, attiny10. * config/avr/avr.h (LINK_SPEC): Update to use the new avr[1-5] ld emulations for all devices. (CRT_BINUTILS_SPECS): Remove atmega83, atmega85, attiny10. * config/avr/t-avr (MULTILIB_MATCHES): Remove atmega83, atmega85. From-SVN: r54146
Marek Michalkiewicz committed -
* libF77/*: Fix formatting. * libI77/*: Likewise. * libU77/*: Likewise. From-SVN: r54145
Kaveh R. Ghazi committed -
* gnat_ug.texi: Use @ifnottex instead of @ifinfo. * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, gnat_ug_wnt.texi: Regenerate. From-SVN: r54144
Joseph Myers committed -
* config/h8300/h8300-protos.h: Add a prototype for h8300_shift_needs_scratch_p. * config/h8300/h8300.c (h8300_shift_needs_scratch_p): New. * config/h8300/h8300.h (OK_FOR_R): New. (OK_FOR_S): Likewise. (OK_FOR_T): Likewise. (EXTRA_CONSTRAINT): Call OK_FOR_R, OK_FOR_S, and OK_FOR_T. * config/h8300/h8300.md (anonymous shift patterns): Use constraints R, S, and T. From-SVN: r54143
Kazu Hirata committed -
* basic-block.h (struct basic_block_def): New field loop_father. (BB_VISITED): New flag. (struct loop): New field pred, removed field shared. (struct loops): New field parray. (LOOP_EXITS_DOMS): Removed. (flow_loop_tree_node_add, flow_loop_tree_node_remove, flow_loop_nested_p, flow_bb_inside_loop_p, get_loop_body, dfs_enumerate_from, loop_preheader_edge, loop_latch_edge, add_bb_to_loop, remove_bb_from_loops, find_common_loop, verify_loop_structure): Declare. * cfg.c (entry_exit_blocks): Initialize loop_father field. * cfganal.c (dfs_enumerate_from): New function. * cfgloop.c (HEAVY_EDGE_RATIO): New constant. (flow_loop_entry_edges_find, flow_loop_exit_edges_find, flow_loop_nodes_find, flow_loop_level_compute, flow_loop_nested_p, flow_loop_dump, flow_loops_dump, flow_loops_free, flow_loop_tree_node_add, flow_loop_level_compute, flow_loops_level_compute, flow_loop_scan, flow_loops_update, flow_loop_outside_edge_p): Modified for new infrastructure. (make_forwarder_block, canonicalize_loop_headers, glb_enum_p, redirect_edge_with_latch_update, flow_loop_free): New static functions. (flow_loop_tree_node_remove, flow_bb_inside_loop_p, get_loop_body, add_bb_to_loop, remove_bb_from_loops, find_common_loop, verify_loop_structure, loop_latch_edge, loop_preheader_edge): New functions. (flow_loops_cfg_dump): Do not show dominators, as this information does not remain up to date long. (flow_loops_find): Store results in new format. * predict.c (propagate_freq, estimate_probability, estimate_loops_at_level, estimate_bb_frequencies): Use new loop infrastructure. From-SVN: r54142
Zdenek Dvorak committed -
From-SVN: r54141
GCC Administrator committed -
From-SVN: r54136
Alan Lehotsky committed -
From-SVN: r54135
David Edelsohn committed -
* g2c.hin, libF77/d_cnjg.c, libF77/main.c, libF77/r_cnjg.c, libF77/s_cat.c, libF77/s_paus.c, libF77/s_rnge.c, libF77/setarg.c, libF77/setsig.c, libF77/signal1.h0, libI77/dfe.c, libI77/due.c, libI77/err.c, libI77/fio.h, libI77/fmt.c, libI77/iio.c, libI77/ilnw.c, libI77/lread.c, libI77/lwrite.c, libI77/rsfe.c, libI77/rsli.c, libI77/rsne.c, libI77/sfe.c, libI77/sue.c, libI77/util.c, libI77/wrtfmt.c, libI77/wsfe.c, libI77/wsle.c, libI77/xwsne.c, libU77/date_.c: Kill VOID, Void and Int. From-SVN: r54134
Kaveh R. Ghazi committed -
* libF77/F77_aloc.c, libF77/exit_.c, libF77/main.c, libF77/s_paus.c, libF77/s_stop.c, libF77/setarg.c, libF77/setsig.c, libF77/sig_die.c, libF77/signal1.h0, libI77/close.c, libI77/dolio.c, libI77/fio.h, libI77/fmt.h, libI77/lio.h: Delete checks on __cplusplus. From-SVN: r54133
Kaveh R. Ghazi committed -
* libF77/*: Delete KR_headers cruft. * libI77/*: Likewise. * libU77/*: Likewise. From-SVN: r54132
Kaveh R. Ghazi committed -
* Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove. (install): Refer to install-cpp directly. (uninstall-cpp): Folded into uninstall rule. * configure.in: Delete all code relating to --disable-cpp. * configure: Regenerate. * config/t-install-cpp: Delete. From-SVN: r54131
Zack Weinberg committed -
From-SVN: r54129
Phil Edwards committed -
2002-05-31 Marcus Meissner <meissner@suse.de> * include/bits/stl_bvector.h: Use UL suffix for unsigned longs. * testsuite/23_containers/vector_bool.cc (test02): New test. From-SVN: r54128
Marcus Meissner committed -
* configure.in (HAVE_AS_TLS): Add alpha tests. * configure: Rebuild. * config/alpha/alpha.c (TARGET_AS_TLS): New. (alpha_tls_size, alpha_tls_size_string): New. (overide_options): Set it. Always install machine_status hooks. (input_operand): Accept got tls predicates. (local_symbol_p): Merge into ... (local_symbolic_operand): ... here. Reject tls symbols. (global_symbolic_operand): Likewise. (tls_symbolic_operand_1, dtp16_symbolic_operand): New. (dtp32_symbolic_operand, gotdtp_symbolic_operand): New. (tp16_symbolic_operand, tp32_symbolic_operand): New. (gottp_symbolic_operand, tls_symbolic_operand_type): New. (alpha_encode_section_info): Handle TLS symbols. (alpha_strip_name_encoding): Likewise. (alpha_legitimate_address_p): Likewise. (alpha_legitimize_address): Likewise. (alpha_expand_mov): Early exit to avoid nop moves. (struct machine_function): Move from unicosmk.h. Add some_ld_name. (alpha_init_machine_status, alpha_mark_machine_status, alpha_free_machine_status): Always define. (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New. (print_operand, print_operand_address): Add TLS relocs. * config/alpha/alpha.h (HAVE_AS_TLS): Default 0. (MASK_TLS_KERNEL, TARGET_TLS_KERNEL): New. (TARGET_SWITCHES): Add -mtls-kernel. (alpha_tls_size, alpha_tls_size_string): New. (TARGET_OPTIONS): Add -mtls-size=. (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Add R0_REG. (ASM_OUTPUT_LABELREF): Skip %. (PRINT_OPERAND_PUNCT_VALID_P): Add &. (PREDICATE_CODES): Update. * config/alpha/alpha.md (UNSPEC_TLSGD_CALL, UNSPEC_TLSLDM_CALL, UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_DTPREL, UNSPEC_TPREL, UNSPEC_TP, UNSPECV_SET_TP): New. (adddi_er_lo16_dtp, adddi_er_hi32_dtp, adddi_er_lo32_dtp, adddi_er_lo16_tp, adddi_er_hi32_tp, adddi_er_lo32_tp, load_tp, set_tp, movdi_er_tlsgd, movdi_er_tlsldm, movdi_er_gotdtp, movdi_er_gottp, call_value_osf_tlsgd, call_value_osf_tlsldm): New. (call_value_osf_2_er): Accept anything as op4. * config/alpha/alpha-protos.h: Update. * config/alpha/unicosmk.h (struct machine_function): Move to alpha.c. From-SVN: r54125
Richard Henderson committed
-
- 31 May, 2002 21 commits
-
-
* cppinit.c (append_include_chain): Always pay attention to cxx_aware when setting new->sysp. Remove ATTRIBUTE_UNUSED marker on argument. From-SVN: r54124
Zack Weinberg committed -
* target.h: Fix formatting. * timevar.h: Likewise. * tlink.c: Likewise. * toplev.c: Likewise. * toplev.h: Likewise. * tree.c: Likewise. * tree-dump.h: Likewise. * tree.h: Likewise. * tree-inline.h: Likewise. * unroll.c: Likewise. * unwind-dw2.c: Likewise. * unwind-dw2-fde.c: Likewise. * unwind-dw2-fde-glibc.c: Likewise. * unwind-dw2-fde.h: Likewise. * unwind.h: Likewise. * unwind-sjlj.c: Likewise. * varasm.c: Likewise. * varray.h: Likewise. * vmsdbg.h: Likewise. * vmsdbgout.c: Likewise. * xcoffout.h: Likewise. From-SVN: r54123
Kazu Hirata committed -
expr.c (compare_from_rtx): Generate comparison between op0 and op1 rather than cc0 and 0 in a case when... * expr.c (compare_from_rtx): Generate comparison between op0 and op1 rather than cc0 and 0 in a case when HAVE_cc0 is not defined. From-SVN: r54122
Igor Shevlyakov committed -
* gcc.c (cpp_unique_options): Remove "-d" options. (cpp_debug_options): New spec string. (default_compilers): Use it. * objc/lang-specs.h: Likewise. * cp/lang-specs.h: Likewise. * f/lang-specs.h: Likewise. From-SVN: r54121
Matthew Woodcraft committed -
* Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with BUILD_PREFIX, BUILD_PREFIX_1, to correct nomenclature. * configure: Likewise. From-SVN: r54119
Nathanael Nerode committed -
* gcc/Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with BUILD_PREFIX, BUILD_PREFIX_1, to correct nomenclature. * gcc/mklibgcc.in: Likewise. * gcc/config/arc/t-arc: Likewise. * gcc/configure.in: Likewise. * gcc/configure: Regenerate. From-SVN: r54118
Nathanael Nerode committed -
* Makefile.in: Eliminate version-specific references to tcl8.1, tk8.1. * configure.in: Eliminate version-specific references to tcl8.1, tk8.1. From-SVN: r54117
Nathanael Nerode committed -
2002-05-31 Stan Shebs <shebs@apple.com> Turly O'Connor <turly@apple.com> * c-decl.c (struct binding_level): Change int field n_incomplete to tree list incomplete_list. (clear_binding_level): Init field with NULL. (pushdecl): Add incomplete type to list. (mark_binding_level): Mark the incomplete list. (finish_struct): Scan the incomplete list for types instead of all decls in the current binding level. Co-Authored-By: Turly O'Connor <turly@apple.com> From-SVN: r54116
Stan Shebs committed -
From-SVN: r54114
Olaf Hering committed -
2002-05-31 Florian Weimer <fw@deneb.enyo.de> * 5ntaprop.adb (with System.OS_Primitives): Remove. From-SVN: r54113
Florian Weimer committed -
2002-05-31 Florian Weimer <fw@deneb.enyo.de> * cstreams.c (max_path_len): Move from here ... * adaint.c (__gnat_max_path_len): ... to here. * adaint.c (__gnat_max_path_len): Declare. * g-dirope.adb (Max_Path): Adjust. * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust. * i-cstrea.ads (max_path_len): Adjust. * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust. * xr_tabls.adb (Dir_Name.Max_Path: Adjust. From-SVN: r54112
Florian Weimer committed -
2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca> * pa.c (output_millicode_call): Add missing '%' characters. (output_call): Likewise. From-SVN: r54111
John David Anglin committed -
* config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Define. (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define. From-SVN: r54110
David Edelsohn committed -
2002-05-31 Florian Weimer <fw@deneb.enyo.de> * update_web_docs (MANUALS): Include various flavours of the GNAT User Guide. From-SVN: r54109
Florian Weimer committed -
From-SVN: r54108
Alan Lehotsky committed -
From-SVN: r54107
J"orn Rennecke committed -
* i386.c (classify_argument): Properly handle base types. * dwarf2out.c (expand_builin_init_dwarf_reg_sizes): Store first DWARF_FRAME_REGISTERS dwarf registers, not pseudo registers. From-SVN: r54106
Jan Hubicka committed -
* gcse.c (gcse_emit_move_after): New. (pre_delete, hoist_store): Use it. * reload1.c (emit_input_reload_insns): Use constrain_operands instead of constraint_accepts_reg_p to verify optimization. (constraint_accepts_reg_p): Kill * reload1.c (reload_cse_delete_noop_set): Kill. (reload_cse_simplify): use delte_insn_and_edges. From-SVN: r54105
Jan Hubicka committed -
* cfgloop.c (flow_loops_find): Initialize first and last fields correctly. From-SVN: r54104
Zdenek Dvorak committed -
2002-05-31 Florian Weimer <fw@deneb.enyo.de> * gcc_update (files_and_dependencies): Add generated Texinfo files for Ada. From-SVN: r54103
Florian Weimer committed -
2002-05-31 Florian Weimer <fw@deneb.enyo.de> * Makefile.in, Make-lang.in: Documentation is now built in Make-lang.in. Store Info and generated Texinfo files in the source directory. * gnat_ug.texi: Remove CVS keywords, correct version number. Set file name correctly. * gnat_ug_*.texi: Add. * .cvsignore: Ignore generated Texinfo files. From-SVN: r54100
Florian Weimer committed
-