OSDN Git Service

* doc/contrib.texi, doc/install.texi, doc/standards.texi:
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index b087946..0b8faf3 100644 (file)
@@ -1,3 +1,115 @@
+2006-10-16  Brooks Moses  <bmoses@stanford.edu>
+
+       * doc/contrib.texi, doc/install.texi, doc/standards.texi:
+       Standardize on "GNU Fortran" as the official name of the Fortran
+       compiler.
+
+2006-10-16  Mike Stump  <mrs@apple.com>
+
+       * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Add
+       -mkernel support.
+       (C_COMMON_OVERRIDE_OPTIONS): Add -mkernel support.  Add
+       SUBTARGET_C_COMMON_OVERRIDE_OPTIONS callout.
+       (CC1_SPEC): Don't turn on -fPIC when -mkernel is given.
+       (OS_MISSING_ALTIVEC): Add.
+       * config/i386/i386.c (override_options): Add
+       SUBSUBTARGET_OVERRIDE_OPTIONS callout.
+       * config/i386/darwin.h (CC1_SPEC): Don't turn on -fPIC when
+       -mkernel, -static or -mdynamic-no-pic is given.
+       (C_COMMON_OVERRIDE_OPTIONS): Add.
+       * config/darwin.opt (fapple-kext): Add.
+       (mkernel): Add.
+       * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add
+       -fapple-kext, -findirect-virtual-calls, -fterminated-vtables and
+       -mkernel support.
+       (SUBSUBTARGET_OVERRIDE_OPTIONS): Add.
+       (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): Add.
+       (CPP_SPEC): Move defines for __DYNAMIC__ and __STATIC__ from here...
+       (SUBTARGET_ATTRIBUTE_TABLE): Add apple_kext_compatibility.
+       (TARGET_CXX_CDTOR_RETURNS_THIS): Add.
+       (flag_mkernel): Add.
+       (flag_apple_kext): Add.
+       (TARGET_KEXTABI): Add.
+       * config/darwin.c (darwin_handle_kext_attribute): Add.
+       (DARWIN_VTABLE_P): Add.
+       (darwin_binds_local_p): Add partial support for rebinding vtables
+       in kexts.
+       (darwin_kextabi_p): Add.
+       (darwin_override_options): Add.
+       * config/darwin-protos.h (darwin_handle_kext_attribute): Add.
+       (darwin_kextabi_p): Add.
+       (darwin_override_options): Add.
+       * config/darwin-c.c (darwin_cpp_builtins): ... move defines for
+       __DYNAMIC__ and __STATIC__ here.
+
+2006-10-16  Brooks Moses  <bmoses@stanford.edu>
+
+       * doc/sourcebuild.texi, doc/makefile.texi, doc/install.texi:
+       Added mention of "make pdf" target, and Texinfo requirements for
+       same.
+
+2006-10-16  DJ Delorie  <dj@redhat.com>
+
+       * config/s390/s390.c (s390_decompose_address): Allow symbol+offset
+       into the GOT in case we need a subreg of the address.
+
+2006-10-16  Richard Guenther  <rguenther@suse.de>
+
+       PR target/25519
+       * doc/extend.texi (X86 Built-in Functions): Fix typos in
+       SSE builtin documentation.  Document SSE2 builtins.
+
+2006-10-15  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * pa64-hpux.h (LINK_SPEC): Force __cxa_finalize to be an undefined
+       symbol in the output file for non-shared links when -nostdlib or
+       -nodefaultlibs isn't specified.
+
+       * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*): Default to
+       posix thread support.
+
+2006-10-15  Jan Hubicka  <jh@suse.cz>
+
+       PR middle-end/29241
+       * cgraphunit.c (cgraph_preserve_function_body_p): Preserve functions
+       declared always_inline even when not inlining.
+
+2006-10-15  Eric Botcazou  <ebotcazou@libertysurf.fr>
+            John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+            Andrew Pinski  <pinskia@gmail.com>
+
+       PR middle-end/29111
+       * builtins.c (get_pointer_alignment): Return 0 if TER is not run.
+
+2006-10-15  Jan Hubicka  <jh@suse.cz>
+            Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/29299
+       * cgraphunit.c (cgraph_finalize_compilation_unit): Call
+       process_function_and_variable_attributes on all variables, including
+       those discovered during cgraph construction phase.
+
+2006-10-15  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       * final.c: Update Copyright year. Commentary typo fix. Fix whitespace
+
+2006-10-14  Uros Bizjak  <uros@kss-loka.si>
+
+       * config/i386/athlon.md (athlon_fist): Add fisttp.
+
+2006-10-13  David Edelsohn  <edelsohn@gnu.org>
+           Ian Lance Taylor  <ian@airs.com>
+
+       PR middle-end/29250
+       * expr.c (expand_expr_real_1) <NON_LVALUE_EXPR, NOP_EXPR,
+       CONVERT_EXPR>: Change EXPAND_SUM modifier to EXPAND_NORMAL when
+       recursing.
+
+2006-10-14  Kazu Hirata  <kazu@codesourcery.com>
+
+       * config/score/score.c, config/score/score.h: Fix comment
+       typos.
+
 2006-10-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        PR bootstrap/29402
 
        PR c/29092
 
