OSDN Git Service

[gcc/ChangeLog]
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 55d646e..6ecbd2f 100644 (file)
+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
+       being SYMBOL_REF_LOCAL_P, a symbol must also be
+       ! SYMBOL_REF_EXTERNAL_P, as only those are _always_ locally
+       defined in this output file, or translation unit in the case
+       of IMA not being used.
+       (machopic_output_indirection): SYMBOL_REF_LOCAL_P symbols
+       never need .indirect_symbol when indirecting.
+
+2004-09-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * Makefile.in (bb-reorder.o): Add several dependencies.
+
+2004-09-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * fold-const.c (operand_equal_p): Require equal sign also for
+       FIX_{CEIL,TRUNC,FLOOR,ROUND}_EXPR.
+
+2004-09-01  Richard Earnshaw  <rearnsha@arm.com>
+
+       * config.gcc (--with-cpu on ARM): Preserve the canonical cpu name
+       for use in configargs.h.  Put the cname in a separate variable.  Use
+       that to set target_cpu_default2.
+
+2004-09-01  J"orn Rennecke <joern.rennecke@superh.com>
+           Nick Clifton  <nickc@redhat.com>
+
+       * config/sh/sh.md ("length"): Increase branch length when
+       SH1 pic code to 18: 12 bytes of instructions, 4 byte for the
+       constant, 2 byte for aligning the constant.
+
+2004-09-01  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm/arm-cores.def (ARM_CORE): Add new field for the real name of the
+       CPU.
+       (arm7tdmi-s): New CPU name.
+       * arm/arm.c (ARM_CORE): Update for new format.
+       * arm/arm.h (ARM_CORE): Likewise.
+       * arm/gentune.sh: Update for extra field.
+       * config.gcc: Likewise.
+       * arm/arm-tune.md: Regenerate.
+       * doc/invoke.texi: Document the real processor names for ARM cpus.
+
+2004-09-01  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm/ieee754-df.S (aeabi_ul2d, aeabi_l2d, floatundidf)
+       (floatdidf): New functions.
+       * arm/ieee754-sf.S (aeabi_ul2f, aeabi_l2f, floatundisf)
+       (floatdisf): New functions.
+       * t-arm-elf: Use them.
+
+2004-09-01  Ziemowit Laski  <zlaski@apple.com>
+
+       * c-common.h (lookup_interface): Remove prototype.
+       (is_class_name): Rename to objc_is_class_name.
+       (lookup_objc_ivar): Rename to objc_lookup_ivar.
+       (get_current_scope): Rename to objc_get_current_scope.
+       * c-decl.c (get_current_scope): Rename to objc_get_current_scope.
+       * c-parse.in (parmlist_or_identifiers_1): Get rid of unused variable.
+       (yylexname): Call objc_is_class_name() instead of is_class_name().
+       * c-typeck.c (build_external_ref): Call objc_lookup_ivar()
+       instead of lookup_objc_ivar().
+       * stub-objc.c (lookup_interface): Remove stub.
+       (is_class_name): Rename to objc_is_class_name.
+       (lookup_objc_ivar): Rename to objc_lookup_ivar.
+
+2004-08-31  Mark Mitchell  <mark@codesourcery.com>
+
+       * config.gcc (arm*-*-symbianelf*): Do not include t-bpabi.
+       * config/arm/lib1funcs.asm: Do not include supplemental .S files
+       when compiling for Symbian.
+       * config/arm/symbian.h (RENAME_LIBRARY): New macro.
+       (TARGET_OS_CPP_BUILTINS): Likewise.
+       * config/arm/t-symbian (LIB1ASMFUNCS): Define.
+
+2004-08-31  Stan Shebs  <shebs@apple.com>
+
+       * toplev.c (process_options): Ensure debug_hooks is initialized.
+
 2004-08-31  Mark Mitchell  <mark@codesourcery.com>
 
        * target-def.h (TARGET_CXX): Add TARGET_CXX_EXPORT_CLASS_DATA.
        * target.h (cxx): Add export_class_data.
        * config/arm/arm.c (arm_cxx_export_class_data): New function.
        (TARGET_CXX_EXPORT_CLASS_DATA): Use it.
-       * testsuite/g++.dg/ext/visibility/arm1.C: New test.
-
+       * doc/tm.texi (TARGET_CXX_EXPORT_CLASS_DATA): Document it.
+       
 2004-08-31  Kaz Kojima  <kkojima@gcc.gnu.org>
 
        * config/sh/sh.c (output_branch): Check the insn length possibly