diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-05 15:16:35 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-05 15:16:35 +0000 |
commit | 9f5f9308c29ded02d1126efe3325bb76cb38dd00 (patch) | |
tree | 3c3961ba2ff0ce990b5d7feefe5a6c59f4ef1e8e | |
parent | 77b238a310479bb82f0bfb9e788ad6aeb7966fa7 (diff) | |
download | gcc-9f5f9308c29ded02d1126efe3325bb76cb38dd00.tar.gz |
* 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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/print-tree.c | 4 | ||||
-rw-r--r-- | 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 <kenner@vlsi1.ultra.nyu.edu> + + * 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 <kazu@cs.umass.edu> * 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 |