Pristine Ack-5.5
[Ack-5.5.git] / lang / cem / ctest / Out2.nf.std
1 Mon Nov 20 09:09:28 MET 1989
2 Compilation command: acc -mem24 -DNOFLOAT
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 2a3,4
10 > (float) 12 = 12.000000
11 > (int) 3.14 = 3
12 11,12c13,17
13 <       char    -1, int     -1, unsigned 177777, long          -1
14 <       char    -1, int     -1, unsigned 177777, long          -1
15 ---
16 >                                       float 127.000000
17 >       char    -1, int     -1, unsigned 37777777777, long          -1
18 >                                       float -1.000000
19 >       char    -1, int     -1, unsigned 37777777777, long          -1
20 >                                       float -1.000000
21 14c19,20
22 <       char   -64, int    -64, unsigned 177700, long         -64
23 ---
24 >       char   -64, int    -64, unsigned 37777777700, long         -64
25 >                                       float -64.000000
26 16c22,23
27 <       char    -3, int     -3, unsigned 177775, long          -3
28 ---
29 >       char    -3, int     -3, unsigned 37777777775, long          -3
30 >                                       float -3.000000
31 18c25,30
32 <       char    -8, int 9464, unsigned short  22370, long       75000
33 ---
34 >       char    -8, int 75000, unsigned short  22370, long       75000
35 > From float
36 >       char   121, int    121, unsigned    171, long         121, float 121.500000
37 >       char     0, int      0, unsigned      0, long           0, float 0.000100
38 >       int  32766, unsigned  77776, long       32766, float 32766.000000
39 >       long  1223432064, float 1223432064.000000
40 The following command caused the error:
41 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
42 ***** ctdecl
43 compiling decl.c
44 running decl.cem
45 comparing decl
46 ***** ctdivers
47 compiling ops.c
48 running ops.cem
49 comparing ops
50 21a22
51 >  u>>16      0
52 23,37c24,39
53 <  u<<1  121632
54 <  u<<2   43464
55 <  u<<3  107150
56 <  u<<4   16320
57 <  u<<5   34640
58 <  u<<6   71500
59 <  u<<7  163200
60 <  u<<8  146400
61 <  u<<9  115000
62 <  u<<10  32000
63 <  u<<11  64000
64 <  u<<12 150000
65 <  u<<13 120000
66 <  u<<14  40000
67 <  u<<15 100000
68 ---
69 >  u<<1  321632
70 >  u<<2  643464
71 >  u<<3  1507150
72 >  u<<4  3216320
73 >  u<<5  6434640
74 >  u<<6  15071500
75 >  u<<7  32163200
76 >  u<<8  64346400
77 >  u<<9  150715000
78 >  u<<10 321632000
79 >  u<<11 643464000
80 >  u<<12 1507150000
81 >  u<<13 3216320000
82 >  u<<14 6434640000
83 >  u<<15 15071500000
84 >  u<<16 32163200000
85 The following command caused the error:
86 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
87 ***** cterr
88 compiling bugs.c
89 "bugs.c", line 88: (warning) overflow in constant expression
90 running bugs.cem
91 comparing bugs
92 ***** ctest1
93 compiling test.c
94 running test.cem
95 comparing test
96 1c1
97 < End of test program, 10 tests completed, 0 errors detected
98 ---
99 > End of test program, 11 tests completed, 0 errors detected
100 The following command caused the error:
101 if test -f test.cem.g ; then diff test.cem.r test.cem.g ; else echo creating test.cem.g ; cp test.cem.r test.cem.g ; fi
102 ***** ctest2
103 compiling t7.c
104 running t7.cem
105 comparing t7
106 ***** ctest3
107 compiling test2.c
108 "test2.c", line 448: (warning) conversion of pointer to int loses accuracy
109 "test2.c", line 448: (warning) conversion of pointer to int loses accuracy
110 running test2.cem
111 comparing test2
112 ***** ctest5
113 compiling test1.c
114 "test1.c", line 375: (warning) incompatible pointers in =
115 "test1.c", line 376: (warning) incompatible pointers in =
116 "test1.c", line 377: (warning) incompatible pointers in =
117 "test1.c", line 389: (warning) incompatible pointers in =
118 "test1.c", line 412: (warning) incompatible pointers in =
119 "test1.c", line 413: (warning) incompatible pointers in =
120 "test1.c", line 414: (warning) incompatible pointers in =
121 "test1.c", line 426: (warning) incompatible pointers in =
122 running test1.cem
123 comparing test1
124 0a1
125 > error 13 in test 11 
126 2c3
127 < 10 tests completed. Number of errors = 0
128 ---
129 > 11 tests completed. Number of errors = 1
130 The following command caused the error:
131 if test -f test1.cem.g ; then diff test1.cem.r test1.cem.g ; else echo creating test1.cem.g ; cp test1.cem.r test1.cem.g ; fi
132 ***** ctgen
133 sed -f bf.sed <OPS >bf.c
134 compiling bf.c
135 running bf.cem
136 comparing bf
137 sed -f bfu.sed <OPS >bfu.c
138 compiling bfu.c
139 running bfu.cem
140 comparing bfu
141 sed -f cel.sed <OPS >cel.c
142 compiling cel.c
143 running cel.cem
144 comparing cel
145 sed -f clu.sed <OPS >clu.c
146 compiling clu.c
147 "clu.c", line 60: (warning) overflow in unsigned constant expression
148 "clu.c", line 66: (warning) overflow in unsigned constant expression
149 running clu.cem
150 comparing clu
151 23,25c23,25
152 < x = 40000  -25536
153 < x += 40000  -25526
154 < x -= 40000  25546
155 ---
156 > x = 40000  40000
157 > x += 40000  40010
158 > x -= 40000  -39990
159 28c28
160 < x *= 40000  6784
161 ---
162 > x *= 40000  400000
163 30,31c30,31
164 < x |= 40000  -25526
165 < x ^= 40000  -25526
166 ---
167 > x |= 40000  40010
168 > x ^= 40000  40010
169 38c38
170 < y = ( 40000 + 8012 ) -17524
171 ---
172 > y = ( 40000 + 8012 ) 48012
173 42c42
174 < y = ( 40000 * 8012 ) 8960
175 ---
176 > y = ( 40000 * 8012 ) 320480000
177 44,45c44,45
178 < y = ( 40000 | 8012 ) -24756
179 < y = ( 40000 ^ 8012 ) -31988
180 ---
181 > y = ( 40000 | 8012 ) 40780
182 > y = ( 40000 ^ 8012 ) 33548
183 48c48
184 < y = ( 40000 << 9 ) -32768
185 ---
186 > y = ( 40000 << 9 ) 20480000
187 50c50
188 < y = ( -40000  ) 25536
189 ---
190 > y = ( -40000  ) -40000
191 52c52
192 < y = ( ~40000  ) 25535
193 ---
194 > y = ( ~40000  ) -40001
195 59,62c59,62
196 < y = ( 40000 ? 40000 : 8012 ) -25536
197 < y = ( x = 40000  ) -25536 -25536
198 < y = ( x += 40000  ) -25526 -25526
199 < y = ( x -= 40000  ) 25546 25546
200 ---
201 > y = ( 40000 ? 40000 : 8012 ) 40000
202 > y = ( x = 40000  ) 40000 40000
203 > y = ( x += 40000  ) 40010 40010
204 > y = ( x -= 40000  ) -39990 -39990
205 65c65
206 < y = ( x *= 40000  ) 6784 6784
207 ---
208 > y = ( x *= 40000  ) 400000 400000
209 67,68c67,68
210 < y = ( x |= 40000  ) -25526 -25526
211 < y = ( x ^= 40000  ) -25526 -25526
212 ---
213 > y = ( x |= 40000  ) 40010 40010
214 > y = ( x ^= 40000  ) 40010 40010
215 97,99c97,99
216 < yes if ( x = 40000  ) yes() ; else no() -25536
217 < yes if ( x += 40000  ) yes() ; else no() -25526
218 < yes if ( x -= 40000  ) yes() ; else no() 25546
219 ---
220 > yes if ( x = 40000  ) yes() ; else no() 40000
221 > yes if ( x += 40000  ) yes() ; else no() 40010
222 > yes if ( x -= 40000  ) yes() ; else no() -39990
223 102c102
224 < yes if ( x *= 40000  ) yes() ; else no() 6784
225 ---
226 > yes if ( x *= 40000  ) yes() ; else no() 400000
227 104,105c104,105
228 < yes if ( x |= 40000  ) yes() ; else no() -25526
229 < yes if ( x ^= 40000  ) yes() ; else no() -25526
230 ---
231 > yes if ( x |= 40000  ) yes() ; else no() 40010
232 > yes if ( x ^= 40000  ) yes() ; else no() 40010
233 The following command caused the error:
234 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
235 sed -f ec.sed <OPS >ec.c
236 compiling ec.c
237 "ec.c", line 58: (warning) overflow in constant expression
238 "ec.c", line 64: (warning) overflow in constant expression
239 running ec.cem
240 comparing ec
241 sed -f ef.sed <OPS >ef.c
242 compiling ef.c
243 running ef.cem
244 comparing ef
245 0a1,72
246 > .4e-5 + .3e-5
247 > .4e-5 - .3e-5
248 > .4e-5 / .3e-5
249 > .4e-5 * .3e-5
250 > .4e-5 || .3e-5
251 > .4e-5 && .3e-5
252 > -.4e-5 
253 > !.4e-5 
254 > .4e-5 == .3e-5
255 > .4e-5 != .3e-5
256 > .4e-5 <= .3e-5
257 > .4e-5 >= .3e-5
258 > .4e-5 < .3e-5
259 > .4e-5 > .3e-5
260 > .4e-5 ? .4e-5 : .3e-5
261 > x = .4e-5  4.000000e-06
262 > x += .4e-5  3.141504e+00
263 > x -= .4e-5  3.141496e+00
264 > x /= .4e-5  7.853750e+05
265 > x *= .4e-5  1.256600e-05
266 > x ++ 4.141500e+00
267 > x -- 2.141500e+00
268 > -- x 2.141500e+00
269 > ++ x 4.141500e+00
270 > y = ( .4e-5 + .3e-5 ) 7.000000e-06
271 > y = ( .4e-5 - .3e-5 ) 1.000000e-06
272 > y = ( .4e-5 / .3e-5 ) 1.333333e+00
273 > y = ( .4e-5 * .3e-5 ) 1.200000e-11
274 > y = ( .4e-5 || .3e-5 ) 1.000000e+00
275 > y = ( .4e-5 && .3e-5 ) 1.000000e+00
276 > y = ( -.4e-5  ) -4.000000e-06
277 > y = ( !.4e-5  ) 0.000000e+00
278 > y = ( .4e-5 == .3e-5 ) 0.000000e+00
279 > y = ( .4e-5 != .3e-5 ) 1.000000e+00
280 > y = ( .4e-5 <= .3e-5 ) 0.000000e+00
281 > y = ( .4e-5 >= .3e-5 ) 1.000000e+00
282 > y = ( .4e-5 < .3e-5 ) 0.000000e+00
283 > y = ( .4e-5 > .3e-5 ) 1.000000e+00
284 > y = ( .4e-5 ? .4e-5 : .3e-5 ) 4.000000e-06
285 > y = ( x = .4e-5  ) 4.000000e-06 4.000000e-06
286 > y = ( x += .4e-5  ) 3.141504e+00 3.141504e+00
287 > y = ( x -= .4e-5  ) 3.141496e+00 3.141496e+00
288 > y = ( x /= .4e-5  ) 7.853750e+05 7.853750e+05
289 > y = ( x *= .4e-5  ) 1.256600e-05 1.256600e-05
290 > y = ( x ++ ) 4.141500e+00 3.141500e+00
291 > y = ( x -- ) 2.141500e+00 3.141500e+00
292 > y = ( -- x ) 2.141500e+00 2.141500e+00
293 > y = ( ++ x ) 4.141500e+00 4.141500e+00
294 > yes if ( .4e-5 + .3e-5 ) yes() ; else no()
295 > yes if ( .4e-5 - .3e-5 ) yes() ; else no()
296 > yes if ( .4e-5 / .3e-5 ) yes() ; else no()
297 > yes if ( .4e-5 * .3e-5 ) yes() ; else no()
298 > yes if ( .4e-5 || .3e-5 ) yes() ; else no()
299 > yes if ( .4e-5 && .3e-5 ) yes() ; else no()
300 > yes if ( -.4e-5  ) yes() ; else no()
301 > no if ( !.4e-5  ) yes() ; else no()
302 > no if ( .4e-5 == .3e-5 ) yes() ; else no()
303 > yes if ( .4e-5 != .3e-5 ) yes() ; else no()
304 > no if ( .4e-5 <= .3e-5 ) yes() ; else no()
305 > yes if ( .4e-5 >= .3e-5 ) yes() ; else no()
306 > no if ( .4e-5 < .3e-5 ) yes() ; else no()
307 > yes if ( .4e-5 > .3e-5 ) yes() ; else no()
308 > yes if ( .4e-5 ? .4e-5 : .3e-5 ) yes() ; else no()
309 > yes if ( x = .4e-5  ) yes() ; else no() 4.000000e-06
310 > yes if ( x += .4e-5  ) yes() ; else no() 3.141504e+00
311 > yes if ( x -= .4e-5  ) yes() ; else no() 3.141496e+00
312 > yes if ( x /= .4e-5  ) yes() ; else no() 7.853750e+05
313 > yes if ( x *= .4e-5  ) yes() ; else no() 1.256600e-05
314 > yes if ( x ++ ) yes() ; else no() 4.141500e+00
315 > yes if ( x -- ) yes() ; else no() 2.141500e+00
316 > yes if ( -- x ) yes() ; else no() 2.141500e+00
317 > yes if ( ++ x ) yes() ; else no() 4.141500e+00
318 The following command caused the error:
319 if test -f ef.cem.g ; then diff ef.cem.r ef.cem.g ; else echo creating ef.cem.g ; cp ef.cem.r ef.cem.g ; fi
320 sed -f ei.sed <OPS >ei.c
321 compiling ei.c
322 "ei.c", line 22: (warning) overflow in constant expression
323 "ei.c", line 65: (warning) overflow in constant expression
324 "ei.c", line 108: (warning) overflow in constant expression
325 running ei.cem
326 comparing ei
327 32c32
328 < x <<= 15 -32768
329 ---
330 > x <<= 15 8355840
331 48c48
332 < y = ( 4 << 15 ) 0
333 ---
334 > y = ( 4 << 15 ) 131072
335 69c69
336 < y = ( x <<= 15 ) -32768 -32768
337 ---
338 > y = ( x <<= 15 ) 8355840 8355840
339 85c85
340 < no if ( 4 << 15 ) yes() ; else no()
341 ---
342 > yes if ( 4 << 15 ) yes() ; else no()
343 106c106
344 < yes if ( x <<= 15 ) yes() ; else no() -32768
345 ---
346 > yes if ( x <<= 15 ) yes() ; else no() 8355840
347 The following command caused the error:
348 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
349 sed -f el.sed <OPS >el.c
350 compiling el.c
351 running el.cem
352 comparing el
353 sed -f eu.sed <OPS >eu.c
354 compiling eu.c
355 "eu.c", line 58: (warning) overflow in unsigned constant expression
356 "eu.c", line 64: (warning) overflow in unsigned constant expression
357 running eu.cem
358 comparing eu
359 23,25c23,25
360 < x = 40000  -25536
361 < x += 40000  -25526
362 < x -= 40000  25546
363 ---
364 > x = 40000  40000
365 > x += 40000  40010
366 > x -= 40000  -39990
367 28c28
368 < x *= 40000  6784
369 ---
370 > x *= 40000  400000
371 30,31c30,31
372 < x |= 40000  -25526
373 < x ^= 40000  -25526
374 ---
375 > x |= 40000  40010
376 > x ^= 40000  40010
377 38c38
378 < y = ( 40000 + 8012 ) -17524
379 ---
380 > y = ( 40000 + 8012 ) 48012
381 42c42
382 < y = ( 40000 * 8012 ) 8960
383 ---
384 > y = ( 40000 * 8012 ) 320480000
385 44,45c44,45
386 < y = ( 40000 | 8012 ) -24756
387 < y = ( 40000 ^ 8012 ) -31988
388 ---
389 > y = ( 40000 | 8012 ) 40780
390 > y = ( 40000 ^ 8012 ) 33548
391 48c48
392 < y = ( 40000 << 9 ) -32768
393 ---
394 > y = ( 40000 << 9 ) 20480000
395 50c50
396 < y = ( -40000  ) 25536
397 ---
398 > y = ( -40000  ) -40000
399 52c52
400 < y = ( ~40000  ) 25535
401 ---
402 > y = ( ~40000  ) -40001
403 59,62c59,62
404 < y = ( 40000 ? 40000 : 8012 ) -25536
405 < y = ( x = 40000  ) -25536 -25536
406 < y = ( x += 40000  ) -25526 -25526
407 < y = ( x -= 40000  ) 25546 25546
408 ---
409 > y = ( 40000 ? 40000 : 8012 ) 40000
410 > y = ( x = 40000  ) 40000 40000
411 > y = ( x += 40000  ) 40010 40010
412 > y = ( x -= 40000  ) -39990 -39990
413 65c65
414 < y = ( x *= 40000  ) 6784 6784
415 ---
416 > y = ( x *= 40000  ) 400000 400000
417 67,68c67,68
418 < y = ( x |= 40000  ) -25526 -25526
419 < y = ( x ^= 40000  ) -25526 -25526
420 ---
421 > y = ( x |= 40000  ) 40010 40010
422 > y = ( x ^= 40000  ) 40010 40010
423 97,99c97,99
424 < yes if ( x = 40000  ) yes() ; else no() -25536
425 < yes if ( x += 40000  ) yes() ; else no() -25526
426 < yes if ( x -= 40000  ) yes() ; else no() 25546
427 ---
428 > yes if ( x = 40000  ) yes() ; else no() 40000
429 > yes if ( x += 40000  ) yes() ; else no() 40010
430 > yes if ( x -= 40000  ) yes() ; else no() -39990
431 102c102
432 < yes if ( x *= 40000  ) yes() ; else no() 6784
433 ---
434 > yes if ( x *= 40000  ) yes() ; else no() 400000
435 104,105c104,105
436 < yes if ( x |= 40000  ) yes() ; else no() -25526
437 < yes if ( x ^= 40000  ) yes() ; else no() -25526
438 ---
439 > yes if ( x |= 40000  ) yes() ; else no() 40010
440 > yes if ( x ^= 40000  ) yes() ; else no() 40010
441 The following command caused the error:
442 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
443 sed -f id.sed <OPS >id.c
444 compiling id.c
445 running id.cem
446 comparing id
447 0a1,72
448 > (-40) + 300
449 > (-40) - 300
450 > (-40) / 300
451 > (-40) * 300
452 > (-40) || 300
453 > (-40) && 300
454 > -(-40) 
455 > !(-40) 
456 > (-40) == 300
457 > (-40) != 300
458 > (-40) <= 300
459 > (-40) >= 300
460 > (-40) < 300
461 > (-40) > 300
462 > (-40) ? (-40) : 300
463 > x = (-40)  -4.000000e+01
464 > x += (-40)  -3.685850e+01
465 > x -= (-40)  4.314150e+01
466 > x /= (-40)  -7.853750e-02
467 > x *= (-40)  -1.256600e+02
468 > x ++ 4.141500e+00
469 > x -- 2.141500e+00
470 > -- x 2.141500e+00
471 > ++ x 4.141500e+00
472 > y = ( (-40) + 300 ) 260
473 > y = ( (-40) - 300 ) -340
474 > y = ( (-40) / 300 ) 0
475 > y = ( (-40) * 300 ) -12000
476 > y = ( (-40) || 300 ) 1
477 > y = ( (-40) && 300 ) 1
478 > y = ( -(-40)  ) 40
479 > y = ( !(-40)  ) 0
480 > y = ( (-40) == 300 ) 0
481 > y = ( (-40) != 300 ) 1
482 > y = ( (-40) <= 300 ) 1
483 > y = ( (-40) >= 300 ) 0
484 > y = ( (-40) < 300 ) 1
485 > y = ( (-40) > 300 ) 0
486 > y = ( (-40) ? (-40) : 300 ) -40
487 > y = ( x = (-40)  ) -4.000000e+01 -40
488 > y = ( x += (-40)  ) -3.685850e+01 -36
489 > y = ( x -= (-40)  ) 4.314150e+01 43
490 > y = ( x /= (-40)  ) -7.853750e-02 0
491 > y = ( x *= (-40)  ) -1.256600e+02 -125
492 > y = ( x ++ ) 4.141500e+00 3
493 > y = ( x -- ) 2.141500e+00 3
494 > y = ( -- x ) 2.141500e+00 2
495 > y = ( ++ x ) 4.141500e+00 4
496 > yes if ( (-40) + 300 ) yes() ; else no()
497 > yes if ( (-40) - 300 ) yes() ; else no()
498 > no if ( (-40) / 300 ) yes() ; else no()
499 > yes if ( (-40) * 300 ) yes() ; else no()
500 > yes if ( (-40) || 300 ) yes() ; else no()
501 > yes if ( (-40) && 300 ) yes() ; else no()
502 > yes if ( -(-40)  ) yes() ; else no()
503 > no if ( !(-40)  ) yes() ; else no()
504 > no if ( (-40) == 300 ) yes() ; else no()
505 > yes if ( (-40) != 300 ) yes() ; else no()
506 > yes if ( (-40) <= 300 ) yes() ; else no()
507 > no if ( (-40) >= 300 ) yes() ; else no()
508 > yes if ( (-40) < 300 ) yes() ; else no()
509 > no if ( (-40) > 300 ) yes() ; else no()
510 > yes if ( (-40) ? (-40) : 300 ) yes() ; else no()
511 > yes if ( x = (-40)  ) yes() ; else no() -4.000000e+01
512 > yes if ( x += (-40)  ) yes() ; else no() -3.685850e+01
513 > yes if ( x -= (-40)  ) yes() ; else no() 4.314150e+01
514 > yes if ( x /= (-40)  ) yes() ; else no() -7.853750e-02
515 > yes if ( x *= (-40)  ) yes() ; else no() -1.256600e+02
516 > yes if ( x ++ ) yes() ; else no() 4.141500e+00
517 > yes if ( x -- ) yes() ; else no() 2.141500e+00
518 > yes if ( -- x ) yes() ; else no() 2.141500e+00
519 > yes if ( ++ x ) yes() ; else no() 4.141500e+00
520 The following command caused the error:
521 if test -f id.cem.g ; then diff id.cem.r id.cem.g ; else echo creating id.cem.g ; cp id.cem.r id.cem.g ; fi
522 sed -f lc.sed <OPS >lc.c
523 compiling lc.c
524 "lc.c", line 60: (warning) overflow in constant expression
525 "lc.c", line 66: (warning) overflow in constant expression
526 running lc.cem
527 comparing lc
528 sed -f ld.sed <OPS >ld.c
529 compiling ld.c
530 running ld.cem
531 comparing ld
532 0a1,72
533 > .4e-5 + .3e-5
534 > .4e-5 - .3e-5
535 > .4e-5 / .3e-5
536 > .4e-5 * .3e-5
537 > .4e-5 || .3e-5
538 > .4e-5 && .3e-5
539 > -.4e-5 
540 > !.4e-5 
541 > .4e-5 == .3e-5
542 > .4e-5 != .3e-5
543 > .4e-5 <= .3e-5
544 > .4e-5 >= .3e-5
545 > .4e-5 < .3e-5
546 > .4e-5 > .3e-5
547 > .4e-5 ? .4e-5 : .3e-5
548 > x = .4e-5  4.000000e-06
549 > x += .4e-5  3.141504e+00
550 > x -= .4e-5  3.141496e+00
551 > x /= .4e-5  7.853750e+05
552 > x *= .4e-5  1.256600e-05
553 > x ++ 4.141500e+00
554 > x -- 2.141500e+00
555 > -- x 2.141500e+00
556 > ++ x 4.141500e+00
557 > y = ( .4e-5 + .3e-5 ) 7.000000e-06
558 > y = ( .4e-5 - .3e-5 ) 1.000000e-06
559 > y = ( .4e-5 / .3e-5 ) 1.333333e+00
560 > y = ( .4e-5 * .3e-5 ) 1.200000e-11
561 > y = ( .4e-5 || .3e-5 ) 1.000000e+00
562 > y = ( .4e-5 && .3e-5 ) 1.000000e+00
563 > y = ( -.4e-5  ) -4.000000e-06
564 > y = ( !.4e-5  ) 0.000000e+00
565 > y = ( .4e-5 == .3e-5 ) 0.000000e+00
566 > y = ( .4e-5 != .3e-5 ) 1.000000e+00
567 > y = ( .4e-5 <= .3e-5 ) 0.000000e+00
568 > y = ( .4e-5 >= .3e-5 ) 1.000000e+00
569 > y = ( .4e-5 < .3e-5 ) 0.000000e+00
570 > y = ( .4e-5 > .3e-5 ) 1.000000e+00
571 > y = ( .4e-5 ? .4e-5 : .3e-5 ) 4.000000e-06
572 > y = ( x = .4e-5  ) 4.000000e-06 4.000000e-06
573 > y = ( x += .4e-5  ) 3.141504e+00 3.141504e+00
574 > y = ( x -= .4e-5  ) 3.141496e+00 3.141496e+00
575 > y = ( x /= .4e-5  ) 7.853750e+05 7.853750e+05
576 > y = ( x *= .4e-5  ) 1.256600e-05 1.256600e-05
577 > y = ( x ++ ) 4.141500e+00 3.141500e+00
578 > y = ( x -- ) 2.141500e+00 3.141500e+00
579 > y = ( -- x ) 2.141500e+00 2.141500e+00
580 > y = ( ++ x ) 4.141500e+00 4.141500e+00
581 > yes if ( .4e-5 + .3e-5 ) yes() ; else no()
582 > yes if ( .4e-5 - .3e-5 ) yes() ; else no()
583 > yes if ( .4e-5 / .3e-5 ) yes() ; else no()
584 > yes if ( .4e-5 * .3e-5 ) yes() ; else no()
585 > yes if ( .4e-5 || .3e-5 ) yes() ; else no()
586 > yes if ( .4e-5 && .3e-5 ) yes() ; else no()
587 > yes if ( -.4e-5  ) yes() ; else no()
588 > no if ( !.4e-5  ) yes() ; else no()
589 > no if ( .4e-5 == .3e-5 ) yes() ; else no()
590 > yes if ( .4e-5 != .3e-5 ) yes() ; else no()
591 > no if ( .4e-5 <= .3e-5 ) yes() ; else no()
592 > yes if ( .4e-5 >= .3e-5 ) yes() ; else no()
593 > no if ( .4e-5 < .3e-5 ) yes() ; else no()
594 > yes if ( .4e-5 > .3e-5 ) yes() ; else no()
595 > yes if ( .4e-5 ? .4e-5 : .3e-5 ) yes() ; else no()
596 > yes if ( x = .4e-5  ) yes() ; else no() 4.000000e-06
597 > yes if ( x += .4e-5  ) yes() ; else no() 3.141504e+00
598 > yes if ( x -= .4e-5  ) yes() ; else no() 3.141496e+00
599 > yes if ( x /= .4e-5  ) yes() ; else no() 7.853750e+05
600 > yes if ( x *= .4e-5  ) yes() ; else no() 1.256600e-05
601 > yes if ( x ++ ) yes() ; else no() 4.141500e+00
602 > yes if ( x -- ) yes() ; else no() 2.141500e+00
603 > yes if ( -- x ) yes() ; else no() 2.141500e+00
604 > yes if ( ++ x ) yes() ; else no() 4.141500e+00
605 The following command caused the error:
606 if test -f ld.cem.g ; then diff ld.cem.r ld.cem.g ; else echo creating ld.cem.g ; cp ld.cem.r ld.cem.g ; fi
607 sed -f lf.sed <OPS >lf.c
608 compiling lf.c
609 running lf.cem
610 comparing lf
611 0a1,72
612 > .4e-5 + .3e-5
613 > .4e-5 - .3e-5
614 > .4e-5 / .3e-5
615 > .4e-5 * .3e-5
616 > .4e-5 || .3e-5
617 > .4e-5 && .3e-5
618 > -.4e-5 
619 > !.4e-5 
620 > .4e-5 == .3e-5
621 > .4e-5 != .3e-5
622 > .4e-5 <= .3e-5
623 > .4e-5 >= .3e-5
624 > .4e-5 < .3e-5
625 > .4e-5 > .3e-5
626 > .4e-5 ? .4e-5 : .3e-5
627 > x = .4e-5  4.000000e-06
628 > x += .4e-5  3.141504e+00
629 > x -= .4e-5  3.141496e+00
630 > x /= .4e-5  7.853750e+05
631 > x *= .4e-5  1.256600e-05
632 > x ++ 4.141500e+00
633 > x -- 2.141500e+00
634 > -- x 2.141500e+00
635 > ++ x 4.141500e+00
636 > y = ( .4e-5 + .3e-5 ) 7.000000e-06
637 > y = ( .4e-5 - .3e-5 ) 1.000000e-06
638 > y = ( .4e-5 / .3e-5 ) 1.333333e+00
639 > y = ( .4e-5 * .3e-5 ) 1.200000e-11
640 > y = ( .4e-5 || .3e-5 ) 1.000000e+00
641 > y = ( .4e-5 && .3e-5 ) 1.000000e+00
642 > y = ( -.4e-5  ) -4.000000e-06
643 > y = ( !.4e-5  ) 0.000000e+00
644 > y = ( .4e-5 == .3e-5 ) 0.000000e+00
645 > y = ( .4e-5 != .3e-5 ) 1.000000e+00
646 > y = ( .4e-5 <= .3e-5 ) 0.000000e+00
647 > y = ( .4e-5 >= .3e-5 ) 1.000000e+00
648 > y = ( .4e-5 < .3e-5 ) 0.000000e+00
649 > y = ( .4e-5 > .3e-5 ) 1.000000e+00
650 > y = ( .4e-5 ? .4e-5 : .3e-5 ) 4.000000e-06
651 > y = ( x = .4e-5  ) 4.000000e-06 4.000000e-06
652 > y = ( x += .4e-5  ) 3.141504e+00 3.141504e+00
653 > y = ( x -= .4e-5  ) 3.141496e+00 3.141496e+00
654 > y = ( x /= .4e-5  ) 7.853750e+05 7.853750e+05
655 > y = ( x *= .4e-5  ) 1.256600e-05 1.256600e-05
656 > y = ( x ++ ) 4.141500e+00 3.141500e+00
657 > y = ( x -- ) 2.141500e+00 3.141500e+00
658 > y = ( -- x ) 2.141500e+00 2.141500e+00
659 > y = ( ++ x ) 4.141500e+00 4.141500e+00
660 > yes if ( .4e-5 + .3e-5 ) yes() ; else no()
661 > yes if ( .4e-5 - .3e-5 ) yes() ; else no()
662 > yes if ( .4e-5 / .3e-5 ) yes() ; else no()
663 > yes if ( .4e-5 * .3e-5 ) yes() ; else no()
664 > yes if ( .4e-5 || .3e-5 ) yes() ; else no()
665 > yes if ( .4e-5 && .3e-5 ) yes() ; else no()
666 > yes if ( -.4e-5  ) yes() ; else no()
667 > no if ( !.4e-5  ) yes() ; else no()
668 > no if ( .4e-5 == .3e-5 ) yes() ; else no()
669 > yes if ( .4e-5 != .3e-5 ) yes() ; else no()
670 > no if ( .4e-5 <= .3e-5 ) yes() ; else no()
671 > yes if ( .4e-5 >= .3e-5 ) yes() ; else no()
672 > no if ( .4e-5 < .3e-5 ) yes() ; else no()
673 > yes if ( .4e-5 > .3e-5 ) yes() ; else no()
674 > yes if ( .4e-5 ? .4e-5 : .3e-5 ) yes() ; else no()
675 > yes if ( x = .4e-5  ) yes() ; else no() 4.000000e-06
676 > yes if ( x += .4e-5  ) yes() ; else no() 3.141504e+00
677 > yes if ( x -= .4e-5  ) yes() ; else no() 3.141496e+00
678 > yes if ( x /= .4e-5  ) yes() ; else no() 7.853750e+05
679 > yes if ( x *= .4e-5  ) yes() ; else no() 1.256600e-05
680 > yes if ( x ++ ) yes() ; else no() 4.141500e+00
681 > yes if ( x -- ) yes() ; else no() 2.141500e+00
682 > yes if ( -- x ) yes() ; else no() 2.141500e+00
683 > yes if ( ++ x ) yes() ; else no() 4.141500e+00
684 The following command caused the error:
685 if test -f lf.cem.g ; then diff lf.cem.r lf.cem.g ; else echo creating lf.cem.g ; cp lf.cem.r lf.cem.g ; fi
686 sed -f li.sed <OPS >li.c
687 compiling li.c
688 "li.c", line 22: (warning) overflow in constant expression
689 "li.c", line 67: (warning) overflow in constant expression
690 "li.c", line 112: (warning) overflow in constant expression
691 running li.cem
692 comparing li
693 32c32
694 < x <<= 15 -32768
695 ---
696 > x <<= 15 8355840
697 48c48
698 < y = ( 4 << 15 ) 0
699 ---
700 > y = ( 4 << 15 ) 131072
701 69c69
702 < y = ( x <<= 15 ) -32768 -32768
703 ---
704 > y = ( x <<= 15 ) 8355840 8355840
705 85c85
706 < no if ( 4 << 15 ) yes() ; else no()
707 ---
708 > yes if ( 4 << 15 ) yes() ; else no()
709 106c106
710 < yes if ( x <<= 15 ) yes() ; else no() -32768
711 ---
712 > yes if ( x <<= 15 ) yes() ; else no() 8355840
713 The following command caused the error:
714 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
715 sed -f ll.sed <OPS >ll.c
716 compiling ll.c
717 running ll.cem
718 comparing ll
719 sed -f lu.sed <OPS >lu.c
720 compiling lu.c
721 running lu.cem
722 comparing lu
723 23,25c23,25
724 < z = x  -25302
725 < z += x  -25292
726 < z -= x  25312
727 ---
728 > z = x  40234
729 > z += x  40244
730 > z -= x  -40224
731 28c28
732 < z *= x  9124
733 ---
734 > z *= x  402340
735 30,31c30,31
736 < z |= x  -25302
737 < z ^= x  -25312
738 ---
739 > z |= x  40234
740 > z ^= x  40224
741 38c38
742 < y = ( x + 8012 ) -17290
743 ---
744 > y = ( x + 8012 ) 48246
745 42c42
746 < y = ( x * 8012 ) -16776
747 ---
748 > y = ( x * 8012 ) 322354808
749 44,45c44,45
750 < y = ( x | 8012 ) -24722
751 < y = ( x ^ 8012 ) -32154
752 ---
753 > y = ( x | 8012 ) 40814
754 > y = ( x ^ 8012 ) 33382
755 48c48
756 < y = ( x << 9 ) 21504
757 ---
758 > y = ( x << 9 ) 20599808
759 50c50
760 < y = ( -x  ) 25302
761 ---
762 > y = ( -x  ) -40234
763 52c52
764 < y = ( ~x  ) 25301
765 ---
766 > y = ( ~x  ) -40235
767 59,62c59,62
768 < y = ( x ? x : 8012 ) -25302
769 < y = ( z = x  ) -25302 -25302
770 < y = ( z += x  ) -25292 -25292
771 < y = ( z -= x  ) 25312 25312
772 ---
773 > y = ( x ? x : 8012 ) 40234
774 > y = ( z = x  ) 40234 40234
775 > y = ( z += x  ) 40244 40244
776 > y = ( z -= x  ) -40224 -40224
777 65c65
778 < y = ( z *= x  ) 9124 9124
779 ---
780 > y = ( z *= x  ) 402340 402340
781 67,68c67,68
782 < y = ( z |= x  ) -25302 -25302
783 < y = ( z ^= x  ) -25312 -25312
784 ---
785 > y = ( z |= x  ) 40234 40234
786 > y = ( z ^= x  ) 40224 40224
787 97,99c97,99
788 < yes if ( z = x  ) yes() ; else no() -25302
789 < yes if ( z += x  ) yes() ; else no() -25292
790 < yes if ( z -= x  ) yes() ; else no() 25312
791 ---
792 > yes if ( z = x  ) yes() ; else no() 40234
793 > yes if ( z += x  ) yes() ; else no() 40244
794 > yes if ( z -= x  ) yes() ; else no() -40224
795 102c102
796 < yes if ( z *= x  ) yes() ; else no() 9124
797 ---
798 > yes if ( z *= x  ) yes() ; else no() 402340
799 104,105c104,105
800 < yes if ( z |= x  ) yes() ; else no() -25302
801 < yes if ( z ^= x  ) yes() ; else no() -25312
802 ---
803 > yes if ( z |= x  ) yes() ; else no() 40234
804 > yes if ( z ^= x  ) yes() ; else no() 40224
805 The following command caused the error:
806 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
807 ***** ctill
808 All program(s) in this directory should fail to compile.
809 compiling noarg.c
810 "noarg.c", line 14: name not in parameter list
811 *** Error code 1
812 The following command caused the error:
813 acc -mem24 -DNOFLOAT -o noarg.cem  noarg.c 1>/dev/null
814 make: Warning: Target `gen' not remade because of errors
815 ***** ctinit
816 compiling init.c
817 running init.cem
818 comparing init
819 40a41,86
820 > Floats:
821
822 > fl1   0.00000000000000000000e+00
823 > fl2   2.00000000000000000000e+00
824 > fl2   2.00000000000000000000e+00
825 > fl4   4.00000000000000000000e+00
826 > fl5   2.93873587705571876995e-39
827 > fl6   1.70141173319264429908e+38
828 > fl7   0.00000000000000000000e+00
829 >     fla1                    fla2                    fla3
830 >             1.000000e+00           -1.000000e+00            1.100000e+01
831 >             3.000000e+00           -3.000000e+00            0.000000e+00
832 >             5.000000e+00           -5.000000e+00            0.000000e+00
833 >             2.000000e+00           -2.000000e+00            1.200000e+01
834 >             4.000000e+00           -4.000000e+00            0.000000e+00
835 >             6.000000e+00           -6.000000e+00            0.000000e+00
836 >             3.000000e+00           -3.000000e+00            1.300000e+01
837 >             5.000000e+00           -5.000000e+00            0.000000e+00
838 >             7.000000e+00           -7.000000e+00            0.000000e+00
839 >             0.000000e+00            0.000000e+00            1.400000e+01
840 >             0.000000e+00            0.000000e+00            0.000000e+00
841 >             0.000000e+00            0.000000e+00            0.000000e+00
842
843 > Doubles:
844
845 > dbl1  0.00000000000000000000e+00
846 > dbl2  2.00000000000000000000e+00
847 > dbl2  2.00000000000000000000e+00
848 > dbl4  4.00000000000000000000e+00
849 > dbl5  2.93873600000000015650e-39
850 > dbl6  1.70141169999999996199e+38
851 > dbl7  0.00000000000000000000e+00
852 >     dbla1                    dbla2                    dbla3
853 >             1.000000e+00           -1.000000e+00            1.100000e+01
854 >             3.000000e+00           -3.000000e+00            0.000000e+00
855 >             5.000000e+00           -5.000000e+00            0.000000e+00
856 >             2.000000e+00           -2.000000e+00            1.200000e+01
857 >             4.000000e+00           -4.000000e+00            0.000000e+00
858 >             6.000000e+00           -6.000000e+00            0.000000e+00
859 >             3.000000e+00           -3.000000e+00            1.300000e+01
860 >             5.000000e+00           -5.000000e+00            0.000000e+00
861 >             7.000000e+00           -7.000000e+00            0.000000e+00
862 >             0.000000e+00            0.000000e+00            1.400000e+01
863 >             0.000000e+00            0.000000e+00            0.000000e+00
864 >             0.000000e+00            0.000000e+00            0.000000e+00
865
866 57a104,105
867 > s_f      0.000000e+00  -1.000000e+01   0.000000e+00   0.000000e+00
868
869 62c110
870 < sizeof stb 6
871 ---
872 > sizeof stb 8
873 The following command caused the error:
874 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
875 ***** ctmargt
876 compiling margt.c
877 running margt.cem
878 comparing margt
879 5c5
880 <       CEM=acc -mem24 -DNOFLOAT
881 ---
882 >       CEM=acc
883 11c11
884 <       RUN=em
885 ---
886 >       RUN=
887 The following command caused the error:
888 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
889 ***** ctprof
890 test profiling
891 procentry.c
892 compiling tp.c procentry.m
893 tp.c
894 running tp.cem
895 comparing tp
896 ***** ctsetjmp
897 compiling stjmp.c
898 running stjmp.cem
899 comparing stjmp
900 ***** ctstruct
901 comparing str
902 ***** ctsys
903 compiling tfork.c
904 running tfork.cem
905 comparing tfork
906 Mon Nov 20 09:17:26 MET 1989