From 9f5f9308c29ded02d1126efe3325bb76cb38dd00 Mon Sep 17 00:00:00 2001 From: kenner Date: Mon, 5 Jan 2004 15:16:35 +0000 Subject: [PATCH] * tree.h: Update documentation on nothrow_flag. * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75431 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/print-tree.c | 4 ++-- gcc/tree.h | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 02d745e0a40..97546740561 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-01-05 Richard Kenner + + * tree.h: Update documentation on nothrow_flag. + * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for + types. + 2004-01-05 Kazu Hirata * doc/invoke.texi: Remove traces of dead ports. diff --git a/gcc/print-tree.c b/gcc/print-tree.c index 3d6c01e01ee..2965d6ee574 100644 --- a/gcc/print-tree.c +++ b/gcc/print-tree.c @@ -1,6 +1,6 @@ /* Prints out tree in human readable form - GCC Copyright (C) 1990, 1991, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001, 2002, 2003 Free Software Foundation, Inc. + 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of GCC. @@ -262,7 +262,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent) if (TREE_USED (node)) fputs (" used", file); if (TREE_NOTHROW (node)) - fputs (" nothrow", file); + fputs (TYPE_P (node) ? " align-ok" : " nothrow", file); if (TREE_PUBLIC (node)) fputs (" public", file); if (TREE_PRIVATE (node)) diff --git a/gcc/tree.h b/gcc/tree.h index a2fdb1eef82..04ac0b8934c 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -1,6 +1,6 @@ /* Front-end tree definitions for GNU compiler. Copyright (C) 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001, 2002, 2003 Free Software Foundation, Inc. + 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of GCC. @@ -258,6 +258,9 @@ struct tree_common GTY(()) TREE_NOTHROW in CALL_EXPR, FUNCTION_DECL + TYPE_ALIGN_OK in + ..._TYPE + deprecated_flag: TREE_DEPRECATED in -- 2.11.4.GIT