OSDN Git Service

* doc/install.texi: Document that dejagnu 1.4.4 is required.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index bc2efca..5a8a09e 100644 (file)
@@ -1,3 +1,279 @@
+2004-05-24  Mike Stump  <mrs@apple.com>
+
+       * doc/install.texi: Document that dejagnu 1.4.4 is required.
+
+2004-05-24  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * intl.h (open_quote, close_quote): New.
+       * intl.c (open_quote, close_quote): New.
+       (gcc_init_libintl): Set them.
+       * pretty-print.c: Include "intl.h".
+       (pp_base_format_text): Support 'q' format flag and %` and %'
+       formats.  Use ' instead of ` in comments.
+       * c-format.c (gcc_diag_flag_specs, gcc_cxxdiag_flag_specs,
+       gcc_diag_char_table, gcc_cdiag_char_table, gcc_cxxdiag_char_table,
+       foramt_types_orig): Describe these new formats.
+       (decode_format_attr, check_function_format,
+       check_format_info_main): Use these new formats.
+       (status_warning): Use ATTRIBUTE_GCC_DIAG.
+       * toplev.c (ATTRIBUTE_GCC_DIAG): Increase required GCC version to
+       check these formats to 3.5.
+
+2004-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * Makefile.in (CPPLIBS): Renamed to CPPLIB.
+       (BACKEND): Reflect this.
+       (LIBDEPS): Move CPPLIB before LIBIBERTY.
+       (LIBS): Likewise.
+
+2004-05-24  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       PR tree-optimization/14197
+       * builtins.c: Include "tree-gimple.h"
+       (readonly_data_expr): Use get_base_address.  Make sure to call 
+       decl_readonly_section only on trees it can handle.
+       * tree-gimple.c (get_base_address): Accept STRING_CST and
+       CONSTRUCTOR expressions.
+       * Makefile.in: Update dependencies.
+
+2004-05-23  Paolo Bonzini  <bonzini@gnu.org>
+
+       Move libcpp to the toplevel.
+       * Makefile.in: Remove references to libcpp files,
+       use CPPLIBS instead of libcpp.a.  Define SYMTAB_H
+       and change hashtable.h to that.
+       * aclocal.m4 (gcc_AC_HEADER_STDBOOL,
+       gcc_AC_HEADER_STRING, gcc_AC_C__BOOL): Remove.
+       * configure.ac (gcc_AC_C__BOOL, HAVE_UCHAR): Remove tests.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * c-ppoutput.c: Include ../libcpp/internal.h instead of cpphash.h.
+       * cppcharset.c: Removed.
+       * cpperror.c: Removed.
+       * cppexp.c: Removed.
+       * cppfiles.c: Removed.
+       * cpphash.c: Removed.
+       * cpphash.h: Removed.
+       * cppinit.c: Removed.
+       * cpplex.c: Removed.
+       * cpplib.c: Removed.
+       * cpplib.h: Removed.
+       * cppmacro.c: Removed.
+       * cpppch.c: Removed.
+       * cpptrad.c: Removed.
+       * cppucnid.h: Removed.
+       * cppucnid.pl: Removed.
+       * cppucnid.tab: Removed.
+       * hashtable.c: Removed.
+       * hashtable.h: Removed.
+       * line-map.c: Removed.
+       * line-map.h: Removed.
+       * mkdeps.c: Removed.
+       * mkdeps.h: Removed.
+       * stringpool.h: Include symtab.h instead of hashtable.h.
+       * tree.h: Include symtab.h instead of hashtable.h.
+       * system.h (O_NONBLOCK, O_NOCTTY): Do not define.
+
+2004-05-23 Paolo Bonzini <bonzini@gnu.org>
+
+       * gcc.c (struct prefix_list): Add forward declaration.
+       (do_spec_path): New function, extracted from...
+       (do_spec_1) <'D'>: ... here.  Drop support for
+       SPACE_AFTER_L_OPTION.
+       (do_spec_1) <'I'>: Use do_spec_path.
+       (process_command): Do not store the 'include' suffix
+       in include_prefixes.
+       * system.h: Poison SPACE_AFTER_L_OPTION.
+
+2002-05-23  Roger Sayle  <roger@eyesopen.com>
+
+       * fold-const.c (non_lvalue): Explicitly list the tree codes that
+       need to be wrapped by NON_LVALUE_EXPR, instead of those that don't.
+
+2004-05-23  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * doc/gcc.texi, doc/gccint.texi, doc/include/gcc-common.texi:
+       Update based on printed manual.  Enable setting of offsets for
+       FSFPRINT and move it to gcc-common.texi.
+       * doc/gcc.texi: Update FSF printing details.
+       * doc/gccint.texi: Remove FSF printing details.
+
+2004-05-23  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * config/rs6000/t-rs6000: Remove the disabling -Werror.
+
+2004-05-22  Roger Sayle  <roger@eyesopen.com>
+
+       * builtins.c (expand_builtin_strstr, expand_builtin_strchr,
+       expand_builtin_strrchr, expand_builtin_strpbrk,
+       expand_builtin_mempcpy, expand_builtin_memcmp,
+       expand_builtin_strcmp, expand_builtin_strncmp,
+       expand_builtin_strcat, std_expand_builtin_va_start,
+       std_expand_builtin_va_arg, expand_builtin_va_copy,
+       expand_builtin_signbit, fold_builtin_cabs,
+       fold_builtin_logarithm, fold_builtin_mempcpy,
+       fold_builtin_signbit, fold_builtin_isascii,
+       fold_builtin_toascii, fold_builtin_isdigit,
+       fold_builtin_1, build_function_call_expr,
+       simplify_builtin_strchr, simplify_builtin_strrchr,
+       simplify_builtin_strpbrk, simplify_builtin_strncpy,
+       simplify_builtin_memcmp, simplify_builtin_strcmp,
+       simplify_builtin_strncmp, simplify_builtin_strncat,
+       simplify_builtin_strspn, simplify_builtin_strcspn,
+       simplify_builtin_fputs, simplify_builtin_sprintf): Replace calls
+       to build with calls to build2, build3 or omit_one_operand.
+
+2004-05-22  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.c (mips_file_start): Emit a .gcc_compiled_longXX
+       section when generating EABI code.
+
+2004-05-22  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR 15546
+       * config/i386/i386.c (output_pic_addr_const <case SYMBOL_REF>):
+       Call mark_decl_referenced on the SYMBOL_REF_DECL.
+
+2004-05-22  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * c-common.c (c_common_truthvalue_conversion): Handle
+       UNEQ_EXPR, UNLE_EXPR, UNGE_EXPR, UNLT_EXPR, UNGT_EXPR,
+       ORDERED_EXPR, and UNORDERED_EXPR as comparison operators,
+       i.e. set the type to truthvalue_type_node and return.
+
+2004-05-22  Zack Weinberg  <zack@codesourcery.com>
+
+       * tree.h (struct tree_decl): Add possibly_inlined bit.
+       (DECL_POSSIBLY_INLINED): New accessor macro.
+       * cgraph.h: Remove declaration of cgraph_inline_hash.
+       * cgraph.c: Remove definition of cgraph_inline_hash.
+       (hash_node): Revert to hashing DECL_UID.
+       (eq_node): Take two pointers to cgraph_node structures.
+       Compare DECL_UIDs.
+       (cgraph_remove_node): Pass the node directly to htab_find_slot.
+       (cgraph_varpool_hash_node): Rename hash_varpool_node;
+       hash on DECL_UID.
+       (eq_cgraph_varpool_node): Rename eq_varpool_node; take two
+       pointers to cgraph_varpool_node structures; compare DECL_UIDs.
+       (cgraph_node): Allocate a temporary node on the stack, fill in
+       its DECL field, and pass that to htab_find_slot.
+       (cgraph_varpool_node): Likewise.
+       (cgraph_function_possibly_inlined_p): If global info is ready,
+       return the DECL_POSSIBLY_INLINED bit.
+       * cgraphunit.c (cgraph_mark_inline_edge): Set DECL_POSSIBLY_INLINED
+       instead of mucking with cgraph_inline_hash.
+
+2004-05-22  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * doc/contrib.texi: Add g77 contributors.
+
+2004-05-22  Richard Sandiford  <rsandifo@redhat.com>
+
+       * calls.c (initialize_argument_information): Forbid sibcalls if a
+       callee-copied argument is stored in the current function's frame.
+
+2004-05-22  Eric Christopher  <echristo@redhat.com>
+
+       * fix-header.c (read_scan_file): Update for add_path change.
+
+2004-05-22  Ben Elliston  <bje@au.ibm.com>
+
+       * c.opt (Wmissing-include-dirs): New.
+       * c-opts.c (c_common_handle_option): Pass true for user_supplied_p
+       to add_path () for -I, but false for OPT_idirafter, OPT_iquote and
+       OPT_isystem. Handle case OPT_Wmissing_include_dirs.
+       * c-incpath.h (add_path): Add fourth (bool) argument.
+       * c-incpath.c (add_env_var_paths): Pass false to add_path ().
+       (add_standard_paths): Likewise.
+       (remove_duplicates) [REASON_NOENT]: Warn if -Wmissing-include-dirs
+       is used and the directory was user-supplied via -I.
+       (add_path): Set p->user_supplied_p.  Remove duplicated code by
+       using add_cpp_dir_path ().
+       * cpplib.h (struct cpp_options): Add warn_missing_include_dirs.
+       (struct cpp_dir): Add user_supplied_p.
+       * doc/invoke.texi (Warning Options): Document new option.
+
+2004-05-21  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * fold-const.c (fold_read_from_constant_string): Convert result to
+       requested type.
+
+2004-05-21  Richard Henderson  <rth@redhat.com>
+
+       * gimplify.c (mostly_copy_tree_r): Don't attempt to copy decls.
+       (copy_if_shared_r): Don't copy decls, types, constants, BINDs.
+       Don't mark VA_ARG_EXPRs volatile here.
+       (gimplify_modify_expr): Unshare TYPE_SIZE_UNIT.
+
+2004-05-21  Richard Henderson  <rth@redhat.com>
+
+       * Makefile.in (tree-dump.o): Depend on tree-iterator.h.
+       * tree-dump.c (dequeue_and_dump): Dump STATEMENT_LISTs.
+
+2004-05-21  Roger Sayle  <roger@eyesopen.com>
+
+       * fold-const.c (fold, fold_relational_hi_lo,
+       nondestructive_fold_binary_to_constant,
+       fold_read_from_constant_string): Use fold_convert instead of convert.
+       * builtins.c (simplify_builtin, simplify_builtin_strstr,
+       simplify_builtin_strchr, simplify_builtin_strrchr,
+       simplify_builtin_strpbrk): Use fold_convert instead of convert.
+
+2004-05-21  Diego Novillo  <dnovillo@redhat.com>
+
+       * tree-flow-inline.h (num_immediate_uses): Don't abort if DF
+       is NULL.
+
+2004-05-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/sparc/linux64.h (OPTION_DEFAULT_SPECS): If SPARC_BI_ARCH,
+       override sparc.h definition.
+
+2004-05-20  Roger Sayle  <roger@eyesopen.com>
+
+       * tree.c (array_type_nelts, save_expr, substitute_in_expr,
+       get_unwidened, get_narrower): Replace build with build2.
+       * fold-const.c (negate_expr, associate_trees, size_binop,
+       fold_convert, eval_subst, omit_one_operand, invert_truthvalue,
+       pedantic_omit_one_operand, distribute_bit_expr,
+       make_bit_field_ref, optimize_bit_field_compare,
+       decode_field_reference, range_binop, make_range,
+       build_range_check, fold_range_test, fold_truthop,
+       optimize_minmax_comparison, extract_muldiv_1,
+       fold_binary_op_with_conditional_arg, fold_mathfn_compare,
+       fold_inf_compare, fold_single_bit_test, fold,
+       fold_relational_hi_lo, nondestructive_fold_binary_to_constant):
+       Likewise replace build with either build2 or build3.
+
+2004-05-20  Ian Lance Taylor  <ian@wasabisystems.com>
+
+       * system.h: Poison NO_RECURSIVE_FUNCTION_CSE.
+       * calls.c (prepare_call_address): Don't test
+       NO_RECURSIVE_FUNCTION_CSE.
+       * config/arc/arc.h (NO_RECURSIVE_FUNCTION_CSE): Don't define.
+       * config/arm/arm.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
+       * config/avr/avr.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
+       * config/frv/frv.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
+       * config/i386/i386.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
+       * config/ip2k/ip2k.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
+       * config/iq2000/iq2000.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
+       * config/m32r/m32r.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
+       * config/m68k/m68k.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
+       * config/mcore/mcore.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
+       * config/mips/mips.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
+       * config/stormy16/stormy16.h (NO_RECURSIVE_FUNCTION_CSE):
+       Likewise.
+       * config/xtensa/xtensa.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
+       * config/sh/sh.h: Remove NO_RECURSIVE_FUNCTION_CSE comment.
+       * doc/tm.texi (Costs): Remove documentation for
+       NO_RECURSIVE_FUNCTION_CSE.
+
+2004-05-20  Paul Brook  <paul@codesourcery.com>
+
+       * unwind-dw2-fde.c (get_cie_encoding): Handle dwarf3 CIE format.
+       * unwind-dw2.c (extract_cie_info): Ditto.
+       (_Unwind_FrameState): Change retaddr_column to word type.
+
 2004-05-20  Roger Sayle  <roger@eyesopen.com>
 
        PR middle-end/3074