]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree.h: Update documentation on nothrow_flag.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Mon, 5 Jan 2004 15:16:35 +0000 (15:16 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 5 Jan 2004 15:16:35 +0000 (10:16 -0500)
* tree.h: Update documentation on nothrow_flag.
* print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
types.

From-SVN: r75431

gcc/ChangeLog
gcc/print-tree.c
gcc/tree.h

index 02d745e0a4003e384aba1797c95d4e384bc7e234..97546740561d6efe20c11a8b0d9cf447e9ac23e6 100644 (file)
@@ -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.
index 3d6c01e01eeb73e0cdee5729a987af5c59cb5a48..2965d6ee574963b1105d35df115c2e73ea28446f 100644 (file)
@@ -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))
index a2fdb1eef825bb11cf9217d674bf20f2eebbb62e..04ac0b8934c6ccfd52abdd2a63f954e6c315dd1c 100644 (file)
@@ -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