Commit c6a21142 by Richard Guenther Committed by Richard Biener

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
parent 7842a9db
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> 2009-08-27 Dodji Seketeli <dodji@redhat.com>
PR debug/41770 PR debug/41770
......
...@@ -360,7 +360,7 @@ enum dom_state ...@@ -360,7 +360,7 @@ enum dom_state
}; };
/* What sort of profiling information we have. */ /* What sort of profiling information we have. */
enum profile_status enum profile_status_d
{ {
PROFILE_ABSENT, PROFILE_ABSENT,
PROFILE_GUESSED, PROFILE_GUESSED,
...@@ -393,7 +393,7 @@ struct GTY(()) control_flow_graph { ...@@ -393,7 +393,7 @@ struct GTY(()) control_flow_graph {
only used for the gimple CFG. */ only used for the gimple CFG. */
VEC(basic_block,gc) *x_label_to_block_map; 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. */ /* Whether the dominators and the postdominators are available. */
enum dom_state x_dom_computed[2]; enum dom_state x_dom_computed[2];
......
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> 2009-08-26 Jason Merrill <jason@redhat.com>
* call.c (build_builtin_candidate): Don't set LOOKUP_ONLYCONVERTING * call.c (build_builtin_candidate): Don't set LOOKUP_ONLYCONVERTING
......
...@@ -240,7 +240,7 @@ c++.stagefeedback: stagefeedback-start ...@@ -240,7 +240,7 @@ c++.stagefeedback: stagefeedback-start
# #
# .o: .h dependencies. # .o: .h dependencies.
CXX_TREE_H = $(TREE_H) cp/name-lookup.h cp/cp-tree.h $(C_COMMON_H) \ 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) \ $(SYSTEM_H) coretypes.h $(CONFIG_H) $(TARGET_H) $(GGC_H) \
$(srcdir)/../include/hashtab.h $(srcdir)/../include/splay-tree.h $(srcdir)/../include/hashtab.h $(srcdir)/../include/splay-tree.h
......
...@@ -624,7 +624,6 @@ build_vtbl_ref_1 (tree instance, tree idx) ...@@ -624,7 +624,6 @@ build_vtbl_ref_1 (tree instance, tree idx)
if (!vtbl) if (!vtbl)
vtbl = build_vfield_ref (instance, basetype); vtbl = build_vfield_ref (instance, basetype);
aref = build_array_ref (input_location, vtbl, idx); aref = build_array_ref (input_location, vtbl, idx);
TREE_CONSTANT (aref) |= TREE_CONSTANT (vtbl) && TREE_CONSTANT (idx); TREE_CONSTANT (aref) |= TREE_CONSTANT (vtbl) && TREE_CONSTANT (idx);
......
...@@ -3239,6 +3239,7 @@ expand_or_defer_fn (tree fn) ...@@ -3239,6 +3239,7 @@ expand_or_defer_fn (tree fn)
/* We don't want to process FN again, so pretend we've written /* We don't want to process FN again, so pretend we've written
it out, even though we haven't. */ it out, even though we haven't. */
TREE_ASM_WRITTEN (fn) = 1; TREE_ASM_WRITTEN (fn) = 1;
DECL_SAVED_TREE (fn) = NULL_TREE;
return; return;
} }
......
...@@ -3671,6 +3671,7 @@ main (int argc, char **argv) ...@@ -3671,6 +3671,7 @@ main (int argc, char **argv)
do_scalar_typedef ("REAL_VALUE_TYPE", &pos); pos.line++; do_scalar_typedef ("REAL_VALUE_TYPE", &pos); pos.line++;
do_scalar_typedef ("FIXED_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 ("double_int", &pos); pos.line++;
do_scalar_typedef ("uint64_t", &pos); pos.line++;
do_scalar_typedef ("uint8", &pos); pos.line++; do_scalar_typedef ("uint8", &pos); pos.line++;
do_scalar_typedef ("jword", &pos); pos.line++; do_scalar_typedef ("jword", &pos); pos.line++;
do_scalar_typedef ("JCF_u2", &pos); pos.line++; do_scalar_typedef ("JCF_u2", &pos); pos.line++;
......
...@@ -215,7 +215,8 @@ ipa_utils_reduced_inorder (struct cgraph_node **order, ...@@ -215,7 +215,8 @@ ipa_utils_reduced_inorder (struct cgraph_node **order,
tree tree
get_base_var (tree t) 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; return t;
while (!SSA_VAR_P (t) while (!SSA_VAR_P (t)
......
...@@ -896,6 +896,7 @@ void mark_addressable (tree); ...@@ -896,6 +896,7 @@ void mark_addressable (tree);
extern void remove_unused_locals (void); extern void remove_unused_locals (void);
extern void dump_scope_blocks (FILE *, int); extern void dump_scope_blocks (FILE *, int);
extern void debug_scope_blocks (int); extern void debug_scope_blocks (int);
extern void debug_scope_block (tree, int);
/* In tree-ssa-address.c */ /* In tree-ssa-address.c */
......
...@@ -162,6 +162,7 @@ replace_exp_1 (use_operand_p op_p, tree val, ...@@ -162,6 +162,7 @@ replace_exp_1 (use_operand_p op_p, tree val,
{ {
#if defined ENABLE_CHECKING #if defined ENABLE_CHECKING
tree op = USE_FROM_PTR (op_p); tree op = USE_FROM_PTR (op_p);
gcc_assert (!(for_propagation gcc_assert (!(for_propagation
&& TREE_CODE (op) == SSA_NAME && TREE_CODE (op) == SSA_NAME
&& TREE_CODE (val) == SSA_NAME && TREE_CODE (val) == SSA_NAME
......
...@@ -637,6 +637,15 @@ dump_scope_block (FILE *file, int indent, tree scope, int flags) ...@@ -637,6 +637,15 @@ dump_scope_block (FILE *file, int indent, tree scope, int flags)
fprintf (file, "\n%*s}\n",indent, ""); 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. /* Dump the tree of lexical scopes of current_function_decl to FILE.
FLAGS is as in print_generic_expr. */ FLAGS is as in print_generic_expr. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment