aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-09-28 12:09:53 -0700
committerRichard Henderson <rth@gcc.gnu.org>2003-09-28 12:09:53 -0700
commit177560b2d073ac3034e451c1af2bb578f47aedea (patch)
treeb1c014a6e4f66b8d0ee1d4aae161e40cbaf92c60 /gcc/cp
parent37e2180d7a57f86c0bc2b1463b99463784a8176e (diff)
downloadgcc-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/cp')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/typeck.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 63dcf91..bfb4218 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-28 Richard Henderson <rth@redhat.com>
+
+ * typeck.c (c_expand_asm_operands): Take location_t, instead of
+ individual file and line.
+
2003-09-28 Andreas Jaeger <aj@suse.de>
* decl.c (cxx_builtin_type_decls): Convert to ISO C90 function
diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c
index 32447b6..5c45976 100644
--- a/gcc/cp/typeck.c
+++ b/gcc/cp/typeck.c
@@ -5750,7 +5750,7 @@ convert_for_initialization (tree exp, tree type, tree rhs, int flags,
void
c_expand_asm_operands (tree string, tree outputs, tree inputs, tree clobbers,
- int vol, const char *filename, int line)
+ int vol, location_t locus)
{
int noutputs = list_length (outputs);
register int i;
@@ -5765,7 +5765,7 @@ c_expand_asm_operands (tree string, tree outputs, tree inputs, tree clobbers,
/* Generate the ASM_OPERANDS insn;
store into the TREE_VALUEs of OUTPUTS some trees for
where the values were actually stored. */
- expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line);
+ expand_asm_operands (string, outputs, inputs, clobbers, vol, locus);
/* Copy all the intermediate outputs into the specified outputs. */
for (i = 0, tail = outputs; tail; tail = TREE_CHAIN (tail), i++)