OSDN Git Service

* gimplify.c (gimplify_type_sizes) [POINTER_TYPE, REFERENCE_TYPE]:
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 8c10757..f9596e8 100644 (file)
@@ -1,3 +1,127 @@
+2006-10-06  Olivier Hainque  <hainque@adacore.com>
+       
+       * gimplify.c (gimplify_type_sizes) [POINTER_TYPE, REFERENCE_TYPE]:
+       Don't recurse on the pointed-to type.
+       * c-decl.c (grokdeclarator) [cdk_pointer]: If we are in a NORMAL or
+       DECL context, attach an artificial TYPE_DECL to anonymous pointed-to
+       types with components of variable size.
+
+2006-10-06  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       config/i386/mingw32.h (GOMP_SELF_SPECS): Add -mthreads for openmp.
+
+2006-10-06  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/29290
+       * tree-loop-linear.c (linear_transform_loops): Bail if loop_nest has
+       multiple exits.
+
+       PR target/29198
+       * config/i386/i386.c (legitimize_pic_address): Reject TLS symbols.
+       * config/i386/predicates.md (local_symbolic_operand): Likewise.
+
+       PR c/29091
+       * varasm.c (output_constant): If TREE_VECTOR_CST_ELTS chain is shorter than
+       the number of vector elements fill the rest with zeros.
+
+2006-10-05  Richard Sandiford  <richard@codesourcery.com>
+
+       * config/mips/mips.c (mips_pass_by_reference): Do not return false
+       for EABI if type is NULL.  Use a size check based on GET_MODE_SIZE
+       instead.
+
+2006-10-05  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * config/bfin/bfin.md (subsi3): Lose expander, change previously
+       unnamed pattern into subsi3.  Use correct constraints/predicates.
+       * config/bfin/bfin.h (CONST_OK_FOR_K): Handle "KN7".
+       * config/bfin/predicates.md (reg_or_neg7bit_operand_p): New.
+
+2006-10-05  Ira Rosen  <irar@il.ibm.com>
+
+       * doc/loop.texi: Add data references analysis description.
+
+2006-10-04  Brooks Moses  <bmoses@stanford.edu>
+
+       * doc/gcov.texi: Add formatting to "Invoking gcov" section head.
+
+2006-10-04  Richard Henderson  <rth@redhat.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.
+       * 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.
+       (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.
+       * 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.
+       (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 
+       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.
+       * emutls.c: New file.
+        * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): Only emit
+        tls_object for real tls.
+
+2006-10-04  Zack Weinberg  <zackw@panix.com>
+
+       Fix bug in constraint-check generator, reported by Rask Ingemann
+       Lambertsen:
+       * genpreds.c (add_constraint): Don't remove anything from the
+       expression here.
+       (write_tm_constrs_h): Detect whether "op" argument is used, and
+       mark it ARG_UNUSED if it isn't.
+       (write_insn_const_int_ok_for_constraint): Skip the part of the
+       expression that would test whether "op" (which is not available
+       here) is a CONST_INT.
+
+2006-10-04  Ryan Mansfield  <rmansfield@qnx.com>
+
+       PR c++/28448
+       * doc/invoke.texi (fdiagnostics-show-option): Fix typos.
+
+2006-10-03  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/i386/darwin-libgcc.10.5.ver: Update to symbol list for
+       current Leopard versions.
+       * config/rs6000/darwin-libgcc.10.5.ver: Likewise.
+
+2006-10-03  Kazu Hirata  <kazu@codesourcery.com>
+
+       * doc/install.texi: Fix typos.
+
+2006-10-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * builtins.c (expand_builtin_return_addr): Deal with FRAME_ADDR_RTX.
+       * doc/tm.texi (Basic Stack Layout): Document FRAME_ADDR_RTX.
+       * config/sparc/sparc.h (FRAME_ADDR_RTX): Define.
+
+2006-10-02  Jack Howarth  <howarth@bromo.med.uc.edu>
+
+       * unwind-dw2-fde-darwin.c (getsectdatafromheader_64): Fix first
+       arg to be struct mach_header_64* instead.
+
 2006-10-02  Jakub Jelinek  <jakub@redhat.com>
 
        PR c/29154
 2006-10-01  Ryan Mansfield  <rmansfield@qnx.com>
 
        PR c/20533
-       * doc/extend.texi: Add used variable attribute description. 
+       * doc/extend.texi: Add used variable attribute description.
 
 2006-09-30  Joseph S. Myers  <joseph@codesourcery.com>
 
        range of a REG_DEAD register.
 
 2006-18-05  Joerg Wunsch <j.gnu@uriah.heep.sax.de>
-            Anatoly Sokolov <aesok@post.ru>
+           Anatoly Sokolov <aesok@post.ru>
 
        * config/avr/avr.c (avr_mcu_types): Add support for attiny261,
        attiny461, attiny861, attiny25, attiny45, attiny85, attiny24,
        * config/pa/pa-linux.h (STRING_ASM_OP): Prepend and append a tab.
 
 2006-05-19  Daniel Berlin  <dberlin@dberlin.org>
-            Kenneth Zadeck <zadeck@naturalbridge.com>
+           Kenneth Zadeck <zadeck@naturalbridge.com>
 
        PR rtl-optimization/26855
 
 2006-04-04  Matthias Klose  <doko@debian.org>
 
        * Makefile.in (unprotoize.o): Same dependencies as for protoize.o.
+
+       PR bootstrap/26764
+       PR bootstrap/27334
        * Makefile.in (s-macro_list): Conform to POSIX rules in single quoted
        strings.