OSDN Git Service

* double-int.c (mpz_set_double_int): Moved from
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index ddd2587..b1f1205 100644 (file)
@@ -1,3 +1,91 @@
+2007-04-30  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       * double-int.c (mpz_set_double_int): Moved from
+       tree-ssa-loop-niter.c.
+       (mpz_get_double_int): Likewise; also, add option to wrap
+       out-of-range integers.
+       * double-int.h: New prototypes for above.
+       * tree.c (get_static_type_bounds): Moved from
+       tree-ssa-loop-niter.c; now returns TYPE_MIN_VALUE and
+       TYPE_MAX_VALUE if they exist..
+       * tree.h: New prototype for above.
+       * tree-ssa-loop-niter.c: Adjust mpz_to_double_int and
+       get_type_bounds calls.
+       (mpz_set_double_int): Move to double-int.c.
+       (get_type_bounds): Move to tree.c, rename to
+       get_static_type_bounds.
+       (mpz_to_double_int): Move to double-int.c, rename to
+       mpz_get_double_int.
+
+2007-04-30  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/lib1funcs.asm (__umodsi3, __modsi3): Rearrange so that
+       DIV0 exception can fall through to a normal return.
+       
+2007-04-30  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR middle-end/22156
+       Temporarily revert:
+       2007-04-06  Andreas Tobler  <a.tobler@schweiz.org>
+        * tree-sra.c (sra_build_elt_assignment): Initialize min/maxshift.
+       2007-04-05  Alexandre Oliva  <aoliva@redhat.com>
+       * tree-sra.c (try_instantiate_multiple_fields): Needlessly
+       initialize align to silence bogus warning.
+       2007-04-05  Alexandre Oliva  <aoliva@redhat.com>
+       * tree-sra.c (struct sra_elt): Add in_bitfld_block.  Remove
+       all_no_warning.
+       (struct sra_walk_fns): Remove use_all parameter from use.
+       (sra_hash_tree): Handle BIT_FIELD_REFs.
+       (sra_elt_hash): Don't hash bitfld blocks.
+       (sra_elt_eq): Skip them in parent compares as well.  Handle
+       BIT_FIELD_REFs.
+       (sra_walk_expr): Don't maintain or pass down use_all_p.
+       (scan_use): Remove use_all parameter.
+       (scalarize_use): Likewise.  Re-expand assignment to
+       BIT_FIELD_REF of gimple_reg.  De-scalarize before input or
+       output, and re-scalarize after output.  Don't mark anything
+       for no warning.
+       (scalarize_ldst): Adjust.
+       (scalarize_walk_gimple_modify_statement): Likewise.
+       (build_element_name_1): Handle BIT_FIELD_REFs.
+       (instantiate_element): Don't warn for any element whose parent
+       is used as a whole.
+       (instantiate_missing_elements_1): Return the sra_elt.
+       (canon_type_for_field): New.
+       (try_instantiate_multiple_fields): New.
+       (instantiate_missing_elemnts): Use them.
+       (mark_no_warning): Removed.
+       (generate_one_element_ref): Handle BIT_FIELD_REFs.
+       (REPLDUP, sra_build_elt_assignment): New.
+       (generate_copy_inout): Use them.
+       (generate_element_copy): Likewise.  Handle bitfld differences.
+       (generate_element_zero): Don't recurse for blocks.  Use
+       sra_build_elt_assignment.
+       (generate_one_element_int): Take elt instead of var.  Use
+       sra_build_elt_assignment.
+       (generate_element_init_1): Adjust.
+       (scalarize_use, scalarize_copy): Use REPLDUP.
+       (scalarize_ldst): Move assert before dereference.
+       (dump_sra_elt_name): Handle BIT_FIELD_REFs.
+
+2007-04-30  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       PR C++/31721
+       * tree.c (reconstruct_complex_type): Reconstruct a reference
+       correctly.
+       Also use the same mode for the pointer as the old pointer type.
+
+2007-04-30  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       * doc/trouble.texi (Interoperation): Remove note about Ultrix
+       Fortran compiler.
+
+2007-04-29  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       PR rtl-optimization/31676
+       * df-scan.c (record_nonlocal_goto_receiver_defs): New function.
+       (df_refs_record): Call it.
+
 2007-04-29  Bernd Schmidt  <bernd.schmidt@analog.com>
 
        * rtl.def (SS_ABS): New code.