]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/tree-pretty-print.c
Merge with trunk.
[thirdparty/gcc.git] / gcc / tree-pretty-print.c
index 1d831ee24abf7ecc7d4896a57acf6362b84651cc..14b5414e571e4588add75c949008e6d11500dee9 100644 (file)
@@ -879,6 +879,8 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags,
        unsigned int quals = TYPE_QUALS (node);
        enum tree_code_class tclass;
 
+       if (quals & TYPE_QUAL_ATOMIC)
+         pp_string (buffer, "atomic ");
        if (quals & TYPE_QUAL_CONST)
          pp_string (buffer, "const ");
        else if (quals & TYPE_QUAL_VOLATILE)
@@ -1180,6 +1182,8 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags,
       {
        unsigned int quals = TYPE_QUALS (node);
 
+       if (quals & TYPE_QUAL_ATOMIC)
+         pp_string (buffer, "atomic ");
        if (quals & TYPE_QUAL_CONST)
          pp_string (buffer, "const ");
        if (quals & TYPE_QUAL_VOLATILE)