OSDN Git Service

gcc/
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index e490285..b5cbc45 100644 (file)
@@ -1,3 +1,134 @@
+2006-01-27  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * c-pragma.c (init_pragma) : Call c_register_pragma_with_expansion
+       for pragma redefine_extname.
+
+2006-01-27  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/25864
+       * libgcc-std.ver: Add GCC_4.1.0 symbol version.
+       * config/rs6000/t-linux64 (TARGET_LIBGCC2_CFLAGS): Only append
+       -mno-minimal-toc to previous content.
+       (bispecs): Remove goal.
+       * config/rs6000/ppc64-fp.c: Define TMODES before including fp-bit.h.
+       * config/rs6000/darwin-ldouble.c: Don't provide _xlq*@GCC_3.4
+       compatibility aliases on powerpc-*-*gnu*.
+       * config/rs6000/libgcc-ppc-glibc.ver: New file.
+       * config/rs6000/t-ppccomm (SHLIB_MAPFILES): Append
+       libgcc-ppc-glibc.ver on powerpc*-*-*gnu*.
+       (TARGET_LIBGCC2_CFLAGS): Append -specs=ldblspecs.
+       (ldblspecs): New goal.
+       * config/rs6000/t-linux64 (SHLIB_MAPFILES): Removed.
+       * mklibgcc.in: If $TPBIT is empty, don't compile _sf_to_tf and
+       _df_to_tf.
+       * config/fp-bit.h (TMODES): Don't define if none of TFLOAT,
+       L_sf_to_tf or L_df_to_tf is defined.
+
+2006-01-27  David Edelsohn  <edelsohn@gnu.org>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       PR target/25864
+       * config/rs6000/linux.h (POWERPC_LINUX): Define.
+       * config/rs6000/linux64.h (POWERPC_LINUX): Define.
+       * config/rs6000/darwin-ldouble.c: Build on 32-bit PowerPC.
+       * config/rs6000/darwin.h (TARGET_IEEEQUAD): Define to zero.
+       * config/rs6000/aix.h (TARGET_IEEEQUAD): Define to zero.
+       * config/rs6000/rs6000.c (rs6000_ieeequad): New variable.
+       (rs6000_override_options): Initialize rs6000_ieeequad.
+       Initialize TFmode format to ibm_extended_format if not
+       TARGET_IEEEQUAD.
+       (rs6000_handle_option): Accept -mabi= ibmlongdouble and
+       ieeelongdouble.
+       (rs6000_emit_move): Move !TARGET_IEEEQUAD as two parts.
+       (rs6000_return_in_memory): Only return IEEEQUAD in memory.
+       (function_arg_advance): IBM long double passed in two FPRs, not
+       split.
+       (function_arg): IBM long double passed in FPRs.
+       (rs6000_pass_by_reference): Only IEEEQUAD passed by reference.
+       (rs6000_gimplify_va_arg): IBM long double passed in two FPRs.
+       Only multireg GPR aligned.
+       (rs6000_init_libfuncs): Enable IBM long double functions if not
+       IEEEQUAD.
+       (rs6000_generate_compare): Use IBM long double compare if not
+       TARGET_IEEEQUAD.
+       * config/rs6000/rs6000.h (rs6000_ieeequad): Declare.
+       (TARGET_IEEEQUAD): Define.
+       (CANNOT_CHANGE_MODE_CLASS): Any mode larger than doubleword if
+       not TARGET_IEEEQUAD.
+       * config/rs6000/rs6000.md: Enable TFmode patterns if
+       !TARGET_IEEEQUAD.
+       * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Add darwin-ldouble.c.
+       * config/rs6000/svr4.h (SUBTARGET_OVERRIDE_OPTIONS): -msoft-float
+       and -mlong-double-128 are incompatible.
+       * doc/invoke.texi (-mabi): Collect options together.  Add
+       ibmlongdouble and ieeelongdouble.
+
+2006-01-27  Richard Sandiford  <richard@codesourcery.com>
+
+       * doc/rtl.texi (SYMBOL_REF_DATA): Adjust documentation for new
+       opaque type.
+       * optabs.c (init_one_libfunc): Use SET_SYMBOL_REF_DECL.
+       * varasm.c (make_decl_rtl, build_constant_desc): Likewise.
+       (force_const_mem): Use SET_SYMBOL_REF_CONSTANT.
+       * rtl.h (rtunion_def): Remove rt_ptr.
+       (X0PTR): Delete.
+       (SYMBOL_REF_DATA): Use X0ANY instead of X0PTR.
+       (SET_SYMBOL_REF_DECL, SET_SYMBOL_REF_CONSTANT): New macros.
+       * config/i386/winnt.c (i386_pe_mark_dllexport)
+       (i386_pe_mark_dllimport): Use SET_SYMBOL_REF_DECL.
+
+2006-01-27 Gabor Loki <loki@gcc.gnu.org>
+
+       * cfgcleanup.c (try_crossjump_to_edge): Fix comment typo.
+
+2006-01-26 Alexandre Oliva  <aoliva@redhat.com>
+
+       PR other/24829
+       PR target/24831
+       * gthr-dce.h: Do not gthrw-ify pthread_once_init,
+       pthread_key_delete.  From John David Anglin.  gthrw-ify
+       pthread_getunique_np only if it it's not a macro.  Delete
+       UNUSED macro.
+       (__gthread_objc_condition_allocate, __gthread_objc_condition_deallocate,
+       __gthread_objc_condition_wait, __gthread_objc_condition_broadcast,
+       __gthread_objc_condition_signal, __gthread_key_delete): Add
+       "__attribute__ ((__unused__))" to unused arguments.
+       (__gthread_recursive_mutex_init_function): Add missing return.
+       * gthr-dce.h, gthr-tpf.h, gthr-solaris.h, gthr-posix.h,
+       gthr-posix95.h: Use macro-based approach for name redirection
+       on targets missing weakref.
+
+2006-01-26  Zack Weinberg  <zackw@panix.com>
+
+       * genconditions.c (write_header): In generated code, #ifdef out
+       all includes and fake declarations, except includes of bconfig.h
+       and system.h, unless GCC_VERSION >= 3001.  Do not include
+       gensupport.h in any case.
+       (write_conditions): Generate a definition of struct c_test.  Add
+       a comment to the generated #endif.
+       (write_one_condition): Escape backslashes in string too.
+       (write_writer): Generated code must escape backslashes and quote
+       marks (but not newlines) in the strings it writes.
+       * Makefile.in (build/gencondmd.o): Update dependencies.
+
+2006-01-26  Steve Ellcey  <sje@cup.hp.com>
+
+       PR target/25961
+       * Makefile.in (insn-automata.o): Add header file dependencies.
+       * genautomata.c: Add includes.
+
+2006-01-26  Steve Ellcey  <sje@cup.hp.com>
+
+       PR target/25961
+       * Makefile.in (insn-automata.o): Add -Wno-error flag.
+
+2006-01-26  Paolo Bonzini  <bonzini@gnu.org>
+
+       * configure.ac: Expect target tools paths to be passed from the toplevel
+       and wrap the detection into AS_SET_VAR_IF.  Extract side-effects out of
+       AS_SET_VAR_IF.
+       * acinclude.m4 (gcc_AC_TOOL_DIRS, gcc_AC_CHECK_TOOL): Remove.
+
 2006-01-26  Alexandre Oliva  <aoliva@redhat.com>
 
        PR c/25892
        constants provided by 80387 instructions in the destination mode.
 
 2006-01-26  Richard Guenther  <rguenther@suse.de>
