From 867bd639d8f8452cc660b539a402f629b5797695 Mon Sep 17 00:00:00 2001 From: rth Date: Sun, 28 Sep 2003 19:09:53 +0000 Subject: * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71884 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/stmt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/stmt.c') diff --git a/gcc/stmt.c b/gcc/stmt.c index 9d5553f2517..72746dfc2b3 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -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; } -- cgit v1.2.3