changeset 494:07fdc5bf5e96

*** empty log message ***
author kono
date Wed, 21 Dec 2005 20:26:52 +0900
parents c85540f30297
children b6c10a4c0367
files Changes Makefile test/arg.code-out test/conv.code-out test/conv1.code-out test/fact-a.code-out test/fact.code-out test/goto.code-out test/scope.code-out test/simp.code-out test/test1.code-out test/tmp1.code-out test/tmp2.code-out test/tmp4.code-out test/tmp6.code-out
diffstat 15 files changed, 107 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/Changes	Wed Dec 21 14:20:58 2005 +0900
+++ b/Changes	Wed Dec 21 20:26:52 2005 +0900
@@ -7440,5 +7440,9 @@
 ないはず。ということは、enter_scope でいいのかな。getsym
 しないから、だめか。
 
-
-
+Wed Dec 21 16:52:40 JST 2005
+
+PowerPC のprintf でfloatが混在する場合が「まだ」おかしい。
+
+来年は64bit version だな。
+
--- a/Makefile	Wed Dec 21 14:20:58 2005 +0900
+++ b/Makefile	Wed Dec 21 20:26:52 2005 +0900
@@ -94,6 +94,7 @@
 	make check TARGET=test/cext
 	make check TARGET=test/const
 	make check TARGET=test/void_code
+	make check TARGET=test/putenemy
 	make check TARGET=test/inline
 #	make check TARGET=test/scope STDFLAG="-std=gnu99"
 #MK =-make
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/arg.code-out	Wed Dec 21 20:26:52 2005 +0900
@@ -0,0 +1,11 @@
+#0011:arg1: 0 1 2 3 4 : 1 1
+#0018:arg1: 1 2 3 4 0 : 1 1
+#0029:args: 1 2 3 4 0 : 1 1
+#0083:321=0
+#0039:args3: 11 22 33 44 55 : 1 2 3 4
+#0041:args3: args0 11 22 33 44 55 : args1 66 77 88 99 10 : 1 2 3 4
+#0051:args4: 11 22 33 44 55 : 2 3 4 1
+#0058:args5: 66 77 88 99 10 : 3 4 1 2
+#0065:args6: 66 77 88 99 10 : 3 4 1 2
+#0039:args3: 66 77 88 99 10 : 3 4 1 2
+#0041:args3: args0 66 77 88 99 10 : args1 66 77 88 99 10 : 3 4 1 2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/conv.code-out	Wed Dec 21 20:26:52 2005 +0900
@@ -0,0 +1,2 @@
+#0075:480
+#0061:480
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/conv1.code-out	Wed Dec 21 20:26:52 2005 +0900
@@ -0,0 +1,1 @@
+#0163:720
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/fact-a.code-out	Wed Dec 21 20:26:52 2005 +0900
@@ -0,0 +1,1 @@
+#0027:10! = 3628800
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/fact.code-out	Wed Dec 21 20:26:52 2005 +0900
@@ -0,0 +1,1 @@
+#0018:0! = 3628800
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/goto.code-out	Wed Dec 21 20:26:52 2005 +0900
@@ -0,0 +1,8 @@
+#0028:a2 1 a3
+#0035:a3 2 a4
+#0042:a4 3 a5
+#0049:a5 4 a6
+#0056:a6 5 a7
+#0063:a7 6 a8
+#0070:a8 7 a9
+#0077:a9 8 xx
--- a/test/scope.code-out	Wed Dec 21 14:20:58 2005 +0900
+++ b/test/scope.code-out	Wed Dec 21 20:26:52 2005 +0900
@@ -1,14 +1,14 @@
 #0017:f 2
 #0035:2nd inner 3 0 0
-#0043:inner 4 0 0
+#0045:inner 4 0 0
 #0017:f 1
 #0035:2nd inner 4 1 0
-#0043:inner 4 1 0
+#0045:inner 4 1 0
 #0017:f 0
