summaryrefslogtreecommitdiff
path: root/gcc/testsuite/melt
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-21 14:15:18 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-21 14:15:18 +0000
commit4643bf83c22cdc8603b7f09196fd175e39030490 (patch)
treee7efeaac4826c575d5db236c98d3be090eacb55a /gcc/testsuite/melt
parentf51ee807fdc9c03bc4579b53320ea07d42d74cf2 (diff)
downloadgcc-4643bf83c22cdc8603b7f09196fd175e39030490.tar.gz
2009-07-21 Basile Starynkevitch <basile@starynkevitch.net>
[heterogenous patterns compiled better] * melt-runtime.c: Corrected typo in comment. * melt/warmelt-first.melt: re-added dbgcounter in debug_msg messages. * melt/warmelt-normatch.melt: scanpat_srcpatcomposite compute the right ctype for subpatterns. * melt/ana-base.melt: added tree_of_type cmatcher. * melt/ana-simple.melt: added gimple_assign_cast pattern to makegreen_transform. * testsuite/melt/tgreenprint.c: added simple_fprint_stdout. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@149855 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/melt')
-rw-r--r--gcc/testsuite/melt/tgreenprint.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/melt/tgreenprint.c b/gcc/testsuite/melt/tgreenprint.c
index a3e5d55c8d1..fa5f1ff0f74 100644
--- a/gcc/testsuite/melt/tgreenprint.c
+++ b/gcc/testsuite/melt/tgreenprint.c
@@ -14,6 +14,11 @@
#include <stdio.h>
#include <stdlib.h>
+void simple_fprint_stdout(int p)
+{
+ fprintf (stdout, "simple fprint stdout p=%d\n", p);
+}
+
static inline void
say_str_int (FILE* f, const char* str, int n)
{