gengtype.c (main): Handle uint64_t.

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
This commit is contained in:
Richard Guenther 2009-08-27 08:56:10 +00:00 committed by Richard Biener
parent 7842a9dbf8
commit c6a2114273
11 changed files with 36 additions and 5 deletions

View 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

View 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];

View 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

View File

@ -240,7 +240,7 @@ c++.stagefeedback: stagefeedback-start
#
# .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

View 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);

View 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;
}

View 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++;

View 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)

View 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 */

View 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

View 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. */