-#0043:inner 4 2 0
+#0045:inner 4 2 0
 #0017:f -1
 #0035:2nd inner 6 3 0
-#0043:inner 4 3 0
+#0045:inner 4 3 0
 #0017:f -2
 #0035:2nd inner 7 4 0
-#0047:outer 3 10 1
+#0049:outer 3 10 1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/simp.code-out	Wed Dec 21 20:26:52 2005 +0900
@@ -0,0 +1,5 @@
+#0013:1
+#0015:.out
+#0027:1 E
+#0029:.out
+#0031:1==1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/test1.code-out	Wed Dec 21 20:26:52 2005 +0900
@@ -0,0 +1,8 @@
+#0107:sp: 0 1
+#0069:f0 1 sp: 0
+#0071:f0 2 sp: fffffff0
+#0077:f0 3 sp: fffffff0
+#0042:f 0 sp: fffffff0
+#0046:f 1 sp: fffffff0
+#0048:f 2 sp: ffffffe0
+#0113:13 1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/tmp1.code-out	Wed Dec 21 20:26:52 2005 +0900
@@ -0,0 +1,42 @@
+#0011:main0 1 start.
+#0066:code1: 1
+#0080:main continue.
+#0011:main0 0 start.
+#0066:code1: 0
+#0029:code3: 0 1 2 3 4 5
+#0029:code3: 1 1 2 3 4 5
+#0029:code3: 2 1 2 3 4 5
+#0029:code3: 3 1 2 3 4 5
+#0029:code3: 4 1 2 3 4 5
+#0029:code3: 5 1 2 3 4 5
+#0029:code3: 6 1 2 3 4 5
+#0029:code3: 7 1 2 3 4 5
+#0029:code3: 8 1 2 3 4 5
+#0029:code3: 9 1 2 3 4 5
+#0029:code3: 10 1 2 3 4 5
+#0041:code4: 13 4 5 6 7 8
+#0029:code3: 17 9 11 13 15 21
+#0041:code4: 20 12 14 16 18 24
+#0029:code3: 20 12 14 16 18 24
+#0041:code4: 23 15 17 19 21 27
+#0029:code3: 23 15 17 19 21 27
+#0041:code4: 26 18 20 22 24 30
+#0029:code3: 26 18 20 22 24 30
+#0041:code4: 29 21 23 25 27 33
+#0029:code3: 29 21 23 25 27 33
+#0041:code4: 32 24 26 28 30 36
+#0029:code3: 24 26 32 30 36 28
+#0041:code4: 27 29 35 33 39 31
+#0029:code3: 27 29 35 33 39 31
+#0041:code4: 30 32 38 36 42 34
+#0029:code3: 32 38 30 42 34 36
+#0041:code4: 35 41 33 45 37 39
+#0029:code3: 41 33 35 37 39 45
+#0041:code4: 44 36 38 40 42 48
+#0041:code4: 45 38 39 43 45 51
+#0041:code4: 46 40 40 46 48 54
+#0041:code4: 47 42 41 49 51 57
+#0041:code4: 48 44 42 52 54 60
+#0041:code4: 49 46 43 55 57 63
+#0041:code4: 50 48 44 58 60 66
+#0082:main end.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/tmp2.code-out	Wed Dec 21 20:26:52 2005 +0900
@@ -0,0 +1,4 @@
+2: ./a.out
+3: ./a.out
+4: ./a.out
+1: ./a.out 1234
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/tmp4.code-out	Wed Dec 21 20:26:52 2005 +0900
@@ -0,0 +1,6 @@
+2: a.out
+3: i=123 j=456 k=789 av[0]=a.out p=a.out
+4: a.out
+5: a.out
+5: i=123 j=456 k=789
+1: a.out 1234
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/tmp6.code-out	Wed Dec 21 20:26:52 2005 +0900
@@ -0,0 +1,6 @@
+a used.
+2: av=1 av[0]=1 test1
+code0
+4: test1
+5: test1
+5: i=123 j=456 k=2 av=1