OSDN Git Service

Add CONST1_RTX (vector mode) support.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index e1d5834..8088d9f 100644 (file)
@@ -1,3 +1,235 @@
+2004-09-10  James E Wilson  <wilson@specifixinc.com>
+
+       * emit-rtl.c (gen_const_vector): Renamed from gen_const_vector_0.
+       Add integer argument named constant.  Use const_tiny_rtx instead of
+       CONST0_RTX.
+       (gen_rtx_CONST_VECTOR): Rewrite to handle checks for both CONST0_RTX
+       and CONST1_RTX.
+       (init_emit_once): Fix users of gen_const_vector.  Set CONST1_RTX for
+       vector types.
+       * expr.c (const_vector_from_tree): Call gen_rtx_CONST_VECTOR instead
+       of gen_rtx_raw_CONST_VECTOR.
+
+2004-09-10  Eric Christopher  <echristo@redhat.com>
+
+       PR c/16046
+       * c-parse.in (attribute): Add NULL_TREE for error case
+       for error recovery.
+
+2004-09-10  Zack Weinberg  <zack@codesourcery.com>
+
+       * c-common.h (struct c_fileinfo): Comment moved here from cp-tree.h.
+       (extract_interface_info): Delete prototype.
+       * c-decl.c (extract_interface_info): Delete stub.
+       * c-lex.c (get_fileinfo): Initialize file_info_tree here, if
+       it's not already been done ...
+       (init_c_lex): ... not here.
+       (fe_file_change): Don't call extract_interface_info.
+
+2004-09-11  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * c-tree.h (struct c_declspecs): Remove typedef_decl.  Add
+       typedef_p and typedef_signed_p.
+       * c-decl.c (shadow_tag_warned): Check typedef_p, not typedef_decl.
+       (grokdeclarator): Don't use typedef_decl for warn_deprecated_use.
+       Check typedef_p and typedef_signed_p, not typedef_decl.
+       (grokfield): Check typedef_p, not typedef_decl.
+       (build_null_declspecs): Initialize typedef_p and typedef_signed_p,
+       not typedef_decl.
+       (declspecs_add_type): Set typedef_p and typedef_signed_p, not
+       typedef_decl.
+
+2004-09-10  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/tm.texi, doc/tree-ssa.texi: Fix typos.
+
+2004-09-10  Geoffrey Keating  <geoffk@apple.com>
+
+       * gimplify.c (create_tmp_var_raw): Don't name otherwise-nameless
+       temporary variables.
+
+       * dbxout.c (dbxout_block): Update for
+       current_function_func_begin_label a string.
+       * dwarf2out.c (dwarf2out_begin_prologue): Likewise.
+       * except.c (dw2_output_call_site_table): Likewise.
+       * toplev.c (current_function_func_begin_label): Likewise.
+       * tree.h (current_function_func_begin_label): Likewise.
+       * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Likewise.
+
+       * final.c (output_asm_insn): Use strtoul instead of atoi, save a
+       loop.
+
+       * config/darwin.c: Include target.h.
+       (struct machopic_indirection): Make ptr_name a string.
+       (machopic_indirection_hash): Update for ptr_name a string.
+       (machopic_indirection_eq): Likewise.
+       (machopic_indirection_name): Likewise.
+       (machopic_output_indirection): Likewise.
+       (machopic_validate_stub_or_non_lazy_ptr): Update for ptr_name a
+       string.  Don't expect stub names to be in the identifier hash table.
+       Do call strip_name_encoding before looking up entry in ID hash table.
+       * config/t-darwin (darwin.o): Add target.h to dependencies.
+
+       * gcc/config/rs6000/rs6000.c (print_operand): Use fputs instead
+       of fprintf for register names.
+
+       * output.h (unlikely_section_label): Delete declaration.
+       (unlikely_text_section_name): Likewise.
+       * varasm.c (unlikely_section_label_printed): Make static.
+       (unlikely_section_label): Likewise.
+       (unlikely_text_section_name): Likewise.
+       (assemble_start_function): Use reconcat.
+
+       * rtl.def (REG): Add comment to describe third field.
+
+2004-09-10  Andrew Pinski  <apinski@apple.com>
+
+       * config/darwin.c (machopic_mcount_stub_name): Call
+       machopic_indirection_name instead of making the string
+       ourselves.
+
+2004-09-10  Diego Novillo  <dnovillo@redhat.com>
+
+       Revert
+
+       2004-09-08  Jie Zhang  <zhangjie@magima.com.cn>
+
+           * tree-ssa-alias.c (compute_flow_insensitive_aliasing): If type
+           memory tag is call clobbered, so are its aliases.
+           (group_aliases): When two memory tags being grouped, if one is
+           call clobbered, so are the other and its aliases.
+           (add_may_alias): Remove call-clobbering stuff.
+           (replace_may_alias): Likewise.
+           (merge_pointed_to_info): Merge pt_global_mem
+
+2004-09-10  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * bb-reorder.c, c-common.c, c-incpath.c, c-typeck.c,
+       genrecog.c, lambda-code.c, mips-tdump.c, mips-tfile.c,
+       passes.c, tree-data-ref.c, tree-data-ref.h, tree-mudflap.c,
+       tree-scalar-evolution.c, tree-ssa-copyrename.c,
+       tree-ssa-live.c, tree-ssa-live.h: Fix comment typos.
+
+2004-09-10  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/frv/frv.md (UNSPEC_MASACCS, UNSPEC_MDASACCS): New constants.
+       (maddaccs, msubaccs, *maddacc): Turn operand 0 into a single ACC/ACCG
+       pair.  Remove match_dup from inputs.  Remove masaccs handling.
+       (mdaddaccs, mdsubaccs, *mdaddacc): Likewise a dual ACC/ACCG pair.
+       (masaccs, mdasaccs): Turn into define_insns.
+
+2004-09-10  Richard Sandiford  <rsandifo@redhat.com>
+
+       * tree-tailcall.c (process_assignment): Only do accumulator transforms
+       for floating-point types if flag_unsafe_math_optimizations.
+
+2004-09-10  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/darwin.c, config/alpha/alpha.h, config/arm/arm.c,
+       config/arm/arm.h, config/arm/arm.md, config/arm/bpabi.h,
+       config/arm/predicates.md, config/frv/frv.c, config/frv/frv.md,
+       config/h8300/h8300.md, config/i386/gmm_malloc.h,
+       config/ia64/ia64.md, config/ip2k/libgcc.S,
+       config/mips/mips-ps-3d.md, config/mips/mips.c,
+       config/rs6000/rs6000.c, config/s390/s390.c,
+       config/sh/symbian.c: Fix comment typos.
+
+2004-09-10  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * config/s390/s390.c (s390_emit_prologue): Added missing
+       "{}" brackets.
+
+2004-09-10  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/extend.texi, doc/invoke.texi, doc/passes.texi: Fix
+       typos.  Follow spelling conventions.
+
+2004-09-10  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * toplev.c (warn_deprecated_use): Correct logic for saying "type"
+       in diagnostic.  Don't dereference NULL TYPE_NAME.
+
+2004-09-10  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * c-common.c, c-pch.c, defaults.h, lambda-code.c, passes.c,
+       tree-data-ref.c, tree-flow.h, tree-ssa-operands.c,
+       tree-ssa-threadupdate.c, tree-vectorizer.c, tree-vectorizer.h,
+       value-prof.c: Fix comment typos.  Follow spelling conventions.
+
+2004-09-10  Jan Hubicka  <jh@suse.cz>
+
+       * tree-ssa-dce.c (remove_dead_stmt): Update profile.
+       * tree-split_edge.c (tree_split_edge): Likewise.
+       (thread_jumps): Likewise.
+
+2004-09-10  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cgraphunit.c, predict.c, tree-ssa-loop-ivopts.c: Fix comment
+       typos.
+
+2004-09-10  Paolo Bonzini  <bonzini@gnu.org>
+
+       * cgraph.h (cgraph_dump_file): Do not declare.
+       * cgraphunit.c (cgraph_dump_file): Declare as static.
+       (init_cgraph): New.
+       * toplev.c (cgraph_dump_file): Do not declare.
+       (compile_file): Call init_cgraph.
+       * tree-dump.c (dump_files): Add IPA dump file, remove
+       XML dump of call graph.
+       (get_dump_file_name): Support IPA dump file naming scheme.
+       * tree.h (enum tree_dump_index): Add IPA dump file, remove
+       XML dump of call graph.
+       * doc/invoke.texi (Debugging Options): Document the new options.
+
+2004-09-10  Richard Sandiford  <rsandifo@redhat.com>
+
+       * doc/extend.texi: Document the FR-V built-in functions.
+
+2004-09-09  James E Wilson  <wilson@specifixinc.com>
+
+       * doc/sourcebuild.texi: Delete libbanshee reference.
+
+2004-09-10  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Makefile.in (s-gtype): Add $(build_exeext) to gengtype command.
+
+2004-09-09  James E Wilson  <wilson@specifixinc.com>
+
+       * c-typeck.c (convert_for_assignment): Check that rhs has VECTOR_TYPE
+       before calling vector_types_convertible_p.
+       (digest_init): Check that inside_init has VECTOR_TYPE before calling
+       vector_types_convertible_p.  Don't give another error if
+       convert_for_assignment returns error_mark_node.
+
+2004-09-09  Roger Sayle  <roger@eyesopen.com>
+
+       PR middle-end/17055
+       * fold-const.c (build_zero_vector): New function to construct a
+       vector (either floating point or integer) of zeros.
+       (fold_convert): Internally, enable conversions of integer zero
+       to arbitrary vector types, using the new build_zero_vector.
+
+2004-09-09  Roger Sayle  <roger@eyesopen.com>
+
+       * config/i386/i386.c (ix86_expand_ashlsi3_const): New function to
+       expand a left shift by an immediate constant as either an ashl or
+       a sequence of additions.
+       (ix86_split_ashldi): Use new ix86_expand_ashlsi3_const function
+       instead of calling gen_ashlsi3 with a constant directly.
+
+2004-09-09  Roger Sayle  <roger@eyesopen.com>
+
+       * config/i386/i386.c (ix86_split_long_move): When optimizing for
+       size, and the low and high parts of a DImode constant are equal,
+       copy one register to another instead of loading the same immediate
+       value twice.
+
+2004-09-09  Richard Henderson  <rth@redhat.com>
+
+       PR middle-end/17367
+       * function.c (assign_parm_setup_block): Only put PARALLELs into
+       a register if use_register_for_decl.
+
 2004-09-09  Eric Christopher  <echristo@redhat.com>
 
        * ra-colorize.c (reset_lists): Move variable declaration inside