PR 1335
* translate.cxx (c_tmpcounter::visit_functioncall): Correct
recursion sequence.
* testsuite/buildok/nineteen.stp: New test case.
+2005-09-12 Frank Ch. Eigler <fche@elastic.org>
+
+ PR 1335
+ * translate.cxx (c_tmpcounter::visit_functioncall): Correct
+ recursion sequence.
+ * testsuite/buildok/nineteen.stp: New test case.
+
2005-09-12 Graydon Hoare <graydon@redhat.com>
PR 1306
--- /dev/null
+#! stap -p4
+
+function msg1 (x) {
+ log(x)
+}
+function msg2 (x,y) {
+ log(x." ".y)
+}
+
+probe begin {
+ msg1("55");
+ msg1(string(55))
+
+ msg2("100", "GOOD")
+ msg2("GOOD", string(100))
+
+# the next line caused a compile failure when uncommented; PR 1335
+ msg2(string(100), "GOOD")
+
+ exit()
+}
{
tmpvar t = parent->gensym (r->formal_args[i]->type);
t.declare (*parent);
+ e->args[i]->visit (this);
}
-
- for (unsigned i=0; i<e->args.size(); i++)
- e->args[i]->visit (this);
}