-            Andrew Pinski  <pinskia@physics.uc.edu>
+           Andrew Pinski  <pinskia@physics.uc.edu>
 
        PR tree-opt/21470
        partial PR tree-opt/17064
        rather than find_pool_constant.
        (get_pool_constant_for_function): Delete.
        (get_pool_mode, mark_constant): Use SYMBOL_REF_CONSTANT rather than
-       find_pool_constant. 
+       find_pool_constant.
        * rtl.h (rtunion_def): Add rt_constant and rt_ptr fields.
        (X0CONSTANT, X0PTR, SYMBOL_REF_DATA): New macros.
        (SYMBOL_REF_DECL): Return NULL if CONSTANT_POOL_ADDRESS_P.
 
 2006-01-23  Paolo Bonzini  <bonzini@gnu.org>
 
-        PR rtl-optimization/25890
-        PR rtl-optimization/25905
-        * combine.c (expand_compound_operation, expand_field_assignment):
-        Fail if the bitfield's final position is out of bounds.
+       PR rtl-optimization/25890
+       PR rtl-optimization/25905
+       * combine.c (expand_compound_operation, expand_field_assignment):
+       Fail if the bitfield's final position is out of bounds.
 
 2006-01-24  Ian Lance Taylor  <ian@airs.com>
 
 
 2006-01-23  Adam Nemet  <anemet@caviumnetworks.com>
 
-        * fix-header.c (read_scan_file): Add new parameter imultilib when
+       * fix-header.c (read_scan_file): Add new parameter imultilib when
        calling register_include_chains.
 
 2006-01-23  Diego Novillo  <dnovillo@redhat.com>
 
        PR tree-opt/25315
        PR tree-opt/25857
-       * tree-ssa-pre.c (insert_extra_phis): If an incomming edge is abnormal 
+       * tree-ssa-pre.c (insert_extra_phis): If an incomming edge is abnormal
        return from the function.
 
 2006-01-22  Zack Weinberg  <zackw@panix.com>