annotate test/too-long-argument.c @ 569:1fcad06b264a

gcc4 (ia32)
author kono
date Thu, 12 Jan 2006 01:54:14 +0900
parents 2f577690bcfb
children a4445cb1aa91
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
520
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
1 #include <stdio.h>
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
2
524
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
3 #undef WRONGNUMBER
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
4
521
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
5 typedef code
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
6 (*CCC)( int f1,int f2,int f3,int f4,int f5,int f6,int f7,int f8,int f9,int fa,int fb,int fc,int fd,int fe,int ff,
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
7 code(*ret)(int),
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
8 void *env);
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
9
520
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
10 code
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
11 tcode2( int f1,int f2,int f3,int f4,int f5,int f6,int f7,int f8,int f9,int fa,int fb,int fc,int fd,int fe,int ff,
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
12 code(*ret)(int),
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
13 void *env)
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
14 {
545
2f577690bcfb *** empty log message ***
kono
parents: 542
diff changeset
15 fprintf(stdout,"tcode2: f1=%d,f2=%d,f3=%d,f4=%d,f5=%d,f6=%d,f7=%d,f8=%d,f9=%d,fa=%d,fb=%d,fc=%d,fd=%d,fe=%d,ff=%d\n",
520
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
16 f1,f2,f3,f4,f5,f6,f7,f8,f9,fa,fb,fc,fd,fe,ff);
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
17 goto ret(0),env;
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
18 }
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
19
519
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
20 code
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
21 tcode1(f1,f2,f3,f4,f5,f6,f7,f8,f9,fa,fb,fc,fd,fe,ff,ret,env)
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
22 int f1,f2,f3,f4,f5,f6,f7,f8,f9,fa,fb,fc,fd,fe,ff;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
23 code(*ret)(int);
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
24 void *env;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
25 {
545
2f577690bcfb *** empty log message ***
kono
parents: 542
diff changeset
26 fprintf(stdout,"tcode1: f1=%d,f2=%d,f3=%d,f4=%d,f5=%d,f6=%d,f7=%d,f8=%d,f9=%d,fa=%d,fb=%d,fc=%d,fd=%d,fe=%d,ff=%d\n",
520
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
27 f1,f2,f3,f4,f5,f6,f7,f8,f9,fa,fb,fc,fd,fe,ff);
519
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
28 goto ret(0),env;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
29 }
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
30
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
31 code
521
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
32 tcode4(int x,int y,CCC junction,code(*ret)(int),void *env)
519
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
33 {
524
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
34 #ifdef WRONGNUMBER
523
009289571b54 *** empty log message ***
kono
parents: 521
diff changeset
35 goto junction(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,ret,env);
524
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
36 #else
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
37 goto junction(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,ret,env);
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
38 #endif
521
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
39 }
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
40
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
41 code
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
42 tcode0(int x,int y,code(*junction)(int,int,int,int,int,int,int,int,int,int,int,int,int,int,int,code(*)(int),void *),code(*ret)(int),void *env)
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
43 {
524
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
44 #ifdef WRONGNUMBER
523
009289571b54 *** empty log message ***
kono
parents: 521
diff changeset
45 goto junction(0,1,2,3,4,5,6,7,8,9,10,11,12,13,ret,env);
524
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
46 #else
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
47 goto junction(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,ret,env);
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
48 #endif
519
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
49 }
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
50
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
51 int
520
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
52 main0()
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
53 {
524
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
54 #ifdef WRONGNUMBER
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
55 goto tcode2(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
56 return,environment);
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
57 #else
521
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
58 goto tcode2(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,
520
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
59 return,environment);
524
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
60 #endif
520
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
61 }
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
62
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
63 int
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
64 main1()
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
65 {
524
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
66 #ifdef WRONGNUMBER
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
67 goto tcode1(0,1,2,3,4,5,6,7,8,9,10,11,12,13,
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
68 return,environment);
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
69 #else
521
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
70 goto tcode1(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,
520
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
71 return,environment);
524
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
72 #endif
520
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
73 }
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
74
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
75 int
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
76 main2()
519
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
77 {
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
78 goto tcode0(0,1,tcode1,return,environment);
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
79 }
520
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
80
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
81 int
521
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
82 main4()
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
83 {
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
84 goto tcode4(0,1,tcode2,return,environment);
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
85 }
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
86
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
87 int
520
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
88 main()
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
89 {
542
492f06738550 working... (struct init fix)
kono
parents: 537
diff changeset
90 printf("#0089:main4\n");
521
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
91 main4();
542
492f06738550 working... (struct init fix)
kono
parents: 537
diff changeset
92 printf("#0091:main2\n");
521
15c17f799404 *** empty log message ***
kono
parents: 520
diff changeset
93 main2();
542
492f06738550 working... (struct init fix)
kono
parents: 537
diff changeset
94 printf("#0093:main0\n");
520
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
95 main0();
542
492f06738550 working... (struct init fix)
kono
parents: 537
diff changeset
96 printf("#0095:main1\n");
520
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
97 main1();
c562d1681275 *** empty log message ***
kono
parents: 519
diff changeset
98 }
524
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
99
135afeb2e134 inline first work. no constant propagation.
kono
parents: 523
diff changeset
100 //