OSDN Git Service

* tree.c (contains_placeholder_p) <tcc_expression>: Properly
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index d2c6693..d763ece 100644 (file)
@@ -1,3 +1,149 @@
+2005-09-11  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * tree.c (contains_placeholder_p) <tcc_expression>: Properly
+       handle CALL_EXPR again.
+
+2005-09-11  Richard Earnshaw  <richard.earnshaw@arm.com>
+
+       * arm/predicates.md (alignable_memory_operand): Delete.
+
+2005-09-10  Richard Henderson  <rth@redhat.com>
+
+       PR debug/23806
+       * dbxout.c (dbxout_expand_expr): New.
+       (dbxout_symbol): Use it.
+
+2005-09-10  Richard Earnshaw  <richard.earnshaw@arm.com>
+
+       * arm.c (arm_gen_rotated_half_load): Delete.
+       (vfp_emit_fstmx, arm_set_return_address): Use gen_frame_mem.
+       (emit_multi_reg_push, emit_sfm, arm_expand_prologue)
+       (thumb_set_return_address): Likewise.
+       (thumb_load_double_from_address): Use adjust_address.
+       * arm.md (splits calling arm_gen_rotated_half_load): Delete.
+       (extendhsisi2_mem, movhi_bytes): Use change_address.
+       (movhi): Use widen_memory_access.
+       (reload_out_df): Use replace_equiv_address.
+       * arm-protos.h (arm_gen_rotated_half_load): Delete prototype.
+
+2005-09-09  Richard Henderson  <rth@redhat.com>
+
+       PR debug/20998
+       * dbxout.c: Include expr.h.
+       (dbxout_global_decl): Don't suppress for DECL_RTL unset.
+       (dbxout_symbol): Handle DECL_VALUE_EXPR.
+       * Makefile.in (dbxout.o): Add EXPR_H.
+
+2005-09-09  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       PR tree-optimization/23509
+       * tree-cfg.c (replace_uses_by): Use replace_exp.
+       * tree-ssa-loop-ivopts.c (get_ref_tag): Assert that dereferenced
+       pointers have name_mem_tag or type_mem_tag set.
+
+2005-09-09  Sebastian Pop  <pop@cri.ensmp.fr>
+
+       * tree-chrec.c (evolution_function_is_invariant_rec_p): Use 
+       CHREC_LEFT and CHREC_RIGHT for accessing chrec components instead
+       of wrongly accessing operands.
+
+2005-09-09  Sebastian Pop  <pop@cri.ensmp.fr>
+
+       * Makefile.in (tree-chrec.o): Depends on SCEV_H.
+       * tree-chrec.c: Include tree-scalar-evolution.h.
+       (chrec_convert): Instantiate the base and step before calling
+       scev_probably_wraps_p that would fail on parametric evolutions.
+       Collect all the fails into a single section failed_to_convert,
+       print a diagnostic, and return chrec_dont_know instead of calling
+       fold_convert.
+       * tree-scalar-evolution.c (loop_closed_phi_def): New.
+       (instantiate_parameters_1): Avoid instantiation of loop closed ssa
+       phi nodes.
+       (scev_const_prop): Don't replace the definition of a loop closed ssa
+       phi node by itself, or by another loop closed ssa phi node.
+       * tree-ssa-loop-niter.c (scev_probably_wraps_p, convert_step): Check
+       that base and step are defined.
+
+2005-09-09  Richard Guenther  <rguenther@suse.de>
+
+       PR c++/23624
+       * fold-const.c (fold_ternary): Check truth_value_p before
+       calling invert_truthvalue.
+
+2005-09-09  Nick Clifton  <nickc@redhat.com>
+
+       * Makefile.in (LIBGCC_DEPS): Add libgcc2.h.
+       * libgcc2.c (__clz_tab[], __popcount_tab[]): Set the fixed
+       dimension of these arrays.
+       * libgcc2.h (__clz_tab[], __popcount_tab[]): Add exports of
+       these arrays.
+       * longlong.h: Only provide a prototype for the __clz_tab[] array
+       if this header has not been included from libgcc2.h.
+       * config/stormy16/stormy16-lib2.c: Include libgcc2.h rather than
+       defining own types.
+       Provide prototypes for exported functions.
+       Use the __clz_tab[] and __popcount_tab[] arrays provided by
+       libgcc2.c.
+
+2005-09-08  Josh Conner  <jconner@apple.com>
+
+       PR c++/21135
+       PR c++/23180
+       * expr.c (expand_expr_addr_expr_1): Don't invoke
+       expand_simple_binop for EXPAND_INITIALIZER.
+
+2005-09-08  Richard Henderson  <rth@redhat.com>
+
+       PR debug/23190
+       * toplev.c (wrapup_global_declaration_1): Split out ...
+       (wrapup_global_declaration_2): ... from ...
+       (wrapup_global_declarations): ... here.  Return bool.
+       (check_global_declaration_1): Split out ...
+       (check_global_declarations): from here.
+       (emit_debug_global_declarations): New.
+       * toplev.h (wrapup_global_declaration_1, wrapup_global_declaration_2,
+       check_global_declaration_1, emit_debug_global_declarations): Declare.
+       * c-decl.c (c_write_global_declarations_1): Don't create a vector
+       of decls.  Call wrapup_global_declaration_1,
+       wrapup_global_declaration_2, check_global_declaration_1 directly.
+       (c_write_global_declarations_2): New.
+       (ext_block): New.
+       (c_write_global_declarations): Call c_write_global_declarations_2.
+       * langhooks.c (write_global_declarations): Call
+       emit_debug_global_declarations.
+
+       * cgraphunit.c (cgraph_varpool_remove_unreferenced_decls): Don't
+       remove decls that have DECL_RTL_SET_P.
+       * passes.c (rest_of_decl_compilation): Invoke
+       cgraph_varpool_finalize_decl for all but functions.
+
+2005-09-08  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * tree-vrp.c (extract_range_from_unary_expr): Do not set the range for
+       the result of a conversion if the new min and max cannot be compared.
+
+2005-09-08  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * config/s390/s390.c (s390_sr_alias_set): Variable removed.
+       (override_options): Setting s390_sr_alias_set removed.
+       (save_fpr, save_gprs): Set alias set to vararg or frame.
+       (restore_fpr, restore_gprs, s390_emit_prologue): Replace 
+       s390_sr_alias_set with get_frame_alias_set ().
+       (s390_gimplify_va_arg): Replace s390_sr_alias_set with
+       get_varargs_alias_set ().
+
+2005-09-08  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR objc/20574
+       PR objc/19324
+       * c-parser.c (c_parser_objc_method_definition): If the next
+       token is not "{", error out and don't start the function.
+
+2005-09-08  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * tree-vrp.c (extract_range_from_expr): Move the check for non
+       nullness after the check for gimple invariant.
+
 2005-09-08  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
        * tree.c (host_integerp, tree_low_cst): Correct function comment.