]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 95800ceddcdaa76ea4d799dde7835eba1ade7a88..c6233a9b7c622b3c2a387d3e8a45086135b33289 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 12256a23f07abc244f6556236f197cd93baebce5..2cc3e91daa2365e12da912b8b11a32c1089ca1d8 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 1bd31857e3bf4609879abfaebfe82fe6db5de70d..bb5a61520d6776228df2aa969c8faf1f121509da 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 c7d1a449a901487499772cda5cac8e9885d4262c..a3190f4aa537c3f0541083d7b9330d0e9f6315d7 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 694d2628baa9477fb76891837c0b51f1a2a97222..2c308cfb5c93634e78758baad47dd21b146869ba 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 23db832143179853b15c2ead55ffc4bd6f984e53..1c16b72e8d5addb6722611555a31037d48af727f 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 7bc6a9e413df14c200d8e56f2703360dca57f8e2..1a2f38bd8b5c96c9cba45cbcb3b5a7109022da47 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 5bd0b788cd1bd46d9e98a14b2c75be0295b400cd..a001916fb0096512fd045bfd25f9719c0839bf9d 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 ff2b52bd8c0c3a70785615f099d6a2f24cecf8cb..720180c4eb373c9127aa44079c6bb0afa9b52bdc 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 ea0291c49c5b7fec081d6fdb7d599d9d2861e710..6bc3c13d4bbe6313464ebacb2a0ae4d434b53d73 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 d4166944e972ef0020a70a45480be6bb1df963d5..6de001c8ac3d3fd548afd16d0a7869b7c4d162e3 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.  */