aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-pretty-print.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-06-16 13:23:02 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-06-16 13:23:02 -0700
commite130a54b78b1f9b096a5ab1b98debfb263e16663 (patch)
tree6cad84a65bce84ea2e0619cc63bbdd0ee3caef9c /gcc/c-pretty-print.c
parent9e14e18fd124e651f079728315e40a16288863b6 (diff)
downloadgcc-e130a54b78b1f9b096a5ab1b98debfb263e16663.zip
gcc-e130a54b78b1f9b096a5ab1b98debfb263e16663.tar.gz
gcc-e130a54b78b1f9b096a5ab1b98debfb263e16663.tar.bz2
c-common.def (ASM_STMT): Remove.
* c-common.def (ASM_STMT): Remove. * c-common.h (c_common_stmt_codes): Remove ASM_STMT. * c-dump.c (c_dump_tree): Likewise. * c-gimplify.c (c_gimplify_stmt): Likewise. * c-pretty-print.c (pp_c_statement): Likewise. * c-typeck.c (build_asm_expr): Use ASM_EXPR. * tree.h: Fix commentary. cp/ * parser.c (cp_parser_asm_definition): Update commentary. * pt.c (tsubst_expr): Use ASM_EXPR. * semantics.c (finish_asm_stmt): Likewise. From-SVN: r83260
Diffstat (limited to 'gcc/c-pretty-print.c')
-rw-r--r--gcc/c-pretty-print.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/gcc/c-pretty-print.c b/gcc/c-pretty-print.c
index c1d9d60..e5eb8e3 100644
--- a/gcc/c-pretty-print.c
+++ b/gcc/c-pretty-print.c
@@ -2117,37 +2117,6 @@ pp_c_statement (c_pretty_printer *pp, tree stmt)
pp_needs_newline (pp) = true;
break;
- case ASM_STMT:
- {
- bool has_volatile_p = ASM_VOLATILE_P (stmt);
- bool is_extended = has_volatile_p || ASM_INPUTS (stmt)
- || ASM_OUTPUTS (stmt) || ASM_CLOBBERS (stmt);
- pp_c_identifier (pp, is_extended ? "__asm__" : "asm");
- if (has_volatile_p)
- pp_c_identifier (pp, "__volatile__");
- pp_space (pp);
- pp_c_left_paren (pp);
- pp_c_string_literal (pp, ASM_STRING (stmt));
- if (is_extended)
- {
- pp_space (pp);
- pp_separate_with (pp, ':');
- if (ASM_OUTPUTS (stmt))
- pp_expression (pp, ASM_OUTPUTS (stmt));
- pp_space (pp);
- pp_separate_with (pp, ':');
- if (ASM_INPUTS (stmt))
- pp_expression (pp, ASM_INPUTS (stmt));
- pp_space (pp);
- pp_separate_with (pp, ':');
- if (ASM_CLOBBERS (stmt))
- pp_expression (pp, ASM_CLOBBERS (stmt));
- }
- pp_c_right_paren (pp);
- pp_newline (pp);
- }
- break;
-
default:
pp_unsupported_tree (pp, stmt);
}