summaryrefslogtreecommitdiffstats
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-28 19:09:53 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-28 19:09:53 +0000
commit867bd639d8f8452cc660b539a402f629b5797695 (patch)
treeb1c014a6e4f66b8d0ee1d4aae161e40cbaf92c60 /gcc/stmt.c
parente877ef454fbd96bf4a93b2e37cd04c5c6c11a93f (diff)
downloadppe42-gcc-867bd639d8f8452cc660b539a402f629b5797695.tar.gz
ppe42-gcc-867bd639d8f8452cc660b539a402f629b5797695.zip
* 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
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c6
1 files changed, 3 insertions, 3 deletions
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;
}
OpenPOWER on IntegriCloud