diff options
author | Richard Henderson <rth@redhat.com> | 2004-12-28 17:22:15 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-12-28 17:22:15 -0800 |
commit | 74f0c611c681e93dfb49bcd0d525f76d8c46af24 (patch) | |
tree | 54bc73bf49c5c1cd15ddc720798149307cd44186 /gcc/gimplify.c | |
parent | 85f3cc42950bc89d6f494397c4ebb39bc830a66e (diff) | |
download | gcc-74f0c611c681e93dfb49bcd0d525f76d8c46af24.zip gcc-74f0c611c681e93dfb49bcd0d525f76d8c46af24.tar.gz gcc-74f0c611c681e93dfb49bcd0d525f76d8c46af24.tar.bz2 |
re PR inline-asm/15740 (ICE caused by a memory operand in an asm statement)
PR inline-asm/15740
* gimplify.c (gimplify_asm_expr): Move resolve asm names ...
* c-typeck.c (build_asm_expr): ... here. Validate input
constraints. Mark memory inputs addressable.
* semantics.c (finish_asm_stmt): Resolve asm names. Validate input
constraints. Mark memory inputs addressable.
From-SVN: r92693
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r-- | gcc/gimplify.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c index f89b7207..ca37597 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -3262,10 +3262,6 @@ gimplify_asm_expr (tree *expr_p, tree *pre_p, tree *post_p) bool allows_mem, allows_reg, is_inout; enum gimplify_status ret, tret; - ASM_STRING (expr) - = resolve_asm_operand_names (ASM_STRING (expr), ASM_OUTPUTS (expr), - ASM_INPUTS (expr)); - ret = GS_ALL_DONE; for (i = 0, link = ASM_OUTPUTS (expr); link; ++i, link = TREE_CHAIN (link)) { |