-        * c-typeck.c (digest_init): Always allow initializing vectors
+       * c-typeck.c (digest_init): Always allow initializing vectors
        that have static storage duration with compound literals.
        * tree.c (build_type_attribute_qual_variant): New, based on
        build_type_attribute_variant.
 
 2006-10-09  Aldy Hernandez  <aldyh@redhat.com>
 
-        * tree-mudflap.c (mf_xform_derefs_1): Add parentheses around TREE_TYPE.
+       * tree-mudflap.c (mf_xform_derefs_1): Add parentheses around TREE_TYPE.
 
 2006-10-08  Richard Sandiford  <richard@codesourcery.com>
 
            Jakub Jelinek  <jakub@redhat.com>
 
        * Makefile.in (libgcc.mk, LIBGCC_DEPS): Add emutls.c.
-        * builtin-types.def (BT_WORD): Make unsigned.
-        (BT_FN_VOID_PTR_WORD_WORD_PTR): New.
-        * builtins.def (BUILT_IN_EMUTLS_GET_ADDRESS): New.
-        (BUILT_IN_EMUTLS_REGISTER_COMMON): New.
-        * c-decl.c (grokdeclarator): Don't error if !have_tls.
-        * c-parser.c (c_parser_omp_threadprivate): Likewise.
+       * builtin-types.def (BT_WORD): Make unsigned.
+       (BT_FN_VOID_PTR_WORD_WORD_PTR): New.
+       * builtins.def (BUILT_IN_EMUTLS_GET_ADDRESS): New.
+       (BUILT_IN_EMUTLS_REGISTER_COMMON): New.
+       * c-decl.c (grokdeclarator): Don't error if !have_tls.
+       * c-parser.c (c_parser_omp_threadprivate): Likewise.
        * cgraph.c (decide_is_variable_needed): Look at force_output.
        Recurse for emulated tls.
        * cgraphunit.c (cgraph_varpool_remove_unreferenced_decls): Remove
        checks redundant with decide_is_variable_needed.
        (cgraph_build_static_cdtor): Do cgraph_varpool_assemble_pending_decls.
-        * dwarf2out.c (loc_descriptor_from_tree_1): Don't do anything for
-        emulated tls.
-        * expr.c (emutls_var_address): New.
+       * dwarf2out.c (loc_descriptor_from_tree_1): Don't do anything for
+       emulated tls.
+       * expr.c (emutls_var_address): New.
        (expand_expr_real_1): Expand emulated tls.
        (expand_expr_addr_expr_1): Likewise.
-        * libgcc-std.ver: Add __emutls_get_address, __emutls_register_common.
-        * output.h (emutls_finish): Declare.
-        * toplev.c (compile_file): Call it.
+       * libgcc-std.ver: Add __emutls_get_address, __emutls_register_common.
+       * output.h (emutls_finish): Declare.
+       * toplev.c (compile_file): Call it.
        * tree-ssa-address.c (gen_addr_rtx): Check for const-ness of the
        address before wrapping in CONST.
-        * varasm.c (emutls_htab, emutls_object_type): New.
-        (EMUTLS_VAR_PREFIX, EMUTLS_TMPL_PREFIX): New.
+       * varasm.c (emutls_htab, emutls_object_type): New.
+       (EMUTLS_VAR_PREFIX, EMUTLS_TMPL_PREFIX): New.
        (get_emutls_object_name, get_emutls_object_type): New.
        (get_emutls_init_templ_addr, emutls_decl): New.
        (emutls_common_1, emutls_finish): New.
-        (assemble_variable): When emulating tls, swap decls; generate
+       (assemble_variable): When emulating tls, swap decls; generate
        constructor for the emutls objects.
        (do_assemble_alias): When emulating tls, swap decl and target name.
-        (default_encode_section_info): Don't add SYMBOL_FLAG_TLS_SHIFT
-        for emulated tls.
+       (default_encode_section_info): Don't add SYMBOL_FLAG_TLS_SHIFT
+       for emulated tls.
        * emutls.c: New file.
-        * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): Only emit
-        tls_object for real tls.
+       * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): Only emit
+       tls_object for real tls.
 
 2006-10-04  Zack Weinberg  <zackw@panix.com>