>>> coccinelle: Building testing/coccinelle 1.1.1-r2 (using abuild 3.13.0-r0) started Thu, 18 Apr 2024 11:07:53 +0000 >>> coccinelle: Checking sanity of /home/buildozer/aports/testing/coccinelle/APKBUILD... >>> coccinelle: Analyzing dependencies... >>> coccinelle: Installing for build: build-base pcre python3 autoconf automake ocaml ocaml-findlib ocaml-num ocaml-ocamldoc (1/28) Installing pcre (8.45-r3) (2/28) Installing libffi (3.4.6-r0) (3/28) Installing gdbm (1.23-r1) (4/28) Installing mpdecimal (4.0.0-r0) (5/28) Installing libpanelw (6.4_p20240330-r0) (6/28) Installing readline (8.2.10-r0) (7/28) Installing sqlite-libs (3.45.3-r0) (8/28) Installing python3 (3.12.3-r1) (9/28) Installing python3-pycache-pyc0 (3.12.3-r1) (10/28) Installing pyc (3.12.3-r1) (11/28) Installing python3-pyc (3.12.3-r1) (12/28) Installing m4 (1.4.19-r3) (13/28) Installing perl (5.38.2-r0) (14/28) Installing autoconf (2.72-r0) (15/28) Installing automake (1.16.5-r2) (16/28) Installing ocaml-runtime (4.14.2-r1) (17/28) Installing ocaml (4.14.2-r1) (18/28) Installing bash (5.2.26-r0) Executing bash-5.2.26-r0.post-install (19/28) Installing rpm-scripts (4.19.1.1-r1) (20/28) Installing ocaml-abuild-helper (4.14.2-r1) (21/28) Installing ocaml-compiler-libs (4.14.2-r1) (22/28) Installing ocaml-findlib (1.9.6-r4) (23/28) Installing ocaml-num (1.4-r3) (24/28) Installing ocaml-ocamldoc (4.14.2-r1) (25/28) Installing .makedepends-coccinelle (20240418.110754) (26/28) Installing perl-error (0.17029-r2) (27/28) Installing perl-git (2.44.0-r2) (28/28) Installing git-perl (2.44.0-r2) Executing busybox-1.36.1-r25.trigger OK: 589 MiB in 138 packages >>> coccinelle: Cleaning up srcdir >>> coccinelle: Cleaning up pkgdir >>> coccinelle: Cleaning up tmpdir >>> coccinelle: Fetching https://distfiles.alpinelinux.org/distfiles/edge/coccinelle-1.1.1.tar.gz >>> coccinelle: Fetching https://distfiles.alpinelinux.org/distfiles/edge/coccinelle-1.1.1.tar.gz >>> coccinelle: Checking sha512sums... coccinelle-1.1.1.tar.gz: OK unit-test-score.bin: OK >>> coccinelle: Unpacking /var/cache/distfiles/coccinelle-1.1.1.tar.gz... configure: WARNING: unrecognized options: --enable-release configure: configuring coccinelle 1.1.1 in /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes configure: determining version suffix checking for date... /bin/date configure: version suffix set to Thu, 18 Apr 2024 11:08:03 +0000 configure: this configure program uses pkg-config m4 macros configure: this configure program uses ocaml m4 macros (see setup/ocaml.m4) configure: this configure program uses custom m4 macros (see setup/cocci.m4) configure: some fake substitutions for required but unavailable programs may be used (see setup/fake*) configure: verifying basic tools checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for bash... /bin/bash checking for tar... /bin/tar checking for patch... /usr/bin/patch checking for echo... /bin/echo checking for patchelf... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ocamlc... /usr/bin/ocamlc OCaml version is 4.14.2 OCaml library path is /usr/lib/ocaml checking for ocamlopt... /usr/bin/ocamlopt checking for ocamlc.opt... /usr/bin/ocamlc.opt checking for ocamlopt.opt... /usr/bin/ocamlopt.opt checking for ocaml... /usr/bin/ocaml checking for ocamldep... /usr/bin/ocamldep checking for ocamlmktop... /usr/bin/ocamlmktop checking for ocamlmklib... /usr/bin/ocamlmklib checking for ocamldoc... /usr/bin/ocamldoc checking that the OCaml version is at least 3.12... yes checking that the OCaml version is at least 4.02... yes checking that the OCaml version is at least 4.03... yes checking for ocamllex... /usr/bin/ocamllex checking for ocamllex.opt... /usr/bin/ocamllex.opt checking for ocamlyacc... /usr/bin/ocamlyacc checking for ocamlfind... /usr/bin/ocamlfind checking for ocamlprof... /usr/bin/ocamlprof configure: verifying basic ocaml modules configure: coccinelle may use external ocaml libraries in /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles configure: the following OCaml packages should be provided by your ocaml installation checking for OCaml findlib package unix... found checking for OCaml findlib package bigarray... found checking for OCaml findlib package str... found configure: configuring package dynlink checking for OCaml findlib package dynlink... found configure: configuring package parmap checking for OCaml findlib package parmap... not found configure: OCaml package parmap is not available checking for a bundled substitute of parmap... yes configure: using bundled substitute for parmap in /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/parmap configure: configuring package stdcompat checking for OCaml findlib package stdcompat... not found configure: OCaml package stdcompat is not available checking for a bundled substitute of stdcompat... yes configure: using bundled substitute for stdcompat in /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat configure: verifying optional features checking for menhir... no configure: menhir not found. Trying substitute /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/menhirLib/menhir. checking for menhir... /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/menhirLib/menhir configure: configuring package pyml checking for OCaml findlib package pyml... not found configure: OCaml package pyml is not available checking for a bundled substitute of pyml... yes configure: using bundled substitute for pyml in /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/pyml checking for libpcre... no checking for pdflatex... no configure: pdflatex not found. Trying substitute /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/setup/fake-pdflatex.sh pdflatex. checking for pdflatex... /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/setup/fake-pdflatex.sh pdflatex checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile.config config.status: creating version.ml config.status: creating commons/commands.ml config.status: creating globals/config.ml config.status: creating globals/regexp.ml config.status: creating python/pycocci.ml config.status: creating ocaml/prepare_ocamlcocci.ml config.status: creating scripts/spatch.sh config.status: creating tools/spgen/scripts/spgen.sh config.status: creating docs/spatch.1 config.status: creating setup/Makefile config.status: executing depfiles commands === configuring in bundles/stdcompat/stdcompat-current (/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat/stdcompat-current) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--enable-release=yes' '--with-python=/usr/bin/python3' 'CC=gcc' 'CFLAGS=-Os -fstack-clash-protection -Wformat -Werror=format-security' 'LDFLAGS=-Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for ocaml... ocaml checking for ocamlc.opt... ocamlc.opt checking OCaml version... 4.14.2 checking for ocamlfind... ocamlfind checking for ocamlfind package result... no checking for ocamlfind package seq... no checking for ocamlfind package uchar... no checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking OCaml target OS type... Unix checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating META config.status: creating Makefile config.status: creating stdcompat__hashtbl_ext.mli config.status: creating stdcompat__hashtbl_ext.ml config.status: creating stdcompat__init.mli config.status: creating stdcompat__init.ml config.status: creating stdcompat__root.mli config.status: creating stdcompat__root.ml config.status: creating stdcompat__tools.mli config.status: creating stdcompat__tools.ml config.status: creating stdcompat__native.ml_byte config.status: creating stdcompat__native.ml_native config.status: creating stdcompat_tests.ml config.status: creating stdcompat.h config.status: creating stdcompat__stubs.c config.status: creating stdcompat__pervasives_s.mli config.status: creating stdcompat__arg_s.mli config.status: creating stdcompat__array_s.mli config.status: creating stdcompat__arrayLabels_s.mli config.status: creating stdcompat__atomic_s.mli config.status: creating stdcompat__bool_s.mli config.status: creating stdcompat__buffer_s.mli config.status: creating stdcompat__bytes_s.mli config.status: creating stdcompat__bytesLabels_s.mli config.status: creating stdcompat__char_s.mli config.status: creating stdcompat__digest_s.mli config.status: creating stdcompat__either_s.mli config.status: creating stdcompat__ephemeron_s.mli config.status: creating stdcompat__filename_s.mli config.status: creating stdcompat__float_s.mli config.status: creating stdcompat__format_s.mli config.status: creating stdcompat__fun_s.mli config.status: creating stdcompat__hashtbl_s.mli config.status: creating stdcompat__int_s.mli config.status: creating stdcompat__int32_s.mli config.status: creating stdcompat__int64_s.mli config.status: creating stdcompat__lazy_s.mli config.status: creating stdcompat__lexing_s.mli config.status: creating stdcompat__list_s.mli config.status: creating stdcompat__listLabels_s.mli config.status: creating stdcompat__map_s.mli config.status: creating stdcompat__moreLabels_s.mli config.status: creating stdcompat__nativeint_s.mli config.status: creating stdcompat__option_s.mli config.status: creating stdcompat__printexc_s.mli config.status: creating stdcompat__printf_s.mli config.status: creating stdcompat__queue_s.mli config.status: creating stdcompat__result_s.mli config.status: creating stdcompat__seq_s.mli config.status: creating stdcompat__set_s.mli config.status: creating stdcompat__stack_s.mli config.status: creating stdcompat__stream_s.mli config.status: creating stdcompat__string_s.mli config.status: creating stdcompat__stringLabels_s.mli config.status: creating stdcompat__sys_s.mli config.status: creating stdcompat__uchar_s.mli config.status: creating stdcompat__weak_s.mli config.status: creating stdcompat__stdlib_s.mli config.status: creating stdcompat__pervasives_s.ml config.status: creating stdcompat__arg_s.ml config.status: creating stdcompat__array_s.ml config.status: creating stdcompat__arrayLabels_s.ml config.status: creating stdcompat__atomic_s.ml config.status: creating stdcompat__bool_s.ml config.status: creating stdcompat__buffer_s.ml config.status: creating stdcompat__bytes_s.ml config.status: creating stdcompat__bytesLabels_s.ml config.status: creating stdcompat__char_s.ml config.status: creating stdcompat__digest_s.ml config.status: creating stdcompat__either_s.ml config.status: creating stdcompat__ephemeron_s.ml config.status: creating stdcompat__filename_s.ml config.status: creating stdcompat__float_s.ml config.status: creating stdcompat__format_s.ml config.status: creating stdcompat__fun_s.ml config.status: creating stdcompat__hashtbl_s.ml config.status: creating stdcompat__int_s.ml config.status: creating stdcompat__int32_s.ml config.status: creating stdcompat__int64_s.ml config.status: creating stdcompat__lazy_s.ml config.status: creating stdcompat__lexing_s.ml config.status: creating stdcompat__list_s.ml config.status: creating stdcompat__listLabels_s.ml config.status: creating stdcompat__map_s.ml config.status: creating stdcompat__moreLabels_s.ml config.status: creating stdcompat__nativeint_s.ml config.status: creating stdcompat__option_s.ml config.status: creating stdcompat__printexc_s.ml config.status: creating stdcompat__printf_s.ml config.status: creating stdcompat__queue_s.ml config.status: creating stdcompat__result_s.ml config.status: creating stdcompat__seq_s.ml config.status: creating stdcompat__set_s.ml config.status: creating stdcompat__stack_s.ml config.status: creating stdcompat__stdlib_s.ml config.status: creating stdcompat__stream_s.ml config.status: creating stdcompat__string_s.ml config.status: creating stdcompat__stringLabels_s.ml config.status: creating stdcompat__sys_s.ml config.status: creating stdcompat__uchar_s.ml config.status: creating stdcompat__weak_s.ml config.status: creating stdcompat__pervasives.ml config.status: creating stdcompat__arg.ml config.status: creating stdcompat__array.ml config.status: creating stdcompat__arrayLabels.ml config.status: creating stdcompat__atomic.ml config.status: creating stdcompat__bool.ml config.status: creating stdcompat__buffer.ml config.status: creating stdcompat__bytes.ml config.status: creating stdcompat__bytesLabels.ml config.status: creating stdcompat__char.ml config.status: creating stdcompat__digest.ml config.status: creating stdcompat__either.ml config.status: creating stdcompat__ephemeron.ml config.status: creating stdcompat__filename.ml config.status: creating stdcompat__float.ml config.status: creating stdcompat__format.ml config.status: creating stdcompat__fun.ml config.status: creating stdcompat__hashtbl.ml config.status: creating stdcompat__int.ml config.status: creating stdcompat__int32.ml config.status: creating stdcompat__int64.ml config.status: creating stdcompat__lazy.ml config.status: creating stdcompat__lexing.ml config.status: creating stdcompat__list.ml config.status: creating stdcompat__listLabels.ml config.status: creating stdcompat__map.ml config.status: creating stdcompat__moreLabels.ml config.status: creating stdcompat__nativeint.ml config.status: creating stdcompat__option.ml config.status: creating stdcompat__printexc.ml config.status: creating stdcompat__printf.ml config.status: creating stdcompat__queue.ml config.status: creating stdcompat__result.ml config.status: creating stdcompat__seq.ml config.status: creating stdcompat__set.ml config.status: creating stdcompat__stack.ml config.status: creating stdcompat__stdlib.ml config.status: creating stdcompat__stream.ml config.status: creating stdcompat__string.ml config.status: creating stdcompat__stringLabels.ml config.status: creating stdcompat__sys.ml config.status: creating stdcompat__uchar.ml config.status: creating stdcompat__weak.ml config.status: creating stdcompat__pervasives.mli config.status: creating stdcompat__arg.mli config.status: creating stdcompat__array.mli config.status: creating stdcompat__arrayLabels.mli config.status: creating stdcompat__atomic.mli config.status: creating stdcompat__bool.mli config.status: creating stdcompat__buffer.mli config.status: creating stdcompat__bytes.mli config.status: creating stdcompat__bytesLabels.mli config.status: creating stdcompat__char.mli config.status: creating stdcompat__digest.mli config.status: creating stdcompat__either.mli config.status: creating stdcompat__ephemeron.mli config.status: creating stdcompat__filename.mli config.status: creating stdcompat__float.mli config.status: creating stdcompat__format.mli config.status: creating stdcompat__fun.mli config.status: creating stdcompat__hashtbl.mli config.status: creating stdcompat__int.mli config.status: creating stdcompat__int32.mli config.status: creating stdcompat__int64.mli config.status: creating stdcompat__lazy.mli config.status: creating stdcompat__lexing.mli config.status: creating stdcompat__list.mli config.status: creating stdcompat__listLabels.mli config.status: creating stdcompat__map.mli config.status: creating stdcompat__moreLabels.mli config.status: creating stdcompat__nativeint.mli config.status: creating stdcompat__option.mli config.status: creating stdcompat__printexc.mli config.status: creating stdcompat__printf.mli config.status: creating stdcompat__queue.mli config.status: creating stdcompat__result.mli config.status: creating stdcompat__seq.mli config.status: creating stdcompat__set.mli config.status: creating stdcompat__stack.mli config.status: creating stdcompat__stdlib.mli config.status: creating stdcompat__stream.mli config.status: creating stdcompat__string.mli config.status: creating stdcompat__stringLabels.mli config.status: creating stdcompat__sys.mli config.status: creating stdcompat__uchar.mli config.status: creating stdcompat__weak.mli config.status: creating stdcompat.mli config.status: creating stdcompat.ml config.status: creating config.h config.status: executing depfiles commands configure: OCaml version is 4.14.2 configure: Obj.magic will be used in redefinition when possible (add --disable-magic for pure redefinitions). === configuring in bundles/parmap/parmap (/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/parmap/parmap) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--enable-release=yes' '--with-python=/usr/bin/python3' 'CC=gcc' 'CFLAGS=-Os -fstack-clash-protection -Wformat -Werror=format-security' 'LDFLAGS=-Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs' --cache-file=/dev/null --srcdir=. checking for ocamlc... ocamlc OCaml version is 4.14.2 OCaml library path is /usr/lib/ocaml checking for ocamlopt... ocamlopt checking for ocamlc.opt... ocamlc.opt checking for ocamlopt.opt... ocamlopt.opt checking for dynlink.cmxa... yes checking for ocaml... ocaml checking for ocamldep... ocamldep checking for ocamlmktop... ocamlmktop checking for ocamlmklib... ocamlmklib checking for ocamldoc... ocamldoc checking for ocamlbuild... no checking for ocamlfind... ocamlfind checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking whether sched_setaffinity is declared... yes checking mach/thread_policy.h usability... no checking mach/thread_policy.h presence... no checking for mach/thread_policy.h... no checking whether thread_policy_set is declared... no checking whether to enable maintainer-specific portions of Makefiles... no ocamlbuild does not exists or it does not support -use-ocamlfind configure: creating ./config.status config.status: creating bytearray.ml config.status: creating Makefile_3.11 config.status: creating config.h configure: configuration completed ------------------------------------------------------------------------------ Summary configure flags: --prefix=/usr --enable-release=yes --with-python=/usr/bin/python3 findlib: /usr/bin/ocamlfind (an actual version is strongly recommended) menhir: /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/menhirLib/menhir (for local package use --without-menhir, install the menhir package otherwise) ocaml scripting: yes (overridable with --enable-ocaml) python scripting: yes (overridable with --enable-python) pcre regexes: no (overridable with --enable-pcre-syntax) pcre module: (for local package use --disable-pcre) pcre library: no (requires the libpcre-ocaml-dev package) optimized spatch: yes (overridable with --disable-opt) bash-completion: ${prefix}/share/bash-completion/completions (overridable with --with-bash-completion) ------------------------------------------------------------------------------ Coccinelle can now be compiled and installed. If you compile coccinelle again after source code changes or configuration changes, you may need to run first: $ make clean To compile coccinelle, run: $ make To install coccinelle, run: $ make install Then, to test coccinelle, run for example: $ spatch -sp_file demos/simple.cocci demos/simple.c -o /tmp/new_simple.c Or when coccinelle is not installed yet: $ COCCINELLE_HOME=/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1 ./scripts/spatch -sp_file demos/simple.cocci demos/simple.c -o /tmp/new_simple.c ------------------------------------------------------------------------------ You may need to set some environment variables so that the python libraries are found. The frontend 'spatch' sets the following variables: $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib $ export PYTHONPATH=$PYTHONPATH:${exec_prefix}/lib/coccinelle/python ------------------------------------------------------------------------------ OCAMLDEP commons/ocamlextra/dumper.ml OCAMLDEP commons/commands.ml OCAMLDEP commons/common.ml OCAMLDEP commons/ograph_simple.ml OCAMLDEP commons/ograph_extended.ml OCAMLDEP globals/config.ml OCAMLDEP globals/flag.ml OCAMLDEP globals/iteration.ml OCAMLDEP globals/regexp_str.ml OCAMLDEP globals/regexp.ml OCAMLDEP parsing_cocci/flag_parsing_cocci.ml OCAMLDEP parsing_cocci/ast_cocci.ml OCAMLDEP parsing_cocci/ast0_cocci.ml OCAMLDEP parsing_cocci/pretty_print_cocci.ml OCAMLDEP parsing_cocci/visitor_ast0_types.ml OCAMLDEP parsing_cocci/visitor_ast.ml OCAMLDEP parsing_cocci/visitor_ast0.ml OCAMLDEP parsing_cocci/ast0toast.ml OCAMLDEP parsing_cocci/unparse_ast0.ml OCAMLDEP parsing_cocci/unify_ast.ml OCAMLDEP parsing_cocci/compute_lines.ml OCAMLDEP parsing_cocci/iso_pattern.ml OCAMLDEP parsing_cocci/comm_assoc.ml OCAMLDEP parsing_cocci/iso_compile.ml OCAMLDEP parsing_cocci/single_statement.ml OCAMLDEP parsing_cocci/simple_assignments.ml OCAMLDEP parsing_cocci/get_metas.ml OCAMLDEP parsing_cocci/stmtlist.ml OCAMLDEP parsing_cocci/check_meta.ml OCAMLDEP parsing_cocci/top_level.ml OCAMLDEP parsing_cocci/type_infer.ml OCAMLDEP parsing_cocci/test_exps.ml OCAMLDEP parsing_cocci/unitary_ast0.ml OCAMLDEP parsing_cocci/arity.ml OCAMLDEP parsing_cocci/index.ml OCAMLDEP parsing_cocci/context_neg.ml OCAMLDEP parsing_cocci/adjust_pragmas.ml OCAMLDEP parsing_cocci/insert_plus.ml OCAMLDEP parsing_cocci/function_prototypes.ml OCAMLDEP parsing_cocci/semantic_cocci.ml OCAMLDEP parsing_cocci/data.ml OCAMLDEP parsing_cocci/free_vars.ml OCAMLDEP parsing_cocci/safe_for_multi_decls.ml OCAMLDEP parsing_cocci/parse_printf.ml OCAMLDEP parsing_cocci/parse_aux.ml OCAMLDEP parsing_cocci/cleanup_rules.ml OCAMLDEP parsing_cocci/disjdistr.ml OCAMLDEP parsing_cocci/cocci_grep.ml OCAMLDEP parsing_cocci/dpll.ml OCAMLDEP parsing_cocci/get_constants2.ml OCAMLDEP parsing_cocci/id_utils.ml OCAMLDEP parsing_cocci/git_grep.ml OCAMLDEP parsing_cocci/adjacency.ml OCAMLDEP parsing_cocci/commas_on_lists.ml OCAMLDEP parsing_cocci/re_constraints.ml OCAMLDEP parsing_cocci/parse_cocci.ml OCAMLDEP parsing_cocci/command_line.ml OCAMLDEP parsing_cocci/cocci_args.ml OCAMLDEP parsing_c/token_annot.ml OCAMLDEP parsing_c/flag_parsing_c.ml OCAMLDEP parsing_c/parsing_stat.ml OCAMLDEP parsing_c/token_c.ml OCAMLDEP parsing_c/ast_c.ml OCAMLDEP parsing_c/includes.ml OCAMLDEP parsing_c/control_flow_c.ml OCAMLDEP parsing_c/visitor_c.ml OCAMLDEP parsing_c/lib_parsing_c.ml OCAMLDEP parsing_c/includes_cache.ml OCAMLDEP parsing_c/control_flow_c_build.ml OCAMLDEP parsing_c/pretty_print_c.ml OCAMLDEP parsing_c/semantic_c.ml OCAMLDEP parsing_c/lexer_parser.ml OCAMLDEP parsing_c/parse_string_c.ml OCAMLDEP parsing_c/token_helpers.ml OCAMLDEP parsing_c/token_views_c.ml OCAMLDEP parsing_c/cpp_token_c.ml OCAMLDEP parsing_c/parsing_hacks.ml OCAMLDEP parsing_c/cpp_analysis_c.ml OCAMLDEP parsing_c/unparse_cocci.ml OCAMLDEP parsing_c/parsing_recovery_c.ml OCAMLDEP parsing_c/parsing_consistency_c.ml OCAMLDEP parsing_c/danger.ml OCAMLDEP parsing_c/parse_c.ml OCAMLDEP parsing_c/unparse_c.ml OCAMLDEP parsing_c/unparse_hrule.ml OCAMLDEP parsing_c/type_c.ml OCAMLDEP parsing_c/cpp_ast_c.ml OCAMLDEP parsing_c/type_annoter_c.ml OCAMLDEP parsing_c/comment_annotater_c.ml OCAMLDEP parsing_c/compare_c.ml OCAMLDEP parsing_c/test_parsing_c.ml OCAMLDEP ctl/flag_ctl.ml OCAMLDEP ctl/ast_ctl.ml OCAMLDEP ctl/pretty_print_ctl.ml OCAMLDEP ctl/ctl_engine.ml OCAMLDEP ctl/wrapper_ctl.ml OCAMLDEP ocaml/externalanalysis.ml OCAMLDEP ocaml/exposed_modules.ml OCAMLDEP ocaml/coccilib.ml OCAMLDEP ocaml/ocamlcocci_aux.ml OCAMLDEP ocaml/yes_prepare_ocamlcocci.ml OCAMLDEP ocaml/prepare_ocamlcocci.ml OCAMLDEP ocaml/run_ocamlcocci.ml OCAMLDEP python/pycocci_aux.ml OCAMLDEP python/yes_pycocci.ml OCAMLDEP python/pycocci.ml OCAMLDEP engine/flag_matcher.ml OCAMLDEP engine/lib_engine.ml OCAMLDEP engine/pretty_print_engine.ml OCAMLDEP engine/check_exhaustive_pattern.ml OCAMLDEP engine/check_reachability.ml OCAMLDEP engine/c_vs_c.ml OCAMLDEP engine/isomorphisms_c_c.ml OCAMLDEP engine/cocci_vs_c.ml OCAMLDEP engine/pattern_c.ml OCAMLDEP engine/transformation_c.ml OCAMLDEP engine/asttomember.ml OCAMLDEP engine/asttoctl2.ml OCAMLDEP engine/ctltotex.ml OCAMLDEP engine/postprocess_transinfo.ml OCAMLDEP engine/ctlcocci_integration.ml OCAMLDEP popl09/ast_popl.ml OCAMLDEP popl09/asttopopl.ml OCAMLDEP popl09/insert_quantifiers.ml OCAMLDEP popl09/pretty_print_popl.ml OCAMLDEP popl09/flag_popl.ml OCAMLDEP popl09/popltoctl.ml OCAMLDEP popl09/popl.ml OCAMLDEP extra/classic_patch.ml OCAMLDEP extra/kbuild.ml OCAMLDEP extra/maintainers.ml OCAMLDEP flag_cocci.ml OCAMLDEP cocci.ml OCAMLDEP testing.ml OCAMLDEP read_options.ml OCAMLDEP enter.ml OCAMLDEP main.ml OCAMLDEP tools/spgen/source/globals.ml OCAMLDEP tools/spgen/source/ast_tostring.ml OCAMLDEP tools/spgen/source/detect_patch.ml OCAMLDEP tools/spgen/source/meta_variable.ml OCAMLDEP tools/spgen/source/snapshot.ml OCAMLDEP tools/spgen/source/user_input.ml OCAMLDEP tools/spgen/source/position_generator.ml OCAMLDEP tools/spgen/source/disj_generator.ml OCAMLDEP tools/spgen/source/rule_body.ml OCAMLDEP tools/spgen/source/rule_header.ml OCAMLDEP tools/spgen/source/context_rule.ml OCAMLDEP tools/spgen/source/script_rule.ml OCAMLDEP tools/spgen/source/file_transform.ml OCAMLDEP tools/spgen/source/spgen_interactive.ml OCAMLDEP tools/spgen/source/spgen_config.ml OCAMLDEP tools/spgen/source/spgen.ml OCAMLDEP tools/spgen/source/spgen_test.ml OCAMLDEP tools/spgen/source/main.ml OCAMLLEX parsing_cocci/lexer_cocci.mll ocamllex warning: File "parsing_cocci/lexer_cocci.mll", line 301, character 67: unescaped newline in string. 400 states, 6934 transitions, table size 30136 bytes 4105 additional bytes used for bindings OCAMLDEP parsing_cocci/lexer_cocci.ml OCAMLLEX parsing_cocci/lexer_cli.mll 14 states, 681 transitions, table size 2808 bytes OCAMLDEP parsing_cocci/lexer_cli.ml OCAMLLEX parsing_cocci/lexer_script.mll 25 states, 314 transitions, table size 1406 bytes OCAMLDEP parsing_cocci/lexer_script.ml OCAMLLEX parsing_c/lexer_c.mll 564 states, 26650 transitions, table size 109984 bytes 17879 additional bytes used for bindings OCAMLDEP parsing_c/lexer_c.ml OCAMLLEX tools/spgen/source/spgen_lexer.mll 143 states, 8123 transitions, table size 33350 bytes 23641 additional bytes used for bindings OCAMLDEP tools/spgen/source/spgen_lexer.ml OCAMLYACC parsing_c/parser_c.mly OCAMLDEP parsing_c/parser_c.ml OCAMLDEP commons/ocamlextra/dumper.mli OCAMLDEP commons/commands.mli OCAMLDEP commons/common.mli OCAMLDEP commons/ograph_simple.mli OCAMLDEP commons/ograph_extended.mli OCAMLDEP globals/config.mli OCAMLDEP globals/flag.mli OCAMLDEP globals/iteration.mli OCAMLDEP globals/regexp_str.mli OCAMLDEP globals/regexp.mli OCAMLDEP parsing_cocci/flag_parsing_cocci.mli OCAMLDEP parsing_cocci/ast_cocci.mli OCAMLDEP parsing_cocci/ast0_cocci.mli OCAMLDEP parsing_cocci/pretty_print_cocci.mli OCAMLDEP parsing_cocci/visitor_ast0_types.mli OCAMLDEP parsing_cocci/visitor_ast.mli OCAMLDEP parsing_cocci/visitor_ast0.mli OCAMLDEP parsing_cocci/ast0toast.mli OCAMLDEP parsing_cocci/unparse_ast0.mli OCAMLDEP parsing_cocci/unify_ast.mli OCAMLDEP parsing_cocci/compute_lines.mli OCAMLDEP parsing_cocci/iso_pattern.mli OCAMLDEP parsing_cocci/comm_assoc.mli OCAMLDEP parsing_cocci/iso_compile.mli OCAMLDEP parsing_cocci/single_statement.mli OCAMLDEP parsing_cocci/simple_assignments.mli OCAMLDEP parsing_cocci/get_metas.mli OCAMLDEP parsing_cocci/stmtlist.mli OCAMLDEP parsing_cocci/check_meta.mli OCAMLDEP parsing_cocci/top_level.mli OCAMLDEP parsing_cocci/type_infer.mli OCAMLDEP parsing_cocci/test_exps.mli OCAMLDEP parsing_cocci/unitary_ast0.mli OCAMLDEP parsing_cocci/arity.mli OCAMLDEP parsing_cocci/index.mli OCAMLDEP parsing_cocci/context_neg.mli OCAMLDEP parsing_cocci/adjust_pragmas.mli OCAMLDEP parsing_cocci/insert_plus.mli OCAMLDEP parsing_cocci/function_prototypes.mli OCAMLDEP parsing_cocci/semantic_cocci.mli OCAMLDEP parsing_cocci/data.mli OCAMLDEP parsing_cocci/free_vars.mli OCAMLDEP parsing_cocci/safe_for_multi_decls.mli OCAMLDEP parsing_cocci/parse_printf.mli OCAMLDEP parsing_cocci/parse_aux.mli OCAMLDEP parsing_cocci/cleanup_rules.mli OCAMLDEP parsing_cocci/disjdistr.mli OCAMLDEP parsing_cocci/cocci_grep.mli OCAMLDEP parsing_cocci/dpll.mli OCAMLDEP parsing_cocci/get_constants2.mli OCAMLDEP parsing_cocci/id_utils.mli OCAMLDEP parsing_cocci/git_grep.mli OCAMLDEP parsing_cocci/adjacency.mli OCAMLDEP parsing_cocci/commas_on_lists.mli OCAMLDEP parsing_cocci/re_constraints.mli OCAMLDEP parsing_cocci/parse_cocci.mli OCAMLDEP parsing_cocci/command_line.mli OCAMLDEP parsing_cocci/cocci_args.mli OCAMLDEP parsing_c/token_annot.mli OCAMLDEP parsing_c/flag_parsing_c.mli OCAMLDEP parsing_c/parsing_stat.mli OCAMLDEP parsing_c/token_c.mli OCAMLDEP parsing_c/ast_c.mli OCAMLDEP parsing_c/includes.mli OCAMLDEP parsing_c/control_flow_c.mli OCAMLDEP parsing_c/visitor_c.mli OCAMLDEP parsing_c/lib_parsing_c.mli OCAMLDEP parsing_c/includes_cache.mli OCAMLDEP parsing_c/control_flow_c_build.mli OCAMLDEP parsing_c/pretty_print_c.mli OCAMLDEP parsing_c/semantic_c.mli OCAMLDEP parsing_c/lexer_parser.mli OCAMLDEP parsing_c/parse_string_c.mli OCAMLDEP parsing_c/token_helpers.mli OCAMLDEP parsing_c/token_views_c.mli OCAMLDEP parsing_c/cpp_token_c.mli OCAMLDEP parsing_c/parsing_hacks.mli OCAMLDEP parsing_c/cpp_analysis_c.mli OCAMLDEP parsing_c/unparse_cocci.mli OCAMLDEP parsing_c/parsing_recovery_c.mli OCAMLDEP parsing_c/parsing_consistency_c.mli OCAMLDEP parsing_c/danger.mli OCAMLDEP parsing_c/parse_c.mli OCAMLDEP parsing_c/unparse_c.mli OCAMLDEP parsing_c/unparse_hrule.mli OCAMLDEP parsing_c/type_c.mli OCAMLDEP parsing_c/cpp_ast_c.mli OCAMLDEP parsing_c/type_annoter_c.mli OCAMLDEP parsing_c/comment_annotater_c.mli OCAMLDEP parsing_c/compare_c.mli OCAMLDEP parsing_c/test_parsing_c.mli OCAMLDEP ctl/flag_ctl.mli OCAMLDEP ctl/ast_ctl.mli OCAMLDEP ctl/pretty_print_ctl.mli OCAMLDEP ctl/ctl_engine.mli OCAMLDEP ctl/wrapper_ctl.mli OCAMLDEP ocaml/externalanalysis.mli OCAMLDEP ocaml/exposed_modules.mli OCAMLDEP ocaml/coccilib.mli OCAMLDEP ocaml/ocamlcocci_aux.mli OCAMLDEP ocaml/yes_prepare_ocamlcocci.mli OCAMLDEP ocaml/prepare_ocamlcocci.mli OCAMLDEP ocaml/run_ocamlcocci.mli OCAMLDEP python/pycocci_aux.mli OCAMLDEP python/yes_pycocci.mli OCAMLDEP python/pycocci.mli OCAMLDEP engine/flag_matcher.mli OCAMLDEP engine/lib_engine.mli OCAMLDEP engine/pretty_print_engine.mli OCAMLDEP engine/check_exhaustive_pattern.mli OCAMLDEP engine/check_reachability.mli OCAMLDEP engine/c_vs_c.mli OCAMLDEP engine/isomorphisms_c_c.mli OCAMLDEP engine/cocci_vs_c.mli OCAMLDEP engine/pattern_c.mli OCAMLDEP engine/transformation_c.mli OCAMLDEP engine/asttomember.mli OCAMLDEP engine/asttoctl2.mli OCAMLDEP engine/ctltotex.mli OCAMLDEP engine/postprocess_transinfo.mli OCAMLDEP engine/ctlcocci_integration.mli OCAMLDEP popl09/ast_popl.mli OCAMLDEP popl09/asttopopl.mli OCAMLDEP popl09/insert_quantifiers.mli OCAMLDEP popl09/pretty_print_popl.mli OCAMLDEP popl09/flag_popl.mli OCAMLDEP popl09/popltoctl.mli OCAMLDEP popl09/popl.mli OCAMLDEP extra/classic_patch.mli OCAMLDEP extra/kbuild.mli OCAMLDEP extra/maintainers.mli OCAMLDEP flag_cocci.mli OCAMLDEP cocci.mli OCAMLDEP testing.mli OCAMLDEP read_options.mli OCAMLDEP enter.mli OCAMLDEP main.mli OCAMLDEP tools/spgen/source/globals.mli OCAMLDEP tools/spgen/source/ast_tostring.mli OCAMLDEP tools/spgen/source/detect_patch.mli OCAMLDEP tools/spgen/source/meta_variable.mli OCAMLDEP tools/spgen/source/snapshot.mli OCAMLDEP tools/spgen/source/user_input.mli OCAMLDEP tools/spgen/source/position_generator.mli OCAMLDEP tools/spgen/source/disj_generator.mli OCAMLDEP tools/spgen/source/rule_body.mli OCAMLDEP tools/spgen/source/rule_header.mli OCAMLDEP tools/spgen/source/context_rule.mli OCAMLDEP tools/spgen/source/script_rule.mli OCAMLDEP tools/spgen/source/file_transform.mli OCAMLDEP tools/spgen/source/spgen_interactive.mli OCAMLDEP tools/spgen/source/spgen_config.mli OCAMLDEP tools/spgen/source/spgen.mli OCAMLDEP tools/spgen/source/spgen_test.mli OCAMLDEP tools/spgen/source/main.mli OCAMLDEP parsing_cocci/lexer_cocci.mli OCAMLDEP parsing_cocci/lexer_cli.mli OCAMLDEP parsing_cocci/lexer_script.mli OCAMLDEP parsing_c/lexer_c.mli OCAMLDEP tools/spgen/source/spgen_lexer.mli OCAMLDEP parsing_c/parser_c.mli make -C bundles/stdcompat all make[1]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat' cd stdcompat-current; make && cp *.mli *.cmi *.cmx *.cma *.cmxa *.a *.h .. make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat/stdcompat-current' cp stdcompat__native.ml_byte stdcompat__native.ml ocamlfind ocamldep stdcompat__init.ml stdcompat__root.ml stdcompat__seq_s.ml stdcompat__seq.ml stdcompat__tools.ml stdcompat__pervasives_s.ml stdcompat__arg_s.ml stdcompat__lazy_s.ml stdcompat__char_s.ml stdcompat__uchar_s.ml stdcompat__uchar.ml stdcompat__buffer_s.ml stdcompat__string_s.ml stdcompat__stringLabels_s.ml stdcompat__bytes_s.ml stdcompat__bytesLabels_s.ml stdcompat__either_s.ml stdcompat__either.ml stdcompat__list_s.ml stdcompat__listLabels_s.ml stdcompat__stack_s.ml stdcompat__list.ml stdcompat__hashtbl_ext.ml stdcompat__hashtbl_s.ml stdcompat__set_s.ml stdcompat__map_s.ml stdcompat__weak_s.ml stdcompat__sys_s.ml stdcompat__stream_s.ml stdcompat__digest_s.ml stdcompat__nativeint_s.ml stdcompat__int_s.ml stdcompat__int64_s.ml stdcompat__int32_s.ml stdcompat__filename_s.ml stdcompat__array_s.ml stdcompat__arrayLabels_s.ml stdcompat__float_s.ml stdcompat__queue_s.ml stdcompat__ephemeron_s.ml stdcompat__moreLabels_s.ml stdcompat__lexing_s.ml stdcompat__option_s.ml stdcompat__result_s.ml stdcompat__bool_s.ml stdcompat__fun_s.ml stdcompat__stdlib_s.ml stdcompat__printf_s.ml stdcompat__printexc_s.ml stdcompat__format_s.ml stdcompat__pervasives.ml stdcompat__arg.ml stdcompat__lazy.ml stdcompat__char.ml stdcompat__option.ml stdcompat__filename.ml stdcompat__sys.ml stdcompat__buffer.ml stdcompat__string.ml stdcompat__stringLabels.ml stdcompat__bytes.ml stdcompat__bytesLabels.ml stdcompat__listLabels.ml stdcompat__stack.ml stdcompat__hashtbl.ml stdcompat__set.ml stdcompat__map.ml stdcompat__weak.ml stdcompat__stream.ml stdcompat__digest.ml stdcompat__nativeint.ml stdcompat__int.ml stdcompat__int64.ml stdcompat__int32.ml stdcompat__array.ml stdcompat__arrayLabels.ml stdcompat__float.ml stdcompat__queue.ml stdcompat__ephemeron.ml stdcompat__moreLabels.ml stdcompat__lexing.ml stdcompat__printexc.ml stdcompat__result.ml stdcompat__bool.ml stdcompat__fun.ml stdcompat__format.ml stdcompat__printf.ml stdcompat__atomic.ml stdcompat__stdlib.ml stdcompat.ml stdcompat__native.mli stdcompat__init.mli stdcompat__root.mli stdcompat__seq_s.mli stdcompat__seq.mli stdcompat__tools.mli stdcompat__pervasives_s.mli stdcompat__arg_s.mli stdcompat__lazy_s.mli stdcompat__char_s.mli stdcompat__uchar_s.mli stdcompat__uchar.mli stdcompat__buffer_s.mli stdcompat__string_s.mli stdcompat__stringLabels_s.mli stdcompat__bytes_s.mli stdcompat__bytesLabels_s.mli stdcompat__either_s.mli stdcompat__either.mli stdcompat__list_s.mli stdcompat__listLabels_s.mli stdcompat__stack_s.mli stdcompat__list.mli stdcompat__hashtbl_ext.mli stdcompat__hashtbl_s.mli stdcompat__set_s.mli stdcompat__map_s.mli stdcompat__weak_s.mli stdcompat__sys_s.mli stdcompat__stream_s.mli stdcompat__digest_s.mli stdcompat__nativeint_s.mli stdcompat__int_s.mli stdcompat__int64_s.mli stdcompat__int32_s.mli stdcompat__filename_s.mli stdcompat__array_s.mli stdcompat__arrayLabels_s.mli stdcompat__float_s.mli stdcompat__queue_s.mli stdcompat__ephemeron_s.mli stdcompat__moreLabels_s.mli stdcompat__lexing_s.mli stdcompat__option_s.mli stdcompat__result_s.mli stdcompat__bool_s.mli stdcompat__fun_s.mli stdcompat__stdlib_s.mli stdcompat__printf_s.mli stdcompat__printexc_s.mli stdcompat__format_s.mli stdcompat__pervasives.mli stdcompat__arg.mli stdcompat__lazy.mli stdcompat__char.mli stdcompat__option.mli stdcompat__filename.mli stdcompat__sys.mli stdcompat__buffer.mli stdcompat__string.mli stdcompat__stringLabels.mli stdcompat__bytes.mli stdcompat__bytesLabels.mli stdcompat__listLabels.mli stdcompat__stack.mli stdcompat__hashtbl.mli stdcompat__set.mli stdcompat__map.mli stdcompat__weak.mli stdcompat__stream.mli stdcompat__digest.mli stdcompat__nativeint.mli stdcompat__int.mli stdcompat__int64.mli stdcompat__int32.mli stdcompat__array.mli stdcompat__arrayLabels.mli stdcompat__float.mli stdcompat__queue.mli stdcompat__ephemeron.mli stdcompat__moreLabels.mli stdcompat__lexing.mli stdcompat__printexc.mli stdcompat__result.mli stdcompat__bool.mli stdcompat__fun.mli stdcompat__format.mli stdcompat__printf.mli stdcompat__atomic.mli stdcompat__stdlib.mli stdcompat.mli stdcompat__native.ml_byte >.depend || rm -f .depend (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat/stdcompat-current/missing' autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h make all-am make[3]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat/stdcompat-current' ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__native.mli -o stdcompat__native.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__init.mli -o stdcompat__init.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__root.mli -o stdcompat__root.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__seq_s.mli -o stdcompat__seq_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__seq.mli -o stdcompat__seq.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__tools.mli -o stdcompat__tools.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__pervasives_s.mli -o stdcompat__pervasives_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__arg_s.mli -o stdcompat__arg_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__lazy_s.mli -o stdcompat__lazy_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__char_s.mli -o stdcompat__char_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__uchar_s.mli -o stdcompat__uchar_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__uchar.mli -o stdcompat__uchar.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__buffer_s.mli -o stdcompat__buffer_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__string_s.mli -o stdcompat__string_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stringLabels_s.mli -o stdcompat__stringLabels_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__bytes_s.mli -o stdcompat__bytes_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__bytesLabels_s.mli -o stdcompat__bytesLabels_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__either_s.mli -o stdcompat__either_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__either.mli -o stdcompat__either.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__list_s.mli -o stdcompat__list_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__listLabels_s.mli -o stdcompat__listLabels_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stack_s.mli -o stdcompat__stack_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__list.mli -o stdcompat__list.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__hashtbl_ext.mli -o stdcompat__hashtbl_ext.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__hashtbl_s.mli -o stdcompat__hashtbl_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__set_s.mli -o stdcompat__set_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__map_s.mli -o stdcompat__map_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__weak_s.mli -o stdcompat__weak_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__sys_s.mli -o stdcompat__sys_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stream_s.mli -o stdcompat__stream_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__digest_s.mli -o stdcompat__digest_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__nativeint_s.mli -o stdcompat__nativeint_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__int_s.mli -o stdcompat__int_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__int64_s.mli -o stdcompat__int64_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__int32_s.mli -o stdcompat__int32_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__filename_s.mli -o stdcompat__filename_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__array_s.mli -o stdcompat__array_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__arrayLabels_s.mli -o stdcompat__arrayLabels_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__float_s.mli -o stdcompat__float_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__queue_s.mli -o stdcompat__queue_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__ephemeron_s.mli -o stdcompat__ephemeron_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__moreLabels_s.mli -o stdcompat__moreLabels_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__lexing_s.mli -o stdcompat__lexing_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__option_s.mli -o stdcompat__option_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__result_s.mli -o stdcompat__result_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__bool_s.mli -o stdcompat__bool_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__fun_s.mli -o stdcompat__fun_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stdlib_s.mli -o stdcompat__stdlib_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__printf_s.mli -o stdcompat__printf_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__printexc_s.mli -o stdcompat__printexc_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__format_s.mli -o stdcompat__format_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__pervasives.mli -o stdcompat__pervasives.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__arg.mli -o stdcompat__arg.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__lazy.mli -o stdcompat__lazy.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__char.mli -o stdcompat__char.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__option.mli -o stdcompat__option.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__filename.mli -o stdcompat__filename.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__sys.mli -o stdcompat__sys.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__buffer.mli -o stdcompat__buffer.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__string.mli -o stdcompat__string.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stringLabels.mli -o stdcompat__stringLabels.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__bytes.mli -o stdcompat__bytes.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__bytesLabels.mli -o stdcompat__bytesLabels.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__listLabels.mli -o stdcompat__listLabels.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stack.mli -o stdcompat__stack.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__hashtbl.mli -o stdcompat__hashtbl.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__set.mli -o stdcompat__set.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__map.mli -o stdcompat__map.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__weak.mli -o stdcompat__weak.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stream.mli -o stdcompat__stream.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__digest.mli -o stdcompat__digest.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__nativeint.mli -o stdcompat__nativeint.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__int.mli -o stdcompat__int.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__int64.mli -o stdcompat__int64.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__int32.mli -o stdcompat__int32.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__array.mli -o stdcompat__array.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__arrayLabels.mli -o stdcompat__arrayLabels.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__float.mli -o stdcompat__float.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__queue.mli -o stdcompat__queue.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__ephemeron.mli -o stdcompat__ephemeron.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__moreLabels.mli -o stdcompat__moreLabels.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__lexing.mli -o stdcompat__lexing.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__printexc.mli -o stdcompat__printexc.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__result.mli -o stdcompat__result.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__bool.mli -o stdcompat__bool.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__fun.mli -o stdcompat__fun.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__format.mli -o stdcompat__format.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__printf.mli -o stdcompat__printf.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__atomic_s.mli -o stdcompat__atomic_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__atomic.mli -o stdcompat__atomic.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stdlib.mli -o stdcompat__stdlib.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat.mli -o stdcompat.cmi ocamlfind ocamlc -c stdcompat__stubs.c ocamlfind ocamlmklib -o stdcompat__stubs stdcompat__stubs.o ocamlfind ocamlc -bin-annot -no-alias-deps -I . -alert -deprecated -c -impl stdcompat__native.ml_byte ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__init.ml -o stdcompat__init.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__root.ml -o stdcompat__root.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__seq_s.ml -o stdcompat__seq_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__seq.ml -o stdcompat__seq.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__tools.ml -o stdcompat__tools.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__pervasives_s.ml -o stdcompat__pervasives_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__arg_s.ml -o stdcompat__arg_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__lazy_s.ml -o stdcompat__lazy_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__char_s.ml -o stdcompat__char_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__uchar_s.ml -o stdcompat__uchar_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__uchar.ml -o stdcompat__uchar.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__buffer_s.ml -o stdcompat__buffer_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__string_s.ml -o stdcompat__string_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stringLabels_s.ml -o stdcompat__stringLabels_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__bytes_s.ml -o stdcompat__bytes_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__bytesLabels_s.ml -o stdcompat__bytesLabels_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__either_s.ml -o stdcompat__either_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__either.ml -o stdcompat__either.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__list_s.ml -o stdcompat__list_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__listLabels_s.ml -o stdcompat__listLabels_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stack_s.ml -o stdcompat__stack_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__list.ml -o stdcompat__list.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__hashtbl_ext.ml -o stdcompat__hashtbl_ext.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__hashtbl_s.ml -o stdcompat__hashtbl_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__set_s.ml -o stdcompat__set_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__map_s.ml -o stdcompat__map_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__weak_s.ml -o stdcompat__weak_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__sys_s.ml -o stdcompat__sys_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stream_s.ml -o stdcompat__stream_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__digest_s.ml -o stdcompat__digest_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__nativeint_s.ml -o stdcompat__nativeint_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__int_s.ml -o stdcompat__int_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__int64_s.ml -o stdcompat__int64_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__int32_s.ml -o stdcompat__int32_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__filename_s.ml -o stdcompat__filename_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__array_s.ml -o stdcompat__array_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__arrayLabels_s.ml -o stdcompat__arrayLabels_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__float_s.ml -o stdcompat__float_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__queue_s.ml -o stdcompat__queue_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__ephemeron_s.ml -o stdcompat__ephemeron_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__moreLabels_s.ml -o stdcompat__moreLabels_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__lexing_s.ml -o stdcompat__lexing_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__option_s.ml -o stdcompat__option_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__result_s.ml -o stdcompat__result_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__bool_s.ml -o stdcompat__bool_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__fun_s.ml -o stdcompat__fun_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stdlib_s.ml -o stdcompat__stdlib_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__printf_s.ml -o stdcompat__printf_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__printexc_s.ml -o stdcompat__printexc_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__format_s.ml -o stdcompat__format_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__pervasives.ml -o stdcompat__pervasives.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__arg.ml -o stdcompat__arg.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__lazy.ml -o stdcompat__lazy.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__char.ml -o stdcompat__char.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__option.ml -o stdcompat__option.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__filename.ml -o stdcompat__filename.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__sys.ml -o stdcompat__sys.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__buffer.ml -o stdcompat__buffer.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__string.ml -o stdcompat__string.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stringLabels.ml -o stdcompat__stringLabels.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__bytes.ml -o stdcompat__bytes.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__bytesLabels.ml -o stdcompat__bytesLabels.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__listLabels.ml -o stdcompat__listLabels.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stack.ml -o stdcompat__stack.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__hashtbl.ml -o stdcompat__hashtbl.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__set.ml -o stdcompat__set.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__map.ml -o stdcompat__map.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__weak.ml -o stdcompat__weak.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stream.ml -o stdcompat__stream.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__digest.ml -o stdcompat__digest.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__nativeint.ml -o stdcompat__nativeint.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__int.ml -o stdcompat__int.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__int64.ml -o stdcompat__int64.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__int32.ml -o stdcompat__int32.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__array.ml -o stdcompat__array.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__arrayLabels.ml -o stdcompat__arrayLabels.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__float.ml -o stdcompat__float.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__queue.ml -o stdcompat__queue.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__ephemeron.ml -o stdcompat__ephemeron.cmo File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: iter This function won't be available in 5.0 File "ephemeron.mli", lines 91-92, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 16, characters 30-76: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: filter_map_inplace This function won't be available in 5.0 File "ephemeron.mli", lines 93-94, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 17, characters 0-65: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: fold This function won't be available in 5.0 File "ephemeron.mli", lines 95-96, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 18, characters 0-54: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: to_seq This function won't be available in 5.0 File "ephemeron.mli", lines 99-100, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 20, characters 0-37: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: to_seq_keys This function won't be available in 5.0 File "ephemeron.mli", lines 101-102, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 20, characters 38-73: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: to_seq_values This function won't be available in 5.0 File "ephemeron.mli", lines 103-104, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 21, characters 0-36: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: iter This function won't be available in 5.0 File "ephemeron.mli", lines 136-137, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 93, characters 30-76: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: filter_map_inplace This function won't be available in 5.0 File "ephemeron.mli", lines 138-139, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 94, characters 0-65: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: fold This function won't be available in 5.0 File "ephemeron.mli", lines 140-141, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 95, characters 0-54: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: to_seq This function won't be available in 5.0 File "ephemeron.mli", lines 144-145, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 97, characters 0-37: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: to_seq_keys This function won't be available in 5.0 File "ephemeron.mli", lines 146-147, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 97, characters 38-73: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: to_seq_values This function won't be available in 5.0 File "ephemeron.mli", lines 148-149, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 98, characters 0-36: Expected signature ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__moreLabels.ml -o stdcompat__moreLabels.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__lexing.ml -o stdcompat__lexing.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__printexc.ml -o stdcompat__printexc.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__result.ml -o stdcompat__result.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__bool.ml -o stdcompat__bool.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__fun.ml -o stdcompat__fun.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__format.ml -o stdcompat__format.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__printf.ml -o stdcompat__printf.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__atomic.ml -o stdcompat__atomic.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stdlib.ml -o stdcompat__stdlib.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat.ml -o stdcompat.cmo ocamlfind ocamlc -bin-annot -no-alias-deps -a stdcompat__native.cmo stdcompat__init.cmo stdcompat__root.cmo stdcompat__seq_s.cmo stdcompat__seq.cmo stdcompat__tools.cmo stdcompat__pervasives_s.cmo stdcompat__arg_s.cmo stdcompat__lazy_s.cmo stdcompat__char_s.cmo stdcompat__uchar_s.cmo stdcompat__uchar.cmo stdcompat__buffer_s.cmo stdcompat__string_s.cmo stdcompat__stringLabels_s.cmo stdcompat__bytes_s.cmo stdcompat__bytesLabels_s.cmo stdcompat__either_s.cmo stdcompat__either.cmo stdcompat__list_s.cmo stdcompat__listLabels_s.cmo stdcompat__stack_s.cmo stdcompat__list.cmo stdcompat__hashtbl_ext.cmo stdcompat__hashtbl_s.cmo stdcompat__set_s.cmo stdcompat__map_s.cmo stdcompat__weak_s.cmo stdcompat__sys_s.cmo stdcompat__stream_s.cmo stdcompat__digest_s.cmo stdcompat__nativeint_s.cmo stdcompat__int_s.cmo stdcompat__int64_s.cmo stdcompat__int32_s.cmo stdcompat__filename_s.cmo stdcompat__array_s.cmo stdcompat__arrayLabels_s.cmo stdcompat__float_s.cmo stdcompat__queue_s.cmo stdcompat__ephemeron_s.cmo stdcompat__moreLabels_s.cmo stdcompat__lexing_s.cmo stdcompat__option_s.cmo stdcompat__result_s.cmo stdcompat__bool_s.cmo stdcompat__fun_s.cmo stdcompat__stdlib_s.cmo stdcompat__printf_s.cmo stdcompat__printexc_s.cmo stdcompat__format_s.cmo stdcompat__pervasives.cmo stdcompat__arg.cmo stdcompat__lazy.cmo stdcompat__char.cmo stdcompat__option.cmo stdcompat__filename.cmo stdcompat__sys.cmo stdcompat__buffer.cmo stdcompat__string.cmo stdcompat__stringLabels.cmo stdcompat__bytes.cmo stdcompat__bytesLabels.cmo stdcompat__listLabels.cmo stdcompat__stack.cmo stdcompat__hashtbl.cmo stdcompat__set.cmo stdcompat__map.cmo stdcompat__weak.cmo stdcompat__stream.cmo stdcompat__digest.cmo stdcompat__nativeint.cmo stdcompat__int.cmo stdcompat__int64.cmo stdcompat__int32.cmo stdcompat__array.cmo stdcompat__arrayLabels.cmo stdcompat__float.cmo stdcompat__queue.cmo stdcompat__ephemeron.cmo stdcompat__moreLabels.cmo stdcompat__lexing.cmo stdcompat__printexc.cmo stdcompat__result.cmo stdcompat__bool.cmo stdcompat__fun.cmo stdcompat__format.cmo stdcompat__printf.cmo stdcompat__atomic.cmo stdcompat__stdlib.cmo stdcompat.cmo -cclib "-L. -lstdcompat__stubs" -o stdcompat.cma ocamlfind ocamlopt -bin-annot -no-alias-deps -I . -alert -deprecated -c -impl stdcompat__native.ml_native ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__init.ml -o stdcompat__init.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__root.ml -o stdcompat__root.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__seq_s.ml -o stdcompat__seq_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__seq.ml -o stdcompat__seq.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__tools.ml -o stdcompat__tools.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__pervasives_s.ml -o stdcompat__pervasives_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__arg_s.ml -o stdcompat__arg_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__lazy_s.ml -o stdcompat__lazy_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__char_s.ml -o stdcompat__char_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__uchar_s.ml -o stdcompat__uchar_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__uchar.ml -o stdcompat__uchar.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__buffer_s.ml -o stdcompat__buffer_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__string_s.ml -o stdcompat__string_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stringLabels_s.ml -o stdcompat__stringLabels_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__bytes_s.ml -o stdcompat__bytes_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__bytesLabels_s.ml -o stdcompat__bytesLabels_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__either_s.ml -o stdcompat__either_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__either.ml -o stdcompat__either.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__list_s.ml -o stdcompat__list_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__listLabels_s.ml -o stdcompat__listLabels_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stack_s.ml -o stdcompat__stack_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__list.ml -o stdcompat__list.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__hashtbl_ext.ml -o stdcompat__hashtbl_ext.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__hashtbl_s.ml -o stdcompat__hashtbl_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__set_s.ml -o stdcompat__set_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__map_s.ml -o stdcompat__map_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__weak_s.ml -o stdcompat__weak_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__sys_s.ml -o stdcompat__sys_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stream_s.ml -o stdcompat__stream_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__digest_s.ml -o stdcompat__digest_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__nativeint_s.ml -o stdcompat__nativeint_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__int_s.ml -o stdcompat__int_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__int64_s.ml -o stdcompat__int64_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__int32_s.ml -o stdcompat__int32_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__filename_s.ml -o stdcompat__filename_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__array_s.ml -o stdcompat__array_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__arrayLabels_s.ml -o stdcompat__arrayLabels_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__float_s.ml -o stdcompat__float_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__queue_s.ml -o stdcompat__queue_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__ephemeron_s.ml -o stdcompat__ephemeron_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__moreLabels_s.ml -o stdcompat__moreLabels_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__lexing_s.ml -o stdcompat__lexing_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__option_s.ml -o stdcompat__option_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__result_s.ml -o stdcompat__result_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__bool_s.ml -o stdcompat__bool_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__fun_s.ml -o stdcompat__fun_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stdlib_s.ml -o stdcompat__stdlib_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__printf_s.ml -o stdcompat__printf_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__printexc_s.ml -o stdcompat__printexc_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__format_s.ml -o stdcompat__format_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__pervasives.ml -o stdcompat__pervasives.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__arg.ml -o stdcompat__arg.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__lazy.ml -o stdcompat__lazy.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__char.ml -o stdcompat__char.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__option.ml -o stdcompat__option.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__filename.ml -o stdcompat__filename.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__sys.ml -o stdcompat__sys.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__buffer.ml -o stdcompat__buffer.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__string.ml -o stdcompat__string.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stringLabels.ml -o stdcompat__stringLabels.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__bytes.ml -o stdcompat__bytes.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__bytesLabels.ml -o stdcompat__bytesLabels.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__listLabels.ml -o stdcompat__listLabels.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stack.ml -o stdcompat__stack.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__hashtbl.ml -o stdcompat__hashtbl.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__set.ml -o stdcompat__set.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__map.ml -o stdcompat__map.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__weak.ml -o stdcompat__weak.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stream.ml -o stdcompat__stream.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__digest.ml -o stdcompat__digest.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__nativeint.ml -o stdcompat__nativeint.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__int.ml -o stdcompat__int.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__int64.ml -o stdcompat__int64.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__int32.ml -o stdcompat__int32.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__array.ml -o stdcompat__array.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__arrayLabels.ml -o stdcompat__arrayLabels.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__float.ml -o stdcompat__float.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__queue.ml -o stdcompat__queue.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__ephemeron.ml -o stdcompat__ephemeron.cmx File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: iter This function won't be available in 5.0 File "ephemeron.mli", lines 91-92, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 16, characters 30-76: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: filter_map_inplace This function won't be available in 5.0 File "ephemeron.mli", lines 93-94, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 17, characters 0-65: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: fold This function won't be available in 5.0 File "ephemeron.mli", lines 95-96, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 18, characters 0-54: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: to_seq This function won't be available in 5.0 File "ephemeron.mli", lines 99-100, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 20, characters 0-37: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: to_seq_keys This function won't be available in 5.0 File "ephemeron.mli", lines 101-102, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 20, characters 38-73: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: to_seq_values This function won't be available in 5.0 File "ephemeron.mli", lines 103-104, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 21, characters 0-36: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: iter This function won't be available in 5.0 File "ephemeron.mli", lines 136-137, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 93, characters 30-76: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: filter_map_inplace This function won't be available in 5.0 File "ephemeron.mli", lines 138-139, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 94, characters 0-65: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: fold This function won't be available in 5.0 File "ephemeron.mli", lines 140-141, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 95, characters 0-54: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: to_seq This function won't be available in 5.0 File "ephemeron.mli", lines 144-145, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 97, characters 0-37: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: to_seq_keys This function won't be available in 5.0 File "ephemeron.mli", lines 146-147, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 97, characters 38-73: Expected signature File "stdcompat__ephemeron.ml", line 1: Alert old_ephemeron_api: to_seq_values This function won't be available in 5.0 File "ephemeron.mli", lines 148-149, characters 2-73: Definition File "stdcompat__ephemeron_s.mli", line 98, characters 0-36: Expected signature ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__moreLabels.ml -o stdcompat__moreLabels.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__lexing.ml -o stdcompat__lexing.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__printexc.ml -o stdcompat__printexc.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__result.ml -o stdcompat__result.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__bool.ml -o stdcompat__bool.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__fun.ml -o stdcompat__fun.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__format.ml -o stdcompat__format.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__printf.ml -o stdcompat__printf.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__atomic.ml -o stdcompat__atomic.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat__stdlib.ml -o stdcompat__stdlib.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -I . -alert -deprecated stdcompat.ml -o stdcompat.cmx ocamlfind ocamlopt -bin-annot -no-alias-deps -a stdcompat__native.cmx stdcompat__init.cmx stdcompat__root.cmx stdcompat__seq_s.cmx stdcompat__seq.cmx stdcompat__tools.cmx stdcompat__pervasives_s.cmx stdcompat__arg_s.cmx stdcompat__lazy_s.cmx stdcompat__char_s.cmx stdcompat__uchar_s.cmx stdcompat__uchar.cmx stdcompat__buffer_s.cmx stdcompat__string_s.cmx stdcompat__stringLabels_s.cmx stdcompat__bytes_s.cmx stdcompat__bytesLabels_s.cmx stdcompat__either_s.cmx stdcompat__either.cmx stdcompat__list_s.cmx stdcompat__listLabels_s.cmx stdcompat__stack_s.cmx stdcompat__list.cmx stdcompat__hashtbl_ext.cmx stdcompat__hashtbl_s.cmx stdcompat__set_s.cmx stdcompat__map_s.cmx stdcompat__weak_s.cmx stdcompat__sys_s.cmx stdcompat__stream_s.cmx stdcompat__digest_s.cmx stdcompat__nativeint_s.cmx stdcompat__int_s.cmx stdcompat__int64_s.cmx stdcompat__int32_s.cmx stdcompat__filename_s.cmx stdcompat__array_s.cmx stdcompat__arrayLabels_s.cmx stdcompat__float_s.cmx stdcompat__queue_s.cmx stdcompat__ephemeron_s.cmx stdcompat__moreLabels_s.cmx stdcompat__lexing_s.cmx stdcompat__option_s.cmx stdcompat__result_s.cmx stdcompat__bool_s.cmx stdcompat__fun_s.cmx stdcompat__stdlib_s.cmx stdcompat__printf_s.cmx stdcompat__printexc_s.cmx stdcompat__format_s.cmx stdcompat__pervasives.cmx stdcompat__arg.cmx stdcompat__lazy.cmx stdcompat__char.cmx stdcompat__option.cmx stdcompat__filename.cmx stdcompat__sys.cmx stdcompat__buffer.cmx stdcompat__string.cmx stdcompat__stringLabels.cmx stdcompat__bytes.cmx stdcompat__bytesLabels.cmx stdcompat__listLabels.cmx stdcompat__stack.cmx stdcompat__hashtbl.cmx stdcompat__set.cmx stdcompat__map.cmx stdcompat__weak.cmx stdcompat__stream.cmx stdcompat__digest.cmx stdcompat__nativeint.cmx stdcompat__int.cmx stdcompat__int64.cmx stdcompat__int32.cmx stdcompat__array.cmx stdcompat__arrayLabels.cmx stdcompat__float.cmx stdcompat__queue.cmx stdcompat__ephemeron.cmx stdcompat__moreLabels.cmx stdcompat__lexing.cmx stdcompat__printexc.cmx stdcompat__result.cmx stdcompat__bool.cmx stdcompat__fun.cmx stdcompat__format.cmx stdcompat__printf.cmx stdcompat__atomic.cmx stdcompat__stdlib.cmx stdcompat.cmx -cclib "-L. -lstdcompat__stubs" -o stdcompat.cmxa ocamlfind ocamlopt -bin-annot -no-alias-deps -shared stdcompat__native.cmx stdcompat__init.cmx stdcompat__root.cmx stdcompat__seq_s.cmx stdcompat__seq.cmx stdcompat__tools.cmx stdcompat__pervasives_s.cmx stdcompat__arg_s.cmx stdcompat__lazy_s.cmx stdcompat__char_s.cmx stdcompat__uchar_s.cmx stdcompat__uchar.cmx stdcompat__buffer_s.cmx stdcompat__string_s.cmx stdcompat__stringLabels_s.cmx stdcompat__bytes_s.cmx stdcompat__bytesLabels_s.cmx stdcompat__either_s.cmx stdcompat__either.cmx stdcompat__list_s.cmx stdcompat__listLabels_s.cmx stdcompat__stack_s.cmx stdcompat__list.cmx stdcompat__hashtbl_ext.cmx stdcompat__hashtbl_s.cmx stdcompat__set_s.cmx stdcompat__map_s.cmx stdcompat__weak_s.cmx stdcompat__sys_s.cmx stdcompat__stream_s.cmx stdcompat__digest_s.cmx stdcompat__nativeint_s.cmx stdcompat__int_s.cmx stdcompat__int64_s.cmx stdcompat__int32_s.cmx stdcompat__filename_s.cmx stdcompat__array_s.cmx stdcompat__arrayLabels_s.cmx stdcompat__float_s.cmx stdcompat__queue_s.cmx stdcompat__ephemeron_s.cmx stdcompat__moreLabels_s.cmx stdcompat__lexing_s.cmx stdcompat__option_s.cmx stdcompat__result_s.cmx stdcompat__bool_s.cmx stdcompat__fun_s.cmx stdcompat__stdlib_s.cmx stdcompat__printf_s.cmx stdcompat__printexc_s.cmx stdcompat__format_s.cmx stdcompat__pervasives.cmx stdcompat__arg.cmx stdcompat__lazy.cmx stdcompat__char.cmx stdcompat__option.cmx stdcompat__filename.cmx stdcompat__sys.cmx stdcompat__buffer.cmx stdcompat__string.cmx stdcompat__stringLabels.cmx stdcompat__bytes.cmx stdcompat__bytesLabels.cmx stdcompat__listLabels.cmx stdcompat__stack.cmx stdcompat__hashtbl.cmx stdcompat__set.cmx stdcompat__map.cmx stdcompat__weak.cmx stdcompat__stream.cmx stdcompat__digest.cmx stdcompat__nativeint.cmx stdcompat__int.cmx stdcompat__int64.cmx stdcompat__int32.cmx stdcompat__array.cmx stdcompat__arrayLabels.cmx stdcompat__float.cmx stdcompat__queue.cmx stdcompat__ephemeron.cmx stdcompat__moreLabels.cmx stdcompat__lexing.cmx stdcompat__printexc.cmx stdcompat__result.cmx stdcompat__bool.cmx stdcompat__fun.cmx stdcompat__format.cmx stdcompat__printf.cmx stdcompat__atomic.cmx stdcompat__stdlib.cmx stdcompat.cmx -cclib "-L. -lstdcompat__stubs" -o stdcompat.cmxs make[3]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat/stdcompat-current' make[2]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat/stdcompat-current' make[1]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat' make -C bundles/menhirLib all make[1]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/menhirLib' cp menhir-20181113/src/yacc-parser.mly menhir-20181113/src/parser.mly make depend-rec make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/menhirLib' /usr/bin/ocamlyacc menhir-20181113/src/parser.mly /usr/bin/ocamlyacc menhir-20181113/src/sentenceParser.mly /usr/bin/ocamllex.opt menhir-20181113/src/lineCount.mll -o menhir-20181113/src/lineCount.ml 5 states, 259 transitions, table size 1066 bytes /usr/bin/ocamllex.opt menhir-20181113/src/lexpointfree.mll -o menhir-20181113/src/lexpointfree.ml 17 states, 1699 transitions, table size 6898 bytes /usr/bin/ocamllex.opt menhir-20181113/src/lexer.mll -o menhir-20181113/src/lexer.ml 321 states, 2918 transitions, table size 13598 bytes 5980 additional bytes used for bindings /usr/bin/ocamllex.opt menhir-20181113/src/lexdep.mll -o menhir-20181113/src/lexdep.ml 28 states, 426 transitions, table size 1872 bytes 1447 additional bytes used for bindings /usr/bin/ocamllex.opt menhir-20181113/src/lexmli.mll -o menhir-20181113/src/lexmli.ml 80 states, 5444 transitions, table size 22256 bytes 18240 additional bytes used for bindings /usr/bin/ocamllex.opt menhir-20181113/src/chopInlined.mll -o menhir-20181113/src/chopInlined.ml 13 states, 275 transitions, table size 1178 bytes 1193 additional bytes used for bindings /usr/bin/ocamllex.opt menhir-20181113/src/sentenceLexer.mll -o menhir-20181113/src/sentenceLexer.ml 16 states, 675 transitions, table size 2796 bytes /usr/bin/ocamllex.opt menhir-20181113/src/segment.mll -o menhir-20181113/src/segment.ml 16 states, 267 transitions, table size 1164 bytes echo "let libdir = \"/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/menhirLib\"" > menhir-20181113/src/installation.ml echo "let ocamlfind = false" >> menhir-20181113/src/installation.ml /usr/bin/ocamldep -I menhir-20181113/src menhir-20181113/src/Fix.mli menhir-20181113/src/IO.mli menhir-20181113/src/installation.mli menhir-20181113/src/keyword.mli menhir-20181113/src/positions.mli menhir-20181113/src/stringSet.mli menhir-20181113/src/settings.mli menhir-20181113/src/printer.mli menhir-20181113/src/codeBits.mli menhir-20181113/src/action.mli menhir-20181113/src/mark.mli menhir-20181113/src/stringMap.mli menhir-20181113/src/error.mli menhir-20181113/src/misc.mli menhir-20181113/src/codeBits.mli menhir-20181113/src/compressedBitSet.mli menhir-20181113/src/option.mli menhir-20181113/src/dot.mli menhir-20181113/src/InputFile.mli menhir-20181113/src/InputFile.mli menhir-20181113/src/parserAux.mli menhir-20181113/src/tarjan.mli menhir-20181113/src/unionFind.mli menhir-20181113/src/expandTokenAliases.mli menhir-20181113/src/partialGrammar.mli menhir-20181113/src/time.mli menhir-20181113/src/tokenType.mli menhir-20181113/src/nonterminalType.mli menhir-20181113/src/interface.mli menhir-20181113/src/infer.mli menhir-20181113/src/listMonad.mli menhir-20181113/src/sequence.mli menhir-20181113/src/CompletedNatWitness.mli menhir-20181113/src/Unifier.mli menhir-20181113/src/Memoize.mli menhir-20181113/src/SortUnification.mli menhir-20181113/src/SortInference.mli menhir-20181113/src/GroundSort.mli menhir-20181113/src/SelectiveExpansion.mli menhir-20181113/src/Drop.mli menhir-20181113/src/CheckSafeParameterizedGrammar.mli menhir-20181113/src/nonTerminalDefinitionInlining.mli menhir-20181113/src/reachability.mli menhir-20181113/src/unparameterizedPrinter.mli menhir-20181113/src/FixSolver.mli menhir-20181113/src/Boolean.mli menhir-20181113/src/Maps.mli menhir-20181113/src/patricia.mli menhir-20181113/src/grammarFunctor.mli menhir-20181113/src/keywordExpansion.mli menhir-20181113/src/anonymous.mli menhir-20181113/src/Driver.mli menhir-20181113/src/front.mli menhir-20181113/src/codePieces.mli menhir-20181113/src/item.mli menhir-20181113/src/derivation.mli menhir-20181113/src/lr0.mli menhir-20181113/src/slr.mli menhir-20181113/src/lr1.mli menhir-20181113/src/DependencyGraph.mli menhir-20181113/src/lr1partial.mli menhir-20181113/src/conflict.mli menhir-20181113/src/invariant.mli menhir-20181113/src/default.mli menhir-20181113/src/Trie.mli menhir-20181113/src/MySet.mli menhir-20181113/src/resizableArray.mli menhir-20181113/src/LowIntegerPriorityQueue.mli menhir-20181113/src/LRijkstraCore.mli menhir-20181113/src/codeBackend.mli menhir-20181113/src/coqBackend.mli menhir-20181113/src/pprint.mli menhir-20181113/src/cst.mli menhir-20181113/src/inliner.mli menhir-20181113/src/referenceInterpreter.mli menhir-20181113/src/interpret.mli menhir-20181113/src/tableBackend.mli menhir-20181113/src/astar.mli menhir-20181113/src/LRijkstra.mli menhir-20181113/src/cmly_read.mli menhir-20181113/src/cmly_write.mli menhir-20181113/src/back.mli menhir-20181113/src/General.mli menhir-20181113/src/InfiniteArray.mli menhir-20181113/src/PackedIntArray.mli menhir-20181113/src/LinearizedArray.mli menhir-20181113/src/RowDisplacement.mli menhir-20181113/src/Engine.mli menhir-20181113/src/TableInterpreter.mli menhir-20181113/src/Convert.mli menhir-20181113/src/stretch.mli menhir-20181113/src/IL.mli menhir-20181113/src/lookahead.mli menhir-20181113/src/Fix.ml menhir-20181113/src/IO.ml menhir-20181113/src/keyword.ml menhir-20181113/src/positions.ml menhir-20181113/src/stringSet.ml menhir-20181113/src/version.ml menhir-20181113/src/settings.ml menhir-20181113/src/printer.ml menhir-20181113/src/codeBits.ml menhir-20181113/src/action.ml menhir-20181113/src/mark.ml menhir-20181113/src/stringMap.ml menhir-20181113/src/error.ml menhir-20181113/src/misc.ml menhir-20181113/src/codeBits.ml menhir-20181113/src/gSet.ml menhir-20181113/src/compressedBitSet.ml menhir-20181113/src/option.ml menhir-20181113/src/dot.ml menhir-20181113/src/InputFile.ml menhir-20181113/src/parameters.ml menhir-20181113/src/InputFile.ml menhir-20181113/src/parserAux.ml menhir-20181113/src/tarjan.ml menhir-20181113/src/unionFind.ml menhir-20181113/src/expandTokenAliases.ml menhir-20181113/src/partialGrammar.ml menhir-20181113/src/time.ml menhir-20181113/src/unparameterizedSyntax.ml menhir-20181113/src/tokenType.ml menhir-20181113/src/nonterminalType.ml menhir-20181113/src/interface.ml menhir-20181113/src/infer.ml menhir-20181113/src/listMonad.ml menhir-20181113/src/sequence.ml menhir-20181113/src/CompletedNatWitness.ml menhir-20181113/src/Unifier.ml menhir-20181113/src/Memoize.ml menhir-20181113/src/SortUnification.ml menhir-20181113/src/SortInference.ml menhir-20181113/src/GroundSort.ml menhir-20181113/src/SelectiveExpansion.ml menhir-20181113/src/syntax.ml menhir-20181113/src/Drop.ml menhir-20181113/src/CheckSafeParameterizedGrammar.ml menhir-20181113/src/nonTerminalDefinitionInlining.ml menhir-20181113/src/reachability.ml menhir-20181113/src/unparameterizedPrinter.ml menhir-20181113/src/FixSolver.ml menhir-20181113/src/Boolean.ml menhir-20181113/src/Maps.ml menhir-20181113/src/patricia.ml menhir-20181113/src/grammarFunctor.ml menhir-20181113/src/keywordExpansion.ml menhir-20181113/src/anonymous.ml menhir-20181113/src/Driver.ml menhir-20181113/src/front.ml menhir-20181113/src/gMap.ml menhir-20181113/src/grammar.ml menhir-20181113/src/codePieces.ml menhir-20181113/src/item.ml menhir-20181113/src/derivation.ml menhir-20181113/src/lr0.ml menhir-20181113/src/slr.ml menhir-20181113/src/lr1.ml menhir-20181113/src/DependencyGraph.ml menhir-20181113/src/lr1partial.ml menhir-20181113/src/conflict.ml menhir-20181113/src/invariant.ml menhir-20181113/src/default.ml menhir-20181113/src/Trie.ml menhir-20181113/src/MySet.ml menhir-20181113/src/resizableArray.ml menhir-20181113/src/LowIntegerPriorityQueue.ml menhir-20181113/src/LRijkstraCore.ml menhir-20181113/src/codeBackend.ml menhir-20181113/src/coqBackend.ml menhir-20181113/src/pprint.ml menhir-20181113/src/cst.ml menhir-20181113/src/traverse.ml menhir-20181113/src/inliner.ml menhir-20181113/src/referenceInterpreter.ml menhir-20181113/src/sentenceParserAux.ml menhir-20181113/src/interpret.ml menhir-20181113/src/tableBackend.ml menhir-20181113/src/astar.ml menhir-20181113/src/LRijkstra.ml menhir-20181113/src/cmly_api.ml menhir-20181113/src/cmly_format.ml menhir-20181113/src/cmly_read.ml menhir-20181113/src/cmly_write.ml menhir-20181113/src/back.ml menhir-20181113/src/menhir.ml menhir-20181113/src/General.ml menhir-20181113/src/IncrementalEngine.ml menhir-20181113/src/InfiniteArray.ml menhir-20181113/src/PackedIntArray.ml menhir-20181113/src/LinearizedArray.ml menhir-20181113/src/RowDisplacement.ml menhir-20181113/src/EngineTypes.ml menhir-20181113/src/Engine.ml menhir-20181113/src/TableFormat.ml menhir-20181113/src/TableInterpreter.ml menhir-20181113/src/Convert.ml menhir-20181113/src/parser.ml menhir-20181113/src/sentenceParser.ml menhir-20181113/src/parser.mli menhir-20181113/src/sentenceParser.mli menhir-20181113/src/lineCount.ml menhir-20181113/src/lexpointfree.ml menhir-20181113/src/lexer.ml menhir-20181113/src/lexdep.ml menhir-20181113/src/lexmli.ml menhir-20181113/src/chopInlined.ml menhir-20181113/src/sentenceLexer.ml menhir-20181113/src/segment.ml menhir-20181113/src/installation.ml >.depend make[2]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/menhirLib' make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/menhirLib' /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Fix.mli -o menhir-20181113/src/Fix.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Fix.ml -o menhir-20181113/src/Fix.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/IO.mli -o menhir-20181113/src/IO.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/IO.ml -o menhir-20181113/src/IO.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/installation.mli -o menhir-20181113/src/installation.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/installation.ml -o menhir-20181113/src/installation.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/keyword.mli -o menhir-20181113/src/keyword.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/keyword.ml -o menhir-20181113/src/keyword.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lineCount.ml -o menhir-20181113/src/lineCount.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/positions.mli -o menhir-20181113/src/positions.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/positions.ml -o menhir-20181113/src/positions.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/stringSet.mli -o menhir-20181113/src/stringSet.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/stringSet.ml -o menhir-20181113/src/stringSet.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/version.ml -o menhir-20181113/src/version.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/settings.mli -o menhir-20181113/src/settings.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/settings.ml -o menhir-20181113/src/settings.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/stretch.mli -o menhir-20181113/src/stretch.cmi /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/IL.mli -o menhir-20181113/src/IL.cmi /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/printer.mli -o menhir-20181113/src/printer.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/printer.ml -o menhir-20181113/src/printer.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/codeBits.mli -o menhir-20181113/src/codeBits.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/codeBits.ml -o menhir-20181113/src/codeBits.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/action.mli -o menhir-20181113/src/action.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/action.ml -o menhir-20181113/src/action.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/mark.mli -o menhir-20181113/src/mark.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/mark.ml -o menhir-20181113/src/mark.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/stringMap.mli -o menhir-20181113/src/stringMap.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/stringMap.ml -o menhir-20181113/src/stringMap.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/General.mli -o menhir-20181113/src/General.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/General.ml -o menhir-20181113/src/General.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/IncrementalEngine.ml -o menhir-20181113/src/IncrementalEngine.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/InfiniteArray.mli -o menhir-20181113/src/InfiniteArray.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/InfiniteArray.ml -o menhir-20181113/src/InfiniteArray.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/PackedIntArray.mli -o menhir-20181113/src/PackedIntArray.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/PackedIntArray.ml -o menhir-20181113/src/PackedIntArray.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/LinearizedArray.mli -o menhir-20181113/src/LinearizedArray.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/LinearizedArray.ml -o menhir-20181113/src/LinearizedArray.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/RowDisplacement.mli -o menhir-20181113/src/RowDisplacement.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/RowDisplacement.ml -o menhir-20181113/src/RowDisplacement.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/EngineTypes.ml -o menhir-20181113/src/EngineTypes.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/IncrementalEngine.ml -o menhir-20181113/src/IncrementalEngine.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/EngineTypes.ml -o menhir-20181113/src/EngineTypes.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Engine.mli -o menhir-20181113/src/Engine.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/Engine.ml -o menhir-20181113/src/Engine.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/TableFormat.ml -o menhir-20181113/src/TableFormat.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/TableFormat.ml -o menhir-20181113/src/TableFormat.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/TableInterpreter.mli -o menhir-20181113/src/TableInterpreter.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/TableInterpreter.ml -o menhir-20181113/src/TableInterpreter.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Convert.mli -o menhir-20181113/src/Convert.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/Convert.ml -o menhir-20181113/src/Convert.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -pack \ menhir-20181113/src/General.cmx menhir-20181113/src/IncrementalEngine.cmx menhir-20181113/src/InfiniteArray.cmx menhir-20181113/src/PackedIntArray.cmx menhir-20181113/src/LinearizedArray.cmx menhir-20181113/src/RowDisplacement.cmx menhir-20181113/src/EngineTypes.cmx menhir-20181113/src/Engine.cmx menhir-20181113/src/TableFormat.cmx menhir-20181113/src/TableInterpreter.cmx menhir-20181113/src/Convert.cmx \ -o menhir-20181113/src/menhirLib.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/error.mli -o menhir-20181113/src/error.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/error.ml -o menhir-20181113/src/error.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/misc.mli -o menhir-20181113/src/misc.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/misc.ml -o menhir-20181113/src/misc.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/gSet.ml -o menhir-20181113/src/gSet.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/gSet.ml -o menhir-20181113/src/gSet.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/compressedBitSet.mli -o menhir-20181113/src/compressedBitSet.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/compressedBitSet.ml -o menhir-20181113/src/compressedBitSet.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/option.mli -o menhir-20181113/src/option.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/option.ml -o menhir-20181113/src/option.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/dot.mli -o menhir-20181113/src/dot.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/dot.ml -o menhir-20181113/src/dot.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/InputFile.mli -o menhir-20181113/src/InputFile.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/InputFile.ml -o menhir-20181113/src/InputFile.cmx File "menhir-20181113/src/InputFile.ml", line 52, characters 2-20: 52 | Pervasives.compare file1.input_file_index file2.input_file_index ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/syntax.ml -o menhir-20181113/src/syntax.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/parameters.ml -o menhir-20181113/src/parameters.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lexpointfree.ml -o menhir-20181113/src/lexpointfree.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/syntax.ml -o menhir-20181113/src/syntax.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/parserAux.mli -o menhir-20181113/src/parserAux.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/parserAux.ml -o menhir-20181113/src/parserAux.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/parser.mli -o menhir-20181113/src/parser.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/parser.ml -o menhir-20181113/src/parser.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lexer.ml -o menhir-20181113/src/lexer.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/tarjan.mli -o menhir-20181113/src/tarjan.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/tarjan.ml -o menhir-20181113/src/tarjan.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/unionFind.mli -o menhir-20181113/src/unionFind.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/unionFind.ml -o menhir-20181113/src/unionFind.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/expandTokenAliases.mli -o menhir-20181113/src/expandTokenAliases.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/expandTokenAliases.ml -o menhir-20181113/src/expandTokenAliases.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/partialGrammar.mli -o menhir-20181113/src/partialGrammar.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/partialGrammar.ml -o menhir-20181113/src/partialGrammar.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/time.mli -o menhir-20181113/src/time.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/time.ml -o menhir-20181113/src/time.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/unparameterizedSyntax.ml -o menhir-20181113/src/unparameterizedSyntax.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/unparameterizedSyntax.ml -o menhir-20181113/src/unparameterizedSyntax.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/tokenType.mli -o menhir-20181113/src/tokenType.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/tokenType.ml -o menhir-20181113/src/tokenType.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/nonterminalType.mli -o menhir-20181113/src/nonterminalType.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/nonterminalType.ml -o menhir-20181113/src/nonterminalType.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/interface.mli -o menhir-20181113/src/interface.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/interface.ml -o menhir-20181113/src/interface.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lexdep.ml -o menhir-20181113/src/lexdep.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lexmli.ml -o menhir-20181113/src/lexmli.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/infer.mli -o menhir-20181113/src/infer.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/infer.ml -o menhir-20181113/src/infer.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/listMonad.mli -o menhir-20181113/src/listMonad.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/listMonad.ml -o menhir-20181113/src/listMonad.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/chopInlined.ml -o menhir-20181113/src/chopInlined.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/sequence.mli -o menhir-20181113/src/sequence.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/sequence.ml -o menhir-20181113/src/sequence.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/CompletedNatWitness.mli -o menhir-20181113/src/CompletedNatWitness.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/CompletedNatWitness.ml -o menhir-20181113/src/CompletedNatWitness.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Unifier.mli -o menhir-20181113/src/Unifier.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Unifier.ml -o menhir-20181113/src/Unifier.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Memoize.mli -o menhir-20181113/src/Memoize.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Memoize.ml -o menhir-20181113/src/Memoize.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/GroundSort.mli -o menhir-20181113/src/GroundSort.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/GroundSort.ml -o menhir-20181113/src/GroundSort.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/SortUnification.mli -o menhir-20181113/src/SortUnification.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/SortUnification.ml -o menhir-20181113/src/SortUnification.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/SortInference.mli -o menhir-20181113/src/SortInference.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/SortInference.ml -o menhir-20181113/src/SortInference.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/SelectiveExpansion.mli -o menhir-20181113/src/SelectiveExpansion.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/SelectiveExpansion.ml -o menhir-20181113/src/SelectiveExpansion.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Drop.mli -o menhir-20181113/src/Drop.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Drop.ml -o menhir-20181113/src/Drop.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/CheckSafeParameterizedGrammar.mli -o menhir-20181113/src/CheckSafeParameterizedGrammar.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/CheckSafeParameterizedGrammar.ml -o menhir-20181113/src/CheckSafeParameterizedGrammar.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/nonTerminalDefinitionInlining.mli -o menhir-20181113/src/nonTerminalDefinitionInlining.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/nonTerminalDefinitionInlining.ml -o menhir-20181113/src/nonTerminalDefinitionInlining.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/reachability.mli -o menhir-20181113/src/reachability.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/reachability.ml -o menhir-20181113/src/reachability.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/unparameterizedPrinter.mli -o menhir-20181113/src/unparameterizedPrinter.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/unparameterizedPrinter.ml -o menhir-20181113/src/unparameterizedPrinter.cmx File "menhir-20181113/src/unparameterizedPrinter.ml", line 270, characters 50-68: 270 | compare_pairs InputFile.compare_input_files Pervasives.compare (m, v) (m', v') ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdcompat.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "menhir-20181113/src/unparameterizedPrinter.ml", line 349, characters 50-68: 349 | compare_pairs InputFile.compare_input_files Pervasives.compare (m, l) (m', l') ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdcompat.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/FixSolver.mli -o menhir-20181113/src/FixSolver.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/FixSolver.ml -o menhir-20181113/src/FixSolver.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Boolean.mli -o menhir-20181113/src/Boolean.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Boolean.ml -o menhir-20181113/src/Boolean.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Maps.mli -o menhir-20181113/src/Maps.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Maps.ml -o menhir-20181113/src/Maps.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/gMap.ml -o menhir-20181113/src/gMap.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/gMap.ml -o menhir-20181113/src/gMap.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/patricia.mli -o menhir-20181113/src/patricia.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/patricia.ml -o menhir-20181113/src/patricia.cmx File "menhir-20181113/src/patricia.ml", line 569, characters 20-38: 569 | let c = Pervasives.compare key1 key2 in ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "menhir-20181113/src/patricia.ml", line 942, characters 20-38: 942 | let c = Pervasives.compare x1 x2 in ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/grammarFunctor.mli -o menhir-20181113/src/grammarFunctor.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/grammarFunctor.ml -o menhir-20181113/src/grammarFunctor.cmx File "menhir-20181113/src/grammarFunctor.ml", line 395, characters 6-24: 395 | Pervasives.compare (decode i1) (decode i2) ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/keywordExpansion.mli -o menhir-20181113/src/keywordExpansion.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/keywordExpansion.ml -o menhir-20181113/src/keywordExpansion.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/anonymous.mli -o menhir-20181113/src/anonymous.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/anonymous.ml -o menhir-20181113/src/anonymous.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Driver.mli -o menhir-20181113/src/Driver.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Driver.ml -o menhir-20181113/src/Driver.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/front.mli -o menhir-20181113/src/front.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/front.ml -o menhir-20181113/src/front.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/grammar.ml -o menhir-20181113/src/grammar.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/grammar.ml -o menhir-20181113/src/grammar.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/codePieces.mli -o menhir-20181113/src/codePieces.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/codePieces.ml -o menhir-20181113/src/codePieces.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lookahead.mli -o menhir-20181113/src/lookahead.cmi /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/item.mli -o menhir-20181113/src/item.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/item.ml -o menhir-20181113/src/item.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/derivation.mli -o menhir-20181113/src/derivation.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/derivation.ml -o menhir-20181113/src/derivation.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lr0.mli -o menhir-20181113/src/lr0.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lr0.ml -o menhir-20181113/src/lr0.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/slr.mli -o menhir-20181113/src/slr.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/slr.ml -o menhir-20181113/src/slr.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lr1.mli -o menhir-20181113/src/lr1.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lr1.ml -o menhir-20181113/src/lr1.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/DependencyGraph.mli -o menhir-20181113/src/DependencyGraph.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/DependencyGraph.ml -o menhir-20181113/src/DependencyGraph.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lr1partial.mli -o menhir-20181113/src/lr1partial.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lr1partial.ml -o menhir-20181113/src/lr1partial.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/conflict.mli -o menhir-20181113/src/conflict.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/conflict.ml -o menhir-20181113/src/conflict.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/invariant.mli -o menhir-20181113/src/invariant.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/invariant.ml -o menhir-20181113/src/invariant.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/default.mli -o menhir-20181113/src/default.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/default.ml -o menhir-20181113/src/default.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Trie.mli -o menhir-20181113/src/Trie.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Trie.ml -o menhir-20181113/src/Trie.cmx File "menhir-20181113/src/Trie.ml", line 199, characters 4-22: 199 | Pervasives.compare t1.identity t2.identity ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/MySet.mli -o menhir-20181113/src/MySet.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/MySet.ml -o menhir-20181113/src/MySet.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/resizableArray.mli -o menhir-20181113/src/resizableArray.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/resizableArray.ml -o menhir-20181113/src/resizableArray.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/LowIntegerPriorityQueue.mli -o menhir-20181113/src/LowIntegerPriorityQueue.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/LowIntegerPriorityQueue.ml -o menhir-20181113/src/LowIntegerPriorityQueue.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/LRijkstraCore.mli -o menhir-20181113/src/LRijkstraCore.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/LRijkstraCore.ml -o menhir-20181113/src/LRijkstraCore.cmx File "menhir-20181113/src/LRijkstraCore.ml", line 403, characters 16-34: 403 | let c = Pervasives.compare (identity fact1) (identity fact2) in ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdcompat.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/codeBackend.mli -o menhir-20181113/src/codeBackend.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/codeBackend.ml -o menhir-20181113/src/codeBackend.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/coqBackend.mli -o menhir-20181113/src/coqBackend.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/coqBackend.ml -o menhir-20181113/src/coqBackend.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/pprint.mli -o menhir-20181113/src/pprint.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/pprint.ml -o menhir-20181113/src/pprint.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/cst.mli -o menhir-20181113/src/cst.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/cst.ml -o menhir-20181113/src/cst.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/traverse.ml -o menhir-20181113/src/traverse.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/inliner.mli -o menhir-20181113/src/inliner.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/inliner.ml -o menhir-20181113/src/inliner.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/referenceInterpreter.mli -o menhir-20181113/src/referenceInterpreter.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/referenceInterpreter.ml -o menhir-20181113/src/referenceInterpreter.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/sentenceParserAux.ml -o menhir-20181113/src/sentenceParserAux.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/sentenceParserAux.ml -o menhir-20181113/src/sentenceParserAux.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/sentenceParser.mli -o menhir-20181113/src/sentenceParser.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/sentenceParser.ml -o menhir-20181113/src/sentenceParser.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/sentenceLexer.ml -o menhir-20181113/src/sentenceLexer.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/segment.ml -o menhir-20181113/src/segment.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/interpret.mli -o menhir-20181113/src/interpret.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/interpret.ml -o menhir-20181113/src/interpret.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/tableBackend.mli -o menhir-20181113/src/tableBackend.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/tableBackend.ml -o menhir-20181113/src/tableBackend.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/astar.mli -o menhir-20181113/src/astar.cmi /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/General.ml -o menhir-20181113/src/General.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/InfiniteArray.ml -o menhir-20181113/src/InfiniteArray.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/PackedIntArray.ml -o menhir-20181113/src/PackedIntArray.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/LinearizedArray.ml -o menhir-20181113/src/LinearizedArray.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/RowDisplacement.ml -o menhir-20181113/src/RowDisplacement.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/Engine.ml -o menhir-20181113/src/Engine.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/TableInterpreter.ml -o menhir-20181113/src/TableInterpreter.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/Convert.ml -o menhir-20181113/src/Convert.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -pack \ menhir-20181113/src/General.cmo menhir-20181113/src/IncrementalEngine.cmo menhir-20181113/src/InfiniteArray.cmo menhir-20181113/src/PackedIntArray.cmo menhir-20181113/src/LinearizedArray.cmo menhir-20181113/src/RowDisplacement.cmo menhir-20181113/src/EngineTypes.cmo menhir-20181113/src/Engine.cmo menhir-20181113/src/TableFormat.cmo menhir-20181113/src/TableInterpreter.cmo menhir-20181113/src/Convert.cmo \ -o menhir-20181113/src/menhirLib.cmo /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/astar.ml -o menhir-20181113/src/astar.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/LRijkstra.mli -o menhir-20181113/src/LRijkstra.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/LRijkstra.ml -o menhir-20181113/src/LRijkstra.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/cmly_api.ml -o menhir-20181113/src/cmly_api.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/cmly_format.ml -o menhir-20181113/src/cmly_format.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/cmly_api.ml -o menhir-20181113/src/cmly_api.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/cmly_read.mli -o menhir-20181113/src/cmly_read.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/cmly_read.ml -o menhir-20181113/src/cmly_read.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/cmly_write.mli -o menhir-20181113/src/cmly_write.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/cmly_write.ml -o menhir-20181113/src/cmly_write.cmx /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/back.mli -o menhir-20181113/src/back.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/back.ml -o menhir-20181113/src/back.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/menhir.ml -o menhir-20181113/src/menhir.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I menhir-20181113/src unix.cmxa stdcompat.cmxa menhir-20181113/src/Fix.cmx menhir-20181113/src/IO.cmx menhir-20181113/src/installation.cmx menhir-20181113/src/keyword.cmx menhir-20181113/src/lineCount.cmx menhir-20181113/src/positions.cmx menhir-20181113/src/stringSet.cmx menhir-20181113/src/version.cmx menhir-20181113/src/settings.cmx menhir-20181113/src/printer.cmx menhir-20181113/src/codeBits.cmx menhir-20181113/src/action.cmx menhir-20181113/src/mark.cmx menhir-20181113/src/stringMap.cmx menhir-20181113/src/menhirLib.cmx menhir-20181113/src/error.cmx menhir-20181113/src/misc.cmx menhir-20181113/src/gSet.cmx menhir-20181113/src/compressedBitSet.cmx menhir-20181113/src/option.cmx menhir-20181113/src/dot.cmx menhir-20181113/src/InputFile.cmx menhir-20181113/src/parameters.cmx menhir-20181113/src/lexpointfree.cmx menhir-20181113/src/parserAux.cmx menhir-20181113/src/parser.cmx menhir-20181113/src/lexer.cmx menhir-20181113/src/tarjan.cmx menhir-20181113/src/unionFind.cmx menhir-20181113/src/expandTokenAliases.cmx menhir-20181113/src/partialGrammar.cmx menhir-20181113/src/time.cmx menhir-20181113/src/unparameterizedSyntax.cmx menhir-20181113/src/tokenType.cmx menhir-20181113/src/nonterminalType.cmx menhir-20181113/src/interface.cmx menhir-20181113/src/lexdep.cmx menhir-20181113/src/lexmli.cmx menhir-20181113/src/infer.cmx menhir-20181113/src/listMonad.cmx menhir-20181113/src/chopInlined.cmx menhir-20181113/src/sequence.cmx menhir-20181113/src/CompletedNatWitness.cmx menhir-20181113/src/Unifier.cmx menhir-20181113/src/Memoize.cmx menhir-20181113/src/SortUnification.cmx menhir-20181113/src/SortInference.cmx menhir-20181113/src/GroundSort.cmx menhir-20181113/src/SelectiveExpansion.cmx menhir-20181113/src/syntax.cmx menhir-20181113/src/Drop.cmx menhir-20181113/src/CheckSafeParameterizedGrammar.cmx menhir-20181113/src/nonTerminalDefinitionInlining.cmx menhir-20181113/src/reachability.cmx menhir-20181113/src/unparameterizedPrinter.cmx menhir-20181113/src/FixSolver.cmx menhir-20181113/src/Boolean.cmx menhir-20181113/src/Maps.cmx menhir-20181113/src/patricia.cmx menhir-20181113/src/grammarFunctor.cmx menhir-20181113/src/keywordExpansion.cmx menhir-20181113/src/anonymous.cmx menhir-20181113/src/Driver.cmx menhir-20181113/src/front.cmx menhir-20181113/src/gMap.cmx menhir-20181113/src/grammar.cmx menhir-20181113/src/codePieces.cmx menhir-20181113/src/item.cmx menhir-20181113/src/derivation.cmx menhir-20181113/src/lr0.cmx menhir-20181113/src/slr.cmx menhir-20181113/src/lr1.cmx menhir-20181113/src/DependencyGraph.cmx menhir-20181113/src/lr1partial.cmx menhir-20181113/src/conflict.cmx menhir-20181113/src/invariant.cmx menhir-20181113/src/default.cmx menhir-20181113/src/Trie.cmx menhir-20181113/src/MySet.cmx menhir-20181113/src/resizableArray.cmx menhir-20181113/src/LowIntegerPriorityQueue.cmx menhir-20181113/src/LRijkstraCore.cmx menhir-20181113/src/codeBackend.cmx menhir-20181113/src/coqBackend.cmx menhir-20181113/src/pprint.cmx menhir-20181113/src/cst.cmx menhir-20181113/src/traverse.cmx menhir-20181113/src/inliner.cmx menhir-20181113/src/referenceInterpreter.cmx menhir-20181113/src/sentenceParser.cmx menhir-20181113/src/sentenceLexer.cmx menhir-20181113/src/segment.cmx menhir-20181113/src/sentenceParserAux.cmx menhir-20181113/src/interpret.cmx menhir-20181113/src/tableBackend.cmx menhir-20181113/src/astar.cmx menhir-20181113/src/LRijkstra.cmx menhir-20181113/src/cmly_api.cmx menhir-20181113/src/cmly_format.cmx menhir-20181113/src/cmly_read.cmx menhir-20181113/src/cmly_write.cmx menhir-20181113/src/back.cmx menhir-20181113/src/menhir.cmx -o menhir-20181113/src/menhir cp menhir-20181113/src/menhir menhir cp menhir-20181113/src/menhirLib.cmi menhirLib.cmi cp menhir-20181113/src/menhirLib.cmo menhirLib.cmo cp menhir-20181113/src/standard.mly standard.mly make[2]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/menhirLib' make[1]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/menhirLib' make -C bundles/menhirLib all.opt make[1]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/menhirLib' make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/menhirLib' cp menhir-20181113/src/menhirLib.cmx menhirLib.cmx cp menhir-20181113/src/menhirLib.o menhirLib.o make[2]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/menhirLib' make[1]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/menhirLib' /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/menhirLib/menhir --ocamldep "/usr/bin/ocamldep -I commons/ocamlextra -I commons -I globals -I parsing_cocci -I parsing_c -I ctl -I ocaml -I python -I engine -I popl09 -I extra -I tools/spgen/source/ -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/pyml -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/parmap -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -ml-synonym .mll -ml-synonym .mly -mli-synonym .ml -mli-synonym .mll -mli-synonym .mly" --depend parsing_cocci/parser_cocci_menhir.mly >parsing_cocci/parser_cocci_menhir.mly.d || (rm parsing_cocci/parser_cocci_menhir.mly.d; false) OCAMLC commons/ocamlextra/dumper.mli OCAMLOPT commons/ocamlextra/dumper.ml OCAMLC commons/commands.mli OCAMLOPT commons/commands.ml OCAMLC commons/common.mli OCAMLOPT commons/common.ml File "commons/common.ml", line 5305, characters 4-14: 5305 | write_file file1 (unwords xs); ^^^^^^^^^^ Warning 6 [labels-omitted]: label file was omitted in the application of this function. File "commons/common.ml", line 5306, characters 4-14: 5306 | write_file file2 (unwords ys); ^^^^^^^^^^ Warning 6 [labels-omitted]: label file was omitted in the application of this function. File "commons/common.ml", line 5333, characters 4-14: 5333 | write_file "/tmp/diff1" xstr; ^^^^^^^^^^ Warning 6 [labels-omitted]: label file was omitted in the application of this function. File "commons/common.ml", line 5334, characters 4-14: 5334 | write_file "/tmp/diff2" ystr; ^^^^^^^^^^ Warning 6 [labels-omitted]: label file was omitted in the application of this function. OCAMLC commons/ograph_simple.mli OCAMLOPT commons/ograph_simple.ml OCAMLC commons/ograph_extended.mli OCAMLOPT commons/ograph_extended.ml OCAMLOPT -o commons/commons.cmxa OCAMLC globals/config.mli OCAMLOPT globals/config.ml OCAMLC globals/flag.mli OCAMLOPT globals/flag.ml OCAMLC globals/iteration.mli OCAMLOPT globals/iteration.ml OCAMLC globals/regexp_str.mli OCAMLOPT globals/regexp_str.ml OCAMLC globals/regexp.mli OCAMLOPT globals/regexp.ml OCAMLOPT -o globals/globals.cmxa OCAMLC parsing_cocci/flag_parsing_cocci.mli OCAMLOPT parsing_cocci/flag_parsing_cocci.ml OCAMLC parsing_cocci/ast_cocci.mli OCAMLOPT parsing_cocci/ast_cocci.ml OCAMLC parsing_cocci/ast0_cocci.mli OCAMLOPT parsing_cocci/ast0_cocci.ml OCAMLC parsing_cocci/pretty_print_cocci.mli OCAMLOPT parsing_cocci/pretty_print_cocci.ml OCAMLC parsing_cocci/visitor_ast0_types.mli OCAMLOPT parsing_cocci/visitor_ast0_types.ml OCAMLC parsing_cocci/visitor_ast.mli OCAMLOPT parsing_cocci/visitor_ast.ml OCAMLC parsing_cocci/visitor_ast0.mli OCAMLOPT parsing_cocci/visitor_ast0.ml OCAMLC parsing_cocci/ast0toast.mli OCAMLOPT parsing_cocci/ast0toast.ml OCAMLC parsing_cocci/unparse_ast0.mli OCAMLOPT parsing_cocci/unparse_ast0.ml OCAMLC parsing_cocci/unify_ast.mli OCAMLOPT parsing_cocci/unify_ast.ml OCAMLC parsing_cocci/compute_lines.mli OCAMLOPT parsing_cocci/compute_lines.ml OCAMLC parsing_cocci/iso_pattern.mli OCAMLOPT parsing_cocci/iso_pattern.ml OCAMLC parsing_cocci/comm_assoc.mli OCAMLOPT parsing_cocci/comm_assoc.ml OCAMLC parsing_cocci/iso_compile.mli OCAMLOPT parsing_cocci/iso_compile.ml OCAMLC parsing_cocci/single_statement.mli OCAMLOPT parsing_cocci/single_statement.ml OCAMLC parsing_cocci/simple_assignments.mli OCAMLOPT parsing_cocci/simple_assignments.ml OCAMLC parsing_cocci/get_metas.mli OCAMLOPT parsing_cocci/get_metas.ml OCAMLC parsing_cocci/stmtlist.mli OCAMLOPT parsing_cocci/stmtlist.ml OCAMLC parsing_cocci/check_meta.mli OCAMLOPT parsing_cocci/check_meta.ml OCAMLC parsing_cocci/top_level.mli OCAMLOPT parsing_cocci/top_level.ml OCAMLC parsing_cocci/type_infer.mli OCAMLOPT parsing_cocci/type_infer.ml OCAMLC parsing_cocci/test_exps.mli OCAMLOPT parsing_cocci/test_exps.ml OCAMLC parsing_cocci/unitary_ast0.mli OCAMLOPT parsing_cocci/unitary_ast0.ml OCAMLC parsing_cocci/arity.mli OCAMLOPT parsing_cocci/arity.ml OCAMLC parsing_cocci/index.mli OCAMLOPT parsing_cocci/index.ml OCAMLC parsing_cocci/context_neg.mli OCAMLOPT parsing_cocci/context_neg.ml OCAMLC parsing_cocci/adjust_pragmas.mli OCAMLOPT parsing_cocci/adjust_pragmas.ml OCAMLC parsing_cocci/insert_plus.mli OCAMLOPT parsing_cocci/insert_plus.ml OCAMLC parsing_cocci/function_prototypes.mli OCAMLOPT parsing_cocci/function_prototypes.ml OCAMLC parsing_cocci/semantic_cocci.mli OCAMLOPT parsing_cocci/semantic_cocci.ml OCAMLC parsing_cocci/data.mli OCAMLOPT parsing_cocci/data.ml OCAMLC parsing_cocci/free_vars.mli OCAMLOPT parsing_cocci/free_vars.ml OCAMLC parsing_cocci/safe_for_multi_decls.mli OCAMLOPT parsing_cocci/safe_for_multi_decls.ml OCAMLC parsing_cocci/parse_printf.mli OCAMLOPT parsing_cocci/parse_printf.ml OCAMLC parsing_cocci/parse_aux.mli OCAMLOPT parsing_cocci/parse_aux.ml OCAMLC parsing_cocci/cleanup_rules.mli OCAMLOPT parsing_cocci/cleanup_rules.ml OCAMLC parsing_cocci/disjdistr.mli OCAMLOPT parsing_cocci/disjdistr.ml MENHIR parsing_cocci/parser_cocci_menhir.mly OCAMLDEP parsing_cocci/parser_cocci_menhir.ml OCAMLDEP parsing_cocci/parser_cocci_menhir.mli OCAMLC parsing_cocci/parser_cocci_menhir.mli OCAMLOPT parsing_cocci/parser_cocci_menhir.ml OCAMLC parsing_cocci/lexer_cocci.mli OCAMLOPT parsing_cocci/lexer_cocci.ml OCAMLC parsing_cocci/lexer_cli.mli OCAMLOPT parsing_cocci/lexer_cli.ml OCAMLC parsing_cocci/lexer_script.mli OCAMLOPT parsing_cocci/lexer_script.ml OCAMLC parsing_cocci/cocci_grep.mli OCAMLOPT parsing_cocci/cocci_grep.ml OCAMLC parsing_cocci/dpll.mli OCAMLOPT parsing_cocci/dpll.ml OCAMLC parsing_cocci/get_constants2.mli OCAMLOPT parsing_cocci/get_constants2.ml OCAMLC parsing_cocci/id_utils.mli OCAMLOPT parsing_cocci/id_utils.ml OCAMLC parsing_cocci/git_grep.mli OCAMLOPT parsing_cocci/git_grep.ml OCAMLC parsing_cocci/adjacency.mli OCAMLOPT parsing_cocci/adjacency.ml OCAMLC parsing_cocci/commas_on_lists.mli OCAMLOPT parsing_cocci/commas_on_lists.ml OCAMLC parsing_cocci/re_constraints.mli OCAMLOPT parsing_cocci/re_constraints.ml OCAMLC parsing_cocci/parse_cocci.mli OCAMLOPT parsing_cocci/parse_cocci.ml OCAMLC parsing_cocci/command_line.mli OCAMLOPT parsing_cocci/command_line.ml OCAMLC parsing_cocci/cocci_args.mli OCAMLOPT parsing_cocci/cocci_args.ml OCAMLOPT -o parsing_cocci/parsing_cocci.cmxa OCAMLC parsing_c/token_annot.mli OCAMLOPT parsing_c/token_annot.ml OCAMLC parsing_c/flag_parsing_c.mli OCAMLOPT parsing_c/flag_parsing_c.ml OCAMLC parsing_c/parsing_stat.mli OCAMLOPT parsing_c/parsing_stat.ml OCAMLC parsing_c/token_c.mli OCAMLOPT parsing_c/token_c.ml OCAMLC parsing_c/ast_c.mli OCAMLOPT parsing_c/ast_c.ml OCAMLC parsing_c/includes.mli make -C bundles/parmap all make[1]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/parmap' make depend-rec make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/parmap' /usr/bin/ocamldep -I parmap parmap/bytearray.mli parmap/parmap_utils.mli parmap/parmap.mli parmap/bytearray.ml parmap/parmap_utils.ml parmap/setcore.ml parmap/parmap.ml >.depend make[2]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/parmap' make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/parmap' /usr/bin/ocamlc.opt -unsafe -I parmap -c parmap/bytearray.mli -o parmap/bytearray.cmi /usr/bin/ocamlc.opt -unsafe -I parmap -c parmap/bytearray.ml -o parmap/bytearray.cmo File "parmap/bytearray.ml", lines 38-39, characters 0-42: 38 | external unsafe_blit_from_string : string -> int -> t -> int -> int -> unit 39 | = "ml_blit_string_to_bigarray" "noalloc" Alert deprecated: [@@noalloc] should be used instead of "noalloc" File "parmap/bytearray.ml", lines 116-117, characters 0-46: 116 | external unsafe_blit_from_floatarray : float array -> int -> tf -> int -> int -> unit 117 | = "ml_blit_floatarray_to_bigarray" "noalloc" Alert deprecated: [@@noalloc] should be used instead of "noalloc" File "parmap/bytearray.ml", lines 119-120, characters 0-46: 119 | external unsafe_blit_to_floatarray : tf -> int -> float array -> int -> int -> unit 120 | = "ml_blit_bigarray_to_floatarray" "noalloc" Alert deprecated: [@@noalloc] should be used instead of "noalloc" /usr/bin/ocamlc.opt -unsafe -I parmap -c parmap/parmap_utils.mli -o parmap/parmap_utils.cmi /usr/bin/ocamlc.opt -unsafe -I parmap -c parmap/parmap_utils.ml -o parmap/parmap_utils.cmo /usr/bin/ocamlopt.opt -I parmap -c parmap/setcore.ml -o parmap/setcore.cmx /usr/bin/ocamlc.opt -unsafe -I parmap -c parmap/setcore.ml -o parmap/setcore.cmo /usr/bin/ocamlc.opt -unsafe -I parmap -c parmap/parmap.mli -o parmap/parmap.cmi /usr/bin/ocamlc.opt -unsafe -I parmap -c parmap/parmap.ml -o parmap/parmap.cmo File "parmap/parmap.ml", line 105, characters 15-73: 105 | let redirect ?(path = (Printf.sprintf "/tmp/.parmap.%d" (Unix.getpid ()))) ~id = ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. File "parmap/parmap.ml", line 207, characters 4-22: 207 | Pervasives.at_exit finalize; (* register finalization function *) ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "parmap/parmap.ml", line 243, characters 4-22: 243 | Pervasives.at_exit finalize; (* register finalization function *) ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "parmap/parmap.ml", line 319, characters 4-22: 319 | Pervasives.at_exit finalize; (* register finalization function *) ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "parmap/parmap.ml", line 420, characters 4-22: 420 | Pervasives.at_exit finalize; (* register finalization function *) ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "parmap/parmap.ml", line 571, characters 12-24: 571 | let r = Array.create (l+1) (f lo (Array.unsafe_get a lo)) in ^^^^^^^^^^^^ Alert deprecated: Stdlib.Array.create Use Array.make/ArrayLabels.make instead. /usr/bin/ocamlc.opt -unsafe -I parmap -custom -cclib -lparmap_stubs -a parmap/bytearray.cmo parmap/parmap_utils.cmo parmap/setcore.cmo parmap/parmap.cmo -o parmap/parmap.cma cp parmap/parmap.cma parmap.cma cp parmap/bytearray.cmi bytearray.cmi cp parmap/parmap_utils.cmi parmap_utils.cmi cp parmap/setcore.cmi setcore.cmi cp parmap/parmap.cmi parmap.cmi /usr/bin/ocamlc.opt -unsafe -I parmap -ccopt -D_GNU_SOURCE -ccopt -fPIC parmap/bytearray_stubs.c -o parmap/bytearray_stubs.o parmap/bytearray_stubs.c: In function 'ml_marshal_to_bigarray': parmap/bytearray_stubs.c:16:13: warning: "output_value_to_malloc" is deprecated: use "caml_output_value_to_malloc" instead 16 | output_value_to_malloc(v, flags, &buf, &len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parmap/bytearray_stubs.c:17:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead 17 | return alloc_bigarray(BIGARRAY_UINT8 | BIGARRAY_C_LAYOUT | BIGARRAY_MANAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parmap/bytearray_stubs.c:17:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead parmap/bytearray_stubs.c:17:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead 17 | return alloc_bigarray(BIGARRAY_UINT8 | BIGARRAY_C_LAYOUT | BIGARRAY_MANAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parmap/bytearray_stubs.c:17:13: warning: "BIGARRAY_MANAGED" is deprecated: use "CAML_BA_MANAGED" instead 17 | return alloc_bigarray(BIGARRAY_UINT8 | BIGARRAY_C_LAYOUT | BIGARRAY_MANAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parmap/bytearray_stubs.c: In function 'ml_marshal_to_bigarray_buffer': parmap/bytearray_stubs.c:24:13: warning: "caml_bigarray" is deprecated: use "caml_ba_array" instead 24 | struct caml_bigarray *b_arr = Bigarray_val(b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parmap/bytearray_stubs.c:24:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead 24 | struct caml_bigarray *b_arr = Bigarray_val(b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parmap/bytearray_stubs.c: In function 'ml_unmarshal_from_bigarray': parmap/bytearray_stubs.c:32:13: warning: "caml_bigarray" is deprecated: use "caml_ba_array" instead 32 | struct caml_bigarray *b_arr = Bigarray_val(b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parmap/bytearray_stubs.c:32:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead 32 | struct caml_bigarray *b_arr = Bigarray_val(b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parmap/bytearray_stubs.c:33:13: warning: "input_value_from_block" is deprecated: use "caml_input_value_from_block" instead 33 | return input_value_from_block (Array_data (b_arr, ofs), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/ocaml/caml/intext.h:25, from parmap/bytearray_stubs.c:6: parmap/bytearray_stubs.c: In function 'ml_blit_string_to_bigarray': /usr/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ^ parmap/bytearray_stubs.c:40:15: note: in expansion of macro 'String_val' 40 | char *src = String_val(s) + Int_val(i); | ^~~~~~~~~~ parmap/bytearray_stubs.c:41:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead 41 | char *dest = Array_data(Bigarray_val(a), j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parmap/bytearray_stubs.c: In function 'ml_blit_bigarray_to_string': parmap/bytearray_stubs.c:49:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead 49 | char *src = Array_data(Bigarray_val(a), i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ^ parmap/bytearray_stubs.c:50:16: note: in expansion of macro 'String_val' 50 | char *dest = String_val(s) + Long_val(j); | ^~~~~~~~~~ parmap/bytearray_stubs.c: In function 'ml_blit_floatarray_to_bigarray': parmap/bytearray_stubs.c:60:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead 60 | char *dest = Floatarray_data(Bigarray_val(a), j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parmap/bytearray_stubs.c: In function 'ml_blit_bigarray_to_floatarray': parmap/bytearray_stubs.c:69:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead 69 | char *src = Floatarray_data(Bigarray_val(a), i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv bytearray_stubs.o parmap/bytearray_stubs.o /usr/bin/ocamlc.opt -unsafe -I parmap -ccopt -D_GNU_SOURCE -ccopt -fPIC parmap/setcore_stubs.c -o parmap/setcore_stubs.o mv setcore_stubs.o parmap/setcore_stubs.o /usr/bin/ocamlmklib -linkall -o parmap/parmap_stubs parmap/bytearray_stubs.o parmap/setcore_stubs.o cp parmap/libparmap_stubs.a libparmap_stubs.a cp parmap/dllparmap_stubs.so dllparmap_stubs.so make[2]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/parmap' make[1]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/parmap' make -C bundles/parmap all.opt make[1]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/parmap' make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/parmap' /usr/bin/ocamlopt.opt -I parmap -c parmap/bytearray.ml -o parmap/bytearray.cmx File "parmap/bytearray.ml", lines 38-39, characters 0-42: 38 | external unsafe_blit_from_string : string -> int -> t -> int -> int -> unit 39 | = "ml_blit_string_to_bigarray" "noalloc" Alert deprecated: [@@noalloc] should be used instead of "noalloc" File "parmap/bytearray.ml", lines 116-117, characters 0-46: 116 | external unsafe_blit_from_floatarray : float array -> int -> tf -> int -> int -> unit 117 | = "ml_blit_floatarray_to_bigarray" "noalloc" Alert deprecated: [@@noalloc] should be used instead of "noalloc" File "parmap/bytearray.ml", lines 119-120, characters 0-46: 119 | external unsafe_blit_to_floatarray : tf -> int -> float array -> int -> int -> unit 120 | = "ml_blit_bigarray_to_floatarray" "noalloc" Alert deprecated: [@@noalloc] should be used instead of "noalloc" /usr/bin/ocamlopt.opt -I parmap -c parmap/parmap_utils.ml -o parmap/parmap_utils.cmx /usr/bin/ocamlopt.opt -I parmap -c parmap/parmap.ml -o parmap/parmap.cmx File "parmap/parmap.ml", line 105, characters 15-73: 105 | let redirect ?(path = (Printf.sprintf "/tmp/.parmap.%d" (Unix.getpid ()))) ~id = ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. File "parmap/parmap.ml", line 207, characters 4-22: 207 | Pervasives.at_exit finalize; (* register finalization function *) ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "parmap/parmap.ml", line 243, characters 4-22: 243 | Pervasives.at_exit finalize; (* register finalization function *) ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "parmap/parmap.ml", line 319, characters 4-22: 319 | Pervasives.at_exit finalize; (* register finalization function *) ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "parmap/parmap.ml", line 420, characters 4-22: 420 | Pervasives.at_exit finalize; (* register finalization function *) ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "parmap/parmap.ml", line 571, characters 12-24: 571 | let r = Array.create (l+1) (f lo (Array.unsafe_get a lo)) in ^^^^^^^^^^^^ Alert deprecated: Stdlib.Array.create Use Array.make/ArrayLabels.make instead. /usr/bin/ocamlopt.opt -I parmap -cclib -lparmap_stubs -a parmap/bytearray.cmx parmap/parmap_utils.cmx parmap/setcore.cmx parmap/parmap.cmx -o parmap/parmap.cmxa cp parmap/parmap.cmxa parmap.cmxa cp parmap/bytearray.cmx bytearray.cmx cp parmap/parmap_utils.cmx parmap_utils.cmx cp parmap/setcore.cmx setcore.cmx cp parmap/parmap.cmx parmap.cmx cp parmap/parmap.a parmap.a make[2]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/parmap' make[1]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/parmap' OCAMLOPT parsing_c/includes.ml OCAMLC parsing_c/control_flow_c.mli OCAMLOPT parsing_c/control_flow_c.ml OCAMLC parsing_c/visitor_c.mli OCAMLOPT parsing_c/visitor_c.ml OCAMLC parsing_c/lib_parsing_c.mli OCAMLOPT parsing_c/lib_parsing_c.ml OCAMLC parsing_c/includes_cache.mli OCAMLOPT parsing_c/includes_cache.ml OCAMLC parsing_c/control_flow_c_build.mli OCAMLOPT parsing_c/control_flow_c_build.ml OCAMLC parsing_c/pretty_print_c.mli OCAMLOPT parsing_c/pretty_print_c.ml File "parsing_c/pretty_print_c.ml", line 1626, characters 3-13: 1626 | (pp_elem_sp pr_elem pr_space).expression ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1629, characters 3-13: 1629 | (pp_elem_sp pr_elem pr_space).assignOp ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1632, characters 3-13: 1632 | (pp_elem_sp pr_elem pr_space).binaryOp ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1635, characters 3-13: 1635 | (pp_elem_sp pr_elem pr_space).arg_list ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1638, characters 3-13: 1638 | (pp_elem_sp pr_elem pr_space).arg ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1641, characters 3-13: 1641 | (pp_elem_sp pr_elem pr_space).statement ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1644, characters 3-13: 1644 | (pp_elem_sp pr_elem pr_space).statement_seq_list ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1647, characters 3-13: 1647 | (pp_elem_sp pr_elem pr_space).decl ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1650, characters 3-13: 1650 | (pp_elem_sp pr_elem pr_space).field ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1653, characters 3-13: 1653 | (pp_elem_sp pr_elem pr_space).field_list ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1656, characters 3-13: 1656 | (pp_elem_sp pr_elem pr_space).init ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1659, characters 3-13: 1659 | (pp_elem_sp pr_elem pr_space).init_list ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1662, characters 3-13: 1662 | (pp_elem_sp pr_elem pr_space).param ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1665, characters 3-13: 1665 | (pp_elem_sp pr_elem pr_space).paramlist ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1668, characters 3-13: 1668 | (pp_elem_sp pr_elem pr_space).dparamlist ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1671, characters 3-13: 1671 | (pp_elem_sp pr_elem pr_space).ty ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1674, characters 3-13: 1674 | (pp_elem_sp pr_elem pr_space).type_with_ident ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1677, characters 3-13: 1677 | (pp_elem_sp pr_elem pr_space).fragment_list ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1680, characters 3-13: 1680 | (pp_elem_sp pr_elem pr_space).format ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1683, characters 3-13: 1683 | (pp_elem_sp pr_elem pr_space).attribute ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1686, characters 3-13: 1686 | (pp_elem_sp pr_elem pr_space).attr_arg ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1689, characters 3-13: 1689 | (pp_elem_sp pr_elem pr_space).toplevel ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. OCAMLC parsing_c/semantic_c.mli OCAMLOPT parsing_c/semantic_c.ml OCAMLC parsing_c/lexer_parser.mli OCAMLOPT parsing_c/lexer_parser.ml OCAMLC parsing_c/parser_c.mli OCAMLOPT parsing_c/parser_c.ml OCAMLC parsing_c/lexer_c.mli OCAMLOPT parsing_c/lexer_c.ml OCAMLC parsing_c/parse_string_c.mli OCAMLOPT parsing_c/parse_string_c.ml OCAMLC parsing_c/token_helpers.mli OCAMLOPT parsing_c/token_helpers.ml OCAMLC parsing_c/token_views_c.mli OCAMLOPT parsing_c/token_views_c.ml OCAMLC parsing_c/cpp_token_c.mli OCAMLOPT parsing_c/cpp_token_c.ml OCAMLC parsing_c/parsing_hacks.mli OCAMLOPT parsing_c/parsing_hacks.ml OCAMLC parsing_c/cpp_analysis_c.mli OCAMLOPT parsing_c/cpp_analysis_c.ml OCAMLC parsing_c/unparse_cocci.mli OCAMLOPT parsing_c/unparse_cocci.ml File "parsing_c/unparse_cocci.ml", line 91, characters 2-35: 91 | Pretty_print_c.mk_pretty_printers pr_celem pr_cspace ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space, pr_nl, pr_indent, pr_outdent, pr_unindent were omitted in the application of this function. File "parsing_c/unparse_cocci.ml", line 70, characters 4-22: 70 | let print_option_space fn = function ^^^^^^^^^^^^^^^^^^ Warning 26 [unused-var]: unused variable print_option_space. OCAMLC parsing_c/parsing_recovery_c.mli OCAMLOPT parsing_c/parsing_recovery_c.ml OCAMLC parsing_c/parsing_consistency_c.mli OCAMLOPT parsing_c/parsing_consistency_c.ml OCAMLC parsing_c/danger.mli OCAMLOPT parsing_c/danger.ml OCAMLC parsing_c/parse_c.mli OCAMLOPT parsing_c/parse_c.ml File "parsing_c/parse_c.ml", line 680, characters 1-37: 680 | Parsing_recovery_c.find_next_synchro tr.rest tr.passed in ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels next, already_passed were omitted in the application of this function. File "parsing_c/parse_c.ml", line 1429, characters 2-19: 1429 | Common.write_file tmpfile ("void main() { \n" ^ s ^ "\n}"); ^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label file was omitted in the application of this function. File "parsing_c/parse_c.ml", line 1440, characters 2-19: 1440 | Common.write_file tmpfile ("void main() { \n" ^ s ^ ";\n}"); ^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label file was omitted in the application of this function. OCAMLC parsing_c/unparse_c.mli OCAMLOPT parsing_c/unparse_c.ml File "parsing_c/unparse_c.ml", line 275, characters 2-31: 275 | Pretty_print_c.pp_program_gen pr_get_elem pr_space celem; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. OCAMLC parsing_c/unparse_hrule.mli OCAMLOPT parsing_c/unparse_hrule.ml File "parsing_c/unparse_hrule.ml", line 202, characters 6-33: 202 | Pretty_print_c.pp_param_gen ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/unparse_hrule.ml", line 340, characters 5-31: 340 | Pretty_print_c.pp_type_gen ^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. OCAMLC parsing_c/type_c.mli OCAMLOPT parsing_c/type_c.ml OCAMLC parsing_c/cpp_ast_c.mli OCAMLOPT parsing_c/cpp_ast_c.ml OCAMLC parsing_c/type_annoter_c.mli OCAMLOPT parsing_c/type_annoter_c.ml OCAMLC parsing_c/comment_annotater_c.mli OCAMLOPT parsing_c/comment_annotater_c.ml OCAMLC parsing_c/compare_c.mli OCAMLOPT parsing_c/compare_c.ml OCAMLC parsing_c/test_parsing_c.mli OCAMLOPT parsing_c/test_parsing_c.ml OCAMLOPT -o parsing_c/parsing_c.cmxa OCAMLC ctl/flag_ctl.mli OCAMLOPT ctl/flag_ctl.ml OCAMLC ctl/ast_ctl.mli OCAMLOPT ctl/ast_ctl.ml OCAMLC ctl/pretty_print_ctl.mli OCAMLOPT ctl/pretty_print_ctl.ml OCAMLC ctl/ctl_engine.mli OCAMLOPT ctl/ctl_engine.ml OCAMLC ctl/wrapper_ctl.mli OCAMLOPT ctl/wrapper_ctl.ml OCAMLOPT -o ctl/ctl.cmxa OCAMLC ocaml/externalanalysis.mli OCAMLOPT ocaml/externalanalysis.ml OCAMLC ocaml/exposed_modules.mli OCAMLOPT ocaml/exposed_modules.ml OCAMLC ocaml/coccilib.mli OCAMLOPT ocaml/coccilib.ml File "ocaml/coccilib.ml", line 116, characters 2-19: 116 | Common.write_file tmpfile (Printf.sprintf "void main() {\n%s\n%s\n}" env s); ^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label file was omitted in the application of this function. File "ocaml/coccilib.ml", line 134, characters 2-19: 134 | Common.write_file tmpfile (Printf.sprintf "void main() {\n%s\n%s;\n}" env s); ^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label file was omitted in the application of this function. OCAMLC ocaml/ocamlcocci_aux.mli OCAMLOPT ocaml/ocamlcocci_aux.ml OCAMLC ocaml/yes_prepare_ocamlcocci.mli OCAMLOPT ocaml/yes_prepare_ocamlcocci.ml OCAMLC ocaml/prepare_ocamlcocci.mli OCAMLOPT ocaml/prepare_ocamlcocci.ml OCAMLC ocaml/run_ocamlcocci.mli OCAMLOPT ocaml/run_ocamlcocci.ml OCAMLOPT -o ocaml/ocaml.cmxa OCAMLC python/pycocci_aux.mli OCAMLOPT python/pycocci_aux.ml make -C bundles/pyml all make[1]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/pyml' make depend-rec make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/pyml' /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/pyutils.mli -o pyml-current/pyutils.cmi /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/pyutils.ml -o pyml-current/pyutils.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/generate.ml -o pyml-current/generate.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current stdcompat.cma unix.cma pyml-current/pyutils.cmo pyml-current/generate.cmo -o pyml-current/generate cd pyml-current && ./generate /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/pytypes.mli -o pyml-current/pytypes.cmi /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/pyml_arch.mli -o pyml-current/pyml_arch.cmi /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -i pyml-current/pywrappers.ml >pyml-current/pywrappers.mli /usr/bin/ocamldep -I pyml-current pyml-current/pyml_arch.mli pyml-current/pyutils.mli pyml-current/pytypes.mli pyml-current/py.mli pyml-current/pycaml.mli pyml-current/pyutils.ml pyml-current/pytypes.ml pyml-current/py.ml pyml-current/pycaml.ml pyml-current/pywrappers.ml pyml-current/pywrappers.mli >.depend make[2]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/pyml' make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/pyml' cp pyml-current/pyml_arch_unix.ml pyml-current/pyml_arch.ml /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/pyml_arch.ml -o pyml-current/pyml_arch.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/pytypes.ml -o pyml-current/pytypes.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/pywrappers.mli -o pyml-current/pywrappers.cmi /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/pywrappers.ml -o pyml-current/pywrappers.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/py.mli -o pyml-current/py.cmi /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/py.ml -o pyml-current/py.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/pycaml.mli -o pyml-current/pycaml.cmi /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/pycaml.ml -o pyml-current/pycaml.cmo /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -custom -cclib -lpyml_stubs -a pyml-current/pyml_arch.cmo pyml-current/pyutils.cmo pyml-current/pytypes.cmo pyml-current/pywrappers.cmo pyml-current/py.cmo pyml-current/pycaml.cmo -o pyml-current/pyml.cma cp pyml-current/pyml.cma pyml.cma cp pyml-current/pywrappers.cmi pywrappers.cmi cp pyml-current/py.cmi py.cmi cp pyml-current/pycaml.cmi pycaml.cmi /usr/bin/ocamlc.opt -unsafe -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -ccopt -I/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -ccopt -fPIC pyml-current/pyml_stubs.c -o pyml-current/pyml_stubs.o pyml-current/pyml_stubs.c: In function 'xmalloc': pyml-current/pyml_stubs.c:26:13: warning: "failwith" is deprecated: use "caml_failwith" instead 26 | failwith("Virtual memory exhausted\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_stubs.c: In function 'resolve': pyml-current/pyml_stubs.c:319:13: warning: "failwith" is deprecated: use "caml_failwith" instead 319 | failwith(msg); | ^~~~~~~~~~ pyml-current/pyml_stubs.c: In function 'pyml_assert_initialized': pyml-current/pyml_stubs.c:531:13: warning: "failwith" is deprecated: use "caml_failwith" instead 531 | failwith("Run 'Py.initialize ()' first"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_stubs.c: In function 'pyml_assert_python2': pyml-current/pyml_stubs.c:540:13: warning: "failwith" is deprecated: use "caml_failwith" instead 540 | failwith("Python 2 needed"); | ^~~~~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_stubs.c: In function 'pyml_assert_ucs2': pyml-current/pyml_stubs.c:549:13: warning: "failwith" is deprecated: use "caml_failwith" instead 549 | failwith("Python with UCS2 needed"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_stubs.c: In function 'pyml_assert_ucs4': pyml-current/pyml_stubs.c:558:13: warning: "failwith" is deprecated: use "caml_failwith" instead 558 | failwith("Python with UCS4 needed"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_stubs.c: In function 'pyml_assert_python3': pyml-current/pyml_stubs.c:567:13: warning: "failwith" is deprecated: use "caml_failwith" instead 567 | failwith("Python 3 needed"); | ^~~~~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_stubs.c: In function 'pyml_check_symbol_available': pyml-current/pyml_stubs.c:578:13: warning: "failwith" is deprecated: use "caml_failwith" instead 578 | failwith("Symbol unavailable with this version of Python.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_stubs.c:584:13: warning: "failwith" is deprecated: use "caml_failwith" instead 584 | failwith("Symbol unavailable with this version of Python.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_stubs.c:587:13: warning: "failwith" is deprecated: use "caml_failwith" instead 587 | failwith(msg); | ^~~~~~~~~~ pyml-current/pyml_stubs.c: In function 'py_load_library': pyml-current/pyml_stubs.c:663:13: warning: "failwith" is deprecated: use "caml_failwith" instead 663 | failwith("Library not found"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_stubs.c:671:13: warning: "failwith" is deprecated: use "caml_failwith" instead 671 | failwith("No Python symbol"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_stubs.c:740:13: warning: "failwith" is deprecated: use "caml_failwith" instead 740 | failwith("py_debug"); | ^~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_stubs.c:744:13: warning: "failwith" is deprecated: use "caml_failwith" instead 744 | failwith("PyTuple_New"); | ^~~~~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_stubs.c:747:13: warning: "failwith" is deprecated: use "caml_failwith" instead 747 | failwith("PyTuple_SetItem"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_stubs.c:752:13: warning: "failwith" is deprecated: use "caml_failwith" instead 752 | failwith("PyEval_CallObjectWithKeywords"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_stubs.c:761:13: warning: "failwith" is deprecated: use "caml_failwith" instead 761 | failwith("AsLong"); | ^~~~~~~~~~~~~~~~~~~ pyml-current/pyml_stubs.c: In function 'py_unsetenv': pyml-current/pyml_stubs.c:810:13: warning: "failwith" is deprecated: use "caml_failwith" instead 810 | failwith(strerror(errno)); | ^~~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_stubs.c: In function 'Python27_PyCapsule_IsValid_wrapper': pyml-current/pyml_stubs.c:1406:13: warning: "failwith" is deprecated: use "caml_failwith" instead 1406 | failwith("PyCapsule_IsValid is only available in Python >2.7"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from pyml-current/pyml_stubs.c:1414: pyml-current/pyml_wrappers.inc: In function 'Python_PyImport_GetMagicNumber_wrapper': pyml-current/pyml_wrappers.inc:1043:13: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead 1043 | CAMLreturn(copy_int64(result)); | ^~~~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_wrappers.inc: In function 'Python_PyLong_AsLong_wrapper': pyml-current/pyml_wrappers.inc:1182:13: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead 1182 | CAMLreturn(copy_int64(result)); | ^~~~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_wrappers.inc: In function 'Python_PyObject_Hash_wrapper': pyml-current/pyml_wrappers.inc:1950:13: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead 1950 | CAMLreturn(copy_int64(result)); | ^~~~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_wrappers.inc: In function 'Python2_PyInt_AsLong_wrapper': pyml-current/pyml_wrappers.inc:2839:13: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead 2839 | CAMLreturn(copy_int64(result)); | ^~~~~~~~~~~~~~~~~~~~~~~ pyml-current/pyml_wrappers.inc: In function 'Python2_PyInt_GetMax_wrapper': pyml-current/pyml_wrappers.inc:2860:13: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead 2860 | CAMLreturn(copy_int64(result)); | ^~~~~~~~~~~~~~~~~~~~~~~ mv pyml_stubs.o pyml-current/pyml_stubs.o /usr/bin/ocamlmklib -linkall -o pyml-current/pyml_stubs pyml-current/pyml_stubs.o cp pyml-current/libpyml_stubs.a libpyml_stubs.a cp pyml-current/dllpyml_stubs.so dllpyml_stubs.so make[2]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/pyml' make[1]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/pyml' make -C bundles/pyml all.opt make[1]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/pyml' make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/pyml' /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/pyml_arch.ml -o pyml-current/pyml_arch.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/pyutils.ml -o pyml-current/pyutils.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/pytypes.ml -o pyml-current/pytypes.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/pywrappers.ml -o pyml-current/pywrappers.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/py.ml -o pyml-current/py.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -c pyml-current/pycaml.ml -o pyml-current/pycaml.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/stdcompat -I pyml-current -cclib -lpyml_stubs -a pyml-current/pyml_arch.cmx pyml-current/pyutils.cmx pyml-current/pytypes.cmx pyml-current/pywrappers.cmx pyml-current/py.cmx pyml-current/pycaml.cmx -o pyml-current/pyml.cmxa cp pyml-current/pyml.cmxa pyml.cmxa cp pyml-current/pywrappers.cmx pywrappers.cmx cp pyml-current/py.cmx py.cmx cp pyml-current/pycaml.cmx pycaml.cmx cp pyml-current/pyml.a pyml.a make[2]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/pyml' make[1]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/pyml' OCAMLC python/yes_pycocci.mli OCAMLOPT python/yes_pycocci.ml OCAMLC python/pycocci.mli OCAMLOPT python/pycocci.ml OCAMLOPT -o python/python.cmxa OCAMLC engine/flag_matcher.mli OCAMLOPT engine/flag_matcher.ml OCAMLC engine/lib_engine.mli OCAMLOPT engine/lib_engine.ml OCAMLC engine/pretty_print_engine.mli OCAMLOPT engine/pretty_print_engine.ml OCAMLC engine/check_exhaustive_pattern.mli OCAMLOPT engine/check_exhaustive_pattern.ml OCAMLC engine/check_reachability.mli OCAMLOPT engine/check_reachability.ml OCAMLC engine/c_vs_c.mli OCAMLOPT engine/c_vs_c.ml OCAMLC engine/isomorphisms_c_c.mli OCAMLOPT engine/isomorphisms_c_c.ml OCAMLC engine/cocci_vs_c.mli OCAMLOPT engine/cocci_vs_c.ml OCAMLC engine/pattern_c.mli OCAMLOPT engine/pattern_c.ml OCAMLC engine/transformation_c.mli OCAMLOPT engine/transformation_c.ml OCAMLC engine/asttomember.mli OCAMLOPT engine/asttomember.ml OCAMLC engine/asttoctl2.mli OCAMLOPT engine/asttoctl2.ml OCAMLC engine/ctltotex.mli OCAMLOPT engine/ctltotex.ml OCAMLC engine/postprocess_transinfo.mli OCAMLOPT engine/postprocess_transinfo.ml OCAMLC engine/ctlcocci_integration.mli OCAMLOPT engine/ctlcocci_integration.ml OCAMLOPT -o engine/engine.cmxa OCAMLC popl09/ast_popl.mli OCAMLOPT popl09/ast_popl.ml OCAMLC popl09/asttopopl.mli OCAMLOPT popl09/asttopopl.ml OCAMLC popl09/insert_quantifiers.mli OCAMLOPT popl09/insert_quantifiers.ml OCAMLC popl09/pretty_print_popl.mli OCAMLOPT popl09/pretty_print_popl.ml OCAMLC popl09/flag_popl.mli OCAMLOPT popl09/flag_popl.ml OCAMLC popl09/popltoctl.mli OCAMLOPT popl09/popltoctl.ml OCAMLC popl09/popl.mli OCAMLOPT popl09/popl.ml OCAMLOPT -o popl09/popl09.cmxa OCAMLC extra/classic_patch.mli OCAMLOPT extra/classic_patch.ml OCAMLC extra/kbuild.mli OCAMLOPT extra/kbuild.ml OCAMLC extra/maintainers.mli OCAMLOPT extra/maintainers.ml OCAMLOPT -o extra/extra.cmxa OCAMLC flag_cocci.mli OCAMLOPT flag_cocci.ml OCAMLC cocci.mli OCAMLOPT cocci.ml OCAMLC testing.mli OCAMLOPT testing.ml OCAMLC read_options.mli OCAMLOPT read_options.ml OCAMLC enter.mli OCAMLOPT enter.ml File "enter.ml", line 844, characters 2-20: 844 | Common.short_usage usage_msg short_options; ^^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label short_opt was omitted in the application of this function. File "enter.ml", line 853, characters 2-19: 853 | Common.long_usage usage_msg short_options other_options ^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels short_opt, long_opt were omitted in the application of this function. OCAMLC main.mli OCAMLOPT main.ml OCAMLOPT -o spatch.opt OCAMLC tools/spgen/source/globals.mli OCAMLOPT tools/spgen/source/globals.ml OCAMLC tools/spgen/source/ast_tostring.mli OCAMLOPT tools/spgen/source/ast_tostring.ml OCAMLC tools/spgen/source/detect_patch.mli OCAMLOPT tools/spgen/source/detect_patch.ml OCAMLC tools/spgen/source/meta_variable.mli OCAMLOPT tools/spgen/source/meta_variable.ml File "tools/spgen/source/meta_variable.ml", line 568, characters 25-36: 568 | let constr = constraints rn idconstr in ^^^^^^^^^^^ Warning 6 [labels-omitted]: label rn was omitted in the application of this function. OCAMLC tools/spgen/source/snapshot.mli OCAMLOPT tools/spgen/source/snapshot.ml File "tools/spgen/source/snapshot.ml", line 130, characters 37-53: 130 | let inc_line snp = inc_current_line (set_mode_context Ast0.NONE snp) ^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label arity was omitted in the application of this function. OCAMLC tools/spgen/source/user_input.mli OCAMLOPT tools/spgen/source/user_input.ml OCAMLC tools/spgen/source/position_generator.mli OCAMLOPT tools/spgen/source/position_generator.ml OCAMLC tools/spgen/source/disj_generator.mli OCAMLOPT tools/spgen/source/disj_generator.ml OCAMLC tools/spgen/source/rule_body.mli OCAMLOPT tools/spgen/source/rule_body.ml OCAMLC tools/spgen/source/rule_header.mli OCAMLOPT tools/spgen/source/rule_header.ml OCAMLC tools/spgen/source/context_rule.mli OCAMLOPT tools/spgen/source/context_rule.ml OCAMLC tools/spgen/source/script_rule.mli OCAMLOPT tools/spgen/source/script_rule.ml OCAMLC tools/spgen/source/file_transform.mli OCAMLOPT tools/spgen/source/file_transform.ml OCAMLC tools/spgen/source/spgen_interactive.mli OCAMLOPT tools/spgen/source/spgen_interactive.ml OCAMLC tools/spgen/source/spgen_lexer.mli OCAMLOPT tools/spgen/source/spgen_lexer.ml OCAMLC tools/spgen/source/spgen_config.mli OCAMLOPT tools/spgen/source/spgen_config.ml OCAMLC tools/spgen/source/spgen.mli OCAMLOPT tools/spgen/source/spgen.ml OCAMLC tools/spgen/source/spgen_test.mli OCAMLOPT tools/spgen/source/spgen_test.ml OCAMLC tools/spgen/source/main.mli OCAMLOPT tools/spgen/source/main.ml OCAMLOPT -o tools/spgen/source/spgen.opt cp parsing_c/token_c.cmi ocaml/token_c.cmi cp parsing_c/ast_c.cmi ocaml/ast_c.cmi cp parsing_c/parse_c.cmi ocaml/parse_c.cmi cp parsing_c/parser_c.cmi ocaml/parser_c.cmi cp parsing_c/lexer_c.cmi ocaml/lexer_c.cmi cp parsing_c/pretty_print_c.cmi ocaml/pretty_print_c.cmi cp parsing_c/lib_parsing_c.cmi ocaml/lib_parsing_c.cmi cp parsing_c/visitor_c.cmi ocaml/visitor_c.cmi cp globals/regexp.cmi ocaml/regexp.cmi cp globals/config.cmi ocaml/config.cmi cp globals/flag.cmi ocaml/flag.cmi cp parsing_c/flag_parsing_c.cmi ocaml/flag_parsing_c.cmi cp globals/iteration.cmi ocaml/iteration.cmi cp commons/commands.cmi ocaml/commands.cmi cp commons/common.cmi ocaml/common.cmi cp parsing_cocci/ast_cocci.cmi ocaml/ast_cocci.cmi cp parsing_cocci/ast0_cocci.cmi ocaml/ast0_cocci.cmi cp commons/ocamlextra/dumper.cmi ocaml/dumper.cmi OCAMLC parsing_c/token_c.ml cp parsing_c/token_c.cmo ocaml/token_c.cmo OCAMLC parsing_c/ast_c.ml cp parsing_c/ast_c.cmo ocaml/ast_c.cmo OCAMLC parsing_c/parse_c.ml File "parsing_c/parse_c.ml", line 680, characters 1-37: 680 | Parsing_recovery_c.find_next_synchro tr.rest tr.passed in ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels next, already_passed were omitted in the application of this function. File "parsing_c/parse_c.ml", line 1429, characters 2-19: 1429 | Common.write_file tmpfile ("void main() { \n" ^ s ^ "\n}"); ^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label file was omitted in the application of this function. File "parsing_c/parse_c.ml", line 1440, characters 2-19: 1440 | Common.write_file tmpfile ("void main() { \n" ^ s ^ ";\n}"); ^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label file was omitted in the application of this function. cp parsing_c/parse_c.cmo ocaml/parse_c.cmo OCAMLC parsing_c/parser_c.ml cp parsing_c/parser_c.cmo ocaml/parser_c.cmo OCAMLC parsing_c/lexer_c.ml cp parsing_c/lexer_c.cmo ocaml/lexer_c.cmo OCAMLC parsing_c/pretty_print_c.ml File "parsing_c/pretty_print_c.ml", line 1626, characters 3-13: 1626 | (pp_elem_sp pr_elem pr_space).expression ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1629, characters 3-13: 1629 | (pp_elem_sp pr_elem pr_space).assignOp ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1632, characters 3-13: 1632 | (pp_elem_sp pr_elem pr_space).binaryOp ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1635, characters 3-13: 1635 | (pp_elem_sp pr_elem pr_space).arg_list ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1638, characters 3-13: 1638 | (pp_elem_sp pr_elem pr_space).arg ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1641, characters 3-13: 1641 | (pp_elem_sp pr_elem pr_space).statement ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1644, characters 3-13: 1644 | (pp_elem_sp pr_elem pr_space).statement_seq_list ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1647, characters 3-13: 1647 | (pp_elem_sp pr_elem pr_space).decl ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1650, characters 3-13: 1650 | (pp_elem_sp pr_elem pr_space).field ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1653, characters 3-13: 1653 | (pp_elem_sp pr_elem pr_space).field_list ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1656, characters 3-13: 1656 | (pp_elem_sp pr_elem pr_space).init ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1659, characters 3-13: 1659 | (pp_elem_sp pr_elem pr_space).init_list ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1662, characters 3-13: 1662 | (pp_elem_sp pr_elem pr_space).param ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1665, characters 3-13: 1665 | (pp_elem_sp pr_elem pr_space).paramlist ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1668, characters 3-13: 1668 | (pp_elem_sp pr_elem pr_space).dparamlist ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1671, characters 3-13: 1671 | (pp_elem_sp pr_elem pr_space).ty ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1674, characters 3-13: 1674 | (pp_elem_sp pr_elem pr_space).type_with_ident ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1677, characters 3-13: 1677 | (pp_elem_sp pr_elem pr_space).fragment_list ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1680, characters 3-13: 1680 | (pp_elem_sp pr_elem pr_space).format ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1683, characters 3-13: 1683 | (pp_elem_sp pr_elem pr_space).attribute ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1686, characters 3-13: 1686 | (pp_elem_sp pr_elem pr_space).attr_arg ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. File "parsing_c/pretty_print_c.ml", line 1689, characters 3-13: 1689 | (pp_elem_sp pr_elem pr_space).toplevel ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pr_elem, pr_space were omitted in the application of this function. cp parsing_c/pretty_print_c.cmo ocaml/pretty_print_c.cmo OCAMLC parsing_c/lib_parsing_c.ml cp parsing_c/lib_parsing_c.cmo ocaml/lib_parsing_c.cmo OCAMLC parsing_c/visitor_c.ml cp parsing_c/visitor_c.cmo ocaml/visitor_c.cmo OCAMLC globals/regexp.ml cp globals/regexp.cmo ocaml/regexp.cmo OCAMLC globals/config.ml cp globals/config.cmo ocaml/config.cmo OCAMLC globals/flag.ml cp globals/flag.cmo ocaml/flag.cmo OCAMLC parsing_c/flag_parsing_c.ml cp parsing_c/flag_parsing_c.cmo ocaml/flag_parsing_c.cmo OCAMLC globals/iteration.ml cp globals/iteration.cmo ocaml/iteration.cmo OCAMLC commons/commands.ml cp commons/commands.cmo ocaml/commands.cmo OCAMLC commons/common.ml File "commons/common.ml", line 5305, characters 4-14: 5305 | write_file file1 (unwords xs); ^^^^^^^^^^ Warning 6 [labels-omitted]: label file was omitted in the application of this function. File "commons/common.ml", line 5306, characters 4-14: 5306 | write_file file2 (unwords ys); ^^^^^^^^^^ Warning 6 [labels-omitted]: label file was omitted in the application of this function. File "commons/common.ml", line 5333, characters 4-14: 5333 | write_file "/tmp/diff1" xstr; ^^^^^^^^^^ Warning 6 [labels-omitted]: label file was omitted in the application of this function. File "commons/common.ml", line 5334, characters 4-14: 5334 | write_file "/tmp/diff2" ystr; ^^^^^^^^^^ Warning 6 [labels-omitted]: label file was omitted in the application of this function. cp commons/common.cmo ocaml/common.cmo OCAMLC parsing_cocci/ast_cocci.ml cp parsing_cocci/ast_cocci.cmo ocaml/ast_cocci.cmo OCAMLC parsing_cocci/ast0_cocci.ml cp parsing_cocci/ast0_cocci.cmo ocaml/ast0_cocci.cmo OCAMLC commons/ocamlextra/dumper.ml cp commons/ocamlextra/dumper.cmo ocaml/dumper.cmo cp parsing_c/token_c.cmx ocaml/token_c.cmx cp parsing_c/ast_c.cmx ocaml/ast_c.cmx cp parsing_c/parse_c.cmx ocaml/parse_c.cmx cp parsing_c/parser_c.cmx ocaml/parser_c.cmx cp parsing_c/lexer_c.cmx ocaml/lexer_c.cmx cp parsing_c/pretty_print_c.cmx ocaml/pretty_print_c.cmx cp parsing_c/lib_parsing_c.cmx ocaml/lib_parsing_c.cmx cp parsing_c/visitor_c.cmx ocaml/visitor_c.cmx cp globals/regexp.cmx ocaml/regexp.cmx cp globals/config.cmx ocaml/config.cmx cp globals/flag.cmx ocaml/flag.cmx cp parsing_c/flag_parsing_c.cmx ocaml/flag_parsing_c.cmx cp globals/iteration.cmx ocaml/iteration.cmx cp commons/commands.cmx ocaml/commands.cmx cp commons/common.cmx ocaml/common.cmx cp parsing_cocci/ast_cocci.cmx ocaml/ast_cocci.cmx cp parsing_cocci/ast0_cocci.cmx ocaml/ast0_cocci.cmx cp commons/ocamlextra/dumper.cmx ocaml/dumper.cmx cp /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/parmap/parmap.cmi ocaml/parmap.cmi if test -f /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/parmap/parmap.cmx; then \ cp /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/bundles/parmap/parmap.cmx ocaml/parmap.cmx; \ fi init_defs_builtins: /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/standard.h 62.res diff = --- tests/62.c +++ /tmp/cocci-output-22122-898ac8-62.c @@ -1,8 +1,12 @@ static struct usb_driver carl9170_driver = { .id_table = carl9170_usb_ids, +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)) .soft_unbind = 1, +#endif #ifdef CONFIG_PM .reset_resume = carl9170_usb_resume, #endif /* CONFIG_PM */ +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0)) .disable_hub_initiated_lpm = 1, +#endif }; a.res a3d.res diff = --- tests/a3d.c +++ /tmp/cocci-output-22122-c06487-a3d.c @@ -6,13 +6,13 @@ static void a3d_connect(struct gameport *gameport, struct gameport_dev *dev) { struct a3d *a3d; - a3d->adc.idbus = BUS_GAMEPORT; - a3d->dev.idbus = BUS_GAMEPORT; + a3d->adc.id.bustype = BUS_GAMEPORT; + a3d->dev.id.bustype = BUS_GAMEPORT; } static void a3d_connect(struct gameport *gameport, struct gameport_dev *dev) { struct a3d *a3d; - a3d->adc.idbus = BUS_GAMEPORT; + a3d->adc.id.bustype = BUS_GAMEPORT; } a_and_e.res a_and_e_ver1.res diff = --- tests/a_and_e_ver1.c +++ /tmp/cocci-output-22122-ad2f5a-a_and_e_ver1.c @@ -1,6 +1,7 @@ void main(int i) { g(); + f(2, 0); if(1) f(1,2); else ab.res warning: line 4: should a be a metavariable? diff = --- tests/ab.c +++ /tmp/cocci-output-22122-077ace-ab.c @@ -1,5 +1,5 @@ int main () { foo = 5; - a = 12; + b = 12; xxx = 12; } action.res diff = --- tests/action.c +++ /tmp/cocci-output-22122-03ff05-action.c @@ -1,10 +1,9 @@ void work() { if (x) - { - action(el); - return; - } + goto last_action; + code(); + last_action: action(el); } add1.res diff = --- tests/add1.c +++ /tmp/cocci-output-22122-280fc4-add1.c @@ -7,6 +7,9 @@ ret = build_groups(sd, i); } + if (!sd) + return 0; + list_for_each_entry(sd, cfs_ipa_topology, siblings) { ret = build_lower_groups(sd); } addaft.res diff = --- tests/addaft.c +++ /tmp/cocci-output-22122-c8e0a0-addaft.c @@ -1,16 +1,8 @@ int main () { foo(); - if (x) { - a(); - b(); - c(); - } + bar(); foo(); - while (x) { - a(); - if (b()) continues; - c(); - } + bar(); foo(); - r(); + bar(); } addbefore.res diff = --- tests/addbefore.c +++ /tmp/cocci-output-22122-77f3cb-addbefore.c @@ -1,5 +1,6 @@ int main () { if (x) { + foo(); goto out; } after(); addbeforeafter.res diff = --- tests/addbeforeafter.c +++ /tmp/cocci-output-22122-dd4bfb-addbeforeafter.c @@ -1,6 +1,8 @@ int main () { if (x) { + foo(); goto out; + bar(); } after(); out: addelse.res diff = --- tests/addelse.c +++ /tmp/cocci-output-22122-0872a2-addelse.c @@ -1,3 +1,2 @@ int main () { - if (x == 12) return 6; } addes.res diff = --- tests/addes.c +++ /tmp/cocci-output-22122-884e86-addes.c @@ -1 +1,3 @@ int i; +struct foo { +}; addfield.res diff = --- tests/addfield.c +++ /tmp/cocci-output-22122-863f83-addfield.c @@ -1,4 +1,6 @@ struct i2c_client I = { - .name = E, .foo = 16, + .dev = { + .name = E, + }, }; addfield2.res diff = --- tests/addfield2.c +++ /tmp/cocci-output-22122-03422b-addfield2.c @@ -1,17 +1,21 @@ struct foo { + int roto; int titi; }; foo() { + roto(); start(); } struct bar { int titi; + int roto; }; bar() { start(); + roto(); } addif.res diff = --- tests/addif.c +++ /tmp/cocci-output-22122-9abb4a-addif.c @@ -1,7 +1,19 @@ +#ifdef FOO +/* some comment */ +int xxx() { + /* a comment by itself */ + return 12;/* another comment */ } +#endif static int foo() { return 12; } +#ifdef FOO +/* some comment */ +int xxx() { + /* a comment by itself */ + return 12;/* another comment */ } +#endif static int bar() { return 12; } addif1.res diff = --- tests/addif1.c +++ /tmp/cocci-output-22122-61ad38-addif1.c @@ -1,7 +1,15 @@ +#ifdef FOO +int xxx() { + return 12; } +#endif static int foo() { return 12; } +#ifdef FOO +int xxx() { + return 12; } +#endif static int bar() { return 12; } addif2.res diff = --- tests/addif2.c +++ /tmp/cocci-output-22122-01673a-addif2.c @@ -1,7 +1,13 @@ +#ifdef FOO +int/*foo*/ xxx; +#endif static int foo() { return 12; } +#ifdef FOO +int/*foo*/ xxx; +#endif static int bar() { return 12; } addifdef.res diff = --- tests/addifdef.c +++ /tmp/cocci-output-22122-726074-addifdef.c @@ -1,10 +1,14 @@ #ifdef FOO +#ifdef LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) int one () { return 1; } +#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) */ #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,1) */ /* comment about two */ +#ifdef LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) int two () { return 2; } +#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) */ addifelse.res diff = --- tests/addifelse.c +++ /tmp/cocci-output-22122-5884b2-addifelse.c @@ -1,8 +1,14 @@ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0) static void rfcomm_l2data_ready(struct sock *sk) { BT_DBG("%p", sk); rfcomm_schedule(); } +#else +static void backport_rfcomm_l2data_ready(struct sock *sk, int unused){ + rfcomm_l2data_ready(sk); +} +#endif static int rfcomm_l2sock_create(struct socket **sock) { addifelse2.res diff = --- tests/addifelse2.c +++ /tmp/cocci-output-22122-7ed3aa-addifelse2.c @@ -1,8 +1,15 @@ +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0) +static void backport_rfcomm_l2data_ready(struct sock *sk, int unused){ + rfcomm_l2data_ready(sk); +} +#else + static void rfcomm_l2data_ready(struct sock *sk) { BT_DBG("%p", sk); rfcomm_schedule(); } +#endif static int rfcomm_l2sock_create(struct socket **sock) { addinc.res diff = --- tests/addinc.c +++ /tmp/cocci-output-22122-87a43b-addinc.c @@ -1,4 +1,5 @@ #ifndef FOO #define FOO #include +#include #endif addtoo.res diff = --- tests/addtoo.c +++ /tmp/cocci-output-22122-1a43ac-addtoo.c @@ -1,16 +1,8 @@ int main () { - if (x) { - a(); - b(); - c(); - } + bar(); foo(); - while (x) { - a(); - if (b()) continues; - c(); - } + bar(); foo(); - r(); + bar(); foo(); } addtrace.res diff = --- tests/addtrace.c +++ /tmp/cocci-output-22122-508d86-addtrace.c @@ -2,13 +2,24 @@ { short sRetour = 0; if ( pcDate == 0 ) { - sRetour = 1; + trace("ifth"); + { + sRetour = 1; + } } - if ( pcDate == 0 ) - sRetour = 1; + trace("endif"); if ( pcDate == 0 ) { + trace("ifth"); sRetour = 1; - return sRetour; } + trace("endif"); + if ( pcDate == 0 ) { + trace("ifth"); + { + sRetour = 1; + return sRetour; + } + } + trace("endif"); return sRetour; } after_if.res diff = --- tests/after_if.c +++ /tmp/cocci-output-22122-2aeb6d-after_if.c @@ -1,4 +1,5 @@ #ifdef ELMC_MULTICAST static void set_multicast_list(struct net_device *dev); #endif -static struct ethtool_ops netdev_ethtool_ops; +static const struct ethtool_ops netdev_ethtool_ops; + allex.res diff = --- tests/allex.c +++ /tmp/cocci-output-22122-767cb9-allex.c @@ -6,7 +6,7 @@ goto out; } } - if (x) return 15; + if (x) return 200; out: return rc; } allex2.res diff = --- tests/allex2.c +++ /tmp/cocci-output-22122-2bf5bb-allex2.c @@ -8,5 +8,5 @@ } return 15; out: - return 0; + return 100; } allex3.res diff = --- tests/allex3.c +++ /tmp/cocci-output-22122-9666de-allex3.c @@ -9,5 +9,4 @@ } return 15; out: - return 0; } andid.res diff = --- tests/andid.c +++ /tmp/cocci-output-22122-b29888-andid.c @@ -1,5 +1,5 @@ int main () { - int frontandback = 12; + int test = 12; int front = 12; int back = 12; } anon.res diff = --- tests/anon.c +++ /tmp/cocci-output-22122-cd057d-anon.c @@ -12,5 +12,5 @@ void (*done) (struct scsi_cmnd *)) { ppa_struct *dev = ppa_dev(cmd->device->host); - schedule_work(&dev->ppa_tq); + schedule_delayed_work(&dev->ppa_tq, 0); } anonfield.res diff = --- tests/anonfield.c +++ /tmp/cocci-output-22122-c88afb-anonfield.c @@ -1,3 +1,3 @@ struct { - int; + bool; }; ar.res diff = --- tests/ar.c +++ /tmp/cocci-output-22122-ea900f-ar.c @@ -4,9 +4,4 @@ struct foo *x; struct bar *y; struct foo z[15]; - - x->y = 12; - y->a->y = 12; - y->b[7].y = 12; - z[15].y = 12; } arg.res diff = --- tests/arg.c +++ /tmp/cocci-output-22122-a31d1e-arg.c @@ -1,6 +1,6 @@ int main () { - foo(bar()); - foo(1,bar()); - foo(bar(),2); - foo(1,bar(),2); + foo(); + foo(1); + foo(2); + foo(1,2); } argument.res diff = --- tests/argument.c +++ /tmp/cocci-output-22122-07916f-argument.c @@ -1,8 +1,5 @@ void main(int i){ - f(1,2,3); - - h(1,2); - h(); + g(3, 2, 1); } arparam.res diff = --- tests/arparam.c +++ /tmp/cocci-output-22122-7176c2-arparam.c @@ -1,3 +1,8 @@ +int g(int q[1024]) +{ + return 12; +} + int main(int q[1024]) { return 12; } array_init.res diff = --- tests/array_init.c +++ /tmp/cocci-output-22122-438fd9-array_init.c @@ -1,3 +1,2 @@ static int term[MAX_ECARDS] = { 1, 1, 1, 1, 1, 1, 1, 1 }; -MODULE_PARM(term, "1-8i"); array_size.res diff = --- tests/array_size.c +++ /tmp/cocci-output-22122-46ac19-array_size.c @@ -1,2 +1,2 @@ -#define MAX_SETUP_STRINGS (sizeof(setup_strings) / sizeof(char *)) +#define MAX_SETUP_STRINGS ARRAY_SIZE(setup_strings) #define SETUP_BUFFER_SIZE 200 arraysz.res diff = --- tests/arraysz.c +++ /tmp/cocci-output-22122-0e5409-arraysz.c @@ -7,4 +7,4 @@ static const Signature signatures[] = { {"SSTBIOS", 0x0000d, 7} /* "SSTBIOS" @ offset 0x0000d */ }; -#define NUM_SIGNATURES (sizeof(signatures)/sizeof(Signature)) +#define NUM_SIGNATURES ARRAY_SIZE(signatures) as_stm.res diff = --- tests/as_stm.c +++ /tmp/cocci-output-22122-c8a98e-as_stm.c @@ -1,3 +1,5 @@ int main () { +#ifdef BEFORE if (f()) return 15; +#endif } assign_deref_funcall_in_macro_it.res attr_with_arguments.res warning: line 36: should id be a metavariable? diff = --- tests/attr_with_arguments.c +++ /tmp/cocci-output-22122-f8141a-attr_with_arguments.c @@ -1,9 +1,9 @@ -aarg(1,2) int func() { - int id aarg3(1,2); +aarg(1,2) char func() { + long id aarg3(1,2); return 42; } -aarg("not (1,2)") int func() { +aarg("not (1,2)") long func() { return 42; } @@ -11,13 +11,13 @@ return 42; } -aarg2(arguments) int func() { +aarg2(arguments) short func() { return 42; } -aarg2(1,"2") int func() { +aarg2(1,"2") short func() { return 42; } -void func() aarg4(1,2) { +long func() aarg4(1,2) { } attradd.res diff = --- tests/attradd.c +++ /tmp/cocci-output-22122-d447d1-attradd.c @@ -1,3 +1,3 @@ int main () { - char f; + char __attribute__((aligned(1))) f; } attrs2groups.res diff = --- tests/attrs2groups.c +++ /tmp/cocci-output-22122-539429-attrs2groups.c @@ -3,18 +3,24 @@ { return 42; } +static BUG(); +NOBUG(); static ssize_t name_show(struct device *dev, struct device_attribute *attr, char *buf) { return 0; } +static BUG(); +NOBUG(); static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, char *buf) { return 1; } +static BUG(); +NOBUG(); struct device_attribute ibmebus_bus_device_attrs[] = { auto.res warning: rule starting on line 3: metavariable t not used in the - or context code exn while in timeout_function b1.res diff = --- tests/b1.c +++ /tmp/cocci-output-22122-5e5e49-b1.c @@ -1,7 +1,9 @@ int main () { while (1) { - if (x > 1 ) { foo(); break; } + if (x > 1 ) { foo(); + bar(); break; } } while (1) - if (x > 1 ) { foo(); break; } + if (x > 1 ) { foo(); + bar(); break; } } b2.res diff = --- tests/b2.c +++ /tmp/cocci-output-22122-1018f4-b2.c @@ -1,9 +1,11 @@ int main () { if (1) { - if (x > 1 ) { foo(); brk(); } + if (x > 1 ) { foo(); + bar(); brk(); } } else aaa(); if (1) - while (x > 1 ) { foo(); brk(); } + while (x > 1 ) { foo(); + bar(); brk(); } else aaa(); foo(); brk(); } bad_iso_example.res bad_kfree.res diff = --- tests/bad_kfree.c +++ /tmp/cocci-output-22122-c2adca-bad_kfree.c @@ -14,7 +14,7 @@ kfree(itv[i]); print("foo",itv[i]); print("foo",itv[i]); - a = itv[i]; + a = NULL; itv[i]=12; a = itv[i]; } bad_ptr_print.res diff = --- tests/bad_ptr_print.c +++ /tmp/cocci-output-22122-ba81b5-bad_ptr_print.c @@ -1,4 +1,4 @@ static inline int tester(struct usb_endpoint_descriptor *epd) { - f((struct foo *)x); + g((struct foo *)x); } bad_typedef.res diff = --- tests/bad_typedef.c +++ /tmp/cocci-output-22122-bd28b9-bad_typedef.c @@ -4,7 +4,7 @@ int main1 (scsi_changer *x) { - foo(x->lock); + foo(x->new_lock); } struct scsi_changer_two { @@ -13,5 +13,5 @@ int main2 (struct scsi_changer_two *x) { - foo(x->lock); + foo(x->new_lock); } badcfg.res diff = --- tests/badcfg.c +++ /tmp/cocci-output-22122-3a49bf-badcfg.c @@ -3,7 +3,7 @@ #define N(val) \ case NETDEV_##val: \ return "NETDEV_" __stringify(val); - switch (cmd) { + switch (replacement) { N(UP) N(DOWN) N(PRE_CHANGEADDR) } badexp.res diff = --- tests/badexp.c +++ /tmp/cocci-output-22122-5f1058-badexp.c @@ -1,4 +1,4 @@ int main() { foo(a); - b = a; + b = 3 +a * 27; } badpos.res previous modification: MINUS >>> xxx According to environment 0: current modification: MINUS According to environment 0: exn while in timeout_function badtypedef.res diff = --- tests/badtypedef.c +++ /tmp/cocci-output-22122-8d9b36-badtypedef.c @@ -5,7 +5,7 @@ foo_t *b; foo_t *c; - xxx(a); - yyy(b); + aaa(a); + bbb(b); } badwhen.res diff = --- tests/badwhen.c +++ /tmp/cocci-output-22122-c58579-badwhen.c @@ -4,7 +4,5 @@ g(); } int second() { - f(); if (xfoo()) return; - g(); } badzero.res diff = --- tests/badzero.c +++ /tmp/cocci-output-22122-c505bf-badzero.c @@ -4,7 +4,7 @@ int z; if (y - x == 0) return; if ((y - x) == 0) return; - if (y - z == 0) return; - if ((y - z) == 0) return; + if (27) return; + if (27) return; } bc_1.res warning: f: metavariable i not used in the - or context code diff = --- tests/bc_1.c +++ /tmp/cocci-output-22122-db237f-bc_1.c @@ -12,6 +12,12 @@ } *DomainSphBuf_; + struct sph_particle_data_buggy_soa_t { +#ifdef VORONOI + int a; +#endif + }; + struct sph_particle_data_buggy_soa_t DomainSphBuf__soa; struct dens_eval_arg_t { }; int main() befS.res diff = --- tests/befS.c +++ /tmp/cocci-output-22122-e135cb-befS.c @@ -1,20 +1,32 @@ int main () { + foo(); xxx(); + foo(); if(y) { - rrr(); + foo(); + { + foo(); + rrr(); + } } } int main () { + foo(); xxx(); - if(y) + foo(); + if(y) { + foo(); rrr(); + } } int d() {} int main2 () { + foo(); yyy(); + foo(); xxx(); } before.res diff = --- tests/before.c +++ /tmp/cocci-output-22122-c50aed-before.c @@ -1,4 +1,6 @@ int main () { + blah(); one(); + blah(); foo(); } ben.res diff = --- tests/ben.c +++ /tmp/cocci-output-22122-a1ee11-ben.c @@ -1,22 +1,20 @@ +static GType this_type = 0; +static const GTypeInfo this_info = { + sizeof(LassoProviderClass), + NULL, + NULL, + (GClassInitFunc)class_init, + NULL, + NULL, + sizeof(LassoProvider), + 0, + (GInstanceInitFunc)instance_init, + NULL, +}; GType lasso_provider_get_type() { - static GType this_type = 0; - if (!this_type) { - static const GTypeInfo this_info = { - sizeof (LassoProviderClass), - NULL, - NULL, - (GClassInitFunc) class_init, - NULL, - NULL, - sizeof(LassoProvider), - 0, - (GInstanceInitFunc) instance_init, - NULL - }; - this_type = g_type_register_static(LASSO_TYPE_NODE, "LassoProvider", &this_info, 0); } bigin.res diff = --- tests/bigin.c +++ /tmp/cocci-output-22122-56c50e-bigin.c @@ -9,5 +9,6 @@ if (x) if (x) blah(); + bar(); foo(); } bigrepl.res diff = --- tests/bigrepl.c +++ /tmp/cocci-output-22122-d101d0-bigrepl.c @@ -1,6 +1,9 @@ int main () { - one(argument1(nested, argument), argument2(nested, argument), foo(), + one(argument1(nested, argument), argument2(nested, argument), + call(to, a, very, complicated, function, with, many, args), argument3(nested, argument)); - one(argument1(nested, argument), argument2(nested, argument), foo(), a(b)); - one(argument1(nested, argument), argument2(nested, argument), foo()); + one(argument1(nested, argument), argument2(nested, argument), + call(to, a, very, complicated, function, with, many, args), a(b)); + one(argument1(nested, argument), argument2(nested, argument), + call(to, a, very, complicated, function, with, many, args)); } binop.res diff = --- tests/binop.c +++ /tmp/cocci-output-22122-832b4e-binop.c @@ -2,10 +2,12 @@ int i = 0; int j = 0; - if( (i = j) + 0 ) { + i = j; + if(i + 0 ) { i = j; } - if( (i = j) + 0 != 0 ) { + i = j; + if(i + 0 != 0 ) { i = j; } } bitfield.res warning: rule starting on line 11: metavariable v not used in the - or context code diff = --- tests/bitfield.c +++ /tmp/cocci-output-22122-bb820b-bitfield.c @@ -1,15 +1,15 @@ struct dvb_frontend { - struct dvb_frontend_ops* ops; + struct dvb_frontend_ops ops; }; typedef struct { - u8 RESET :1; - u8 IDLE :1; - u8 STOP :1; - u8 HIRQ0 :1; - u8 HIRQ1 :1; - u8 na0 :1; - u8 HABAV :1; - u8 na1 :1; + u8 RESET:2; + u8 IDLE:2; + u8 STOP:2; + u8 HIRQ0:2; + u8 HIRQ1:2; + u8 na0:2; + u8 HABAV:2; + u8 na1:2; } bcm3510_register_value; bitfield_matching.res boolr.res (ONCE) already tagged but only removed, so safe diff = --- tests/boolr.c +++ /tmp/cocci-output-22122-b87141-boolr.c @@ -1,4 +1,3 @@ int main() { - bool i3, i4, i5; int b; } bracebraceline.res diff = --- tests/bracebraceline.c +++ /tmp/cocci-output-22122-57245a-bracebraceline.c @@ -1,6 +1,5 @@ int main () { if (x) { - one(); - two(); + three(); } } braceline.res diff = --- tests/braceline.c +++ /tmp/cocci-output-22122-61e305-braceline.c @@ -1,6 +1,3 @@ int main () { - if (x) { - one(); - two(); - } + if (x) three(); } braces.res diff = --- tests/braces.c +++ /tmp/cocci-output-22122-5b759f-braces.c @@ -1,9 +1,9 @@ -#define main { foo(); } +#define main foo(); int main() { foo(); } -int main() { if (x) { foo(); } } +int main() { if (x) foo(); } -int main() { while (x) { foo(); } } +int main() { while (x) foo(); } -int main() { if (x) { foo(); } else { foo(); } } +int main() { if (x) foo(); else foo(); } branchparen.res diff = --- tests/branchparen.c +++ /tmp/cocci-output-22122-126c0b-branchparen.c @@ -1,6 +1,10 @@ int main () { - if (x) + if (x) { + foo(); xxx(); - else + } + else { + foo(); xxx(); + } } break.res diff = --- tests/break.c +++ /tmp/cocci-output-22122-205038-break.c @@ -5,8 +5,10 @@ x = 15; if (x > 1 ) { foo(); break; } } while (a == 3); - if (x > 1 ) { foo(); break; } - if (x > 1 ) { foo(); break; } + if (x > 1 ) { foo(); + bar(); break; } + if (x > 1 ) { foo(); + bar(); break; } } } @@ -18,6 +20,7 @@ if (x > 1 ) { xxx(); continue; } } while (a == 3); if (x > 1 ) { xxx(); break; } - if (x > 1 ) { xxx(); continue; } + if (x > 1 ) { xxx(); + bar(); continue; } } } bug1.res diff = --- tests/bug1.c +++ /tmp/cocci-output-22122-030b01-bug1.c @@ -1,4 +1,5 @@ -static int typhoon_ioctl(struct video_device *dev, unsigned int cmd,void *arg) +static int typhoon_ioctl(struct inode *i, struct file *f, unsigned int cmd, + void *arg) { struct typhoon_device *typhoon = dev->priv; return 0; bugloop.res diff = --- tests/bugloop.c +++ /tmp/cocci-output-22122-870f2e-bugloop.c @@ -8,8 +8,8 @@ while (x) { /* if suspending, then power off and wait */ - if (unlikely(current->flags & PF_FREEZE)) { - refrigerator(PF_FREEZE); + if (unlikely(freezing(current))) { + refrigerator(); } } bugon.res diff = --- tests/bugon.c +++ /tmp/cocci-output-22122-10696b-bugon.c @@ -1,5 +1,4 @@ static void b44_tx(struct b44 *bp) { - if (unlikely(skb == NULL)) - BUG(); + BUG_ON(skb == NULL); } bus.res diff = --- tests/bus.c +++ /tmp/cocci-output-22122-13edb3-bus.c @@ -1,5 +1,5 @@ int main () { struct foo *dev; - dev->probe(); - foo(); + c1(); + c2(); } cards.res diff = --- tests/cards.c +++ /tmp/cocci-output-22122-0b4b72-cards.c @@ -1,3 +1,3 @@ -MODULE_PARM(io, "1-" __MODULE_STRING(MAX_CARDS) "i"); + int x; caseprint.res diff = --- tests/caseprint.c +++ /tmp/cocci-output-22122-e23ba2-caseprint.c @@ -3,4 +3,10 @@ case 12: return 0; case 1: return 2; } + switch (x) { + case 12: + return 0; + case 1: + return 2; + } } cast.res diff = --- tests/cast.c +++ /tmp/cocci-output-22122-ef3605-cast.c @@ -1,3 +1,2 @@ int main () { - ((struct xxx *)E)->foo = 12; } cast_iso.res diff = --- tests/cast_iso.c +++ /tmp/cocci-output-22122-8cc9bf-cast_iso.c @@ -1,6 +1,6 @@ static int vx_hwdep_dsp_load(snd_hwdep_t *hw, snd_hwdep_dsp_image_t *dsp) { - vx_core_t *vx = snd_magic_cast(vx_core_t, hw->private_data, return -ENXIO); - ak4117_t *chip = snd_magic_cast(ak4117_t, (void *)data, return); + vx_core_t *vx = hw->private_data; + ak4117_t *chip = (ak4117_t *)data; } castdecl.res diff = --- tests/castdecl.c +++ /tmp/cocci-output-22122-6858c2-castdecl.c @@ -1,9 +1,9 @@ int main() { - long i1, i2; - long i3; - long lType = (long)TYPE_OBJ_DS_REPORT, lNuPageBloc = 0L; - unsigned char c1 = 'a', c2 = 'b'; - unsigned char c3 = 'c'; + int i1, i2; + int i3; + int lType = (int)TYPE_OBJ_DS_REPORT, lNuPageBloc = 0L; + char c1 = 'a', c2 = 'b'; + char c3 = 'c'; i1 = 11; i2 = 22; i3 = 33; cex_wishlist_complex1.res diff = --- tests/cex_wishlist_complex1.c +++ /tmp/cocci-output-22122-f992c1-cex_wishlist_complex1.c @@ -1,6 +1,6 @@ #include int main() { - double d; + float d; float f; double complex dc; float complex fc; cex_wishlist_complex2.res diff = --- tests/cex_wishlist_complex2.c +++ /tmp/cocci-output-22122-f358d7-cex_wishlist_complex2.c @@ -2,7 +2,7 @@ int main() { double d; float f; - long double complex ldc; + float ldc; double complex dc; float complex fc; return 0; cex_wishlist_complex3.res diff = --- tests/cex_wishlist_complex3.c +++ /tmp/cocci-output-22122-57ac33-cex_wishlist_complex3.c @@ -2,7 +2,7 @@ int main() { double d; float f; - double complex dc; - float complex fc; + int dc; + double complex fc; return 0; } change.res diff = --- tests/change.c +++ /tmp/cocci-output-22122-2ba080-change.c @@ -1,5 +1,6 @@ int main () { foo(); + blah(one, two); this_type = g_type_register_static(LASSO_TYPE_NODE, "LassoProvider", &this_info, 0); } change_type.res diff = --- tests/change_type.c +++ /tmp/cocci-output-22122-45bfb4-change_type.c @@ -1,4 +1,4 @@ int main () { struct foo *x; - return (struct blah *)x; + return 42; } changei.res diff = --- tests/changei.c +++ /tmp/cocci-output-22122-46c9fe-changei.c @@ -1,7 +1,7 @@ -typedef struct i istruct; +typedef struct i xxx; -int main (int x) { - char c; - return x + c; +int xxx (int xxx) { + char xxx; + return xxx + xxx; } cocci_args.res diff = --- tests/cocci_args.c +++ /tmp/cocci-output-22122-c4f163-cocci_args.c @@ -1,3 +1,3 @@ int main () { - f(); + g(a); } com.res diff = --- tests/com.c +++ /tmp/cocci-output-22122-0da275-com.c @@ -1,8 +1,3 @@ int main() { - foo(); - /* a comment */ - foo(); - /* a comment */ - foo(); bar(); } comadd.res diff = --- tests/comadd.c +++ /tmp/cocci-output-22122-3c7f7c-comadd.c @@ -1,3 +1,5 @@ +// some comment +// some other comment int main () { return 12; } comj.res diff = --- tests/comj.c +++ /tmp/cocci-output-22122-f2f442-comj.c @@ -2,6 +2,8 @@ { int i, j; for (i = 5; --i>=0; ) { + /* comments are overrated */ + j -= 3; j+=54; } return j; comma.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_396001.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_396001.ml Compilation OK! Loading ML code of the SP... diff = --- tests/comma.c +++ /tmp/cocci-output-22122-511905-comma.c @@ -3,9 +3,9 @@ { for (i = 0; i < ARRAY_SIZE(feature_bits) && size > 1; ++i) { cp += snprintf(cp, size, "%s%s", sep, - feature_bits[i].feature_name), + feature_bits[i].feature_name); cp += snprintf(cp, size, "%s%s", sep, - feature_bits[i].feature_name), + feature_bits[i].feature_name); sep = ", "; } } comma_call.res diff = --- tests/comma_call.c +++ /tmp/cocci-output-22122-42e919-comma_call.c @@ -1,10 +1,13 @@ int main() { - if (x) - fprintf(), exit(1); + if (x) { + fprintf(); + exit(1); + } } int main() { - if (x) - fprintf(), + if (x) { + fprintf(); exit(1); + } } comma_if.res diff = --- tests/comma_if.c +++ /tmp/cocci-output-22122-0cea9a-comma_if.c @@ -1,13 +1,19 @@ int main() { - if (uffdio_zeropage.zeropage == -EEXIST) - fprintf(stderr, "UFFDIO_ZEROPAGE -EEXIST\n"), exit(1); - else - fprintf(stderr, "UFFDIO_ZEROPAGE error %Ld\n"), exit(1); + if (uffdio_zeropage.zeropage == -EEXIST) { + fprintf(stderr, "UFFDIO_ZEROPAGE -EEXIST\n"); + exit(1); + } + else { + fprintf(stderr, "UFFDIO_ZEROPAGE error %Ld\n"); + exit(1); + } } int main() { if (uffdio_zeropage.zeropage == -EEXIST) fprintf(stderr, "UFFDIO_ZEROPAGE -EEXIST\n"); - else - fprintf(stderr, "UFFDIO_ZEROPAGE error %Ld\n"), exit(1); + else { + fprintf(stderr, "UFFDIO_ZEROPAGE error %Ld\n"); + exit(1); + } } comment_brace.res diff = --- tests/comment_brace.c +++ /tmp/cocci-output-22122-9deedf-comment_brace.c @@ -1,7 +1,9 @@ int main () { - while ((inw(base) & 0xad00) != 0) /* data status */ + while ((inw(base) & 0xad00) != 0) /* data status */ { + release_region(); continue; + } return 0; } comment_brace2.res diff = --- tests/comment_brace2.c +++ /tmp/cocci-output-22122-13a90b-comment_brace2.c @@ -1,7 +1,9 @@ int main () { - while ((inw(base) & 0xad00) != 0) /* data status */ + while ((inw(base) & 0xad00) != 0) /* data status */ { + release_region(); continue; + } return 0; } comment_line.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_2539cc.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_2539cc.ml File "/tmp/ocaml_cocci_2539cc.ml", line 31, characters 4-5: 31 | let p = match List.nth __args__ 1 with Coccilib.Pos x -> x | _ -> failwith "bad value" in ^ Warning 26 [unused-var]: unused variable p. Compilation OK! Loading ML code of the SP... 1 1 diff = --- tests/comment_line.c +++ /tmp/cocci-output-22122-cd7471-comment_line.c @@ -1,11 +1,9 @@ int main() { before(); - foo(); /*test*/ after(); - foo(); /*test*/ after(); } comment_middle.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_5e861e.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_5e861e.ml File "/tmp/ocaml_cocci_5e861e.ml", line 30, characters 5-6: 30 | let f = match List.nth __args__ 0 with Coccilib.Str x -> x | _ -> failwith "bad value" in ^ Warning 26 [unused-var]: unused variable f. Compilation OK! Loading ML code of the SP... diff = --- tests/comment_middle.c +++ /tmp/cocci-output-22122-ac0188-comment_middle.c @@ -5,5 +5,4 @@ }; int main() { - foo(); } comments.res diff = --- tests/comments.c +++ /tmp/cocci-output-22122-05638e-comments.c @@ -1,5 +1,16 @@ int main() { + // Calls foo() + foo(); return 0; +} + +/** + Some info about @foo() + @return void +*/ +void foo() +{ + /* Do nothing */ } compare.res diff = --- tests/compare.c +++ /tmp/cocci-output-22122-52157a-compare.c @@ -1,7 +1,7 @@ struct aic7xxx_host { struct aic7xxx_cmd_queue { - Scsi_Cmnd *head; - Scsi_Cmnd *tail; + struct scsi_cmnd *head; + struct scsi_cmnd *tail; } completeq; unsigned char msg_buf[13]; /* The message for the target */ unsigned char msg_type; compare_const2.res diff = --- tests/compare_const2.c +++ /tmp/cocci-output-22122-a72d13-compare_const2.c @@ -1,6 +1,6 @@ int main () { // int i,o; - if (0 == ((1 == i || 3 == i) - && (18 == o || 17 == o))) + if (((i == 1 || i == 3) + && (o == 18 || o == 17)) == 0) return -EINVAL; } condexp.res diff = --- tests/condexp.c +++ /tmp/cocci-output-22122-fcd87c-condexp.c @@ -5,7 +5,7 @@ dpy = XOpenDisplay (displayname); if (!dpy) { fprintf (stderr, "%s: unable to open display \"%s\"\n", - ProgramName, XDisplayName (displayname)); + ProgramName, displayname ? displayname : getenv("DISPLAY")); Exit (1); } screenno = DefaultScreen (dpy); const.res warning: line 2: should text be a metavariable? warning: line 3: should buf be a metavariable? warning: line 3: should text be a metavariable? diff = --- tests/const.c +++ /tmp/cocci-output-22122-7a7f45-const.c @@ -1,3 +1,3 @@ void foo(const char *text) { - strcat(buf->data, text); + strcat_safe(buf->data, buf->len, text); } const1bis.res warning: line 3: should i be a metavariable? warning: line 6: should i be a metavariable? warning: line 16: should i be a metavariable? diff = --- tests/const1bis.c +++ /tmp/cocci-output-22122-71d3ee-const1bis.c @@ -1,25 +1,25 @@ void foo(int j) { - const int i; + float i; int i; i++; - const char *i; + double *i; char *i; *i++; } void bar(int j) { - int const i; + float i; int i; i++; - char const *i; + double *i; char *i; *i++; } void con_vol(int j) { - const volatile int i; + const volatile long i; } void vol_con(int j) { - volatile const int i; + volatile const long i; } const_adding.res diff = --- tests/const_adding.c +++ /tmp/cocci-output-22122-54b406-const_adding.c @@ -2,6 +2,6 @@ { const struct file_operations a; - struct file_operations b; + const struct file_operations b; } const_array.res diff = --- tests/const_array.c +++ /tmp/cocci-output-22122-711688-const_array.c @@ -24,9 +24,9 @@ }; int main () { - ent->driver_data = sizeof(r128_family)/sizeof(char *); - ent->driver_data = sizeof(r128_family1)/sizeof(char *); - ent->driver_data = sizeof(r128_family2)/sizeof(char *); - ent->driver_data = sizeof(r128_family3)/sizeof(struct foo *); - ent->driver_data = sizeof(r128_family4)/sizeof(struct foo *); + ent->driver_data = ARRAY_SIZE(r128_family); + ent->driver_data = ARRAY_SIZE(r128_family1); + ent->driver_data = ARRAY_SIZE(r128_family2); + ent->driver_data = ARRAY_SIZE(r128_family3); + ent->driver_data = ARRAY_SIZE(r128_family4); } const_implicit_iso.res diff = --- tests/const_implicit_iso.c +++ /tmp/cocci-output-22122-0a9de1-const_implicit_iso.c @@ -1,4 +1,4 @@ void main(double y) { - const int x; + const float x; } constptr.res diff = --- tests/constptr.c +++ /tmp/cocci-output-22122-ee4243-constptr.c @@ -1,7 +1,7 @@ int main() { - const char * const *id; - const char ** const *id; - const char * const **id; - const char * const id; + const char * const *id1; + const char ** const *id2; + const char * const **id3; + const char * const id4; } constraints.res diff = --- tests/constraints.c +++ /tmp/cocci-output-22122-5227cb-constraints.c @@ -1,23 +1,23 @@ void f() { - int k; + int *k; bool b; - bool *p; - bool **x[]; - char *y[]; + bool **p; + bool * x[]; + char y[]; f(1 == 2); f(1 & 3); g(1 & 2); g(1 != 2); g(1 <= 3); - h(1 == 2); + h(2 == 1); h(1 & 2); h(1 != 2); h(1 <= 2); } void -g(int a, int b, int c) +h(int a, int b, int c) { } constrem.res warning: line 9: should f be a metavariable? diff = --- tests/constrem.c +++ /tmp/cocci-output-22122-ff69d0-constrem.c @@ -1,3 +1 @@ -static const int a; -static const int (*f)(const int); constructor.res diff = --- tests/constructor.c +++ /tmp/cocci-output-22122-15d21c-constructor.c @@ -1,5 +1,5 @@ int main () { - imx_add_platform_device_dmamask(Ename, Eid, Eres, Enum_res, - Edata, Esize_data, Edma_mask); + changed_imx_add_platform_device_dmamask(Ename, Eid, Eres, Enum_res, Edata, + Esize_data, Edma_mask); } constty.res diff = --- tests/constty.c +++ /tmp/cocci-output-22122-e08d29-constty.c @@ -1,7 +1,6 @@ int main () { const int x; int y; - f(x,int); f(y,int); f(x,const int); } constx.res diff = --- tests/constx.c +++ /tmp/cocci-output-22122-4df17e-constx.c @@ -1,8 +1,8 @@ int main() { - foo(12); + foobar(12, 12); foo(x); - foo(CONSTANT); - foo('a'); - foo("string"); - foo(1.0001); + foobar(CONSTANT, CONSTANT); + foobar('a', 'a'); + foobar("string", "string"); + foobar(1.0001, 1.0001); } countcalls.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_763364.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_763364.ml File "tests/countcalls.cocci", line 63, characters 30-46: Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. Compilation OK! Loading ML code of the SP... countcalls_python.res cptr.res diff = --- tests/cptr.c +++ /tmp/cocci-output-22122-46c09f-cptr.c @@ -1 +1 @@ -static const char *str = "..."; +static const char *const str = "..."; cr.res diff = --- tests/cr.c +++ /tmp/cocci-output-22122-a4fad0-cr.c @@ -1,7 +1,6 @@ int main(void) { #if ! HAVE_XYZ - f1(); - f2(); + f3(); #endif } cr1a.res diff = --- tests/cr1a.c +++ /tmp/cocci-output-22122-a75e25-cr1a.c @@ -6,14 +6,17 @@ if (base) b = e = base; for (base = b; base <= e; base += 0x10) { - if (check_region(base, 0x10)) + if (!request_region(base, 0x10, req_reg_arg3)) continue; for (i = 0; i < 3; i++) fool = inw(base + 2); /* empty possibly uart_receive_buffer */ if ((inw(base + 6) & 0xffef) != 0x0001 || /* line_status */ - (inw(base) & 0xad00) != 0) + (inw(base) & 0xad00) != 0) { + release_region(base, 0x10); continue; + } return (base); + release_region(base, 0x10); } return 0; } cs_check.res warning: line 5: should handle be a metavariable? diff = --- tests/cs_check.c +++ /tmp/cocci-output-22122-3627d9-cs_check.c @@ -4,7 +4,7 @@ static void nsp_cs_config(dev_link_t *link) { client_handle_t handle = link->handle; - CS_CHECK(GetFirstTuple, pcmcia_get_first_tuple(handle, &tuple)); + CS_CHECK(GetFirstTuple, pcmcia_get_first_tuple(link, &tuple)); cs_failed: return; } cst.res diff = --- tests/cst.c +++ /tmp/cocci-output-22122-320b2f-cst.c @@ -1,5 +1,5 @@ int main(int x) { - emu10k1_t *emu = snd_magic_cast(1, 2, return -ENXIO); + emu10k1_t *emu = 4; int z = 12; return y; } cst_null.res diff = --- tests/cst_null.c +++ /tmp/cocci-output-22122-4b2ff7-cst_null.c @@ -2,9 +2,8 @@ { struct videobuf_buffer *vb; - vb = kmalloc(size,GFP_KERNEL); + vb = kzalloc(size, GFP_KERNEL); if (vb != NULL) { - memset(vb,0,size); videobuf_dma_init(&vb->dma); init_waitqueue_head(&vb->done); vb->magic = MAGIC_BUFFER; @@ -17,9 +16,8 @@ { struct videobuf_buffer *vb; - vb = kmalloc(size,GFP_KERNEL); + vb = kzalloc(size, GFP_KERNEL); if (vb) { - memset(vb,0,size); videobuf_dma_init(&vb->dma); init_waitqueue_head(&vb->done); vb->magic = MAGIC_BUFFER; @@ -32,9 +30,8 @@ { struct videobuf_buffer *vb; - vb = kmalloc(size,GFP_KERNEL); + vb = kzalloc(size, GFP_KERNEL); if (NULL != vb) { - memset(vb,0,size); videobuf_dma_init(&vb->dma); init_waitqueue_head(&vb->done); vb->magic = MAGIC_BUFFER; cstr.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_1c1326.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_1c1326.ml Compilation OK! Loading ML code of the SP... diff = --- tests/cstr.c +++ /tmp/cocci-output-22122-6653d4-cstr.c @@ -1,4 +1,8 @@ int main() { f(1,2,1,2,3); g(0,2,1,11,22,11,22,1,1,2,3); + h(1, 1); + h(1, 1); + h(1, 1); + h(2, 2); } cststr.res warning: line 4: should foo be a metavariable? diff = --- tests/cststr.c +++ /tmp/cocci-output-22122-d98512-cststr.c @@ -1,3 +1,3 @@ int main () { - foo((ptr_t)"blah"); + xxx((ptr_t)"blah"); } csw.res warning: line 4: should x be a metavariable? diff = --- tests/csw.c +++ /tmp/cocci-output-22122-fc424f-csw.c @@ -1,14 +1,6 @@ int main() { switch (x) { - case XYZ: - link->state &= ~DEV_PRESENT; - if (link->state & DEV_CONFIG) { - bluecard_close(info); - bluecard_release(link); - } - break; case MID: mid(); break; - case FOO: bar(); break; } } dbg.res diff = --- tests/dbg.c +++ /tmp/cocci-output-22122-c21979-dbg.c @@ -4,5 +4,6 @@ struct resource *pr, *r = &dev->resource[idx]; if (pr) - DBG("PCI"); + DBG("PCI");else + pr = NULL; } dbg1.res diff = --- tests/dbg1.c +++ /tmp/cocci-output-22122-918446-dbg1.c @@ -2,4 +2,5 @@ static inline void alloc_resource(struct pci_dev *dev, int idx) { DBG("PCI"); + E = NULL; } dc_close.res diff = --- tests/dc_close.c +++ /tmp/cocci-output-22122-c9706e-dc_close.c @@ -5,6 +5,7 @@ INIT_WORK(&cs->work, icc_bh, cs); cs->setstack_d = setstack_icc; + cs->DC_Send_Data = d_fill_fifo; cs->DC_Close = DC_Close_icc; cs->dc.icc.mon_rx = NULL; debug.res diff = --- tests/debug.c +++ /tmp/cocci-output-22122-e179bd-debug.c @@ -1,5 +1,4 @@ static int __init init_3c574_cs(void) { - DEBUG(0, "%s\n", version); return 0; } dec.res diff = --- tests/dec.c +++ /tmp/cocci-output-22122-c9b159-dec.c @@ -1,4 +1,5 @@ int f(int x) { + int z; static int y; return x; } decl.res diff = --- tests/decl.c +++ /tmp/cocci-output-22122-b7d737-decl.c @@ -1,5 +1,6 @@ static int az_ioctl(int cmd, void *arg) { + foo(); return 0; } decl2.res warning: line 8: should x be a metavariable? diff = --- tests/decl2.c +++ /tmp/cocci-output-22122-af98c2-decl2.c @@ -1,6 +1,6 @@ static int az_ioctl(int cmd, void *arg) { - if (x) { + if (y) { return 0; } else { decl_space.res diff = --- tests/decl_space.c +++ /tmp/cocci-output-22122-a353a2-decl_space.c @@ -1,4 +1,4 @@ int main () { - int *x = y; - int x = y; + int *x = g; + int x = g; } decl_split.res decl_star.res diff = --- tests/decl_star.c +++ /tmp/cocci-output-22122-37995f-decl_star.c @@ -1,5 +1,5 @@ int main () { - int *x; - int x; + int *y; + int y; return x; } declmeta.res diff = --- tests/declmeta.c +++ /tmp/cocci-output-22122-f35796-declmeta.c @@ -1,7 +1,7 @@ -int b,c; +int c; -int b,c; +int c; int main() { - int b,c; + int c; } defe.res diff = --- tests/defe.c +++ /tmp/cocci-output-22122-f0e654-defe.c @@ -1 +1,0 @@ -#define x 3 define_exp.res diff = --- tests/define_exp.c +++ /tmp/cocci-output-22122-7c25e3-define_exp.c @@ -1,5 +1,5 @@ #define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? \ - SA_SHIRQ : SA_INTERRUPT) + IRQF_SHARED : IRQF_DISABLED) void main(int i) define_param.res diff = --- tests/define_param.c +++ /tmp/cocci-output-22122-4a33c4-define_param.c @@ -1,10 +1,10 @@ -#define fieldsize(a) (sizeof(a)/sizeof(*a)) + static int atari_proc_infos(unsigned char *nvram, char *buffer, int *len, off_t *begin, off_t offset, int size) { - for (i = fieldsize(boot_prefs) - 1; i >= 0; --i) { + for (i = ARRAY_SIZE(boot_prefs) - 1; i >= 0; --i) { if (nvram[1] == boot_prefs[i].val) { PRINT_PROC("%s\n", boot_prefs[i].name); break; defineinit.res diff = --- tests/defineinit.c +++ /tmp/cocci-output-22122-384cec-defineinit.c @@ -1,3 +1,3 @@ #define MYMACRO(adsf) { \ - .foo = (asdf),\ + .foo = (asdf) * 1000,\ } deftodo.res delete_function.res diff = --- tests/delete_function.c +++ /tmp/cocci-output-22122-9151af-delete_function.c @@ -2,12 +2,6 @@ return 0; } -int foo() { - a(); - a(); - a(); -} - int last () { return 0; } delp.res diff = --- tests/delp.c +++ /tmp/cocci-output-22122-db1286-delp.c @@ -1,4 +1,4 @@ int main () { return - (foo); + foo; } depfail.res diff = --- tests/depfail.c +++ /tmp/cocci-output-22122-e09d86-depfail.c @@ -1,5 +1,4 @@ int main(void) { foo(); - bar(); } deref.res diff = --- tests/deref.c +++ /tmp/cocci-output-22122-139c4a-deref.c @@ -1,6 +1,6 @@ int main () { int **q; - foo(*q+12); - xxx(q[0]+12); + foo(12); + xxx(12); yyy(q+12); } destroy.res diff = --- tests/destroy.c +++ /tmp/cocci-output-22122-68a460-destroy.c @@ -6,7 +6,12 @@ goto out; out_irq: +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31) free_irq(wl->irq, wl); +#else + compat_free_threaded_irq(&private->irq_compat); + compat_destroy_threaded_irq(&wl->irq_compat); +#endif #ifdef foo out: release_firmware(fw); detect_cast_attr.res diff = --- tests/detect_cast_attr.c +++ /tmp/cocci-output-22122-18bcb7-detect_cast_attr.c @@ -2,9 +2,9 @@ int func() { - char *a = (int __cast_attr) x; - char *a = (__cast_attr int) x; - char *a = (int __cast_attr *) x; - char *a = (int *__cast_attr) x; + char *a = (char *__cast_attr) x; + char *a = (__cast_attr char *) x; + char *a = (char *__cast_attr) x; + char *a = (char *__cast_attr) x; char *a = (int) x; } detect_macrodecl_attr.res warning: line 8: should a be a metavariable? diff = --- tests/detect_macrodecl_attr.c +++ /tmp/cocci-output-22122-2fe43e-detect_macrodecl_attr.c @@ -1,5 +1,5 @@ #define __macro_attr MACROANNOTATION -DECLARER(a, b) __macro_attr; +DECLARER(c, b) __macro_attr; DECLARER(a, b); detect_param_attr.res diff = --- tests/detect_param_attr.c +++ /tmp/cocci-output-22122-42d31b-detect_param_attr.c @@ -1,11 +1,12 @@ -int func1(int __nocast *u, __nocast int z, int q __nocast, int w) { +int func1(char __nocast *u, __nocast int z, char q __nocast, int w) { return 0; } -int func1(int __attribute__((nocast)) *u, __attribute__((nocast)) int z, int q __attribute__((nocast)), int w) { +int func1(long __attribute__((nocast)) *u, __attribute__((nocast)) int z, + char q __attribute__((nocast)), int w) { return 0; } -int fp(int __attr (*fp) (int)) { +int fp(short __attr (*fp) (int)) { return 0; } detect_struct_endattr.res diff = --- tests/detect_struct_endattr.c +++ /tmp/cocci-output-22122-46dc12-detect_struct_endattr.c @@ -2,7 +2,6 @@ struct abcd { int a; - int b; int c; } __struct_endattr; detect_struct_gccattr.res diff = --- tests/detect_struct_gccattr.c +++ /tmp/cocci-output-22122-acf4ee-detect_struct_gccattr.c @@ -1,12 +1,10 @@ struct abcd { int a; - int b; int c; } __attribute__((pack)); struct abcd { int a; - int b; int c; } __attribute__ ( ( pack ) ); @@ -24,13 +22,11 @@ struct abcd { int a; - int b; int c; } __attribute__((pack)) var1; struct abcd { int a; - int b; int c; } __attribute__ ( ( pack ) ) var2; devlink.res diff = --- tests/devlink.c +++ /tmp/cocci-output-22122-033459-devlink.c @@ -1,12 +1,12 @@ -static void cm4000_release(dev_link_t *link); +static void cm4000_release(struct pcmcia_device *link); int main () { memset(&dev->atr_csum,0, - sizeof(dev_link_t) - sizeof(dev_node)); + sizeof(struct pcmcia_device) - sizeof(dev_node)); } int xmain () { - dev_link_t x; + struct pcmcia_device x; memset(&dev->atr_csum,0, - sizeof(dev_link_t) - sizeof(dev_node)); + sizeof(struct pcmcia_device) - sizeof(dev_node)); } disj.res warning: line 3: should disj_id1 be a metavariable? warning: line 3: should disj_id2 be a metavariable? warning: line 8: should disj_id1 be a metavariable? warning: line 8: should disj_id2 be a metavariable? warning: line 18: should disj_type be a metavariable? diff = --- tests/disj.c +++ /tmp/cocci-output-22122-d40875-disj.c @@ -1,31 +1,31 @@ void f() { int disj_id0; - int disj_id1; - int disj_id2; + int disj_id3; + int disj_id3; int disj_id0 = 0; - int disj_id1 = 0; - int disj_id2 = 0; + int disj_id3 = 0; + int disj_id3 = 0; disj_expr(0); - disj_expr(1); - disj_expr(2); + disj_expr(3); + disj_expr(3); float disj_type; - int disj_type; - char disj_type; + bool disj_type; + bool disj_type; DISJ_DECLARER0(0); - DISJ_DECLARER1(0); - DISJ_DECLARER2(0); - return; + DISJ_DECLARER3(0); + DISJ_DECLARER3(0); + break; } void g() { - return; + continue; } void disj_id0(); -void disj_id1(); -void disj_id2(); +void disj_id3(); +void disj_id3(); void disj_id0() { foo(); } -void disj_id1() { foo(); } -void disj_id2() { foo(); } +void disj_id3() { foo(); } +void disj_id3() { foo(); } disjexpr.res diff = --- tests/disjexpr.c +++ /tmp/cocci-output-22122-233bd3-disjexpr.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld, v, v.fld2); + f(v->fld, *v, v->fld2); } disjexpr_ver1.res diff = --- tests/disjexpr_ver1.c +++ /tmp/cocci-output-22122-59d0f4-disjexpr_ver1.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld); + f(v->fld); } disjexpr_ver2.res diff = --- tests/disjexpr_ver2.c +++ /tmp/cocci-output-22122-28c324-disjexpr_ver2.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld, v.fld2, v); + f(v->fld, v->fld2, *v); } disjid.res diff = --- tests/disjid.c +++ /tmp/cocci-output-22122-4c1706-disjid.c @@ -1,5 +1,5 @@ -int foo (int x, int z) { return 0; } -int foo (int y, int z) { return 0; } -int bar (int x, int z) { return 0; } -int bar (int y, int z) { return 0; } +int foo (int x, int z) { return 1; } +int foo (int y, int z) { return 1; } +int bar (int x, int z) { return 1; } +int bar (int y, int z) { return 1; } int xxx (int y, int z) { return 0; } distribute.res diff = --- tests/distribute.c +++ /tmp/cocci-output-22122-dc45ea-distribute.c @@ -1,4 +1,4 @@ int main(int i) { - f(1+1); + f(g(1) * 0 * g(2)); } dotcall.res diff = --- tests/dotcall.c +++ /tmp/cocci-output-22122-e69838-dotcall.c @@ -1,3 +1,2 @@ int main() { - xxx.foobar(); } dots_comma.res diff = --- tests/dots_comma.c +++ /tmp/cocci-output-22122-6eb973-dots_comma.c @@ -1,4 +1,4 @@ int main(void) { - f(3); + f(2, 3); } double.res diff = --- tests/double.c +++ /tmp/cocci-output-22122-757a0c-double.c @@ -1,5 +1,5 @@ static void BChannel_proc_xmt(struct BCState *bcs) { - if (!test_bit(BC_FLG_BUSY, &bcs->Flag) && (!skb_queue_len(&bcs->squeue))) { + if (!test_bit(BC_FLG_BUSY, &bcs->Flag) && skb_queue_empty(&bcs->squeue)) { st->l2.l2l1(st, PH_DEACTIVATE | CONFIRM, NULL); } } double_assign.res diff = --- tests/double_assign.c +++ /tmp/cocci-output-22122-e8f09f-double_assign.c @@ -4,6 +4,5 @@ } int badmain() { - x = 12; x = 1; } double_lines.res diff = --- tests/double_lines.c +++ /tmp/cocci-output-22122-f98f69-double_lines.c @@ -1,7 +1,4 @@ int main () { test(); - foo(); - foo(); - foo(); endtest(); } double_switch.res doublepos.res diff = --- tests/doublepos.c +++ /tmp/cocci-output-22122-a8f9fa-doublepos.c @@ -1,5 +1,4 @@ int main() { - f(1,2); f(1,5); f(6,5); } doubleswitch.res diff = --- tests/doubleswitch.c +++ /tmp/cocci-output-22122-a5737d-doubleswitch.c @@ -3,8 +3,6 @@ #ifdef ZM_AVOID_UDP_LARGE_PACKET_FAIL zbuf_t *new_buf; - foo(); - switch(netif_rx(new_buf)) #else doundo.res diff = --- tests/doundo.c +++ /tmp/cocci-output-22122-9b2ab9-doundo.c @@ -4,5 +4,5 @@ { const s8 (*queue_priority_mapping)[2]; s8 *noevent; - foo(); + new_foo(); } dowhile.res diff = --- tests/dowhile.c +++ /tmp/cocci-output-22122-abca6a-dowhile.c @@ -1,7 +1,5 @@ int main() { do { - f(); } while (0); - g(); } dropbr.res diff = --- tests/dropbr.c +++ /tmp/cocci-output-22122-7ff951-dropbr.c @@ -1,5 +1,4 @@ int main () { - if (a) { - bar(); - } + if (a) + foo(); } dropcom.res diff = --- tests/dropcom.c +++ /tmp/cocci-output-22122-3e9bf7-dropcom.c @@ -2,10 +2,6 @@ int one() { return 0; } #endif /* XXX */ -int main () { - return 1; -} - int xyz () { return 1; } dropenderr.res diff = --- tests/dropenderr.c +++ /tmp/cocci-output-22122-a9da6f-dropenderr.c @@ -1,8 +1,6 @@ int main () { - if (x) goto end; - if (x) goto end2; + if (x) {} + if (x) {} return 0; - end: - end2: return -1; } dropf.res diff = --- tests/dropf.c +++ /tmp/cocci-output-22122-9b0901-dropf.c @@ -1,3 +1,3 @@ int main() { - x = f(1) + f(3); + x = f(1 + 3) + f(3 + 3); } dropparam.res diff = --- tests/dropparam.c +++ /tmp/cocci-output-22122-9fbef9-dropparam.c @@ -2,12 +2,12 @@ return; } -int g(char *x, int y, char* z) { +int g(char *x, char* z) { return; } void main(void) { - g("toto", 3, "tata"); + g("toto", "tata"); } dtest.res diff = --- tests/dtest.c +++ /tmp/cocci-output-22122-d812ab-dtest.c @@ -1,5 +1,5 @@ int main() { struct sk_buff *e; struct other *e1; - return e->a + e1->b; + return e->a + 12; } eb1.res diff = --- tests/eb1.c +++ /tmp/cocci-output-22122-8312b0-eb1.c @@ -1,7 +1,13 @@ int func() { int c; - Packet p1,p2; + Packet * p1 = SCMalloc(SIZE_OF_PACKET),* p2 = SCMalloc(SIZE_OF_PACKET); int y; + if (p1 == NULL) + return 0; + if (p2 == NULL) + return 0; a = 3; + SCFree(p1); + SCFree(p2); return x+y; } edots.res diff = --- tests/edots.c +++ /tmp/cocci-output-22122-7d603f-edots.c @@ -1,6 +1,6 @@ void main(int i) { - foo[45]; - bar[45+v.field]; + foo; + bar; // f(foo[45] + bar[45]); edots_ver1.res diff = --- tests/edots_ver1.c +++ /tmp/cocci-output-22122-7cab9d-edots_ver1.c @@ -1,7 +1,7 @@ void main(int i) { - foo[45]; - bar[45+v.field]; + foo; + bar; - f(foo[45] + bar[45]); + f(foo + bar); } efi3.res diff = --- tests/efi3.c +++ /tmp/cocci-output-22122-e81cff-efi3.c @@ -6,6 +6,6 @@ goto exit; exit: - efi_rts_work.efi_rts_id = EFI_NONE; + efi_rts_work.efi_rts_id = 12; }); } elsify.res diff = --- tests/elsify.c +++ /tmp/cocci-output-22122-11f14c-elsify.c @@ -1,7 +1,7 @@ int main () { if (x) - GOTO(rc = 1); + rc = 1; else - GOTO(rc = 2); + rc = 2; } empty.res diff = --- tests/empty.c +++ /tmp/cocci-output-22122-de90b6-empty.c @@ -1,6 +1,6 @@ static int vlsi_hard_start_xmit(struct sk_buff *skb, struct net_device *ndev) { - pci_restore_state(pdev, idev->cfg_space); + pci_restore_state(pdev); if (ring_first(idev->tx_ring) == NULL) { } else end_attr.res diff = --- tests/end_attr.c +++ /tmp/cocci-output-22122-c3eddd-end_attr.c @@ -1,10 +1,12 @@ int main() { - struct foo x autofree; + struct foo x; + free(x); return; } int main() { - struct foo x autofree = NULL; + struct foo x = NULL; + free(x); return; } end_commas.res diff = --- tests/end_commas.c +++ /tmp/cocci-output-22122-a8afd5-end_commas.c @@ -1,4 +1,6 @@ static struct i2c_client client_template = { - .name = "adv7175_client", - .driver = &i2c_driver_adv7175 + .driver = &i2c_driver_adv7175, + .dev = { + .name = "adv7175_client", + } }; endif.res warning: line 5: should x be a metavariable? diff = --- tests/endif.c +++ /tmp/cocci-output-22122-11092b-endif.c @@ -2,18 +2,23 @@ x = 1; if(1) x = 3; + foo(); x = 1; while(1) x = 3; + foo(); x = 1; do x = 3; while(1); + foo(); x = 1; for(1;1;1) x = 3; + foo(); x = 1; for(1;1;1) { x = 3; } + foo(); // switch(1) { // case 0: x = 3; endnl.res diff = --- tests/endnl.c +++ /tmp/cocci-output-22122-e7875a-endnl.c @@ -1,18 +1,36 @@ int main () { +#ifdef FOO + call(1); +#endif foo(1); bar(2); +#ifdef BAR + call(2); +#endif one: +#ifdef FOO + call(3); +#endif foo(3); two: bar(4); +#ifdef BAR + call(4); +#endif three: xxx(5); #ifdef X #endif +#ifdef FOO + call(6); +#endif foo(6); #ifdef X #endif bar(7); +#ifdef BAR + call(7); +#endif #ifdef X #endif } endpos.res warning: s: metavariable p not used in the - or context code Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_953758.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_953758.ml Compilation OK! Loading ML code of the SP... diff = --- tests/endpos.c +++ /tmp/cocci-output-22122-b52e64-endpos.c @@ -1,4 +1,5 @@ int main () { + main(); if (x) { foo(); return -1; @@ -12,4 +13,9 @@ out: print(); return -1; +} + +int main() +{ + return 0; } enum.res diff = --- tests/enum.c +++ /tmp/cocci-output-22122-cb1d71-enum.c @@ -18,5 +18,5 @@ static reg_errcode_t regex_compile () { - unsigned char *pending_exact = 0; + unsigned char *pending_exact = NULL; } enum_assign.res diff = --- tests/enum_assign.c +++ /tmp/cocci-output-22122-76d476-enum_assign.c @@ -1,6 +1,7 @@ enum h { - a = 0, + q = 0, c, x, - b + b, + z }; enumdots.res diff = --- tests/enumdots.c +++ /tmp/cocci-output-22122-32319b-enumdots.c @@ -1,3 +1,2 @@ enum binder_work_type { - BINDER_WORK_TRANSACTION = 12, } t; exitc.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_3584e3.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_3584e3.ml Compilation OK! Loading ML code of the SP... Failure in rule starting on line 8 diff = --- tests/exitc.c +++ /tmp/cocci-output-22122-821ca9-exitc.c @@ -1,6 +1,6 @@ int main () { - f(a1); - f(a2); - f(done); - f(a4); + g(a1); + g(a2); + g(done); + g(a4); } exitp.res diff = --- tests/exitp.c +++ /tmp/cocci-output-22122-3378d0-exitp.c @@ -1,6 +1,6 @@ int main () { - f(a1); - f(a2); - f(done); - f(a4); + g(a1); + g(a2); + g(done); + g(a4); } exp.res diff = --- tests/exp.c +++ /tmp/cocci-output-22122-641a8b-exp.c @@ -1,14 +1,14 @@ int main(int i) { - int k = foo(); + int k = bar(); if(1) { - foo(); + bar(); } else { - foo(); + bar(); } - foo(); + bar(); } expnest.res diff = --- tests/expnest.c +++ /tmp/cocci-output-22122-07c1c3-expnest.c @@ -2,5 +2,5 @@ x = 3 + 4; x = f() + 15; x = 15 + g(); - x = f() + g(); + x = f() - g(); } expopt.res diff = --- tests/expopt.c +++ /tmp/cocci-output-22122-f30789-expopt.c @@ -1,5 +1,5 @@ int main() { int *x; f(x); - *x = 7; + x = 7; } expopt2.res diff = --- tests/expopt2.c +++ /tmp/cocci-output-22122-8ea3ad-expopt2.c @@ -1,5 +1,5 @@ void main(int i) { - f(v, w.aa); + f(v, g(w.aa)); } expopt3.res diff = --- tests/expopt3.c +++ /tmp/cocci-output-22122-cf2f52-expopt3.c @@ -1,5 +1,5 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { - struct video_tuner v; - pcm20_getflags(pcm20, &v.flags, &v.xxx, &v.signal); + struct video_tuner *v; + pcm20_getflags(pcm20, &v->flags, &v->xxx, &v->signal); } expopt3_ver1.res diff = --- tests/expopt3_ver1.c +++ /tmp/cocci-output-22122-528a3a-expopt3_ver1.c @@ -1,6 +1,6 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { - struct video_tuner v; + struct video_tuner *v; //&v.field; - f(&v.field1, &v.field2, &v.field3, &v.field4); + f(&v->field1, &v->field2, &v->field3, &v->field4); } expopt3_ver2.res diff = --- tests/expopt3_ver2.c +++ /tmp/cocci-output-22122-ac1237-expopt3_ver2.c @@ -1,5 +1,5 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { - struct video_tuner v; - f(v.field1, v.field2); + struct video_tuner *v; + f(v->field1, v->field2); } exprlist_comma.res diff = --- tests/exprlist_comma.c +++ /tmp/cocci-output-22122-e99f66-exprlist_comma.c @@ -1,4 +1,4 @@ int main(void) { - f(3); + f(2, 3); } extra.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_87464e.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_87464e.ml File "/tmp/ocaml_cocci_87464e.ml", line 38, characters 4-6: 38 | let ff = match List.nth __args__ 1 with Coccilib.Str x -> x | _ -> failwith "bad value" in ^^ Warning 26 [unused-var]: unused variable ff. Compilation OK! Loading ML code of the SP... diff = --- tests/extra.c +++ /tmp/cocci-output-22122-04d9be-extra.c @@ -1,12 +1,25 @@ #ifdef FIRST -int main (int a, struct foo *b, struct bar *c) { +int _called_function_0 (int a, struct foo *b, struct bar *c) { a = b->x; return c->d; } + +int main(int a, struct foo *b, struct bar *c) +{ + assert(c != NULL); + assert(b != NULL); + return _called_function_0(a, b, c); +} #else -int main (int a, struct foo *xyz) { +int _called_function_1 (int a, struct foo *xyz) { a = xyz->x; return xyz->d; +} + +int main(int a, struct foo *xyz) +{ + assert(xyz != NULL); + return _called_function_1(a, xyz); } #endif failing_andany.res diff = --- tests/failing_andany.c +++ /tmp/cocci-output-22122-1da1c9-failing_andany.c @@ -1,13 +1,9 @@ static int smc_probe1(struct net_device *dev, void __iomem *ioaddr, unsigned long irq_flags) { - request_irq(irq_flags); - register_netdev(dev); } static int smc_probe2(struct net_device *dev, void __iomem *ioaddr, unsigned long irq_flags) { - request_irq(dev); - register_netdev(dev); } far.res diff = --- tests/far.c +++ /tmp/cocci-output-22122-940e05-far.c @@ -1,7 +1,7 @@ int main(void) { int far = 0; - int x; - x = 10; - return x; + int y; + y = 10; + return y; } fields.res diff = --- tests/fields.c +++ /tmp/cocci-output-22122-120977-fields.c @@ -1,4 +1,7 @@ struct foo x = { + .a = 1, + .b = 2, + .c = 3, .xa = 1, .xb = 2, .xc = 3, fieldsmin.res warning: line 4: should x be a metavariable? diff = --- tests/fieldsmin.c +++ /tmp/cocci-output-22122-70d9de-fieldsmin.c @@ -1,5 +1,3 @@ struct foo x = { - .a = 1, - .b = 2, .c = 3, }; finalize_only.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_d06bb9.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_d06bb9.ml Compilation OK! Loading ML code of the SP... find_long.res diff = --- tests/find_long.c +++ /tmp/cocci-output-22122-12e7f1-find_long.c @@ -3,8 +3,8 @@ long a; int b; - a + b; - b + a; + (long)(a + b); + (long)(b + a); return a; } fix_flow_need.res diff = --- tests/fix_flow_need.c +++ /tmp/cocci-output-22122-b6b6a5-fix_flow_need.c @@ -5,7 +5,6 @@ if(1) { foo(); } - bar(); foobar(); } flex.res diff = --- tests/flex.c +++ /tmp/cocci-output-22122-e2fcd6-flex.c @@ -3,5 +3,5 @@ struct { #define SENSOR_UPDATE_BASE(x) 3 u8 name[SCMI_MAX_STR_SIZE]; - } desc[0]; + } desc[]; }; fn_todo.res diff = --- tests/fn_todo.c +++ /tmp/cocci-output-22122-b5d4a1-fn_todo.c @@ -5,6 +5,6 @@ struct Scsi_Host *shost = sas_ha->core.shost; struct sas_task *task = ascb->uldd_task; - INIT_WORK(&task->abort_work, (void (*)(void *))sas_task_abort, task); + INIT_WORK(&task->abort_work, sas_task_abort); queue_work(shost->work_q, &task->abort_work); } fnptr.res diff = --- tests/fnptr.c +++ /tmp/cocci-output-22122-36352a-fnptr.c @@ -8,5 +8,5 @@ sci_er_interrupt, sci_rx_interrupt, sci_tx_interrupt, sci_br_interrupt, }; - request_irq(port->irqs[0], sci_mpxed_interrupt, SA_INTERRUPT); + request_irq(port->irqs[0], sci_mpxed_interrupt, foo()); } fnret.res warning: line 6: should x be a metavariable? diff = --- tests/fnret.c +++ /tmp/cocci-output-22122-26c4d6-fnret.c @@ -1 +1 @@ -static void foo(int x) { return; } + fnty.res diff = --- tests/fnty.c +++ /tmp/cocci-output-22122-26a8ba-fnty.c @@ -1,4 +1,4 @@ -struct allfns { +struct newname { int (*x) (int); int (*y) (int); }; fntypedef.res diff = --- tests/fntypedef.c +++ /tmp/cocci-output-22122-265ce0-fntypedef.c @@ -1 +1 @@ -typedef void (*toto_t)(int a, int b); +typedef void(*toto_t)(int a, int b, int c); format.res diff = --- tests/format.c +++ /tmp/cocci-output-22122-385294-format.c @@ -1,5 +1,5 @@ int main () { - printf("one %d two\n", 1); - printf("one %d two %d three\n", 1, 2); + printf("blah", 1); + printf("blah", 1, 2); printf("one two three\n"); } format2.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_333bc7.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_333bc7.ml Compilation OK! Loading ML code of the SP... diff = format string is 1x format string is 2x --- tests/format2.c +++ /tmp/cocci-output-22122-a0e96d-format2.c @@ -1,4 +1,3 @@ int main () { foo("blah %x blah"); - foo("blah %1x blah %2x blah"); } formatlist.res diff = --- tests/formatlist.c +++ /tmp/cocci-output-22122-03382c-formatlist.c @@ -1,10 +1,10 @@ int main () { foo("xyz %d abc"); - foo("xyz %d %d abc"); + foo("blah2"); foo("mno %d %d abc"); foo("mno %d abc %d %d abc %d"); - foo("xyz %d abc %d %d abc %d"); - foo("xyz %d abc %d %d abc %d mno"); + foo("blah"); + foo("blah"); foo("xyz %d abc %d %d abc %d %d abc %d"); foo("xyz %d abc %d %d abc"); foo("xyz abc"); fortest.res diff = --- tests/fortest.c +++ /tmp/cocci-output-22122-bc3520-fortest.c @@ -1,18 +1,18 @@ int main() { - for(x=0; x!=10; x++) - y = 12; - for(x=0; x!=10; ) - y = 12; - for(x=0; ; x++) - y = 12; - for(x=0; ; ) - y = 12; - for( ; x!=10; x++) - y = 12; - for( ; x!=10; ) - y = 12; - for( ; ; x++) - y = 12; - for( ; ; ) - y = 12; + bar(); + foo(); + bar(); + foo(); + bar(); + foo(); + bar(); + foo(); + bar(); + foo(); + bar(); + foo(); + bar(); + foo(); + bar(); + foo(); } fortype.res warning: line 4: should x be a metavariable? diff = --- tests/fortype.c +++ /tmp/cocci-output-22122-b8f5b9-fortype.c @@ -1,4 +1,4 @@ int main () { - for (int x = 0; x!=10; x++) - return x; + for (char *p = 0; y!=10; y++) + return y; } four.res diff = --- tests/four.c +++ /tmp/cocci-output-22122-32779c-four.c @@ -1,5 +1,3 @@ int main () { f(1); - h(2); - i(2); } foura.res diff = --- tests/foura.c +++ /tmp/cocci-output-22122-3dfcfe-foura.c @@ -1,5 +1,4 @@ int main () { f(1); h(2); - i(2); } fp.res diff = --- tests/fp.c +++ /tmp/cocci-output-22122-4b81f6-fp.c @@ -1,3 +1,2 @@ int main(int (*x)(int,int)) { - x(); } fresh_id_script.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_c3c491.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_c3c491.ml File "tests/fresh_id_script.cocci", line 11, characters 5-14: Warning 26 [unused-var]: unused variable fresh_ml0. File "tests/fresh_id_script.cocci", line 35, characters 5-14: Warning 26 [unused-var]: unused variable fresh_ml1. File "tests/fresh_id_script.cocci", line 36, characters 5-14: Warning 26 [unused-var]: unused variable fresh_ml2. File "tests/fresh_id_script.cocci", line 38, characters 4-5: Warning 26 [unused-var]: unused variable i. Compilation OK! Loading ML code of the SP... diff = --- tests/fresh_id_script.c +++ /tmp/cocci-output-22122-8eed39-fresh_id_script.c @@ -1,4 +1,5 @@ int main(void) { - foo(7); + foo(fresh1 + fresh72 + fresh73 + fresh1 + fresh72 + fresh73); + foo(fresh1 + fresh72 + fresh73 + fresh1 + fresh72 + fresh73); } fsh.res diff = --- tests/fsh.c +++ /tmp/cocci-output-22122-02f483-fsh.c @@ -1,4 +1,4 @@ int main () { f(c); - g(); + g(foo-c); } fun.res warning: line 5: should x be a metavariable? warning: line 5: should x be a metavariable? diff = --- tests/fun.c +++ /tmp/cocci-output-22122-c74501-fun.c @@ -1 +1,4 @@ +struct a { + int a; +}; int f(int x) { return x; } func.res diff = --- tests/func.c +++ /tmp/cocci-output-22122-ee4482-func.c @@ -1,6 +1,7 @@ static int hidg_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) { - VDBG(cdev, "hid_setup crtl_request : bRequestType:0x%x bRequest:0x%x " - "Value:0x%x\n", ctrl->bRequestType, ctrl->bRequest, value); + VDBG(cdev, + "%s crtl_request : bRequestType:0x%x bRequest:0x%x Value:0x%x\n", + ctrl->bRequestType, ctrl->bRequest, value); } funptr_array.res diff = --- tests/funptr_array.c +++ /tmp/cocci-output-22122-8f510a-funptr_array.c @@ -1 +1 @@ -int (*x[2])(int x); +int (*x[2])(char x); gadget_allocate.res warning: soa_init: inherited metavariable id1 not used in the -, +, or context code warning: soa_free: inherited metavariable id1 not used in the -, +, or context code warning: soa_alloc: inherited metavariable id1 not used in the -, +, or context code diff = --- tests/gadget_allocate.c +++ /tmp/cocci-output-22122-d17a0f-gadget_allocate.c @@ -21,7 +21,97 @@ struct sph_particle_data_soa_t { int*i; double*d; }; struct sph_particle_data_soa_t SphP_soa; -void allocate_memory() { return; } +void soa_init__sph_particle_data_soa_t(struct sph_particle_data_soa_t *P); +void soa_alloc__sph_particle_data_soa_t(struct sph_particle_data_soa_t *P, + size_t N); +void soa_free__sph_particle_data_soa_t(struct sph_particle_data_soa_t *P); +void soa_init__particle_data_soa_t(struct particle_data_soa_t *P); +void soa_alloc__particle_data_soa_t(struct particle_data_soa_t *P, size_t N); +void soa_free__particle_data_soa_t(struct particle_data_soa_t *P); +void soa_abort(const char *s); +void soa_init(void); +void soa_alloc(size_t N); +void soa_free(void); +void allocate_memory() { return; soa_alloc(All.MaxPart); +} + +void soa_abort(const char *s) +{ + // shall print error message here + abort(); // from stdlib.h +} +void soa_init(void) +{ + soa_init__sph_particle_data_soa_t(&SphP_soa); + soa_init__particle_data_soa_t(&P_soa); + soa_init__particle_data_soa_t(&DomainPartBuf_soa); +} +void soa_alloc(size_t N) +{ + assert(N > 0); + soa_alloc__sph_particle_data_soa_t(&SphP_soa, N); + soa_alloc__particle_data_soa_t(&P_soa, N); + soa_alloc__particle_data_soa_t(&DomainPartBuf_soa, N); +} +void soa_free(void) +{ + soa_free__sph_particle_data_soa_t(&SphP_soa); + soa_free__particle_data_soa_t(&P_soa); + soa_free__particle_data_soa_t(&DomainPartBuf_soa); +} + +void soa_init__sph_particle_data_soa_t(struct sph_particle_data_soa_t *P) +{ +#ifdef HAVE__sph_particle_data_soa_t__d //; + P->d = NULL; +#endif +} +void soa_alloc__sph_particle_data_soa_t(struct sph_particle_data_soa_t *P, + size_t N) +{ +#ifdef HAVE__sph_particle_data_soa_t__d //; + P->d = (double *)mymalloc("d", sizeof(*(P->d)) * N); + if (!P->d) + soa_abort(/*"allocating "*/"d"); +#endif + +} +void soa_free__sph_particle_data_soa_t(struct sph_particle_data_soa_t *P) +{ +#ifdef HAVE__sph_particle_data_soa_t__d //; + P->d = NULL; + if (P->d) { + myfree(P->d); + P->d = NULL; + } +#endif +} + +void soa_init__particle_data_soa_t(struct particle_data_soa_t *P) +{ +#ifdef HAVE__particle_data_soa_t__d //; + P->d = NULL; +#endif +} +void soa_alloc__particle_data_soa_t(struct particle_data_soa_t *P, size_t N) +{ +#ifdef HAVE__particle_data_soa_t__d //; + P->d = (double *)mymalloc("d", sizeof(*(P->d)) * N); + if (!P->d) + soa_abort(/*"allocating "*/"d"); +#endif + +} +void soa_free__particle_data_soa_t(struct particle_data_soa_t *P) +{ +#ifdef HAVE__particle_data_soa_t__d //; + P->d = NULL; + if (P->d) { + myfree(P->d); + P->d = NULL; + } +#endif +} int main() { gadget_gather_scatter.res warning: line 230: P, previously declared as a metavariable, is used as an identifier warning: line 230: p, previously declared as a metavariable, is used as an identifier diff = --- tests/gadget_gather_scatter.c +++ /tmp/cocci-output-22122-0c3499-gadget_gather_scatter.c @@ -15,7 +15,79 @@ struct sph_particle_data_soa_t { int*i; double*d; } SphP_soa; extern int maxThreads; +void soa_gather__sph_particle_data_soa_t(struct sph_particle_data *P_aos, + const struct sph_particle_data_soa_t P_soa, + size_t first, size_t N); +void soa_scatter__sph_particle_data_soa_t(struct sph_particle_data_soa_t P_soa, + const struct sph_particle_data *P_aos, + size_t first, size_t N); +void soa_gather__particle_data_soa_t(struct particle_data *P_aos, + const struct particle_data_soa_t P_soa, + size_t first, size_t N); +void soa_scatter__particle_data_soa_t(struct particle_data_soa_t P_soa, + const struct particle_data *P_aos, + size_t first, size_t N); +void soa_gather__sph_particle_data_soa_t(struct sph_particle_data *P_aos, + const struct sph_particle_data_soa_t P_soa, + size_t first, size_t N) +{ + size_t i; + if (P_aos == NULL) + return; //happens. e.g. in runs with gravity only SphP does not exist + for(i = first;i < first + N;++i) { + #ifdef HAVE__sph_particle_data_soa_t__d //; + //P_aos[i].M = P_soa.M[i]; + memcpy(&P_aos[i].d, &P_soa.d[i], sizeof(P_aos[i].d));//Note:temporary, shall be restricted to triplets only +#endif + } +} + +void soa_gather__particle_data_soa_t(struct particle_data *P_aos, + const struct particle_data_soa_t P_soa, + size_t first, size_t N) +{ + size_t i; + if (P_aos == NULL) + return; //happens. e.g. in runs with gravity only SphP does not exist + for(i = first;i < first + N;++i) { + #ifdef HAVE__particle_data_soa_t__d //; + //P_aos[i].M = P_soa.M[i]; + memcpy(&P_aos[i].d, &P_soa.d[i], sizeof(P_aos[i].d));//Note:temporary, shall be restricted to triplets only +#endif + } +} + +void soa_scatter__sph_particle_data_soa_t(struct sph_particle_data_soa_t P_soa, + const struct sph_particle_data *P_aos, + size_t first, size_t N) +{ + size_t i; + if (P_aos == NULL) + return; //happens. e.g. in runs with gravity only SphP does not exist + for(i = first;i < first + N;++i) { + #ifdef HAVE__sph_particle_data_soa_t__d //; + //P_soa.M[i] = P_aos[i].M; + memcpy(&P_soa.d[i], &P_aos[i].d, sizeof(P_aos[i].d));//Note:temporary, shall be restricted to triplets only +#endif + } +} + +void soa_scatter__particle_data_soa_t(struct particle_data_soa_t P_soa, + const struct particle_data *P_aos, + size_t first, size_t N) +{ + size_t i; + if (P_aos == NULL) + return; //happens. e.g. in runs with gravity only SphP does not exist + for(i = first;i < first + N;++i) { + #ifdef HAVE__particle_data_soa_t__d //; + //P_soa.M[i] = P_aos[i].M; + memcpy(&P_soa.d[i], &P_aos[i].d, sizeof(P_aos[i].d));//Note:temporary, shall be restricted to triplets only +#endif + } +} + void allocate_memory() { return; } void force_treefree(){} @@ -27,10 +99,18 @@ // statements: i=0; + soa_gather__sph_particle_data_soa_t(SphP, SphP_soa, 0, N_gas); + soa_gather__particle_data_soa_t(P, P_soa, 0, NumPart); + soa_gather__particle_data_soa_t(DomainPartBuf, DomainPartBuf_soa, 0, + NumPart); force_treefree(); /* */ // end of function + soa_scatter__sph_particle_data_soa_t(SphP_soa, SphP, 0, N_gas); + soa_scatter__particle_data_soa_t(P_soa, P, 0, NumPart); + soa_scatter__particle_data_soa_t(DomainPartBuf_soa, DomainPartBuf, + 0, NumPart); } int main() @@ -72,5 +152,6 @@ struct particle_data *pa; int p =0; pa = &P[p]; + soa_gather__particle_data_soa_t(pa - p, P_soa, p, 1)/* Note: patched temporarily */; return 0; } gadget_invalidate.res diff = --- tests/gadget_invalidate.c +++ /tmp/cocci-output-22122-712ae8-gadget_invalidate.c @@ -2,6 +2,58 @@ struct particle_data { int i; double d; } * P; struct sph_particle_data { int i; double d; } * SphP; +void soa_invalidate_soa__sph_particle_data_soa_t(struct sph_particle_data_soa_t *P_soa, + size_t first, size_t N) +{ + size_t i; + if (P_soa == NULL) + return; //happens. e.g. in runs with gravity only SphP does not exist + for(i = first;i < first + N;++i) { + #ifdef HAVE__sph_particle_data_soa_t__d //; + P_soa->d[i] = NAN; +#endif + } +} + +void soa_invalidate_soa__particle_data_soa_t(struct particle_data_soa_t *P_soa, + size_t first, size_t N) +{ + size_t i; + if (P_soa == NULL) + return; //happens. e.g. in runs with gravity only SphP does not exist + for(i = first;i < first + N;++i) { + #ifdef HAVE__particle_data_soa_t__d //; + P_soa->d[i] = NAN; +#endif + } +} + +void soa_invalidate_aos__sph_particle_data(struct sph_particle_data *P_aos, + size_t first, size_t N) +{ + size_t i; + if (P_aos == NULL) + return; //happens. e.g. in runs with gravity only SphP does not exist + for(i = first;i < first + N;++i) { + #ifdef HAVE__sph_particle_data__d //; + P_aos[i].d = NAN; +#endif + } +} + +void soa_invalidate_aos__particle_data(struct particle_data *P_aos, + size_t first, size_t N) +{ + size_t i; + if (P_aos == NULL) + return; //happens. e.g. in runs with gravity only SphP does not exist + for(i = first;i < first + N;++i) { + #ifdef HAVE__particle_data__d //; + P_aos[i].d = NAN; +#endif + } +} + //extern int maxThreads; void allocate_memory() { } gadget_mark_used_fields.res diff = --- tests/gadget_mark_used_fields.c +++ /tmp/cocci-output-22122-a3caef-gadget_mark_used_fields.c @@ -1,8 +1,8 @@ -struct particle_data { int i; int j; int k; } * P ; +struct particle_data { int i;/* also in SoA now */ int j;/* also in SoA now */ int k; } * P ; struct particle_data_soa_t { int i; int j; } * P_soa ; -struct sph_particle_data { int i; int j; int k; } * SphP ; +struct sph_particle_data { int i;/* also in SoA now */ int j;/* also in SoA now */ int k; } * SphP ; struct sph_particle_data_soa_t { int i; int j; } * SphP_soa ; int main() gadget_misc.res diff = --- tests/gadget_misc.c +++ /tmp/cocci-output-22122-0b1844-gadget_misc.c @@ -2,6 +2,5 @@ { if(0) { - *((int *) (0x0)) = 1; } } gadget_ninelets_typedef.res diff = --- tests/gadget_ninelets_typedef.c +++ /tmp/cocci-output-22122-1423d5-gadget_ninelets_typedef.c @@ -1,21 +1,23 @@ typedef double MyFloat; +typedef double double3x3[3][3]; +typedef MyFloat MyFloat3x3[3][3]; enum cpufields { ENUM_SOMETHING }; // ok for OpenGadget3, IPCC-Gadget struct particle_data { - MyFloat I[3][3]; + MyFloat3x3 I; MyFloat i[3]; - MyFloat J[3][3]; + MyFloat3x3 J; MyFloat j[3]; }; struct sph_particle_data { - double I[3][3]; + double3x3 I; double i[3]; - double J[3][3]; + double3x3 J; double j[3]; }; gadget_patch.res diff = --- tests/gadget_patch.c +++ /tmp/cocci-output-22122-7ddea7-gadget_patch.c @@ -10,5 +10,5 @@ int main () { - P[0].i++; + P_soa.i[0]++; } gadget_remove_mpi_function_calls.res diff = --- tests/gadget_remove_mpi_function_calls.c +++ /tmp/cocci-output-22122-31d16b-gadget_remove_mpi_function_calls.c @@ -2,6 +2,5 @@ int main(int argc, char **argv) { MPI_Comm comm; - MPI_Init(&argc, &argv); comm = MPI_COMM_WORLD; } gadget_remove_used_fields.res diff = --- tests/gadget_remove_used_fields.c +++ /tmp/cocci-output-22122-6dec24-gadget_remove_used_fields.c @@ -1,8 +1,8 @@ -struct particle_data { int i; int j; int k; } * P ; +struct particle_data { int k; } * P ; struct particle_data_soa_t { int i; int j; } * P_soa ; -struct sph_particle_data { int i; int j; int k; } * SphP ; +struct sph_particle_data { int k; } * SphP ; struct sph_particle_data_soa_t { int i; int j; } * SphP_soa ; int main() gadget_sentinel.res warning: line 111: should first be a metavariable? warning: line 142: should first be a metavariable? diff = --- tests/gadget_sentinel.c +++ /tmp/cocci-output-22122-c469dc-gadget_sentinel.c @@ -14,7 +14,86 @@ struct particle_data_soa_t { int*i; double*d; } P_soa; struct sph_particle_data_soa_t { int*i; double*d; } SphP_soa; -void allocate_memory() { return; } +long double soa_checksum__sph_particle_data_soa_t(const struct sph_particle_data_soa_t *P_soa, + size_t first, size_t N) +{ + size_t i; + long double cksumval = 0; + if (P_soa == NULL) + return cksumval; //happens. e.g. in runs with gravity only SphP does not exist + for(i = first;i < first + N;++i) { + #ifdef HAVE__sph_particle_data_soa_t__d //; + cksumval += P_soa->d[i]; +#endif + } + return cksumval; +} + +long double soa_checksum__particle_data_soa_t(const struct particle_data_soa_t *P_soa, + size_t first, size_t N) +{ + size_t i; + long double cksumval = 0; + if (P_soa == NULL) + return cksumval; //happens. e.g. in runs with gravity only SphP does not exist + for(i = first;i < first + N;++i) { + #ifdef HAVE__particle_data_soa_t__d //; + cksumval += P_soa->d[i]; +#endif + } + return cksumval; +} + +long double aos_checksum__sph_particle_data(const struct sph_particle_data *P_aos, + size_t first, size_t N) +{ + size_t i; + long double cksumval = 0; + if (P_aos == NULL) + return cksumval; //happens. e.g. in runs with gravity only SphP does not exist + for(i = first;i < first + N;++i) { + #ifdef HAVE__sph_particle_data_soa_t__d //; + cksumval += P_aos[i].d; +#endif + } + return cksumval; +} + +long double aos_checksum__particle_data(const struct particle_data *P_aos, + size_t first, size_t N) +{ + size_t i; + long double cksumval = 0; + if (P_aos == NULL) + return cksumval; //happens. e.g. in runs with gravity only SphP does not exist + for(i = first;i < first + N;++i) { + #ifdef HAVE__particle_data_soa_t__d //; + cksumval += P_aos[i].d; +#endif + } + return cksumval; +} + +void allocate_memory() { { + char *gds = getenv("GADGET_DEBUG"); + if (gds) { + if (strchr(gds, '?')) + printf("p for AoS P\n"), printf("P for SoA P\n"), printf("s for AoS SphP\n"), printf("S for Soa SphP\n"); + if ((!*gds) || strchr(gds, 'S')) + printf("in %s(): S: %llg\n", __FUNCTION__, + soa_checksum__sph_particle_data_soa_t(&SphP_soa, 0, N_gas)); + if ((!*gds) || strchr(gds, 'P')) + printf("in %s(): P: %llg\n", __FUNCTION__, + soa_checksum__particle_data_soa_t(&P_soa, 0, NumPart)); + if ((!*gds) || strchr(gds, 's')) + printf("in %s(): s: %llg\n", __FUNCTION__, + aos_checksum__sph_particle_data(SphP, 0, N_gas)); + if ((!*gds) || strchr(gds, 'p')) + printf("in %s(): p: %llg\n", __FUNCTION__, + aos_checksum__particle_data(P, 0, NumPart)); + } + } + return; } int main() { gadget_soa_defs.res warning: del_non_ptr: metavariable T not used in the - or context code diff = --- tests/gadget_soa_defs.c +++ /tmp/cocci-output-22122-cb9f10-gadget_soa_defs.c @@ -11,6 +11,12 @@ MyDoublePos Pos3[3]; MyDoublePos Pos; } *P; +struct particle_data_soa_t { + double *Entropy; + MyLongDouble3 *mld3; + MyDoublePos *Pos; +}; +extern struct particle_data_soa_t P_soa; extern int maxThreads; // OpenGadget3, IPCC int main() gadget_soa_select.res diff = --- tests/gadget_soa_select.c +++ /tmp/cocci-output-22122-0d1d7b-gadget_soa_select.c @@ -1,5 +1,5 @@ struct sph_particle_data_soa_t { - int *Entropy; + int *Entropy;/* See coccinelle/gadget_soa_select.cocci on how to select SoA fields on a name basis */ }; int main() { gadget_sorting_hook.res diff = --- tests/gadget_sorting_hook.c +++ /tmp/cocci-output-22122-cd4636-gadget_sorting_hook.c @@ -21,7 +21,16 @@ any_sort_func(P); + /* FIXME: this is a transitory gather-sort-scatter hook solution */ + soa_gather__sph_particle_data_soa_t(SphP, SphP_soa, 0, N_gas); + soa_gather__particle_data_soa_t(P, P_soa, 0, NumPart); + soa_invalidate_soa__sph_particle_data_soa_t(&SphP_soa, 0, N_gas); + soa_invalidate_soa__particle_data_soa_t(&P_soa, 0, NumPart); rearrange_particle_sequence(); + soa_scatter__particle_data_soa_t(P_soa, P, 0, NumPart); + soa_scatter__sph_particle_data_soa_t(SphP_soa, SphP, 0, N_gas); + soa_invalidate_aos__sph_particle_data(SphP, 0, N_gas); + soa_invalidate_aos__particle_data(P, 0, NumPart); return 0; } gadget_triplets_typedef.res diff = --- tests/gadget_triplets_typedef.c +++ /tmp/cocci-output-22122-386206-gadget_triplets_typedef.c @@ -3,6 +3,8 @@ typedef long double MyLongDouble; typedef long double MyDoublePos; +typedef MyLongDouble MyLongDouble3[3]; +typedef MyFloat MyFloat3[3]; enum cpufields { ENUM_SOMETHING }; // ok for OpenGadget3, IPCC-Gadget @@ -11,11 +13,11 @@ //MyFloat I[3][3]; //MyFloat I[3][3]; //MyFloat i[3]; - MyFloat j[3]; + MyFloat3 j; //MyFloat J[3][3]; //MyFloat i[3]; //MyDoublePos K[3][3]; - MyLongDouble d[3]; + MyLongDouble3 d; MyDoublePos k[3]; }; gadget_triplets_typedef_ipcc.res diff = --- tests/gadget_triplets_typedef_ipcc.c +++ /tmp/cocci-output-22122-93cb75-gadget_triplets_typedef_ipcc.c @@ -3,6 +3,7 @@ typedef long double MyLongDouble; typedef long double MyDoublePos; +typedef MyDoublePos MyDoublePos3[3]; enum cpufields { ENUM_SOMETHING }; // ok for OpenGadget3, IPCC-Gadget @@ -16,7 +17,7 @@ //MyFloat i[3]; //MyDoublePos K[3][3]; MyLongDouble d[3]; - MyDoublePos k[3]; + MyDoublePos3 k; }; struct sph_particle_data { gcc_attr_with_func.res diff = --- tests/gcc_attr_with_func.c +++ /tmp/cocci-output-22122-13ebb1-gcc_attr_with_func.c @@ -1,8 +1,8 @@ -int __attribute__((always_inline)) func (int a); +int __attribute__((always_inline)) func (); -int func(int a); +int func(long a); -int __attribute__((always_inline)) func (int a) { +int __attribute__((always_inline)) func () { return 42; } @@ -10,10 +10,10 @@ return 42; } -int __attribute__((always_inline)) *func (int a) { +int __attribute__((always_inline)) *func (long a) { return 42; } -int func (int a) __attribute__((attr)) { +int func (long a) __attribute__((attr)) { return 42; } gcc_attr_with_var.res diff = --- tests/gcc_attr_with_var.c +++ /tmp/cocci-output-22122-863c65-gcc_attr_with_var.c @@ -1,39 +1,43 @@ -int var1_end __attribute__((myattr1_end)); +int var1_end __attribute__((section(".shared"))); -int __attribute__((myattr1_mid)) var1_mid; +int __attribute__((section(".shared"))) var1_mid; -int var2_end __attribute__((myattr2_end)); +int var2_end __attribute__((section(".shared"))); -int __attribute__((myattr2_mid)) var2_mid; +int __attribute__((section(".shared"))) var2_mid; -int var3_end __attribute__((myattr3_end)); +__attribute__((section(".shared"))) +int var3_end; -int __attribute__((myattr3_mid)) var3_mid; +__attribute__((section(".shared"))) +int var3_mid; -int var4_end __attribute__((myattr4_end)); +int var4_end; -int __attribute__((myattr4_mid)) var4_mid; +int var4_mid; -int var5_end __attribute__((myattr5_end)); +int __attribute__((section(".shared"))) var5_end; -int __attribute__((myattr5_mid)) var5_mid; +int var5_mid __attribute__((section(".shared"))); -char array1_end[2] __attribute__((myattr1_end)); +char array1_end[2] __attribute__((section(".shared"))); -char __attribute__((myattr1_mid)) array1_mid[2]; +char __attribute__((section(".shared"))) array1_mid[2]; -char array2_end[2] __attribute__((myattr2_end)); +char array2_end[2] __attribute__((section(".shared"))); -char __attribute__((myattr2_mid)) array2_mid[2]; +char __attribute__((section(".shared"))) array2_mid[2]; -char array3_end[2] __attribute__((myattr3_end)); +__attribute__((section(".shared"))) +char array3_end[2]; -char __attribute__((myattr3_mid)) array3_mid[2]; +__attribute__((section(".shared"))) +char array3_mid[2]; -char array4_end[2] __attribute__((myattr4_end)); +char array4_end[2]; -char __attribute__((myattr4_mid)) array4_mid[2]; +char array4_mid[2]; -char array5_end[2] __attribute__((myattr5_end)); +char __attribute__((section(".shared"))) array5_end[2]; -char __attribute__((myattr5_mid)) array5_mid[2]; +char array5_mid[2] __attribute__((section(".shared"))); gcc_min_max.res diff = --- tests/gcc_min_max.c +++ /tmp/cocci-output-22122-d1113b-gcc_min_max.c @@ -1,8 +1,8 @@ int main() { int a, b; - a ? b; - a >?= b; + min(a, b); + a = min(a, b); + max(a, b); + a = max(a, b); } getc.res diff = --- tests/getc.c +++ /tmp/cocci-output-22122-fff6be-getc.c @@ -1,4 +1,4 @@ int IFoo_QueryInterface(int *iface, long *riid, void **ppv) { - return IBar_QueryInterface(iface, riid, *ppv); + return 12; } gilles-question.res diff = --- tests/gilles-question.c +++ /tmp/cocci-output-22122-5edc30-gilles-question.c @@ -2,8 +2,6 @@ f(0); if(1) { - g(0); } - g(0); } gotobreak.res diff = --- tests/gotobreak.c +++ /tmp/cocci-output-22122-45fa8a-gotobreak.c @@ -11,5 +11,5 @@ CS_CHECK(GetNextTuple, pcmcia_get_next_tuple(link, &tuple)); } - return; + return 0; } hd.res warning: line 4: should x be a metavariable? warning: line 4: should y be a metavariable? diff = --- tests/hd.c +++ /tmp/cocci-output-22122-7cdd07-hd.c @@ -1,3 +1,3 @@ #include "hd.h" -int f(int x, int y) { return x; } +int f(int x) { return x; } headers.res diff = --- tests/headers.c +++ /tmp/cocci-output-22122-eef44d-headers.c @@ -10,12 +10,12 @@ } -static void empeg_write_bulk_callback (struct urb *urb, struct pt_regs *regs) +static void empeg_write_bulk_callback(struct urb *urb) { } -static void empeg_read_bulk_callback (struct urb *urb, struct pt_regs *regs) +static void empeg_read_bulk_callback(struct urb *urb) { usb_fill_bulk_urb(empeg_read_bulk_callback); hex.res diff = --- tests/hex.c +++ /tmp/cocci-output-22122-f8a451-hex.c @@ -1,3 +1,2 @@ int main() { - f(0x00); } hil1.res diff = --- tests/hil1.c +++ /tmp/cocci-output-22122-6aeaf2-hil1.c @@ -2,5 +2,5 @@ { HILSE_FUNC, { func: &funct }, funct_arg, zero_rc }, int main () { - return 12; + return 5; } icomma.res File "", line 5 print p ^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)? exn while in timeout_function idcon_ocaml.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_6428a2.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_6428a2.ml Compilation OK! Loading ML code of the SP... diff = --- tests/idcon_ocaml.c +++ /tmp/cocci-output-22122-18a430-idcon_ocaml.c @@ -1,5 +1,5 @@ void f(void) { - g(a); + g(18); g(b); - g(c); + g(18); } idcon_python.res diff = --- tests/idcon_python.c +++ /tmp/cocci-output-22122-e20542-idcon_python.c @@ -1,5 +1,5 @@ void f(void) { - g(a); + g(18); g(b); - g(c); + g(18); } idstr.res diff = --- tests/idstr.c +++ /tmp/cocci-output-22122-c0a5e6-idstr.c @@ -1,3 +1,3 @@ int main () { - printf("arena 0x%08x, numfree = %d\n", (unsigned)dt, dt->numfree); + printf("y", (unsigned)dt, dt->numfree); } if.res diff = --- tests/if.c +++ /tmp/cocci-output-22122-8096c7-if.c @@ -1,27 +1,37 @@ int main () { + before(); f(x); + after(); + before(); g(x); + after(); } int main1 () { + before(); f(x); if (x == NULL) { + before(); g(x); } } int main1 () { + before(); f(x); while (x == NULL) { if (q == 3) { + before(); g(x); } } x = 6; } int main2 () { + before(); f(x); if (x == NULL || y == 2) { + before(); g(x); } } ifadd.res diff = --- tests/ifadd.c +++ /tmp/cocci-output-22122-16f0d1-ifadd.c @@ -3,6 +3,7 @@ if (x) { one(); two(); + foo(); } } } ifbr.res warning: line 13: should ret be a metavariable? warning: rule starting on line 1: metavariable E not used in the - or context code ifd.res diff = --- tests/ifd.c +++ /tmp/cocci-output-22122-aced59-ifd.c @@ -1,9 +1,13 @@ int main () { one(); +#ifdef 0 +#ifdef 10 foo(); one(); one(); bar(); +#endif +#endif one(); } ifdef1.res diff = --- tests/ifdef1.c +++ /tmp/cocci-output-22122-d509c4-ifdef1.c @@ -1,5 +1,8 @@ #include #include +#ifdef CONFIG_NKERNEL +#include +#endif #include #include ifdef2.res diff = --- tests/ifdef2.c +++ /tmp/cocci-output-22122-ad1544-ifdef2.c @@ -1,6 +1,11 @@ #include #include #include +#ifdef CONFIG_NKERNEL +#include +#include +unsigned long maxsize = 0; +#endif #include ifdef3.res diff = --- tests/ifdef3.c +++ /tmp/cocci-output-22122-75e860-ifdef3.c @@ -2,6 +2,15 @@ #include #include #include +#ifdef CONFIG_NKERNEL +#include +#define CONFIG_NKERNEL_NO_SHARED_IRQ // use local (native) mask/unmask +#undef CONFIG_NKERNEL_DEBUG_IRQ +#endif +static inline void nop(void) +{ + int i; +} void init_IRQ(void) ifdef4.res warning: line 9: should desc be a metavariable? warning: line 9: should irq_desc be a metavariable? diff = --- tests/ifdef4.c +++ /tmp/cocci-output-22122-728b9c-ifdef4.c @@ -7,7 +7,10 @@ void init_IRQ(void) { for (irq = 0; irq < IRQS; irq++) { - *desc = irq_desc; +#ifdef CONFIG_NKERNEL + if (irq < IRQ_LIMIT) +#endif + *desc = irq_desc; uselessCall(); } } ifdef5.res diff = --- tests/ifdef5.c +++ /tmp/cocci-output-22122-2852a5-ifdef5.c @@ -11,3 +11,11 @@ uselessCall(); } } +#ifdef CONFIG_NKERNEL +#ifndef TIMER_32K_SYNCHRONIZED +#define TIMER_32K_SYNCHRONIZED 0xffffffff +#endif +unsigned long nk_vtick_read_stamp(void) +{ + return omap_readl(TIMER_32K_SYNCHRONIZED); +} ifdef6.res diff = --- tests/ifdef6.c +++ /tmp/cocci-output-22122-a2478b-ifdef6.c @@ -1,5 +1,8 @@ #include #include +#ifdef CONFIG_NKERNEL +#define foo(x) f(x) +#endif #include #include ifdef6a.res diff = --- tests/ifdef6a.c +++ /tmp/cocci-output-22122-47568d-ifdef6a.c @@ -1,4 +1,7 @@ #include +#ifdef CONFIG_NKERNEL +#define foo(x) f(x) +#endif #include #include #include ifdefmeta.res diff = --- tests/ifdefmeta.c +++ /tmp/cocci-output-22122-75c8a0-ifdefmeta.c @@ -1,26 +1,30 @@ int main() { - buf = alloca(3 - #ifdef PLATFORM_A -// platform a stuff - +5 - +50 - #endif - #ifdef PLATFORM_B -/* platform b stuff */ - +2 - #endif - ); - buf = alloca(3 - #ifdef PLATFORM_A -// platform a stuff - +5 - +50 - #endif - #ifdef PLATFORM_B -/* platform b stuff */ - +2 - #endif - ); + buf = malloc(3 + +#ifdef PLATFORM_A + + 5 + 50 + +#endif + + +#ifdef PLATFORM_B + + 2 + +#endif +); + buf = malloc(3 + +#ifdef PLATFORM_A + + 5 + 50 + +#endif + + +#ifdef PLATFORM_B + + 2 + +#endif +); } int other() { @@ -41,9 +45,6 @@ } int third() { - buf = alloca(3+5+2); - buf = alloca(3 - +5 - +2 - ); + buf = malloc(3 + 5 + 2); + buf = malloc(3 + 5 + 2); } ifdefmeta1.res diff = --- tests/ifdefmeta1.c +++ /tmp/cocci-output-22122-4c38bf-ifdefmeta1.c @@ -1,17 +1,2 @@ int main() { - buf = alloca(3 - #ifdef PLATFORM_A -// platform a stuff - - - +5 - - - - #endif - #ifdef PLATFORM_B -/* platform b stuff */ - +2 - #endif - ); } ifdefmeta2.res diff = --- tests/ifdefmeta2.c +++ /tmp/cocci-output-22122-d3981e-ifdefmeta2.c @@ -1,12 +1,2 @@ int main() { - buf = alloca(3 - - - +5 - - - - - +2 - ); } ifdefmeta3.res diff = --- tests/ifdefmeta3.c +++ /tmp/cocci-output-22122-9f6ee8-ifdefmeta3.c @@ -1,11 +1,5 @@ int main () { f(); - if (foo) { - one(); -#ifdef ONE - two(); -#endif - three(); - } + xxx(); g(); } ifend.res diff = --- tests/ifend.c +++ /tmp/cocci-output-22122-0086a7-ifend.c @@ -3,5 +3,3 @@ #else static int vortex_debug = 1; #endif - -#include ifgoto.res diff = --- tests/ifgoto.c +++ /tmp/cocci-output-22122-df72ef-ifgoto.c @@ -1,5 +1,7 @@ int main () { - if (x) - GOTO(l,a = 3); + if (x) { + a = 3; + goto l; + } l: return; } ifields.res diff = --- tests/ifields.c +++ /tmp/cocci-output-22122-8d4e98-ifields.c @@ -1,14 +1,16 @@ typedef struct tag_obj { int x; int y; - const IFaceVtbl *lpVtbl; + IFace IFace_iface; int a; } Tobj; static struct IFaceImpl obj = { 1, 2, - &x, + { + &x, 4, + }, 3 }; ifif.res diff = --- tests/ifif.c +++ /tmp/cocci-output-22122-1c329a-ifif.c @@ -1,5 +1,13 @@ int main () { +#ifdef FOO1 +#ifdef FOO2 foo(); +#endif /* FOO1 */ +#endif /* FOO2 */ xxx(); +#ifdef BAR1 +#ifdef BAR2 bar(); +#endif /* BAR1 */ +#endif /* BAR2 */ } ifreturn.res diff = --- tests/ifreturn.c +++ /tmp/cocci-output-22122-74e023-ifreturn.c @@ -1,31 +1,46 @@ int main () { if (x) { - return 1; + blah(); + { + return 1; + } } return 12; } int main () { if (a) { - if (x) { - return 1; + blah(); + { + if (x) { + blah(); + { + return 1; + } + } + b(); } - b(); } return 12; } int main () { if (a) { - if (b) { - if (x) { - return 1; + blah(); + { + if (b) { + blah(); + { + if (x) { + return 1; + } + else { + return 1; + } + } } - else { - return 1; - } + b(); } - b(); } return 12; } ifreturn3.res diff = --- tests/ifreturn3.c +++ /tmp/cocci-output-22122-d6b459-ifreturn3.c @@ -3,7 +3,10 @@ if(iFlag_Code==OK) { return OK; } else // blah + { + mwtrace(); return WARNING; + } return 0; } @@ -11,7 +14,9 @@ { if(iFlag_Code==OK) { return OK; - } else + } else { + mwtrace(); return WARNING; + } return 0; } ifreturn4.res diff = --- tests/ifreturn4.c +++ /tmp/cocci-output-22122-40f6e1-ifreturn4.c @@ -2,10 +2,16 @@ { if(iFlag_Code==OK) { return OK; - } else if(iFlag_Code==WARNING) { - return WARNING; } else { - return_ERREUR; + mwtrace(); + if(iFlag_Code==WARNING) { + return WARNING; + } else { + mwtrace(); + { + return_ERREUR; + } + } } return 0; } ifreturn6.res diff = --- tests/ifreturn6.c +++ /tmp/cocci-output-22122-844cd7-ifreturn6.c @@ -3,7 +3,8 @@ blah(); goto end; } - else goto end2; + else blah(); + later(); end: xxx(); end2: ifzer.res diff = --- tests/ifzer.c +++ /tmp/cocci-output-22122-07fc86-ifzer.c @@ -3,6 +3,5 @@ and have lived on another thread's stack; that stack may have become unmapped meanwhile (CONFIG_DEBUG_PAGEALLOC). */ #endif - foo(); } ifzz.res diff = --- tests/ifzz.c +++ /tmp/cocci-output-22122-72dc14-ifzz.c @@ -2,9 +2,9 @@ char c; #endif -int foo(void) +size_t foo(void) { - int i = 1; + size_t i = 1; #if 0 TRACE("\n"); inc.res diff = --- tests/inc.c +++ /tmp/cocci-output-22122-fc2900-inc.c @@ -1,2 +1 @@ -#define foo 3 -#define xxx 4 +#define foobar 3 incdir.res incl.res diff = --- tests/incl.c +++ /tmp/cocci-output-22122-8dddd2-incl.c @@ -1,6 +1,8 @@ +#include "before.h" #include #include #include +#include "after.h" #ifdef FOO #include #endif FOO incl2.res diff = --- tests/incl2.c +++ /tmp/cocci-output-22122-130343-incl2.c @@ -1,3 +1,4 @@ +#include "beginning.h" #include #include #include "linux/foo.h" inclifdef.res diff = --- tests/inclifdef.c +++ /tmp/cocci-output-22122-e1a5f6-inclifdef.c @@ -1,4 +1,5 @@ #include +#include #ifdef CONFIG #include #endif include.res diff = --- tests/include.c +++ /tmp/cocci-output-22122-d92735-include.c @@ -1,8 +1,6 @@ #include #include -#include -#include void main(int i) { incompatible_value.res diff = --- tests/incompatible_value.c +++ /tmp/cocci-output-22122-2ef404-incompatible_value.c @@ -4,6 +4,6 @@ } int main() { - g(1); - g(2); + h(1); + h(2); } incpos.res diff = --- tests/incpos.c +++ /tmp/cocci-output-22122-e1d76d-incpos.c @@ -1,3 +1,4 @@ +#include #include #include "two" #include keeping first hdr 1 dropping first hdr dropping first hdr dropping second hdr dropping second hdr incpos1.res diff = --- tests/incpos1.c +++ /tmp/cocci-output-22122-b2b7ed-incpos1.c @@ -1,3 +1,4 @@ +#include #include "two" #include #include "four" keeping first hdr 2 dropping first hdr keeping second hdr 1 because of 2 dropping second hdr inherited.res diff = --- tests/inherited.c +++ /tmp/cocci-output-22122-efdeb9-inherited.c @@ -6,5 +6,5 @@ h(2); h2(2); - foo(1); + bar(1); } inherited_ver1.res diff = --- tests/inherited_ver1.c +++ /tmp/cocci-output-22122-b6bf95-inherited_ver1.c @@ -3,8 +3,8 @@ //g(1); f(2); - h(2); - h2(2); + hh(2); + hh22(2); - foo(1); + bar(1); } inhmet.res diff = --- tests/inhmet.c +++ /tmp/cocci-output-22122-d08583-inhmet.c @@ -1,3 +1,3 @@ int main () { - x->s = 12; + foo(); } inhpos.res diff = --- tests/inhpos.c +++ /tmp/cocci-output-22122-db9494-inhpos.c @@ -1,3 +1,2 @@ int main () { - g(3); } initializer.res warning: line 5: should var be a metavariable? diff = --- tests/initializer.c +++ /tmp/cocci-output-22122-124b09-initializer.c @@ -1,5 +1,6 @@ struct SHT var = { .f1 = toto1, - .f2 = toto2, + .foo = 12, + .foo2 = 12, .f3 = toto3, }; initializer_many_fields.res warning: line 4: should x be a metavariable? inline.res diff = --- tests/inline.c +++ /tmp/cocci-output-22122-a53a60-inline.c @@ -1 +1 @@ -inline void foo(int x) { return; } + insdef.res diff = --- tests/insdef.c +++ /tmp/cocci-output-22122-9d7432-insdef.c @@ -1 +1,2 @@ #define TABINFOGEN +#include int2bool-local.res diff = --- tests/int2bool-local.c +++ /tmp/cocci-output-22122-3ccdbe-int2bool-local.c @@ -1,8 +1,9 @@ int nxnypz1(){ - int x, y, z; + bool z; + int x, y; x = 1; y = 0; - z = 0; + z = false; if (x) return x; @@ -31,8 +32,9 @@ } int px4() { - int x; - x = 0; + bool x; + + x = false; return 4; } @@ -49,11 +51,13 @@ } int pxpy6() { - int x; - int y; + bool x; + + bool y; + - x = 0; - y = 1; + x = false; + y = true; x = x && y; introbrace.res diff = --- tests/introbrace.c +++ /tmp/cocci-output-22122-01cfdf-introbrace.c @@ -1,8 +1,12 @@ int main() { - if (x) + if (x) { rc = request_threaded_irq(a, b); - else + rc = compat_request_threaded_irq(12); + } + else { rc = request_threaded_irq(a, b); + rc = compat_request_threaded_irq(12); + } } invert.res diff = --- tests/invert.c +++ /tmp/cocci-output-22122-f9bcdb-invert.c @@ -1,3 +1,3 @@ int main () { - x = y + z; + x = z + y; } ip.res diff = --- tests/ip.c +++ /tmp/cocci-output-22122-bbd1a9-ip.c @@ -2,10 +2,18 @@ { if(sNoFo == 1) printf("one"); - else if(sNoFo == 2) - printf("two"); - else if(sNoFo == 2) - printf("three"); - else - printf("other"); + else { + trace("ifelel"); + if(sNoFo == 2) + printf("two"); + else { + trace("ifelel"); + if(sNoFo == 2) + printf("three"); + else { + trace("ifelel"); + printf("other"); + } + } + } } ip2.res diff = --- tests/ip2.c +++ /tmp/cocci-output-22122-65725f-ip2.c @@ -1,11 +1,17 @@ void GetInfoDestTV(short sNoFo) { - if(sNoFo == 1) + if(sNoFo == 1) { + trace("ifelel"); printf("one"); - else if(sNoFo == 2) + } + else if(sNoFo == 2) { + trace("ifelel"); printf("two"); - else if(sNoFo == 2) + } + else if(sNoFo == 2) { + trace("ifelel"); printf("three"); + } else printf("other"); } isococci.res diff = --- tests/isococci.c +++ /tmp/cocci-output-22122-ce4245-isococci.c @@ -1,6 +1,4 @@ void f(int i) { - if(x > 0) return x; - } isoif.res warning: r: metavariable p1 not used in the - or context code warning: r: metavariable E not used in the - or context code diff = --- tests/isoif.c +++ /tmp/cocci-output-22122-9b7492-isoif.c @@ -1,4 +1,2 @@ int main () { - if (x == NULL) one(); else two(); - if (x != NULL) three(); else four(); } isotest.res diff = --- tests/isotest.c +++ /tmp/cocci-output-22122-bf6792-isotest.c @@ -1,7 +1,6 @@ void main(int i) { - char j; - int i; // = 1; + char j;// = 1; j++; isotest2.res diff = --- tests/isotest2.c +++ /tmp/cocci-output-22122-1084a7-isotest2.c @@ -1,7 +1,6 @@ void main(int i) { char j; - int i = 1; j++; iteration.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_d4ebc7.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_d4ebc7.ml Compilation OK! Loading ML code of the SP... 1 pending new file instances 0 pending original file instances iteration_after_merge.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_f4eee9.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_f4eee9.ml Compilation OK! Loading ML code of the SP... 2 pending new file instances 0 pending original file instances 1 pending new file instances 0 pending original file instances warning: line 46: f, previously declared as a metavariable, is used as an identifier iterator.res diff = --- tests/iterator.c +++ /tmp/cocci-output-22122-bf9315-iterator.c @@ -2,9 +2,5 @@ { struct list_head *l; - list_for_each(l, &pci_root_buses) { - struct pci_bus *bus = pci_bus_b(l); - - pcibios_bus_report_status(bus, status_mask, warn); - } + foo(); } iterprint.res diff = --- tests/iterprint.c +++ /tmp/cocci-output-22122-49307a-iterprint.c @@ -1,6 +1,4 @@ int main () { - for(bit = 0; bit < size; bit++) { - if (test_bit(bit, bitmap)) - x = 12; - } + for_each_set_bit(bit, bitmap, size) + x = 12; } jloop1.res exn while in timeout_function julia10.res diff = --- tests/julia10.c +++ /tmp/cocci-output-22122-ea6aec-julia10.c @@ -1,7 +1,5 @@ int main(int x) { f(); - h(); g(); - h(); } julia7.res diff = --- tests/julia7.c +++ /tmp/cocci-output-22122-b7c47e-julia7.c @@ -1,7 +1,6 @@ int main(int x) { foo(); - if (x) {bar(); after(); return 0;} - bar(); + if (x) {after(); return 0;} after(); } justremove.res diff = --- tests/justremove.c +++ /tmp/cocci-output-22122-7cef55-justremove.c @@ -1,17 +1,6 @@ int main () { - if (x) { - a(); - b(); - c(); - } foo(); - while (x) { - a(); - if (b()) continues; - c(); - } foo(); - r(); foo(); } keep_comma.res diff = --- tests/keep_comma.c +++ /tmp/cocci-output-22122-ec00bf-keep_comma.c @@ -1,4 +1,4 @@ int main () { - foo(); + xxx(); snd_assert(!atomic_read(&substream->runtime->mmap_count), ); } km.res diff = --- tests/km.c +++ /tmp/cocci-output-22122-47bb73-km.c @@ -1,5 +1,4 @@ int main() { - int *data = kmalloc(element->string.length + 1, GFP_KERNEL); + int *data = kzalloc(element->string.length + 1, GFP_KERNEL); foo(); - memset(data, 0, element->string.length + 1); } kmalloc.res diff = --- tests/kmalloc.c +++ /tmp/cocci-output-22122-652f16-kmalloc.c @@ -1,9 +1,7 @@ int main() { struct bar *y; - struct foo *x = kmalloc(sizeof(struct foo),GPF_KERNEL); + struct foo *x = kzalloc(sizeof(struct foo), GPF_KERNEL); if (!x) return -ENOMEM; - y = kmalloc(sizeof(struct bar),GPF_KERNEL); + y = kzalloc(sizeof(struct bar), GPF_KERNEL); if (!y) return -ENOMEM; - memset(x,0,sizeof(struct foo)); - memset(y,0,sizeof(struct bar)); } kmc.res warning: r: metavariable x1 not used in the - or context code warning: r: metavariable S not used in the - or context code diff = --- tests/kmc.c +++ /tmp/cocci-output-22122-567389-kmc.c @@ -10,5 +10,4 @@ err_destroy: kfreea(device_info); - return 1; } kmtest4.res diff = --- tests/kmtest4.c +++ /tmp/cocci-output-22122-78aa37-kmtest4.c @@ -1,4 +1,4 @@ int main () { x = kzalloc(3); - x->y = 12; + x->q = 12; } kr.res diff = --- tests/kr.c +++ /tmp/cocci-output-22122-6f044f-kr.c @@ -3,5 +3,4 @@ { y = (j) r; - foo(); } ktype.res warning: rule starting on line 1: metavariable T2 not used in the - or context code warning: rule starting on line 1: metavariable T not used in the - or context code diff = --- tests/ktype.c +++ /tmp/cocci-output-22122-204fd4-ktype.c @@ -3,8 +3,6 @@ static int run(mddev_t *mddev) { conf_t *conf; - conf = kmalloc(sizeof(conf_t), GFP_KERNEL); + conf = kzalloc(sizeof(conf_t), GFP_KERNEL); if (!conf) return; - - memset(conf, 0, sizeof(*conf)); } ktype2.res warning: r: metavariable T2 not used in the - or context code warning: r: metavariable T not used in the - or context code diff = --- tests/ktype2.c +++ /tmp/cocci-output-22122-08c453-ktype2.c @@ -3,11 +3,8 @@ static int run(mddev_t *mddev) { conf_t *conf; - conf = kmalloc(sizeof(conf_t), GFP_KERNEL); + conf = kzalloc(sizeof(conf_t), GFP_KERNEL); if (!conf) { - memset(conf, 0, sizeof(*conf)); return; } - - memset(conf, 0, sizeof(*conf)); } labels_metastatement.res diff = --- tests/labels_metastatement.c +++ /tmp/cocci-output-22122-bd0424-labels_metastatement.c @@ -1,9 +1,15 @@ int foo(int i) { if(1) { - x = 3; - z = 4; - } // we don't want that it add both foo on the } and on the endif + { + x = 3; + foo(); + z = 4; + foo(); + } + foo(); + } + foo(); // we don't want that it add both foo on the } and on the endif // (note: but need correct endif accrochage) } labels_metastatement_ver1.res diff = --- tests/labels_metastatement_ver1.c +++ /tmp/cocci-output-22122-d573a3-labels_metastatement_ver1.c @@ -1,5 +1,9 @@ int foo(int i) { - if(1) x = 3; + if(1) { + x = 3; + foo(); + } + foo(); } lid.res diff = --- tests/lid.c +++ /tmp/cocci-output-22122-d89d1f-lid.c @@ -1,6 +1,6 @@ int main () { int a; static int b; - f(a); + f(12); f(b); } line_before_last.res diff = --- tests/line_before_last.c +++ /tmp/cocci-output-22122-438d26-line_before_last.c @@ -1,17 +1,13 @@ int main () { - foo(); xxx(); } int main () { xxx(); - foo(); } int main () { xxx(); - - foo(); } lineseq.res diff = --- tests/lineseq.c +++ /tmp/cocci-output-22122-ad5bca-lineseq.c @@ -1,6 +1,4 @@ int main () { - one(); - two(); - one(); - two(); + three(); + three(); } list_test.res warning: line 5: should a be a metavariable? warning: line 12: should a be a metavariable? warning: line 13: should b be a metavariable? warning: line 21: should a be a metavariable? warning: line 23: should b be a metavariable? warning: line 31: should a be a metavariable? warning: line 38: should a be a metavariable? warning: line 39: should b be a metavariable? warning: line 47: should a be a metavariable? warning: line 49: should b be a metavariable? warning: line 56: should f be a metavariable? warning: line 57: should a be a metavariable? warning: line 63: should g be a metavariable? warning: line 64: should a be a metavariable? warning: line 65: should b be a metavariable? warning: line 71: should h be a metavariable? warning: line 73: should a be a metavariable? warning: line 75: should b be a metavariable? warning: line 82: should i be a metavariable? warning: line 84: should a be a metavariable? warning: line 86: should b be a metavariable? diff = --- tests/list_test.c +++ /tmp/cocci-output-22122-32aa90-list_test.c @@ -1,55 +1,53 @@ int main () { - f(a); - g(a,b); - h(x,a,y,b,z); - h(a,y,b,z); - h(x,a,b,z); - h(x,a,y,b); - h(a,b,z); - h(x,a,b); - h(a,b); + f(); + g(b); + h(x,y,b,z); + h(y,b,z); + h(x,b,z); + h(x,y,b); + h(b,z); + h(x,b); + h(b); } -int f(int a) { return; } +int f() { return; } -int g(int a,int b) { return; } +int g(int b) { return; } -int h(int x, int a, int y, int b, int z) { return; } +int h(int x, int y, int b, int z) { return; } -int h(int a, int y, int b, int z) { return; } +int h(int y, int b, int z) { return; } -int h(int x, int a, int b, int z) { return; } +int h(int x, int b, int z) { return; } -int h(int x, int a, int y, int b) { return; } +int h(int x, int y, int b) { return; } -int h(int a, int b, int z) { return; } +int h(int b, int z) { return; } -int h(int x, int a, int b) { return; } +int h(int x, int b) { return; } -int h(int a, int b) { return; } +int h(int b) { return; } int f[] = { - a }; int g[] = { - a, b }; -int h[] = { x, a, y, b, z }; +int h[] = { x, y, b, z }; -int h[] = { a, y, b, z, }; +int h[] = { y, b, z, }; -int h[] = { x, a, b, z }; +int h[] = { x, b, z }; -int h[] = { x, a, y, b, }; +int h[] = { x, y, b, }; -int h[] = { a, b, z }; +int h[] = { b, z }; -int h[] = { x, a, b, }; +int h[] = { x, b, }; -int h[] = { a, b }; +int h[] = { b }; int i[] = { x, a, y, b, z }; @@ -57,33 +55,30 @@ int i[] = { x, a, b, z }; -int i[] = { x, a, y, b, }; +int i[] = { x, a, y, }; int i[] = { a, b, z }; -int i[] = { x, a, b, }; +int i[] = { x, a, }; -int i[] = { a, b }; +int i[] = { a, }; struct f { - int a; + int b; }; struct g { - int a; int b; }; struct h { int x; - int a; int y; int b; int z; }; struct h { - int a; int y; int b; int z; @@ -91,63 +86,46 @@ struct h { int x; - int a; int b; int z; }; struct h { int x; - int a; int y; int b; }; struct h { - int a; int b; int z; }; struct h { int x; - int a; int b; }; struct h { - int a; int b; }; -enum f { a }; +enum f { b }; -enum g { a, b }; +enum g { b }; -enum h { x, a, y, b, z, }; -enum h { a, y, b, z }; -enum h { x, a, b, z, }; -enum h { x, a, y, b }; -enum h { a, b, z, }; -enum h { x, a, b }; -enum h { a, b, }; +enum h { x, y, b, z, }; +enum h { y, b, z }; +enum h { x, b, z, }; +enum h { x, y, b }; +enum h { b, z, }; +enum h { x, b }; +enum h { b, }; enum i { x, a, y, b, z, }; enum i { a, y, b, z }; enum i { x, a, b, z, }; -enum i { x, a, y, b, }; +enum i { x, a, y, }; enum i { a, b, z, }; -enum i { x, a, b, }; -enum i { a, b, }; - -#define f(a) 3 - -#define g(a,b) 3 - -#define h(x,a,y,b,z) 3 -#define h(a,y,b,z) 3 -#define h(x,a,b,z) 3 -#define h(x,a,y,b) 3 -#define h(a,b,z) 3 -#define h(x,a,b) 3 -#define h(a,b) 3 +enum i { x, a, }; +enum i { a, }; local.res diff = --- tests/local.c +++ /tmp/cocci-output-22122-804423-local.c @@ -1 +1 @@ -int f(int xx, int yy) { return 0; } +int f(int a, int b, int yy) { return 0; } local_macro_fn_def_and_call.res diff = --- tests/local_macro_fn_def_and_call.cpp +++ /tmp/cocci-output-22122-8100e4-local_macro_fn_def_and_call.cpp @@ -1,11 +1,9 @@ void f(void) { #define SEMICOLON() ; - SEMICOLON() #undef SEMICOLON } void g(void) { #define SEMICOLON_HINT() MACROSTATEMENT - SEMICOLON_HINT() #undef SEMICOLON_HINT } localglobal.res diff = --- tests/localglobal.c +++ /tmp/cocci-output-22122-49371a-localglobal.c @@ -3,5 +3,5 @@ int main(int b) { int c; int local; - return a + b + c; + return global + local + local; } localid.res diff = --- tests/localid.c +++ /tmp/cocci-output-22122-2bf4b2-localid.c @@ -2,8 +2,7 @@ int main () { int a; - f(a); f(a+1); - f(b); - f(c); + h(b); + g(c); } log.res diff = --- tests/log.c +++ /tmp/cocci-output-22122-a6d842-log.c @@ -8,5 +8,4 @@ int main () { - f("foo"); } long.res diff = --- tests/long.c +++ /tmp/cocci-output-22122-a5469f-long.c @@ -1,4 +1,4 @@ int main () { - hello_world("this is a very long sentence. this is a very long sentence. ", - "I don't know how coccinelle will treat this!"); + hello_you("this is a very long sentence. this is a very long sentence. ", + "I don't know how coccinelle will treat this!"); } longconst.res diff = --- tests/longconst.c +++ /tmp/cocci-output-22122-cd8321-longconst.c @@ -2,18 +2,18 @@ { long a; int b; - a = 1l << b; - a = 1u << b; - a = 65536l << b; - a = 65536u << b; - a = 65536 << b; - a = 4294967296 << b; - a = 65535 << b; - a = 4294967295 << b; - a = 0x7fffffff << b; - a = 0x1fl << b; - a = 0x1fu << b; - a = 0x1FL << b; - a = 0x1FU << b; + a = f(1l, "long"); + a = f(1u, "unsigned"); + a = f(65536l, "long"); + a = f(65536u, "unsigned"); + a = f(65536, "int"); + a = f(4294967296, "int"); + a = f(65535, "int"); + a = f(4294967295, "int"); + a = f(0x7fffffff, "int"); + a = f(0x1fl, "long"); + a = f(0x1fu, "unsigned"); + a = f(0x1FL, "long"); + a = f(0x1FU, "unsigned"); return a; } longline2.res warning: line 5: should a be a metavariable? diff = --- tests/longline2.c +++ /tmp/cocci-output-22122-1e86ea-longline2.c @@ -1,8 +1,16 @@ int main() { - f(sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,a,shdkjsdsdhkjsa,x,y,z); - f(sdhfkjdkdsahksadsdhjkdsa, sahdjshdkjsahdkjhsakjdsh, a, shdkjsdsdhkjsa, x, y, z); + f(sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,a, + 1111111111111111111111111111111111111, 111111111111111111111111, 111, + shdkjsdsdhkjsa,x,y,z); + f(sdhfkjdkdsahksadsdhjkdsa, sahdjshdkjsahdkjhsakjdsh, a, + 1111111111111111111111111111111111111, 111111111111111111111111, 111, + shdkjsdsdhkjsa, x, y, z); f(sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,aaaaaaaaaaaaaaaaaaaa,shdkjsdsdhkjsa); - f(a,sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,aaaaaaaaaaaaaaaaaaaa,shdkjsdsdhkjsa); - f(a,sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,aaaaaaaaaaaaaaaaaaaa,shdkjsdsdhkjsa, + f(a,1111111111111111111111111111111111111, 111111111111111111111111, 111, + sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,aaaaaaaaaaaaaaaaaaaa, + shdkjsdsdhkjsa); + f(a,1111111111111111111111111111111111111, 111111111111111111111111, 111, + sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,aaaaaaaaaaaaaaaaaaaa, + shdkjsdsdhkjsa, sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,aaaaaaaaaaaaaaaaaaaa,shdkjsdsdhkjsa); } longlong.res diff = --- tests/longlong.c +++ /tmp/cocci-output-22122-da0550-longlong.c @@ -1,6 +1,6 @@ -long long a; +int a; int main () { - long long b; + int b; return 0; } longlongint.res diff = --- tests/longlongint.c +++ /tmp/cocci-output-22122-8f4e35-longlongint.c @@ -1,9 +1,3 @@ int main() { - unsigned int x; - int y; - unsigned long long int a; - long long int b; - unsigned long long m; - long long n; return 0; } loop.res diff = --- tests/loop.c +++ /tmp/cocci-output-22122-d38b8e-loop.c @@ -1,5 +1,3 @@ int main() { - f(); while (1) { x : 15; } - g(); } lvalue.res warning: line 4: should x be a metavariable? diff = --- tests/lvalue.c +++ /tmp/cocci-output-22122-27c1cf-lvalue.c @@ -1,4 +1,4 @@ int main() { - x = x + 1; - *x = 12; + f(x) = f(x) + 1; + *f(x) = 12; } macro.res diff = --- tests/macro.c +++ /tmp/cocci-output-22122-128edd-macro.c @@ -1,5 +1,5 @@ -#define SC_FCMND(fcmnd) ((Scsi_Cmnd *)((long)fcmnd - (long)&(((Scsi_Cmnd *)0)->SCp))) +#define SC_FCMND(fcmnd) ((struct scsi_cmnd *)((long)fcmnd - (long)&(((struct scsi_cmnd *)0)->SCp))) int main() { - return ((Scsi_Cmnd *)((long)fcmnd - (long)&(((Scsi_Cmnd *)0)->SCp))); + return ((struct scsi_cmnd *)((long)fcmnd - (long)&(((struct scsi_cmnd *)0)->SCp))); } macro_before_bool.res diff = --- tests/macro_before_bool.c +++ /tmp/cocci-output-22122-542d2f-macro_before_bool.c @@ -1,4 +1,5 @@ static nokprobe_inline bool trace_kprobe_is_return(struct trace_kprobe *tk) { + bool ret; return false; } macro_int16.res diff = --- tests/macro_int16.c +++ /tmp/cocci-output-22122-a61481-macro_int16.c @@ -4,6 +4,6 @@ void main(void) { INT16 a, b, c; - c = a + b; + c = a - b; } macro_params.res diff = --- tests/macro_params.c +++ /tmp/cocci-output-22122-e4684f-macro_params.c @@ -5,9 +5,9 @@ int main(int argc, char **argv) { - MACRO(1, i, j); + MACRO_2(argc, i, j); /* comment */ - MACRO(2, k, l); + MACRO_2(argc, k, l); return 0; } macro_stmt_when_fn_type.res diff = --- tests/macro_stmt_when_fn_type.cpp +++ /tmp/cocci-output-22122-27f011-macro_stmt_when_fn_type.cpp @@ -1,4 +1,3 @@ -#define APPLY_FOR_ROLE return; #define APPLY_FOR_ROLE_HINT MACROSTATEMENT void do_nothing(fn_type fn) { match_init.res diff = --- tests/match_init.c +++ /tmp/cocci-output-22122-5c4bbe-match_init.c @@ -1,15 +1,15 @@ int probably_works () { - int x = 3; + int a = 12; f(x); } int does_it_work () { - int y, x = 3; + int y, a = 12; f(x); } int should_work () { - x = 3; + a = 12; f(x); } match_no_meta.res diff = --- tests/match_no_meta.c +++ /tmp/cocci-output-22122-72430c-match_no_meta.c @@ -2,6 +2,4 @@ { foo(1); bar(2); - - bar(3); } max.res warning: line 6: should i be a metavariable? warning: line 14: should i be a metavariable? diff = --- tests/max.c +++ /tmp/cocci-output-22122-9c9771-max.c @@ -1,3 +1,3 @@ int main () { - if (x < 25) return i; + if (x < 25) return 3; } md1.res (ONCE) already tagged but only removed, so safe diff = --- tests/md1.c +++ /tmp/cocci-output-22122-c284c3-md1.c @@ -1,9 +1,11 @@ struct main { - int a; - int b; - int a,b,c; + int y; + int y; + int y; + int y; + int y; - char a; - char b; + char y; + char y; char a,b,c; }; md2.res diff = --- tests/md2.c +++ /tmp/cocci-output-22122-1be82f-md2.c @@ -1,11 +1,13 @@ int main() { - int a; - static int b; - int a,b,c; + int y; + static int y; + int y; + int y; + int y; static int a,b,c; - char a; - static char b; + char y; + static char y; char a,b,c; static char a,b,c; } md3.res diff = --- tests/md3.c +++ /tmp/cocci-output-22122-bd6bd0-md3.c @@ -1,5 +1,5 @@ struct s_t { - double one[3]; + double3 one; int x; }*A,*B,*C,a,b,c; mdadd.res diff = --- tests/mdadd.c +++ /tmp/cocci-output-22122-548c7a-mdadd.c @@ -1,3 +1,5 @@ int main () { - int a,b,c; + char a; + char b; + char c; } mdec.res diff = --- tests/mdec.c +++ /tmp/cocci-output-22122-e9100b-mdec.c @@ -1,23 +1,26 @@ int main () { - int a, b, c, d; - int a, b, c, *d; - int a, b, *c, d; - int a, *b, c, d; - int *a, b, c, d; - int a, b, *c, *d; - int a, *b, *c, d; - int *a, *b, c, d; - int *a, b, c, *d; - int a, *b, c, *d; - int *a, b, *c, d; - int a, *b, c, *d; - int *a, b, *c, d; - int a, *b, *c, *d; - int *a, *b, *c, d; - int *a, *b, c, *d; - int *a, b, *c, *d; - int *a, b, c, *d; - int *a, b, *c, *d; - int a, *b, *c, *d; - int *a, *b, c, *d; + char d; + char c; + char b; + char a; + int *d; + int *c; + int *b; + int *a; + int *c, *d; + int *b, *c; + int *a, *b; + int *a, *d; + int *b, *d; + int *a, *c; + int *b, *d; + int *a, *c; + int *b, *c, *d; + int *a, *b, *c; + int *a, *b, *d; + int *a, *c, *d; + int *a, *d; + int *a, *c, *d; + int *b, *c, *d; + int *a, *b, *d; } mdecl.res warning: rule starting on line 14: inherited metavariable unbound not used in the -, +, or context code Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_6f3548.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_6f3548.ml File "/tmp/ocaml_cocci_6f3548.ml", line 44, characters 4-11: 44 | let unbound = List.nth __script_args__ 4 in ^^^^^^^ Warning 26 [unused-var]: unused variable unbound. Compilation OK! Loading ML code of the SP... diff = --- tests/mdecl.c +++ /tmp/cocci-output-22122-41b211-mdecl.c @@ -1,5 +1,4 @@ -int one () { if (c < 0) return 12; return x < 0; } + int one () { return x < 0; } int one () { return rvw; } int two () { if (c < 0) return 21; return y; } -int one () { int c; if (c) return 12; return x < 0; } mdeclp.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_89aed7.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_89aed7.ml Compilation OK! Loading ML code of the SP... diff = --- tests/mdeclp.c +++ /tmp/cocci-output-22122-49cde1-mdeclp.c @@ -1,2 +1,2 @@ -int one() { return 1; } + int two() { return 1; } mdeclp2.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_b765a4.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_b765a4.ml Compilation OK! Loading ML code of the SP... diff = --- tests/mdeclp2.c +++ /tmp/cocci-output-22122-3ec6d8-mdeclp2.c @@ -1,2 +1,2 @@ -int one() { return 1; } + int two() { return 1; } mdeclrep.res diff = --- tests/mdeclrep.c +++ /tmp/cocci-output-22122-7d973c-mdeclrep.c @@ -1,19 +1,23 @@ int main () { - int a,x,c; + int y; + int a,c; return 0; } int main () { - int x,c; + int y; + int c; return 0; } int main () { - int a,x; + int y; + int a; return 0; } int main () { - int x; + int y; + return 0; } memory.res diff = --- tests/memory.c +++ /tmp/cocci-output-22122-d936a6-memory.c @@ -2,6 +2,5 @@ int __queue_add(Queue_t *queue, Scsi_Cmnd *SCpnt, int head) { - if (BAD_MAGIC(1,12)) - BUG(); + BUG_ON(BAD_MAGIC(1, 12)); } merge_after_iteration.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_f60f8f.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_f60f8f.ml Compilation OK! Loading ML code of the SP... 1 pending new file instances 0 pending original file instances metaattr.res diff = --- tests/metaattr.c +++ /tmp/cocci-output-22122-bbc119-metaattr.c @@ -1,5 +1,5 @@ int main() { - int b __attr__ = 1; + char b __attr__ = 1; int b = 1; return 0; } metahex.res metaline.res warning: line 42: x, previously declared as a metavariable, is used as an identifier warning: line 48: should y be a metavariable? diff = --- tests/metaline.c +++ /tmp/cocci-output-22122-8c8c98-metaline.c @@ -1,9 +1,8 @@ int main () { - static int x; static int y; - if (12) f(4+3); - g(4+3); - m(3+3); - g(3+3); + static int x; + while (12) f(4+3); + h(4 + 3); + q(3 + 3); r(3+4); } metaops.res diff = --- tests/metaops.c +++ /tmp/cocci-output-22122-0da369-metaops.c @@ -2,24 +2,24 @@ int x = 0; int y = 1; - x = x + y; - x = x * y; - x = x / y; - x = x - y; - x = x && y; - x = x || y; - x = x == y; - x = x != y; - x = x > y; - x = x < y; - x = x >= y; - x = x <= y; - x = x % y; - x = x | y; - x = x & y; - x = x ^ y; - x = x << y; - x = x >> y; + x += x - y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; return 42; } @@ -28,17 +28,17 @@ int x = 0; int y = 1; - x = 1; - x += 2; - x -= 3; - x *= 4; - x /= 5; - x %= 6; - x |= 7; - x &= 8; - x ^= 9; - x <<= 10; - x >>= 11; + x += 1; + x = 2; + x = 3; + x = 4; + x = 5; + x = 6; + x = 7; + x = 8; + x = 9; + x = 10; + x = 11; return 42; } metaops0.res (ONCE) already tagged but only removed, so safe diff = --- tests/metaops0.c +++ /tmp/cocci-output-22122-9dfdc1-metaops0.c @@ -1,44 +1,11 @@ int p1() { - int x = 0; - int y = 1; - x = x + y; - x = x * y; - x = x / y; - x = x - y; - x = x && y; - x = x || y; - x = x == y; - x = x != y; - x = x > y; - x = x < y; - x = x >= y; - x = x <= y; - x = x % y; - x = x | y; - x = x & y; - x = x ^ y; - x = x << y; - x = x >> y; return 42; } int p2() { - int x = 0; - int y = 1; - x = 1; - x += 2; - x -= 3; - x *= 4; - x /= 5; - x %= 6; - x |= 7; - x &= 8; - x ^= 9; - x <<= 10; - x >>= 11; return 42; } metaruleelem.res diff = --- tests/metaruleelem.c +++ /tmp/cocci-output-22122-6bca45-metaruleelem.c @@ -1,6 +1,7 @@ int main(int x) { f(); - if(1) { + foo(); + if (1) { replace(); } g(); metastatement2.res diff = --- tests/metastatement2.c +++ /tmp/cocci-output-22122-53fd0f-metastatement2.c @@ -1,6 +1,5 @@ void main(int i) { f(); - { replace(); replace(); } g(); } metastatement_for.res diff = --- tests/metastatement_for.c +++ /tmp/cocci-output-22122-9a0b05-metastatement_for.c @@ -1,9 +1,6 @@ void main(void) { int i; - for (i = 0; i < 10; i++) { - printf("%d", i); - } if (i == 0) { printf("%d", i); metastatement_if.res diff = --- tests/metastatement_if.c +++ /tmp/cocci-output-22122-fb727f-metastatement_if.c @@ -5,8 +5,4 @@ printf("%d", i); } - if (i == 0) { - printf("%d", i); - } - } mincom.res diff = --- tests/mincom.c +++ /tmp/cocci-output-22122-616f2b-mincom.c @@ -1,5 +1,7 @@ int main () { - if (rc == LS_NONE_FIRST_DE) + if (rc == LS_NONE_FIRST_DE) { /* It is not "ls -{a}l" operation, no need statahead for it. */ - GOTO(out, rc = -EAGAIN); + a(); + b(); + } } minenum.res diff = --- tests/minenum.c +++ /tmp/cocci-output-22122-b42efe-minenum.c @@ -1 +1 @@ -enum h { x, a, z, q, b }; +enum h { x, qq, q, b }; minenum1.res diff = --- tests/minenum1.c +++ /tmp/cocci-output-22122-ea9cb2-minenum1.c @@ -1,2 +1,2 @@ -enum h { x, a, z, +enum h { x, qq, q, b }; minfn.res diff = --- tests/minfn.c +++ /tmp/cocci-output-22122-28db75-minfn.c @@ -1,13 +1,5 @@ int main () { return first; } -int f () { return second; } -int f () { return second; } - int main () { return third; } - -#define x 3 -#define x 3 -#define x 3 -#define x 3 int main () { return fifth; } mini_null_ref.res diff = --- tests/mini_null_ref.c +++ /tmp/cocci-output-22122-25d80e-mini_null_ref.c @@ -2,11 +2,12 @@ { const struct w90p910_keypad_platform_data *pdata = pdev->dev.platform_data; - const struct matrix_keymap_data *keymap_data = pdata->keymap_data; + const struct matrix_keymap_data *keymap_data; if (!pdata) { dev_err(&pdev->dev, "no platform data defined\n"); return -EINVAL; } + keymap_data = pdata->keymap_data; return; } miniswap.res diff = --- tests/miniswap.c +++ /tmp/cocci-output-22122-dd4c5a-miniswap.c @@ -1,5 +1,5 @@ static void swap_refcount_rec(void *a, void *b, int size) { - struct ocfs2_refcount_rec *l, tmp; + struct ocfs2_refcount_rec *l; swap(l,tmp); } minstruct.res diff = --- tests/minstruct.c +++ /tmp/cocci-output-22122-469ec4-minstruct.c @@ -1,5 +1,7 @@ static struct i2c_client client_template = { - .name = "(unset)", + .dev = { + .name = "(unset)", + }, .id = -1, .driver = &i2c_driver_videotext }; minusdots.res diff = --- tests/minusdots.c +++ /tmp/cocci-output-22122-2ce47d-minusdots.c @@ -1,9 +1,3 @@ void main(int i) { - - if (!hostptr) { - if (hostptr) { - return -ESRCH; - } - } } minusdots_ver1.res diff = --- tests/minusdots_ver1.c +++ /tmp/cocci-output-22122-18d077-minusdots_ver1.c @@ -1,6 +1,2 @@ void main(int i) { - - if (!hostptr) { - i++; - } } move_type.res diff = --- tests/move_type.c +++ /tmp/cocci-output-22122-0afe10-move_type.c @@ -1,6 +1,6 @@ int main() { - int x; int foo[12]; + int x; return 0; } multi_func1.res exn while in timeout_function multi_initialize_finalize.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_d19441.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_d19441.ml Compilation OK! Loading ML code of the SP... multichars.res warning: line 4: should ab be a metavariable? diff = --- tests/multichars.c +++ /tmp/cocci-output-22122-f1820a-multichars.c @@ -1,5 +1,5 @@ int main () { - f('XYZ',ab); - f('X\nY',ab); - f('\n',ab); + f('XYZ',12); + f('X\nY',12); + f('\n',12); } multidec.res diff = --- tests/multidec.c +++ /tmp/cocci-output-22122-1d304a-multidec.c @@ -1,11 +1,6 @@ int main () { int x = 3,z; - int x = 12; - int x = 12,y; + int y; int -x -= -12 -, y; } multidecl3.res diff = --- tests/multidecl3.c +++ /tmp/cocci-output-22122-d0fa33-multidecl3.c @@ -1,17 +1,13 @@ int main () { - int *i, i[12], i, k, r; + int k, r; } struct foo { - int *i, i[12], i, k, r; - int *i, i[12], i; - int *i; + int k, r; }; int main () { - int *i, i[12], i; } struct foo { - int *i, i[12], i; }; multipath.res diff = --- tests/multipath.c +++ /tmp/cocci-output-22122-315dbf-multipath.c @@ -2,8 +2,8 @@ { for (;;) { if ((mp_bh->path = multipath_map (conf))<0) { - printk(KERN_ERR "multipath: %s: redirecting sector %llu" - " to another IO path\n", + printk("KERN_ERR %s: %s: redirecting sector %llu to another IO path\n", + __func__, bdevname(bio->bi_bdev,b), (unsigned long long)bio->bi_iter.bi_sector); } multiplus.res warning: rule starting on line 3: metavariable T not used in the - or context code diff = --- tests/multiplus.c +++ /tmp/cocci-output-22122-170636-multiplus.c @@ -1,4 +1,4 @@ -static void xm_link_timer(void *arg) +static void xm_link_timer(struct work_struct *work) { struct net_device *dev = arg; struct skge_port *skge = netdev_priv(arg); multiremove.res diff = --- tests/multiremove.c +++ /tmp/cocci-output-22122-367eda-multiremove.c @@ -1,8 +1,5 @@ int main () { if (x) { xyz1(); } - if (x) { foo(); abc(); } if (x) { xyz2(); } - if (x) { bar(); abc(); } if (x) { xyz3(); } - if (x) { foo(); abc(); bar(); bar(); foo(); } } multistruct.res diff = --- tests/multistruct.c +++ /tmp/cocci-output-22122-6c3c94-multistruct.c @@ -1,5 +1,3 @@ -struct one x; -struct two y; struct three z; multitype.res diff = --- tests/multitype.c +++ /tmp/cocci-output-22122-204a6a-multitype.c @@ -3,5 +3,5 @@ int main() { foo_t * x; f(x->a); - g(x); + g(x, NULL); } multitypedef.res warning: non_delayed_fn: metavariable T not used in the - or context code diff = --- tests/multitypedef.c +++ /tmp/cocci-output-22122-190619-multitypedef.c @@ -5,5 +5,5 @@ int ergo_inithardware(hysdn_card * card) { - INIT_WORK(&card->irq_queue, ergo_irq_bh, card); + INIT_WORK(&card->irq_queue, ergo_irq_bh); } multivars.res diff = --- tests/multivars.c +++ /tmp/cocci-output-22122-9573f4-multivars.c @@ -1,5 +1,5 @@ void main(int i) { - f(1+2+v.field1,1+2+v.field1); + h(1 + 2 + v.field1); } na.res diff = --- tests/na.c +++ /tmp/cocci-output-22122-b9e2b5-na.c @@ -4,10 +4,10 @@ { int i; - if (!i & FOO) return; - !i & -FOO; + if (12) return; + 12; !i & !FOO; - !i & 100; - !i & -100; + 12; + 12; !i & !100; } nameless.res diff = --- tests/nameless.c +++ /tmp/cocci-output-22122-5c45d0-nameless.c @@ -1,6 +1,6 @@ typedef union { int foo; } t_foo; -typedef struct { +typedef struct __COCCI__TMP__STRUCTNAME__ { int foo; } t_foo; nest.res warning: line 6: should hostno be a metavariable? warning: line 18: should xxx be a metavariable? diff = --- tests/nest.c +++ /tmp/cocci-output-22122-c6f4da-nest.c @@ -1,7 +1,7 @@ void info_func(int i) { foo(); while (x) { - 1+hostno+xxx; - 2+hostno+xxx; + 1+hostptr->host_no+hostptr->host_no; + 2+hostptr->host_no+hostptr->host_no; } } nestone.res warning: one: metavariable S not used in the - or context code diff = --- tests/nestone.c +++ /tmp/cocci-output-22122-f217b9-nestone.c @@ -1,4 +1,3 @@ int foo() { if (x) { xxx(); return;} - yyy(); } nestseq.res diff = --- tests/nestseq.c +++ /tmp/cocci-output-22122-c2017d-nestseq.c @@ -2,4 +2,5 @@ f(); g(12); h(); + xxx(12); } neststruct.res diff = --- tests/neststruct.c +++ /tmp/cocci-output-22122-e03708-neststruct.c @@ -8,6 +8,6 @@ static int hub_configure(struct usb_hub *hub) { - hub->status = kmalloc(sizeof(*hub->status), GFP_KERNEL); + hub->status = kzalloc(sizeof(*hub->status), GFP_KERNEL); } nl.res warning: line 4: should x be a metavariable? diff = --- tests/nl.c +++ /tmp/cocci-output-22122-bc31d5-nl.c @@ -1,4 +1,4 @@ int main() { - if (x) return; - x = x + 1; + if (y) return; + y = y + 1; } noa.res diff = --- tests/noa.c +++ /tmp/cocci-output-22122-b8f74d-noa.c @@ -2,6 +2,6 @@ if (x) { a(); } else { a(); } } -int tochange () { +int has_no_a () { if (x) { a(); } else { x(); } } nocast.res diff = --- tests/nocast.c +++ /tmp/cocci-output-22122-f8ce5d-nocast.c @@ -1,4 +1,4 @@ -int main (unsigned int __nocast gfp_mask, int x) { +int main (gfp_t gfp_mask, int x) { buf = kmalloc(sizeof *send_buf + buf_size, gfp_mask); } noret.res diff = --- tests/noret.c +++ /tmp/cocci-output-22122-ea9a6a-noret.c @@ -1,18 +1,18 @@ -main (int x); -static xmain (int x); -inline ymain (int x); +main (int x, int q); +static xmain (int x, int q); +inline ymain (int x, int q); -main (int x) { - return x; +main (int x, int q) { + return 12; } // foo -static xmain (int y) { - return y; +static xmain (int y, int q) { + return 12; } // xxx -inline ymain (int y) { - return y; +inline ymain (int y, int q) { + return 12; } // xxx not.res diff = --- tests/not.c +++ /tmp/cocci-output-22122-08b5b0-not.c @@ -1,9 +1,9 @@ int main() { int x; - this(12,x); + f(20); this(foo,x); bar(12,x); foo(12,x); - this(12,x); - this(12,x); + f(20); + f(20); } notest.res diff = --- tests/notest.c +++ /tmp/cocci-output-22122-ab64cc-notest.c @@ -1,6 +1,6 @@ int main() { struct foo *x; x = FN(); - if (!x) return; + if (12) return; return; } notnot.res warning: line 6: should true be a metavariable? warning: line 6: should false be a metavariable? diff = --- tests/notnot.c +++ /tmp/cocci-output-22122-797624-notnot.c @@ -1,4 +1,4 @@ bool foo(int bar) { - return bar ? true : false; + return !!bar; } noty.res diff = --- tests/noty.c +++ /tmp/cocci-output-22122-d094b0-noty.c @@ -1,3 +1,4 @@ int main(int *x) { if (NULL == x) { return; } + g(); } noty2.res diff = --- tests/noty2.c +++ /tmp/cocci-output-22122-d37f3d-noty2.c @@ -1,14 +1,11 @@ main () { - foo(); return; } int main2 () { - foo(); return; } blah_t main3 () { - foo(); return; } null_bool.res warning: line 4: should x be a metavariable? diff = --- tests/null_bool.c +++ /tmp/cocci-output-22122-1af0f6-null_bool.c @@ -1,8 +1,8 @@ int main () { - if (x != NULL) return; - if (a && x != NULL && b) return; - if (x) return; - if (a && x && b) return; + if (12) return; + if (a && 12 && b) return; + if (12) return; + if (a && 12 && b) return; x = x + 20; } null_type.res diff = --- tests/null_type.c +++ /tmp/cocci-output-22122-8312df-null_type.c @@ -2,7 +2,7 @@ int *x; - g(x); - g(NULL); + g(f(x)); + g(f(NULL)); } oddifdef.res warning: line 4: should x be a metavariable? warning: line 6: should x be a metavariable? diff = --- tests/oddifdef.c +++ /tmp/cocci-output-22122-6bd907-oddifdef.c @@ -7,9 +7,7 @@ a = 5; #ifdef FOO - x = 0; #else - x = 0; #endif } @@ -22,9 +20,7 @@ a = 3; #ifdef FOO - x = 0; #else - x = 0; #endif } @@ -37,8 +33,6 @@ #endif #ifdef FOO - x = 0; #else - x = 0; #endif } of.res diff = --- tests/of.c +++ /tmp/cocci-output-22122-ec8350-of.c @@ -1,16 +1,20 @@ static struct iommu_table *iommu_table_find(struct iommu_table * tbl) { for (node = NULL; (node = of_find_all_nodes(node)); ) { - if (x) + if (x) { return it; + of_node_put(node); + } } } static struct iommu_table *iommu_table_find(struct iommu_table * tbl) { for (node = NULL; (node = something(node)); ) { - if (x) + if (x) { + of_node_put(node); return it; + } } } oneline.res diff = --- tests/oneline.c +++ /tmp/cocci-output-22122-44e72b-oneline.c @@ -1,4 +1,4 @@ int main () { - f(); - f(); + g(); + g(); } op.res diff = --- tests/op.c +++ /tmp/cocci-output-22122-db34f5-op.c @@ -1,5 +1,4 @@ int main () { - return 3; } int main () { opt.res diff = --- tests/opt.c +++ /tmp/cocci-output-22122-35157d-opt.c @@ -1,3 +1,2 @@ int main () { - yyy(); } optional_qualifier.res diff = --- tests/optional_qualifier.c +++ /tmp/cocci-output-22122-9b0a03-optional_qualifier.c @@ -1,2 +1,2 @@ -int a; +const int a; const int b; optional_storage.res diff = --- tests/optional_storage.c +++ /tmp/cocci-output-22122-cfaa70-optional_storage.c @@ -1,4 +1,4 @@ -int foo1(void) +static int foo1(void) { } orexp.res diff = --- tests/orexp.c +++ /tmp/cocci-output-22122-9d7c76-orexp.c @@ -1,3 +1,3 @@ int main() { - bar(12+12); + 4; } output.res output_init.res diff = --- tests/output_init.c +++ /tmp/cocci-output-22122-e768a3-output_init.c @@ -1,3 +1,3 @@ void f(void) { - f(); + g(); } Hello world. overshoot.res warning: aaa: metavariable f not used in the - or context code warning: xxx: metavariable f not used in the - or context code diff = --- tests/overshoot.c +++ /tmp/cocci-output-22122-0d8c9e-overshoot.c @@ -1,9 +1,8 @@ int main () { a(); - s(); - d(); - f(); - b(); + g(); + g(); + g(); b(); q(); } p1p2.res warning: line 9: should errp be a metavariable? warning: line 20: should errp be a metavariable? diff = --- tests/p1p2.c +++ /tmp/cocci-output-22122-f2fb93-p1p2.c @@ -1,3 +1,3 @@ -int main(int x, Error **errp); +int __attribute__((nonnull(1))) main(int x, Error **errp); -int main(int x, int y, Error **errp); +int __attribute__((nonnull(2))) main(int x, int y, Error **errp); p9.res diff = --- tests/p9.c +++ /tmp/cocci-output-22122-c2c3a9-p9.c @@ -1,3 +1,3 @@ -int f(int, int, int x) { +int f(int v0, int v1, int x) { return x; } pa.res diff = --- tests/pa.c +++ /tmp/cocci-output-22122-ee387f-pa.c @@ -4,7 +4,8 @@ unsigned num, s16 min_level, s16 max_level, - int (*unknown)(char *param, char *val, const char *doing)) + void *arg, + int (*unknown)(char *param, char *val, const char *doing, void *arg)) { return 0; } param.res diff = --- tests/param.c +++ /tmp/cocci-output-22122-795471-param.c @@ -1 +1 @@ -void foo() { return; } + param_end.res warning: line 6: should x be a metavariable? warning: line 14: should y be a metavariable? diff = --- tests/param_end.c +++ /tmp/cocci-output-22122-3e161e-param_end.c @@ -1,15 +1,15 @@ -int one (int x) { return; } +int one () { return; } -int two (int a, int x, int b) { return; } +int two (int a, int b) { return; } -int three (int x, int a) { return; } +int three (int a) { return; } -int four (int a, int x) { return; } +int four (int a) { return; } -int yone (int y) { return; } +int yone () { return; } -int ytwo (int a, int y, int b) { return; } +int ytwo (int a, int b) { return; } -int ythree (int y, int a) { return; } +int ythree (int a) { return; } -int yfour (int a, int y) { return; } +int yfour (int a) { return; } param_to_exp.res diff = --- tests/param_to_exp.c +++ /tmp/cocci-output-22122-cc80ea-param_to_exp.c @@ -1,3 +1,4 @@ int main (int x, int y) { + foo(x, y); return 0; } param_ver1.res diff = --- tests/param_ver1.c +++ /tmp/cocci-output-22122-8398d7-param_ver1.c @@ -1 +1 @@ -void foo(int x) { return; } + parameters_dots.res diff = --- tests/parameters_dots.c +++ /tmp/cocci-output-22122-38eef1-parameters_dots.c @@ -1,7 +1,4 @@ void main(int i) { - f(1); g(3); - f(1,2); - f(); } parenmac.res diff = --- tests/parenmac.c +++ /tmp/cocci-output-22122-a3d839-parenmac.c @@ -1 +1 @@ -#define TXSSZ(val) (val<<4) +#define TXSSZ(val) ((val)<<4) partial.res warning: rule starting on line 1: metavariable S not used in the - or context code diff = --- tests/partial.c +++ /tmp/cocci-output-22122-02599f-partial.c @@ -1,3 +1,3 @@ #define CS_THIS_MODULE THIS_MODULE, #define CS_OWNER owner: -void cs46xx_null(struct pci_dev *pcidev) { return PAGE_SIZE; } +void cs46xx_null(struct pci_dev *pcidev) { return PAGE_SIZE2; } partialmd.res diff = --- tests/partialmd.c +++ /tmp/cocci-output-22122-4f1bf2-partialmd.c @@ -1,3 +1,4 @@ int main () { - int a,b,c; + int b,c; + int q; } partialmd2.res diff = --- tests/partialmd2.c +++ /tmp/cocci-output-22122-5c34ef-partialmd2.c @@ -1,3 +1,4 @@ int main () { - int a,b,c; + int a,c; + int q; } partialmd3.res diff = --- tests/partialmd3.c +++ /tmp/cocci-output-22122-5ed497-partialmd3.c @@ -1,3 +1,4 @@ int main () { - int a,b,c; + int a,b; + int q; } pb_distribute_type.res warning: line 6: should x be a metavariable? diff = --- tests/pb_distribute_type.c +++ /tmp/cocci-output-22122-02c688-pb_distribute_type.c @@ -1,15 +1,15 @@ int foo() { - int x; + int *x; return 0; } int foo() { - int *x; + int **x; return 0; } int foo() { - int x[45]; + int[45] *x; return 0; } pb_distribute_type2.res warning: line 8: should x be a metavariable? diff = --- tests/pb_distribute_type2.c +++ /tmp/cocci-output-22122-7eac71-pb_distribute_type2.c @@ -1,15 +1,15 @@ int foo() { - int x; + int * x; return 0; } int foo() { - int *x; + int **x; return 0; } int foo() { - int x[45]; + int x[45]*; return 0; } pb_distribute_type3.res warning: line 9: should x be a metavariable? exn while in timeout_function pb_distribute_type4.res warning: line 8: should x be a metavariable? diff = --- tests/pb_distribute_type4.c +++ /tmp/cocci-output-22122-5e8493-pb_distribute_type4.c @@ -1,15 +1,15 @@ int foo() { - int x; + float x; return 0; } int foo() { - int *x; + float x; return 0; } int foo() { - int x[45]; + float x; return 0; } pb_params_iso.res warning: line 23: should i be a metavariable? diff = --- tests/pb_params_iso.c +++ /tmp/cocci-output-22122-07f8a5-pb_params_iso.c @@ -1,17 +1,17 @@ -int f(bool a, int i, bool b) { +int f(bool a, int i, char j, bool b) { i++; } -int f(int i, bool b) { +int f(int i, char j, bool b) { i++; } -int f(bool a, int i) { +int f(bool a, int i, char j) { i++; } -int f(int i) { +int f(int i, char j) { i++; } pb_parsing_macro.res diff = --- tests/pb_parsing_macro.c +++ /tmp/cocci-output-22122-3464ab-pb_parsing_macro.c @@ -1,4 +1,4 @@ #define FOO_METH_TEST(a) prefix_##a void FOO_METH_TEST(foo)(int x){ - alloca(x); + malloc(x); } pb_tag_symbols.res diff = --- tests/pb_tag_symbols.c +++ /tmp/cocci-output-22122-467b8e-pb_tag_symbols.c @@ -1,5 +1,3 @@ static int typhoon_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { - if (copy_from_user(v,arg) != 0) - return -EFAULT; else {} } pcim.res diff = --- tests/pcim.c +++ /tmp/cocci-output-22122-304ed8-pcim.c @@ -1,5 +1,6 @@ int main () { - ctx->sensePA = pci_map_single(adapter->dev, cmd->sense_buffer, + ctx->sensePA = dma_map_single(&adapter->dev->dev, + cmd->sense_buffer, SCSI_SENSE_BUFFERSIZE, - PCI_DMA_FROMDEVICE); + DMA_FROM_DEVICE); } pcomma.res diff = --- tests/pcomma.c +++ /tmp/cocci-output-22122-4422fb-pcomma.c @@ -1,14 +1,14 @@ -int main (int x) {} +int main (char c, int x) {} -int main (int *a, int x) {} +int main (int *a, char c, int x) {} -int main (int x, int *b) {} +int main (char c, int x, int *b) {} -int main (int *a, int x, int *b) {} +int main (int *a, char c, int x, int *b) {} int f() { - f(e); - f(e,1); - f(0,e); - f(0,e,1); + f(12, e); + f(12, e,1); + f(0,12, e); + f(0,12, e,1); } plus33.res diff = --- tests/plus33.c +++ /tmp/cocci-output-22122-12e707-plus33.c @@ -1 +1,2 @@ +typedef double double3x3[3][3]; int x; pmac.res diff = --- tests/pmac.c +++ /tmp/cocci-output-22122-437372-pmac.c @@ -4,7 +4,5 @@ #include #endif -#define chip_t pmac_t - static int snd_pmac_register_sleep_notifier(pmac_t *chip); static int snd_pmac_unregister_sleep_notifier(pmac_t *chip); poscon.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_01eee9.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_01eee9.ml Compilation OK! Loading ML code of the SP... diff = --- tests/poscon.c +++ /tmp/cocci-output-22122-68b7f5-poscon.c @@ -2,8 +2,8 @@ f(0); g(0); g(0); - g(0); - g(0); - g(0); - g(0); + g(27); + g(27); + g(27); + g(27); } posiso.res diff = --- tests/posiso.c +++ /tmp/cocci-output-22122-bcc281-posiso.c @@ -1,9 +1,7 @@ int main () { int *x; - if (x == NULL) x = a; else x = b; if (!x) x = a; else x = b; if (x == a) x = a; else x = b; - if (x == NULL) x = a; if (!x) x = a; if (x == a) x = a; } positionc.res diff = --- tests/positionc.c +++ /tmp/cocci-output-22122-02d3e6-positionc.c @@ -2,8 +2,6 @@ if (foo(6,7)) x = ret; else x = ret; if (foo(6,7)) x = ret; else x = ret; if (foo(7,7)) x = ret; else x = ret; - if (bar(6,7)) x = ret; else x = ret; - if (bar(6,7)) x = ret; else x = ret; if (bar(7,7)) x = ret; else x = ret; } post.res diff = --- tests/post.c +++ /tmp/cocci-output-22122-e21d5c-post.c @@ -1,8 +1,6 @@ int main() { - f(3, foo + bar, 5); f(4, 3, 5); f(4, 3, 5); - h(3, some + thing, 5); h(4, 3, 5); h(4, 3, 5); } pragmatest1.res diff = --- tests/pragmatest1.c +++ /tmp/cocci-output-22122-3c20d3-pragmatest1.c @@ -1,3 +1 @@ -#pragma xxx a b c -#pragma xxx (a, b, c) print_return.res warning: line 6: should link be a metavariable? warning: rule starting on line 1: metavariable E not used in the - or context code diff = --- tests/print_return.c +++ /tmp/cocci-output-22122-36cf6e-print_return.c @@ -1,4 +1,3 @@ int config(struct pcmcia_device *link) { - bar(); - return 0; + return bar(); } proto.res diff = --- tests/proto.c +++ /tmp/cocci-output-22122-ddbbf3-proto.c @@ -1,10 +1,2 @@ static void bch_l2l1(struct PStack *st, int pr, void *arg); -static void bch_sched_event(struct BCState *bcs, int event); static void bch_empty_fifo(struct BCState *bcs, int count); - -static void -bch_sched_event(struct BCState *bcs, int event) -{ - bcs->event |= 1 << event; - schedule_work(&bcs->work); -} proto2.res diff = --- tests/proto2.c +++ /tmp/cocci-output-22122-5836d0-proto2.c @@ -1,10 +1,9 @@ static void bch_l2l1(struct PStack *st, int pr, void *arg); -static void bch_sched_event(struct BCState *bcs, int event); +static void bch_sched_event(int event); static void bch_empty_fifo(struct BCState *bcs, int count); static void -bch_sched_event(struct BCState *bcs, int event) -{ +bch_sched_event(int event) { bcs->event |= 1 << event; schedule_work(&bcs->work); } proto_ver1.res diff = --- tests/proto_ver1.c +++ /tmp/cocci-output-22122-1960fa-proto_ver1.c @@ -1,10 +1,2 @@ void bch_l2l1(struct PStack *st, int pr, void *arg); -void bch_sched_event(struct BCState *bcs, int event); void bch_empty_fifo(struct BCState *bcs, int count); - -void -bch_sched_event(struct BCState *bcs, int event) -{ - bcs->event |= 1 << event; - schedule_work(&bcs->work); -} proto_ver2.res diff = --- tests/proto_ver2.c +++ /tmp/cocci-output-22122-70f838-proto_ver2.c @@ -46,7 +46,6 @@ static void __devinit dch_setstack(struct PStack *st, struct IsdnCardState *cs); static void __devinit dch_init(struct IsdnCardState *cs); static void bch_l2l1(struct PStack *st, int pr, void *arg); -static void bch_sched_event(struct BCState *bcs, int event); static void bch_empty_fifo(struct BCState *bcs, int count); static void bch_fill_fifo(struct BCState *bcs); static void bch_int(struct IsdnCardState *cs, u_char hscx); @@ -581,16 +580,6 @@ st->l2.l1l2(st, PH_DEACTIVATE | CONFIRM, NULL); break; } -} - -//---------------------------------------------------------- -// proceed with bottom half handler BChannel_bh() -//---------------------------------------------------------- -static void -bch_sched_event(struct BCState *bcs, int event) -{ - bcs->event |= 1 << event; - schedule_work(&bcs->work); } //---------------------------------------------------------- protoassert.res diff = --- tests/protoassert.c +++ /tmp/cocci-output-22122-1bd56f-protoassert.c @@ -1,6 +1,8 @@ static unsigned mii_rd(ioaddr_t ioaddr, u_char phyaddr, u_char phyreg); +static struct pcmcia_driver ZZZ_driver = { + .owner = THIS_MODULE, +}; int init(void) { - foo(); } protox.res warning: line 14: should x be a metavariable? warning: line 16: should x be a metavariable? ptrar.res diff = --- tests/ptrar.c +++ /tmp/cocci-output-22122-79c67b-ptrar.c @@ -1,8 +1,8 @@ int main () { struct foo *x; struct foo y[12]; - *y = 4; - *x = 2; - a = sizeof x; - b = sizeof "foo"; + *12 = 4; + *20 = 2; + a = sizeof 20; + b = sizeof 12; } ptrconstptr.res diff = --- tests/ptrconstptr.c +++ /tmp/cocci-output-22122-36da38-ptrconstptr.c @@ -1,3 +1,3 @@ void main() { - const char * const * x; + const char * const *y; } python_iteration.res 1 pending new file instances 0 pending original file instances python_mdecl.res warning: rule starting on line 14: inherited metavariable unbound not used in the -, +, or context code (ONCE) already tagged but only removed, so safe diff = --- tests/python_mdecl.c +++ /tmp/cocci-output-22122-168219-python_mdecl.c @@ -1,5 +1,4 @@ -int one () { if (c < 0) return 12; return x < 0; } + int one () { return x < 0; } int one () { return rvw; } int two () { if (c < 0) return 21; return y; } -int one () { int c; if (c) return 12; return x < 0; } python_mdeclp.res diff = --- tests/python_mdeclp.c +++ /tmp/cocci-output-22122-6bc34d-python_mdeclp.c @@ -1,2 +1,2 @@ -int one() { return 1; } + int two() { return 1; } python_poscon.res diff = --- tests/python_poscon.c +++ /tmp/cocci-output-22122-698e9f-python_poscon.c @@ -2,8 +2,8 @@ f(0); g(0); g(0); - g(0); - g(0); - g(0); - g(0); + g(27); + g(27); + g(27); + g(27); } qualifier.res diff = --- tests/qualifier.c +++ /tmp/cocci-output-22122-352e6d-qualifier.c @@ -1,11 +1,11 @@ int *foo(const int *i) { - return (int *)i; + return (survived_r1) i; } int *foo2(int *i) { - return (int *)i; + return i; } struct bar { @@ -16,15 +16,15 @@ int *baz(const struct bar *b) { if (b->i) - return (int *)&b->i; + return (survived_r1)&b->i; else - return (int *)&b->j[0]; + return (survived_r1)&b->j[0]; } int *baz2(struct bar *b) { if (b->i) - return (int *)&b->i; + return &b->i; else - return (int *)&b->j[0]; + return &b->j[0]; } range.res diff = --- tests/range.c +++ /tmp/cocci-output-22122-4febfe-range.c @@ -1,17 +1,8 @@ int main() { - f(1); - f(1,2); - f(1,2,3); f(1,2,3,4); f(1,2,3,4,5); - g(1); - g(1,2); - g(1,2,3); g(1,2,3,4); g(1,2,3,4,5); - h(1); - h(1,2); - h(1,2,3); h(1,2,3,4); h(1,2,3,4,5); } rb.res diff = --- tests/rb.c +++ /tmp/cocci-output-22122-666241-rb.c @@ -1,2 +1 @@ -RB_DECLARE_CALLBACKS_MAX(static, augment_callbacks, struct drbd_interval, -rb, sector_t, end, NODE_END); + rcu3.res diff = --- tests/rcu3.c +++ /tmp/cocci-output-22122-494dbf-rcu3.c @@ -3,6 +3,6 @@ struct list_head *pos; struct mtd_chip_driver *this; - this = list_entry(pos, typeof(*this), list); - this = list_entry(pos, struct foo, list); + this = list_entry(_X(pos), typeof(*this), list); + this = list_entry(_X(pos), struct foo, list); } regexp.res diff = --- tests/regexp.c +++ /tmp/cocci-output-22122-b957c4-regexp.c @@ -1,9 +1,23 @@ int main(void) { int foo; +int foo_begins_by_foo; +int foo_ends_by_foo; +int foo_contains_foo; +int foo_is_an_id; int bar; +int bar_doesn_t_contain_foo; +int bar_is_an_id; int foobar; +int foobar_begins_by_foo; +int foobar_contains_foo; +int foobar_is_an_id; int barfoobar; +int barfoobar_contains_foo; +int barfoobar_is_an_id; int barfoo; +int barfoo_ends_by_foo; +int barfoo_contains_foo; +int barfoo_is_an_id; } regexp2.res diff = --- tests/regexp2.c +++ /tmp/cocci-output-22122-419bf8-regexp2.c @@ -2,9 +2,23 @@ int main(void) { int t0 = FOO; +int t0_equals_cst_that_begins_by_FOO; +int t0_equals_cst_that_ends_by_FOO; +int t0_equals_cst_that_contains_FOO; +int t0_is_constant; int t1 = BAR; +int t1_equals_cst_that_doesn_t_contain_FOO; +int t1_is_constant; int t2 = FOOBAR; +int t2_equals_cst_that_begins_by_FOO; +int t2_equals_cst_that_contains_FOO; +int t2_is_constant; int t3 = BARFOOBAR; +int t3_equals_cst_that_contains_FOO; +int t3_is_constant; int t4 = BARFOO; +int t4_equals_cst_that_ends_by_FOO; +int t4_equals_cst_that_contains_FOO; +int t4_is_constant; } regexp3.res diff = --- tests/regexp3.c +++ /tmp/cocci-output-22122-d948f7-regexp3.c @@ -2,10 +2,27 @@ int main(void) { char *t0 = "FOO"; +char *t0_equals_cst_that_begins_by_FOO; +char *t0_equals_cst_that_ends_by_FOO; +char *t0_equals_cst_that_contains_FOO; +char *t0_is_constant; char *t1 = "BAR"; +char *t1_equals_cst_that_doesn_t_contain_FOO; +char *t1_is_constant; char *t2 = "FOOBAR"; +char *t2_equals_cst_that_begins_by_FOO; +char *t2_equals_cst_that_contains_FOO; +char *t2_is_constant; char *t3 = "BARFOOBAR"; +char *t3_equals_cst_that_contains_FOO; +char *t3_is_constant; char *t4 = "BARFOO"; +char *t4_equals_cst_that_ends_by_FOO; +char *t4_equals_cst_that_contains_FOO; +char *t4_is_constant; char *s0 = "%s"; +char *s0_is_a_format_for_at_least_a_string; +char *s0_equals_cst_that_doesn_t_contain_FOO; +char *s0_is_constant; } relevant_position.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_bfe400.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_bfe400.ml Compilation OK! Loading ML code of the SP... diff = --- tests/relevant_position.c +++ /tmp/cocci-output-22122-c36e74-relevant_position.c @@ -1,4 +1,4 @@ -struct blah { struct list_head xxx; }; + struct sk_buff { int x; rem1.res diff = --- tests/rem1.c +++ /tmp/cocci-output-22122-5caf18-rem1.c @@ -1,5 +1,4 @@ int main () { xxx(); - if (x) { foo(); } yyy(); } rem2.res diff = --- tests/rem2.c +++ /tmp/cocci-output-22122-ec3705-rem2.c @@ -1,5 +1,4 @@ int main () { xxx(); - if (x) foo(); yyy(); } remaft.res diff = --- tests/remaft.c +++ /tmp/cocci-output-22122-f0eb2b-remaft.c @@ -1,8 +1,6 @@ int main() { #ifdef BLAH - a(); #endif - b(); c() #ifdef BLAH ; remcom.res diff = --- tests/remcom.c +++ /tmp/cocci-output-22122-8f4c95-remcom.c @@ -3,20 +3,12 @@ Operation *op ) { if ( LogTest( LDAP_DEBUG_ANY ) ) { - char buf[ SLAP_TEXT_BUFLEN ]; - /* this lock is required; however, * it's invoked only when logging is on */ ldap_pvt_thread_mutex_lock( &mt->mt_uri_mutex ); - snprintf( buf, sizeof( buf ), - "retrying URI=\"%s\" DN=\"%s\"", - mt->mt_uri, - BER_BVISNULL( &msc->msc_bound_ndn ) ? - "" : msc->msc_bound_ndn.bv_val ); + Debug(LDAP_DEBUG_ANY, merged, op->o_log_prefix, + candidate, mt->mt_uri, + BER_BVISNULL(&msc->msc_bound_ndn) ? "" : msc->msc_bound_ndn.bv_val); ldap_pvt_thread_mutex_unlock( &mt->mt_uri_mutex ); - - Debug( LDAP_DEBUG_ANY, - "%s asyncmeta_retry[%d]: %s.\n", - op->o_log_prefix, candidate, buf ); } } remodif.res diff = --- tests/remodif.c +++ /tmp/cocci-output-22122-ab0e6b-remodif.c @@ -5,7 +5,7 @@ DEB_EE("\n"); - hexium = kzalloc(sizeof(struct hexium), GFP_KERNEL); + hexium = kzalloc(sizeof(*hexium), GFP_KERNEL); hexium->i2c_adapter = (struct i2c_adapter) { .name = "hexium gemini", }; remove-code-in-branch1.res diff = --- tests/remove-code-in-branch1.c +++ /tmp/cocci-output-22122-e6ab27-remove-code-in-branch1.c @@ -1,7 +1,7 @@ int main(void) { if (a > 1) - c(); + {} return 0; } remove_call.res diff = --- tests/remove_call.c +++ /tmp/cocci-output-22122-87670c-remove_call.c @@ -1,6 +1,2 @@ int main () { - int x = 3 + FN() + FN(); - x = 3 + FN() + FN(); - FN(); - return 3 + FN() + FN(); } remove_cast_attr.res diff = --- tests/remove_cast_attr.c +++ /tmp/cocci-output-22122-2f79a7-remove_cast_attr.c @@ -2,9 +2,9 @@ int func() { - int *a = (int __cast_attr) x; - int *a = (__cast_attr int) x; - int *a = (int __cast_attr *) x; - int *a = (int *__cast_attr) x; + int *a = (int) x; + int *a = (int) x; + int *a = (int *) x; + int *a = (int *) x; int *a = (int) x; } remove_cast_attr_allminus.res diff = --- tests/remove_cast_attr_allminus.c +++ /tmp/cocci-output-22122-4e4372-remove_cast_attr_allminus.c @@ -2,9 +2,9 @@ int func() { - int *a = (int __cast_attr) x; - int *a = (__cast_attr int) x; - int *a = (int __cast_attr *) x; - int *a = (int *__cast_attr) x; - int *a = (int) x; + int *a = (int *) x; + int *a = (int *) x; + int *a = (int *) x; + int *a = (int *) x; + int *a = (int *) x; } remove_macrodecl_attr.res diff = --- tests/remove_macrodecl_attr.c +++ /tmp/cocci-output-22122-497349-remove_macrodecl_attr.c @@ -1,3 +1,3 @@ #define __macro_attr MACROANNOTATION -DECLARER(a, b) __macro_attr; +DECLARER(a, b); remove_metaattr.res diff = --- tests/remove_metaattr.c +++ /tmp/cocci-output-22122-774812-remove_metaattr.c @@ -1,5 +1,5 @@ int main() { - int b __attr__ = 1; + int b = 1; int b = 1; return 0; } remove_param_attrs.res diff = --- tests/remove_param_attrs.c +++ /tmp/cocci-output-22122-e7aa57-remove_param_attrs.c @@ -6,7 +6,7 @@ return 0; } -int func3(int x, int y __nocast) { +int func3(int x, int y) { return 0; } @@ -14,7 +14,7 @@ return 0; } -int func2(int x, int __attribute__((nocast)) y) { +int func2(int x, int y) { return 0; } remove_struct_endattr.res diff = --- tests/remove_struct_endattr.c +++ /tmp/cocci-output-22122-bb38b0-remove_struct_endattr.c @@ -4,4 +4,4 @@ int a; int b; int c; -} __struct_endattr; +}; remove_struct_endattr_allminus.res diff = --- tests/remove_struct_endattr_allminus.c +++ /tmp/cocci-output-22122-3fa9f7-remove_struct_endattr_allminus.c @@ -1,13 +1 @@ #define __struct_endattr MACROANNOTATION - -struct abcd { - int a; - int b; - int c; -} __struct_endattr; - -struct defg { - int a; - int b; - int c; -}; remparam.res diff = --- tests/remparam.c +++ /tmp/cocci-output-22122-a5fcbc-remparam.c @@ -1,14 +1,14 @@ static irqreturn_t -snd_ad1889_interrupt(void *dev_id, int x, - struct pt_regs *regs) +snd_ad1889_interrupt(void *dev_id, int x + ) { return IRQ_HANDLED; } static irqreturn_t -snd_ad1889_interrupt(void *dev_id, - struct pt_regs *regs) +snd_ad1889_interrupt(void *dev_id + ) { return IRQ_HANDLED; rems.res diff = --- tests/rems.c +++ /tmp/cocci-output-22122-d8ebf5-rems.c @@ -1,5 +1,4 @@ int main () { x(); - if (x) a(); y(); } rems1.res diff = --- tests/rems1.c +++ /tmp/cocci-output-22122-1404e9-rems1.c @@ -1,5 +1,4 @@ int main () { x(); - a(); y(); } remstruct.res warning: line 2: should mpuio_irq_chip be a metavariable? warning: line 8: should xxx be a metavariable? diff = --- tests/remstruct.c +++ /tmp/cocci-output-22122-991f85-remstruct.c @@ -1,13 +1,4 @@ -static struct irqchip mpuio_irq_chip = { - .ack = mpuio_ack_irq, - .mask = mpuio_mask_irq, - .unmask = mpuio_unmask_irq -}; -static struct irqchip xxx = { - .a = 12, - .b = 15, -}; int hello ( String input ) { replace_typedef.res diff = --- tests/replace_typedef.c +++ /tmp/cocci-output-22122-bb20f8-replace_typedef.c @@ -3,8 +3,8 @@ typedef int int_t; int main() { - foo_t x; - int_t y; + struct foo x; + int y; x.x = 12; return x.x + y; } replacement3.res diff = --- tests/replacement3.c +++ /tmp/cocci-output-22122-c902f9-replacement3.c @@ -1,6 +1,5 @@ int main() { - int *i; { - i = e(el); + int *i = e(el); } } reserved.res diff = --- tests/reserved.c +++ /tmp/cocci-output-22122-22696a-reserved.c @@ -1,7 +1,4 @@ int main() { - f(1,1); - f(2,2,2); - f(3,3,3,3); f(1,2); f(2,3,2); f(3,4,3,3); retest.res diff = --- tests/retest.c +++ /tmp/cocci-output-22122-00bf70-retest.c @@ -1,6 +1,6 @@ int main () { foo(); - if (x) + if (f(x)) return 3; bar(); } retmacro.res diff = --- tests/retmacro.c +++ /tmp/cocci-output-22122-7386e0-retmacro.c @@ -1,6 +1,6 @@ #define REG_PATTERN_TEST(R, M, W) \ { \ - for (pat = 0; pat < sizeof(test)/sizeof(test[0]); pat++) { \ + for (pat = 0; pat < ARRAY_SIZE(test); pat++) { \ if (value != (test[pat] & W & M)) { \ return 1; \ } \ @@ -10,7 +10,7 @@ #define REG_PATTERN_TEST2(R, M, W) \ { \ - for (pat = 0; pat < sizeof(test)/sizeof(test[0]); pat++) { \ + for (pat = 0; pat < ARRAY_SIZE(test); pat++) { \ if (value != (test[pat] & W & M)) { \ } \ } \ rets.res return.res warning: rule starting on line 18: metavariable S not used in the - or context code diff = --- tests/return.c +++ /tmp/cocci-output-22122-0e14f3-return.c @@ -1,6 +1,9 @@ void foo(int y) { int x; - if (x) { aaa(); bbb(); return; } - if (x) { aaa(); bbb(); return; } + if (x) { aaa(); bbb(); before_return(); + return; } + if (x) { aaa(); bbb(); before_return(); + return; } ccc(); + before_return(); } return_implicit.res diff = --- tests/return_implicit.c +++ /tmp/cocci-output-22122-429374-return_implicit.c @@ -1,4 +1,5 @@ void main(void) { foo(); + return -ENODEV; } retval.res diff = --- tests/retval.c +++ /tmp/cocci-output-22122-30951b-retval.c @@ -1,21 +1,15 @@ int main () { if (retval1) { - if (retval2 != -ENODEV) { - foo(); - return 3; - } - bar(); + foo(); + return 3; } return 6; } int second () { if (retval1) { - if (retval2 != -ENODEV) { - foo(); - goto out; - } - bar(); + foo(); + goto out; } out: return 6; retval2.res diff = --- tests/retval2.c +++ /tmp/cocci-output-22122-a8e24e-retval2.c @@ -11,7 +11,7 @@ return -1; } -int getlen(int *input, size_t maxlen, int delim, size_t *result) { +int newname(int *input, size_t maxlen, int delim, size_t *result) { size_t i; for (i = 0; i < maxlen; ++i) { if (input[i] == delim) { reusevar.res warning: rule starting on line 8: metavariable p1 not used in the - or context code diff = --- tests/reusevar.c +++ /tmp/cocci-output-22122-2908a9-reusevar.c @@ -1,8 +1,5 @@ int main () { - f(x); - f(q); - f(x); - f(q); - f(x); - f(q); + g(x); + g(x); + g(x); } roa.res diff = --- tests/roa.c +++ /tmp/cocci-output-22122-899f04-roa.c @@ -1,10 +1,10 @@ -struct arm_delay_ops arm_delay_ops __ro_after_init = { +struct found used __ro_after_init = { .delay = __loop_delay, .const_udelay = __loop_const_udelay, .udelay = __loop_udelay, }; -struct arm_delay_ops2 arm_delay_ops2 = { +struct arm_delay_ops2 used = { .delay = __loop_delay, .const_udelay = __loop_const_udelay, .udelay = __loop_udelay, rptr.res diff = --- tests/rptr.c +++ /tmp/cocci-output-22122-cd75d4-rptr.c @@ -1,6 +1,4 @@ int foo(struct resource *r) { - if (r == NULL) - return 0; return 1; } same_expr.res diff = --- tests/same_expr.c +++ /tmp/cocci-output-22122-1716b7-same_expr.c @@ -1,6 +1,5 @@ void main(int i) { - f(1,1); f(1,2); } scope_problem.res diff = --- tests/scope_problem.c +++ /tmp/cocci-output-22122-6340e1-scope_problem.c @@ -1,15 +1,7 @@ void main(int i) { - - int a; - foo(a); - a = 1; - if(1) { int a; - a = 2; } - - a = 3; } sd_2.res diff = --- tests/sd_2.c +++ /tmp/cocci-output-22122-5c9355-sd_2.c @@ -1 +1 @@ - struct particle_data_extra { MyFloat Mass; }; + struct particle_data_extra { MyFloat *Mass; }; serio.res shared_brace.res warning: rule starting on line 1: metavariable S not used in the - or context code warning: rule starting on line 1: metavariable x not used in the - or context code warning: rule starting on line 1: metavariable T not used in the - or context code diff = --- tests/shared_brace.c +++ /tmp/cocci-output-22122-e869b1-shared_brace.c @@ -1,9 +1,7 @@ int __init ixj_init(void) { - if (pci_present()) { - if ((probe = ixj_probe_pci(&cnt)) < 0) { - return probe; - } - } + if ((probe = ixj_probe_pci(&cnt)) < 0) { + return probe; + } } signed.res warning: line 4: should x be a metavariable? warning: line 10: should a be a metavariable? warning: line 16: should m be a metavariable? warning: line 23: should p be a metavariable? diff = --- tests/signed.c +++ /tmp/cocci-output-22122-da6f00-signed.c @@ -1,5 +1,5 @@ -int main(signed *m, unsigned *p) { - signed x; - unsigned a; +int main(signed *n, unsigned *q) { + signed y; + unsigned b; return x; } sis.res diff = --- tests/sis.c +++ /tmp/cocci-output-22122-27aac8-sis.c @@ -1,4 +1,4 @@ -DECLARE_MUTEX(disconnect_sem); +DEFINE_MUTEX(disconnect_sem); /*int foo() { return; }*/ // if uncomment, and erase newline, then have Line ID EOF and // some patterns in parsing_hacks don't apply anymore :( sizeof.res diff = --- tests/sizeof.c +++ /tmp/cocci-output-22122-c08db6-sizeof.c @@ -1,7 +1,7 @@ int main (int param) { - int i = sizeof(3); - int j = sizeof 3; + int i = sizeof(int); + int j = sizeof(int); int k = sizeof (int *); } sizeof_julia.res diff = --- tests/sizeof_julia.c +++ /tmp/cocci-output-22122-212535-sizeof_julia.c @@ -1,5 +1,5 @@ static int typhoon_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { - copy_from_user(&v, arg, sizeof(v)); + foo(); } sizeptr.res diff = --- tests/sizeptr.c +++ /tmp/cocci-output-22122-96d3ee-sizeptr.c @@ -5,7 +5,7 @@ ssize_t b; ptrdiff_t c; - foo(sizeof *x,a); - foo(*x,b); - foo(x-y,c); + foo(ASIZE(sizeof ANINT(*x)),ASIZE(a)); + foo(ANINT(*x),ASSIZE(b)); + foo(APTRDIFF(x - y),APTRDIFF(c)); } sizestar.res diff = --- tests/sizestar.c +++ /tmp/cocci-output-22122-d1a1fd-sizestar.c @@ -1,7 +1,7 @@ int main () { max = num_var_ranges; if (fcount == NULL) { - fcount = kzalloc(max * sizeof *fcount, GFP_KERNEL); + fcount = kzalloc(max, sizeof *fcount, GFP_KERNEL); if (!fcount) return -ENOMEM; FILE_FCOUNT(file) = fcount; skip.res diff = --- tests/skip.c +++ /tmp/cocci-output-22122-bf02ca-skip.c @@ -1,5 +1,3 @@ int main () { - f(1); - f(2); - g(); + h(); } sl2.res diff = --- tests/sl2.c +++ /tmp/cocci-output-22122-db703c-sl2.c @@ -1,11 +1,14 @@ int main () { + something(); + others(); + more(); +} + +int other () { one(); two(); one(); two(); -} - -int other () { one(); two(); one(); slen.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_a2206a.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_a2206a.ml Compilation OK! Loading ML code of the SP... diff = --- tests/slen.c +++ /tmp/cocci-output-22122-e3d80e-slen.c @@ -3,16 +3,10 @@ one(); } if (x) { - one(); - two(); - three(); + was3(); } if (x) { - one(); - two(); - three(); - four(); - five(); + was5(); } end(); } smallfn.res diff = --- tests/smallfn.c +++ /tmp/cocci-output-22122-f67e99-smallfn.c @@ -1,30 +1,65 @@ int main () { if (y) { - one(); + { + one(); + foo(); + } + foo(); } else { - two(); + { + two(); + foo(); + } + foo(); } + foo(); while (y) { - one(); + { + one(); + foo(); + } + foo(); } - do { - one(); - } while(y); + foo(); + { + do { + one(); + foo(); + } + foo(); while(y); + foo(); + } switch (y) { - case 12:one(); - case 27:two(); + case 12: + foo();one(); + foo(); + case 27: + foo();two(); + foo(); } + foo(); { one(); + foo(); } + foo(); } int main () { if (y) { - one(); + { + one(); + foo(); + } + foo(); } else { - two(); + { + two(); + foo(); + } + foo(); } + foo(); } snprintf.res diff = --- tests/snprintf.c +++ /tmp/cocci-output-22122-0904b7-snprintf.c @@ -1,4 +1,4 @@ static ssize_t idletimer_tg_show(char *buf) { - return snprintf(buf, PAGE_SIZE, "0\n"); + return sprintf(buf, PAGE_SIZE, "0\n"); } sp.res diff = --- tests/sp.c +++ /tmp/cocci-output-22122-384b7b-sp.c @@ -1,4 +1,4 @@ -typedef struct { +struct name { unsigned long gcr; struct pci_dev *pci; -} snd_card_als4000_t; +}; spaces.res spacing.res diff = --- tests/spacing.c +++ /tmp/cocci-output-22122-f1a6ea-spacing.c @@ -1,8 +1,21 @@ typedef int *foo; +void *bar(int *baz) +{ + return baz; +} + int f(int x) { one(); if (x) { two(); + if (y) { + test(); + } } +} + +void *bar(int *baz) +{ + return baz; } spl.res diff = --- tests/spl.c +++ /tmp/cocci-output-22122-225d92-spl.c @@ -2,11 +2,13 @@ spin_lock(&isp116x->lock); /* take idle endpoints out of the schedule */ if (!list_empty(&ep->hep->urb_list)) { + spin_unlock(&isp116x->lock); return; } /* async deschedule */ if (!list_empty(&ep->schedule)) { + spin_unlock(&isp116x->lock); return; } } split_funcall1.res diff = --- tests/split_funcall1.c +++ /tmp/cocci-output-22122-7b25cc-split_funcall1.c @@ -1,4 +1,4 @@ int main(void) { - f(0, 1, 2); + g(0, 1, 2); } split_funcall2.res diff = --- tests/split_funcall2.c +++ /tmp/cocci-output-22122-6449ae-split_funcall2.c @@ -1,4 +1,4 @@ int main(void) { - f(0, 1, 2); + g(0, 1, 2); } starprint.res diff = --- tests/starprint.c +++ /tmp/cocci-output-22122-e8b8b7-starprint.c @@ -1,6 +1,6 @@ typedef int *LPINT; -int foo(LPINT x, LPINT *y) +int foo(int *x, int **y) { return *x == **y; } static.res diff = --- tests/static.c +++ /tmp/cocci-output-22122-106e27-static.c @@ -1,4 +1,3 @@ static inline int i8042_read_data(void) { - return jazz_kh->data; } stm1.res stm10.res diff = --- tests/stm10.c +++ /tmp/cocci-output-22122-4795e7-stm10.c @@ -1,6 +1,7 @@ int main(int x) { f(); if (x) replace(); + h(); g(); if (x) replace(); } stm10_ver1.res diff = --- tests/stm10_ver1.c +++ /tmp/cocci-output-22122-c3d9ec-stm10_ver1.c @@ -1,5 +1,6 @@ int main(int x) { f(); { replace(); replace();} + h(); g(); } stm2.res diff = --- tests/stm2.c +++ /tmp/cocci-output-22122-c4c09e-stm2.c @@ -1,5 +1,4 @@ int main(int x) { f(); - replace(); g(); } stm3.res diff = --- tests/stm3.c +++ /tmp/cocci-output-22122-2ad418-stm3.c @@ -1,5 +1,5 @@ int main(int x) { f(); - replace(); + g(); g(); } stm4.res diff = --- tests/stm4.c +++ /tmp/cocci-output-22122-dc7e56-stm4.c @@ -2,4 +2,5 @@ f(); replace(); g(); + g(); } stm5.res diff = --- tests/stm5.c +++ /tmp/cocci-output-22122-3ac4ec-stm5.c @@ -1,5 +1,7 @@ int main(int x) { f(); + h(); replace(); + g(); g(); } stm6.res diff = --- tests/stm6.c +++ /tmp/cocci-output-22122-21e0af-stm6.c @@ -1,5 +1,6 @@ int main(int x) { f(); + h(); replace(); g(); } stm7.res stm8.res diff = --- tests/stm8.c +++ /tmp/cocci-output-22122-4f9e1f-stm8.c @@ -1,5 +1,5 @@ int main(int x) { f(); - replace(); + g(); replace(); g(); } stm_exp.res diff = --- tests/stm_exp.c +++ /tmp/cocci-output-22122-c213e5-stm_exp.c @@ -1,7 +1,5 @@ int main() { - abs(); foo(bar,x); - abs(); foo(h(a),0); abs(); foo(0,0); stmt.res diff = --- tests/stmt.c +++ /tmp/cocci-output-22122-806a6a-stmt.c @@ -1,4 +1,5 @@ int f() { int x; + foo(); xxx(); } stmt_removed_and_added.res diff = --- tests/stmt_removed_and_added.c +++ /tmp/cocci-output-22122-094853-stmt_removed_and_added.c @@ -1,6 +1,6 @@ void main() { - for(i; j; k) { + while (1) { if (1) continue; c++; str_init.res warning: line 4: should x be a metavariable? diff = --- tests/str_init.c +++ /tmp/cocci-output-22122-f81409-str_init.c @@ -1,7 +1,3 @@ struct foo x = { - .aaa = 5, - .rrr = 1, .xxx= 12, - .bbb = 2, - .ccc = 4, }; strangeorder.res warning: rule starting on line 1: metavariable f not used in the - or context code diff = --- tests/strangeorder.c +++ /tmp/cocci-output-22122-72dfeb-strangeorder.c @@ -4,8 +4,10 @@ struct i2c_client *client; client = kzalloc(sizeof *client, GFP_KERNEL); - if (!client) + if (!client) { + client = NULL; return NULL; + } client->adapter = adap; if (status < 0) { strid.res diff = --- tests/strid.c +++ /tmp/cocci-output-22122-c567a3-strid.c @@ -1,4 +1,4 @@ int main () { struct foo *a; - print(a); + print(f(a, 12)); } strid2.res diff = --- tests/strid2.c +++ /tmp/cocci-output-22122-e735f6-strid2.c @@ -3,8 +3,8 @@ enum foo1 *b; struct foo a1; enum foo1 b1; - print(a); - print(b); + print(f(a, 12)); + print(f(b, 12)); print(a1.x); print(b1); } string.res strtest.res diff = --- tests/strtest.c +++ /tmp/cocci-output-22122-3eee28-strtest.c @@ -1,3 +1,3 @@ int main() { - printf("hello\n"); + puts("hello\n"); } struct.res diff = --- tests/struct.c +++ /tmp/cocci-output-22122-654316-struct.c @@ -8,7 +8,5 @@ int main() { struct foo *a; - f(a->first); - f(a->second); } struct_metavar.res diff = --- tests/struct_metavar.c +++ /tmp/cocci-output-22122-631f8b-struct_metavar.c @@ -9,9 +9,6 @@ int main() { struct foo *a; struct notfoo *b; - f(a->first); - f(a->second); - f(a->second); f(b->first); f(b->second); } struct_typedef.res diff = --- tests/struct_typedef.c +++ /tmp/cocci-output-22122-eee08d-struct_typedef.c @@ -1,5 +1,5 @@ -typedef struct dvb_frontend { - struct dvb_frontend_ops* ops; +typedef struct dvb2_frontend { + struct dvb_frontend_ops ops; } xx_t; typedef struct { structfoo.res warning: line 5: should my_foo be a metavariable? diff = --- tests/structfoo.c +++ /tmp/cocci-output-22122-7e600d-structfoo.c @@ -1,4 +1 @@ -struct foo my_foo[] = { -.a = 1, -.u.b = 42, -}; +FOO(1, 42); structptr_func.res diff = --- tests/structptr_func.c +++ /tmp/cocci-output-22122-138795-structptr_func.c @@ -1,5 +1,6 @@ void func(struct socket *sock, struct sockaddr *uaddr, int peer) { - sock->ops->getname(sock, uaddr, peer); + int ___addr_len; + sock->ops->getname(sock, uaddr, &___addr_len, peer); return; } substruct.res diff = --- tests/substruct.c +++ /tmp/cocci-output-22122-71fbb9-substruct.c @@ -1,5 +1,5 @@ struct a { int a; } x[2] = { - { .a = 7, }, - { .a = 17, }, + { DECLARE_A(7), }, + { DECLARE_A(17), }, }; sw.res diff = --- tests/sw.c +++ /tmp/cocci-output-22122-3d39ab-sw.c @@ -1 +1 @@ -int f() { switch (x) { case FOO: return; } } + swap3.res diff = --- tests/swap3.c +++ /tmp/cocci-output-22122-e4b40a-swap3.c @@ -2,7 +2,7 @@ struct coeff *coeff, int i, int nmeasurement) { - int im, ix, iy, temp; + int im, ix, iy; for (iy = ix + 1; iy <= MAXIQCAL - 1; iy++) { // if ( iy <= MAXIQCAL - 1) { switch.res diff = --- tests/switch.c +++ /tmp/cocci-output-22122-f2010b-switch.c @@ -3,6 +3,5 @@ default: break; case X: - f(); } } switchdecl.res warning: switch_1: metavariable S_1 not used in the - or context code diff = --- tests/switchdecl.c +++ /tmp/cocci-output-22122-08822e-switchdecl.c @@ -4,7 +4,7 @@ { int x; int x; - case 2: x=y; + case 2: break; case 4: j++; symbol.res warning: line 12: should g be a metavariable? diff = --- tests/symbol.c +++ /tmp/cocci-output-22122-ba75cd-symbol.c @@ -1,7 +1,5 @@ int main() { int f = 0; - f = 3; - return f; } td.res diff = --- tests/td.c +++ /tmp/cocci-output-22122-3d8d6c-td.c @@ -1,5 +1,5 @@ -struct foo {int a;}; +struct foo {int b;}; -typedef struct blah {int a;} name; +typedef struct blah {int b;} name; -typedef struct {int a;} xxx; +typedef struct {int b;} xxx; tdnl.res diff = --- tests/tdnl.c +++ /tmp/cocci-output-22122-7a5ae5-tdnl.c @@ -4,5 +4,4 @@ td2.attr; - foo(); } tdplus.res diff = --- tests/tdplus.c +++ /tmp/cocci-output-22122-4ddb88-tdplus.c @@ -1 +1 @@ -typedef int (*filler_t)(int, int); +typedef int (*filler_t)(int, struct address_space *, int); tern.res diff = --- tests/tern.c +++ /tmp/cocci-output-22122-a00813-tern.c @@ -1,4 +1,4 @@ int main () { - return (wc >= 0 && wc <= 0x7f ? wc : 0x7f); + return wc >= 0 && wc <= 0x7f ? wc : 0x7f; } test0.res diff = --- tests/test0.c +++ /tmp/cocci-output-22122-c8ecd1-test0.c @@ -1,5 +1,3 @@ int main(int i) { - f(1); f(2); - f(1); } test1.res diff = --- tests/test1.c +++ /tmp/cocci-output-22122-2c6970-test1.c @@ -6,9 +6,9 @@ x(); if(1) { // h(3); - h(3); + h(1, 3, 2); } else { - h(4); + h(1, 4, 2); } test10.res test10_ver1.res diff = --- tests/test10_ver1.c +++ /tmp/cocci-output-22122-b0ca87-test10_ver1.c @@ -3,7 +3,7 @@ f(1); g(1); //g(1); - h(1); + h(1, 1); h(1); } test11.res test11_ver1.res diff = --- tests/test11_ver1.c +++ /tmp/cocci-output-22122-339350-test11_ver1.c @@ -2,6 +2,6 @@ f(1); g(1); //g(1); - h(1); + h(1, 1); } test12.res diff = --- tests/test12.c +++ /tmp/cocci-output-22122-9a5f58-test12.c @@ -1,6 +1,6 @@ void main(int foo) { - f(1); + f(1, 2); foo(); g(2); test2.res diff = --- tests/test2.c +++ /tmp/cocci-output-22122-bc19b1-test2.c @@ -2,7 +2,7 @@ { f(1,2,3); if(1) - g(1); + h(1); else - g(1); + h(1); } test3.res diff = --- tests/test3.c +++ /tmp/cocci-output-22122-fd9c94-test3.c @@ -4,7 +4,7 @@ f(3); if(1) - g(1); + h(3, 1); else - g(2); + h(3, 2); } test4.res diff = --- tests/test4.c +++ /tmp/cocci-output-22122-b04cb1-test4.c @@ -1,7 +1,6 @@ void main() { f(1,2,3); - h(1); if(1) g(1); else test5.res diff = --- tests/test5.c +++ /tmp/cocci-output-22122-9d0eb9-test5.c @@ -12,9 +12,9 @@ f(1); if(1) { - g(1); + h(1); } else { - g(1); + h(1); } // g(1); // if add this then the CTL even with the direct path will this time test5_ver1.res diff = --- tests/test5_ver1.c +++ /tmp/cocci-output-22122-f55e0c-test5_ver1.c @@ -12,9 +12,9 @@ f(1); if(1) { - g(1); + h(1); } else { - g(1); + h(1); } g(1); // if add this then the CTL even with the direct path will this time test6.res diff = --- tests/test6.c +++ /tmp/cocci-output-22122-4399ff-test6.c @@ -4,13 +4,13 @@ { /* a comment */ - f(4) + f(5); + f(4, "foo") + f(5, "foo"); //f(f(3)); // if uncomment, should have the warning "already minused token" - if(f(1)) - f(1); + if(f(1, "foo")) + f(1, "foo"); else - f(2); + f(2, "foo"); if(1) g(1); @@ -20,7 +20,7 @@ void mainbis() { - f(10); + f(10, "foo"); } test7.res diff = --- tests/test7.c +++ /tmp/cocci-output-22122-0b52ba-test7.c @@ -2,10 +2,12 @@ { if(1) { - f(1); + f(1, "foo"); + f(1, "bar"); } - f(3); + f(3, "foo"); + f(3, "bar"); /* nice comment */ } test8.res diff = --- tests/test8.c +++ /tmp/cocci-output-22122-dd7a7b-test8.c @@ -1,7 +1,6 @@ -void main(int foo) { +void main(char i, int foo) { float k; - int i; float j; { test9.res diff = --- tests/test9.c +++ /tmp/cocci-output-22122-3cbc18-test9.c @@ -4,9 +4,9 @@ // f(1); // if uncomment then problems g(2); if(1) { - h(3); + h(1, 3); } else { - h(4); + h(1, 4); } // if uncomment then problems test_s.res diff = --- tests/test_s.c +++ /tmp/cocci-output-22122-1e681e-test_s.c @@ -2,7 +2,7 @@ if (x-one) { one(); } - if (x-two) { + if (12) { one(); two(); } @@ -11,7 +11,7 @@ two(); three(); } - if (two) { + if (12) { while (x) { one(); } test_unsigned_meta.res warning: line 6: should x be a metavariable? warning: line 13: should y be a metavariable? warning: line 19: should q be a metavariable? warning: line 28: should m be a metavariable? warning: line 33: should x be a metavariable? warning: line 39: should y be a metavariable? diff = --- tests/test_unsigned_meta.c +++ /tmp/cocci-output-22122-0bfc06-test_unsigned_meta.c @@ -1,8 +1,12 @@ int main () { - unsigned int x; - signed int y; + signed int x; + char new_x; + unsigned int y; + char new_y; unsigned char q; - char m; + char r; + unsigned char s1; + signed char s2; return 0; } testand.res diff = --- tests/testand.c +++ /tmp/cocci-output-22122-ff59f0-testand.c @@ -1,5 +1,5 @@ int main () { f(1,2,3,4); - f(3,4,8,9); - f(8,9,3,4); + f(4,4,15,9); + f(15,9,4,4); } testand2.res diff = --- tests/testand2.c +++ /tmp/cocci-output-22122-400216-testand2.c @@ -1,6 +1,6 @@ int main () { f(1,2,3,4); - f(3,4,8,9); + m(3,4,80,9); g(8,9,3,4); } three_types.res diff = --- tests/three_types.c +++ /tmp/cocci-output-22122-1d3973-three_types.c @@ -7,5 +7,5 @@ { drm_via_blitq_t *blitq; - INIT_WORK(&blitq->wq, via_dmablit_workqueue,blitq); + INIT_WORK(&blitq->wq, via_dmablit_workqueue); } threea.res diff = --- tests/threea.c +++ /tmp/cocci-output-22122-9a2302-threea.c @@ -1,4 +1,3 @@ int main() { f(12); - q(12); } top.res diff = --- tests/top.c +++ /tmp/cocci-output-22122-4fa825-top.c @@ -1 +1 @@ -MODULE_PARM(suppress_pollack, "i"); +module_param(I, int, 0); topdec.res diff = --- tests/topdec.c +++ /tmp/cocci-output-22122-cae743-topdec.c @@ -5,4 +5,5 @@ /* Network device part of the driver */ static LIST_HEAD(tun_dev_list); -static struct ethtool_ops tun_ethtool_ops; +static const struct ethtool_ops tun_ethtool_ops; + topdec_ver1.res diff = --- tests/topdec_ver1.c +++ /tmp/cocci-output-22122-0a1982-topdec_ver1.c @@ -2,6 +2,5 @@ static int debug; #endif -/* Network device part of the driver */ +static const struct ethtool_ops tun_ethtool_ops; -static struct ethtool_ops tun_ethtool_ops; topdec_ver2.res diff = --- tests/topdec_ver2.c +++ /tmp/cocci-output-22122-1c1bc3-topdec_ver2.c @@ -5,4 +5,5 @@ /* Network device part of the driver */ int x; -static struct ethtool_ops tun_ethtool_ops; +static const struct ethtool_ops tun_ethtool_ops; + toplevel_macrostmt.res diff = --- tests/toplevel_macrostmt.c +++ /tmp/cocci-output-22122-a2aa74-toplevel_macrostmt.c @@ -2,7 +2,7 @@ { } -MODULE_PARM(x,y); +module_param(x, int, y); MODULE_AUTHOR("me"); toplevel_struct.res warning: line 5: should usb_stor_host_template be a metavariable? diff = --- tests/toplevel_struct.c +++ /tmp/cocci-output-22122-a4bb64-toplevel_struct.c @@ -3,6 +3,7 @@ .name = "usb-storage", .proc_name = "usb-storage", .proc_info2 = usb_storage_proc_info2, + .foo = 12, .proc_info = usb_storage_proc_info, .proc_dir = NULL, .info = usb_storage_info, @@ -72,11 +73,11 @@ void usb_storage_proc_info(int i) { - f(1); + g(1); } void usb_storage_proc_info2(int i) { - f(27); + g(27); } triplet.res diff = --- tests/triplet.c +++ /tmp/cocci-output-22122-9fa763-triplet.c @@ -1,5 +1,6 @@ typedef double dtriplet_t[3] ; // FIXME: such code would not be parsed on cocci side +typedef int itriplet_t[3]; int main() { return 0; tup.res warning: rule starting on line 10: metavariable C not used in the - or context code warning: rule starting on line 10: metavariable B not used in the - or context code diff = --- tests/tup.c +++ /tmp/cocci-output-22122-f0e961-tup.c @@ -1,7 +1,7 @@ static int cm206_block_ioctl(struct inode *inode, struct file *file, unsigned cmd, unsigned long arg) { - return cdrom_ioctl(&cm206_info, inode, cmd, arg); + return xxx(); } static struct block_device_operations cm206_bdops = twomatch.res diff = --- tests/twomatch.c +++ /tmp/cocci-output-22122-ba253b-twomatch.c @@ -1,5 +1,5 @@ int main() { bar(12,1); - xxx(12,1); + yyy(); } twoproto.res diff = --- tests/twoproto.c +++ /tmp/cocci-output-22122-09988d-twoproto.c @@ -1,11 +1,9 @@ static void tc574_config(dev_link_t *link); -static int tc574_attach(struct pcmcia_device *p_dev) +static int tc574_attach(struct pcmcia_device *link) { - dev_link_t *link = dev_to_instance(p_dev); } -static void tc574_detach(struct pcmcia_device *p_dev) +static void tc574_detach(struct pcmcia_device *link) { - dev_link_t *link = dev_to_instance(p_dev); } ty.res diff = --- tests/ty.c +++ /tmp/cocci-output-22122-afa696-ty.c @@ -1,4 +1,4 @@ int main () { - struct foo x; + const struct foo x; return 12; } ty1.res warning: line 7: should x be a metavariable? diff = --- tests/ty1.c +++ /tmp/cocci-output-22122-dd10b7-ty1.c @@ -1,4 +1,3 @@ int fn(int y) { char x; - foo(int,char); } ty_tyexp.res diff = --- tests/ty_tyexp.c +++ /tmp/cocci-output-22122-b4db91-ty_tyexp.c @@ -1,11 +1,11 @@ void main(double z) { - int x; - int y; + float x; + float y; } -int main(int z) { +float main(float z) { } -int main2(int z); +float main2(float z); tydisj.res warning: line 20: should a be a metavariable? warning: func: metavariable T not used in the - or context code diff = --- tests/tydisj.c +++ /tmp/cocci-output-22122-87b913-tydisj.c @@ -1,2 +1,3 @@ -int64_t foo() { int64_t a; int i; return i << 20; } +int64_t foo() { int64_t a; int i; xxx(); + return i << 20; } tyex.res diff = --- tests/tyex.c +++ /tmp/cocci-output-22122-f79a81-tyex.c @@ -1,12 +1,15 @@ typedef struct { double x; double y; +} Point; +typedef struct { char *name; + Point p; } Location; int main () { Location a; Location *b; - foo (a.x,a.y,a.name); - foo (b->x,b->y,b->name); + foo (a.p.x,a.p.y,a.name); + foo (b->p.x,b->p.y,b->name); } type.res warning: line 7: should x be a metavariable? diff = --- tests/type.c +++ /tmp/cocci-output-22122-e35413-type.c @@ -1,5 +1,5 @@ int foo() { - int x; + int *x; return 0; } type1.res diff = --- tests/type1.c +++ /tmp/cocci-output-22122-ed2b16-type1.c @@ -1,5 +1,5 @@ int foo() { - int x; + int * x; return 0; } type_and_var.res diff = --- tests/type_and_var.c +++ /tmp/cocci-output-22122-66071d-type_and_var.c @@ -1,22 +1,28 @@ int main1() { - size_t a, b; + size_t b; + int A; f(a,A); } int main2() { - size_t a, b; + size_t a; + int B; f(b,B); } int main3() { - size_t a, b, c; + int A; + int B; + int C; f(a,A); f(b,B); f(c,C); } int main4() { - size_t a, b, c; + size_t a; + int B; + int C; f(b,B); f(c,C); } type_and_var2.res diff = --- tests/type_and_var2.c +++ /tmp/cocci-output-22122-fa2750-type_and_var2.c @@ -1,22 +1,28 @@ int main1() { - size_t a, b; + size_t b; + int A; f(a,A); } int main2() { - size_t a, b; + size_t a; + int B; f(b,B); } int main3() { - size_t a, b, c; + int A; f(a,A); + int B; f(b,B); + int C; f(c,C); } int main4() { - size_t a, b, c; + size_t a; + int B; f(b,B); + int C; f(c,C); } type_annotated.res diff = --- tests/type_annotated.c +++ /tmp/cocci-output-22122-c1aad2-type_annotated.c @@ -4,7 +4,7 @@ struct foo2 j; int k; - j+i.foo+j.foo; + j+i.newfoo+j.foo; } @@ -15,6 +15,6 @@ struct foo2 j; int k; - j+i.foo+j.foo; + j+i.newfoo+j.foo; } type_constraints.res warning: line 32: should foo be a metavariable? warning: line 33: should xyz be a metavariable? diff = --- tests/type_constraints.c +++ /tmp/cocci-output-22122-58e2e6-type_constraints.c @@ -1,9 +1,9 @@ void f(void) { int i; char c; - float f; - int *foo = xyz; - char *foo = xyz; + float *f; + int *foo = abc; + char *foo = abc; float *foo = xyz; } type_ver1.res diff = --- tests/type_ver1.c +++ /tmp/cocci-output-22122-7f3b81-type_ver1.c @@ -1,5 +1,5 @@ int foo() { - struct foo x; + struct foo *x; return 0; } type_ver2.res diff = --- tests/type_ver2.c +++ /tmp/cocci-output-22122-bb8fea-type_ver2.c @@ -1,5 +1,5 @@ int foo() { - int x[10]; + int[10] *x; return 0; } typedef.res diff = --- tests/typedef.c +++ /tmp/cocci-output-22122-889945-typedef.c @@ -1,15 +1,15 @@ typedef struct bluecard_info_t { - dev_link_t link; + struct pcmcia_device *p_dev; } foo; static void should_work(u_long arg) { foo *info = (struct bluecard_info_t *)arg; - unsigned int iobase = info->link.io.BasePort1; + unsigned int iobase = info->p_dev->io.BasePort1; } static void does_work(u_long arg) { struct bluecard_info_t *info = (struct bluecard_info_t *)arg; - unsigned int iobase = info->link.io.BasePort1; + unsigned int iobase = info->p_dev->io.BasePort1; } typedef3.res diff = --- tests/typedef3.c +++ /tmp/cocci-output-22122-1184ef-typedef3.c @@ -1,5 +1,5 @@ typedef struct bluecard_info_t { - dev_link_t link; + struct pcmcia_device *p_dev; } foo; static void should_work(foo *info) @@ -9,5 +9,5 @@ static void does_work(struct bluecard_info_t *info) { - unsigned int iobase = info->link.io.BasePort1; + unsigned int iobase = info->p_dev->io.BasePort1; } typedef_double.res typeof.res diff = --- tests/typeof.c +++ /tmp/cocci-output-22122-5b570a-typeof.c @@ -1,6 +1,4 @@ int main() { int x; - f(x); f(sizeof(struct foo)); - f(sizeof(int)); } typeof_expr.res diff = --- tests/typeof_expr.c +++ /tmp/cocci-output-22122-6b3f0d-typeof_expr.c @@ -1,4 +1,4 @@ int main () { int x = 0; - f(typeof(x)); + f(x); } typin.res diff = --- tests/typin.c +++ /tmp/cocci-output-22122-cfb846-typin.c @@ -2,7 +2,7 @@ char y; int main() { - m(f(x), 5); + m(f(20), 20); r(gg(y), '5'); - s(h(x,y), "5"); + s(h(20,y), "5"); } unbrace.res warning: line 13: should list be a metavariable? diff = --- tests/unbrace.c +++ /tmp/cocci-output-22122-cb6d7b-unbrace.c @@ -5,8 +5,6 @@ struct netlink_ext_ack *extack) { const struct tc_action *a; - LIST_HEAD(actions); - int err; if (!tcf_exts_has_actions(exts)) return 0; @@ -16,12 +14,9 @@ if (err) return err; - tcf_exts_to_list(exts, &actions); - list_for_each_entry(a, &actions, list) { - one(); - if (two()) - return 1; - } + one(); + if (two()) + return 1; return 0; } @@ -33,8 +28,6 @@ struct netlink_ext_ack *extack) { const struct tc_action *a; - LIST_HEAD(actions); - int err; if (!tcf_exts_has_actions(exts)) return 0; @@ -44,82 +37,79 @@ if (err) return err; - tcf_exts_to_list(exts, &actions); - list_for_each_entry(a, &actions, list) { - if (is_tcf_gact_ok(a)) { - err = mlxsw_sp_acl_rulei_act_terminate(rulei); - if (err) { - NL_SET_ERR_MSG_MOD(extack, "Cannot append terminate action"); - return err; - } - } else if (is_tcf_gact_shot(a)) { - err = mlxsw_sp_acl_rulei_act_drop(rulei); - if (err) { - NL_SET_ERR_MSG_MOD(extack, "Cannot append drop action"); - return err; - } - } else if (is_tcf_gact_trap(a)) { - err = mlxsw_sp_acl_rulei_act_trap(rulei); - if (err) { - NL_SET_ERR_MSG_MOD(extack, "Cannot append trap action"); - return err; - } - } else if (is_tcf_gact_goto_chain(a)) { - u32 chain_index = tcf_gact_goto_chain_index(a); - struct mlxsw_sp_acl_ruleset *ruleset; - u16 group_id; + if (is_tcf_gact_ok(a)) { + err = mlxsw_sp_acl_rulei_act_terminate(rulei); + if (err) { + NL_SET_ERR_MSG_MOD(extack, "Cannot append terminate action"); + return err; + } + } else if (is_tcf_gact_shot(a)) { + err = mlxsw_sp_acl_rulei_act_drop(rulei); + if (err) { + NL_SET_ERR_MSG_MOD(extack, "Cannot append drop action"); + return err; + } + } else if (is_tcf_gact_trap(a)) { + err = mlxsw_sp_acl_rulei_act_trap(rulei); + if (err) { + NL_SET_ERR_MSG_MOD(extack, "Cannot append trap action"); + return err; + } + } else if (is_tcf_gact_goto_chain(a)) { + u32 chain_index = tcf_gact_goto_chain_index(a); + struct mlxsw_sp_acl_ruleset *ruleset; + u16 group_id; - ruleset = mlxsw_sp_acl_ruleset_lookup(mlxsw_sp, block, - chain_index, - MLXSW_SP_ACL_PROFILE_FLOWER); - if (IS_ERR(ruleset)) - return PTR_ERR(ruleset); + ruleset = mlxsw_sp_acl_ruleset_lookup(mlxsw_sp, block, + chain_index, + MLXSW_SP_ACL_PROFILE_FLOWER); + if (IS_ERR(ruleset)) + return PTR_ERR(ruleset); - group_id = mlxsw_sp_acl_ruleset_group_id(ruleset); - err = mlxsw_sp_acl_rulei_act_jump(rulei, group_id); - if (err) { - NL_SET_ERR_MSG_MOD(extack, "Cannot append jump action"); - return err; - } - } else if (is_tcf_mirred_egress_redirect(a)) { - struct net_device *out_dev; - struct mlxsw_sp_fid *fid; - u16 fid_index; + group_id = mlxsw_sp_acl_ruleset_group_id(ruleset); + err = mlxsw_sp_acl_rulei_act_jump(rulei, group_id); + if (err) { + NL_SET_ERR_MSG_MOD(extack, "Cannot append jump action"); + return err; + } + } else if (is_tcf_mirred_egress_redirect(a)) { + struct net_device *out_dev; + struct mlxsw_sp_fid *fid; + u16 fid_index; - fid = mlxsw_sp_acl_dummy_fid(mlxsw_sp); - fid_index = mlxsw_sp_fid_index(fid); - err = mlxsw_sp_acl_rulei_act_fid_set(mlxsw_sp, rulei, - fid_index, extack); - if (err) - return err; + fid = mlxsw_sp_acl_dummy_fid(mlxsw_sp); + fid_index = mlxsw_sp_fid_index(fid); + err = mlxsw_sp_acl_rulei_act_fid_set(mlxsw_sp, rulei, + fid_index, extack); + if (err) + return err; - out_dev = tcf_mirred_dev(a); - err = mlxsw_sp_acl_rulei_act_fwd(mlxsw_sp, rulei, - out_dev, extack); - if (err) - return err; - } else if (is_tcf_mirred_egress_mirror(a)) { - struct net_device *out_dev = tcf_mirred_dev(a); + out_dev = tcf_mirred_dev(a); + err = mlxsw_sp_acl_rulei_act_fwd(mlxsw_sp, rulei, + out_dev, extack); + if (err) + return err; +} else if (is_tcf_mirred_egress_mirror(a)) { + struct net_device *out_dev = tcf_mirred_dev(a); - err = mlxsw_sp_acl_rulei_act_mirror(mlxsw_sp, rulei, - block, out_dev, - extack); - if (err) - return err; - } else if (is_tcf_vlan(a)) { - u16 proto = be16_to_cpu(tcf_vlan_push_proto(a)); - u32 action = tcf_vlan_action(a); - u8 prio = tcf_vlan_push_prio(a); - u16 vid = tcf_vlan_push_vid(a); + err = mlxsw_sp_acl_rulei_act_mirror(mlxsw_sp, rulei, + block, out_dev, + extack); + if (err) + return err; +} else if (is_tcf_vlan(a)) { + u16 proto = be16_to_cpu(tcf_vlan_push_proto(a)); + u32 action = tcf_vlan_action(a); + u8 prio = tcf_vlan_push_prio(a); + u16 vid = tcf_vlan_push_vid(a); - return mlxsw_sp_acl_rulei_act_vlan(mlxsw_sp, rulei, - action, vid, - proto, prio, extack); - } else { - NL_SET_ERR_MSG_MOD(extack, "Unsupported action"); - dev_err(mlxsw_sp->bus_info->dev, "Unsupported action\n"); - return -EOPNOTSUPP; - } + return mlxsw_sp_acl_rulei_act_vlan(mlxsw_sp, rulei, + action, vid, + proto, prio, extack); + } else { + NL_SET_ERR_MSG_MOD(extack, "Unsupported action"); + dev_err(mlxsw_sp->bus_info->dev, "Unsupported action\n"); + return -EOPNOTSUPP; } return 0; } undref.res diff = --- tests/undref.c +++ /tmp/cocci-output-22122-9f6abb-undref.c @@ -1,3 +1,3 @@ int main () { - bar(); + 42; } undref2.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_9fe9e1.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_9fe9e1.ml Compilation OK! Loading ML code of the SP... diff = the value of f: unknown --- tests/undref2.c +++ /tmp/cocci-output-22122-d737fc-undref2.c @@ -1,3 +1,3 @@ int main () { - bar(); + 42; } undref3.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_610ebf.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.1.1/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_610ebf.ml Compilation OK! Loading ML code of the SP... diff = the value of f: unknown --- tests/undref3.c +++ /tmp/cocci-output-22122-73212a-undref3.c @@ -1,3 +1,3 @@ int main () { - bar(); + 42; } unelse.res diff = --- tests/unelse.c +++ /tmp/cocci-output-22122-665d41-unelse.c @@ -2,8 +2,6 @@ { if (!*pI) return 0; - else { - HPI_DEBUG_LOG(three, - one); - } + HPI_DEBUG_LOG(three, + one); } unfree.res diff = --- tests/unfree.c +++ /tmp/cocci-output-22122-9d9bce-unfree.c @@ -2,8 +2,7 @@ { struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; if (state) { - if (state->sha1_digest) - kfree(state->sha1_digest); + kfree(state->sha1_digest); kfree(state); } } unl.res diff = --- tests/unl.c +++ /tmp/cocci-output-22122-b32a82-unl.c @@ -1,10 +1,10 @@ int main () { - if (new_pe == NULL) { + if (unlikely(new_pe == NULL)) { return NULL; } } int main () { - if (new_pe == NULL) + if (unlikely(new_pe == NULL)) return NULL; } unstruct.res diff = --- tests/unstruct.c +++ /tmp/cocci-output-22122-56531d-unstruct.c @@ -1,4 +1,2 @@ -struct foo x __read_mostly = { .a = 12, }; -foo_t bar_t x(int y) { return 0; } updassign.res diff = --- tests/updassign.c +++ /tmp/cocci-output-22122-bfe752-updassign.c @@ -1,3 +1,3 @@ int main () { - int r = 1 + 2; + int r = 12; } useless_cast.res diff = --- tests/useless_cast.c +++ /tmp/cocci-output-22122-c9d48e-useless_cast.c @@ -8,7 +8,7 @@ struct device *dev; -struct netdev_private *np = (struct netdev_private *) +struct netdev_private *np = dev->priv; varargs.res warning: line 13: should ty_id be a metavariable? diff = --- tests/varargs.c +++ /tmp/cocci-output-22122-41cbf8-varargs.c @@ -1,6 +1,7 @@ static void -fas216_log_command(FAS216_Info *info, int level, Scsi_Cmnd *SCpnt, char *fmt, ...) +fas216_log_command(FAS216_Info *info, int level, struct scsi_cmnd *SCpnt, + char *fmt, ...) { - ty_id ty_id; + ty_id2 ty_id; } varargs2.res diff = --- tests/varargs2.c +++ /tmp/cocci-output-22122-08c935-varargs2.c @@ -1,3 +1,4 @@ static void f(char *fmt, ...) { + return NULL; } varargs3.res diff = --- tests/varargs3.c +++ /tmp/cocci-output-22122-659978-varargs3.c @@ -1,4 +1,3 @@ -static int foo(char *fmt, ...) { return 0; } @@ -8,7 +7,6 @@ return x+y; } -static int baz(FILE *stream, ...) { return 1; } video1bis.res diff = --- tests/video1bis.c +++ /tmp/cocci-output-22122-76e6ca-video1bis.c @@ -3,7 +3,5 @@ { if (cmd == VIDIOCGTUNER) { struct video_tuner v; - if (copy_from_user(v, arg, sizeof(v)) != 0) - ret(-EFAULT); else {} } } void.res diff = --- tests/void.c +++ /tmp/cocci-output-22122-891ed9-void.c @@ -1,5 +1,15 @@ int xbar(void) { return; } +int foo(void) +{ + return; +} + // this is some info about bar int bar(void) { return; } + +int foo(void) +{ + return; +} vpos.res diff = --- tests/vpos.c +++ /tmp/cocci-output-22122-8ee4ee-vpos.c @@ -1,9 +1,7 @@ int main() { f(2); if (x) { - g(1,1); } else { - g(1,2); } } wchar.res diff = --- tests/wchar.c +++ /tmp/cocci-output-22122-2eb128-wchar.c @@ -1,13 +1,4 @@ #include #include int main () { - char zero = '\0'; - char16_t zero_utf16 = u'\0'; - char32_t zero_utf32 = U'\0'; - wchar_t zeroL = L'\0'; - char empty[] = ""; - char empty_utf8[] = u8""; - char16_t empty_utf16[] = u""; - char32_t empty_utf32[] = U""; - wchar_t emptyL[] = L""; } whitespace.res diff = --- tests/whitespace.c +++ /tmp/cocci-output-22122-ffa15a-whitespace.c @@ -1,3 +1,3 @@ int main () { - foo(sizeof (struct xxx)); + foo(sizeof(struct xxx), 12); } wierd_argument.res diff = --- tests/wierd_argument.c +++ /tmp/cocci-output-22122-26350f-wierd_argument.c @@ -1,7 +1,7 @@ static void ewx_i2c_setlines(snd_i2c_bus_t *bus, int clk, int data) { - ice1712_t *ice = snd_magic_cast(ice1712_t, bus->private_data, return); - ice1712_t *ice = snd_magic_cast(ice1712_t, bus->private_data, ); + ice1712_t *ice = bus->private_data; + ice1712_t *ice = bus->private_data; unsigned char tmp = 0; tmp++; } wierdinit.res wrongcheck.res diff = --- tests/wrongcheck.c +++ /tmp/cocci-output-22122-b6c1ae-wrongcheck.c @@ -1,5 +1,3 @@ int main () { - err = si476x_core_i2c_xfer(core, SI476X_I2C_RECV, - buffer, sizeof(buffer)); if (err == sizeof(buffer)) return; } ws2.res warning: rule starting on line 1: metavariable A not used in the + code diff = --- tests/ws2.c +++ /tmp/cocci-output-22122-0ccb66-ws2.c @@ -1,6 +1,5 @@ int main() { - if (foo()) - goto err; + goto err; err: return; } xfield.res diff = --- tests/xfield.c +++ /tmp/cocci-output-22122-ec7b7e-xfield.c @@ -1,4 +1,4 @@ -FOO(a2,b2,c2); +int x; /* int y; y2.res diff = --- tests/y2.c +++ /tmp/cocci-output-22122-d86d4c-y2.c @@ -1,10 +1,6 @@ static void asuscom_interrupt_ipac(int intno, void *dev_id, struct pt_regs *regs) { - if (!cs) { - printk(KERN_WARNING "ISDNLink: Spurious interrupt!\n"); - return; - } Start_IPAC: debugl1(cs, "IPAC ISTA %02X", ista); if ((ista & 0x3f) && icnt) { zero.res diff = --- tests/zero.c +++ /tmp/cocci-output-22122-3c4949-zero.c @@ -1,6 +1,2 @@ int main () { - memset(command, 0, sizeof(struct sbp2_command_info)); - memset(command, 0x00, sizeof(struct sbp2_command_info)); - memset(command, 0x0, sizeof(struct sbp2_command_info)); - memset(command, '\0', sizeof(struct sbp2_command_info)); } -------------------------------- statistics -------------------------------- 62.res : CORRECT a.res : CORRECT a3d.res : CORRECT a_and_e.res : CORRECT a_and_e_ver1.res : CORRECT ab.res : CORRECT action.res : CORRECT add1.res : CORRECT addaft.res : CORRECT addbefore.res : CORRECT addbeforeafter.res : CORRECT addelse.res : CORRECT addes.res : CORRECT addfield.res : CORRECT addfield2.res : CORRECT addif.res : CORRECT addif1.res : CORRECT addif2.res : CORRECT addifdef.res : CORRECT addifelse.res : CORRECT addifelse2.res : CORRECT addinc.res : CORRECT addtoo.res : CORRECT addtrace.res : CORRECT after_if.res : CORRECT allex.res : CORRECT allex2.res : CORRECT allex3.res : CORRECT andid.res : CORRECT anon.res : CORRECT anonfield.res : CORRECT ar.res : CORRECT arg.res : CORRECT argument.res : CORRECT arparam.res : CORRECT array_init.res : CORRECT array_size.res : CORRECT arraysz.res : CORRECT as_stm.res : CORRECT assign_deref_funcall_in_macro_it.res: CORRECT attr_with_arguments.res : CORRECT attradd.res : CORRECT attrs2groups.res : CORRECT auto.res : PROBLEM exn = Coccinelle_modules.Parse_cocci.SMPLParseError("meta: parse error: \n File \"tests/auto.cocci\", line 12, column 0, charpos = 89\n around = 'identifier',\n whole content = identifier x;\n") b1.res : CORRECT b2.res : CORRECT bad_iso_example.res : INCORRECT:diff token: ( VS x File "tests/bad_iso_example.c", line 2, column 6, charpos = 19 around = '(', whole content = if ((x = 3)) return; File "tests/bad_iso_example.res", line 2, column 6, charpos = 19 around = 'x', whole content = if (x) return; diff (result(<) vs expected_result(>)) = @@ -1,4 +1,4 @@ int main() { - if ((x = 3)) return; + if (x) return; } bad_kfree.res : CORRECT bad_ptr_print.res : CORRECT bad_typedef.res : CORRECT badcfg.res : CORRECT badexp.res : CORRECT badpos.res : PROBLEM exn = Failure("rule starting on line 1: already tagged token:\nC code context\nFile \"tests/badpos.c\", line 5, column 30, charpos = 139\n around = 'reg_ptr',\n whole content = \t (int) -(((struct pt_regs *) reg_ptr)->orig_eax + 2));") badtypedef.res : CORRECT badwhen.res : CORRECT badzero.res : CORRECT bc_1.res : CORRECT befS.res : CORRECT before.res : CORRECT ben.res : CORRECT bigin.res : CORRECT bigrepl.res : CORRECT binop.res : CORRECT bitfield.res : CORRECT bitfield_matching.res : CORRECT boolr.res : CORRECT bracebraceline.res : CORRECT braceline.res : CORRECT braces.res : CORRECT branchparen.res : CORRECT break.res : CORRECT bug1.res : CORRECT bugloop.res : CORRECT bugon.res : CORRECT bus.res : CORRECT cards.res : CORRECT caseprint.res : CORRECT cast.res : CORRECT cast_iso.res : CORRECT castdecl.res : CORRECT cex_wishlist_complex1.res : CORRECT cex_wishlist_complex2.res : CORRECT cex_wishlist_complex3.res : CORRECT change.res : CORRECT change_type.res : CORRECT changei.res : INCORRECT:diff token: i VS xxx File , line 1, column 15, charpos = 15 around = 'i', whole content = typedef struct i xxx; File "tests/changei.res", line 1, column 15, charpos = 15 around = 'xxx', whole content = typedef struct xxx istruct; diff (result(<) vs expected_result(>)) = @@ -1,4 +1,4 @@ -typedef struct i xxx; +typedef struct xxx istruct; int xxx (int xxx) { char xxx; cocci_args.res : CORRECT com.res : CORRECT comadd.res : CORRECT comj.res : CORRECT comma.res : CORRECT comma_call.res : CORRECT comma_if.res : CORRECT comment_brace.res : CORRECT comment_brace2.res : CORRECT comment_line.res : CORRECT comment_middle.res : CORRECT comments.res : CORRECT compare.res : CORRECT compare_const2.res : CORRECT condexp.res : CORRECT const.res : CORRECT const1bis.res : CORRECT const_adding.res : CORRECT const_array.res : CORRECT const_implicit_iso.res : CORRECT constptr.res : CORRECT constraints.res : CORRECT constrem.res : CORRECT constructor.res : CORRECT constty.res : CORRECT constx.res : CORRECT countcalls.res : CORRECT countcalls.stdout : CORRECT countcalls_python.res : CORRECT countcalls_python.stdout : CORRECT cptr.res : CORRECT cr.res : CORRECT cr1a.res : CORRECT cs_check.res : CORRECT cst.res : CORRECT cst_null.res : CORRECT cstr.res : CORRECT cststr.res : CORRECT csw.res : CORRECT dbg.res : CORRECT dbg1.res : CORRECT dc_close.res : CORRECT debug.res : CORRECT dec.res : CORRECT decl.res : CORRECT decl2.res : CORRECT decl_space.res : CORRECT decl_split.res : INCORRECT:diff token: int VS } File "tests/decl_split.c", line 2, column 8, charpos = 27 around = 'int', whole content = int x, y; File "tests/decl_split.res", line 2, column 0, charpos = 19 around = '}', whole content = } diff (result(<) vs expected_result(>)) = @@ -1,3 +1,2 @@ int func(int i) { - int x, y; } decl_star.res : CORRECT declmeta.res : CORRECT defe.res : CORRECT define_exp.res : CORRECT define_param.res : CORRECT defineinit.res : CORRECT deftodo.res : CORRECT delete_function.res : CORRECT delp.res : CORRECT depfail.res : CORRECT deref.res : CORRECT destroy.res : CORRECT detect_cast_attr.res : CORRECT detect_macrodecl_attr.res : CORRECT detect_param_attr.res : CORRECT detect_struct_endattr.res : CORRECT detect_struct_gccattr.res : CORRECT devlink.res : CORRECT disj.res : CORRECT disjexpr.res : CORRECT disjexpr_ver1.res : CORRECT disjexpr_ver2.res : CORRECT disjid.res : CORRECT distribute.res : CORRECT dotcall.res : CORRECT dots_comma.res : CORRECT double.res : CORRECT double_assign.res : CORRECT double_lines.res : CORRECT double_switch.res : CORRECT doublepos.res : CORRECT doubleswitch.res : CORRECT doundo.res : CORRECT dowhile.res : CORRECT dropbr.res : CORRECT dropcom.res : CORRECT dropenderr.res : CORRECT dropf.res : CORRECT dropparam.res : CORRECT dtest.res : CORRECT eb1.res : CORRECT edots.res : CORRECT edots_ver1.res : CORRECT efi3.res : CORRECT elsify.res : CORRECT empty.res : CORRECT end_attr.res : CORRECT end_commas.res : CORRECT endif.res : CORRECT endnl.res : CORRECT endpos.res : CORRECT enum.res : CORRECT enum_assign.res : CORRECT enumdots.res : CORRECT exitc.res : CORRECT exitp.res : CORRECT exp.res : CORRECT expnest.res : CORRECT expopt.res : CORRECT expopt2.res : CORRECT expopt3.res : CORRECT expopt3_ver1.res : CORRECT expopt3_ver2.res : CORRECT exprlist_comma.res : CORRECT extra.res : CORRECT failing_andany.res : CORRECT far.res : CORRECT fields.res : CORRECT fieldsmin.res : CORRECT finalize_only.res : CORRECT finalize_only.stdout : CORRECT find_long.res : CORRECT fix_flow_need.res : CORRECT flex.res : CORRECT fn_todo.res : CORRECT fnptr.res : CORRECT fnret.res : CORRECT fnty.res : CORRECT fntypedef.res : CORRECT format.res : CORRECT format2.res : CORRECT formatlist.res : CORRECT fortest.res : CORRECT fortype.res : CORRECT four.res : CORRECT foura.res : CORRECT fp.res : CORRECT fresh_id_script.res : CORRECT fsh.res : CORRECT fun.res : CORRECT func.res : CORRECT funptr_array.res : CORRECT gadget_allocate.res : CORRECT gadget_gather_scatter.res : CORRECT gadget_invalidate.res : CORRECT gadget_mark_used_fields.res : CORRECT gadget_misc.res : CORRECT gadget_ninelets_typedef.res : CORRECT gadget_patch.res : CORRECT gadget_remove_mpi_function_calls.res: CORRECT gadget_remove_used_fields.res : CORRECT gadget_sentinel.res : CORRECT gadget_soa_defs.res : CORRECT gadget_soa_select.res : CORRECT gadget_sorting_hook.res : INCORRECT:diff token: any_sort_func VS soa_gather__particle_data_soa_t File , line 21, column 1, charpos = 555 around = 'any_sort_func', whole content = any_sort_func(P); File "tests/gadget_sorting_hook.res", line 22, column 1, charpos = 624 around = 'soa_gather__particle_data_soa_t', whole content = soa_gather__particle_data_soa_t(P, P_soa, 0, NumPart); diff (result(<) vs expected_result(>)) = @@ -18,7 +18,12 @@ int main() { + /* FIXME: this is a transitory gather-sort-scatter hook solution */ + soa_gather__particle_data_soa_t(P, P_soa, 0, NumPart); + soa_invalidate_soa__particle_data_soa_t(&P_soa, 0, NumPart); any_sort_func(P); + soa_scatter__particle_data_soa_t(P_soa, P, 0, NumPart); + soa_invalidate_aos__particle_data(P, 0, NumPart); /* FIXME: this is a transitory gather-sort-scatter hook solution */ gadget_triplets_typedef.res : CORRECT gadget_triplets_typedef_ipcc.res: CORRECT gcc_attr_with_func.res : CORRECT gcc_attr_with_var.res : CORRECT gcc_min_max.res : CORRECT getc.res : CORRECT gilles-question.res : CORRECT gotobreak.res : CORRECT hd.res : CORRECT headers.res : CORRECT hex.res : CORRECT hil1.res : CORRECT icomma.res : PROBLEM exn = Failure("Error in Python script, line 10, file \"tests/icomma.cocci\": Python failure") idcon_ocaml.res : CORRECT idcon_python.res : CORRECT idstr.res : CORRECT if.res : CORRECT ifadd.res : CORRECT ifbr.res : CORRECT ifd.res : CORRECT ifdef1.res : CORRECT ifdef2.res : CORRECT ifdef3.res : CORRECT ifdef4.res : CORRECT ifdef5.res : CORRECT ifdef6.res : CORRECT ifdef6a.res : CORRECT ifdefmeta.res : CORRECT ifdefmeta1.res : CORRECT ifdefmeta2.res : CORRECT ifdefmeta3.res : CORRECT ifend.res : CORRECT ifgoto.res : CORRECT ifields.res : CORRECT ifif.res : CORRECT ifreturn.res : CORRECT ifreturn3.res : CORRECT ifreturn4.res : CORRECT ifreturn6.res : CORRECT ifzer.res : CORRECT ifzz.res : CORRECT inc.res : CORRECT incdir.res : INCORRECT:diff token: x VS 12 File "tests/incdir.c", line 4, column 6, charpos = 46 around = 'x', whole content = foo(x); File "tests/incdir.res", line 4, column 6, charpos = 46 around = '12', whole content = foo(12); diff (result(<) vs expected_result(>)) = @@ -1,5 +1,5 @@ #include "sub/incdir2.c" int main () { - foo(x); + foo(12); } incl.res : CORRECT incl2.res : CORRECT inclifdef.res : CORRECT include.res : CORRECT incompatible_value.res : CORRECT incpos.res : CORRECT incpos1.res : CORRECT inherited.res : CORRECT inherited_ver1.res : CORRECT inhmet.res : CORRECT inhpos.res : CORRECT initializer.res : CORRECT initializer_many_fields.res : CORRECT inline.res : CORRECT insdef.res : CORRECT int2bool-local.res : CORRECT introbrace.res : CORRECT invert.res : CORRECT ip.res : CORRECT ip2.res : CORRECT isococci.res : CORRECT isoif.res : CORRECT isotest.res : CORRECT isotest2.res : CORRECT iteration.res : CORRECT iteration.stdout : CORRECT iteration_after_merge.res : CORRECT iteration_after_merge.stdout : INCORRECT:files differ diff (result(<) vs expected_result(>)) = @@ -1,2 +1,2 @@ -tests/iteration_after_merge.c: 15 -tests/iteration_after_merge.c: 14 +iteration_after_merge.c: 14 +iteration_after_merge.c: 15 iterator.res : CORRECT iterprint.res : CORRECT jloop1.res : PROBLEM exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"tests/jloop1.cocci\", line 10, column 3, charpos = 129\n around = '...>',\n whole content = ...>\n") julia10.res : CORRECT julia7.res : CORRECT justremove.res : CORRECT keep_comma.res : CORRECT km.res : CORRECT kmalloc.res : CORRECT kmc.res : CORRECT kmtest4.res : CORRECT kr.res : CORRECT ktype.res : CORRECT ktype2.res : CORRECT labels_metastatement.res : CORRECT labels_metastatement_ver1.res : CORRECT lid.res : CORRECT line_before_last.res : CORRECT lineseq.res : CORRECT list_test.res : CORRECT local.res : CORRECT local_macro_fn_def_and_call.res: CORRECT localglobal.res : CORRECT localid.res : CORRECT log.res : CORRECT long.res : CORRECT longconst.res : CORRECT longline2.res : CORRECT longlong.res : CORRECT longlongint.res : CORRECT loop.res : CORRECT lvalue.res : CORRECT macro.res : CORRECT macro_before_bool.res : CORRECT macro_int16.res : CORRECT macro_params.res : CORRECT macro_stmt_when_fn_type.res : CORRECT match_init.res : CORRECT match_no_meta.res : CORRECT max.res : CORRECT md1.res : CORRECT md2.res : CORRECT md3.res : CORRECT mdadd.res : CORRECT mdec.res : CORRECT mdecl.res : CORRECT mdeclp.res : CORRECT mdeclp2.res : CORRECT mdeclrep.res : CORRECT memory.res : CORRECT merge_after_iteration.res : CORRECT merge_after_iteration.stdout : CORRECT metaattr.res : CORRECT metahex.res : INCORRECT:diff token: f VS } File "tests/metahex.c", line 2, column 2, charpos = 15 around = 'f', whole content = f(3); File "tests/metahex.res", line 2, column 0, charpos = 13 around = '}', whole content = } diff (result(<) vs expected_result(>)) = @@ -1,4 +1,2 @@ int main() { - f(3); - g(0x03); } metaline.res : CORRECT metaops.res : CORRECT metaops0.res : CORRECT metaruleelem.res : CORRECT metastatement2.res : CORRECT metastatement_for.res : CORRECT metastatement_if.res : CORRECT mincom.res : CORRECT minenum.res : CORRECT minenum1.res : CORRECT minfn.res : CORRECT mini_null_ref.res : CORRECT miniswap.res : CORRECT minstruct.res : CORRECT minusdots.res : CORRECT minusdots_ver1.res : CORRECT move_type.res : CORRECT multi_func1.res : PROBLEM exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"tests/multi_func1.cocci\", line 12, column 2, charpos = 102\n around = 'fn2',\n whole content = fn2(...) {\n") multi_initialize_finalize.res : CORRECT multi_initialize_finalize.stdout: CORRECT multichars.res : CORRECT multidec.res : CORRECT multidecl3.res : CORRECT multipath.res : CORRECT multiplus.res : CORRECT multiremove.res : CORRECT multistruct.res : CORRECT multitype.res : CORRECT multitypedef.res : CORRECT multivars.res : CORRECT na.res : CORRECT nameless.res : CORRECT nest.res : CORRECT nestone.res : CORRECT nestseq.res : CORRECT neststruct.res : CORRECT nl.res : CORRECT noa.res : CORRECT nocast.res : CORRECT noret.res : CORRECT not.res : CORRECT notest.res : CORRECT notnot.res : CORRECT noty.res : CORRECT noty2.res : CORRECT null_bool.res : INCORRECT:diff token: ) VS != File , line 2, column 8, charpos = 22 around = ')', whole content = if (12) return; File "tests/null_bool.res", line 2, column 9, charpos = 23 around = '!=', whole content = if (12 != NULL) return; diff (result(<) vs expected_result(>)) = @@ -1,6 +1,6 @@ int main () { - if (12) return; - if (a && 12 && b) return; + if (12 != NULL) return; + if (a && 12 != NULL && b) return; if (12) return; if (a && 12 && b) return; x = x + 20; null_type.res : CORRECT oddifdef.res : INCORRECT:diff token: #else VS x File , line 10, column 0, charpos = 114 around = '#else', whole content = #else File "tests/oddifdef.res", line 10, column 2, charpos = 116 around = 'x', whole content = x = 0; diff (result(<) vs expected_result(>)) = @@ -7,7 +7,9 @@ a = 5; #ifdef FOO + x = 0; #else + x = 0; #endif } @@ -20,7 +22,9 @@ a = 3; #ifdef FOO + x = 0; #else + x = 0; #endif } @@ -33,6 +37,8 @@ #endif #ifdef FOO + x = 0; #else + x = 0; #endif } of.res : CORRECT oneline.res : CORRECT op.res : CORRECT opt.res : CORRECT optional_qualifier.res : CORRECT optional_storage.res : CORRECT orexp.res : CORRECT output.res : CORRECT output.stdout : CORRECT output_init.res : CORRECT overshoot.res : CORRECT p1p2.res : CORRECT p9.res : CORRECT pa.res : CORRECT param.res : CORRECT param_end.res : CORRECT param_to_exp.res : CORRECT param_ver1.res : CORRECT parameters_dots.res : CORRECT parenmac.res : CORRECT partial.res : CORRECT partialmd.res : CORRECT partialmd2.res : CORRECT partialmd3.res : CORRECT pb_distribute_type.res : INCORRECT:PB parsing only in generated-file diff (result(<) vs expected_result(>)) = @@ -10,6 +10,6 @@ } int foo() { - int[45] *x; + int (*x)[45]; return 0; } pb_distribute_type2.res : INCORRECT:PB parsing only in generated-file diff (result(<) vs expected_result(>)) = @@ -1,5 +1,5 @@ int foo() { - int * x; + int *x; return 0; } @@ -10,6 +10,6 @@ } int foo() { - int x[45]*; + int (*x)[45]; return 0; } pb_distribute_type3.res : PROBLEM exn = Failure("line 7: index 53 53 already used\n") pb_distribute_type4.res : CORRECT pb_params_iso.res : CORRECT pb_parsing_macro.res : CORRECT pb_tag_symbols.res : CORRECT pcim.res : CORRECT pcomma.res : CORRECT plus33.res : INCORRECT:diff token: double3x3 VS xdouble3x3 File , line 1, column 15, charpos = 15 around = 'double3x3', whole content = typedef double double3x3[3][3]; File "tests/plus33.res", line 1, column 15, charpos = 15 around = 'xdouble3x3', whole content = typedef double xdouble3x3[3][3]; diff (result(<) vs expected_result(>)) = @@ -1,2 +1,2 @@ -typedef double double3x3[3][3]; +typedef double xdouble3x3[3][3]; int x; pmac.res : CORRECT poscon.res : CORRECT posiso.res : CORRECT positionc.res : CORRECT post.res : CORRECT pragmatest1.res : CORRECT print_return.res : CORRECT proto.res : CORRECT proto2.res : CORRECT proto_ver1.res : CORRECT proto_ver2.res : CORRECT protoassert.res : CORRECT protox.res : CORRECT ptrar.res : CORRECT ptrconstptr.res : CORRECT python_iteration.res : CORRECT python_iteration.stdout : CORRECT python_mdecl.res : CORRECT python_mdeclp.res : CORRECT python_poscon.res : CORRECT qualifier.res : CORRECT range.res : CORRECT rb.res : CORRECT rcu3.res : CORRECT regexp.res : CORRECT regexp2.res : CORRECT regexp3.res : CORRECT relevant_position.res : CORRECT rem1.res : CORRECT rem2.res : CORRECT remaft.res : CORRECT remcom.res : CORRECT remodif.res : CORRECT remove-code-in-branch1.res : CORRECT remove_call.res : CORRECT remove_cast_attr.res : CORRECT remove_cast_attr_allminus.res : CORRECT remove_macrodecl_attr.res : CORRECT remove_metaattr.res : CORRECT remove_param_attrs.res : CORRECT remove_struct_endattr.res : CORRECT remove_struct_endattr_allminus.res: CORRECT remparam.res : CORRECT rems.res : CORRECT rems1.res : CORRECT remstruct.res : CORRECT replace_typedef.res : CORRECT replacement3.res : CORRECT reserved.res : CORRECT retest.res : CORRECT retmacro.res : CORRECT rets.res : CORRECT return.res : CORRECT return_implicit.res : CORRECT retval.res : CORRECT retval2.res : CORRECT reusevar.res : CORRECT roa.res : CORRECT rptr.res : CORRECT same_expr.res : CORRECT scope_problem.res : INCORRECT:diff token: } VS a File , line 4, column 2, charpos = 42 around = '}', whole content = } File "tests/scope_problem.res", line 4, column 4, charpos = 44 around = 'a', whole content = a = 2; diff (result(<) vs expected_result(>)) = @@ -1,7 +1,6 @@ void main(int i) { if(1) { int a; + a = 2; } - - } sd_2.res : CORRECT serio.res : INCORRECT:diff token: init_MUTEX VS mutex_init File "tests/serio.c", line 7, column 1, charpos = 130 around = 'init_MUTEX', whole content = init_MUTEX(&serio->drv_sem); File "tests/serio.res", line 7, column 1, charpos = 130 around = 'mutex_init', whole content = mutex_init(&serio->new_lock); diff (result(<) vs expected_result(>)) = @@ -4,5 +4,5 @@ static void serio_init_port(struct serio *serio) { - init_MUTEX(&serio->drv_sem); + mutex_init(&serio->new_lock); } shared_brace.res : CORRECT signed.res : CORRECT sis.res : CORRECT sizeof.res : CORRECT sizeof_julia.res : CORRECT sizeptr.res : CORRECT sizestar.res : CORRECT skip.res : CORRECT sl2.res : CORRECT slen.res : CORRECT smallfn.res : CORRECT snprintf.res : CORRECT sp.res : CORRECT spaces.res : CORRECT spacing.res : CORRECT spl.res : CORRECT split_funcall1.res : CORRECT split_funcall2.res : CORRECT starprint.res : CORRECT static.res : CORRECT stm1.res : CORRECT stm10.res : CORRECT stm10_ver1.res : CORRECT stm2.res : CORRECT stm3.res : CORRECT stm4.res : CORRECT stm5.res : CORRECT stm6.res : CORRECT stm7.res : CORRECT stm8.res : CORRECT stm_exp.res : CORRECT stmt.res : CORRECT stmt_removed_and_added.res : CORRECT str_init.res : CORRECT strangeorder.res : CORRECT strid.res : CORRECT strid2.res : CORRECT string.res : CORRECT strtest.res : CORRECT struct.res : CORRECT struct_metavar.res : CORRECT struct_typedef.res : CORRECT structfoo.res : CORRECT structptr_func.res : CORRECT substruct.res : CORRECT sw.res : CORRECT swap3.res : CORRECT switch.res : CORRECT switchdecl.res : CORRECT symbol.res : CORRECT td.res : CORRECT tdnl.res : CORRECT tdplus.res : CORRECT tern.res : CORRECT test0.res : CORRECT test1.res : CORRECT test10.res : CORRECT test10_ver1.res : CORRECT test11.res : CORRECT test11_ver1.res : CORRECT test12.res : CORRECT test2.res : CORRECT test3.res : CORRECT test4.res : CORRECT test5.res : CORRECT test5_ver1.res : CORRECT test6.res : CORRECT test7.res : CORRECT test8.res : CORRECT test9.res : CORRECT test_s.res : CORRECT test_unsigned_meta.res : CORRECT testand.res : CORRECT testand2.res : CORRECT three_types.res : CORRECT threea.res : CORRECT top.res : CORRECT topdec.res : CORRECT topdec_ver1.res : CORRECT topdec_ver2.res : CORRECT toplevel_macrostmt.res : CORRECT toplevel_struct.res : CORRECT triplet.res : CORRECT tup.res : CORRECT twomatch.res : CORRECT twoproto.res : CORRECT ty.res : CORRECT ty1.res : CORRECT ty_tyexp.res : CORRECT tydisj.res : CORRECT tyex.res : CORRECT type.res : CORRECT type1.res : CORRECT type_and_var.res : CORRECT type_and_var2.res : CORRECT type_annotated.res : CORRECT type_constraints.res : CORRECT type_ver1.res : CORRECT type_ver2.res : INCORRECT:PB parsing only in generated-file diff (result(<) vs expected_result(>)) = @@ -1,5 +1,5 @@ int foo() { - int[10] *x; + int *x[10]; return 0; } typedef.res : CORRECT typedef3.res : INCORRECT:diff token: link VS p_dev File , line 7, column 29, charpos = 137 around = 'link', whole content = unsigned int iobase = info->link.io.BasePort1; File "tests/typedef3.res", line 7, column 29, charpos = 137 around = 'p_dev', whole content = unsigned int iobase = info->p_dev->io.BasePort1; diff (result(<) vs expected_result(>)) = @@ -4,7 +4,7 @@ static void should_work(foo *info) { - unsigned int iobase = info->link.io.BasePort1; + unsigned int iobase = info->p_dev->io.BasePort1; } static void does_work(struct bluecard_info_t *info) typedef_double.res : CORRECT typeof.res : CORRECT typeof_expr.res : CORRECT typin.res : CORRECT unbrace.res : CORRECT undref.res : CORRECT undref2.res : CORRECT undref3.res : CORRECT unelse.res : CORRECT unfree.res : CORRECT unl.res : CORRECT unstruct.res : CORRECT updassign.res : CORRECT useless_cast.res : CORRECT varargs.res : CORRECT varargs2.res : CORRECT varargs3.res : CORRECT video1bis.res : CORRECT void.res : CORRECT vpos.res : CORRECT wchar.res : CORRECT whitespace.res : CORRECT wierd_argument.res : CORRECT wierdinit.res : seems incorrect, but only because of code that was not parsablediff token: dev_link_t VS struct File "tests/wierdinit.c", line 4, column 1, charpos = 27 around = 'dev_link_t', whole content = dev_link_t *link; File "tests/wierdinit.res", line 4, column 1, charpos = 27 around = 'struct', whole content = struct pcmcia_device *link; wrongcheck.res : CORRECT ws2.res : CORRECT xfield.res : CORRECT y2.res : CORRECT zero.res : CORRECT -------------------------------- regression testing information -------------------------------- regression file: /home/buildozer/aports/testing/coccinelle/src/unit-test-score.bin -------------------------------- total score -------------------------------- good = 616/639 Current score is equal to expected score; everything is fine >>> coccinelle: Entering fakeroot... mkdir -p /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/bin /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/lib/coccinelle /usr/bin/install -c -m 755 tools/spgen/source/spgen.opt \ /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/bin/spgen mkdir -p /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/lib/coccinelle/ocaml mkdir -p /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/lib/coccinelle/python/coccilib if test "x/usr/share/bash-completion/completions" != "xno"; then \ mkdir -p /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/share/bash-completion/completions; \ /usr/bin/install -c -m 644 scripts/spatch.bash_completion \ /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/share/bash-completion/completions/spatch; \ fi mkdir -p /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/share/man/man1 if test -f bundles/pyml/dllpyml_stubs.so; then \ /usr/bin/install -c -m 755 bundles/pyml/dllpyml_stubs.so \ /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/lib/coccinelle; \ fi /usr/bin/install -c -m 644 python/coccilib/*.py \ /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/lib/coccinelle/python/coccilib mkdir -p /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/share/man/man3 if test -f bundles/pcre/dllpcre_stubs.so; then \ /usr/bin/install -c -m 755 bundles/pcre/dllpcre_stubs.so \ /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/lib/coccinelle; \ fi /usr/bin/install -c -m 644 docs/spatch.1 /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/share/man/man1/ /usr/bin/install -c -m 755 spatch.opt /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/bin/spatch /usr/bin/install -c -m 644 docs/pycocci.1 /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/share/man/man1/ /usr/bin/install -c -m 644 docs/spgen.1 /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/share/man/man1/ /usr/bin/install -c -m 644 docs/Coccilib.3cocci /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/share/man/man3/ /usr/bin/install -c -m 644 standard.h /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/lib/coccinelle /usr/bin/install -c -m 644 standard.iso /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/lib/coccinelle /usr/bin/install -c -m 644 ocaml/*.cmi /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/lib/coccinelle/ocaml/ if test -f ocaml/coccilib.cmx; then \ /usr/bin/install -c -m 644 ocaml/*.cmx /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/lib/coccinelle/ocaml/; \ fi >>> coccinelle-doc*: Running split function doc... >>> coccinelle-doc*: Preparing subpackage coccinelle-doc... >>> coccinelle-doc*: Running postcheck for coccinelle-doc >>> coccinelle-bash-completion*: Running split function bashcomp... '/home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/share/bash-completion/completions' -> '/home/buildozer/aports/testing/coccinelle/pkg/coccinelle-bash-completion/usr/share/bash-completion/completions' >>> coccinelle-bash-completion*: Preparing subpackage coccinelle-bash-completion... >>> coccinelle-bash-completion*: Running postcheck for coccinelle-bash-completion >>> coccinelle*: Running postcheck for coccinelle >>> coccinelle*: Preparing package coccinelle... >>> coccinelle*: Stripping binaries >>> coccinelle-bash-completion*: Scanning shared objects >>> coccinelle-doc*: Scanning shared objects >>> coccinelle*: Scanning shared objects >>> coccinelle-bash-completion*: Tracing dependencies... >>> coccinelle-bash-completion*: Package size: 24.0 KB >>> coccinelle-bash-completion*: Compressing data... >>> coccinelle-bash-completion*: Create checksum... >>> coccinelle-bash-completion*: Create coccinelle-bash-completion-1.1.1-r2.apk >>> coccinelle-doc*: Tracing dependencies... >>> coccinelle-doc*: Package size: 48.0 KB >>> coccinelle-doc*: Compressing data... >>> coccinelle-doc*: Create checksum... >>> coccinelle-doc*: Create coccinelle-doc-1.1.1-r2.apk >>> coccinelle*: Tracing dependencies... pcre python3 so:libc.musl-ppc64le.so.1 >>> coccinelle*: Package size: 24.6 MB >>> coccinelle*: Compressing data... >>> coccinelle*: Create checksum... >>> coccinelle*: Create coccinelle-1.1.1-r2.apk >>> coccinelle: Build complete at Thu, 18 Apr 2024 11:10:01 +0000 elapsed time 0h 2m 8s >>> coccinelle: Cleaning up srcdir >>> coccinelle: Cleaning up pkgdir >>> coccinelle: Uninstalling dependencies... (1/28) Purging .makedepends-coccinelle (20240418.110754) (2/28) Purging pcre (8.45-r3) (3/28) Purging python3-pyc (3.12.3-r1) (4/28) Purging python3-pycache-pyc0 (3.12.3-r1) (5/28) Purging pyc (3.12.3-r1) (6/28) Purging python3 (3.12.3-r1) (7/28) Purging autoconf (2.72-r0) (8/28) Purging m4 (1.4.19-r3) (9/28) Purging automake (1.16.5-r2) (10/28) Purging ocaml-findlib (1.9.6-r4) (11/28) Purging ocaml-num (1.4-r3) (12/28) Purging ocaml-ocamldoc (4.14.2-r1) (13/28) Purging gdbm (1.23-r1) (14/28) Purging git-perl (2.44.0-r2) (15/28) Purging perl-git (2.44.0-r2) (16/28) Purging perl-error (0.17029-r2) (17/28) Purging libffi (3.4.6-r0) (18/28) Purging libpanelw (6.4_p20240330-r0) (19/28) Purging mpdecimal (4.0.0-r0) (20/28) Purging ocaml-abuild-helper (4.14.2-r1) (21/28) Purging rpm-scripts (4.19.1.1-r1) (22/28) Purging bash (5.2.26-r0) Executing bash-5.2.26-r0.pre-deinstall (23/28) Purging perl (5.38.2-r0) (24/28) Purging ocaml-compiler-libs (4.14.2-r1) (25/28) Purging ocaml (4.14.2-r1) (26/28) Purging ocaml-runtime (4.14.2-r1) (27/28) Purging readline (8.2.10-r0) (28/28) Purging sqlite-libs (3.45.3-r0) Executing busybox-1.36.1-r25.trigger OK: 263 MiB in 110 packages >>> coccinelle: Updating the testing/ppc64le repository index... >>> coccinelle: Signing the index...