diff options
author | Richard Henderson <rth@redhat.com> | 2003-09-28 12:09:53 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-09-28 12:09:53 -0700 |
commit | 177560b2d073ac3034e451c1af2bb578f47aedea (patch) | |
tree | b1c014a6e4f66b8d0ee1d4aae161e40cbaf92c60 /gcc/stmt.c | |
parent | 37e2180d7a57f86c0bc2b1463b99463784a8176e (diff) | |
download | gcc-177560b2d073ac3034e451c1af2bb578f47aedea.zip gcc-177560b2d073ac3034e451c1af2bb578f47aedea.tar.gz gcc-177560b2d073ac3034e451c1af2bb578f47aedea.tar.bz2 |
stmt.c (expand_asm_operands): Take a location_t, instead of individual file and line.
* stmt.c (expand_asm_operands): Take a location_t, instead of
individual file and line.
* c-typeck.c (c_expand_asm_operands): Likewise.
* tree.h (expand_asm_operands): Update decl.
* c-common.h (c_expand_asm_operands): Likewise.
* c-semantics (genrtl_asm_stmt): Update call.
cp/
* typeck.c (c_expand_asm_operands): Take location_t, instead of
individual file and line.
ada/
* trans.c (tree_transform): Update call to expand_asm_operands.
From-SVN: r71884
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1435,7 +1435,7 @@ decl_conflicts_with_clobbers_p (tree decl, const HARD_REG_SET clobbered_regs) void expand_asm_operands (tree string, tree outputs, tree inputs, - tree clobbers, int vol, const char *filename, int line) + tree clobbers, int vol, location_t locus) { rtvec argvec, constraintvec; rtx body; @@ -1656,7 +1656,7 @@ expand_asm_operands (tree string, tree outputs, tree inputs, : GET_MODE (output_rtx[0])), TREE_STRING_POINTER (string), empty_string, 0, argvec, constraintvec, - filename, line); + locus.file, locus.line); MEM_VOLATILE_P (body) = vol; @@ -1803,7 +1803,7 @@ expand_asm_operands (tree string, tree outputs, tree inputs, (GET_MODE (output_rtx[i]), TREE_STRING_POINTER (string), constraints[i], i, argvec, constraintvec, - filename, line)); + locus.file, locus.line)); MEM_VOLATILE_P (SET_SRC (XVECEXP (body, 0, i))) = vol; } |