OSDN Git Service

PR tree-optimization/19217
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index a67eb7f..ac04aeb 100644 (file)
@@ -1,3 +1,99 @@
+2005-02-01  Steven Bosscher  <stevenb@suse.de>
+
+       PR tree-optimization/19217
+       * tree-cfg.c (verify_expr): Use the data field to see if TP was
+       seen inside a PHI node.  Do not do the ADDR_EXPR check if it was.
+       (verify_stmts): Pass (void*)1 as data to verify_expr to signal
+       that it is walking a PHI node.
+
+2005-02-01  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * doc/extend.texi (Nested Functions): Update.
+
+2005-02-01  Richard Henderson  <rth@redhat.com>
+
+       PR 19696
+       * optabs.c (expand_copysign_absneg): Export.
+       * optabs.h (expand_copysign_absneg): Declare.
+       * config/rs6000/rs6000.md (copysigntf3): New.
+
+2005-02-01  Diego Novillo  <dnovillo@redhat.com>
+
+       PR tree-optimization/19633
+       * tree-flow.h (struct ptr_info_def): Add field 'pt_null'.
+       * tree-ssa-alias.c (init_alias_info): Initialize.
+       (merge_pointed_to_info): Set.
+       (add_pointed_to_expr): Set pt_null if EXPR is a NULL pointer.
+       (dump_points_to_info_for): Show value of pt_null.
+       (struct count_ptr_d): Declare.
+       (find_ptr_dereference): Remove.
+       (ptr_is_dereferenced_by): Remove.
+       (count_ptr_derefs): New local function.
+       (count_uses_and_derefs): New local function.
+       (compute_points_to_and_addr_escape): Call it.  If the number
+       of dereferences is greater than zero, mark the pointer as
+       dereferenced.  If there are fewer dereferences than uses of
+       the pointer, the pointer's value escapes.
+
+2005-02-01  Diego Novillo  <dnovillo@redhat.com>
+
+       PR tree-optimization/19670
+       * tree-ssa.c (verify_ssa_name): Don't set TREE_VISITED
+       here...
+       (verify_use): ... set it here, instead.
+
+2005-02-01  Janis Johnson  <janis187@us.ibm.com>
+
+       * doc/sourcebuild.texi (Test directives): Fix formatting.
+
+       * doc/sourcebuild.texi (Test directives): Describe selector
+       expressions.
+
+2005-02-01  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * config.gcc (powerpc64-*-linux*): Default to -m64 also for
+       specific 64-bit CPUs.
+
+2005-02-01  Richard Earnshaw  <rearnsha@arm.com>
+
+       PR target/16201
+       * arm.c (arm_eliminable_register): New function.
+       (adjacent_mem_locations): Don't allow eliminable registers.  Use
+       HOST_WIDE_INT for address offsets.
+       * arm-protos.h (arm_eliminable_register): Add prototype.
+
+2005-02-01  Steven Bosscher  <stevenb@suse.de>
+
+       PR optimization/15242
+       * params.def (PARAM_MAX_GOTO_DUPLICATION_INSNS): New param.
+       * basic-block.h (duplicate_computed_gotos): Add prototype.
+       * bb-reorder.c (duplicate_computed_gotos): New function to
+       duplicate sufficiently small blocks ending in a computed jump.
+       * passes.c (rest_of_compilation): Call duplicate_computed_gotos
+       if not optimizing for size.
+       * cfgcleanup.c (try_crossjump_bb): If not optimizing for size,
+       never do tail merging for blocks ending in a computed jump.
+       * doc/invoke.texi: Document the max-goto-duplication-insns param.
+
+2005-02-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       Patch from Richard Sandiford <rsandifo@redhat.com>
+       * reload1.c (choose_reload_regs): Prevent the find_equiv_reg() code
+       from inheriting a subreg equivalence with a non-spill register.
+
+       * tree.h (DECL_FUNCTION_CODE): Document that it is overloaded.
+
+2005-02-01  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/frv/frv.c (movcc_fp_destination_operand): New.
+       (gpr_or_memory_operand): Fix typo in comment.
+       (gpr_or_memory_operand_with_scratch): New.
+       * config/frv/frv.h (PREDICATE_CODES): Add the two new predicates.
+       * config/frv/frv.md (movcc_fp, movcc_fp_internal): Use
+       movcc_fp_destination_operand.
+       (reload_incc_fp): Use gpr_or_memory_operand_with_scratch.
+       Legitimize memory addresses using a scratch register.
+
 2005-01-31  Jeff Law  <law@redhat.com>
 
        * tree-into-ssa.c (mark_def_sites_global_data): Make KILLS