OSDN Git Service

2010-04-18  Eric Botcazou  <ebotcazou@adacore.com>
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Apr 2010 21:49:29 +0000 (21:49 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:33:50 +0000 (14:33 +0900)
* fold-const.c (fold_comparison): Use ssizetype.
* gimple-fold.c (maybe_fold_offset_to_array_ref): Likewise.
* ipa-prop.c (ipa_modify_call_arguments): Use sizetype.
* tree-loop-distribution.c (build_size_arg_loc): Likewise.
* tree-object-size.c (compute_object_sizes): Use size_type_node.

* tree.h (initialize_sizetypes): Remove parameter.
(build_common_tree_nodes): Remove second parameter.
* stor-layout.c (initialize_sizetypes): Remove parameter.
Always create an unsigned type.
(set_sizetype): Assert that the passed type is unsigned and simplify.
* tree.c (build_common_tree_nodes): Remove second parameter.
Adjust call to initialize_sizetypes.
* c-decl.c (c_init_decl_processing): Remove second argument in call to
build_common_tree_nodes.
cp/
* decl.c (cxx_init_decl_processing): Remove second argument in call to
build_common_tree_nodes.
java/
* decl.c (java_init_decl_processing): Remove argument in call to
initialize_sizetypes
fortran/
* f95-lang.c (gfc_init_decl_processing): Remove second argument in call
to build_common_tree_nodes.
ada/
* gcc-interface/misc.c (gnat_init): Remove second argument in call to
build_common_tree_nodes.
lto/
* lto-lang.c (lto_init): Remove second argument in call to
build_common_tree_nodes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158496 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/gcc-interface/misc.c
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/gimple-fold.c
gcc/java/ChangeLog
gcc/lto/ChangeLog

index 76480bc..93c21a5 100644 (file)
@@ -1,3 +1,21 @@
+2010-04-18  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * fold-const.c (fold_comparison): Use ssizetype.
+       * gimple-fold.c (maybe_fold_offset_to_array_ref): Likewise.
+       * ipa-prop.c (ipa_modify_call_arguments): Use sizetype.
+       * tree-loop-distribution.c (build_size_arg_loc): Likewise.
+       * tree-object-size.c (compute_object_sizes): Use size_type_node.
+
+       * tree.h (initialize_sizetypes): Remove parameter.
+       (build_common_tree_nodes): Remove second parameter.
+       * stor-layout.c (initialize_sizetypes): Remove parameter.
+       Always create an unsigned type.
+       (set_sizetype): Assert that the passed type is unsigned and simplify.
+       * tree.c (build_common_tree_nodes): Remove second parameter.
+       Adjust call to initialize_sizetypes.
+       * c-decl.c (c_init_decl_processing): Remove second argument in call to
+       build_common_tree_nodes.
+
 2010-04-18  Matthias Klose  <doko@ubuntu.com>
 
        * gcc.c (main): Search for liblto_plugin.so with mode R_OK.
index ee70230..76aa315 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-18  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc-interface/misc.c (gnat_init): Remove second argument in call to
+       build_common_tree_nodes.
+
 2010-04-18  Ozkan Sezer  <sezeroz@gmail.com>
 
        * gsocket.h: Make sure that winsock2.h is included before windows.h.
index b24774b..0f85393 100644 (file)
@@ -387,7 +387,7 @@ gnat_init (void)
   /* Do little here, most of the standard declarations are set up after the
      front-end has been run.  Use the same `char' as C, this doesn't really
      matter since we'll use the explicit `unsigned char' for Character.  */
-  build_common_tree_nodes (flag_signed_char, false);
+  build_common_tree_nodes (flag_signed_char);
 
   /* In Ada, we use the unsigned type corresponding to the width of Pmode as
      SIZETYPE.  In most cases when ptr_mode and Pmode differ, C will use the
index 7646605..c793349 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-18  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * decl.c (cxx_init_decl_processing): Remove second argument in call to
+       build_common_tree_nodes.
+
 2010-04-14  Jason Merrill  <jason@redhat.com>
 
        PR c++/36625
index 377fe18..61297f9 100644 (file)
@@ -1,12 +1,17 @@
+2010-04-18  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * f95-lang.c (gfc_init_decl_processing): Remove second argument in call
+       to build_common_tree_nodes.
+
 2010-04-17  Steven G. Kargl  <kargl@gcc.gnu.org>
 
-   PR fortran/31538
-   * fortran/trans-array.c (gfc_conv_ss_startstride): Remove the use of
-   gfc_msg_bounds by using 'Array bound mismatch' directly.
-   (gfc_trans_dummy_array_bias):  Remove the use of gfc_msg_bounds.  Reword
-   error message to include the mismatch in the extent of array bound.
-   * fortran/trans.c: Remove gfc_msg_bounds.  It is only used in one place.
-   * fortran/trans.h: Remove extern definition of gfc_msg_bounds.
+       PR fortran/31538
+       * fortran/trans-array.c (gfc_conv_ss_startstride): Remove the use of
+       gfc_msg_bounds by using 'Array bound mismatch' directly.
+       (gfc_trans_dummy_array_bias):  Remove the use of gfc_msg_bounds.  Reword
+       error message to include the mismatch in the extent of array bound.
+       * fortran/trans.c: Remove gfc_msg_bounds.  It is only used in one place.
+       * fortran/trans.h: Remove extern definition of gfc_msg_bounds.
 
 2010-04-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
index 270475c..ab07634 100644 (file)
@@ -159,7 +159,7 @@ maybe_fold_offset_to_array_ref (location_t loc, tree base, tree offset,
     return NULL_TREE;
 
   /* Use signed size type for intermediate computation on the index.  */
-  idx_type = signed_type_for (size_type_node);
+  idx_type = ssizetype;
 
   /* If OFFSET and ELT_OFFSET are zero, we don't care about the size of the
      element type (so we can use the alignment if it's not constant).
index f1a6080..b88bd19 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-18  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * decl.c (java_init_decl_processing): Remove argument in call to
+       initialize_sizetypes
+
 2010-04-07  Jakub Jelinek  <jakub@redhat.com>
 
        * exception.cc (_Jv_Throw): Avoid set but not used warning.
index 20b89d6..464a2ef 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-18  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * lto-lang.c (lto_init): Remove second argument in call to
+       build_common_tree_nodes.
+
 2010-04-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * lto-elf.c [!HAVE_ELF_GETSHDRSTRNDX] (elf_getshdrstrndx): New