1. 02 Jun, 2002 7 commits
  2. 01 Jun, 2002 23 commits
    • Support for C++ constructors/destructors. · 9af145ae
      	* config/avr/avr.c (avr_output_function_epilogue): Jump to exit()
      	instead of looping if main() returns.
      	(asm_file_start): Output global symbols that cause .data and .bss
      	initialization code to be linked in, unconditionally for now.
      	(avr_asm_out_ctor, avr_asm_out_dtor): New functions.
      	* config/avr/avr.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): New.
      	(TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
      	(LIBSTDCXX): New.
      	* config/avr/libgcc.S (_exit): Split in .fini9 and .fini0 sections.
      	(__tablejump__): New.
      	(__do_copy_data, __do_clear_bss): New.
      	(__do_global_ctors, __do_global_dtors): New.
      	* config/avr/t-avr (LIB1ASMFUNCS): Add _copy_data, _clear_bss,
      	_ctors, _dtors.
      
      From-SVN: r54156
      Marek Michalkiewicz committed
    • c4x.h (TARGET_CPU_CPP_BUILTINS): New. · 0d66ad57
      
      	* c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): New.
      	(CPP_SPEC, CPP_PREDEFINES): Kill.
      	* c4x/rtems.h (CPP_PREDEFINES): Kill.
      	(TARGET_OS_CPP_BUILTINS): New.
      
      From-SVN: r54155
      Neil Booth committed
    • Makefile.in (tracer.o): New. · 5c856b23
      
      	* Makefile.in (tracer.o): New.
      	* params.def (TRACER_*): New options.
      	* rtl.h (tracer): Declare.
      	* timevar.def (TV_TRACER): New.
      	* toplev.c (dump_file_index): Add DFI_tracer.
      	(dump_file_info): Add tracer.
      	(flag_tracer): New.
      	(lang_indepdenent_options): Add tracer.
      	(rest_of_compilation): Call tracer.
      	* tracer.c: New file.
      	* invoke.texi (-ftracer): Document.
      	(--param tracer-*): Document.
      
      From-SVN: r54154
      Jan Hubicka committed
    • tree-inline.c (expand_call_inline): Make the statement expression we generate have a COMPOUND_STMT. · e2405951
      2002-06-01  Daniel Berlin  <dberlin@dberlin.org>
      
      	* tree-inline.c (expand_call_inline): Make the statement
      	expression we generate have a COMPOUND_STMT.
      
      From-SVN: r54153
      Daniel Berlin committed
    • gcse.c (cprop_cc0_jump): Function deleted. · 0e3f0221
      
      	* 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. · 378393da
      
      	* 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"… · 01c58f26
      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. · 91b12472
      	* cppexp.c (cpp_classify_number): Cast precission to int for
      	correct printf format.
      
      From-SVN: r54147
      Andreas Jaeger committed
    • avr.c (avr_mcu_types): Remove devices that were once expected, but don't really exist... · 01e9ae86
      
      	* 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
    • *: Fix formatting. · 407c72cb
      	* libF77/*: Fix formatting.
      	* libI77/*: Likewise.
      	* libU77/*: Likewise.
      
      From-SVN: r54145
      Kaveh R. Ghazi committed
    • gnat_ug.texi: Use @ifnottex instead of @ifinfo. · 113dc143
      	* 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
    • h8300-protos.h: Add a prototype for h8300_shift_needs_scratch_p. · be1e06df
      	* 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. · 2ecfd709
      	* 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
    • Daily bump. · d6ee5ebf
      From-SVN: r54141
      GCC Administrator committed
    • *** empty log message *** · d9763749
      From-SVN: r54136
      Alan Lehotsky committed
    • - Sigh, always use default text section name. · f6b1cfea
      From-SVN: r54135
      David Edelsohn committed
    • g2c.hin, [...]: Kill VOID, Void and Int. · 9bb2ada6
      	* 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
    • F77_aloc.c, [...]: Delete checks on __cplusplus. · 93218131
      	* 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
    • *: Delete KR_headers cruft. · 4d85a6fe
      	* libF77/*: Delete KR_headers cruft.
      	* libI77/*: Likewise.
      	* libU77/*: Likewise.
      
      From-SVN: r54132
      Kaveh R. Ghazi committed
    • Makefile.in (INSTALL_CPP, [...]): Remove. · 1e730c5c
      	* 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
    • Fix typo in my previous changelog commit. Again. · 05d7f9ba
      From-SVN: r54129
      Phil Edwards committed
    • stl_bvector.h: Use UL suffix for unsigned longs. · 6c8ce02f
      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. · 6f9b006d
      	* 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
  3. 31 May, 2002 10 commits