Pristine Ack-5.5
[Ack-5.5.git] / lang / cem / ctest / Out2.std
1 Fri Nov 17 17:19:16 MET 1989
2 Compilation command: acc -mem24
3 Run command: em
4 ***** ctconv
5 compiling conv.c
6 "conv.c", line 38: (warning) overflow in constant expression
7 running conv.cem
8 comparing conv
9 14c14
10 <       char    -1, int     -1, unsigned 177777, long          -1
11 ---
12 >       char    -1, int     -1, unsigned 37777777777, long          -1
13 16c16
14 <       char    -1, int     -1, unsigned 177777, long          -1
15 ---
16 >       char    -1, int     -1, unsigned 37777777777, long          -1
17 19c19
18 <       char   -64, int    -64, unsigned 177700, long         -64
19 ---
20 >       char   -64, int    -64, unsigned 37777777700, long         -64
21 22c22
22 <       char    -3, int     -3, unsigned 177775, long          -3
23 ---
24 >       char    -3, int     -3, unsigned 37777777775, long          -3
25 25c25
26 <       char    -8, int 9464, unsigned short  22370, long       75000
27 ---
28 >       char    -8, int 75000, unsigned short  22370, long       75000
29 The following command caused the error:
30 if test -f conv.cem.g ; then diff conv.cem.r conv.cem.g ; else echo creating conv.cem.g ; cp conv.cem.r conv.cem.g ; fi
31 ***** ctdecl
32 compiling decl.c
33 running decl.cem
34 comparing decl
35 ***** ctdivers
36 compiling ops.c
37 running ops.cem
38 comparing ops
39 21a22
40 >  u>>16      0
41 23,37c24,39
42 <  u<<1  121632
43 <  u<<2   43464
44 <  u<<3  107150
45 <  u<<4   16320
46 <  u<<5   34640
47 <  u<<6   71500
48 <  u<<7  163200
49 <  u<<8  146400
50 <  u<<9  115000
51 <  u<<10  32000
52 <  u<<11  64000
53 <  u<<12 150000
54 <  u<<13 120000
55 <  u<<14  40000
56 <  u<<15 100000
57 ---
58 >  u<<1  321632
59 >  u<<2  643464
60 >  u<<3  1507150
61 >  u<<4  3216320
62 >  u<<5  6434640
63 >  u<<6  15071500
64 >  u<<7  32163200
65 >  u<<8  64346400
66 >  u<<9  150715000
67 >  u<<10 321632000
68 >  u<<11 643464000
69 >  u<<12 1507150000
70 >  u<<13 3216320000
71 >  u<<14 6434640000
72 >  u<<15 15071500000
73 >  u<<16 32163200000
74 The following command caused the error:
75 if test -f ops.cem.g ; then diff ops.cem.r ops.cem.g ; else echo creating ops.cem.g ; cp ops.cem.r ops.cem.g ; fi
76 ***** cterr
77 compiling bugs.c
78 "bugs.c", line 88: (warning) overflow in constant expression
79 running bugs.cem
80 comparing bugs
81 ***** ctest1
82 compiling test.c
83 running test.cem
84 comparing test
85 ***** ctest2
86 compiling t7.c
87 running t7.cem
88 comparing t7
89 ***** ctest3
90 compiling test2.c
91 "test2.c", line 448: (warning) conversion of pointer to int loses accuracy
92 "test2.c", line 448: (warning) conversion of pointer to int loses accuracy
93 running test2.cem
94 comparing test2
95 ***** ctest5
96 compiling test1.c
97 "test1.c", line 375: (warning) incompatible pointers in =
98 "test1.c", line 376: (warning) incompatible pointers in =
99 "test1.c", line 377: (warning) incompatible pointers in =
100 "test1.c", line 389: (warning) incompatible pointers in =
101 "test1.c", line 412: (warning) incompatible pointers in =
102 "test1.c", line 413: (warning) incompatible pointers in =
103 "test1.c", line 414: (warning) incompatible pointers in =
104 "test1.c", line 426: (warning) incompatible pointers in =
105 running test1.cem
106 comparing test1
107 ***** ctgen
108 sed -f bf.sed <OPS >bf.c
109 compiling bf.c
110 running bf.cem
111 comparing bf
112 sed -f bfu.sed <OPS >bfu.c
113 compiling bfu.c
114 running bfu.cem
115 comparing bfu
116 sed -f cel.sed <OPS >cel.c
117 compiling cel.c
118 running cel.cem
119 comparing cel
120 sed -f clu.sed <OPS >clu.c
121 compiling clu.c
122 "clu.c", line 60: (warning) overflow in unsigned constant expression
123 "clu.c", line 66: (warning) overflow in unsigned constant expression
124 running clu.cem
125 comparing clu
126 23,25c23,25
127 < x = 40000  -25536
128 < x += 40000  -25526
129 < x -= 40000  25546
130 ---
131 > x = 40000  40000
132 > x += 40000  40010
133 > x -= 40000  -39990
134 28c28
135 < x *= 40000  6784
136 ---
137 > x *= 40000  400000
138 30,31c30,31
139 < x |= 40000  -25526
140 < x ^= 40000  -25526
141 ---
142 > x |= 40000  40010
143 > x ^= 40000  40010
144 38c38
145 < y = ( 40000 + 8012 ) -17524
146 ---
147 > y = ( 40000 + 8012 ) 48012
148 42c42
149 < y = ( 40000 * 8012 ) 8960
150 ---
151 > y = ( 40000 * 8012 ) 320480000
152 44,45c44,45
153 < y = ( 40000 | 8012 ) -24756
154 < y = ( 40000 ^ 8012 ) -31988
155 ---
156 > y = ( 40000 | 8012 ) 40780
157 > y = ( 40000 ^ 8012 ) 33548
158 48c48
159 < y = ( 40000 << 9 ) -32768
160 ---
161 > y = ( 40000 << 9 ) 20480000
162 50c50
163 < y = ( -40000  ) 25536
164 ---
165 > y = ( -40000  ) -40000
166 52c52
167 < y = ( ~40000  ) 25535
168 ---
169 > y = ( ~40000  ) -40001
170 59,62c59,62
171 < y = ( 40000 ? 40000 : 8012 ) -25536
172 < y = ( x = 40000  ) -25536 -25536
173 < y = ( x += 40000  ) -25526 -25526
174 < y = ( x -= 40000  ) 25546 25546
175 ---
176 > y = ( 40000 ? 40000 : 8012 ) 40000
177 > y = ( x = 40000  ) 40000 40000
178 > y = ( x += 40000  ) 40010 40010
179 > y = ( x -= 40000  ) -39990 -39990
180 65c65
181 < y = ( x *= 40000  ) 6784 6784
182 ---
183 > y = ( x *= 40000  ) 400000 400000
184 67,68c67,68
185 < y = ( x |= 40000  ) -25526 -25526
186 < y = ( x ^= 40000  ) -25526 -25526
187 ---
188 > y = ( x |= 40000  ) 40010 40010
189 > y = ( x ^= 40000  ) 40010 40010
190 97,99c97,99
191 < yes if ( x = 40000  ) yes() ; else no() -25536
192 < yes if ( x += 40000  ) yes() ; else no() -25526
193 < yes if ( x -= 40000  ) yes() ; else no() 25546
194 ---
195 > yes if ( x = 40000  ) yes() ; else no() 40000
196 > yes if ( x += 40000  ) yes() ; else no() 40010
197 > yes if ( x -= 40000  ) yes() ; else no() -39990
198 102c102
199 < yes if ( x *= 40000  ) yes() ; else no() 6784
200 ---
201 > yes if ( x *= 40000  ) yes() ; else no() 400000
202 104,105c104,105
203 < yes if ( x |= 40000  ) yes() ; else no() -25526
204 < yes if ( x ^= 40000  ) yes() ; else no() -25526
205 ---
206 > yes if ( x |= 40000  ) yes() ; else no() 40010
207 > yes if ( x ^= 40000  ) yes() ; else no() 40010
208 The following command caused the error:
209 if test -f clu.cem.g ; then diff clu.cem.r clu.cem.g ; else echo creating clu.cem.g ; cp clu.cem.r clu.cem.g ; fi
210 sed -f ec.sed <OPS >ec.c
211 compiling ec.c
212 "ec.c", line 58: (warning) overflow in constant expression
213 "ec.c", line 64: (warning) overflow in constant expression
214 running ec.cem
215 comparing ec
216 sed -f ef.sed <OPS >ef.c
217 compiling ef.c
218 running ef.cem
219 comparing ef
220 sed -f ei.sed <OPS >ei.c
221 compiling ei.c
222 "ei.c", line 22: (warning) overflow in constant expression
223 "ei.c", line 65: (warning) overflow in constant expression
224 "ei.c", line 108: (warning) overflow in constant expression
225 running ei.cem
226 comparing ei
227 32c32
228 < x <<= 15 -32768
229 ---
230 > x <<= 15 8355840
231 48c48
232 < y = ( 4 << 15 ) 0
233 ---
234 > y = ( 4 << 15 ) 131072
235 69c69
236 < y = ( x <<= 15 ) -32768 -32768
237 ---
238 > y = ( x <<= 15 ) 8355840 8355840
239 85c85
240 < no if ( 4 << 15 ) yes() ; else no()
241 ---
242 > yes if ( 4 << 15 ) yes() ; else no()
243 106c106
244 < yes if ( x <<= 15 ) yes() ; else no() -32768
245 ---
246 > yes if ( x <<= 15 ) yes() ; else no() 8355840
247 The following command caused the error:
248 if test -f ei.cem.g ; then diff ei.cem.r ei.cem.g ; else echo creating ei.cem.g ; cp ei.cem.r ei.cem.g ; fi
249 sed -f el.sed <OPS >el.c
250 compiling el.c
251 running el.cem
252 comparing el
253 sed -f eu.sed <OPS >eu.c
254 compiling eu.c
255 "eu.c", line 58: (warning) overflow in unsigned constant expression
256 "eu.c", line 64: (warning) overflow in unsigned constant expression
257 running eu.cem
258 comparing eu
259 23,25c23,25
260 < x = 40000  -25536
261 < x += 40000  -25526
262 < x -= 40000  25546
263 ---
264 > x = 40000  40000
265 > x += 40000  40010
266 > x -= 40000  -39990
267 28c28
268 < x *= 40000  6784
269 ---
270 > x *= 40000  400000
271 30,31c30,31
272 < x |= 40000  -25526
273 < x ^= 40000  -25526
274 ---
275 > x |= 40000  40010
276 > x ^= 40000  40010
277 38c38
278 < y = ( 40000 + 8012 ) -17524
279 ---
280 > y = ( 40000 + 8012 ) 48012
281 42c42
282 < y = ( 40000 * 8012 ) 8960
283 ---
284 > y = ( 40000 * 8012 ) 320480000
285 44,45c44,45
286 < y = ( 40000 | 8012 ) -24756
287 < y = ( 40000 ^ 8012 ) -31988
288 ---
289 > y = ( 40000 | 8012 ) 40780
290 > y = ( 40000 ^ 8012 ) 33548
291 48c48
292 < y = ( 40000 << 9 ) -32768
293 ---
294 > y = ( 40000 << 9 ) 20480000
295 50c50
296 < y = ( -40000  ) 25536
297 ---
298 > y = ( -40000  ) -40000
299 52c52
300 < y = ( ~40000  ) 25535
301 ---
302 > y = ( ~40000  ) -40001
303 59,62c59,62
304 < y = ( 40000 ? 40000 : 8012 ) -25536
305 < y = ( x = 40000  ) -25536 -25536
306 < y = ( x += 40000  ) -25526 -25526
307 < y = ( x -= 40000  ) 25546 25546
308 ---
309 > y = ( 40000 ? 40000 : 8012 ) 40000
310 > y = ( x = 40000  ) 40000 40000
311 > y = ( x += 40000  ) 40010 40010
312 > y = ( x -= 40000  ) -39990 -39990
313 65c65
314 < y = ( x *= 40000  ) 6784 6784
315 ---
316 > y = ( x *= 40000  ) 400000 400000
317 67,68c67,68
318 < y = ( x |= 40000  ) -25526 -25526
319 < y = ( x ^= 40000  ) -25526 -25526
320 ---
321 > y = ( x |= 40000  ) 40010 40010
322 > y = ( x ^= 40000  ) 40010 40010
323 97,99c97,99
324 < yes if ( x = 40000  ) yes() ; else no() -25536
325 < yes if ( x += 40000  ) yes() ; else no() -25526
326 < yes if ( x -= 40000  ) yes() ; else no() 25546
327 ---
328 > yes if ( x = 40000  ) yes() ; else no() 40000
329 > yes if ( x += 40000  ) yes() ; else no() 40010
330 > yes if ( x -= 40000  ) yes() ; else no() -39990
331 102c102
332 < yes if ( x *= 40000  ) yes() ; else no() 6784
333 ---
334 > yes if ( x *= 40000  ) yes() ; else no() 400000
335 104,105c104,105
336 < yes if ( x |= 40000  ) yes() ; else no() -25526
337 < yes if ( x ^= 40000  ) yes() ; else no() -25526
338 ---
339 > yes if ( x |= 40000  ) yes() ; else no() 40010
340 > yes if ( x ^= 40000  ) yes() ; else no() 40010
341 The following command caused the error:
342 if test -f eu.cem.g ; then diff eu.cem.r eu.cem.g ; else echo creating eu.cem.g ; cp eu.cem.r eu.cem.g ; fi
343 sed -f id.sed <OPS >id.c
344 compiling id.c
345 running id.cem
346 comparing id
347 sed -f lc.sed <OPS >lc.c
348 compiling lc.c
349 "lc.c", line 60: (warning) overflow in constant expression
350 "lc.c", line 66: (warning) overflow in constant expression
351 running lc.cem
352 comparing lc
353 sed -f ld.sed <OPS >ld.c
354 compiling ld.c
355 running ld.cem
356 comparing ld
357 sed -f lf.sed <OPS >lf.c
358 compiling lf.c
359 running lf.cem
360 comparing lf
361 sed -f li.sed <OPS >li.c
362 compiling li.c
363 "li.c", line 22: (warning) overflow in constant expression
364 "li.c", line 67: (warning) overflow in constant expression
365 "li.c", line 112: (warning) overflow in constant expression
366 running li.cem
367 comparing li
368 32c32
369 < x <<= 15 -32768
370 ---
371 > x <<= 15 8355840
372 48c48
373 < y = ( 4 << 15 ) 0
374 ---
375 > y = ( 4 << 15 ) 131072
376 69c69
377 < y = ( x <<= 15 ) -32768 -32768
378 ---
379 > y = ( x <<= 15 ) 8355840 8355840
380 85c85
381 < no if ( 4 << 15 ) yes() ; else no()
382 ---
383 > yes if ( 4 << 15 ) yes() ; else no()
384 106c106
385 < yes if ( x <<= 15 ) yes() ; else no() -32768
386 ---
387 > yes if ( x <<= 15 ) yes() ; else no() 8355840
388 The following command caused the error:
389 if test -f li.cem.g ; then diff li.cem.r li.cem.g ; else echo creating li.cem.g ; cp li.cem.r li.cem.g ; fi
390 sed -f ll.sed <OPS >ll.c
391 compiling ll.c
392 running ll.cem
393 comparing ll
394 sed -f lu.sed <OPS >lu.c
395 compiling lu.c
396 running lu.cem
397 comparing lu
398 23,25c23,25
399 < z = x  -25302
400 < z += x  -25292
401 < z -= x  25312
402 ---
403 > z = x  40234
404 > z += x  40244
405 > z -= x  -40224
406 28c28
407 < z *= x  9124
408 ---
409 > z *= x  402340
410 30,31c30,31
411 < z |= x  -25302
412 < z ^= x  -25312
413 ---
414 > z |= x  40234
415 > z ^= x  40224
416 38c38
417 < y = ( x + 8012 ) -17290
418 ---
419 > y = ( x + 8012 ) 48246
420 42c42
421 < y = ( x * 8012 ) -16776
422 ---
423 > y = ( x * 8012 ) 322354808
424 44,45c44,45
425 < y = ( x | 8012 ) -24722
426 < y = ( x ^ 8012 ) -32154
427 ---
428 > y = ( x | 8012 ) 40814
429 > y = ( x ^ 8012 ) 33382
430 48c48
431 < y = ( x << 9 ) 21504
432 ---
433 > y = ( x << 9 ) 20599808
434 50c50
435 < y = ( -x  ) 25302
436 ---
437 > y = ( -x  ) -40234
438 52c52
439 < y = ( ~x  ) 25301
440 ---
441 > y = ( ~x  ) -40235
442 59,62c59,62
443 < y = ( x ? x : 8012 ) -25302
444 < y = ( z = x  ) -25302 -25302
445 < y = ( z += x  ) -25292 -25292
446 < y = ( z -= x  ) 25312 25312
447 ---
448 > y = ( x ? x : 8012 ) 40234
449 > y = ( z = x  ) 40234 40234
450 > y = ( z += x  ) 40244 40244
451 > y = ( z -= x  ) -40224 -40224
452 65c65
453 < y = ( z *= x  ) 9124 9124
454 ---
455 > y = ( z *= x  ) 402340 402340
456 67,68c67,68
457 < y = ( z |= x  ) -25302 -25302
458 < y = ( z ^= x  ) -25312 -25312
459 ---
460 > y = ( z |= x  ) 40234 40234
461 > y = ( z ^= x  ) 40224 40224
462 97,99c97,99
463 < yes if ( z = x  ) yes() ; else no() -25302
464 < yes if ( z += x  ) yes() ; else no() -25292
465 < yes if ( z -= x  ) yes() ; else no() 25312
466 ---
467 > yes if ( z = x  ) yes() ; else no() 40234
468 > yes if ( z += x  ) yes() ; else no() 40244
469 > yes if ( z -= x  ) yes() ; else no() -40224
470 102c102
471 < yes if ( z *= x  ) yes() ; else no() 9124
472 ---
473 > yes if ( z *= x  ) yes() ; else no() 402340
474 104,105c104,105
475 < yes if ( z |= x  ) yes() ; else no() -25302
476 < yes if ( z ^= x  ) yes() ; else no() -25312
477 ---
478 > yes if ( z |= x  ) yes() ; else no() 40234
479 > yes if ( z ^= x  ) yes() ; else no() 40224
480 The following command caused the error:
481 if test -f lu.cem.g ; then diff lu.cem.r lu.cem.g ; else echo creating lu.cem.g ; cp lu.cem.r lu.cem.g ; fi
482 ***** ctill
483 All program(s) in this directory should fail to compile.
484 compiling noarg.c
485 "noarg.c", line 14: name not in parameter list
486 *** Error code 1
487 The following command caused the error:
488 acc -mem24 -o noarg.cem  noarg.c 1>/dev/null
489 make: Warning: Target `gen' not remade because of errors
490 ***** ctinit
491 compiling init.c
492 running init.cem
493 comparing init
494 110c110
495 < sizeof stb 6
496 ---
497 > sizeof stb 8
498 The following command caused the error:
499 if test -f init.cem.g ; then diff init.cem.r init.cem.g ; else echo creating init.cem.g ; cp init.cem.r init.cem.g ; fi
500 ***** ctmargt
501 compiling margt.c
502 running margt.cem
503 comparing margt
504 5c5
505 <       CEM=acc -mem24
506 ---
507 >       CEM=acc
508 11c11
509 <       RUN=em
510 ---
511 >       RUN=
512 The following command caused the error:
513 if test -f margt.cem.g ; then diff margt.cem.r margt.cem.g ; else echo creating margt.cem.g ; cp margt.cem.r margt.cem.g ; fi
514 ***** ctprof
515 test profiling
516 procentry.c
517 compiling tp.c procentry.m
518 tp.c
519 running tp.cem
520 comparing tp
521 ***** ctsetjmp
522 compiling stjmp.c
523 running stjmp.cem
524 comparing stjmp
525 ***** ctstruct
526 comparing str
527 ***** ctsys
528 compiling tfork.c
529 running tfork.cem
530 comparing tfork
531 Fri Nov 17 17:29:58 MET 1989