aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/error.c
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2004-09-19 18:50:44 +0000
committerDaniel Berlin <dberlin@dberlin.org>2004-09-19 18:50:44 +0000
commit40faf6846fe3ddd2b6d4bb5ead8d2417c06cfb2d (patch)
tree6387f03b62412d6f9d3457fd8c598510d94a7a37 /gcc/cp/error.c
parent5538fca01a6968cf0a3d02f547b7b1b1624e9e04 (diff)
Merge from mainline +
2004-09-19 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-ccp.c (substitute_and_fold): Changing some piece of a handled component may now change the v_may_def. * tree-ssa-operands.c (fini_ssa_operands): Free offset and size arrays too. (add_stmt_operand): Use get_inner_reference to determine offset and size when possible. * tree-ssa.c: Add vd_pair_pool. (init_tree_ssa): Alloc vd_pair pool. (delete_tree_ssa): Free vd_pair pool. * tree-ssa-structlias.c: Update for TREE_CODE_CLASS change. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/structure-aliasing-branch@87733 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r--gcc/cp/error.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c
index 03feaf3b7da..dd6affa3f83 100644
--- a/gcc/cp/error.c
+++ b/gcc/cp/error.c
@@ -831,10 +831,10 @@ dump_decl (tree t, int flags)
/* Fall through. */
case FUNCTION_DECL:
- if (DECL_GLOBAL_CTOR_P (t) || DECL_GLOBAL_DTOR_P (t))
- dump_global_iord (t);
- else if (! DECL_LANG_SPECIFIC (t))
+ if (! DECL_LANG_SPECIFIC (t))
pp_identifier (cxx_pp, "<built-in>");
+ else if (DECL_GLOBAL_CTOR_P (t) || DECL_GLOBAL_DTOR_P (t))
+ dump_global_iord (t);
else
dump_function_decl (t, flags);
break;