OSDN Git Service

Enable -ftrapping-math by default.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 658bfe4..7101910 100644 (file)
@@ -1,3 +1,188 @@
+2004-09-02  James E Wilson  <wilson@specifixinc.com>
+
+       * common.opt (ftrapping-math): Default to on.
+
+2004-09-02  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm/predicates.md (arm_reload_memory_operand): Allow MEM.
+
+2004-09-02  Denis Chertykov  <denisc@overta.ru>
+
+       PR target/16884
+       * config/avr/avr.md ("movmemhi"): Substitute match_dup to
+       match_scratch.
+       (*movmemqi_insn): Likewise.
+       (*movmemhi): Likewise.
+       (clrmemhi): Likewise.
+       (*clrmemqi): Likewise.
+       (*clrmemhi): Likewise.
+
+2004-09-02  Paul Brook  <paul@codesourcery.com>
+
+       * config.gcc (arm*-*-eabi* | arm*-*-symbianelf*): Set
+       default_use_cxa_atexit=yes.
+
+2004-09-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/linux64.h: Don't include signal.h or sys/ucontext.h.
+       (struct kernel_old_ucontext): Delete.
+       (struct gcc_pt_regs, gcc_sigcontext, gcc_ucontext): New.
+       (MD_FALLBACK_FRAME_STATE_FOR): Use gcc_* structs.  Only define
+       when IN_LIGGCC2.
+
+2004-09-02  Richard Sandiford  <rsandifo@redhat.com>
+
+       * toplev.c (process_options): Fix typo.
+
+2004-09-01  Richard Henderson  <rth@redhat.com>
+
+       PR middle-end/17258
+       * calls.c (initialize_argument_information): Tighten pass-through
+       conditions for pass-by-reference.  Remove dead TARGET_EXPR code.
+       Use build_fold_addr_expr.
+       (emit_library_call_value_1): Use build_fold_addr_expr.  Remove code
+       that assumes ADDR_EXPR allocates stack space.
+       * fold-const.c (build_fold_addr_expr_with_type): Look through
+       WITH_SIZE_EXPR.
+
+2004-09-01  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * gengenrtl.c (gendef): Use rtx_alloc, don't do PUT_CODE.
+       * ggc.h (ggc_alloc_rtx): Delete.
+
+2004-09-01  Roger Sayle  <roger@eyesopen.com>
+
+       * expmed.c (enum alg_code): Remove long unused enumeration values.
+        (struct mult_cost): New structure to hold the "score" of a synthetic
+       multiply sequence, including both a rtx_cost and a latency field.
+       (MULT_COST_LESS): New macro to compare mult_cost to a constant.
+       (CHEAPER_MULT_COST): New macro to compare two mult_costs.
+       (struct algorithm): Change type of cost field to be mult_cost.
+       (synth_mult): Change type of cost_limit argument to be a
+       pointer to a mult_cost.  Update all cost comparisons to use the
+       new mult_cost infrastructure.  For alg_add_factor and 
+       alg_sub_factor operations, latency is lower than the rtx_cost.
+       (choose_mult_variant):  Update calls to synth_mult.  Perform
+       cost comparisons using the new mult_cost infrastructure.
+       (expand_mult_highpart): Use alg.cost.cost instead of alg.cost
+       to optain the total rtx_cost of a synth_mult "algorithm".
+
+2004-09-01  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/power4.md: Increase store latency to 12.
+       * config/rs6000/power5.md: Same.
+
+2004-09-01  James E Wilson  <wilson@specifixinc.com>
+
+       PR target/14064
+       * config/avr/avr.c (avr_unique_section): Delete prototype and
+       definition.
+       (TARGET_ASM_UNIQUE_SECTION): Delete.
+
+2004-09-01  Ziemowit Laski  <zlaski@apple.com>
+
+       * c-parse.in (primary): Call objc_build_message_expr(),
+       objc_build_selector_expr(), objc_build_protocol_expr(),
+       objc_build_encode_expr() and objc_build_string_object() instead of
+       build_message_expr(), build_selector_expr(), build_protocol_expr(),
+       build_encode_expr() and build_objc_string_object(), respectively.
+       (component_decl_list2): Call objc_get_class_ivars() instead of
+       get_class_ivars_from_name().
+       (keyworddecl): Call objc_build_keyword_decl() instead of
+       build_keyword_decl().
+       (receiver): Call objc_get_class_reference() instead of
+       get_class_reference().
+       (reswords): Add blank line before @@ifobjc section, for clarity.
+
+2002-09-01  Fariborz Jahanian <fjahanian@apple.com>
+
+       * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Restrict alignment
+       to Altivec vetors.
+
+2004-09-01  Wu Yongwei  <adah@sh163.net>
+           Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * gthr-win32.h (__gthread_recursive_mutex_t): Use 'unsigned long',
+       not Windows 'DWORD'.
+       (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Correct typo.
+       (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
+       (__gthr_win32_recursive_mutex_init_function): Add prototype for
+       __GTHREAD_HIDE_WIN32API case..
+       (__gthr_win32_recursive_mutex_lock): Likewise.
+       (__gthr_win32_recursive_mutex_trylock): Likewise.
+       (__gthr_win32_recursive_mutex_unlock): Likewise.
+       (__gthread_recursive_mutex_init_function); Add definition for
+       __GTHREAD_HIDE_WIN32API case.
+       (__gthread_recursive_mutex_lock): Correct call to InterlockedDecrement.
+       * config/i386/grthr-win32.c (__gthread_recursive_mutex_lock): Correct
+       call to InterlockedDecrement.
+
+2004-09-01  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * tree-tailcall.c (find_tail_calls): Also fail is statement has
+       volatile operands.
+
+       * tree-ssa.c (propagate_into_addr): Properly test for LHR.
+
+       * doc/c-tree.texi: Document new operands for ARRAY_REF and
+       COMPONENT_REF.
+
+2004-09-01  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
+
+       * Makefile.in (rtl-profile.o, value-prof.o): Add GCC_H dependency.
+       * common.opt (fspeculative-prefetching): New.
+       * flags.h (flag_speculative_prefetching_set): Declare.
+       * gcov-io.c (gcov_write_counter, gcov_read_counter): Allow negative
+       values.
+       * opts.c (flag_sepculative_prefetching_set): New variable.
+       (common_handle_option): Handle -fspeculative-prefetching.
+       * passes.c (rest_of_compilation): Ditto.
+       * profile.c (instrument_values, compute_value_histograms, branch_prob):
+       Use vectors instead of arrays.
+       * toplev.c (process_options): Handle -fspeculative-prefetching.
+       * rtl-profile.c: Include ggc.h.
+       (rtl_gen_interval_profiler, rtl_gen_pow2_profiler,
+       rtl_gen_one_value_profiler_no_edge_manipulation,
+       rtl_gen_one_value_profiler, rtl_gen_const_delta_profiler): Type of
+       argument changed.
+       * tree-profile.c (tree_gen_interval_profiler, tree_gen_pow2_profiler,
+       tree_gen_one_value_profiler, tree_gen_const_delta_profiler): Type of
+       argument changed.
+       * value-prof.c: Include ggc.h.
+       (NOPREFETCH_RANGE_MIN, NOPREFETCH_RANGE_MAX): New
+       macros.
+       (insn_prefetch_values_to_profile, find_mem_reference_1,
+       find_mem_reference_2, find_mem_reference, gen_speculative_prefetch,
+       speculative_prefetching_transform): New.
+       (value_profile_transformations): Call speculative_prefetching_transform.
+       (insn_values_to_profile): Call insn_prefetch_values_to_profile.
+       (insn_divmod_values_to_profile, rtl_find_values_to_profile,
+       tree_find_values_to_profile, find_values to profile): Use vectors
+       instead of arrays.
+       (free_profiled_values): Removed.
+       * value-prof.h (struct histogram_value): Renamed to
+       struct histogram_value_t.
+       (histogram_value, histogram_values): New types.
+       (find_values_to_profile): Declaration changed.
+       (free_profiled_values): Removed.
+       (struct profile_hooks): Type of argument of the hooks changed to
+       histogram_value.
+       * doc/invoke.texi (-fspeculative-prefetching): Document.
+
+2004-09-01  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
+
+       PR rtl-optimization/16408
+       * gcse.c (replace_store_insn): Fix LIBCALL/RETVAL notes.
+
+2004-09-01  Richard Henderson  <rth@redhat.com>
+
+        * config/ns32k/ns32k.h (TRANSFER_FROM_TRAMPOLINE): Remove.
+        (TRAMPOLINE_TEMPLATE): Merge code from __trampoline inline.
+
+2004-09-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * libgcc-std.ver (GCC_3.4.2): Export also __trampoline_setup.
+
 2004-09-01  Mike Stump  <mrs@apple.com>
 
        * config/darwin.c (machopic_symbol_defined_p): In addition to