OSDN Git Service

2004-07-23 Janis Johnson <janis187@us.ibm.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 3c7cc55..f5867e4 100644 (file)
@@ -1,3 +1,178 @@
+2004-07-23  Janis Johnson  <janis187@us.ibm.com>
+
+       * config/rs6000/altivec.h (vec_lvewx, vec_lvehx, vec_lvwbx): Remove
+       the const qualifier for the second argument in the C++ functions.
+
+       * config/rs6000/altivec.h (vec_stvewx, vec_stvehx, vec_stvebx): Use
+       specific pointer types.
+
+       * config/rs6000/altivec.h (vec_vadduwm): (vec_vadduwm, vec_vadduhm,
+       vec_vaddubm, vec_vsubuwm, vec_vsubuhm, vec_vsububm): Fix types used
+       for vector bool and/or vector pixel, add C++ and C missing support.
+       (vec_vaddsws, vec_vaddshs, vec_vaddsbs, vec_vmaxsw, vec_vmaxsh,
+       vec_vmaxsb, vec_vmrghw, vec_vmrghh, vec_vmrghb, vec_vmrglw, vec_vmrglh,
+       vec_vmrglb, vec_vminsw, vec_vminsh, vec_vminsb, vec_vpkuwum,
+       vec_vpkuhum, vec_vspltw, vec_vsplth, vec_vspltb, vec_vsubsws,
+       vec_vsubshs, vec_vsubsbs, vec_vupklsh, vec_vupkhsh, vec_vupklsb): Add
+       missing C++ and C support for vector bool and/or vector pixel.
+       (vec_vadduws, vec_vadduhs, vec_vaddubs, vec_vcmpeqfp, vec_vcmpequw,
+       vec_vcmpequh, vec_vcmpequb, vec_vcmpgtfp, vec_vcmpgtsw, vec_vcmpgtuw,
+       vec_vcmpgtsh, vec_vcmpgtuh, vec_vcmpgtsb, vec_vcmpgtub, vec_vmaxuw,
+       vec_vmaxuh, vec_vmaxub, vec_vminuw, vec_vminuh, vec_vminub,
+       vec_vsubuws, vec_vsubuhs, vec_vsububs, vec_vupkhpx, vec_vupklpx): Fix
+       C++ and C types used for vector bool and/or vector pixel.
+       (vec_st, vec_stl): Add C++ support for vector pixel.
+       (vec_unpackh, vec_unpackl, vec_any_ge): Fix C++ support for vector bool.
+       (vec_all_ne): Add C++ support for vector pixel.
+
+       * config/rs6000/altivec.h (vec_vcmpgtsh): Fix C++ function name.
+       (vec_vmulesb): Add missing C++ function.
+       (vec_perm): Fix type of third argument in C++ function.
+       (vec_vsum4shs): Fix C++ function name.
+       (vec_any_ge): Remove C++ functions for unsupported arg combinations.
+       (vec_vcmpgtsw, vec_vcmpgtuw, vec_minsb, vec_vmsummbm): Fix the
+       argument passed to the error handler in C macro.
+       (vec_nmsub): Remove extra parens around argument names in C macro.
+       (vec_packpx): Add missing parens in C macro.
+
+2004-07-22  Paolo Bonzini  <bonzini@gnu.org>
+
+       * machmode.def: Remove vector modes.
+       * config/alpha/alpha-modes.def: Add supported vector modes.
+       * config/arm/arm-modes.def: Likewise.
+       * config/frv/frv-modes.def: Likewise.
+       * config/i386/i386-modes.def: Likewise.
+       * config/rs6000/rs6000-modes.def: Likewise.
+       * config/sh/sh-modes.def: Likewise.
+
+2004-07-23  Matthias Klose  <doko@debian.org> 
+       * intl.c (gcc_init_libintl): Use PACKAGE for the text domain. 
+       * configure.ac: Add AC_DEFINE_UNQUOTED for PACKAGE. 
+       * config.h: Regenerate.
+       * configure: Likewise. 
+
+2004-07-22  Mark Mitchell  <mark@codesourcery.com>
+
+       * dwarf2out.c (output_call_frame_info): Set SYMBOL_FLAG_LOCAL on
+       generated SYMBOL_REFs for labels.
+       * config/darwin-protos.h (machopic_validate_stub_or_non_lazy_ptr):
+       Change prototype.
+       (machopic_stub_name): Remove.
+       (machopic_indirection_name): New function.
+       (machopic_mcount_stub_name): Likewise.
+       (machopic_classify_name): Remove.
+       (machopic_function_base_sym): New function.
+       (machpoic_classify_symbol): Likewise.
+       (machopic_classify_ident): Remove.
+       (machopic_define_ident): Likewise.
+       (machopic_define_name): Likewise.
+       (machopic_name_defined_p): Likewise.
+       (machopic_ident_defined_p): Likewise.
+       (darwin_strip_name_encoding): Likewise.
+       (machopic_define_symbol): New function.
+       * config/darwin.c (hashtab.h): Include.
+       (machopic_defined_list): Remove.
+       (machopic_classify_ident): Likewise.
+       (machopic_classify_name): Likewise.
+       (machopic_ident_defined_p): Likewise.
+       (machopic_define_ident): Likewise.
+       (machopic_define_name): Likewise.
+       (machopic_symbol_defined_p): New function.
+       (machopic_classify_symbol): Likewise.
+       (machopic_data_defined_p): Use machopic_classify_symbol.
+       (machopic_define_symbol): New function.
+       (machopic_function_base_sym): New function.
+       (machopic_non_lazy_pointers): Remove.
+       (machopic_non_lazy_ptr_name): Likewise.
+       (machopic_stubs): Likewise.
+       (machopic_stub_name): Likewise.
+       (NON_LAZY_POINTER_SUFFIX): New macro.
+       (STUB_SUFFIX): Likewise.
+       (machopic_indirection): New structure.
+       (machopic_indirections): New variable.
+       (machopic_indirection_hash): New function.
+       (machopic_indirection_eq): Likewise.
+       (machopic_indirection_name): Likewise.
+       (machopic_mcount_stub_name): New function.
+       (machopic_validate_stub_or_non_lazy_pointer): Reimplement to use
+       hash table.
+       (machopic_indirect_data_reference): Rework to use new functions.
+       (machopic_indirect_call_target): Likewise.
+       (machopic_legitimize_pic_address): Likewise.
+       (machopic_output_indirection): New function.
+       (machopic_finish): Use it.
+       (machopic_operand_p): Rework to use new functions.
+       (darwin_encode_seciton_info): Use SYMBOL_REF_FLAGS.
+       (darwin_strip_name_encoding): Remove.
+       (update_non_lazy_ptrs): Remove.
+       (update_stubs): Likewise.
+       (darwin_non_lazy_pcrel): Use new functions.
+       * config/darwin.h (ASM_DECLARE_OBJECT_NAME): Likewise.
+       (ASM_OUTPUT_LABELREF): Likewise.
+       (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
+       (MACHO_SYMBOL_FLAG_VARIABLE): New macro.
+       (MACHO_SYMBOL_FLAG_DEFINED): Likewise.
+       (TARGET_STRIP_NAME_ENCODING): Do not use
+       darwin_strip_name_encoding.
+       (GEN_LAZY_PTR_NAME_FOR_SYMBOL): Do not use
+       darwin_strip_name_encoding.
+       * config/i386/darwin.h (FUNCTION_PROFILER): Use
+       machopic_mcount_stub_name.
+       * config/i386/i386.c (x86_output_mi_thunk): Use
+       machopic_indirection_name, not machopic_stub_name.
+       * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Use
+       machopic_function_base_sym.
+       (print_operand): Use machopic_classify_symbol.
+       (rs6000_emit_prologue): Use machopic_function_base_sym.
+       (output_profile_hook): Do not use machopic_stub_name.
+       (macho_branch_isalnds): Do not use darwin_strip_name_encoding.
+       
+2004-07-22  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       PR c/7284
+       * fold-const.c (extract_muldiv_1): Do not treat signed left shift
+       as multiplication.
+
+2004-07-22  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * doc/implement-c.texi: New file.
+       * doc/extend.texi (C Implementation): Move to there.
+       * doc/gcc.texi: Include implement-c.texi.
+       * Makefile.in (TEXI_GCC_FILES): Add implement-c.texi.
+
+2004-07-22  Jason Merrill  <jason@redhat.com>
+
+       * integrate.c (copy_decl_for_inlining): Remove invisible reference
+       handling.
+       * tree-inline.c (setup_one_parameter): Likewise.
+
+2004-07-22  Brian Booth  <bbooth@redhat.com>
+
+       * tree-ssa-ccp.c (latticevalue): Add UNKNOWN_VAL.
+       (substitute_and_fold): Propigate into VUSE operands when possible.
+       (visit_phi_node): Handle UNKNOWN_VAL latticevalue.
+       (cp_lattice_meet): Handle merging of latticevalues when 
+       UNKNOWN_VAL is present.
+       (visit_stmt): Visit assignments with V_MUST_DEFs.
+       (visit_assignment): Gather ccp information for V_MUST_DEF operands.
+       (ccp_fold): Deal with RHS' that are constant and virtual.
+       (evaluate_stmt): Handle UNKNOWN_VAL likely values.
+       (dump_lattice_value): Dump UNKNOWN_VAL latticevalues.
+       (initialize): Mark statements with V_MUST_DEFs as VARYING only if the
+       V_MUST_DEF operand is VARYING. Fix comment and include VOPS when 
+       computing immediate uses.
+       (set_lattice_value): Disallow a UNKNOWN_VAL->UNDEFINED state 
+       transition.
+       (replace_vuse_in): New function.
+       (likely_value): Add check of vuse operands.
+       (get_default_value): Set the default value of virtually defined 
+       variables to UKNOWN_VAL instead of VARYING.
+
+2004-07-22  Richard Henderson  <rth@redhat.com>
+
+       * expr.c (emit_push_insn): Don't use set_mem_attributes.
+
 2004-07-22  Richard Henderson  <rth@redhat.com>
 
        * tree-ssa-live.c (create_ssa_var_map): Avoid defined-but-not-used