1. 10 Jun, 2004 20 commits
  2. 09 Jun, 2004 20 commits
    • re PR middle-end/15228 (useless copies of floating point operands) · e66e7856
              PR middle-end/15228
              * function.c (assign_parms): Always set_mem_align with the computed
              FUNCTION_ARG_BOUNDARY.  Don't clear stack_parm if !STRICT_ALIGNMENT.
      
      From-SVN: r82867
      Richard Henderson committed
    • re PR tree-optimization/15108 ([tree-ssa] [regression] missed sib-calling for pointer changes) · 4b5b9613
              PR opt/15108
              * tree-tailcall.c (find_tail_calls): Don't check early for
              tail_recursion failure.
      
      From-SVN: r82866
      Richard Henderson committed
    • Move SSA_NAME annotations into tree_ssa_name. · 313679b0
      	* tree-dfa.c (create_ssa_name_ann): Remove.
      	* tree-flow-inline.h (ssa_name_ann, get_ssa_name_ann): Remove.
      	* tree-flow.h (enum tree_ann_type): Remove SSA_NAME_ANN.
      	(struct ssa_name_ann_d): Remove.
      	(union tree_ann_d): Update.
      	(ssa_name_ann_t): Remove.
      	* tree-ssa-alias.c: (get_ptr_info): New local function.
      	Replace references to ssa_name_ann_t with struct ptr_info_def.
      	* tree-ssa-operands.c (get_expr_operands): Likewise.
      	* tree.h (SSA_NAME_PTR_INFO): Define.
      	(struct ptr_info_def): Declare.
      	(struct tree_ssa_name): Add field 'ptr_info'.
      
      From-SVN: r82864
      Diego Novillo committed
    • winnt.c (i386_pe_output_labelref): Correct misplaced ')'. · 8041d6ab
      	* config/i386/winnt.c (i386_pe_output_labelref): Correct
      	misplaced ')'.
      
      From-SVN: r82862
      Danny Smith committed
    • * config/i386/winnt.c (i386_pe_output_labelref); Correct · 33300a2e
      	misplaced ')'.
      
      From-SVN: r82860
      Danny Smith committed
    • k6.md: Rewrite using the DFA model. · 8695f61e
      	* config/i386/k6.md: Rewrite using the DFA model.
      	* config/i386/i386.c (ix86_adjust_cost): Don't increase the
      	cost of load-operation insns for the K6.
      	(ia32_use_dfa_pipeline_interface): Add TARGET_K6.
      	(ia32_multipass_dfa_lookahead): Likewise.
      
      From-SVN: r82859
      Steven Bosscher committed
    • alpha.c (alpha_gimplify_va_arg_1, [...]): New. · 28245018
              * config/alpha/alpha.c (alpha_gimplify_va_arg_1,
              alpha_gimplify_va_arg, TARGET_GIMPLIFY_VA_ARG_EXPR): New.
      
      From-SVN: r82858
      Richard Henderson committed
    • re PR libstdc++/15775 (Allocator::pointer consistently ignored) · 7338fc64
      2004-06-09  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/15775
      	* include/bits/stl_deque.h: Consistently with stl_set.h, define
      	pointer as allocator's pointer, likewise for reference,
      	const_pointer, and const_reference.
      	* include/bits/stl_list.h: Likewise.
      	* include/bits/stl_map.h: Likewise.
      	* include/bits/stl_multimap.h: Likewise.
      	* include/bits/stl_vector.h: Likewise.
      
      From-SVN: r82857
      Paolo Carlini committed
    • bitfield3.C: Add -mno-align-double compile option for mingw32 and cygwin targets. · 80d23e49
      	* g++.dg/abi/bitfield3.C: Add -mno-align-double compile option
      	for mingw32 and cygwin targets.
      
      From-SVN: r82856
      Danny Smith committed
    • Index: gcc/ChangeLog · d8044160
      2004-06-09  Geoffrey Keating  <geoffk@apple.com>
      
      	* Makefile.in (CPPLIB_H): Put files in order of inclusion.
      	(CPP_ID_DATA_H): New.
      	(gtype-desc.o): Update dependencies.
      	(GTFILES): Use CPP_ID_DATA_H.
      
      Index: gcc/testsuite/ChangeLog
      2004-06-09  Geoffrey Keating  <geoffk@apple.com>
      
      	* gcc.dg/pch/macro-4.c: New.
      	* gcc.dg/pch/macro-4.hs: New.
      
      Index: libcpp/ChangeLog
      2004-06-09  Geoffrey Keating  <geoffk@apple.com>
      
      	* traditional.c (push_replacement_text): Set macro->traditional.
      	(save_replacement_text): Likewise.
      	* pch.c (cpp_write_pch_state): Don't write list of defined macros.
      	(struct save_macro_item): Delete.
      	(struct save_macro_data): Use a character array not the previous
      	structured format.
      	(save_macros): Save macro as text not as internal structures.
      	(cpp_prepare_state): Update for changes to save_macro_data.
      	(cpp_read_state): Don't read macros defined in PCH.  Restore
      	-D macros as text.
      	* macro.c (create_iso_definition): Honour alloc_subobject.
      	Clear traditional flag.
      	(_cpp_create_definition): Honour alloc_subobject.
      	* lex.c (cpp_token_val_index): New.
      	* internal.h: Include cpp-id-data.h.
      	(uchar): Move definition to cpp-id-data.h.
      	(U): Likewise.
      	(cpp_macro): Likewise.
      	* directives.c (struct answer): Move to cpp-id-data.h.
      	(do_assert): Honour alloc_subobject.
      
      Index: libcpp/include/ChangeLog
      2004-06-09  Geoffrey Keating  <geoffk@apple.com>
      
      	* symtab.h (struct ht): Add field 'alloc_subobject'.
      	* cpplib.h (struct cpp_string): Add GTY marker.
      	(enum cpp_token_fld_kind): New.
      	(struct cpp_token): Add GTY markers.
      	(cpp_token_val_index): Prototype.
      	(CPP_HASHNODE_VALUE_IDX): New.
      	(struct cpp_hashnode): Don't skip fields of 'value' when marking.
      	* cpp-id-data.h: New file.
      
      From-SVN: r82851
      Geoffrey Keating committed
    • trans-expr.c (gfc_conv_cst_int_power): Compute x**(-n) by converting it to… · 293155b0
      trans-expr.c (gfc_conv_cst_int_power): Compute x**(-n) by converting it to (1/x)**n instead of 1/x**n.
      
      2004-06-09  Toon Moene  <toon@moene.indiv.nluug.nl>
      
      	* trans-expr.c (gfc_conv_cst_int_power): Compute
      	x**(-n) by converting it to (1/x)**n instead of
      	1/x**n.
      
      From-SVN: r82850
      Toon Moene committed
    • ctype support. · dc88d66f
      2004-06-09  Frank Ch. Eigler  <fche@redhat.com>
      
      	ctype support.
      	* configure.in: Look for ctype header and glibc implementation.
      	* mf-hooks2.c (__ctype_{b,toupper,tolower}_loc): Sample ctype
      	array hooks for glibc 2.3.
      	* mf-runtime.h.in: Wrap them.
      	* mf-runtime.c (__mf_init): Leave marker regarding other ctype
      	implementations.
      	* testsuite/libmudflap.c/pass47-frag.c: New test.
      	* configure, config.h.in: Regenerated.
      
      From-SVN: r82848
      Frank Ch. Eigler committed
    • revert: re PR c++/15815 (Update #pragma interface and #pragma implementation documentation.) · 0e5b7cfa
      	Revert:
      	PR c++/15815
      	2004-06-07  Mark Mitchell  <mark@codesourcery.com>
      	* doc/extend.texi: Deprecate #pragma interface and #pragma
      	implementation.
      
      	Revert:
      	PR c++/15815
      	2004-06-07  Mark Mitchell  <mark@codesourcery.com>
      	* lex.c (handle_pragma_interface): Deprecate.
      	(handle_pragma_implementation): Likewise.
      
      From-SVN: r82847
      Mark Mitchell committed
    • sparc.h (MOVE_RATIO): New definition. · 5162e02a
      2004-06-09  David S. Miller  <davem@nuts.davemloft.net>
      
      	* config/sparc/sparc.h (MOVE_RATIO): New definition.
      
      From-SVN: r82844
      David S. Miller committed
    • g++spec.c (lang_specific_driver): Remove check for -lm and -lmath when check it… · b7115e7f
      g++spec.c (lang_specific_driver): Remove check for -lm and -lmath when check it see if it was the math library.
      
      2004-06-09  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * g++spec.c (lang_specific_driver): Remove check for -lm
              and -lmath when check it see if it was the math library.
      
      From-SVN: r82843
      Andrew Pinski committed
    • basic-block.h (struct edge_def): Add goto_locus. · 62b857ea
              * basic-block.h (struct edge_def): Add goto_locus.
              * tree-cfg.c (make_goto_expr_edges): Set it.
              (disband_implicit_edges): Use it.
              * tree-pretty-print.c (dump_implicit_edges): Print it.
      
      From-SVN: r82842
      Richard Henderson committed
    • * h8300.md (ldm_h8300s_4): Fix condition for expander. · 93a9f7d6
      From-SVN: r82841
      Anil Paranjpe committed
    • Gimplify VA_ARG_EXPR into simpler forms. · cd3ce9b4
              * target.h: Add gimplify_va_arg_expr hook.
              * target-def.h: Add TARGET_GIMPLIFY_VA_ARG_EXPR.
              * fold-const.c (build_fold_addr_expr)
              (build_fold_addr_expr_with_type): Move from gimplify.c.
              * tree.h: Declare them.
              * gimplify.c (gimplify_and_add): New fn.
              (build_addr_expr, build_addr_expr_with_type): Move to fold-const.c.
              (gimplify_array_ref_to_plus, gimplify_modify_expr)
              (gimplify_expr): Use build_fold_*.
              (copy_if_shared_r): Only mark VA_ARG_EXPR volatile if we
              don't know how to gimplify it.
              * builtins.c (std_gimplify_va_arg_expr): New fn.
              (dummy_object): New static fn.
              (gimplify_va_arg_expr): New fn.
              (stabilize_va_list): Use build_fold_*.
              * tree-gimple.h: Declare new fns.
              * config/i386/i386.c (TARGET_GIMPLIFY_VA_ARG_EXPR): Define.
              (ix86_gimplify_va_arg): New fn.
              * config/i386/ia64.c (TARGET_GIMPLIFY_VA_ARG_EXPR): Define.
              (ia64_gimplify_va_arg): New fn.
              * config/i386/rs6000.c (rs6000_gimplify_va_arg): New fn.
              (TARGET_GIMPLIFY_VA_ARG_EXPR): Define.
              * config/i386/sparc.c (sparc_gimplify_va_arg): New fn.
              * alias.c (get_varargs_alias_set): Just return 0 for now.
      
              * c-objc-common.c (c_tree_printer): Improve handling of %T.
      
      From-SVN: r82838
      Jason Merrill committed
    • tree-complex.c (expand_complex_comparison): Use fold_convert instead of convert. · e072ae27
      2004-06-09  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * tree-complex.c (expand_complex_comparison): Use fold_convert instead
              of convert.
              * tree-inline.c (setup_one_parameter): Likewise.
              * tree-sra.c (csc_build_component_ref): Likewise.
              * tree-ssa-ccp.c (ccp_fold): Likewise.
              * tree-ssa-copy.c (cprop_operand): Likewise.
              * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise.
              * tree-tailcall.c (tree_optimize_tail_calls_1): Likewise.
      
      From-SVN: r82837
      Andrew Pinski committed