OSDN Git Service

* tree.h (DECIMAL_FLOAT_TYPE_P): New.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index d0303b8..e6b2d20 100644 (file)
@@ -1,3 +1,214 @@
+2006-06-23  Janis Johnson  <janis187@us.ibm.com>
+
+       * tree.h (DECIMAL_FLOAT_TYPE_P): New.
+       * c-typeck.c (c_common_type): Disallow operations on decimal float
+       types and other float types.
+       * convert.c (convert_to_real): Don't ignore conversions involving
+       decimal float types.
+
+2006-06-23  Olivier Hainque  <hainque@adacore.com>
+
+       * tree.c (max_int_size_in_bytes): New function, inspired from
+       code in function.c:assign_temp.
+       * tree.h (max_int_size_in_bytes): Declare.
+       * function.c (assign_temp): Use it.
+       * gimplify.c (create_tmp_var): Relax the assertions on the type
+       properties, not mandating constant size any more.
+       (force_constant_size): New static function.
+       (gimple_add_tmp_var): Use it, forcing variable size to a
+       constant upper bound if it is not constant on entry.
+
+       * ada/misc.c (gnat_type_max_size): Look at TYPE_ADA_SIZE if we have
+       not been able to get a constant upper bound from TYPE_SIZE_UNIT.
+
+2006-06-23  Danny Smith   <dannysmith@users.sourceforge.net>
+
+       PR target/27789
+       * config/i386/winnt.c (ix86_handle_selectany_attribute): Move check
+       for initialization and setting of one_only flag to ...
+       (i386_pe_encode_section_info): ...here.
+       (i386_pe_dllimport_p): Check for DECL_DLLIMPORT_P also.
+       Recheck that the symbol has not been defined.
+
+2006-06-23  Richard Guenther  <rguenther@suse.de>
+
+       * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
+       sizes to MAX_ALIGNMENT.  Fix the size_lookup table to honour
+       alignment requests instead.  Add verification code.
+       Add struct tree_function_decl and struct tree_binfo size to
+       extra_order_size_table.  Add missing element to size_lookup
+       table.
+
+2006-06-22  Roger Sayle  <roger@eyesopen.com>
+           John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR middle-end/28131
+       * expr.c (expand_expr_real_1) <VECTOR_CST>: Check whether the
+       call to lang_hooks.types.type_for_mode returned NULL_TREE.
+
+2006-06-23  Ben Elliston  <bje@au.ibm.com>
+
+       * dfp.c (decimal_to_decnumber): Do not use decNumberNegate to
+       negate dn -- manipulate it directly.
+
+2006-06-22  Roger Sayle  <roger@eyesopen.com>
+           Steven Bosscher  <stevenb.gcc@gmail.com>
+
+       PR target/27531
+       * reload1.c (gen_reload): Call mark_jump_label on the new insns
+       generated by gen_move_insn to add REG_LABEL notes if necessary.
+
+2006-06-22  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/lib1funcs.asm (MIN_ESA): Delete.
+       (leaf_entry): Remove use of MIN_ESA.
+
+2006-06-22  Zdenek Dvorak <dvorakz@suse.cz>
+
+       PR rtl-optimization/28121
+       * cfgexpand.c (tree_expand_cfg): Clean EDGE_EXECUTABLE flag from
+       the entry edge.
+
+2006-06-21  DJ Delorie  <dj@redhat.com>
+
+       * config/m32c/muldiv.md (mulhisi3_i): Only use registers for dest
+       (TN-16C-A156A/E).
+       (mulhisi3_r): Likewise.
+
+2006-06-21  Richard Sandiford  <richard@codesourcery.com>
+
+       PR middle-end/28034
+       * coverage.c (coverage_counter_alloc): Leave the index type
+       unspecified.
+       (coverage_counter_alloc): Use null arguments for operands 2 and 3
+       of the ARRAY_REF.
+
+2006-06-21  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * doc/invoke.texi (-fopenmp) Move to "Options Controlling C Dialect"
+       section from the "Options for Code Generation Conventions".
+
+2006-06-21  Richard Henderson  <rth@redhat.com>
+
+       PR target/26347
+       PR target/27082
+       * config/alpha/predicates.md (small_symbolic_operand): Deny weak
+       symbols.
+       (global_symbolic_operand): Allow weak symbols, even if local_p.
+
+2006-06-21  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): New function.
+       (find_interesting_uses_address): Punt if above function returns true.
+
+2006-06-21  Richard Guenther  <rguenther@suse.de>
+
+       * configure: Regenerated.
+
+2006-06-21  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/mips/mips.c (function_arg): Where one part of a
+       complex argument is in registers and the other part in the stack,
+       return a REG not a PARALLEL.
+
+2006-06-21  Mark Mitchell  <mark@codesourcery.com>
+
+       * configure.ac: Set gcc_gxx_include_dir to $target/include/c++
+       when cross-compiling.  Do not substitute libstdcxx_incdir.
+       * configure: Regenerated.
+
+2006-06-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * varasm.c (mergeable_string_section): Check for embedded NULs and
+       NUL termination in the first int_size_in_bytes (TREE_TYPE (decl))
+       rather than TREE_STRING_LENGTH bytes.
+
+2006-06-21  Richard Guenther  <rguenther@suse.de>
+
+       * ggc-page.c (extra_order_size_table): Add var_ann_d,
+       tree_ssa_name, bitmap_element and phi_node with 4 arguments
+       sizes.
+
+2006-06-21  Richrad Guenther  <rguenther@suse.de>
+
+       * tree-ssa-loop-niter.c (simplify_using_initial_conditions):
+       Limit iteration over the dominators.
+
+2006-06-20  Roger Sayle  <roger@eyesopen.com>
+
+       * config/mips/iris6.h (LIB_SPEC): Add support for -pthread.
+       (SUBTARGET_CPP_SPEC): Define _REENTERANT if -pthread specified.
+
+2006-06-20  Richard Guenther  <rguenther@suse.de>
+       Michael Matz  <matz@suse.de>
+
+       * alloc-pool.h (free_alloc_pool_if_empty): Prototype new
+       function.
+       * alloc-pool.c (free_alloc_pool_if_empty): New function.
+       * et-forest.h (et_free_pools): Prototype new function.
+       * et-forest.c (et_free_tree_force): Free parent occurrence. 
+       (et_free_pools): New function.
+       * dominance.c (free_dominance_info): Free et-forest alloc
+       pools.
+
+2006-06-20  Roger Sayle  <roger@eyesopen.com>
+
+       * expr.c (expand_expr_real_1) <VECTOR_CST>: For vector constants with
+       integer modes, attempt to directly construct an integer constant.
+
+       * fold-const.c (native_encode_vector): Determine the size of each
+       element from the vector type instead of the first vector element.
+
+       * tree.c (build_constructor_single): Mark a CONSTRUCTOR as constant,
+       if all of its elements/components are constant.
+       (build_constructor_from_list): Likewise.
+
+2006-06-20  Zdenek Dvorak <dvorakz@suse.cz>
+
+       PR tree-optimization/27331
+       * tree-data-ref.c (free_data_ref): New function.
+       (create_data_ref): Fail if the data reference has unknown access
+       function.
+       (free_data_refs): Use free_data_ref.
+
+2006-06-19  Andrew Pinski  <pinskia@gmail.com>
+
+       PR middle-end/28075
+       * tree-inline.c (setup_one_parameter): Strip useless
+       type conversion before adding it to the IR.
+       (declare_return_variable): Likewise.
+
+2006-06-19  Martin Michlmayr  <tbm@cyrius.com>
+
+       PR c/27149
+       * c-common.c (c_common_truthvalue_conversion): Fix grammar in warning.
+
+2006-06-19  Mike Stump  <mrs@apple.com>
+
+       * tree.c (variably_modified_type_p): VM arguments don't make the
+       type a VM type.
+
+2006-06-19  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-pre.c (try_combine_conversion): Strip useless
+       type conversions after folding.
+
+2006-06-19  Richard Guenther  <rguenther@suse.de>
+
+       * ggc-page.c (extra_order_size_tab): Add entries with
+       size of struct function and basic_block.
+       (size_lookup): Extend to cover sizes up to 511.
+       (ggc_alloc_stat): Adjust user.
+       (ggc_pch_count_object): Likewise.
+       (ggc_pch_alloc_object): Likewise.
+       (ggc_pch_write_object): Likewise.
+
+2006-06-19  Zdenek Dvorak <dvorakz@suse.cz>
+
+       * tree-ssa-loop-niter.c (implies_ge_p): New function.
+       (derive_constant_upper_bound): Handle OP0 - CST in unsigned types
+       correctly.
+
 2006-06-19  Denis Chertykov  <denisc@overta.ru>
 
        * config/avr/libgcc.S : Correct my wrong previous commit.
 2006-05-22  Gerald Pfeifer  <gerald@pfeifer.com>
 
        * doc/install.texi (Configuration): Remove reference to CrossGCC
-       FAQ which was hijacked.
+       FAQ which was gone.
        (Building): Ditto.
 
 2006-05-22  Kazu Hirata  <kazu@codesourcery.com>