- Timestamp:
- Oct 1, 2020, 2:16:21 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 31a5caba, dd53f75
- Parents:
- 1c1395d (diff), 506d4f0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- tests/zombies
- Files:
-
- 1 added
- 95 moved
-
ArrayN.c (moved) (moved from examples/ArrayN.c )
-
Initialization.c (moved) (moved from examples/Initialization.c )
-
Initialization2.c (moved) (moved from examples/Initialization2.c )
-
Makefile.example (moved) (moved from examples/Makefile.example )
-
Members.c (moved) (moved from examples/Members.c )
-
Misc.c (moved) (moved from examples/Misc.c )
-
MiscError.c (moved) (moved from examples/MiscError.c )
-
Rank2.c (moved) (moved from examples/Rank2.c ) (2 diffs)
-
Tuple.c (moved) (moved from examples/Tuple.c ) (3 diffs)
-
abstype.c (moved) (moved from examples/abstype.c ) (2 diffs)
-
constructors.c (added)
-
forward.c (moved) (moved from examples/forward.c )
-
gc_no_raii/.gitignore (moved) (moved from examples/gc_no_raii/.gitignore )
-
gc_no_raii/bug-repro/assert.c (moved) (moved from examples/gc_no_raii/bug-repro/assert.c )
-
gc_no_raii/bug-repro/blockers.tar.gz (moved) (moved from examples/gc_no_raii/bug-repro/blockers.tar.gz )
-
gc_no_raii/bug-repro/blockers/explicit_cast.c (moved) (moved from examples/gc_no_raii/bug-repro/blockers/explicit_cast.c )
-
gc_no_raii/bug-repro/blockers/file_scope.c (moved) (moved from examples/gc_no_raii/bug-repro/blockers/file_scope.c )
-
gc_no_raii/bug-repro/blockers/recursive_realloc.c (moved) (moved from examples/gc_no_raii/bug-repro/blockers/recursive_realloc.c )
-
gc_no_raii/bug-repro/crash.c (moved) (moved from examples/gc_no_raii/bug-repro/crash.c )
-
gc_no_raii/bug-repro/deref.c (moved) (moved from examples/gc_no_raii/bug-repro/deref.c )
-
gc_no_raii/bug-repro/field.c (moved) (moved from examples/gc_no_raii/bug-repro/field.c )
-
gc_no_raii/bug-repro/find.c (moved) (moved from examples/gc_no_raii/bug-repro/find.c )
-
gc_no_raii/bug-repro/inline.c (moved) (moved from examples/gc_no_raii/bug-repro/inline.c )
-
gc_no_raii/bug-repro/malloc.c (moved) (moved from examples/gc_no_raii/bug-repro/malloc.c )
-
gc_no_raii/bug-repro/not_equal.c (moved) (moved from examples/gc_no_raii/bug-repro/not_equal.c )
-
gc_no_raii/bug-repro/oddtype.c (moved) (moved from examples/gc_no_raii/bug-repro/oddtype.c )
-
gc_no_raii/bug-repro/push_back.c (moved) (moved from examples/gc_no_raii/bug-repro/push_back.c )
-
gc_no_raii/bug-repro/push_back.h (moved) (moved from examples/gc_no_raii/bug-repro/push_back.h )
-
gc_no_raii/bug-repro/realloc.c (moved) (moved from examples/gc_no_raii/bug-repro/realloc.c )
-
gc_no_raii/bug-repro/return.c (moved) (moved from examples/gc_no_raii/bug-repro/return.c )
-
gc_no_raii/bug-repro/return_template.c (moved) (moved from examples/gc_no_raii/bug-repro/return_template.c )
-
gc_no_raii/bug-repro/slow_malloc.c (moved) (moved from examples/gc_no_raii/bug-repro/slow_malloc.c )
-
gc_no_raii/bug-repro/static_const_local.c (moved) (moved from examples/gc_no_raii/bug-repro/static_const_local.c )
-
gc_no_raii/bug-repro/test-assert.cpp (moved) (moved from examples/gc_no_raii/bug-repro/test-assert.cpp )
-
gc_no_raii/bug-repro/void_pointer.c (moved) (moved from examples/gc_no_raii/bug-repro/void_pointer.c )
-
gc_no_raii/bug-repro/while.c (moved) (moved from examples/gc_no_raii/bug-repro/while.c )
-
gc_no_raii/bug-repro/zero.c (moved) (moved from examples/gc_no_raii/bug-repro/zero.c )
-
gc_no_raii/pool-alloc/allocate-malign.c (moved) (moved from examples/gc_no_raii/pool-alloc/allocate-malign.c )
-
gc_no_raii/pool-alloc/allocate-malloc.c (moved) (moved from examples/gc_no_raii/pool-alloc/allocate-malloc.c )
-
gc_no_raii/pool-alloc/allocate-mmap.c (moved) (moved from examples/gc_no_raii/pool-alloc/allocate-mmap.c )
-
gc_no_raii/pool-alloc/allocate-win-valloc.c (moved) (moved from examples/gc_no_raii/pool-alloc/allocate-win-valloc.c )
-
gc_no_raii/premake4.lua (moved) (moved from examples/gc_no_raii/premake4.lua )
-
gc_no_raii/src/allocate-pool.c (moved) (moved from examples/gc_no_raii/src/allocate-pool.c )
-
gc_no_raii/src/allocate-pool.h (moved) (moved from examples/gc_no_raii/src/allocate-pool.h )
-
gc_no_raii/src/gc.h (moved) (moved from examples/gc_no_raii/src/gc.h )
-
gc_no_raii/src/gcpointers.c (moved) (moved from examples/gc_no_raii/src/gcpointers.c )
-
gc_no_raii/src/gcpointers.h (moved) (moved from examples/gc_no_raii/src/gcpointers.h )
-
gc_no_raii/src/internal/card_table.h (moved) (moved from examples/gc_no_raii/src/internal/card_table.h )
-
gc_no_raii/src/internal/collector.c (moved) (moved from examples/gc_no_raii/src/internal/collector.c )
-
gc_no_raii/src/internal/collector.h (moved) (moved from examples/gc_no_raii/src/internal/collector.h )
-
gc_no_raii/src/internal/gc_tools.h (moved) (moved from examples/gc_no_raii/src/internal/gc_tools.h )
-
gc_no_raii/src/internal/globals.h (moved) (moved from examples/gc_no_raii/src/internal/globals.h )
-
gc_no_raii/src/internal/memory_pool.c (moved) (moved from examples/gc_no_raii/src/internal/memory_pool.c )
-
gc_no_raii/src/internal/memory_pool.h (moved) (moved from examples/gc_no_raii/src/internal/memory_pool.h )
-
gc_no_raii/src/internal/object_header.c (moved) (moved from examples/gc_no_raii/src/internal/object_header.c )
-
gc_no_raii/src/internal/object_header.h (moved) (moved from examples/gc_no_raii/src/internal/object_header.h )
-
gc_no_raii/src/internal/state.c (moved) (moved from examples/gc_no_raii/src/internal/state.c )
-
gc_no_raii/src/internal/state.h (moved) (moved from examples/gc_no_raii/src/internal/state.h )
-
gc_no_raii/src/test_include.c (moved) (moved from examples/gc_no_raii/src/test_include.c )
-
gc_no_raii/src/tools.h (moved) (moved from examples/gc_no_raii/src/tools.h )
-
gc_no_raii/src/tools/checks.h (moved) (moved from examples/gc_no_raii/src/tools/checks.h )
-
gc_no_raii/src/tools/print.c (moved) (moved from examples/gc_no_raii/src/tools/print.c )
-
gc_no_raii/src/tools/print.h (moved) (moved from examples/gc_no_raii/src/tools/print.h )
-
gc_no_raii/src/tools/worklist.h (moved) (moved from examples/gc_no_raii/src/tools/worklist.h )
-
gc_no_raii/test/badlll.c (moved) (moved from examples/gc_no_raii/test/badlll.c )
-
gc_no_raii/test/gctest.c (moved) (moved from examples/gc_no_raii/test/gctest.c )
-
gc_no_raii/test/operators.c (moved) (moved from examples/gc_no_raii/test/operators.c )
-
hashtable.cfa (moved) (moved from examples/hashtable.cfa )
-
hashtable2.cfa (moved) (moved from examples/hashtable2.cfa )
-
huge.c (moved) (moved from examples/huge.c )
-
includes.c (moved) (moved from examples/includes.c ) (4 diffs)
-
index.h (moved) (moved from examples/index.h )
-
io/cat.c (moved) (moved from examples/io/cat.c )
-
io/filereader.c (moved) (moved from examples/io/filereader.c )
-
io/simple/client.c (moved) (moved from examples/io/simple/client.c )
-
io/simple/server.c (moved) (moved from examples/io/simple/server.c )
-
io/simple/server.cfa (moved) (moved from examples/io/simple/server.cfa )
-
io/simple/server_epoll.c (moved) (moved from examples/io/simple/server_epoll.c )
-
io_uring.txt (moved) (moved from examples/io_uring.txt )
-
it_out.c (moved) (moved from examples/it_out.c )
-
multicore.c (moved) (moved from examples/multicore.c )
-
new.c (moved) (moved from examples/new.c )
-
poly-bench.c (moved) (moved from examples/poly-bench.c )
-
prolog.c (moved) (moved from examples/prolog.c )
-
quad.c (moved) (moved from examples/quad.c )
-
s.c (moved) (moved from examples/s.c )
-
simplePoly.c (moved) (moved from examples/simplePoly.c )
-
simpler.c (moved) (moved from examples/simpler.c )
-
specialize.c (moved) (moved from examples/specialize.c )
-
square.c (moved) (moved from examples/square.c )
-
twice.c (moved) (moved from examples/twice.c )
-
wrapper/.gitignore (moved) (moved from examples/wrapper/.gitignore )
-
wrapper/premake4.lua (moved) (moved from examples/wrapper/premake4.lua )
-
wrapper/src/main.c (moved) (moved from examples/wrapper/src/main.c )
-
wrapper/src/pointer.h (moved) (moved from examples/wrapper/src/pointer.h )
-
zero_one.c (moved) (moved from examples/zero_one.c )
Legend:
- Unmodified
- Added
- Removed
-
tests/zombies/Rank2.c
r1c1395d r17b6fc9 1 int ?=?( int *, int );2 forall(dtype DT) DT * ?=?( DT * *, DT * );1 int ?=?( int &, int ); 2 forall(dtype DT) DT * ?=?( DT *&, DT * ); 3 3 4 4 void a() { … … 11 11 void h( int *null ); 12 12 forall( otype T ) T id( T ); 13 forall( dtype T ) T *0;14 int 0;13 // forall( dtype T ) T *0; 14 // int 0; 15 15 h( id( id( id( 0 ) ) ) ); 16 16 } -
tests/zombies/Tuple.c
r1c1395d r17b6fc9 46 46 [ 3, 5 ]; 47 47 [ a, b ] = 3; 48 //[ a, b ] = [ 4.6 ];48 [ a, b ] = [ 4.6 ]; 49 49 [ a, b ] = 4.6; 50 50 [ a, b ] = [ c, d ] = [ 3, 5 ]; … … 59 59 [ a, b ] = t1 = [ c, d ]; 60 60 [ a, b ] = t1 = t2 = [ c, d ]; 61 //t1 = [ 3, 4 ] = [ 3, 4 ] = t1 = [ 3, 4 ];61 t1 = [ 3, 4 ] = [ 3, 4 ] = t1 = [ 3, 4 ]; 62 62 63 63 s.[ f1, i.[ f2, f3 ], f4 ] = [ 11, 12, 13, 3.14159 ]; … … 65 65 // [ a, , b, ] = h( 3, 3, 0, "abc" ); /* ignore some results */ 66 66 sp->[ f4, f1 ] = sp->[ f1, f4 ]; 67 printf( "expecting 3, 17, 23, 4; got % d, %d, %d, %d\n", s.[ f4, i.[ f3, f2 ], f1 ] );67 printf( "expecting 3, 17, 23, 4; got %g, %d, %d, %d\n", s.[ f4, i.[ f3, f2 ], f1 ] ); 68 68 rc = 0; 69 69 } -
tests/zombies/abstype.c
r1c1395d r17b6fc9 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Jun 14 14:27:48 201613 // Update Count : 912 // Last Modified On : Wed Sep 30 13:55:47 2020 13 // Update Count : 10 14 14 // 15 15 … … 21 21 } 22 22 23 forall( otype T ) lvalueT *?( T * );23 forall( otype T ) T *?( T * ); 24 24 int ?++( int * ); 25 25 int ?=?( int *, int ); -
tests/zombies/includes.c
r1c1395d r17b6fc9 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Nov 15 23:06:24 201713 // Update Count : 59 712 // Last Modified On : Wed Sep 30 13:59:18 2020 13 // Update Count : 598 14 14 // 15 15 … … 24 24 #if 1 25 25 #define _GNU_SOURCE 26 #include <a.out.h> 27 #include <aio.h> 28 #include <aliases.h> 29 #include <alloca.h> 30 #include <ansidecl.h> 31 #include <ar.h> 32 #include <argp.h> 33 #include <argz.h> 34 #include <assert.h> 35 //#include <bfd.h> 36 // #include <bfdlink.h> // keyword with 37 #include <byteswap.h> 38 #include <bzlib.h> 39 #include <cblas.h> 40 #include <cblas_f77.h> 41 #include <complex.h> 42 #include <com_err.h> 43 #include <cpio.h> 44 #include <crypt.h> 45 #include <ctype.h> 46 #include <curses.h> 47 #include <dialog.h> 48 #include <dirent.h> 49 #include <dis-asm.h> 50 #include <dlfcn.h> 51 #include <dlg_colors.h> 52 #include <dlg_config.h> 53 #include <dlg_keys.h> 54 #include <elf.h> 55 #include <endian.h> 56 #include <envz.h> 57 #include <err.h> 58 #include <errno.h> 59 #include <error.h> 60 #include <eti.h> 61 #include <evdns.h> 62 #include <event.h> 26 // #include <a.out.h> 27 // #include <aio.h> 28 // #include <aliases.h> 29 // #include <alloca.h> 30 // #include <ansidecl.h> 31 // #include <ar.h> 32 // #include <argp.h> 33 // #include <argz.h> 34 // #include <assert.h> 35 // #include <bfd.h> 36 // #include <bfdlink.h> // keyword with 37 // #include <byteswap.h> 38 // #include <bzlib.h> 39 // #include <cblas.h> 40 // #include <cblas_f77.h> 41 // #include <complex.h> 42 // #include <com_err.h> 43 // #include <cpio.h> 44 45 // #include <crypt.h> 46 // #include <ctype.h> 47 // #include <curses.h> 48 // #include <dialog.h> 49 // #include <dirent.h> 50 // #include <dis-asm.h> 51 // #include <dlfcn.h> 52 // #include <dlg_colors.h> 53 // #include <dlg_config.h> 54 // #include <dlg_keys.h> 55 // #include <elf.h> 56 // #include <endian.h> 57 // #include <envz.h> 58 // #include <err.h> 59 // #include <errno.h> 60 // #include <error.h> 61 // #include <eti.h> 62 // #include <evdns.h> 63 // #include <event.h> 63 64 64 65 // #include <evhttp.h> 65 66 // #include <sys/queue.h> 66 // #include <evrpc.h> // evrpc.h depends on sys/queue.h67 // #include <evrpc.h> // evrpc.h depends on sys/queue.h 67 68 // #include <evutil.h> 68 69 // #include <execinfo.h> … … 80 81 // #include <fts.h> 81 82 // #include <ftw.h> 83 82 84 // #include <gconv.h> 83 85 // #include <getopt.h> … … 89 91 // #include <gshadow.h> 90 92 // #include <gssapi.h> 91 // #include <hwloc.h>// keyword thread (setjmp)93 #include <hwloc.h> // keyword thread (setjmp) 92 94 // #include <iconv.h> 93 95 // #include <idna.h>
Note:
See TracChangeset
for help on using the changeset viewer.