gengtype.c (main): Handle uint64_t.
authorRichard Guenther <rguenther@suse.de>
Thu, 27 Aug 2009 08:56:10 +0000 (08:56 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 27 Aug 2009 08:56:10 +0000 (08:56 +0000)
2009-08-27  Richard Guenther  <rguenther@suse.de>

* gengtype.c (main): Handle uint64_t.
* ipa-utils.c (get_base_var): Indent properly.
* tree-ssa-live.c (debug_scope_block): New function.
* tree-flow.h (debug_scope_block): Declare.
* tree-ssa-copy.c (replace_exp_1): Add vertical space.
* basic-block.h (enum profile_status): Rename to
enum profile_status_d.
(x_profile_status): Adjust type.

cp/
* class.c (build_vtbl_ref_1): Remove excess vertical space.
* Make-lang.in (CXX_TREE_H): Remove c-common.def dependency
tracked by $(TREE_H).
* semantics.c (expand_or_defer_fn): Zero DECL_SAVED_TREE.

From-SVN: r151139

gcc/ChangeLog
gcc/basic-block.h
gcc/cp/ChangeLog
gcc/cp/Make-lang.in
gcc/cp/class.c
gcc/cp/semantics.c
gcc/gengtype.c
gcc/ipa-utils.c
gcc/tree-flow.h
gcc/tree-ssa-copy.c
gcc/tree-ssa-live.c

index 95800ce..c6233a9 100644 (file)
@@ -1,3 +1,14 @@
+2009-08-27  Richard Guenther  <rguenther@suse.de>
+
+       * gengtype.c (main): Handle uint64_t.
+       * ipa-utils.c (get_base_var): Indent properly.
+       * tree-ssa-live.c (debug_scope_block): New function.
+       * tree-flow.h (debug_scope_block): Declare.
+       * tree-ssa-copy.c (replace_exp_1): Add vertical space.
+       * basic-block.h (enum profile_status): Rename to
+       enum profile_status_d.
+       (x_profile_status): Adjust type.
+
 2009-08-27  Dodji Seketeli  <dodji@redhat.com>
 
        PR debug/41770
index 12256a2..2cc3e91 100644 (file)
@@ -360,7 +360,7 @@ enum dom_state
 };
 
 /* What sort of profiling information we have.  */
-enum profile_status
+enum profile_status_d
 {
   PROFILE_ABSENT,
   PROFILE_GUESSED,
@@ -393,7 +393,7 @@ struct GTY(()) control_flow_graph {
      only used for the gimple CFG.  */
   VEC(basic_block,gc) *x_label_to_block_map;
 
-  enum profile_status x_profile_status;
+  enum profile_status_d x_profile_status;
 
   /* Whether the dominators and the postdominators are available.  */
   enum dom_state x_dom_computed[2];
index 1bd3185..bb5a615 100644 (file)
@@ -1,3 +1,10 @@
+2009-08-27  Richard Guenther  <rguenther@suse.de>
+
+       * class.c (build_vtbl_ref_1): Remove excess vertical space.
+       * Make-lang.in (CXX_TREE_H): Remove c-common.def dependency
+       tracked by $(TREE_H).
+       * semantics.c (expand_or_defer_fn): Zero DECL_SAVED_TREE.
+
 2009-08-26  Jason Merrill  <jason@redhat.com>
 
        * call.c (build_builtin_candidate): Don't set LOOKUP_ONLYCONVERTING
index c7d1a44..a3190f4 100644 (file)
@@ -240,7 +240,7 @@ c++.stagefeedback: stagefeedback-start
 #\f
 # .o: .h dependencies.
 CXX_TREE_H = $(TREE_H) cp/name-lookup.h cp/cp-tree.h $(C_COMMON_H) \
-       c-common.def $(FUNCTION_H) $(VARRAY_H) \
+       $(FUNCTION_H) $(VARRAY_H) \
        $(SYSTEM_H) coretypes.h $(CONFIG_H) $(TARGET_H) $(GGC_H) \
        $(srcdir)/../include/hashtab.h $(srcdir)/../include/splay-tree.h
 
index 694d262..2c308cf 100644 (file)
@@ -624,7 +624,6 @@ build_vtbl_ref_1 (tree instance, tree idx)
   if (!vtbl)
     vtbl = build_vfield_ref (instance, basetype);
 
-
   aref = build_array_ref (input_location, vtbl, idx);
   TREE_CONSTANT (aref) |= TREE_CONSTANT (vtbl) && TREE_CONSTANT (idx);
 
index 23db832..1c16b72 100644 (file)
@@ -3239,6 +3239,7 @@ expand_or_defer_fn (tree fn)
       /* We don't want to process FN again, so pretend we've written
         it out, even though we haven't.  */
       TREE_ASM_WRITTEN (fn) = 1;
+      DECL_SAVED_TREE (fn) = NULL_TREE;
       return;
     }
 
index 7bc6a9e..1a2f38b 100644 (file)
@@ -3671,6 +3671,7 @@ main (int argc, char **argv)
   do_scalar_typedef ("REAL_VALUE_TYPE", &pos); pos.line++;
   do_scalar_typedef ("FIXED_VALUE_TYPE", &pos); pos.line++;
   do_scalar_typedef ("double_int", &pos); pos.line++;
+  do_scalar_typedef ("uint64_t", &pos); pos.line++;
   do_scalar_typedef ("uint8", &pos); pos.line++;
   do_scalar_typedef ("jword", &pos); pos.line++;
   do_scalar_typedef ("JCF_u2", &pos); pos.line++;
index 5bd0b78..a001916 100644 (file)
@@ -215,7 +215,8 @@ ipa_utils_reduced_inorder (struct cgraph_node **order,
 tree
 get_base_var (tree t)
 {
-  if ((TREE_CODE (t) == EXC_PTR_EXPR) || (TREE_CODE (t) == FILTER_EXPR))
+  if (TREE_CODE (t) == EXC_PTR_EXPR
+      || TREE_CODE (t) == FILTER_EXPR)
     return t;
 
   while (!SSA_VAR_P (t) 
index ff2b52b..720180c 100644 (file)
@@ -896,6 +896,7 @@ void mark_addressable (tree);
 extern void remove_unused_locals (void);
 extern void dump_scope_blocks (FILE *, int);
 extern void debug_scope_blocks (int);
+extern void debug_scope_block (tree, int);
 
 /* In tree-ssa-address.c  */
 
index ea0291c..6bc3c13 100644 (file)
@@ -162,6 +162,7 @@ replace_exp_1 (use_operand_p op_p, tree val,
 {
 #if defined ENABLE_CHECKING
   tree op = USE_FROM_PTR (op_p);
+
   gcc_assert (!(for_propagation
                && TREE_CODE (op) == SSA_NAME
                && TREE_CODE (val) == SSA_NAME
index d416694..6de001c 100644 (file)
@@ -637,6 +637,15 @@ dump_scope_block (FILE *file, int indent, tree scope, int flags)
   fprintf (file, "\n%*s}\n",indent, "");
 }
 
+/* Dump the tree of lexical scopes starting at SCOPE to stderr.  FLAGS
+   is as in print_generic_expr.  */
+
+void
+debug_scope_block (tree scope, int flags)
+{
+  dump_scope_block (stderr, 0, scope, flags);
+}
+
 
 /* Dump the tree of lexical scopes of current_function_decl to FILE.
    FLAGS is as in print_generic_expr.  */