summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/print-tree.c4
-rw-r--r--gcc/tree.h5
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