1989-11-20 14:35:23 +00:00
|
|
|
Fri Nov 17 17:19:16 MET 1989
|
|
|
|
Compilation command: acc -mem24
|
|
|
|
Run command: em
|
1985-02-15 23:12:16 +00:00
|
|
|
***** ctconv
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling conv.c
|
1988-04-28 13:38:24 +00:00
|
|
|
"conv.c", line 38: (warning) overflow in constant expression
|
1985-02-15 23:12:16 +00:00
|
|
|
running conv.cem
|
|
|
|
comparing conv
|
1989-11-20 14:35:23 +00:00
|
|
|
14c14
|
1987-02-25 19:00:04 +00:00
|
|
|
< char -1, int -1, unsigned 177777, long -1
|
|
|
|
---
|
|
|
|
> char -1, int -1, unsigned 37777777777, long -1
|
1989-11-20 14:35:23 +00:00
|
|
|
16c16
|
|
|
|
< char -1, int -1, unsigned 177777, long -1
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> char -1, int -1, unsigned 37777777777, long -1
|
1989-11-20 14:35:23 +00:00
|
|
|
19c19
|
|
|
|
< char -64, int -64, unsigned 177700, long -64
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> char -64, int -64, unsigned 37777777700, long -64
|
1989-11-20 14:35:23 +00:00
|
|
|
22c22
|
|
|
|
< char -3, int -3, unsigned 177775, long -3
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> char -3, int -3, unsigned 37777777775, long -3
|
1989-11-20 14:35:23 +00:00
|
|
|
25c25
|
|
|
|
< char -8, int 9464, unsigned short 22370, long 75000
|
|
|
|
---
|
1988-04-28 13:38:24 +00:00
|
|
|
> char -8, int 75000, unsigned short 22370, long 75000
|
1989-11-20 14:35:23 +00:00
|
|
|
The following command caused the error:
|
|
|
|
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
|
1985-02-15 23:12:16 +00:00
|
|
|
***** ctdecl
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling decl.c
|
1985-02-15 23:12:16 +00:00
|
|
|
running decl.cem
|
|
|
|
comparing decl
|
|
|
|
***** ctdivers
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling ops.c
|
1985-02-15 23:12:16 +00:00
|
|
|
running ops.cem
|
|
|
|
comparing ops
|
1989-11-20 14:35:23 +00:00
|
|
|
21a22
|
|
|
|
> u>>16 0
|
|
|
|
23,37c24,39
|
1987-02-25 19:00:04 +00:00
|
|
|
< u<<1 121632
|
|
|
|
< u<<2 43464
|
|
|
|
< u<<3 107150
|
|
|
|
< u<<4 16320
|
|
|
|
< u<<5 34640
|
|
|
|
< u<<6 71500
|
|
|
|
< u<<7 163200
|
|
|
|
< u<<8 146400
|
|
|
|
< u<<9 115000
|
|
|
|
< u<<10 32000
|
|
|
|
< u<<11 64000
|
|
|
|
< u<<12 150000
|
|
|
|
< u<<13 120000
|
|
|
|
< u<<14 40000
|
|
|
|
< u<<15 100000
|
|
|
|
---
|
|
|
|
> u<<1 321632
|
|
|
|
> u<<2 643464
|
|
|
|
> u<<3 1507150
|
|
|
|
> u<<4 3216320
|
|
|
|
> u<<5 6434640
|
|
|
|
> u<<6 15071500
|
|
|
|
> u<<7 32163200
|
|
|
|
> u<<8 64346400
|
|
|
|
> u<<9 150715000
|
|
|
|
> u<<10 321632000
|
|
|
|
> u<<11 643464000
|
|
|
|
> u<<12 1507150000
|
|
|
|
> u<<13 3216320000
|
|
|
|
> u<<14 6434640000
|
|
|
|
> u<<15 15071500000
|
|
|
|
> u<<16 32163200000
|
1989-11-20 14:35:23 +00:00
|
|
|
The following command caused the error:
|
|
|
|
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
|
1985-02-15 23:12:16 +00:00
|
|
|
***** cterr
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling bugs.c
|
1988-04-28 13:38:24 +00:00
|
|
|
"bugs.c", line 88: (warning) overflow in constant expression
|
1985-02-15 23:12:16 +00:00
|
|
|
running bugs.cem
|
|
|
|
comparing bugs
|
|
|
|
***** ctest1
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling test.c
|
1985-02-15 23:12:16 +00:00
|
|
|
running test.cem
|
|
|
|
comparing test
|
|
|
|
***** ctest2
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling t7.c
|
1985-02-15 23:12:16 +00:00
|
|
|
running t7.cem
|
|
|
|
comparing t7
|
|
|
|
***** ctest3
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling test2.c
|
1988-04-28 13:38:24 +00:00
|
|
|
"test2.c", line 448: (warning) conversion of pointer to int loses accuracy
|
|
|
|
"test2.c", line 448: (warning) conversion of pointer to int loses accuracy
|
1985-02-15 23:12:16 +00:00
|
|
|
running test2.cem
|
|
|
|
comparing test2
|
|
|
|
***** ctest5
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling test1.c
|
1988-04-28 13:38:24 +00:00
|
|
|
"test1.c", line 375: (warning) incompatible pointers in =
|
|
|
|
"test1.c", line 376: (warning) incompatible pointers in =
|
|
|
|
"test1.c", line 377: (warning) incompatible pointers in =
|
|
|
|
"test1.c", line 389: (warning) incompatible pointers in =
|
|
|
|
"test1.c", line 412: (warning) incompatible pointers in =
|
|
|
|
"test1.c", line 413: (warning) incompatible pointers in =
|
|
|
|
"test1.c", line 414: (warning) incompatible pointers in =
|
|
|
|
"test1.c", line 426: (warning) incompatible pointers in =
|
1985-02-15 23:12:16 +00:00
|
|
|
running test1.cem
|
|
|
|
comparing test1
|
|
|
|
***** ctgen
|
|
|
|
sed -f bf.sed <OPS >bf.c
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling bf.c
|
1985-02-15 23:12:16 +00:00
|
|
|
running bf.cem
|
|
|
|
comparing bf
|
1989-11-20 14:35:23 +00:00
|
|
|
sed -f bfu.sed <OPS >bfu.c
|
|
|
|
compiling bfu.c
|
|
|
|
running bfu.cem
|
|
|
|
comparing bfu
|
1985-02-15 23:12:16 +00:00
|
|
|
sed -f cel.sed <OPS >cel.c
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling cel.c
|
1985-02-15 23:12:16 +00:00
|
|
|
running cel.cem
|
|
|
|
comparing cel
|
|
|
|
sed -f clu.sed <OPS >clu.c
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling clu.c
|
1987-02-25 19:00:04 +00:00
|
|
|
"clu.c", line 60: (warning) overflow in unsigned constant expression
|
|
|
|
"clu.c", line 66: (warning) overflow in unsigned constant expression
|
1985-02-15 23:12:16 +00:00
|
|
|
running clu.cem
|
|
|
|
comparing clu
|
1989-11-20 14:35:23 +00:00
|
|
|
23,25c23,25
|
1987-02-25 19:00:04 +00:00
|
|
|
< x = 40000 -25536
|
|
|
|
< x += 40000 -25526
|
|
|
|
< x -= 40000 25546
|
|
|
|
---
|
|
|
|
> x = 40000 40000
|
|
|
|
> x += 40000 40010
|
|
|
|
> x -= 40000 -39990
|
1989-11-20 14:35:23 +00:00
|
|
|
28c28
|
|
|
|
< x *= 40000 6784
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> x *= 40000 400000
|
1989-11-20 14:35:23 +00:00
|
|
|
30,31c30,31
|
|
|
|
< x |= 40000 -25526
|
|
|
|
< x ^= 40000 -25526
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> x |= 40000 40010
|
|
|
|
> x ^= 40000 40010
|
|
|
|
38c38
|
|
|
|
< y = ( 40000 + 8012 ) -17524
|
|
|
|
---
|
|
|
|
> y = ( 40000 + 8012 ) 48012
|
1989-11-20 14:35:23 +00:00
|
|
|
42c42
|
1987-02-25 19:00:04 +00:00
|
|
|
< y = ( 40000 * 8012 ) 8960
|
1989-11-20 14:35:23 +00:00
|
|
|
---
|
|
|
|
> y = ( 40000 * 8012 ) 320480000
|
|
|
|
44,45c44,45
|
1987-02-25 19:00:04 +00:00
|
|
|
< y = ( 40000 | 8012 ) -24756
|
|
|
|
< y = ( 40000 ^ 8012 ) -31988
|
|
|
|
---
|
|
|
|
> y = ( 40000 | 8012 ) 40780
|
|
|
|
> y = ( 40000 ^ 8012 ) 33548
|
1989-11-20 14:35:23 +00:00
|
|
|
48c48
|
|
|
|
< y = ( 40000 << 9 ) -32768
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> y = ( 40000 << 9 ) 20480000
|
1989-11-20 14:35:23 +00:00
|
|
|
50c50
|
|
|
|
< y = ( -40000 ) 25536
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> y = ( -40000 ) -40000
|
1989-11-20 14:35:23 +00:00
|
|
|
52c52
|
|
|
|
< y = ( ~40000 ) 25535
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> y = ( ~40000 ) -40001
|
1989-11-20 14:35:23 +00:00
|
|
|
59,62c59,62
|
1987-02-25 19:00:04 +00:00
|
|
|
< y = ( 40000 ? 40000 : 8012 ) -25536
|
|
|
|
< y = ( x = 40000 ) -25536 -25536
|
|
|
|
< y = ( x += 40000 ) -25526 -25526
|
|
|
|
< y = ( x -= 40000 ) 25546 25546
|
|
|
|
---
|
|
|
|
> y = ( 40000 ? 40000 : 8012 ) 40000
|
|
|
|
> y = ( x = 40000 ) 40000 40000
|
|
|
|
> y = ( x += 40000 ) 40010 40010
|
|
|
|
> y = ( x -= 40000 ) -39990 -39990
|
1989-11-20 14:35:23 +00:00
|
|
|
65c65
|
|
|
|
< y = ( x *= 40000 ) 6784 6784
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> y = ( x *= 40000 ) 400000 400000
|
1989-11-20 14:35:23 +00:00
|
|
|
67,68c67,68
|
|
|
|
< y = ( x |= 40000 ) -25526 -25526
|
|
|
|
< y = ( x ^= 40000 ) -25526 -25526
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> y = ( x |= 40000 ) 40010 40010
|
|
|
|
> y = ( x ^= 40000 ) 40010 40010
|
1989-11-20 14:35:23 +00:00
|
|
|
97,99c97,99
|
1987-02-25 19:00:04 +00:00
|
|
|
< yes if ( x = 40000 ) yes() ; else no() -25536
|
|
|
|
< yes if ( x += 40000 ) yes() ; else no() -25526
|
|
|
|
< yes if ( x -= 40000 ) yes() ; else no() 25546
|
|
|
|
---
|
|
|
|
> yes if ( x = 40000 ) yes() ; else no() 40000
|
|
|
|
> yes if ( x += 40000 ) yes() ; else no() 40010
|
|
|
|
> yes if ( x -= 40000 ) yes() ; else no() -39990
|
1989-11-20 14:35:23 +00:00
|
|
|
102c102
|
|
|
|
< yes if ( x *= 40000 ) yes() ; else no() 6784
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> yes if ( x *= 40000 ) yes() ; else no() 400000
|
1989-11-20 14:35:23 +00:00
|
|
|
104,105c104,105
|
|
|
|
< yes if ( x |= 40000 ) yes() ; else no() -25526
|
|
|
|
< yes if ( x ^= 40000 ) yes() ; else no() -25526
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> yes if ( x |= 40000 ) yes() ; else no() 40010
|
|
|
|
> yes if ( x ^= 40000 ) yes() ; else no() 40010
|
1989-11-20 14:35:23 +00:00
|
|
|
The following command caused the error:
|
|
|
|
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
|
1985-02-15 23:12:16 +00:00
|
|
|
sed -f ec.sed <OPS >ec.c
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling ec.c
|
1987-02-25 19:00:04 +00:00
|
|
|
"ec.c", line 58: (warning) overflow in constant expression
|
|
|
|
"ec.c", line 64: (warning) overflow in constant expression
|
1985-02-15 23:12:16 +00:00
|
|
|
running ec.cem
|
|
|
|
comparing ec
|
|
|
|
sed -f ef.sed <OPS >ef.c
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling ef.c
|
1985-02-15 23:12:16 +00:00
|
|
|
running ef.cem
|
|
|
|
comparing ef
|
|
|
|
sed -f ei.sed <OPS >ei.c
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling ei.c
|
1987-02-25 19:00:04 +00:00
|
|
|
"ei.c", line 22: (warning) overflow in constant expression
|
|
|
|
"ei.c", line 65: (warning) overflow in constant expression
|
|
|
|
"ei.c", line 108: (warning) overflow in constant expression
|
1985-02-15 23:12:16 +00:00
|
|
|
running ei.cem
|
|
|
|
comparing ei
|
1987-02-25 19:00:04 +00:00
|
|
|
32c32
|
|
|
|
< x <<= 15 -32768
|
|
|
|
---
|
|
|
|
> x <<= 15 8355840
|
|
|
|
48c48
|
|
|
|
< y = ( 4 << 15 ) 0
|
|
|
|
---
|
|
|
|
> y = ( 4 << 15 ) 131072
|
|
|
|
69c69
|
|
|
|
< y = ( x <<= 15 ) -32768 -32768
|
|
|
|
---
|
|
|
|
> y = ( x <<= 15 ) 8355840 8355840
|
|
|
|
85c85
|
|
|
|
< no if ( 4 << 15 ) yes() ; else no()
|
|
|
|
---
|
|
|
|
> yes if ( 4 << 15 ) yes() ; else no()
|
|
|
|
106c106
|
|
|
|
< yes if ( x <<= 15 ) yes() ; else no() -32768
|
|
|
|
---
|
|
|
|
> yes if ( x <<= 15 ) yes() ; else no() 8355840
|
1989-11-20 14:35:23 +00:00
|
|
|
The following command caused the error:
|
|
|
|
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
|
1985-02-15 23:12:16 +00:00
|
|
|
sed -f el.sed <OPS >el.c
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling el.c
|
1985-02-15 23:12:16 +00:00
|
|
|
running el.cem
|
|
|
|
comparing el
|
|
|
|
sed -f eu.sed <OPS >eu.c
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling eu.c
|
1987-02-25 19:00:04 +00:00
|
|
|
"eu.c", line 58: (warning) overflow in unsigned constant expression
|
|
|
|
"eu.c", line 64: (warning) overflow in unsigned constant expression
|
1985-02-15 23:12:16 +00:00
|
|
|
running eu.cem
|
|
|
|
comparing eu
|
1989-11-20 14:35:23 +00:00
|
|
|
23,25c23,25
|
1987-02-25 19:00:04 +00:00
|
|
|
< x = 40000 -25536
|
|
|
|
< x += 40000 -25526
|
|
|
|
< x -= 40000 25546
|
|
|
|
---
|
|
|
|
> x = 40000 40000
|
|
|
|
> x += 40000 40010
|
|
|
|
> x -= 40000 -39990
|
1989-11-20 14:35:23 +00:00
|
|
|
28c28
|
|
|
|
< x *= 40000 6784
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> x *= 40000 400000
|
1989-11-20 14:35:23 +00:00
|
|
|
30,31c30,31
|
|
|
|
< x |= 40000 -25526
|
|
|
|
< x ^= 40000 -25526
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> x |= 40000 40010
|
|
|
|
> x ^= 40000 40010
|
|
|
|
38c38
|
|
|
|
< y = ( 40000 + 8012 ) -17524
|
|
|
|
---
|
|
|
|
> y = ( 40000 + 8012 ) 48012
|
1989-11-20 14:35:23 +00:00
|
|
|
42c42
|
1987-02-25 19:00:04 +00:00
|
|
|
< y = ( 40000 * 8012 ) 8960
|
1989-11-20 14:35:23 +00:00
|
|
|
---
|
|
|
|
> y = ( 40000 * 8012 ) 320480000
|
|
|
|
44,45c44,45
|
1987-02-25 19:00:04 +00:00
|
|
|
< y = ( 40000 | 8012 ) -24756
|
|
|
|
< y = ( 40000 ^ 8012 ) -31988
|
|
|
|
---
|
|
|
|
> y = ( 40000 | 8012 ) 40780
|
|
|
|
> y = ( 40000 ^ 8012 ) 33548
|
1989-11-20 14:35:23 +00:00
|
|
|
48c48
|
|
|
|
< y = ( 40000 << 9 ) -32768
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> y = ( 40000 << 9 ) 20480000
|
1989-11-20 14:35:23 +00:00
|
|
|
50c50
|
|
|
|
< y = ( -40000 ) 25536
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> y = ( -40000 ) -40000
|
1989-11-20 14:35:23 +00:00
|
|
|
52c52
|
|
|
|
< y = ( ~40000 ) 25535
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> y = ( ~40000 ) -40001
|
1989-11-20 14:35:23 +00:00
|
|
|
59,62c59,62
|
1987-02-25 19:00:04 +00:00
|
|
|
< y = ( 40000 ? 40000 : 8012 ) -25536
|
|
|
|
< y = ( x = 40000 ) -25536 -25536
|
|
|
|
< y = ( x += 40000 ) -25526 -25526
|
|
|
|
< y = ( x -= 40000 ) 25546 25546
|
|
|
|
---
|
|
|
|
> y = ( 40000 ? 40000 : 8012 ) 40000
|
|
|
|
> y = ( x = 40000 ) 40000 40000
|
|
|
|
> y = ( x += 40000 ) 40010 40010
|
|
|
|
> y = ( x -= 40000 ) -39990 -39990
|
1989-11-20 14:35:23 +00:00
|
|
|
65c65
|
|
|
|
< y = ( x *= 40000 ) 6784 6784
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> y = ( x *= 40000 ) 400000 400000
|
1989-11-20 14:35:23 +00:00
|
|
|
67,68c67,68
|
|
|
|
< y = ( x |= 40000 ) -25526 -25526
|
|
|
|
< y = ( x ^= 40000 ) -25526 -25526
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> y = ( x |= 40000 ) 40010 40010
|
|
|
|
> y = ( x ^= 40000 ) 40010 40010
|
1989-11-20 14:35:23 +00:00
|
|
|
97,99c97,99
|
1987-02-25 19:00:04 +00:00
|
|
|
< yes if ( x = 40000 ) yes() ; else no() -25536
|
|
|
|
< yes if ( x += 40000 ) yes() ; else no() -25526
|
|
|
|
< yes if ( x -= 40000 ) yes() ; else no() 25546
|
|
|
|
---
|
|
|
|
> yes if ( x = 40000 ) yes() ; else no() 40000
|
|
|
|
> yes if ( x += 40000 ) yes() ; else no() 40010
|
|
|
|
> yes if ( x -= 40000 ) yes() ; else no() -39990
|
1989-11-20 14:35:23 +00:00
|
|
|
102c102
|
|
|
|
< yes if ( x *= 40000 ) yes() ; else no() 6784
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> yes if ( x *= 40000 ) yes() ; else no() 400000
|
1989-11-20 14:35:23 +00:00
|
|
|
104,105c104,105
|
|
|
|
< yes if ( x |= 40000 ) yes() ; else no() -25526
|
|
|
|
< yes if ( x ^= 40000 ) yes() ; else no() -25526
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> yes if ( x |= 40000 ) yes() ; else no() 40010
|
|
|
|
> yes if ( x ^= 40000 ) yes() ; else no() 40010
|
1989-11-20 14:35:23 +00:00
|
|
|
The following command caused the error:
|
|
|
|
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
|
1985-02-15 23:12:16 +00:00
|
|
|
sed -f id.sed <OPS >id.c
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling id.c
|
1985-02-15 23:12:16 +00:00
|
|
|
running id.cem
|
|
|
|
comparing id
|
|
|
|
sed -f lc.sed <OPS >lc.c
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling lc.c
|
1987-02-25 19:00:04 +00:00
|
|
|
"lc.c", line 60: (warning) overflow in constant expression
|
|
|
|
"lc.c", line 66: (warning) overflow in constant expression
|
1985-02-15 23:12:16 +00:00
|
|
|
running lc.cem
|
|
|
|
comparing lc
|
|
|
|
sed -f ld.sed <OPS >ld.c
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling ld.c
|
1985-02-15 23:12:16 +00:00
|
|
|
running ld.cem
|
|
|
|
comparing ld
|
|
|
|
sed -f lf.sed <OPS >lf.c
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling lf.c
|
1985-02-15 23:12:16 +00:00
|
|
|
running lf.cem
|
|
|
|
comparing lf
|
|
|
|
sed -f li.sed <OPS >li.c
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling li.c
|
1987-02-25 19:00:04 +00:00
|
|
|
"li.c", line 22: (warning) overflow in constant expression
|
|
|
|
"li.c", line 67: (warning) overflow in constant expression
|
|
|
|
"li.c", line 112: (warning) overflow in constant expression
|
1985-02-15 23:12:16 +00:00
|
|
|
running li.cem
|
|
|
|
comparing li
|
1987-02-25 19:00:04 +00:00
|
|
|
32c32
|
|
|
|
< x <<= 15 -32768
|
|
|
|
---
|
|
|
|
> x <<= 15 8355840
|
|
|
|
48c48
|
|
|
|
< y = ( 4 << 15 ) 0
|
|
|
|
---
|
|
|
|
> y = ( 4 << 15 ) 131072
|
|
|
|
69c69
|
|
|
|
< y = ( x <<= 15 ) -32768 -32768
|
|
|
|
---
|
|
|
|
> y = ( x <<= 15 ) 8355840 8355840
|
|
|
|
85c85
|
|
|
|
< no if ( 4 << 15 ) yes() ; else no()
|
|
|
|
---
|
|
|
|
> yes if ( 4 << 15 ) yes() ; else no()
|
|
|
|
106c106
|
|
|
|
< yes if ( x <<= 15 ) yes() ; else no() -32768
|
|
|
|
---
|
|
|
|
> yes if ( x <<= 15 ) yes() ; else no() 8355840
|
1989-11-20 14:35:23 +00:00
|
|
|
The following command caused the error:
|
|
|
|
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
|
1985-02-15 23:12:16 +00:00
|
|
|
sed -f ll.sed <OPS >ll.c
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling ll.c
|
1985-02-15 23:12:16 +00:00
|
|
|
running ll.cem
|
|
|
|
comparing ll
|
|
|
|
sed -f lu.sed <OPS >lu.c
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling lu.c
|
1985-02-15 23:12:16 +00:00
|
|
|
running lu.cem
|
|
|
|
comparing lu
|
1989-11-20 14:35:23 +00:00
|
|
|
23,25c23,25
|
1987-02-25 19:00:04 +00:00
|
|
|
< z = x -25302
|
|
|
|
< z += x -25292
|
|
|
|
< z -= x 25312
|
|
|
|
---
|
|
|
|
> z = x 40234
|
|
|
|
> z += x 40244
|
|
|
|
> z -= x -40224
|
1989-11-20 14:35:23 +00:00
|
|
|
28c28
|
|
|
|
< z *= x 9124
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> z *= x 402340
|
1989-11-20 14:35:23 +00:00
|
|
|
30,31c30,31
|
|
|
|
< z |= x -25302
|
|
|
|
< z ^= x -25312
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> z |= x 40234
|
|
|
|
> z ^= x 40224
|
|
|
|
38c38
|
|
|
|
< y = ( x + 8012 ) -17290
|
|
|
|
---
|
|
|
|
> y = ( x + 8012 ) 48246
|
1989-11-20 14:35:23 +00:00
|
|
|
42c42
|
1987-02-25 19:00:04 +00:00
|
|
|
< y = ( x * 8012 ) -16776
|
1989-11-20 14:35:23 +00:00
|
|
|
---
|
|
|
|
> y = ( x * 8012 ) 322354808
|
|
|
|
44,45c44,45
|
1987-02-25 19:00:04 +00:00
|
|
|
< y = ( x | 8012 ) -24722
|
|
|
|
< y = ( x ^ 8012 ) -32154
|
|
|
|
---
|
|
|
|
> y = ( x | 8012 ) 40814
|
|
|
|
> y = ( x ^ 8012 ) 33382
|
1989-11-20 14:35:23 +00:00
|
|
|
48c48
|
|
|
|
< y = ( x << 9 ) 21504
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> y = ( x << 9 ) 20599808
|
1989-11-20 14:35:23 +00:00
|
|
|
50c50
|
|
|
|
< y = ( -x ) 25302
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> y = ( -x ) -40234
|
1989-11-20 14:35:23 +00:00
|
|
|
52c52
|
|
|
|
< y = ( ~x ) 25301
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> y = ( ~x ) -40235
|
1989-11-20 14:35:23 +00:00
|
|
|
59,62c59,62
|
1987-02-25 19:00:04 +00:00
|
|
|
< y = ( x ? x : 8012 ) -25302
|
|
|
|
< y = ( z = x ) -25302 -25302
|
|
|
|
< y = ( z += x ) -25292 -25292
|
|
|
|
< y = ( z -= x ) 25312 25312
|
|
|
|
---
|
|
|
|
> y = ( x ? x : 8012 ) 40234
|
|
|
|
> y = ( z = x ) 40234 40234
|
|
|
|
> y = ( z += x ) 40244 40244
|
|
|
|
> y = ( z -= x ) -40224 -40224
|
1989-11-20 14:35:23 +00:00
|
|
|
65c65
|
|
|
|
< y = ( z *= x ) 9124 9124
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> y = ( z *= x ) 402340 402340
|
1989-11-20 14:35:23 +00:00
|
|
|
67,68c67,68
|
|
|
|
< y = ( z |= x ) -25302 -25302
|
|
|
|
< y = ( z ^= x ) -25312 -25312
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> y = ( z |= x ) 40234 40234
|
|
|
|
> y = ( z ^= x ) 40224 40224
|
1989-11-20 14:35:23 +00:00
|
|
|
97,99c97,99
|
1987-02-25 19:00:04 +00:00
|
|
|
< yes if ( z = x ) yes() ; else no() -25302
|
|
|
|
< yes if ( z += x ) yes() ; else no() -25292
|
|
|
|
< yes if ( z -= x ) yes() ; else no() 25312
|
|
|
|
---
|
|
|
|
> yes if ( z = x ) yes() ; else no() 40234
|
|
|
|
> yes if ( z += x ) yes() ; else no() 40244
|
|
|
|
> yes if ( z -= x ) yes() ; else no() -40224
|
1989-11-20 14:35:23 +00:00
|
|
|
102c102
|
|
|
|
< yes if ( z *= x ) yes() ; else no() 9124
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> yes if ( z *= x ) yes() ; else no() 402340
|
1989-11-20 14:35:23 +00:00
|
|
|
104,105c104,105
|
|
|
|
< yes if ( z |= x ) yes() ; else no() -25302
|
|
|
|
< yes if ( z ^= x ) yes() ; else no() -25312
|
|
|
|
---
|
1987-02-25 19:00:04 +00:00
|
|
|
> yes if ( z |= x ) yes() ; else no() 40234
|
|
|
|
> yes if ( z ^= x ) yes() ; else no() 40224
|
1989-11-20 14:35:23 +00:00
|
|
|
The following command caused the error:
|
|
|
|
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
|
1985-02-15 23:12:16 +00:00
|
|
|
***** ctill
|
1988-07-13 17:44:14 +00:00
|
|
|
All program(s) in this directory should fail to compile.
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling noarg.c
|
1988-04-28 13:38:24 +00:00
|
|
|
"noarg.c", line 14: name not in parameter list
|
1985-02-15 23:12:16 +00:00
|
|
|
*** Error code 1
|
1989-11-20 14:35:23 +00:00
|
|
|
The following command caused the error:
|
|
|
|
acc -mem24 -o noarg.cem noarg.c 1>/dev/null
|
|
|
|
make: Warning: Target `gen' not remade because of errors
|
1985-02-15 23:12:16 +00:00
|
|
|
***** ctinit
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling init.c
|
1985-02-15 23:12:16 +00:00
|
|
|
running init.cem
|
|
|
|
comparing init
|
1989-11-20 14:35:23 +00:00
|
|
|
110c110
|
1987-02-25 19:00:04 +00:00
|
|
|
< sizeof stb 6
|
|
|
|
---
|
|
|
|
> sizeof stb 8
|
1989-11-20 14:35:23 +00:00
|
|
|
The following command caused the error:
|
|
|
|
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
|
1985-02-15 23:12:16 +00:00
|
|
|
***** ctmargt
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling margt.c
|
1985-02-15 23:12:16 +00:00
|
|
|
running margt.cem
|
|
|
|
comparing margt
|
1989-11-20 14:35:23 +00:00
|
|
|
5c5
|
|
|
|
< CEM=acc -mem24
|
|
|
|
---
|
|
|
|
> CEM=acc
|
|
|
|
11c11
|
|
|
|
< RUN=em
|
|
|
|
---
|
|
|
|
> RUN=
|
|
|
|
The following command caused the error:
|
|
|
|
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
|
1985-02-15 23:12:16 +00:00
|
|
|
***** ctprof
|
|
|
|
test profiling
|
|
|
|
procentry.c
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling tp.c procentry.m
|
1985-02-15 23:12:16 +00:00
|
|
|
tp.c
|
1988-04-28 13:38:24 +00:00
|
|
|
running tp.cem
|
1985-02-15 23:12:16 +00:00
|
|
|
comparing tp
|
1988-04-28 13:38:24 +00:00
|
|
|
***** ctsetjmp
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling stjmp.c
|
1988-04-28 13:38:24 +00:00
|
|
|
running stjmp.cem
|
|
|
|
comparing stjmp
|
1985-02-15 23:12:16 +00:00
|
|
|
***** ctstruct
|
|
|
|
comparing str
|
|
|
|
***** ctsys
|
1989-11-20 14:35:23 +00:00
|
|
|
compiling tfork.c
|
1985-02-15 23:12:16 +00:00
|
|
|
running tfork.cem
|
|
|
|
comparing tfork
|
1989-11-20 14:35:23 +00:00
|
|
|
Fri Nov 17 17:29:58 MET 1989
|