Mercurial > hg > CbC > old > device
changeset 776:d32ae7119cf1
fix code-out
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 18 Nov 2010 21:39:55 +0900 |
parents | a2a7b2835fa3 |
children | be917edcb671 |
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/test1.code-out test/test2.code-out test/tmp1.code-out test/tmp2.code-out test/tmp4.code-out test/tmp6.code-out test/tmpa.code-out test/tmpb.code-out test/too-long-argument.code-out |
diffstat | 17 files changed, 121 insertions(+), 112 deletions(-) [+] |
line wrap: on
line diff
--- a/Changes Thu Nov 18 21:25:30 2010 +0900 +++ b/Changes Thu Nov 18 21:39:55 2010 +0900 @@ -9860,3 +9860,9 @@ CONST に INT/UNSIGNED の区別がない... どうしようかな。 +Thu Nov 18 21:32:42 JST 2010 + +だいぶ動いた。ia32, ppc もテストできるのはうれしい。 + +long double と vector 型を増やしたい... +
--- a/Makefile Thu Nov 18 21:25:30 2010 +0900 +++ b/Makefile Thu Nov 18 21:39:55 2010 +0900 @@ -35,6 +35,9 @@ ia32: make ARCH=ia32 CCEXT="-m32" check-all +ia32-make-code-check: + make ARCH=ia32 CCEXT="-m32" MK=-make check-all-code + mc: mc-$(ARCH) cp mc-$(ARCH) mc
--- a/test/arg.code-out Thu Nov 18 21:25:30 2010 +0900 +++ b/test/arg.code-out Thu Nov 18 21:39:55 2010 +0900 @@ -1,11 +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 +#0017:arg1: 0 1 2 3 4 : 1 1 +#0024:arg1: 1 2 3 4 0 : 1 1 +#0035:args: 1 2 3 4 0 : 1 1 +#0089:321=0 +#0045:args3: 11 22 33 44 55 : 1 2 3 4 +#0047:args3: args0 11 22 33 44 55 : args1 66 77 88 99 10 : 1 2 3 4 +#0057:args4: 11 22 33 44 55 : 2 3 4 1 +#0064:args5: 66 77 88 99 10 : 3 4 1 2 +#0071:args6: 66 77 88 99 10 : 3 4 1 2 +#0045:args3: 66 77 88 99 10 : 3 4 1 2 +#0047:args3: args0 66 77 88 99 10 : args1 66 77 88 99 10 : 3 4 1 2
--- a/test/conv.code-out Thu Nov 18 21:25:30 2010 +0900 +++ b/test/conv.code-out Thu Nov 18 21:39:55 2010 +0900 @@ -1,2 +1,2 @@ -#0075:480 -#0061:480 +#0079:480 +#0064:480
--- a/test/conv1.code-out Thu Nov 18 21:25:30 2010 +0900 +++ b/test/conv1.code-out Thu Nov 18 21:39:55 2010 +0900 @@ -1,1 +1,1 @@ -#0165:720 +#0181:720
--- a/test/fact-a.code-out Thu Nov 18 21:25:30 2010 +0900 +++ b/test/fact-a.code-out Thu Nov 18 21:39:55 2010 +0900 @@ -1,1 +1,1 @@ -#0029:10! = 3628800 +#0032:10! = 3628800
--- a/test/fact.code-out Thu Nov 18 21:25:30 2010 +0900 +++ b/test/fact.code-out Thu Nov 18 21:39:55 2010 +0900 @@ -1,1 +1,1 @@ -#0018:0! = 3628800 +#0021:0! = 3628800
--- a/test/goto.code-out Thu Nov 18 21:25:30 2010 +0900 +++ b/test/goto.code-out Thu Nov 18 21:39:55 2010 +0900 @@ -1,8 +1,8 @@ -#0020:a2 1 a3 -#0027:a3 2 a4 -#0034:a4 3 a5 -#0041:a5 4 a6 -#0048:a6 5 a7 -#0055:a7 6 a8 -#0062:a8 7 a9 -#0069:a9 8 xx +#0023:a2 1 a3 +#0030:a3 2 a4 +#0037:a4 3 a5 +#0044:a5 4 a6 +#0051:a6 5 a7 +#0058:a7 6 a8 +#0065:a8 7 a9 +#0072:a9 8 xx
--- a/test/test1.code-out Thu Nov 18 21:25:30 2010 +0900 +++ b/test/test1.code-out Thu Nov 18 21:39:55 2010 +0900 @@ -1,8 +1,8 @@ -#0108:sp: 0 1 -#0070:f0 1 sp: 0 -#0072:f0 2 sp: fffffff0 -#0078:f0 3 sp: fffffff0 -#0042:f 0 sp: fffffff0 -#0046:f 1 sp: fffffff0 -#0048:f 2 sp: ffffffe0 -#0114:13 1 +#0115:sp: 0 1 +#0075:f0 1 sp: 0 +#0077:f0 2 sp: fffffff0 +#0083:f0 3 sp: fffffff0 +#0047:f 0 sp: fffffff0 +#0051:f 1 sp: fffffff0 +#0053:f 2 sp: ffffffe0 +#0121:13 1
--- a/test/test2.code-out Thu Nov 18 21:25:30 2010 +0900 +++ b/test/test2.code-out Thu Nov 18 21:39:55 2010 +0900 @@ -1,7 +1,7 @@ -main bit: 1 -main message: hogehoge -initSender bit: 1 -initSender message: hogehoge -sender_bit: 0 -bit: 1 -message: hogehoge +#0040:main bit: 1 +#0041:main message: hogehoge +#0026:initSender bit: 1 +#0027:initSender message: hogehoge +#0028:sender_bit: 0 +#0017:bit: 1 +#0018:message: hogehoge
--- a/test/tmp1.code-out Thu Nov 18 21:25:30 2010 +0900 +++ b/test/tmp1.code-out Thu Nov 18 21:39:55 2010 +0900 @@ -1,42 +1,42 @@ -#0012:main0 1 start. -#0067:code1: 1 -#0081:main continue. -#0012:main0 0 start. -#0067:code1: 0 -#0030:code3: 0 1 2 3 4 5 -#0030:code3: 1 1 2 3 4 5 -#0030:code3: 2 1 2 3 4 5 -#0030:code3: 3 1 2 3 4 5 -#0030:code3: 4 1 2 3 4 5 -#0030:code3: 5 1 2 3 4 5 -#0030:code3: 6 1 2 3 4 5 -#0030:code3: 7 1 2 3 4 5 -#0030:code3: 8 1 2 3 4 5 -#0030:code3: 9 1 2 3 4 5 -#0030:code3: 10 1 2 3 4 5 -#0042:code4: 13 4 5 6 7 8 -#0030:code3: 17 9 11 13 15 21 -#0042:code4: 20 12 14 16 18 24 -#0030:code3: 20 12 14 16 18 24 -#0042:code4: 23 15 17 19 21 27 -#0030:code3: 23 15 17 19 21 27 -#0042:code4: 26 18 20 22 24 30 -#0030:code3: 26 18 20 22 24 30 -#0042:code4: 29 21 23 25 27 33 -#0030:code3: 29 21 23 25 27 33 -#0042:code4: 32 24 26 28 30 36 -#0030:code3: 24 26 32 30 36 28 -#0042:code4: 27 29 35 33 39 31 -#0030:code3: 27 29 35 33 39 31 -#0042:code4: 30 32 38 36 42 34 -#0030:code3: 32 38 30 42 34 36 -#0042:code4: 35 41 33 45 37 39 -#0030:code3: 41 33 35 37 39 45 -#0042:code4: 44 36 38 40 42 48 -#0042:code4: 45 38 39 43 45 51 -#0042:code4: 46 40 40 46 48 54 -#0042:code4: 47 42 41 49 51 57 -#0042:code4: 48 44 42 52 54 60 -#0042:code4: 49 46 43 55 57 63 -#0042:code4: 50 48 44 58 60 66 -#0083:main end. +#0017:main0 1 start. +#0073:code1: 1 +#0087:main continue. +#0017:main0 0 start. +#0073:code1: 0 +#0035:code3: 0 1 2 3 4 5 +#0035:code3: 1 1 2 3 4 5 +#0035:code3: 2 1 2 3 4 5 +#0035:code3: 3 1 2 3 4 5 +#0035:code3: 4 1 2 3 4 5 +#0035:code3: 5 1 2 3 4 5 +#0035:code3: 6 1 2 3 4 5 +#0035:code3: 7 1 2 3 4 5 +#0035:code3: 8 1 2 3 4 5 +#0035:code3: 9 1 2 3 4 5 +#0035:code3: 10 1 2 3 4 5 +#0047:code4: 13 4 5 6 7 8 +#0035:code3: 17 9 11 13 15 21 +#0047:code4: 20 12 14 16 18 24 +#0035:code3: 20 12 14 16 18 24 +#0047:code4: 23 15 17 19 21 27 +#0035:code3: 23 15 17 19 21 27 +#0047:code4: 26 18 20 22 24 30 +#0035:code3: 26 18 20 22 24 30 +#0047:code4: 29 21 23 25 27 33 +#0035:code3: 29 21 23 25 27 33 +#0047:code4: 32 24 26 28 30 36 +#0035:code3: 24 26 32 30 36 28 +#0047:code4: 27 29 35 33 39 31 +#0035:code3: 27 29 35 33 39 31 +#0047:code4: 30 32 38 36 42 34 +#0035:code3: 32 38 30 42 34 36 +#0047:code4: 35 41 33 45 37 39 +#0035:code3: 41 33 35 37 39 45 +#0047:code4: 44 36 38 40 42 48 +#0047:code4: 45 38 39 43 45 51 +#0047:code4: 46 40 40 46 48 54 +#0047:code4: 47 42 41 49 51 57 +#0047:code4: 48 44 42 52 54 60 +#0047:code4: 49 46 43 55 57 63 +#0047:code4: 50 48 44 58 60 66 +#0089:main end.
--- a/test/tmp2.code-out Thu Nov 18 21:25:30 2010 +0900 +++ b/test/tmp2.code-out Thu Nov 18 21:39:55 2010 +0900 @@ -1,4 +1,4 @@ -2: ./a.out -3: ./a.out -4: ./a.out -1: ./a.out 1234 +#0021:2: ./a.out +#0032:3: ./a.out +#0041:4: ./a.out +#0012:1: ./a.out 1234
--- a/test/tmp4.code-out Thu Nov 18 21:25:30 2010 +0900 +++ b/test/tmp4.code-out Thu Nov 18 21:39:55 2010 +0900 @@ -1,6 +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 +#0025:2: a.out +#0037:3: i=123 j=456 k=789 av[0]=a.out p=a.out +#0047:4: a.out +#0057:5: a.out +#0058:5: i=123 j=456 k=789 +#0012:1: a.out 1234
--- a/test/tmp6.code-out Thu Nov 18 21:25:30 2010 +0900 +++ b/test/tmp6.code-out Thu Nov 18 21:39:55 2010 +0900 @@ -1,6 +1,6 @@ -#0012:a used. -#0033:2: av=1 av[0]=1 test1 -#0047:code0 -#0059:4: test1 -#0071:5: test1 -#0072:5: i=123 j=456 k=2 av=1 +#0015:a used. +#0036:2: av=1 av[0]=1 test1 +#0050:code0 +#0062:4: test1 +#0074:5: test1 +#0075:5: i=123 j=456 k=2 av=1
--- a/test/tmpa.code-out Thu Nov 18 21:25:30 2010 +0900 +++ b/test/tmpa.code-out Thu Nov 18 21:39:55 2010 +0900 @@ -1,3 +1,3 @@ -#0011:charno:5 x,y:50.000000,30.000000 hp:100 -#0042:0 0 -#0023:15 +#0014:charno:5 x,y:50.000000,30.000000 hp:100 +#0045:0 0 +#0026:15
--- a/test/tmpb.code-out Thu Nov 18 21:25:30 2010 +0900 +++ b/test/tmpb.code-out Thu Nov 18 21:39:55 2010 +0900 @@ -1,4 +1,4 @@ -1 2 -1504 -1 2 -17890483 -1 2 -1504 -1 2 -17890483 +#0050:1 2 -1504 +#0060:1 2 -17890483 +#0050:1 2 -1504 +#0060:1 2 -17890483
--- a/test/too-long-argument.code-out Thu Nov 18 21:25:30 2010 +0900 +++ b/test/too-long-argument.code-out Thu Nov 18 21:39:55 2010 +0900 @@ -1,8 +1,8 @@ -#0089:main4 -tcode2: f1=0,f2=1,f3=2,f4=3,f5=4,f6=5,f7=6,f8=7,f9=8,fa=9,fb=10,fc=11,fd=12,fe=13,ff=14 -#0091:main2 -tcode1: f1=0,f2=1,f3=2,f4=3,f5=4,f6=5,f7=6,f8=7,f9=8,fa=9,fb=10,fc=11,fd=12,fe=13,ff=14 -#0093:main0 -tcode2: f1=0,f2=1,f3=2,f4=3,f5=4,f6=5,f7=6,f8=7,f9=8,fa=9,fb=10,fc=11,fd=12,fe=13,ff=14 -#0095:main1 -tcode1: f1=0,f2=1,f3=2,f4=3,f5=4,f6=5,f7=6,f8=7,f9=8,fa=9,fb=10,fc=11,fd=12,fe=13,ff=14 +#0092:main4 +#0017:tcode2: f1=0,f2=1,f3=2,f4=3,f5=4,f6=5,f7=6,f8=7,f9=8,fa=9,fb=10,fc=11,fd=12,fe=13,ff=14 +#0094:main2 +#0028:tcode1: f1=0,f2=1,f3=2,f4=3,f5=4,f6=5,f7=6,f8=7,f9=8,fa=9,fb=10,fc=11,fd=12,fe=13,ff=14 +#0096:main0 +#0017:tcode2: f1=0,f2=1,f3=2,f4=3,f5=4,f6=5,f7=6,f8=7,f9=8,fa=9,fb=10,fc=11,fd=12,fe=13,ff=14 +#0098:main1 +#0028:tcode1: f1=0,f2=1,f3=2,f4=3,f5=4,f6=5,f7=6,f8=7,f9=8,fa=9,fb=10,fc=11,fd=12,fe=13,ff=14