>>> coccinelle: Building testing/coccinelle 1.3.1-r0 (using abuild 3.18.0_rc3-r1) started Sun, 19 Jul 2026 12:12:30 +0000 >>> coccinelle: Validating /home/buildozer/aports/testing/coccinelle/APKBUILD... >>> WARNING: coccinelle: unit-test-score.bin is not in $source/$install/$triggers >>> coccinelle: Analyzing dependencies... >>> coccinelle: Installing for build: build-base pcre python3 autoconf automake ocaml ocaml-findlib ocaml-num ocaml-ocamldoc ( 1/30) Installing pcre (8.45-r4) ( 2/30) Installing libbz2 (1.0.8-r6) ( 3/30) Installing libffi (3.5.2-r1) ( 4/30) Installing xz-libs (5.8.3-r0) ( 5/30) Installing mpdecimal (4.0.1-r0) ( 6/30) Installing libpanelw (6.6_p20260516-r0) ( 7/30) Installing readline (8.3.3-r1) ( 8/30) Installing sqlite-libs (3.53.3-r0) ( 9/30) Installing python3 (3.14.5-r2) (10/30) Installing python3-pycache-pyc0 (3.14.5-r2) (11/30) Installing pyc (3.14.5-r2) (12/30) Installing python3-pyc (3.14.5-r2) (13/30) Installing m4 (1.4.21-r0) (14/30) Installing perl (5.42.2-r0) (15/30) Installing autoconf (2.73-r0) (16/30) Installing automake (1.18.1-r1) (17/30) Installing ocaml-runtime (4.14.4-r0) (18/30) Installing ocaml (4.14.4-r0) (19/30) Installing bash (5.3.9-r1) Executing bash-5.3.9-r1.post-install (20/30) Installing rpm-scripts (4.19.1.1-r5) (21/30) Installing ocaml-abuild-helper (4.14.4-r0) (22/30) Installing ocamlfind (1.9.6-r8) (23/30) Installing ocaml-compiler-libs (4.14.4-r0) (24/30) Installing ocaml-findlib (1.9.6-r8) (25/30) Installing ocaml-num (1.4-r6) (26/30) Installing ocaml-ocamldoc (4.14.4-r0) (27/30) Installing .makedepends-coccinelle (20260719.121231) (28/30) Installing perl-error (0.17030-r0) (29/30) Installing perl-git (2.55.0-r0) (30/30) Installing git-perl (2.55.0-r0) Executing busybox-1.38.0-r1.trigger OK: 545.2 MiB in 135 packages >>> coccinelle: Cleaning up srcdir >>> coccinelle: Cleaning up pkgdir >>> coccinelle: Cleaning up tmpdir >>> coccinelle: Fetching https://distfiles.alpinelinux.org/distfiles/edge/coccinelle-1.3.1.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/edge/coccinelle-1.3.1.tar.gz.part' coccinelle-1.3.1.tar 100% |********************************| 3042k 0:00:00 ETA '/var/cache/distfiles/edge/coccinelle-1.3.1.tar.gz.part' saved /var/cache/distfiles/edge/coccinelle-1.3.1.tar.gz: OK >>> coccinelle: Fetching https://distfiles.alpinelinux.org/distfiles/edge/coccinelle-1.3.1.tar.gz /var/cache/distfiles/edge/coccinelle-1.3.1.tar.gz: OK >>> coccinelle: Unpacking /var/cache/distfiles/edge/coccinelle-1.3.1.tar.gz... configure: WARNING: unrecognized options: --enable-release configure: configuring coccinelle 1.3.1 in /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1 checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 2 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 xargs -n works... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar 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... cc 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 cc accepts -g... yes checking for cc option to enable C23 features... unsupported checking for cc option to enable C11 features... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... none checking how to run the C preprocessor... cc -E checking for bash... /bin/bash checking for tar... /bin/tar checking for patch... /usr/bin/patch checking for echo... /bin/echo checking for hevea... no configure: WARNING: hevea not detected -- you will not be able to rebuild the documentation 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.4 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 that the OCaml version is at least 4.08... yes checking that the OCaml version is at least 5.0... no 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.3.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 checking for OCaml findlib package compiler-libs... 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.3.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.3.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.3.1/bundles/menhirLib/menhir. checking for menhir... /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/menhirLib/menhir checking if menhir supports -O 1... no 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.3.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.3.1/setup/fake-pdflatex.sh pdflatex. checking for pdflatex... /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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 commons/commands.ml config.status: creating globals/cocciconfig.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.3.1/bundles/stdcompat/stdcompat-current) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--enable-release=yes' '--with-python=/usr/bin/python3' 'CC=cc' 'CFLAGS=-Os -fstack-clash-protection -Wformat -Werror=format-security' 'LDFLAGS=-Wl,--as-needed,-O1,--sort-common' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 2 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 xargs -n works... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for ocaml... ocaml checking for ocamlc.opt... ocamlc.opt checking OCaml version... 4.14.4 checking for ocamlfind... ocamlfind configure: the best OCaml compiler is ocamlfind ocamlopt checking OCaml target OS type... Unix checking for flambda2... false 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_tests.ml 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__domain_s.mli config.status: creating stdcompat__dynarray_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__in_channel_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__out_channel_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__random_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__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__unit_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__domain_s.ml config.status: creating stdcompat__dynarray_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__random_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__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__in_channel_s.ml config.status: creating stdcompat__out_channel_s.ml config.status: creating stdcompat__unit_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__domain.ml config.status: creating stdcompat__dynarray.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__random.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__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__in_channel.ml config.status: creating stdcompat__out_channel.ml config.status: creating stdcompat__unit.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__domain.mli config.status: creating stdcompat__dynarray.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__random.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__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__in_channel.mli config.status: creating stdcompat__out_channel.mli config.status: creating stdcompat__unit.mli config.status: creating stdcompat.mli config.status: creating stdcompat.ml configure: OCaml version is 4.14.4 configure: Obj.magic will be used in redefinition when possible (add --disable-magic for pure redefinitions). === configuring in bundles/parmap (/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/parmap) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--enable-release=yes' '--with-python=/usr/bin/python3' 'CC=cc' 'CFLAGS=-Os -fstack-clash-protection -Wformat -Werror=format-security' 'LDFLAGS=-Wl,--as-needed,-O1,--sort-common' --cache-file=/dev/null --srcdir=. checking for gcc... cc 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 cc accepts -g... yes checking for cc option to enable C23 features... unsupported checking for cc option to enable C11 features... none needed checking for sched_setaffinity... yes checking for thread_policy_set... no checking for ocaml... ocaml checking for ocamlc.opt... ocamlc.opt checking OCaml version... 4.14.4 configure: creating ./config.status config.status: creating parmap/src/parmap_compat.ml config.status: creating parmap/src/bytearray.ml config.status: creating parmap/src/parmap.ml config.status: creating parmap/src/setcore_stubs.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.3.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) metainfo: ${prefix}/share/metainfo (overridable with --with-metainfo) ------------------------------------------------------------------------------ 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.3.1 ${SHELL} ./scripts/spatch.sh --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/cocciconfig.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/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/check_meta.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/patch_diff.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/pretty_print_c.ml OCAMLDEP parsing_c/control_flow_c_build.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 parsing_cocci/lexer_cli.mll OCAMLLEX parsing_cocci/lexer_script.mll 14 states, 681 transitions, table size 2808 bytes OCAMLLEX parsing_c/lexer_c.mll OCAMLLEX tools/spgen/source/spgen_lexer.mll 27 states, 322 transitions, table size 1450 bytes OCAMLYACC parsing_c/parser_c.mly 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/cocciconfig.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 143 states, 8123 transitions, table size 33350 bytes 23641 additional bytes used for bindings 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/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 404 states, 8859 transitions, table size 37860 bytes 4129 additional bytes used for bindings 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/check_meta.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/patch_diff.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 405 states, 16889 transitions, table size 69986 bytes 10637 additional bytes used for bindings 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/pretty_print_c.mli OCAMLDEP parsing_c/control_flow_c_build.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 OCAMLDEP parsing_cocci/lexer_cocci.ml OCAMLDEP parsing_cocci/lexer_cli.ml OCAMLDEP parsing_cocci/lexer_script.ml make[1]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat' cd stdcompat-current; make && cp *.mli *.cmi *.cmx *.cma *.cmxa *.a *.so .. OCAMLDEP parsing_c/lexer_c.ml OCAMLDEP tools/spgen/source/spgen_lexer.ml OCAMLDEP parsing_c/parser_c.ml make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat/stdcompat-current' cp stdcompat__native.ml_byte stdcompat__native.ml ocamlfind ocamldep stdcompat__init.ml stdcompat__root.ml stdcompat__either_s.ml stdcompat__either.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__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__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__dynarray_s.ml stdcompat__dynarray.ml stdcompat__float_s.ml stdcompat__queue_s.ml stdcompat__hashtbl.ml stdcompat__ephemeron_s.ml stdcompat__moreLabels_s.ml stdcompat__lexing_s.ml stdcompat__pervasives.ml stdcompat__option_s.ml stdcompat__result_s.ml stdcompat__bool_s.ml stdcompat__fun_s.ml stdcompat__printf_s.ml stdcompat__domain_s.ml stdcompat__domain.ml stdcompat__printexc_s.ml stdcompat__format_s.ml stdcompat__atomic_s.ml stdcompat__in_channel_s.ml stdcompat__out_channel_s.ml stdcompat__random_s.ml stdcompat__unit_s.ml stdcompat__stdlib_s.ml stdcompat__arg.ml stdcompat__lazy.ml stdcompat__char.ml stdcompat__option.ml stdcompat__buffer.ml stdcompat__sys.ml stdcompat__bytes.ml stdcompat__bytesLabels.ml stdcompat__string.ml stdcompat__stringLabels.ml stdcompat__filename.ml stdcompat__listLabels.ml stdcompat__stack.ml stdcompat__set.ml stdcompat__map.ml stdcompat__weak.ml stdcompat__random.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__in_channel.ml stdcompat__out_channel.ml stdcompat__unit.ml stdcompat__stdlib.ml stdcompat.ml stdcompat__native.mli stdcompat__init.mli stdcompat__root.mli stdcompat__either_s.mli stdcompat__either.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__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__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__dynarray_s.mli stdcompat__dynarray.mli stdcompat__float_s.mli stdcompat__queue_s.mli stdcompat__hashtbl.mli stdcompat__ephemeron_s.mli stdcompat__moreLabels_s.mli stdcompat__lexing_s.mli stdcompat__pervasives.mli stdcompat__option_s.mli stdcompat__result_s.mli stdcompat__bool_s.mli stdcompat__fun_s.mli stdcompat__printf_s.mli stdcompat__domain_s.mli stdcompat__domain.mli stdcompat__printexc_s.mli stdcompat__format_s.mli stdcompat__atomic_s.mli stdcompat__in_channel_s.mli stdcompat__out_channel_s.mli stdcompat__random_s.mli stdcompat__unit_s.mli stdcompat__stdlib_s.mli stdcompat__arg.mli stdcompat__lazy.mli stdcompat__char.mli stdcompat__option.mli stdcompat__buffer.mli stdcompat__sys.mli stdcompat__bytes.mli stdcompat__bytesLabels.mli stdcompat__string.mli stdcompat__stringLabels.mli stdcompat__filename.mli stdcompat__listLabels.mli stdcompat__stack.mli stdcompat__set.mli stdcompat__map.mli stdcompat__weak.mli stdcompat__random.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__in_channel.mli stdcompat__out_channel.mli stdcompat__unit.mli stdcompat__stdlib.mli stdcompat.mli stdcompat__native.ml_byte >.depend || rm -f .depend ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__native.mli -o stdcompat__native.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__init.mli -o stdcompat__init.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__tools.mli -o stdcompat__tools.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__arg_s.mli -o stdcompat__arg_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__lazy_s.mli -o stdcompat__lazy_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__char_s.mli -o stdcompat__char_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__uchar_s.mli -o stdcompat__uchar_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__buffer_s.mli -o stdcompat__buffer_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__string_s.mli -o stdcompat__string_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__stringLabels_s.mli -o stdcompat__stringLabels_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__list_s.mli -o stdcompat__list_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__listLabels_s.mli -o stdcompat__listLabels_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__stack_s.mli -o stdcompat__stack_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__weak_s.mli -o stdcompat__weak_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__sys_s.mli -o stdcompat__sys_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__nativeint_s.mli -o stdcompat__nativeint_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__int_s.mli -o stdcompat__int_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__int64_s.mli -o stdcompat__int64_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__int32_s.mli -o stdcompat__int32_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__filename_s.mli -o stdcompat__filename_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__array_s.mli -o stdcompat__array_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__arrayLabels_s.mli -o stdcompat__arrayLabels_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__dynarray_s.mli -o stdcompat__dynarray_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__queue_s.mli -o stdcompat__queue_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__lexing_s.mli -o stdcompat__lexing_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__option_s.mli -o stdcompat__option_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__result_s.mli -o stdcompat__result_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__bool_s.mli -o stdcompat__bool_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__fun_s.mli -o stdcompat__fun_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__printf_s.mli -o stdcompat__printf_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__domain_s.mli -o stdcompat__domain_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__printexc_s.mli -o stdcompat__printexc_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__atomic_s.mli -o stdcompat__atomic_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__in_channel_s.mli -o stdcompat__in_channel_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__out_channel_s.mli -o stdcompat__out_channel_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__random_s.mli -o stdcompat__random_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__unit_s.mli -o stdcompat__unit_s.cmi ocamlfind ocamlc -c stdcompat__stubs.c ocamlfind ocamlc -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated -c -impl stdcompat__native.ml_byte ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__tools.ml -o stdcompat__tools.cmo ocamlfind ocamlopt -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated -c -impl stdcompat__native.ml_native ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__tools.ml -o stdcompat__tools.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__arg_s.ml -o stdcompat__arg_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__lazy_s.ml -o stdcompat__lazy_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__char_s.ml -o stdcompat__char_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__uchar_s.ml -o stdcompat__uchar_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__root.mli -o stdcompat__root.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__either_s.mli -o stdcompat__either_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__seq_s.mli -o stdcompat__seq_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__pervasives_s.mli -o stdcompat__pervasives_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__uchar.mli -o stdcompat__uchar.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__bytes_s.mli -o stdcompat__bytes_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__bytesLabels_s.mli -o stdcompat__bytesLabels_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__list.mli -o stdcompat__list.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__digest_s.mli -o stdcompat__digest_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__domain.mli -o stdcompat__domain.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__arg.mli -o stdcompat__arg.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__lazy.mli -o stdcompat__lazy.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__char.mli -o stdcompat__char.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__option.mli -o stdcompat__option.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__buffer.mli -o stdcompat__buffer.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__sys.mli -o stdcompat__sys.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__string.mli -o stdcompat__string.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__stringLabels.mli -o stdcompat__stringLabels.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__filename.mli -o stdcompat__filename.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__listLabels.mli -o stdcompat__listLabels.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__stack.mli -o stdcompat__stack.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__weak.mli -o stdcompat__weak.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__random.mli -o stdcompat__random.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__nativeint.mli -o stdcompat__nativeint.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__int.mli -o stdcompat__int.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__int64.mli -o stdcompat__int64.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__int32.mli -o stdcompat__int32.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__array.mli -o stdcompat__array.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__arrayLabels.mli -o stdcompat__arrayLabels.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__queue.mli -o stdcompat__queue.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__lexing.mli -o stdcompat__lexing.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__printexc.mli -o stdcompat__printexc.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__result.mli -o stdcompat__result.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__bool.mli -o stdcompat__bool.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__fun.mli -o stdcompat__fun.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__printf.mli -o stdcompat__printf.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__atomic.mli -o stdcompat__atomic.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__in_channel.mli -o stdcompat__in_channel.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__out_channel.mli -o stdcompat__out_channel.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__unit.mli -o stdcompat__unit.cmi ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__init.ml -o stdcompat__init.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__arg_s.ml -o stdcompat__arg_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__lazy_s.ml -o stdcompat__lazy_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__char_s.ml -o stdcompat__char_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__uchar_s.ml -o stdcompat__uchar_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__uchar.ml -o stdcompat__uchar.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__buffer_s.ml -o stdcompat__buffer_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__string_s.ml -o stdcompat__string_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__stringLabels_s.ml -o stdcompat__stringLabels_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__list_s.ml -o stdcompat__list_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__listLabels_s.ml -o stdcompat__listLabels_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__stack_s.ml -o stdcompat__stack_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__weak_s.ml -o stdcompat__weak_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__sys_s.ml -o stdcompat__sys_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__digest_s.ml -o stdcompat__digest_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__nativeint_s.ml -o stdcompat__nativeint_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__int_s.ml -o stdcompat__int_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__int64_s.ml -o stdcompat__int64_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__int32_s.ml -o stdcompat__int32_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__filename_s.ml -o stdcompat__filename_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__array_s.ml -o stdcompat__array_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__arrayLabels_s.ml -o stdcompat__arrayLabels_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__dynarray_s.ml -o stdcompat__dynarray_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__queue_s.ml -o stdcompat__queue_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__lexing_s.ml -o stdcompat__lexing_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__option_s.ml -o stdcompat__option_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__result_s.ml -o stdcompat__result_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__bool_s.ml -o stdcompat__bool_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__fun_s.ml -o stdcompat__fun_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__printf_s.ml -o stdcompat__printf_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__domain_s.ml -o stdcompat__domain_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__domain.ml -o stdcompat__domain.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__printexc_s.ml -o stdcompat__printexc_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__atomic_s.ml -o stdcompat__atomic_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__in_channel_s.ml -o stdcompat__in_channel_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__out_channel_s.ml -o stdcompat__out_channel_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__random_s.ml -o stdcompat__random_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__unit_s.ml -o stdcompat__unit_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__arg.ml -o stdcompat__arg.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__lazy.ml -o stdcompat__lazy.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__option.ml -o stdcompat__option.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__buffer.ml -o stdcompat__buffer.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__sys.ml -o stdcompat__sys.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__stringLabels.ml -o stdcompat__stringLabels.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__filename.ml -o stdcompat__filename.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__listLabels.ml -o stdcompat__listLabels.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__stack.ml -o stdcompat__stack.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__weak.ml -o stdcompat__weak.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__random.ml -o stdcompat__random.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__int.ml -o stdcompat__int.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__array.ml -o stdcompat__array.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__arrayLabels.ml -o stdcompat__arrayLabels.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__queue.ml -o stdcompat__queue.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__lexing.ml -o stdcompat__lexing.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__printexc.ml -o stdcompat__printexc.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__result.ml -o stdcompat__result.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__fun.ml -o stdcompat__fun.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__printf.ml -o stdcompat__printf.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__atomic.ml -o stdcompat__atomic.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__in_channel.ml -o stdcompat__in_channel.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__out_channel.ml -o stdcompat__out_channel.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__unit.ml -o stdcompat__unit.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__init.ml -o stdcompat__init.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__uchar.ml -o stdcompat__uchar.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__buffer_s.ml -o stdcompat__buffer_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__string_s.ml -o stdcompat__string_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__stringLabels_s.ml -o stdcompat__stringLabels_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__list_s.ml -o stdcompat__list_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__listLabels_s.ml -o stdcompat__listLabels_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__stack_s.ml -o stdcompat__stack_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__list.ml -o stdcompat__list.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__weak_s.ml -o stdcompat__weak_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__sys_s.ml -o stdcompat__sys_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__nativeint_s.ml -o stdcompat__nativeint_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__int_s.ml -o stdcompat__int_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__int64_s.ml -o stdcompat__int64_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__int32_s.ml -o stdcompat__int32_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__filename_s.ml -o stdcompat__filename_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__array_s.ml -o stdcompat__array_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__arrayLabels_s.ml -o stdcompat__arrayLabels_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__dynarray_s.ml -o stdcompat__dynarray_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__queue_s.ml -o stdcompat__queue_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__lexing_s.ml -o stdcompat__lexing_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__option_s.ml -o stdcompat__option_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__result_s.ml -o stdcompat__result_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__bool_s.ml -o stdcompat__bool_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__fun_s.ml -o stdcompat__fun_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__printf_s.ml -o stdcompat__printf_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__domain_s.ml -o stdcompat__domain_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__domain.ml -o stdcompat__domain.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__printexc_s.ml -o stdcompat__printexc_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__atomic_s.ml -o stdcompat__atomic_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__in_channel_s.ml -o stdcompat__in_channel_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__out_channel_s.ml -o stdcompat__out_channel_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__random_s.ml -o stdcompat__random_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__unit_s.ml -o stdcompat__unit_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__arg.ml -o stdcompat__arg.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__lazy.ml -o stdcompat__lazy.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__option.ml -o stdcompat__option.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__buffer.ml -o stdcompat__buffer.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__sys.ml -o stdcompat__sys.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__stack.ml -o stdcompat__stack.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__weak.ml -o stdcompat__weak.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__random.ml -o stdcompat__random.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__int.ml -o stdcompat__int.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__array.ml -o stdcompat__array.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__queue.ml -o stdcompat__queue.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__lexing.ml -o stdcompat__lexing.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__printexc.ml -o stdcompat__printexc.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__result.ml -o stdcompat__result.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__fun.ml -o stdcompat__fun.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__printf.ml -o stdcompat__printf.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__atomic.ml -o stdcompat__atomic.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__in_channel.ml -o stdcompat__in_channel.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__out_channel.ml -o stdcompat__out_channel.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__unit.ml -o stdcompat__unit.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__either.mli -o stdcompat__either.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__seq.mli -o stdcompat__seq.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__dynarray.mli -o stdcompat__dynarray.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__pervasives.mli -o stdcompat__pervasives.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__format_s.mli -o stdcompat__format_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__bytes.mli -o stdcompat__bytes.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__bytesLabels.mli -o stdcompat__bytesLabels.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__digest.mli -o stdcompat__digest.cmi ocamlfind ocamlmklib -o stdcompat__stubs stdcompat__stubs.o ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__root.ml -o stdcompat__root.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__either_s.ml -o stdcompat__either_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__seq_s.ml -o stdcompat__seq_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__pervasives_s.ml -o stdcompat__pervasives_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__bytes_s.ml -o stdcompat__bytes_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__bytesLabels_s.ml -o stdcompat__bytesLabels_s.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__list.ml -o stdcompat__list.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__root.ml -o stdcompat__root.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__either_s.ml -o stdcompat__either_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__seq_s.ml -o stdcompat__seq_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__pervasives_s.ml -o stdcompat__pervasives_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__bytes_s.ml -o stdcompat__bytes_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__bytesLabels_s.ml -o stdcompat__bytesLabels_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__digest_s.ml -o stdcompat__digest_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__listLabels.ml -o stdcompat__listLabels.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__filename.ml -o stdcompat__filename.cmx ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__either.ml -o stdcompat__either.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__either.ml -o stdcompat__either.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__dynarray.ml -o stdcompat__dynarray.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__bytes.ml -o stdcompat__bytes.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__digest.ml -o stdcompat__digest.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__hashtbl_ext.mli -o stdcompat__hashtbl_ext.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__set_s.mli -o stdcompat__set_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__map_s.mli -o stdcompat__map_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__float_s.mli -o stdcompat__float_s.cmi ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__seq.ml -o stdcompat__seq.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__dynarray.ml -o stdcompat__dynarray.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__pervasives.ml -o stdcompat__pervasives.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__bytes.ml -o stdcompat__bytes.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__bytesLabels.ml -o stdcompat__bytesLabels.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__digest.ml -o stdcompat__digest.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__seq.ml -o stdcompat__seq.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__pervasives.ml -o stdcompat__pervasives.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__arrayLabels.ml -o stdcompat__arrayLabels.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__format.mli -o stdcompat__format.cmi ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__format_s.ml -o stdcompat__format_s.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__format_s.ml -o stdcompat__format_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__hashtbl_s.mli -o stdcompat__hashtbl_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__moreLabels_s.mli -o stdcompat__moreLabels_s.cmi ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__hashtbl_ext.ml -o stdcompat__hashtbl_ext.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__set.mli -o stdcompat__set.cmi ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__set_s.ml -o stdcompat__set_s.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__bytesLabels.ml -o stdcompat__bytesLabels.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__map.mli -o stdcompat__map.cmi ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__map_s.ml -o stdcompat__map_s.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__float.mli -o stdcompat__float.cmi ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__float_s.ml -o stdcompat__float_s.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__hashtbl_ext.ml -o stdcompat__hashtbl_ext.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__set_s.ml -o stdcompat__set_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__map_s.ml -o stdcompat__map_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__float_s.ml -o stdcompat__float_s.cmx ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__format.ml -o stdcompat__format.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__format.ml -o stdcompat__format.cmx ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__set.ml -o stdcompat__set.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__set.ml -o stdcompat__set.cmx ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__map.ml -o stdcompat__map.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__map.ml -o stdcompat__map.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__hashtbl.mli -o stdcompat__hashtbl.cmi ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__hashtbl_s.ml -o stdcompat__hashtbl_s.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__hashtbl_s.ml -o stdcompat__hashtbl_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__ephemeron_s.mli -o stdcompat__ephemeron_s.cmi ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__hashtbl.ml -o stdcompat__hashtbl.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__char.ml -o stdcompat__char.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__string.ml -o stdcompat__string.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__nativeint.ml -o stdcompat__nativeint.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__int64.ml -o stdcompat__int64.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__int32.ml -o stdcompat__int32.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__float.ml -o stdcompat__float.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__bool.ml -o stdcompat__bool.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__hashtbl.ml -o stdcompat__hashtbl.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__moreLabels.mli -o stdcompat__moreLabels.cmi ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__moreLabels_s.ml -o stdcompat__moreLabels_s.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__moreLabels_s.ml -o stdcompat__moreLabels_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__stdlib_s.mli -o stdcompat__stdlib_s.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__ephemeron.mli -o stdcompat__ephemeron.cmi ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__ephemeron_s.ml -o stdcompat__ephemeron_s.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__ephemeron_s.ml -o stdcompat__ephemeron_s.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__char.ml -o stdcompat__char.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__string.ml -o stdcompat__string.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__nativeint.ml -o stdcompat__nativeint.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__int64.ml -o stdcompat__int64.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__int32.ml -o stdcompat__int32.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__float.ml -o stdcompat__float.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__bool.ml -o stdcompat__bool.cmx ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__moreLabels.ml -o stdcompat__moreLabels.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__moreLabels.ml -o stdcompat__moreLabels.cmx ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__ephemeron.ml -o stdcompat__ephemeron.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__ephemeron.ml -o stdcompat__ephemeron.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__stringLabels.ml -o stdcompat__stringLabels.cmx ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__stdlib.mli -o stdcompat__stdlib.cmi ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat.mli -o stdcompat.cmi ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__stdlib_s.ml -o stdcompat__stdlib_s.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__stdlib_s.ml -o stdcompat__stdlib_s.cmx ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__stdlib.ml -o stdcompat__stdlib.cmo ocamlfind ocamlc -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat.ml -o stdcompat.cmo ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -I . -alert -deprecated stdcompat__stdlib.ml -o stdcompat__stdlib.cmx ocamlfind ocamlc -bin-annot -no-alias-deps -a stdcompat__native.cmo stdcompat__init.cmo stdcompat__root.cmo stdcompat__either_s.cmo stdcompat__either.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__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__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__dynarray_s.cmo stdcompat__dynarray.cmo stdcompat__float_s.cmo stdcompat__queue_s.cmo stdcompat__hashtbl.cmo stdcompat__ephemeron_s.cmo stdcompat__moreLabels_s.cmo stdcompat__lexing_s.cmo stdcompat__pervasives.cmo stdcompat__option_s.cmo stdcompat__result_s.cmo stdcompat__bool_s.cmo stdcompat__fun_s.cmo stdcompat__printf_s.cmo stdcompat__domain_s.cmo stdcompat__domain.cmo stdcompat__printexc_s.cmo stdcompat__format_s.cmo stdcompat__atomic_s.cmo stdcompat__in_channel_s.cmo stdcompat__out_channel_s.cmo stdcompat__random_s.cmo stdcompat__unit_s.cmo stdcompat__stdlib_s.cmo stdcompat__arg.cmo stdcompat__lazy.cmo stdcompat__char.cmo stdcompat__option.cmo stdcompat__buffer.cmo stdcompat__sys.cmo stdcompat__bytes.cmo stdcompat__bytesLabels.cmo stdcompat__string.cmo stdcompat__stringLabels.cmo stdcompat__filename.cmo stdcompat__listLabels.cmo stdcompat__stack.cmo stdcompat__set.cmo stdcompat__map.cmo stdcompat__weak.cmo stdcompat__random.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__in_channel.cmo stdcompat__out_channel.cmo stdcompat__unit.cmo stdcompat__stdlib.cmo stdcompat.cmo \ -cclib "-L. -lstdcompat__stubs" -dllib -lstdcompat__stubs -o stdcompat.cma ocamlfind ocamlopt -c -bin-annot -no-alias-deps -nolabels -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__either_s.cmx stdcompat__either.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__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__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__dynarray_s.cmx stdcompat__dynarray.cmx stdcompat__float_s.cmx stdcompat__queue_s.cmx stdcompat__hashtbl.cmx stdcompat__ephemeron_s.cmx stdcompat__moreLabels_s.cmx stdcompat__lexing_s.cmx stdcompat__pervasives.cmx stdcompat__option_s.cmx stdcompat__result_s.cmx stdcompat__bool_s.cmx stdcompat__fun_s.cmx stdcompat__printf_s.cmx stdcompat__domain_s.cmx stdcompat__domain.cmx stdcompat__printexc_s.cmx stdcompat__format_s.cmx stdcompat__atomic_s.cmx stdcompat__in_channel_s.cmx stdcompat__out_channel_s.cmx stdcompat__random_s.cmx stdcompat__unit_s.cmx stdcompat__stdlib_s.cmx stdcompat__arg.cmx stdcompat__lazy.cmx stdcompat__char.cmx stdcompat__option.cmx stdcompat__buffer.cmx stdcompat__sys.cmx stdcompat__bytes.cmx stdcompat__bytesLabels.cmx stdcompat__string.cmx stdcompat__stringLabels.cmx stdcompat__filename.cmx stdcompat__listLabels.cmx stdcompat__stack.cmx stdcompat__set.cmx stdcompat__map.cmx stdcompat__weak.cmx stdcompat__random.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__in_channel.cmx stdcompat__out_channel.cmx stdcompat__unit.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__either_s.cmx stdcompat__either.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__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__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__dynarray_s.cmx stdcompat__dynarray.cmx stdcompat__float_s.cmx stdcompat__queue_s.cmx stdcompat__hashtbl.cmx stdcompat__ephemeron_s.cmx stdcompat__moreLabels_s.cmx stdcompat__lexing_s.cmx stdcompat__pervasives.cmx stdcompat__option_s.cmx stdcompat__result_s.cmx stdcompat__bool_s.cmx stdcompat__fun_s.cmx stdcompat__printf_s.cmx stdcompat__domain_s.cmx stdcompat__domain.cmx stdcompat__printexc_s.cmx stdcompat__format_s.cmx stdcompat__atomic_s.cmx stdcompat__in_channel_s.cmx stdcompat__out_channel_s.cmx stdcompat__random_s.cmx stdcompat__unit_s.cmx stdcompat__stdlib_s.cmx stdcompat__arg.cmx stdcompat__lazy.cmx stdcompat__char.cmx stdcompat__option.cmx stdcompat__buffer.cmx stdcompat__sys.cmx stdcompat__bytes.cmx stdcompat__bytesLabels.cmx stdcompat__string.cmx stdcompat__stringLabels.cmx stdcompat__filename.cmx stdcompat__listLabels.cmx stdcompat__stack.cmx stdcompat__set.cmx stdcompat__map.cmx stdcompat__weak.cmx stdcompat__random.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__in_channel.cmx stdcompat__out_channel.cmx stdcompat__unit.cmx stdcompat__stdlib.cmx stdcompat.cmx -cclib "-L. -lstdcompat__stubs" -o stdcompat.cmxs make[2]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat/stdcompat-current' make[1]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat' make -C bundles/menhirLib all make[1]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.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 /usr/bin/ocamllex.opt menhir-20181113/src/lexpointfree.mll -o menhir-20181113/src/lexpointfree.ml 5 states, 259 transitions, table size 1066 bytes /usr/bin/ocamllex.opt menhir-20181113/src/lexer.mll -o menhir-20181113/src/lexer.ml /usr/bin/ocamllex.opt menhir-20181113/src/lexdep.mll -o menhir-20181113/src/lexdep.ml 17 states, 1699 transitions, table size 6898 bytes /usr/bin/ocamllex.opt menhir-20181113/src/lexmli.mll -o menhir-20181113/src/lexmli.ml /usr/bin/ocamllex.opt menhir-20181113/src/chopInlined.mll -o menhir-20181113/src/chopInlined.ml /usr/bin/ocamllex.opt menhir-20181113/src/sentenceLexer.mll -o menhir-20181113/src/sentenceLexer.ml 28 states, 426 transitions, table size 1872 bytes 1447 additional bytes used for bindings /usr/bin/ocamllex.opt menhir-20181113/src/segment.mll -o menhir-20181113/src/segment.ml 13 states, 275 transitions, table size 1178 bytes 1193 additional bytes used for bindings echo "let libdir = \"/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/menhirLib\"" > menhir-20181113/src/installation.ml 16 states, 675 transitions, table size 2796 bytes echo "let ocamlfind = false" >> menhir-20181113/src/installation.ml 16 states, 267 transitions, table size 1164 bytes 80 states, 5444 transitions, table size 22256 bytes 18240 additional bytes used for bindings 321 states, 2918 transitions, table size 13598 bytes 5980 additional bytes used for bindings /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.3.1/bundles/menhirLib' make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/menhirLib' /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Fix.mli -o menhir-20181113/src/Fix.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/IO.mli -o menhir-20181113/src/IO.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/installation.mli -o menhir-20181113/src/installation.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lineCount.ml -o menhir-20181113/src/lineCount.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/positions.mli -o menhir-20181113/src/positions.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/version.ml -o menhir-20181113/src/version.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/mark.mli -o menhir-20181113/src/mark.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/General.mli -o menhir-20181113/src/General.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/InfiniteArray.mli -o menhir-20181113/src/InfiniteArray.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/PackedIntArray.mli -o menhir-20181113/src/PackedIntArray.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/LinearizedArray.mli -o menhir-20181113/src/LinearizedArray.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/RowDisplacement.mli -o menhir-20181113/src/RowDisplacement.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/gSet.ml -o menhir-20181113/src/gSet.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/option.mli -o menhir-20181113/src/option.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/dot.mli -o menhir-20181113/src/dot.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lexpointfree.ml -o menhir-20181113/src/lexpointfree.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/tarjan.mli -o menhir-20181113/src/tarjan.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/unionFind.mli -o menhir-20181113/src/unionFind.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lexdep.ml -o menhir-20181113/src/lexdep.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/chopInlined.ml -o menhir-20181113/src/chopInlined.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/sequence.mli -o menhir-20181113/src/sequence.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Unifier.mli -o menhir-20181113/src/Unifier.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Memoize.mli -o menhir-20181113/src/Memoize.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/GroundSort.mli -o menhir-20181113/src/GroundSort.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/FixSolver.mli -o menhir-20181113/src/FixSolver.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Boolean.mli -o menhir-20181113/src/Boolean.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/gMap.ml -o menhir-20181113/src/gMap.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/slr.mli -o menhir-20181113/src/slr.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/DependencyGraph.mli -o menhir-20181113/src/DependencyGraph.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/conflict.mli -o menhir-20181113/src/conflict.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/MySet.mli -o menhir-20181113/src/MySet.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/resizableArray.mli -o menhir-20181113/src/resizableArray.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/LowIntegerPriorityQueue.mli -o menhir-20181113/src/LowIntegerPriorityQueue.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/coqBackend.mli -o menhir-20181113/src/coqBackend.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/pprint.mli -o menhir-20181113/src/pprint.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/astar.mli -o menhir-20181113/src/astar.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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 -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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 -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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 -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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 -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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 -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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 -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/LRijkstra.mli -o menhir-20181113/src/LRijkstra.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/cmly_write.mli -o menhir-20181113/src/cmly_write.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/back.mli -o menhir-20181113/src/back.cmi cp menhir-20181113/src/standard.mly standard.mly /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Fix.ml -o menhir-20181113/src/Fix.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/IO.ml -o menhir-20181113/src/IO.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/installation.ml -o menhir-20181113/src/installation.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/positions.ml -o menhir-20181113/src/positions.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/stringSet.ml -o menhir-20181113/src/stringSet.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/settings.mli -o menhir-20181113/src/settings.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/stretch.mli -o menhir-20181113/src/stretch.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/mark.ml -o menhir-20181113/src/mark.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/InfiniteArray.ml -o menhir-20181113/src/InfiniteArray.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/PackedIntArray.ml -o menhir-20181113/src/PackedIntArray.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/LinearizedArray.ml -o menhir-20181113/src/LinearizedArray.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/Convert.ml -o menhir-20181113/src/Convert.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/error.mli -o menhir-20181113/src/error.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/gSet.ml -o menhir-20181113/src/gSet.cmo /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/option.ml -o menhir-20181113/src/option.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/InputFile.ml -o menhir-20181113/src/InputFile.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/tarjan.ml -o menhir-20181113/src/tarjan.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/unionFind.ml -o menhir-20181113/src/unionFind.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/sequence.ml -o menhir-20181113/src/sequence.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Memoize.ml -o menhir-20181113/src/Memoize.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/GroundSort.ml -o menhir-20181113/src/GroundSort.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/FixSolver.ml -o menhir-20181113/src/FixSolver.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Boolean.ml -o menhir-20181113/src/Boolean.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Maps.ml -o menhir-20181113/src/Maps.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/gMap.ml -o menhir-20181113/src/gMap.cmo /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/MySet.ml -o menhir-20181113/src/MySet.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/resizableArray.ml -o menhir-20181113/src/resizableArray.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/pprint.ml -o menhir-20181113/src/pprint.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/segment.ml -o menhir-20181113/src/segment.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/cmly_format.ml -o menhir-20181113/src/cmly_format.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/settings.ml -o menhir-20181113/src/settings.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/IL.mli -o menhir-20181113/src/IL.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/stringMap.ml -o menhir-20181113/src/stringMap.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/IncrementalEngine.ml -o menhir-20181113/src/IncrementalEngine.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/RowDisplacement.ml -o menhir-20181113/src/RowDisplacement.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/misc.mli -o menhir-20181113/src/misc.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/dot.ml -o menhir-20181113/src/dot.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/CompletedNatWitness.ml -o menhir-20181113/src/CompletedNatWitness.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/patricia.mli -o menhir-20181113/src/patricia.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/codeBackend.mli -o menhir-20181113/src/codeBackend.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/inliner.mli -o menhir-20181113/src/inliner.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/tableBackend.mli -o menhir-20181113/src/tableBackend.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/printer.mli -o menhir-20181113/src/printer.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/codeBits.mli -o menhir-20181113/src/codeBits.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/LowIntegerPriorityQueue.ml -o menhir-20181113/src/LowIntegerPriorityQueue.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/compressedBitSet.ml -o menhir-20181113/src/compressedBitSet.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/cmly_api.ml -o menhir-20181113/src/cmly_api.cmo /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/patricia.ml -o menhir-20181113/src/patricia.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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 -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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 -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.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 -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/EngineTypes.ml -o menhir-20181113/src/EngineTypes.cmo /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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 -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Engine.mli -o menhir-20181113/src/Engine.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/TableFormat.ml -o menhir-20181113/src/TableFormat.cmo /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/Engine.ml -o menhir-20181113/src/Engine.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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 -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/printer.ml -o menhir-20181113/src/printer.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/codeBits.ml -o menhir-20181113/src/codeBits.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/TableInterpreter.ml -o menhir-20181113/src/TableInterpreter.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/error.ml -o menhir-20181113/src/error.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/time.ml -o menhir-20181113/src/time.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -for-pack MenhirLib -c menhir-20181113/src/TableInterpreter.ml -o menhir-20181113/src/TableInterpreter.cmo /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/action.ml -o menhir-20181113/src/action.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lexmli.ml -o menhir-20181113/src/lexmli.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.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 -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/syntax.ml -o menhir-20181113/src/syntax.cmo /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/unparameterizedSyntax.ml -o menhir-20181113/src/unparameterizedSyntax.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/misc.ml -o menhir-20181113/src/misc.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/parserAux.mli -o menhir-20181113/src/parserAux.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/parser.mli -o menhir-20181113/src/parser.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/expandTokenAliases.mli -o menhir-20181113/src/expandTokenAliases.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/partialGrammar.mli -o menhir-20181113/src/partialGrammar.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/SortInference.mli -o menhir-20181113/src/SortInference.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/CheckSafeParameterizedGrammar.mli -o menhir-20181113/src/CheckSafeParameterizedGrammar.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/anonymous.mli -o menhir-20181113/src/anonymous.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/unparameterizedSyntax.ml -o menhir-20181113/src/unparameterizedSyntax.cmo /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/expandTokenAliases.ml -o menhir-20181113/src/expandTokenAliases.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/SelectiveExpansion.mli -o menhir-20181113/src/SelectiveExpansion.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/parserAux.ml -o menhir-20181113/src/parserAux.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/astar.ml -o menhir-20181113/src/astar.cmx cp menhir-20181113/src/menhirLib.cmi menhirLib.cmi cp menhir-20181113/src/menhirLib.cmo menhirLib.cmo /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/tokenType.mli -o menhir-20181113/src/tokenType.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/nonterminalType.mli -o menhir-20181113/src/nonterminalType.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/interface.mli -o menhir-20181113/src/interface.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/infer.mli -o menhir-20181113/src/infer.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Drop.mli -o menhir-20181113/src/Drop.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/nonTerminalDefinitionInlining.mli -o menhir-20181113/src/nonTerminalDefinitionInlining.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/reachability.mli -o menhir-20181113/src/reachability.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/unparameterizedPrinter.mli -o menhir-20181113/src/unparameterizedPrinter.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/grammarFunctor.mli -o menhir-20181113/src/grammarFunctor.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/keywordExpansion.mli -o menhir-20181113/src/keywordExpansion.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/nonTerminalDefinitionInlining.ml -o menhir-20181113/src/nonTerminalDefinitionInlining.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/reachability.ml -o menhir-20181113/src/reachability.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/nonterminalType.ml -o menhir-20181113/src/nonterminalType.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Unifier.ml -o menhir-20181113/src/Unifier.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/grammarFunctor.ml -o menhir-20181113/src/grammarFunctor.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/traverse.ml -o menhir-20181113/src/traverse.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/SortUnification.ml -o menhir-20181113/src/SortUnification.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/partialGrammar.ml -o menhir-20181113/src/partialGrammar.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Drop.ml -o menhir-20181113/src/Drop.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/CheckSafeParameterizedGrammar.ml -o menhir-20181113/src/CheckSafeParameterizedGrammar.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/anonymous.ml -o menhir-20181113/src/anonymous.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/SortInference.ml -o menhir-20181113/src/SortInference.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/tokenType.ml -o menhir-20181113/src/tokenType.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/unparameterizedPrinter.ml -o menhir-20181113/src/unparameterizedPrinter.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/SelectiveExpansion.ml -o menhir-20181113/src/SelectiveExpansion.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lexer.ml -o menhir-20181113/src/lexer.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Driver.ml -o menhir-20181113/src/Driver.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/infer.ml -o menhir-20181113/src/infer.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/keywordExpansion.ml -o menhir-20181113/src/keywordExpansion.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/grammar.ml -o menhir-20181113/src/grammar.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/inliner.ml -o menhir-20181113/src/inliner.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/grammar.ml -o menhir-20181113/src/grammar.cmo /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/DependencyGraph.ml -o menhir-20181113/src/DependencyGraph.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/sentenceParserAux.ml -o menhir-20181113/src/sentenceParserAux.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/codePieces.mli -o menhir-20181113/src/codePieces.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lookahead.mli -o menhir-20181113/src/lookahead.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/cst.mli -o menhir-20181113/src/cst.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/sentenceParserAux.ml -o menhir-20181113/src/sentenceParserAux.cmo /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/codePieces.ml -o menhir-20181113/src/codePieces.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/item.ml -o menhir-20181113/src/item.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/derivation.mli -o menhir-20181113/src/derivation.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/sentenceParser.ml -o menhir-20181113/src/sentenceParser.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lr1.mli -o menhir-20181113/src/lr1.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lr1partial.mli -o menhir-20181113/src/lr1partial.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/invariant.mli -o menhir-20181113/src/invariant.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/default.mli -o menhir-20181113/src/default.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Trie.mli -o menhir-20181113/src/Trie.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/LRijkstraCore.mli -o menhir-20181113/src/LRijkstraCore.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/sentenceLexer.ml -o menhir-20181113/src/sentenceLexer.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/derivation.ml -o menhir-20181113/src/derivation.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lr0.ml -o menhir-20181113/src/lr0.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/slr.ml -o menhir-20181113/src/slr.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lr1.ml -o menhir-20181113/src/lr1.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/lr1partial.ml -o menhir-20181113/src/lr1partial.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/cmly_write.ml -o menhir-20181113/src/cmly_write.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/conflict.ml -o menhir-20181113/src/conflict.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/invariant.ml -o menhir-20181113/src/invariant.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/default.ml -o menhir-20181113/src/default.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/Trie.ml -o menhir-20181113/src/Trie.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/tableBackend.ml -o menhir-20181113/src/tableBackend.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/LRijkstraCore.ml -o menhir-20181113/src/LRijkstraCore.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/codeBackend.ml -o menhir-20181113/src/codeBackend.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/coqBackend.ml -o menhir-20181113/src/coqBackend.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I menhir-20181113/src -c menhir-20181113/src/interpret.ml -o menhir-20181113/src/interpret.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.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.3.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.3.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 make[2]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/menhirLib' make[1]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/menhirLib' make -C bundles/menhirLib all.opt make[1]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/menhirLib' make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/menhirLib' make[1]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/menhirLib' /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.1/bundles/pyml -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/parmap -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I +compiler-libs -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 OCAMLC commons/commands.mli OCAMLC commons/common.mli OCAMLC globals/cocciconfig.mli OCAMLC globals/flag.mli OCAMLC globals/iteration.mli OCAMLC globals/regexp_str.mli OCAMLC globals/regexp.mli OCAMLC parsing_cocci/flag_parsing_cocci.mli OCAMLC parsing_cocci/semantic_cocci.mli OCAMLC parsing_cocci/parse_printf.mli OCAMLC parsing_cocci/lexer_cli.mli OCAMLC parsing_cocci/cocci_grep.mli OCAMLC parsing_cocci/dpll.mli OCAMLC parsing_cocci/git_grep.mli OCAMLC parsing_cocci/patch_diff.mli OCAMLC parsing_cocci/command_line.mli OCAMLC parsing_cocci/cocci_args.mli OCAMLC parsing_c/token_annot.mli make -C bundles/parmap all OCAMLC parsing_c/flag_parsing_c.mli OCAMLC ctl/flag_ctl.mli OCAMLC ctl/ast_ctl.mli make[1]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/parmap' make depend-rec make -C bundles/pyml all make[1]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/pyml' OCAMLC engine/flag_matcher.mli OCAMLC engine/check_exhaustive_pattern.mli OCAMLC popl09/flag_popl.mli OCAMLC flag_cocci.mli OCAMLC read_options.mli OCAMLC enter.mli OCAMLC main.mli OCAMLC tools/spgen/source/spgen_lexer.mli make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/parmap' /usr/bin/ocamldep -I parmap/src parmap/src/bytearray.mli parmap/src/parmap_utils.mli parmap/src/parmap.mli parmap/src/parmap_compat.ml parmap/src/bytearray.ml parmap/src/parmap_utils.ml parmap/src/setcore.ml parmap/src/parmap.ml >.depend OCAMLC tools/spgen/source/spgen.mli OCAMLC tools/spgen/source/spgen_test.mli cp globals/regexp.cmi ocaml/regexp.cmi OCAMLC tools/spgen/source/main.mli cp globals/cocciconfig.cmi ocaml/cocciconfig.cmi cp globals/flag.cmi ocaml/flag.cmi cp globals/iteration.cmi ocaml/iteration.cmi cp commons/commands.cmi ocaml/commands.cmi cp commons/ocamlextra/dumper.cmi ocaml/dumper.cmi OCAMLC globals/regexp.ml OCAMLC globals/cocciconfig.ml OCAMLC globals/flag.ml OCAMLC commons/commands.ml OCAMLC commons/ocamlextra/dumper.ml OCAMLOPT commons/ocamlextra/dumper.ml OCAMLOPT commons/commands.ml OCAMLOPT globals/cocciconfig.ml OCAMLOPT globals/regexp_str.ml OCAMLOPT parsing_cocci/flag_parsing_cocci.ml OCAMLC parsing_cocci/ast_cocci.mli OCAMLOPT parsing_cocci/semantic_cocci.ml OCAMLOPT parsing_cocci/lexer_cli.ml OCAMLOPT parsing_cocci/cocci_args.ml OCAMLOPT parsing_c/token_annot.ml OCAMLOPT parsing_c/flag_parsing_c.ml OCAMLOPT ctl/flag_ctl.ml OCAMLOPT ctl/ast_ctl.ml make depend-rec OCAMLC ctl/pretty_print_ctl.mli OCAMLOPT engine/flag_matcher.ml make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/pyml' OCAMLOPT popl09/flag_popl.ml cp parsing_c/flag_parsing_c.cmi ocaml/flag_parsing_c.cmi OCAMLOPT flag_cocci.ml make[2]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/parmap' OCAMLC parsing_c/flag_parsing_c.ml OCAMLOPT tools/spgen/source/spgen_lexer.ml cp globals/regexp.cmo ocaml/regexp.cmo cp commons/commands.cmo ocaml/commands.cmo make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/parmap' /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I parmap/src -c parmap/src/parmap_compat.ml -o parmap/src/parmap_compat.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I parmap/src -c parmap/src/bytearray.mli -o parmap/src/bytearray.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I parmap/src -c parmap/src/parmap_utils.mli -o parmap/src/parmap_utils.cmi /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I parmap/src -c parmap/src/setcore.ml -o parmap/src/setcore.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I parmap/src -c parmap/src/parmap.mli -o parmap/src/parmap.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I parmap/src -ccopt -D_GNU_SOURCE -ccopt -fPIC parmap/src/bytearray_stubs.c -o parmap/src/bytearray_stubs.o /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I parmap/src -ccopt -D_GNU_SOURCE -ccopt -fPIC parmap/src/setcore_stubs.c -o parmap/src/setcore_stubs.o cp globals/cocciconfig.cmo ocaml/cocciconfig.cmo cp commons/ocamlextra/dumper.cmo ocaml/dumper.cmo cp globals/flag.cmo ocaml/flag.cmo cp commons/commands.cmx ocaml/commands.cmx OCAMLOPT globals/flag.ml /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current -c pyml-current/pyutils.mli -o pyml-current/pyutils.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current -c pyml-current/generate.ml -o pyml-current/generate.cmo OCAMLOPT globals/regexp.ml /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current -c pyml-current/pytypes.mli -o pyml-current/pytypes.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current -c pyml-current/pyml_arch.mli -o pyml-current/pyml_arch.cmi cp parmap/src/parmap.cmi parmap.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I parmap/src -c parmap/src/parmap_utils.ml -o parmap/src/parmap_utils.cmo cp parmap/src/bytearray.cmi bytearray.cmi cp parmap/src/parmap_utils.cmi parmap_utils.cmi cp globals/cocciconfig.cmx ocaml/cocciconfig.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I parmap/src -c parmap/src/setcore.ml -o parmap/src/setcore.cmo cp parmap/src/setcore.cmi setcore.cmi cp commons/ocamlextra/dumper.cmx ocaml/dumper.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current -c pyml-current/pyutils.ml -o pyml-current/pyutils.cmo /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I parmap/src -c parmap/src/parmap_compat.ml -o parmap/src/parmap_compat.cmo cp parmap/src/parmap_compat.cmi parmap_compat.cmi cp parsing_c/flag_parsing_c.cmo ocaml/flag_parsing_c.cmo cp globals/regexp.cmx ocaml/regexp.cmx /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I parmap/src -c parmap/src/bytearray.ml -o parmap/src/bytearray.cmo /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I parmap/src -c parmap/src/parmap.ml -o parmap/src/parmap.cmo cp parsing_c/flag_parsing_c.cmx ocaml/flag_parsing_c.cmx OCAMLOPT commons/common.ml OCAMLC commons/ograph_simple.mli OCAMLC commons/ograph_extended.mli OCAMLC parsing_c/parsing_stat.mli OCAMLC parsing_c/token_c.mli OCAMLC parsing_c/semantic_c.mli OCAMLC parsing_c/compare_c.mli OCAMLC parsing_c/test_parsing_c.mli OCAMLC extra/classic_patch.mli OCAMLC extra/kbuild.mli OCAMLC extra/maintainers.mli cp commons/common.cmi ocaml/common.cmi OCAMLC testing.mli OCAMLC globals/iteration.ml cp globals/flag.cmx ocaml/flag.cmx OCAMLC commons/common.ml OCAMLOPT parsing_cocci/parse_printf.ml cp parsing_c/token_c.cmi ocaml/token_c.cmi OCAMLC parsing_c/token_c.ml mv setcore_stubs.o parmap/src/setcore_stubs.o cp globals/iteration.cmo ocaml/iteration.cmo OCAMLC ctl/ctl_engine.mli OCAMLC parsing_cocci/ast0_cocci.mli OCAMLC parsing_cocci/pretty_print_cocci.mli OCAMLC parsing_cocci/visitor_ast.mli OCAMLC parsing_cocci/stmtlist.mli OCAMLC parsing_cocci/safe_for_multi_decls.mli OCAMLC parsing_cocci/cleanup_rules.mli OCAMLC parsing_cocci/disjdistr.mli OCAMLC parsing_cocci/get_constants2.mli OCAMLC parsing_cocci/re_constraints.mli OCAMLC parsing_c/ast_c.mli OCAMLC ocaml/yes_prepare_ocamlcocci.mli OCAMLC ocaml/prepare_ocamlcocci.mli OCAMLC popl09/ast_popl.mli OCAMLC tools/spgen/source/globals.mli cp parsing_cocci/ast_cocci.cmi ocaml/ast_cocci.cmi OCAMLC tools/spgen/source/ast_tostring.mli cp parsing_c/token_c.cmo ocaml/token_c.cmo OCAMLC parsing_cocci/ast_cocci.ml OCAMLC ctl/wrapper_ctl.mli OCAMLC parsing_cocci/id_utils.mli OCAMLC popl09/asttopopl.mli OCAMLC popl09/insert_quantifiers.mli OCAMLC popl09/pretty_print_popl.mli OCAMLC parsing_cocci/free_vars.mli mv bytearray_stubs.o parmap/src/bytearray_stubs.o /usr/bin/ocamlmklib -linkall -o parmap/src/parmap_stubs parmap/src/bytearray_stubs.o parmap/src/setcore_stubs.o /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I parmap/src -custom -cclib -lparmap_stubs -a parmap/src/parmap_compat.cmo parmap/src/bytearray.cmo parmap/src/parmap_utils.cmo parmap/src/setcore.cmo parmap/src/parmap.cmo -o parmap/src/parmap.cma /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current stdcompat.cma unix.cma pyml-current/pyutils.cmo pyml-current/generate.cmo -o pyml-current/generate cp parmap/src/libparmap_stubs.a libparmap_stubs.a cp parmap/src/dllparmap_stubs.so dllparmap_stubs.so cp parmap/src/parmap.cma parmap.cma make[2]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/parmap' make[1]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/parmap' make -C bundles/parmap all.opt make[1]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/parmap' cd pyml-current && LD_LIBRARY_PATH=/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat: ./generate make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/parmap' /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I parmap/src -c parmap/src/bytearray.ml -o parmap/src/bytearray.cmx /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I parmap/src -c parmap/src/parmap_utils.ml -o parmap/src/parmap_utils.cmx cp parmap/src/parmap_compat.cmx parmap_compat.cmx cp parmap/src/setcore.cmx setcore.cmx cp parmap/src/parmap_compat.cmi parmap_compat.cmi cp parmap/src/setcore.cmi setcore.cmi OCAMLC parsing_cocci/visitor_ast0_types.mli OCAMLC parsing_cocci/ast0toast.mli OCAMLC parsing_cocci/unparse_ast0.mli OCAMLC parsing_cocci/unify_ast.mli OCAMLC parsing_cocci/compute_lines.mli OCAMLC parsing_cocci/comm_assoc.mli OCAMLC parsing_cocci/single_statement.mli OCAMLC parsing_cocci/simple_assignments.mli OCAMLC parsing_cocci/get_metas.mli OCAMLC parsing_cocci/top_level.mli OCAMLC parsing_cocci/type_infer.mli OCAMLC parsing_cocci/test_exps.mli OCAMLC parsing_cocci/unitary_ast0.mli OCAMLC parsing_cocci/arity.mli /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current -i pyml-current/pywrappers.ml >pyml-current/pywrappers.mli OCAMLC parsing_cocci/index.mli OCAMLC parsing_cocci/context_neg.mli OCAMLC parsing_cocci/adjust_pragmas.mli OCAMLC parsing_cocci/insert_plus.mli OCAMLC parsing_cocci/function_prototypes.mli OCAMLC parsing_cocci/data.mli OCAMLC parsing_cocci/check_meta.mli OCAMLC parsing_cocci/adjacency.mli OCAMLC parsing_cocci/commas_on_lists.mli OCAMLC parsing_cocci/parse_cocci.mli OCAMLC tools/spgen/source/detect_patch.mli OCAMLC tools/spgen/source/meta_variable.mli cp parsing_cocci/ast0_cocci.cmi ocaml/ast0_cocci.cmi OCAMLC tools/spgen/source/file_transform.mli OCAMLC parsing_cocci/ast0_cocci.ml cp parmap/src/parmap_utils.cmx parmap_utils.cmx OCAMLC parsing_c/includes.mli OCAMLC parsing_c/control_flow_c.mli OCAMLC parsing_c/includes_cache.mli OCAMLC parsing_c/lexer_parser.mli OCAMLC parsing_c/parser_c.mli OCAMLC parsing_c/unparse_cocci.mli OCAMLC parsing_c/parsing_consistency_c.mli OCAMLC parsing_c/danger.mli OCAMLC parsing_c/unparse_hrule.mli OCAMLC parsing_c/type_c.mli OCAMLC parsing_c/type_annoter_c.mli OCAMLC ocaml/externalanalysis.mli OCAMLC ocaml/ocamlcocci_aux.mli OCAMLC ocaml/run_ocamlcocci.mli OCAMLC python/pycocci_aux.mli OCAMLC python/pycocci.mli /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I parmap/src -c parmap/src/parmap.ml -o parmap/src/parmap.cmx OCAMLC engine/c_vs_c.mli cp parmap/src/bytearray.cmx bytearray.cmx cp parsing_c/ast_c.cmi ocaml/ast_c.cmi OCAMLC engine/isomorphisms_c_c.mli OCAMLC parsing_c/ast_c.ml OCAMLC tools/spgen/source/snapshot.mli OCAMLC tools/spgen/source/rule_body.mli OCAMLC tools/spgen/source/user_input.mli OCAMLC tools/spgen/source/rule_header.mli OCAMLC tools/spgen/source/context_rule.mli OCAMLC parsing_c/lexer_c.mli OCAMLC parsing_c/parse_string_c.mli OCAMLC parsing_c/token_helpers.mli OCAMLC parsing_c/token_views_c.mli OCAMLC parsing_c/parsing_recovery_c.mli cp parsing_c/parser_c.cmi ocaml/parser_c.cmi OCAMLC parsing_c/comment_annotater_c.mli OCAMLC tools/spgen/source/script_rule.mli OCAMLC tools/spgen/source/spgen_interactive.mli OCAMLC tools/spgen/source/spgen_config.mli OCAMLC tools/spgen/source/position_generator.mli OCAMLC tools/spgen/source/disj_generator.mli OCAMLC parsing_cocci/parse_aux.mli OCAMLC parsing_c/visitor_c.mli OCAMLC parsing_c/pretty_print_c.mli OCAMLC parsing_c/control_flow_c_build.mli OCAMLC engine/lib_engine.mli OCAMLC engine/check_reachability.mli OCAMLC engine/cocci_vs_c.mli OCAMLC parsing_c/cpp_token_c.mli OCAMLC parsing_cocci/visitor_ast0.mli cp parsing_c/lexer_c.cmi ocaml/lexer_c.cmi OCAMLC parsing_cocci/iso_pattern.mli OCAMLC parsing_c/lexer_c.ml /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 cp parsing_c/pretty_print_c.cmi ocaml/pretty_print_c.cmi OCAMLC parsing_c/parsing_hacks.mli OCAMLC parsing_c/cpp_analysis_c.mli OCAMLC parsing_c/parse_c.mli OCAMLC parsing_cocci/iso_compile.mli cp parsing_c/visitor_c.cmi ocaml/visitor_c.cmi OCAMLC parsing_c/lib_parsing_c.mli OCAMLC parsing_c/visitor_c.ml MENHIR parsing_cocci/parser_cocci_menhir.mly OCAMLC engine/pretty_print_engine.mli OCAMLC engine/pattern_c.mli OCAMLC engine/transformation_c.mli OCAMLC engine/asttomember.mli OCAMLC engine/asttoctl2.mli OCAMLC engine/ctltotex.mli OCAMLC engine/postprocess_transinfo.mli OCAMLC engine/ctlcocci_integration.mli cp parsing_cocci/ast_cocci.cmo ocaml/ast_cocci.cmo OCAMLC parsing_c/unparse_c.mli OCAMLC parsing_c/cpp_ast_c.mli OCAMLC ocaml/coccilib.mli cp parsing_c/parse_c.cmi ocaml/parse_c.cmi OCAMLC cocci.mli OCAMLC parsing_c/parse_c.ml OCAMLC popl09/popltoctl.mli OCAMLC popl09/popl.mli cp parsing_c/lib_parsing_c.cmi ocaml/lib_parsing_c.cmi OCAMLC ocaml/exposed_modules.mli OCAMLC parsing_c/parser_c.ml OCAMLC parsing_c/pretty_print_c.ml OCAMLC parsing_c/lib_parsing_c.ml make[2]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/pyml' make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/pyml' cc -E pyml-current/pyml_arch.ml.c | sed '/^#/d' >pyml-current/pyml_arch.ml /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current -c pyml-current/pytypes.ml -o pyml-current/pytypes.cmo /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current -c pyml-current/pywrappers.mli -o pyml-current/pywrappers.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current -c pyml-current/py.mli -o pyml-current/py.cmi /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current -ccopt -I/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -ccopt -fPIC pyml-current/pyml_stubs.c -o pyml-current/pyml_stubs.o cp parsing_cocci/ast0_cocci.cmo ocaml/ast0_cocci.cmo cp parsing_c/ast_c.cmo ocaml/ast_c.cmo /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current -c pyml-current/pyml_arch.ml -o pyml-current/pyml_arch.cmo /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current -c pyml-current/pywrappers.ml -o pyml-current/pywrappers.cmo cp pyml-current/pywrappers.cmi pywrappers.cmi cp parsing_c/lib_parsing_c.cmo ocaml/lib_parsing_c.cmo /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current -c pyml-current/py.ml -o pyml-current/py.cmo /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current -c pyml-current/pycaml.mli -o pyml-current/pycaml.cmi cp pyml-current/py.cmi py.cmi cp parsing_c/lexer_c.cmo ocaml/lexer_c.cmo /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I parmap/src -cclib -lparmap_stubs -a parmap/src/parmap_compat.cmx parmap/src/bytearray.cmx parmap/src/parmap_utils.cmx parmap/src/setcore.cmx parmap/src/parmap.cmx -o parmap/src/parmap.cmxa cp parmap/src/parmap.cmx parmap.cmx cp parmap/src/parmap.cmxa parmap.cmxa cp parmap/src/parmap.a parmap.a make[2]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/parmap' make[1]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/parmap' cp /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/parmap/parmap.cmi ocaml/parmap.cmi if test -f /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/parmap/parmap.cmx; then \ cp /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/parmap/parmap.cmx ocaml/parmap.cmx; \ fi cp commons/common.cmo ocaml/common.cmo /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current -c pyml-current/pycaml.ml -o pyml-current/pycaml.cmo cp pyml-current/pycaml.cmi pycaml.cmi cp parsing_c/parse_c.cmo ocaml/parse_c.cmo cp parsing_c/visitor_c.cmo ocaml/visitor_c.cmo cp parsing_c/pretty_print_c.cmo ocaml/pretty_print_c.cmo /usr/bin/ocamlc.opt -unsafe -w @42 -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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 OCAMLOPT commons/ograph_simple.ml OCAMLOPT commons/ograph_extended.ml OCAMLOPT globals/iteration.ml OCAMLOPT parsing_cocci/ast_cocci.ml OCAMLOPT parsing_cocci/cocci_grep.ml OCAMLOPT parsing_cocci/dpll.ml OCAMLOPT parsing_cocci/git_grep.ml OCAMLOPT parsing_cocci/patch_diff.ml OCAMLOPT parsing_cocci/command_line.ml OCAMLOPT parsing_c/parsing_stat.ml OCAMLOPT parsing_c/token_c.ml OCAMLOPT parsing_c/semantic_c.ml OCAMLOPT ctl/pretty_print_ctl.ml OCAMLOPT extra/classic_patch.ml OCAMLOPT extra/kbuild.ml OCAMLOPT extra/maintainers.ml cp commons/common.cmx ocaml/common.cmx OCAMLOPT read_options.ml cp parsing_c/parser_c.cmo ocaml/parser_c.cmo cp parsing_c/token_c.cmx ocaml/token_c.cmx cp globals/iteration.cmx ocaml/iteration.cmx OCAMLOPT -o globals/globals.cmxa OCAMLOPT -o extra/extra.cmxa OCAMLOPT -o commons/commons.cmxa OCAMLOPT ctl/ctl_engine.ml OCAMLOPT parsing_cocci/ast0_cocci.ml OCAMLOPT parsing_cocci/pretty_print_cocci.ml OCAMLOPT parsing_c/ast_c.ml OCAMLOPT popl09/ast_popl.ml OCAMLOPT tools/spgen/source/globals.ml cp parsing_cocci/ast_cocci.cmx ocaml/ast_cocci.cmx OCAMLOPT tools/spgen/source/ast_tostring.ml OCAMLOPT popl09/insert_quantifiers.ml OCAMLOPT parsing_cocci/visitor_ast0_types.ml OCAMLOPT parsing_cocci/visitor_ast.ml OCAMLOPT parsing_cocci/compute_lines.ml OCAMLOPT parsing_cocci/top_level.ml OCAMLOPT parsing_cocci/arity.ml OCAMLOPT parsing_cocci/index.ml cp parsing_cocci/ast0_cocci.cmx ocaml/ast0_cocci.cmx OCAMLOPT parsing_cocci/data.ml OCAMLOPT parsing_c/includes.ml OCAMLOPT parsing_c/control_flow_c.ml OCAMLOPT parsing_c/lexer_parser.ml OCAMLOPT parsing_c/type_c.ml OCAMLOPT ocaml/externalanalysis.ml cp parsing_c/ast_c.cmx ocaml/ast_c.cmx OCAMLOPT engine/isomorphisms_c_c.ml OCAMLOPT parsing_c/visitor_c.ml OCAMLOPT engine/check_exhaustive_pattern.ml OCAMLOPT parsing_cocci/visitor_ast0.ml OCAMLOPT popl09/asttopopl.ml OCAMLOPT popl09/pretty_print_popl.ml OCAMLOPT parsing_c/lib_parsing_c.ml cp parsing_c/visitor_c.cmx ocaml/visitor_c.cmx OCAMLOPT parsing_c/parsing_consistency_c.ml OCAMLOPT parsing_c/includes_cache.ml OCAMLOPT parsing_c/pretty_print_c.ml OCAMLOPT parsing_c/danger.ml cp parsing_c/lib_parsing_c.cmx ocaml/lib_parsing_c.cmx OCAMLOPT engine/c_vs_c.ml OCAMLOPT ctl/wrapper_ctl.ml OCAMLOPT -o ctl/ctl.cmxa OCAMLOPT engine/lib_engine.ml OCAMLOPT engine/check_reachability.ml OCAMLOPT engine/ctltotex.ml OCAMLOPT parsing_c/control_flow_c_build.ml OCAMLOPT parsing_c/parser_c.ml OCAMLOPT parsing_c/unparse_cocci.ml OCAMLOPT ocaml/ocamlcocci_aux.ml OCAMLOPT python/pycocci_aux.ml cp parsing_c/pretty_print_c.cmx ocaml/pretty_print_c.cmx OCAMLOPT engine/pretty_print_engine.ml OCAMLOPT parsing_cocci/stmtlist.ml OCAMLOPT parsing_cocci/free_vars.ml OCAMLOPT parsing_cocci/safe_for_multi_decls.ml OCAMLOPT parsing_cocci/cleanup_rules.ml OCAMLOPT parsing_cocci/disjdistr.ml OCAMLOPT parsing_cocci/get_constants2.ml OCAMLOPT parsing_cocci/re_constraints.ml OCAMLOPT engine/asttomember.ml OCAMLOPT engine/asttoctl2.ml OCAMLOPT parsing_c/unparse_hrule.ml OCAMLOPT parsing_cocci/ast0toast.ml OCAMLOPT parsing_cocci/iso_compile.ml OCAMLOPT parsing_cocci/simple_assignments.ml OCAMLOPT parsing_cocci/get_metas.ml OCAMLOPT parsing_cocci/test_exps.ml OCAMLOPT parsing_cocci/unitary_ast0.ml OCAMLOPT parsing_cocci/adjust_pragmas.ml OCAMLOPT parsing_cocci/adjacency.ml OCAMLOPT parsing_cocci/commas_on_lists.ml OCAMLOPT tools/spgen/source/detect_patch.ml OCAMLOPT parsing_cocci/id_utils.ml OCAMLDEP parsing_cocci/parser_cocci_menhir.ml OCAMLDEP parsing_cocci/parser_cocci_menhir.mli OCAMLC parsing_cocci/parser_cocci_menhir.mli OCAMLC parsing_cocci/lexer_cocci.mli OCAMLC parsing_cocci/lexer_script.mli OCAMLOPT tools/spgen/source/snapshot.ml OCAMLOPT tools/spgen/source/position_generator.ml OCAMLOPT parsing_c/lexer_c.ml OCAMLOPT parsing_c/parse_string_c.ml cp parsing_c/parser_c.cmx ocaml/parser_c.cmx OCAMLOPT parsing_c/token_helpers.ml OCAMLOPT parsing_cocci/check_meta.ml OCAMLOPT parsing_c/token_views_c.ml OCAMLOPT parsing_c/parsing_recovery_c.ml OCAMLOPT parsing_c/unparse_c.ml OCAMLOPT parsing_c/comment_annotater_c.ml cp parsing_c/lexer_c.cmx ocaml/lexer_c.cmx OCAMLOPT tools/spgen/source/disj_generator.ml OCAMLOPT parsing_c/cpp_token_c.ml OCAMLOPT parsing_cocci/unparse_ast0.ml OCAMLOPT parsing_cocci/unify_ast.ml OCAMLOPT parsing_cocci/type_infer.ml OCAMLOPT tools/spgen/source/meta_variable.ml OCAMLOPT tools/spgen/source/rule_body.ml OCAMLOPT parsing_c/parsing_hacks.ml mv pyml_stubs.o pyml-current/pyml_stubs.o /usr/bin/ocamlmklib -linkall -o pyml-current/pyml_stubs pyml-current/pyml_stubs.o OCAMLOPT tools/spgen/source/user_input.ml OCAMLOPT tools/spgen/source/rule_header.ml 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.3.1/bundles/pyml' make[1]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/pyml' make -C bundles/pyml all.opt make[1]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/pyml' make[2]: Entering directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/pyml' /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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.3.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.3.1/bundles/stdcompat -I pyml-current -c pyml-current/pytypes.ml -o pyml-current/pytypes.cmx OCAMLOPT tools/spgen/source/context_rule.ml OCAMLOPT tools/spgen/source/file_transform.ml /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current -c pyml-current/pywrappers.ml -o pyml-current/pywrappers.cmx OCAMLOPT tools/spgen/source/script_rule.ml OCAMLOPT tools/spgen/source/spgen_interactive.ml OCAMLOPT tools/spgen/source/spgen_config.ml OCAMLOPT popl09/popltoctl.ml OCAMLOPT parsing_cocci/comm_assoc.ml OCAMLOPT parsing_cocci/context_neg.ml OCAMLOPT parsing_cocci/iso_pattern.ml OCAMLOPT parsing_cocci/parse_aux.ml /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current -c pyml-current/py.ml -o pyml-current/py.cmx cp pyml-current/pywrappers.cmx pywrappers.cmx OCAMLOPT popl09/popl.ml OCAMLOPT -o popl09/popl09.cmxa OCAMLOPT parsing_c/cpp_analysis_c.ml OCAMLOPT parsing_c/parse_c.ml OCAMLOPT parsing_cocci/parser_cocci_menhir.ml OCAMLOPT parsing_c/cpp_ast_c.ml OCAMLOPT parsing_c/type_annoter_c.ml OCAMLOPT parsing_c/compare_c.ml cp parsing_c/parse_c.cmx ocaml/parse_c.cmx OCAMLOPT ocaml/exposed_modules.ml /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/stdcompat -I pyml-current -c pyml-current/pycaml.ml -o pyml-current/pycaml.cmx cp pyml-current/py.cmx py.cmx OCAMLOPT parsing_cocci/insert_plus.ml OCAMLOPT parsing_c/test_parsing_c.ml OCAMLOPT ocaml/coccilib.ml /usr/bin/ocamlopt.opt -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.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/pycaml.cmx pycaml.cmx cp pyml-current/pyml.cmxa pyml.cmxa cp pyml-current/pyml.a pyml.a make[2]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/pyml' make[1]: Leaving directory '/home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/bundles/pyml' OCAMLC python/yes_pycocci.mli OCAMLOPT -o parsing_c/parsing_c.cmxa OCAMLOPT ocaml/yes_prepare_ocamlcocci.ml OCAMLOPT ocaml/run_ocamlcocci.ml OCAMLOPT python/yes_pycocci.ml OCAMLOPT parsing_cocci/single_statement.ml OCAMLOPT parsing_cocci/function_prototypes.ml OCAMLOPT python/pycocci.ml OCAMLOPT ocaml/prepare_ocamlcocci.ml OCAMLOPT -o python/python.cmxa OCAMLOPT engine/cocci_vs_c.ml OCAMLOPT engine/postprocess_transinfo.ml OCAMLOPT -o ocaml/ocaml.cmxa OCAMLOPT engine/pattern_c.ml OCAMLOPT engine/transformation_c.ml OCAMLOPT engine/ctlcocci_integration.ml OCAMLOPT -o engine/engine.cmxa OCAMLOPT parsing_cocci/lexer_cocci.ml OCAMLOPT parsing_cocci/lexer_script.ml OCAMLOPT parsing_cocci/parse_cocci.ml OCAMLOPT -o parsing_cocci/parsing_cocci.cmxa OCAMLOPT cocci.ml OCAMLOPT tools/spgen/source/spgen.ml OCAMLOPT tools/spgen/source/spgen_test.ml OCAMLOPT tools/spgen/source/main.ml OCAMLOPT -o tools/spgen/source/spgen.opt OCAMLOPT testing.ml OCAMLOPT enter.ml OCAMLOPT main.ml OCAMLOPT -o spatch.opt init_defs_builtins: /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/standard.h 62.res diff = --- tests/62.c +++ /tmp/cocci-output-1380272-bc73e9-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 a3.res diff = --- tests/a3.c +++ /tmp/cocci-output-1380272-c10559-a3.c @@ -1,5 +1,5 @@ static void a3d_connect() { - a3d->idbus = BUS_GAMEPORT; + a3d->id.bustype = BUS_GAMEPORT; } a3d.res diff = --- tests/a3d.c +++ /tmp/cocci-output-1380272-8b4741-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-1380272-9eea4b-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 diff = --- tests/ab.c +++ /tmp/cocci-output-1380272-e54325-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-1380272-0cb2fa-action.c @@ -1,10 +1,8 @@ void work() { if (x) - { - action(el, 1); - return; - } + goto last_action; code(); + last_action: action(el, 1); } add1.res SPECIAL NAMES: adding list_for_each_entry as a iterator diff = --- tests/add1.c +++ /tmp/cocci-output-1380272-016bbd-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 = warning: rule starting on line 1, node 32: c(...)[1,2,10,11,15] in main may be inconsistently modified warning: rule starting on line 1, node 28: [fallthrough][1,2,10,11,13] in main may be inconsistently modified warning: rule starting on line 1, node 25: a(...)[1,2,10,11,12] in main may be inconsistently modified warning: rule starting on line 1, node 30: [after][1,2,10,11,13] in main may be inconsistently modified warning: rule starting on line 1, node 24: {3[1,2,10,11] in main may be inconsistently modified warning: rule starting on line 1, node 21: [whiletrue][1,2,10] in main may be inconsistently modified warning: rule starting on line 1, node 33: }3[1,2,10,11] in main may be inconsistently modified warning: rule starting on line 1, node 27: [then][1,2,10,11,13] in main may be inconsistently modified warning: rule starting on line 1, node 26: if[1,2,10,11,13] in main may be inconsistently modified warning: rule starting on line 1, node 31: statement[1,2,10,11,13,14] in main may be inconsistently modified warning: rule starting on line 1, node 34: [after][1,2,10,11] in main may be inconsistently modified warning: rule starting on line 1, node 29: [endif][1,2,10,11,13] in main may be inconsistently modified warning: rule starting on line 1, node 20: while[1,2,10]* in main may be inconsistently modified --- tests/addaft.c +++ /tmp/cocci-output-1380272-9b7ae3-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(); } addafterdecl.res diff = --- tests/addafterdecl.c +++ /tmp/cocci-output-1380272-0c3678-addafterdecl.c @@ -1,4 +1,5 @@ int main () { int x; + f(1, 2, 3); return x; } addbefore.res diff = --- tests/addbefore.c +++ /tmp/cocci-output-1380272-9c6e41-addbefore.c @@ -1,5 +1,6 @@ int main () { if (x) { + foo(); goto out; } after(); addbeforeafter.res diff = --- tests/addbeforeafter.c +++ /tmp/cocci-output-1380272-cb35e2-addbeforeafter.c @@ -1,6 +1,8 @@ int main () { if (x) { + foo(); goto out; + bar(); } after(); out: addcomm.res diff = --- tests/addcomm.c +++ /tmp/cocci-output-1380272-ff24b0-addcomm.c @@ -1,5 +1,9 @@ int main() { - foo(); + foo() + // something + ; bar(); - xxx(); + // something + xxx() + /* something */; } addelse.res diff = --- tests/addelse.c +++ /tmp/cocci-output-1380272-632b5e-addelse.c @@ -1,3 +1,2 @@ int main () { - if (x == 12) return 6; } addes.res diff = --- tests/addes.c +++ /tmp/cocci-output-1380272-804dad-addes.c @@ -1 +1,3 @@ int i; +struct foo { +}; addfield.res diff = --- tests/addfield.c +++ /tmp/cocci-output-1380272-5586fd-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-1380272-7c73e4-addfield2.c @@ -1,17 +1,21 @@ struct foo { + int roto; int titi; }; foo() { + roto(); start(); } struct bar { int titi; + int roto; }; bar() { start(); + roto(); } addif1_spacingfailure.res diff = --- tests/addif1_spacingfailure.c +++ /tmp/cocci-output-1380272-896d95-addif1_spacingfailure.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-1380272-49500d-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; } addif_spacingfailure.res diff = --- tests/addif_spacingfailure.c +++ /tmp/cocci-output-1380272-f6ff17-addif_spacingfailure.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; } addifdef_spacingfailure.res diff = --- tests/addifdef_spacingfailure.c +++ /tmp/cocci-output-1380272-21a8c1-addifdef_spacingfailure.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-1380272-8931ae-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-1380272-fc182d-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-1380272-a5d88b-addinc.c @@ -1,4 +1,5 @@ #ifndef FOO #define FOO #include +#include #endif addnl.res diff = --- tests/addnl.c +++ /tmp/cocci-output-1380272-001dcb-addnl.c @@ -1,5 +1,6 @@ int main () { xxx(); - foo(); + FOO(); + yyy(); } addtoo.res diff = --- tests/addtoo.c +++ /tmp/cocci-output-1380272-f396fb-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-1380272-ad242f-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-1380272-d56502-after_if.c @@ -1,4 +1,4 @@ #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-1380272-dd6415-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-1380272-440de6-allex2.c @@ -8,5 +8,5 @@ } return 15; out: - return 0; + return 100; } allex3.res diff = --- tests/allex3.c +++ /tmp/cocci-output-1380272-980307-allex3.c @@ -9,5 +9,4 @@ } return 15; out: - return 0; } andid.res diff = --- tests/andid.c +++ /tmp/cocci-output-1380272-93604e-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-1380272-50de43-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-1380272-d80e4d-anonfield.c @@ -1,3 +1,3 @@ struct { - int; + bool; }; ar.res diff = --- tests/ar.c +++ /tmp/cocci-output-1380272-bd1585-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-1380272-20cd7e-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-1380272-1af4da-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-1380272-1c9543-arparam.c @@ -1,3 +1,8 @@ +int g(int q[1024]) +{ + return 12; +} + int main(int q[1024]) { return 12; } array_init.res SPECIAL NAMES: adding MODULE_PARM as a declarer diff = --- tests/array_init.c +++ /tmp/cocci-output-1380272-15b0e5-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-1380272-627693-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-1380272-fb2e0a-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-1380272-8f5e19-as_stm.c @@ -1,3 +1,5 @@ int main () { +#ifdef BEFORE if (f()) return 15; +#endif } assign_deref_funcall_in_macro_it.res SPECIAL NAMES: adding for_one as a iterator attr_with_arguments.res SPECIAL NAMES: adding aarg as a attribute SPECIAL NAMES: adding aarg2 as a attribute SPECIAL NAMES: adding aarg3 as a attribute warning: line 36: should id be a metavariable? SPECIAL NAMES: adding aarg4 as a attribute diff = --- tests/attr_with_arguments.c +++ /tmp/cocci-output-1380272-064e65-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-1380272-cbb686-attradd.c @@ -1,3 +1,5 @@ int main () { - char f; + char __attribute__((aligned(1))) f; } +// some comment +// some other comment attribute_order.res SPECIAL NAMES: adding __att1 as a attribute SPECIAL NAMES: adding __att2 as a attribute SPECIAL NAMES: adding __att3 as a attribute diff = --- tests/attribute_order.c +++ /tmp/cocci-output-1380272-bc9b99-attribute_order.c @@ -1,3 +1,3 @@ -int __att1 * __att2 * __att3 foo() { return 0; } + int __att1 * __att3 * __att2 nochange1() { return 0; } int __att3 * __att1 * __att2 nochange2() { return 0; } attributeb.res warning: line 5: should variable be a metavariable? diff = --- tests/attributeb.c +++ /tmp/cocci-output-1380272-f14ad3-attributeb.c @@ -1,3 +1,3 @@ int main(){ - [[lucky]] int variable; + [[fortunate]] int variable; } attrreplace.res SPECIAL NAMES: adding __att1 as a attribute SPECIAL NAMES: adding __att2 as a attribute SPECIAL NAMES: adding __att3 as a attribute diff = --- tests/attrreplace.c +++ /tmp/cocci-output-1380272-1e5c3d-attrreplace.c @@ -1,4 +1,7 @@ -int __att1 * __att2 * __att3 foo() { aaa(0); } -int __att1 * __att2 * __att3 bar() { return 0; } -int ** xyzbefore() { return 0; } -int ** xyzafter() { return 0; } +int __att3 * __att2 * __att1 reversed() +{ + bbb(0); +} +int * * bar() { return 0; } +__att1 int *__att2*__att3 xyzbefore() { return 0; } +int __att1 *__att2*__att3 xyzafter() { return 0; } attrs2groups.res SPECIAL NAMES: adding NOBUG as a declarer SPECIAL NAMES: adding BUG as a declarer diff = --- tests/attrs2groups.c +++ /tmp/cocci-output-1380272-d4acab-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[] = { b1.res diff = --- tests/b1.c +++ /tmp/cocci-output-1380272-7899c9-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 = warning: rule starting on line 1, node 36: foo(...)[1,2,10,11,12,13] in main may be inconsistently modified --- tests/b2.c +++ /tmp/cocci-output-1380272-a777cc-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_define_failure.res exn while in timeout_function bad_iso_example.res diff = --- tests/bad_iso_example.c +++ /tmp/cocci-output-1380272-1d4a50-bad_iso_example.c @@ -1,4 +1,5 @@ int main() { - if ((x = 3)) return; + x = 3; + if (x) return; } bad_kfree.res diff = --- tests/bad_kfree.c +++ /tmp/cocci-output-1380272-e7505d-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-1380272-731c71-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-1380272-cb69dc-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-1380272-2c41c9-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-1380272-dada18-badexp.c @@ -1,4 +1,4 @@ int main() { foo(a); - b = a; + b = 3 +a * 27; } badpos.res diff = --- tests/badpos.c +++ /tmp/cocci-output-1380272-0c3fad-badpos.c @@ -1,7 +1,7 @@ static irqreturn_t elmc_interrupt(int irq, void *dev_id, struct sger_tp *orig_reg_ptr) { - struct pt_regs *reg_ptr = (struct pt_regs *) orig_reg_ptr; + struct pt_regs *reg_ptr = xxx; printk(KERN_ERR "foo", - (int) -(reg_ptr->orig_eax + 2)); + (int) -(xxx->orig_eax + 2)); } badtypedef.res diff = --- tests/badtypedef.c +++ /tmp/cocci-output-1380272-75f269-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-1380272-f6a876-badwhen.c @@ -4,7 +4,5 @@ g(); } int second() { - f(); if (xfoo()) return; - g(); } badzero.res diff = --- tests/badzero.c +++ /tmp/cocci-output-1380272-6b6a33-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-1380272-a4fe1e-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-1380272-c37c32-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-1380272-831122-before.c @@ -1,4 +1,6 @@ int main () { + blah(); one(); + blah(); foo(); } befored.res diff = --- tests/befored.c +++ /tmp/cocci-output-1380272-85f975-befored.c @@ -1,4 +1,8 @@ int main() { + foo(); int x; + int zzz; + foo(); int y; + int zzz; } ben.res SPECIAL NAMES: adding GType as a type SPECIAL NAMES: adding GTypeInfo as a type diff = --- tests/ben.c +++ /tmp/cocci-output-1380272-b306f1-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-1380272-2fb7f6-bigin.c @@ -9,5 +9,6 @@ if (x) if (x) blah(); + bar(); foo(); } bigrepl.res diff = --- tests/bigrepl.c +++ /tmp/cocci-output-1380272-311a59-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-1380272-8714cf-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 SPECIAL NAMES: adding u8 as a type warning: rule starting on line 11: metavariable v not used in the - or context code diff = --- tests/bitfield.c +++ /tmp/cocci-output-1380272-f93648-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 SPECIAL NAMES: adding bool as a type (ONCE) already tagged but only removed, so safe diff = --- tests/boolr.c +++ /tmp/cocci-output-1380272-1acb83-boolr.c @@ -1,4 +1,3 @@ int main() { - bool i3, i4, i5; int b; } bracebraceline.res diff = --- tests/bracebraceline.c +++ /tmp/cocci-output-1380272-3fabd3-bracebraceline.c @@ -1,6 +1,5 @@ int main () { if (x) { - one(); - two(); + three(); } } braceline.res diff = --- tests/braceline.c +++ /tmp/cocci-output-1380272-e1be6d-braceline.c @@ -1,6 +1,4 @@ int main () { - if (x) { - one(); - two(); - } + if (x) + three(); } braces.res diff = --- tests/braces.c +++ /tmp/cocci-output-1380272-9ac94c-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-1380272-b3fa68-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-1380272-5f3cfb-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; } } } btf.res SPECIAL NAMES: adding BTF as a declarer bug1.res diff = --- tests/bug1.c +++ /tmp/cocci-output-1380272-51633b-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_failure.res exn while in timeout_function bugon.res diff = --- tests/bugon.c +++ /tmp/cocci-output-1380272-df48c0-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-1380272-0a9206-bus.c @@ -1,5 +1,5 @@ int main () { struct foo *dev; - dev->probe(); - foo(); + c1(); + c2(); } cards_spacingfailure.res SPECIAL NAMES: adding MODULE_PARM as a declarer diff = --- tests/cards_spacingfailure.c +++ /tmp/cocci-output-1380272-3d5a07-cards_spacingfailure.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-1380272-fd0736-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-1380272-6af43b-cast.c @@ -1,3 +1,2 @@ int main () { - ((struct xxx *)E)->foo = 12; } cast_iso.res diff = --- tests/cast_iso.c +++ /tmp/cocci-output-1380272-d91635-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-1380272-4f4915-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_snip_field_ok.res diff = --- tests/cex_snip_field_ok.c +++ /tmp/cocci-output-1380272-25cfb7-cex_snip_field_ok.c @@ -1,2 +1,7 @@ -struct str_t { int f1; int f2; int a; int b; }; +struct str_t { int a; }; +struct l_t { + int f1; + int f2; + int b; +}; int main() { } cex_wishlist_complex1.res diff = --- tests/cex_wishlist_complex1.c +++ /tmp/cocci-output-1380272-fa60b4-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-1380272-1dda6d-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-1380272-1f130a-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-1380272-6d84e2-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_pragma.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_6f6e62.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_6f6e62.ml Compilation OK! Loading ML code of the SP... diff = --- tests/change_pragma.c +++ /tmp/cocci-output-1380272-7b9ff9-change_pragma.c @@ -1,3 +1,3 @@ int main () { -#pragma p this is a test +#pragma p pythoninfo is a test } change_type.res diff = --- tests/change_type.c +++ /tmp/cocci-output-1380272-11ee4c-change_type.c @@ -1,4 +1,4 @@ int main () { struct foo *x; - return (struct blah *)x; + return 42; } changei_failure.res diff = --- tests/changei_failure.c +++ /tmp/cocci-output-1380272-eb9bd1-changei_failure.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; } com.res diff = --- tests/com.c +++ /tmp/cocci-output-1380272-77fdf0-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-1380272-719b80-comadd.c @@ -1,3 +1,5 @@ +// some comment +// some other comment int main () { return 12; } comj.res diff = --- tests/comj.c +++ /tmp/cocci-output-1380272-fa228e-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_0682d3.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_0682d3.ml Compilation OK! Loading ML code of the SP... diff = --- tests/comma.c +++ /tmp/cocci-output-1380272-039620-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-1380272-2c68e7-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-1380272-599d98-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_brace2_spacingfailure.res diff = --- tests/comment_brace2_spacingfailure.c +++ /tmp/cocci-output-1380272-549334-comment_brace2_spacingfailure.c @@ -1,7 +1,10 @@ int main () { while ((inw(base) & 0xad00) != 0) /* data status */ + { + release_region(); continue; + } return 0; } comment_brace_spacingfailure.res diff = --- tests/comment_brace_spacingfailure.c +++ /tmp/cocci-output-1380272-8b5706-comment_brace_spacingfailure.c @@ -1,7 +1,10 @@ int main () { 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_3723af.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_3723af.ml File "/tmp/ocaml_cocci_3723af.ml", line 21, characters 4-5: 21 | 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-1380272-0f2154-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_7a007b.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_7a007b.ml File "/tmp/ocaml_cocci_7a007b.ml", line 20, characters 5-6: 20 | 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-1380272-dbf381-comment_middle.c @@ -5,5 +5,4 @@ }; int main() { - foo(); } commentbefore.res commentbefore2.res commentend.res diff = --- tests/commentend.c +++ /tmp/cocci-output-1380272-46d9e0-commentend.c @@ -1,5 +1,4 @@ int main () { foo(); - bar(); /* this is bar */ xxx(); } comments.res diff = --- tests/comments.c +++ /tmp/cocci-output-1380272-3184ac-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 SPECIAL NAMES: adding Scsi_Cmnd as a type diff = --- tests/compare.c +++ /tmp/cocci-output-1380272-c0e482-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_const.res diff = --- tests/compare_const.c +++ /tmp/cocci-output-1380272-1ff24d-compare_const.c @@ -1,3 +1,3 @@ int main () { - return 0 == x; + return x == 0; } compare_const2.res diff = --- tests/compare_const2.c +++ /tmp/cocci-output-1380272-0a5b57-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; } comreturn.res diff = --- tests/comreturn.c +++ /tmp/cocci-output-1380272-799cda-comreturn.c @@ -1,10 +1,14 @@ int main() { a(); xx(); + // end + end(); return; } int main2() { a(); xx(); + // end + end(); } condexp.res diff = --- tests/condexp.c +++ /tmp/cocci-output-1380272-c72294-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 diff = --- tests/const.c +++ /tmp/cocci-output-1380272-a033b8-const.c @@ -1,3 +1,3 @@ void foo(const char *text) { - strcat(buf->data, text); + strcat_safe(buf->data, buf->len, text); } const1bis.res diff = --- tests/const1bis.c +++ /tmp/cocci-output-1380272-2509b1-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-1380272-330445-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-1380272-d8dfb6-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-1380272-cd8f1f-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-1380272-4d5ca8-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-1380272-f18a23-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 diff = --- tests/constrem.c +++ /tmp/cocci-output-1380272-63f8db-constrem.c @@ -1,3 +1 @@ -static const int a; -static const int (*f)(const int); constructor.res diff = --- tests/constructor.c +++ /tmp/cocci-output-1380272-7d4566-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-1380272-b0c08d-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-1380272-d643e5-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_e79c1d.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_e79c1d.ml Compilation OK! Loading ML code of the SP... countcalls_python.res cptr.res diff = --- tests/cptr.c +++ /tmp/cocci-output-1380272-7275e5-cptr.c @@ -1 +1 @@ -static const char *str = "..."; +static const char * const str = "..."; cr.res diff = --- tests/cr.c +++ /tmp/cocci-output-1380272-a5e621-cr.c @@ -1,7 +1,6 @@ int main(void) { #if ! HAVE_XYZ - f1(); - f2(); + f3(); #endif } cr1a.res diff = warning: rule starting on line 1, node 38: continue; [1,2,7][1,2,7,8,13,14] in probe_base_port may be inconsistently modified warning: rule starting on line 1, node 39: }2[1,2,7,8] in probe_base_port may be inconsistently modified warning: rule starting on line 1, node 20: if[1,2,7,8,9] in probe_base_port may be inconsistently modified --- tests/cr1a.c +++ /tmp/cocci-output-1380272-79de38-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-1380272-ee6d3d-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-1380272-0bbed1-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-1380272-4b91cf-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_4f5a9f.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_4f5a9f.ml Compilation OK! Loading ML code of the SP... diff = --- tests/cstr.c +++ /tmp/cocci-output-1380272-f24427-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-1380272-f418be-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-1380272-2b1b69-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-1380272-e067ef-dbg.c @@ -5,4 +5,6 @@ if (pr) DBG("PCI"); + else + pr = NULL; } dbg1.res diff = --- tests/dbg1.c +++ /tmp/cocci-output-1380272-f8aab0-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-1380272-3e9b3e-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-1380272-bd9810-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-1380272-163419-dec.c @@ -1,4 +1,5 @@ int f(int x) { + int z; static int y; return x; } decadd.res SPECIAL NAMES: adding DECL as a declarer SPECIAL NAMES: adding __cb as a attribute diff = --- tests/decadd.c +++ /tmp/cocci-output-1380272-4b5585-decadd.c @@ -1,3 +1,3 @@ struct x { - DECL(x); + DECL(x) __cb(y); }; decdup.res decdup2.res diff = --- tests/decdup2.c +++ /tmp/cocci-output-1380272-8606c7-decdup2.c @@ -1,2 +1,3 @@ +int www; BTF_ID_LIST_SINGLE(bpf_ima_inode_hash_btf_ids, struct, inode) decdup3.res decdup4.res decl.res diff = --- tests/decl.c +++ /tmp/cocci-output-1380272-694c1d-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-1380272-499aaa-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-1380272-015f63-decl_space.c @@ -1,4 +1,4 @@ int main () { - int *x = y; - int x = y; + int *x = g; + int x = g; } decl_split_failure.res decl_star.res diff = --- tests/decl_star.c +++ /tmp/cocci-output-1380272-c803f6-decl_star.c @@ -1,5 +1,5 @@ int main () { - int *x; - int x; + int *y; + int y; return x; } declend.res diff = --- tests/declend.c +++ /tmp/cocci-output-1380272-448c44-declend.c @@ -1,6 +1,5 @@ int x; int main() { - int x; return 0; } declmeta.res diff = --- tests/declmeta.c +++ /tmp/cocci-output-1380272-ce7f7a-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-1380272-7b8909-defe.c @@ -1 +1,0 @@ -#define x 3 define_exp.res diff = --- tests/define_exp.c +++ /tmp/cocci-output-1380272-93e598-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_spacingfailure.res diff = --- tests/define_param_spacingfailure.c +++ /tmp/cocci-output-1380272-6278a2-define_param_spacingfailure.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; define_unmatched.res defineattr.res SPECIAL NAMES: adding attr as a attribute diff = --- tests/defineattr.c +++ /tmp/cocci-output-1380272-72e2cb-defineattr.c @@ -1 +1 @@ -#define attr __attribute__((name)) +#define attr __attribute__((anothername)) definedots.res diff = --- tests/definedots.c +++ /tmp/cocci-output-1380272-1bc809-definedots.c @@ -1,3 +1,3 @@ -#define a(x,y...) 3 -#define a(x,...) 3 -#define a(x) 33 +#define b(xx,yy...) 4 +#define b(xx,...) 4 +#define b(xx) 44 defineinit.res diff = --- tests/defineinit.c +++ /tmp/cocci-output-1380272-daa5fe-defineinit.c @@ -1,3 +1,3 @@ #define MYMACRO(adsf) { \ - .foo = (asdf),\ + .foo = (asdf) * 1000,\ } deftodo.res del2.res diff = --- tests/del2.c +++ /tmp/cocci-output-1380272-49b40b-del2.c @@ -4,8 +4,5 @@ if (result != X_SUCCESS) return result; // placeholder - if (result != X_SUCCESS) - return result; -// placeholder return X_SUCCESS; } delete_function.res diff = --- tests/delete_function.c +++ /tmp/cocci-output-1380272-424550-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-1380272-6f719d-delp.c @@ -1,4 +1,4 @@ int main () { return - (foo); + foo; } depfail.res diff = --- tests/depfail.c +++ /tmp/cocci-output-1380272-33d5ad-depfail.c @@ -1,5 +1,4 @@ int main(void) { foo(); - bar(); } deref.res diff = --- tests/deref.c +++ /tmp/cocci-output-1380272-7bbbd5-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-1380272-44d549-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 SPECIAL NAMES: adding __cast_attr as a attribute diff = --- tests/detect_cast_attr.c +++ /tmp/cocci-output-1380272-14a904-detect_cast_attr.c @@ -2,9 +2,9 @@ int func() { - char *a = (int __cast_attr) x; - char *a = (__cast_attr int) x; + char *a = (char *__cast_attr) x; + char *a = (__cast_attr char *) x; char *a = (int __cast_attr *) x; - char *a = (int *__cast_attr) x; + char *a = (char *__cast_attr) x; char *a = (int) x; } detect_macrodecl_attr.res SPECIAL NAMES: adding DECLARER as a declarer SPECIAL NAMES: adding __macro_attr as a attribute warning: line 8: should a be a metavariable? SPECIAL NAMES: adding DECLARER2 as a declarer SPECIAL NAMES: adding __macro_attr2 as a attribute SPECIAL NAMES: adding check_attr as a type Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_6ca7e8.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_6ca7e8.ml File "tests/detect_macrodecl_attr.cocci", line 18, characters 6-57: Warning 10 [non-unit-statement]: this expression should have type unit. Compilation OK! Loading ML code of the SP... diff = --- tests/detect_macrodecl_attr.c +++ /tmp/cocci-output-1380272-1abf79-detect_macrodecl_attr.c @@ -1,7 +1,5 @@ #define __macro_attr MACROANNOTATION -DECLARER(a, b) __macro_attr; +DECLARER(c, b) __macro_attr; DECLARER(a, b); - -DECLARER2(a, b) __macro_attr2; detect_param_attr.res SPECIAL NAMES: adding __nocast as a attribute SPECIAL NAMES: adding __attr as a attribute diff = --- tests/detect_param_attr.c +++ /tmp/cocci-output-1380272-a1a7d2-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 SPECIAL NAMES: adding __struct_endattr as a attribute diff = --- tests/detect_struct_endattr.c +++ /tmp/cocci-output-1380272-186ab6-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-1380272-11b7f5-detect_struct_gccattr.c @@ -1,18 +1,15 @@ struct abcd { int a; - int b; int c; } __attribute__((pack,aligned(16))); struct abcd { int a; - int b; int c; } __attribute__ ( ( pack , aligned(16) ) ); struct abcd { int a; - int b; int c; } __attribute__((aligned (16))); @@ -24,19 +21,16 @@ struct abcd { int a; - int b; int c; } __attribute__((pack)) var1; struct abcd { int a; - int b; int c; } __attribute__ ( ( pack ) ) var2; struct abcd { int a; - int b; int c; } __attribute__((aligned (16))) var3; devlink.res SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/devlink.c +++ /tmp/cocci-output-1380272-aef39c-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 SPECIAL NAMES: adding bool as a type SPECIAL NAMES: adding DISJ_DECLARER1 as a declarer SPECIAL NAMES: adding DISJ_DECLARER2 as a declarer SPECIAL NAMES: adding DISJ_DECLARER3 as a declarer SPECIAL NAMES: adding DISJ_DECLARER0 as a declarer diff = --- tests/disj.c +++ /tmp/cocci-output-1380272-8da244-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-1380272-1a5b97-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-1380272-8ed334-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-1380272-7c4dd0-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-1380272-ec8481-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-1380272-d8b261-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-1380272-f45c6f-dotcall.c @@ -1,3 +1,2 @@ int main() { - xxx.foobar(); } dots_comma.res diff = --- tests/dots_comma.c +++ /tmp/cocci-output-1380272-d4283f-dots_comma.c @@ -1,4 +1,4 @@ int main(void) { - f(3); + f(2, 3); } dots_in_block_remove_failure.res diff = --- tests/dots_in_block_remove_failure.c +++ /tmp/cocci-output-1380272-3a36b2-dots_in_block_remove_failure.c @@ -1,10 +1,3 @@ int main() { - for(;;) - { - xxx(); -#pragma bee - return 0; - } - return 0; } double.res diff = --- tests/double.c +++ /tmp/cocci-output-1380272-6efd0c-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-1380272-195969-double_assign.c @@ -4,6 +4,5 @@ } int badmain() { - x = 12; x = 1; } double_lines.res diff = --- tests/double_lines.c +++ /tmp/cocci-output-1380272-f2a74f-double_lines.c @@ -1,7 +1,4 @@ int main () { test(); - foo(); - foo(); - foo(); endtest(); } double_switch.res doubleconst.res diff = --- tests/doubleconst.c +++ /tmp/cocci-output-1380272-a52e6f-doubleconst.c @@ -1,3 +1,3 @@ int main () { - const char* const ccpc = &const_obj; + char* const ccpc = &const_obj; } doubleconst2.res diff = --- tests/doubleconst2.c +++ /tmp/cocci-output-1380272-d49275-doubleconst2.c @@ -1,3 +1,3 @@ int main () { - const char* const ccpc = &const_obj; + const char* ccpc = &const_obj; } doubleconst4.res diff = --- tests/doubleconst4.c +++ /tmp/cocci-output-1380272-c07f78-doubleconst4.c @@ -1,3 +1,3 @@ int main () { - char const* const ccpc = &const_obj; + char * const ccpc = &const_obj; } doublepos.res diff = --- tests/doublepos.c +++ /tmp/cocci-output-1380272-647505-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-1380272-4f74a7-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-1380272-95ec68-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-1380272-958de7-dowhile.c @@ -1,7 +1,5 @@ int main() { do { - f(); } while (0); - g(); } dowhile_4.res diff = --- tests/dowhile_4.c +++ /tmp/cocci-output-1380272-11e723-dowhile_4.c @@ -2,5 +2,4 @@ do { printf("dummy message"); } while (0); - printf("done printing"); } dowhile_for_complex.res diff = warning: nested, node 22: }3[1,2,4,5,7,8] in fun may be inconsistently modified warning: nested, node 23: [after][1,2,4,5,7,8] in fun may be inconsistently modified warning: nested, node 16: for[1,2,4,5,7]* in fun may be inconsistently modified warning: nested, node 21: statement[1,2,4,5,7,8,9] in fun may be inconsistently modified warning: nested, node 20: {3[1,2,4,5,7,8] in fun may be inconsistently modified --- tests/dowhile_for_complex.c +++ /tmp/cocci-output-1380272-76933e-dowhile_for_complex.c @@ -2,9 +2,6 @@ int i = 1, j = 1; do { i++; - for (j = 1; j < 100; j++) { - ++j; - } } while (i < 100); return 0; } dowhile_nested.res diff = warning: nested, node 22: {3[1,2,4,5,7,8] in fun may be inconsistently modified warning: nested, node 17: whiletail[1,2,4,5,7] in fun may be inconsistently modified warning: nested, node 23: statement[1,2,4,5,7,8,9] in fun may be inconsistently modified warning: nested, node 16: do[1,2,4,5,7]* in fun may be inconsistently modified warning: nested, node 24: }3[1,2,4,5,7,8] in fun may be inconsistently modified --- tests/dowhile_nested.c +++ /tmp/cocci-output-1380272-6b7fa4-dowhile_nested.c @@ -2,9 +2,6 @@ int i = 1, j = 1; do { i++; - do { - j++; - } while (j < 100); printf(“end of innner dowhile”); } while (i < 100); return 0; dropbr.res diff = --- tests/dropbr.c +++ /tmp/cocci-output-1380272-18b604-dropbr.c @@ -1,5 +1,4 @@ int main () { - if (a) { - bar(); - } + if (a) + foo(); } dropcom.res diff = --- tests/dropcom.c +++ /tmp/cocci-output-1380272-1cf97d-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-1380272-910ee8-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-1380272-ecef7e-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-1380272-0bafb0-dropparam.c @@ -2,11 +2,11 @@ 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-1380272-b8bde9-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_spacingfailure.res SPECIAL NAMES: adding Packet as a type diff = --- tests/eb1_spacingfailure.c +++ /tmp/cocci-output-1380272-e9c56b-eb1_spacingfailure.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-1380272-a184bc-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-1380272-3bf92f-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-1380272-3105a6-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-1380272-683312-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-1380272-c2fb32-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 emptydefine.res diff = --- tests/emptydefine.c +++ /tmp/cocci-output-1380272-573d4c-emptydefine.c @@ -1,3 +1 @@ #define xxx 12 - -#define aaa end_attr.res SPECIAL NAMES: adding autofree as a attribute diff = --- tests/end_attr.c +++ /tmp/cocci-output-1380272-3e5c56-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-1380272-78033a-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", + } }; endcomma_spacingfailure.res SPECIAL NAMES: adding DEFINE_CLK_STUB as a initializer ending in a comma endif.res warning: line 5: should x be a metavariable? diff = --- tests/endif.c +++ /tmp/cocci-output-1380272-65a161-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; endmodif_spacingfailure.res diff = --- tests/endmodif_spacingfailure.c +++ /tmp/cocci-output-1380272-97ece1-endmodif_spacingfailure.c @@ -1,11 +1,12 @@ -void f(void) + +replace_g(void) { - return x; + return 12; } -void g(void) +before_h(void) { - return x; + return 12; } void h(void) @@ -13,8 +14,22 @@ return x; } +after_h(void) +{ + return 12; +} + void i(void) { return x; +} + +after_i1(void) +{ + return 12; +} +after_i2(void) +{ + return 12; } endnl.res diff = --- tests/endnl.c +++ /tmp/cocci-output-1380272-8a7a96-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_7fb1e0.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_7fb1e0.ml Compilation OK! Loading ML code of the SP... diff = --- tests/endpos.c +++ /tmp/cocci-output-1380272-3712b3-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-1380272-4de060-enum.c @@ -5,5 +5,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-1380272-a798e3-enum_assign.c @@ -1,6 +1,7 @@ enum h { - a = 0, + q = 0, c, x, - b + b, + z }; enumcast.res diff = --- tests/enumcast.c +++ /tmp/cocci-output-1380272-d3b2b7-enumcast.c @@ -1 +1,2 @@ +enum{x = (int)1, }; int main() { return 12; } enumdots.res diff = --- tests/enumdots.c +++ /tmp/cocci-output-1380272-dbb13a-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_bf11ed.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_bf11ed.ml Compilation OK! Loading ML code of the SP... Failure in rule starting on line 8 diff = --- tests/exitc.c +++ /tmp/cocci-output-1380272-f67582-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-1380272-cf6b4f-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-1380272-64f2ac-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-1380272-7c71fa-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-1380272-0bf21c-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-1380272-158c0e-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-1380272-e0bcef-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-1380272-8c2b71-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-1380272-ec6aa2-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-1380272-b61a71-exprlist_comma.c @@ -1,4 +1,4 @@ int main(void) { - f(3); + f(2, 3); } exprun.res diff = --- tests/exprun.c +++ /tmp/cocci-output-1380272-a0daae-exprun.c @@ -8,37 +8,50 @@ ice_dump_common_caps(struct ice_hw *hw, struct ice_hw_common_caps *caps, char const *prefix) { - ice_info(hw, "%s: switching_mode = %d\n", prefix, caps->switching_mode); - ice_info(hw, "%s: mgmt_mode = %d\n", prefix, caps->mgmt_mode); - ice_info(hw, "%s: mgmt_protocols_mctp = %d\n", prefix, + dev_info(ice_hw_to_dev(hw), "%s: switching_mode = %d\n", prefix, + caps->switching_mode); + dev_info(ice_hw_to_dev(hw), "%s: mgmt_mode = %d\n", prefix, + caps->mgmt_mode); + dev_info(ice_hw_to_dev(hw), "%s: mgmt_protocols_mctp = %d\n", prefix, caps->mgmt_protocols_mctp); - ice_info(hw, "%s: os2bmc = %d\n", prefix, caps->os2bmc); - ice_info(hw, "%s: valid_functions (bitmap) = %d\n", prefix, - caps->valid_functions); - ice_info(hw, "%s: sr_iov_1_1 = %d\n", prefix, caps->sr_iov_1_1); - ice_info(hw, "%s: vmdq = %d\n", prefix, caps->vmdq); - ice_info(hw, "%s: evb_802_1_qbg = %d\n", prefix, caps->evb_802_1_qbg); - ice_info(hw, "%s: evb_802_1_qbh = %d\n", prefix, caps->evb_802_1_qbh); - ice_info(hw, "%s: dcb = %d\n", prefix, caps->dcb); - ice_info(hw, "%s: active_tc_bitmap = %d\n", prefix, + dev_info(ice_hw_to_dev(hw), "%s: os2bmc = %d\n", prefix, caps->os2bmc); + dev_info(ice_hw_to_dev(hw), "%s: valid_functions (bitmap) = %d\n", + prefix, caps->valid_functions); + dev_info(ice_hw_to_dev(hw), "%s: sr_iov_1_1 = %d\n", prefix, + caps->sr_iov_1_1); + dev_info(ice_hw_to_dev(hw), "%s: vmdq = %d\n", prefix, caps->vmdq); + dev_info(ice_hw_to_dev(hw), "%s: evb_802_1_qbg = %d\n", prefix, + caps->evb_802_1_qbg); + dev_info(ice_hw_to_dev(hw), "%s: evb_802_1_qbh = %d\n", prefix, + caps->evb_802_1_qbh); + dev_info(ice_hw_to_dev(hw), "%s: dcb = %d\n", prefix, caps->dcb); + dev_info(ice_hw_to_dev(hw), "%s: active_tc_bitmap = %d\n", prefix, caps->active_tc_bitmap); - ice_info(hw, "%s: maxtc = %d\n", prefix, caps->maxtc); - ice_info(hw, "%s: iscsi = %d\n", prefix, caps->iscsi); - ice_info(hw, "%s: rss_table_size = %d\n", prefix, caps->rss_table_size); - ice_info(hw, "%s: rss_table_entry_width = %d\n", prefix, - caps->rss_table_entry_width); - ice_info(hw, "%s: num_rxq = %d\n", prefix, caps->num_rxq); - ice_info(hw, "%s: rxq_first_id = %d\n", prefix, caps->rxq_first_id); - ice_info(hw, "%s: num_txq = %d\n", prefix, caps->num_txq); - ice_info(hw, "%s: txq_first_id = %d\n", prefix, caps->txq_first_id); - ice_info(hw, "%s: num_msix_vectors = %d\n", prefix, + dev_info(ice_hw_to_dev(hw), "%s: maxtc = %d\n", prefix, caps->maxtc); + dev_info(ice_hw_to_dev(hw), "%s: iscsi = %d\n", prefix, caps->iscsi); + dev_info(ice_hw_to_dev(hw), "%s: rss_table_size = %d\n", prefix, + caps->rss_table_size); + dev_info(ice_hw_to_dev(hw), "%s: rss_table_entry_width = %d\n", + prefix, caps->rss_table_entry_width); + dev_info(ice_hw_to_dev(hw), "%s: num_rxq = %d\n", prefix, + caps->num_rxq); + dev_info(ice_hw_to_dev(hw), "%s: rxq_first_id = %d\n", prefix, + caps->rxq_first_id); + dev_info(ice_hw_to_dev(hw), "%s: num_txq = %d\n", prefix, + caps->num_txq); + dev_info(ice_hw_to_dev(hw), "%s: txq_first_id = %d\n", prefix, + caps->txq_first_id); + dev_info(ice_hw_to_dev(hw), "%s: num_msix_vectors = %d\n", prefix, caps->num_msix_vectors); - ice_info(hw, "%s: msix_vector_first_id = %d\n", prefix, + dev_info(ice_hw_to_dev(hw), "%s: msix_vector_first_id = %d\n", prefix, caps->msix_vector_first_id); - ice_info(hw, "%s: ieee_1588 = %d\n", prefix, caps->ieee_1588); - ice_info(hw, "%s: mgmt_cem = %d\n", prefix, caps->mgmt_cem); - ice_info(hw, "%s: iwarp = %d\n", prefix, caps->iwarp); - ice_info(hw, "%s: roce_lag = %d\n", prefix, caps->roce_lag); + dev_info(ice_hw_to_dev(hw), "%s: ieee_1588 = %d\n", prefix, + caps->ieee_1588); + dev_info(ice_hw_to_dev(hw), "%s: mgmt_cem = %d\n", prefix, + caps->mgmt_cem); + dev_info(ice_hw_to_dev(hw), "%s: iwarp = %d\n", prefix, caps->iwarp); + dev_info(ice_hw_to_dev(hw), "%s: roce_lag = %d\n", prefix, + caps->roce_lag); } /* This takes 27 seconds as of now, doubles with each ice_info() call added ice_info(hw, "%s: wr_csr_prot = 0x%llX\n", prefix, extra.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_a60c9f.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_a60c9f.ml File "/tmp/ocaml_cocci_a60c9f.ml", line 28, characters 4-6: 28 | 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-1380272-53b468-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-1380272-68fc6d-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-1380272-350cce-far.c @@ -1,7 +1,7 @@ int main(void) { int far = 0; - int x; - x = 10; - return x; + int y; + y = 10; + return y; } far2.res SPECIAL NAMES: adding __counted_by as a attribute diff = --- tests/far2.c +++ /tmp/cocci-output-1380272-12619b-far2.c @@ -1,4 +1,4 @@ struct foo { size_t element_count; - int element_array[]; + int element_array[] __counted_by(element_count); }; fields.res diff = --- tests/fields.c +++ /tmp/cocci-output-1380272-1dd107-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-1380272-1548df-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_a0069b.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_a0069b.ml Compilation OK! Loading ML code of the SP... find_long.res diff = --- tests/find_long.c +++ /tmp/cocci-output-1380272-6f3cef-find_long.c @@ -3,8 +3,8 @@ long a; int b; - a + b; - b + a; + (long)(a + b); + (long)(b + a); return a; } finish.res diff = --- tests/finish.c +++ /tmp/cocci-output-1380272-631930-finish.c @@ -1,14 +1,7 @@ void ieee80211_color_change_finish(struct ieee80211_vif *vif, u8 link_id) { - if (WARN_ON(!link)) { - return; - } - foo(); } void ieee80211_color_change_finish(struct ieee80211_vif *vif, u8 link_id) { - if (WARN_ON(!link)) { - return; - } } firstdecl.res fix_flow_need.res diff = --- tests/fix_flow_need.c +++ /tmp/cocci-output-1380272-81bdc8-fix_flow_need.c @@ -5,7 +5,6 @@ if(1) { foo(); } - bar(); foobar(); } flex.res diff = --- tests/flex.c +++ /tmp/cocci-output-1380272-395aa6-flex.c @@ -3,5 +3,5 @@ struct { #define SENSOR_UPDATE_BASE(x) 3 u8 name[SCMI_MAX_STR_SIZE]; - } desc[0]; + } desc[]; }; fltst.res diff = --- tests/fltst.c +++ /tmp/cocci-output-1380272-e17a6a-fltst.c @@ -1,3 +1,3 @@ double aaa() { - return one + two; + return 1.0f + 2.3L; } fn_todo.res diff = --- tests/fn_todo.c +++ /tmp/cocci-output-1380272-b8a715-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-1380272-30309e-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-1380272-96d12b-fnret.c @@ -1 +1 @@ -static void foo(int x) { return; } + fnty.res diff = --- tests/fnty.c +++ /tmp/cocci-output-1380272-0b543f-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-1380272-6f31a5-fntypedef.c @@ -1 +1 @@ -typedef void (*toto_t)(int a, int b); +typedef void (*toto_t)(int a, int b, int c); for3.res diff = --- tests/for3.c +++ /tmp/cocci-output-1380272-a24ee0-for3.c @@ -1,4 +1,4 @@ int main () { - for(i=0; i!=10; i++) + for(int i=0; i!=10; i++) return 0; } fordots.res diff = --- tests/fordots.c +++ /tmp/cocci-output-1380272-a654cc-fordots.c @@ -1,4 +1,2 @@ int main () { - for(int i = 0; i != 12; i++) a = 2; - for(i = 0; i != 12; i++) a = 2; } format.res diff = --- tests/format.c +++ /tmp/cocci-output-1380272-cd00a4-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_b7c6b1.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_b7c6b1.ml Compilation OK! Loading ML code of the SP... diff = format string is 1x format string is 2x --- tests/format2.c +++ /tmp/cocci-output-1380272-154972-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-1380272-33cf11-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-1380272-f040b5-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-1380272-ed195f-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-1380272-168749-four.c @@ -1,5 +1,3 @@ int main () { f(1); - h(2); - i(2); } foura.res diff = --- tests/foura.c +++ /tmp/cocci-output-1380272-cb08ac-foura.c @@ -1,5 +1,4 @@ int main () { f(1); h(2); - i(2); } fp.res diff = --- tests/fp.c +++ /tmp/cocci-output-1380272-4e01b8-fp.c @@ -1,3 +1,2 @@ int main(int (*x)(int,int)) { - x(); } fptr.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_fd5658.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_fd5658.ml Compilation OK! Loading ML code of the SP... diff = --- tests/fptr.c +++ /tmp/cocci-output-1380272-0d5638-fptr.c @@ -1,6 +1,6 @@ int foo(int c, int d) { return 0; } int main() { - call(foo); + success; } fptr2.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_ab5ad2.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_ab5ad2.ml Compilation OK! Loading ML code of the SP... diff = --- tests/fptr2.c +++ /tmp/cocci-output-1380272-0759cb-fptr2.c @@ -1,7 +1,7 @@ int foo(int c, int d) { return 0; } int main() { - call(foo); - addrcall(&foo); + success; + success; } fptr3.res diff = --- tests/fptr3.c +++ /tmp/cocci-output-1380272-118bdd-fptr3.c @@ -1,6 +1,6 @@ int foo(int c, int d) { return 0; } int main() { - call(foo); + 12; } freeattr.res diff = --- tests/freeattr.c +++ /tmp/cocci-output-1380272-00a5ce-freeattr.c @@ -1,5 +1,5 @@ static void why(void) { - u64 *rates_64 __free(kfree) = NULL; + u64 *rates_64 __free(kfree) = x; rates_64 = kcalloc(count, sizeof(*rates_64), GFP_KERNEL); } fresh_id_script.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_bea01d.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_bea01d.ml File "tests/fresh_id_script.cocci", line 37, 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-1380272-ab17f0-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-1380272-97074a-fsh.c @@ -1,4 +1,4 @@ int main () { f(c); - g(); + g(foo-c); } fun.res warning: line 5: should x be a metavariable? diff = --- tests/fun.c +++ /tmp/cocci-output-1380272-58cf77-fun.c @@ -1 +1,4 @@ +struct a { + int a; +}; int f(int x) { return x; } func.res diff = --- tests/func.c +++ /tmp/cocci-output-1380272-9e3294-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-1380272-1cc394-funptr_array.c @@ -1 +1 @@ -int (*x[2])(int x); +int (*x[2])(char x); gadget_allocate_spacingfailure.res SPECIAL NAMES: adding MyDouble as a type SPECIAL NAMES: adding MyFloat as a type SPECIAL NAMES: adding MyLongDouble as a type SPECIAL NAMES: adding MyDoublePos as a type SPECIAL NAMES: adding MyBigFloat as a type SPECIAL NAMES: adding MyFloat3 as a type SPECIAL NAMES: adding MyLongDouble3 as a type SPECIAL NAMES: adding MyDoublePos3 as a type 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_spacingfailure.c +++ /tmp/cocci-output-1380272-8d7cc4-gadget_allocate_spacingfailure.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_spacingfailure.res SPECIAL NAMES: adding MyDouble as a type SPECIAL NAMES: adding MyFloat as a type SPECIAL NAMES: adding MyLongDouble as a type SPECIAL NAMES: adding MyDoublePos as a type SPECIAL NAMES: adding MyBigFloat as a type SPECIAL NAMES: adding MyFloat3 as a type SPECIAL NAMES: adding MyLongDouble3 as a type SPECIAL NAMES: adding MyDoublePos3 as a type 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 = warning: gather_per_type_soa_functions_fill, node 20: }2[1,2,6,7] in soa_gather__particle_data_soa_t may be inconsistently modified warning: gather_per_type_soa_functions_fill, node 20: }2[1,2,6,7] in soa_gather__sph_particle_data_soa_t may be inconsistently modified warning: scatter_per_type_soa_functions_fill, node 20: }2[1,2,6,7] in soa_scatter__particle_data_soa_t may be inconsistently modified warning: scatter_per_type_soa_functions_fill, node 20: }2[1,2,6,7] in soa_scatter__sph_particle_data_soa_t may be inconsistently modified --- tests/gadget_gather_scatter_spacingfailure.c +++ /tmp/cocci-output-1380272-fd61f1-gadget_gather_scatter_spacingfailure.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; - force_treefree(); + 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_spacingfailure.res SPECIAL NAMES: adding MyDouble as a type SPECIAL NAMES: adding MyFloat as a type SPECIAL NAMES: adding MyLongDouble as a type SPECIAL NAMES: adding MyDoublePos as a type SPECIAL NAMES: adding MyBigFloat as a type SPECIAL NAMES: adding MyFloat3 as a type SPECIAL NAMES: adding MyLongDouble3 as a type SPECIAL NAMES: adding MyDoublePos3 as a type diff = warning: invalidate_soa_per_type_soa_functions_fill, node 20: }2[1,2,6,7] in soa_invalidate_soa__particle_data_soa_t may be inconsistently modified warning: invalidate_soa_per_type_soa_functions_fill, node 20: }2[1,2,6,7] in soa_invalidate_soa__sph_particle_data_soa_t may be inconsistently modified warning: invalidate_aos_per_type_soa_functions_fill, node 20: }2[1,2,6,7] in soa_invalidate_aos__particle_data may be inconsistently modified warning: invalidate_aos_per_type_soa_functions_fill, node 20: }2[1,2,6,7] in soa_invalidate_aos__sph_particle_data may be inconsistently modified --- tests/gadget_invalidate_spacingfailure.c +++ /tmp/cocci-output-1380272-77498a-gadget_invalidate_spacingfailure.c @@ -4,6 +4,58 @@ //extern int maxThreads; +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 + } +} + void allocate_memory() { } int main() gadget_mark_used_fields.res diff = --- tests/gadget_mark_used_fields.c +++ /tmp/cocci-output-1380272-eaf8b7-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-1380272-b13122-gadget_misc.c @@ -2,6 +2,5 @@ { if(0) { - *((int *) (0x0)) = 1; } } gadget_ninelets_typedef.res SPECIAL NAMES: adding MyFloat as a type SPECIAL NAMES: adding MyFloat3x3 as a type SPECIAL NAMES: adding double3x3 as a type diff = --- tests/gadget_ninelets_typedef.c +++ /tmp/cocci-output-1380272-e9d172-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-1380272-e66ed2-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-1380272-313a82-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-1380272-74e308-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_spacingfailure.res SPECIAL NAMES: adding MyDouble as a type SPECIAL NAMES: adding MyFloat as a type SPECIAL NAMES: adding MyLongDouble as a type SPECIAL NAMES: adding MyDoublePos as a type SPECIAL NAMES: adding MyBigFloat as a type SPECIAL NAMES: adding MyFloat3 as a type SPECIAL NAMES: adding MyLongDouble3 as a type SPECIAL NAMES: adding MyDoublePos3 as a type warning: line 111: should first be a metavariable? warning: line 142: should first be a metavariable? diff = warning: checksum_per_type_soa_functions_compute, node 21: }2[1,2,7,8] in soa_checksum__particle_data_soa_t may be inconsistently modified warning: checksum_per_type_soa_functions_compute, node 21: }2[1,2,7,8] in soa_checksum__sph_particle_data_soa_t may be inconsistently modified warning: checksum_per_type_aos_functions_compute, node 21: }2[1,2,7,8] in aos_checksum__particle_data may be inconsistently modified warning: checksum_per_type_aos_functions_compute, node 21: }2[1,2,7,8] in aos_checksum__sph_particle_data may be inconsistently modified --- tests/gadget_sentinel_spacingfailure.c +++ /tmp/cocci-output-1380272-675554-gadget_sentinel_spacingfailure.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 SPECIAL NAMES: adding MyDouble as a type SPECIAL NAMES: adding MyFloat as a type SPECIAL NAMES: adding MyLongDouble as a type SPECIAL NAMES: adding MyDoublePos as a type SPECIAL NAMES: adding MyBigFloat as a type SPECIAL NAMES: adding MyFloat3 as a type SPECIAL NAMES: adding MyLongDouble3 as a type SPECIAL NAMES: adding MyDoublePos3 as a type diff = --- tests/gadget_soa_defs.c +++ /tmp/cocci-output-1380272-b45681-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 SPECIAL NAMES: adding MyDoublePos3 as a type diff = --- tests/gadget_soa_select.c +++ /tmp/cocci-output-1380272-2af49f-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-1380272-aa1951-gadget_sorting_hook.c @@ -18,10 +18,24 @@ 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 */ + 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 SPECIAL NAMES: adding MyLongDouble as a type SPECIAL NAMES: adding MyFloat as a type SPECIAL NAMES: adding MyLongDouble3 as a type SPECIAL NAMES: adding MyFloat3 as a type diff = --- tests/gadget_triplets_typedef.c +++ /tmp/cocci-output-1380272-d46b84-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 SPECIAL NAMES: adding MyDoublePos as a type SPECIAL NAMES: adding MyDoublePos3 as a type diff = --- tests/gadget_triplets_typedef_ipcc.c +++ /tmp/cocci-output-1380272-1ab08b-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-1380272-3d0561-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,16 +10,16 @@ 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; } -void __attribute__((mult,"1",2)) func (int a) { +void __attribute__((mult,"1",2)) func (long a) { } -void __attribute__((mult,1,"2")) func (int a) { +void __attribute__((mult,1,"2")) func (long a) { } gcc_attr_with_var_failure.res diff = --- tests/gcc_attr_with_var_failure.c +++ /tmp/cocci-output-1380272-1451bf-gcc_attr_with_var_failure.c @@ -1,39 +1,39 @@ -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 array2_end[2] __attribute__((myattr2_end)); +char array2_end[2] __attribute__((section(".shared"))); char __attribute__((myattr2_mid)) array2_mid[2]; -char array3_end[2] __attribute__((myattr3_end)); +__attribute__((section(".shared"))) char[2] array3_end; char __attribute__((myattr3_mid)) array3_mid[2]; -char array4_end[2] __attribute__((myattr4_end)); +char array4_end[2]; char __attribute__((myattr4_mid)) array4_mid[2]; -char array5_end[2] __attribute__((myattr5_end)); +char[2] __attribute__((section(".shared"))) array5_end; char __attribute__((myattr5_mid)) array5_mid[2]; gcc_min_max.res diff = --- tests/gcc_min_max.c +++ /tmp/cocci-output-1380272-a55ac0-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 SPECIAL NAMES: adding VOID as a type SPECIAL NAMES: adding LPVOID as a type SPECIAL NAMES: adding PVOID as a type diff = --- tests/getc.c +++ /tmp/cocci-output-1380272-b2032d-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-1380272-24e8f4-gilles-question.c @@ -2,8 +2,6 @@ f(0); if(1) { - g(0); } - g(0); } globali.res gotobreak.res diff = --- tests/gotobreak.c +++ /tmp/cocci-output-1380272-22056a-gotobreak.c @@ -11,5 +11,5 @@ CS_CHECK(GetNextTuple, pcmcia_get_next_tuple(link, &tuple)); } - return; + return 0; } hasherr.res diff = --- tests/hasherr.c +++ /tmp/cocci-output-1380272-543b34-hasherr.c @@ -1,4 +1,3 @@ int main () { - f(); #error a test } hashhash.res diff = --- tests/hashhash.c +++ /tmp/cocci-output-1380272-a9b335-hashhash.c @@ -1,5 +1,5 @@ #define FOO(x) foo ## x int FOO(float)(int a, int b) { - return 12; + return 10; } 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-1380272-5b9897-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-1380272-7c64db-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-1380272-258399-hex.c @@ -1,3 +1,2 @@ int main() { - f(0x00); } hil1.res SPECIAL NAMES: adding FUNC as a initializer ending in a comma diff = --- tests/hil1.c +++ /tmp/cocci-output-1380272-50d384-hil1.c @@ -2,5 +2,5 @@ { HILSE_FUNC, { func: &funct }, funct_arg, zero_rc }, int main () { - return 12; + return 5; } icomma.res id3.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_b3b134.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_b3b134.ml Compilation OK! Loading ML code of the SP... diff = --- tests/id3.c +++ /tmp/cocci-output-1380272-2f0247-id3.c @@ -1,3 +1,3 @@ int foo () { - bar (6); + bar3(6, fresh1, fresh1); } id4.res diff = --- tests/id4.c +++ /tmp/cocci-output-1380272-c03938-id4.c @@ -1,5 +1,5 @@ void foo() { Foo *widget; - widget->window; - widget->parent; + Foo_get_window(widget); + Foo_get_parent(widget); } idcon_ocaml.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_05e913.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_05e913.ml Compilation OK! Loading ML code of the SP... diff = --- tests/idcon_ocaml.c +++ /tmp/cocci-output-1380272-bde6ee-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-1380272-46b7bd-idcon_python.c @@ -1,5 +1,5 @@ void f(void) { - g(a); + g(18); g(b); - g(c); + g(18); } identcall.res diff = --- tests/identcall.c +++ /tmp/cocci-output-1380272-789da8-identcall.c @@ -1,3 +1,2 @@ int main () { - target += x(); } idstr.res diff = --- tests/idstr.c +++ /tmp/cocci-output-1380272-f083b8-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 = warning: rule starting on line 11, node 19: g(...)[1,2,4,5,6,7,8] in main1 may be inconsistently modified --- tests/if.c +++ /tmp/cocci-output-1380272-0252e1-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-1380272-710cc8-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-1380272-e8d913-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-1380272-71db92-ifdef1.c @@ -1,5 +1,8 @@ #include #include +#ifdef CONFIG_NKERNEL +#include +#endif #include #include ifdef2.res diff = --- tests/ifdef2.c +++ /tmp/cocci-output-1380272-878f56-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-1380272-9cf5cb-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 = warning: Exemple4, node 12: statement[1,2,3,4,5] in init_IRQ may be inconsistently modified --- tests/ifdef4.c +++ /tmp/cocci-output-1380272-02a947-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-1380272-e10569-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-1380272-e52223-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-1380272-2e2d99-ifdef6a.c @@ -1,4 +1,7 @@ #include +#ifdef CONFIG_NKERNEL +#define foo(x) f(x) +#endif #include #include #include ifdefmeta1_failure.res diff = --- tests/ifdefmeta1_failure.c +++ /tmp/cocci-output-1380272-4b6bb5-ifdefmeta1_failure.c @@ -1,17 +1,9 @@ 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-1380272-ac5168-ifdefmeta2.c @@ -1,12 +1,2 @@ int main() { - buf = alloca(3 - - - +5 - - - - - +2 - ); } ifdefmeta3.res diff = --- tests/ifdefmeta3.c +++ /tmp/cocci-output-1380272-585ce2-ifdefmeta3.c @@ -1,11 +1,5 @@ int main () { f(); - if (foo) { - one(); -#ifdef ONE - two(); -#endif - three(); - } + xxx(); g(); } ifdefmeta4_failure.res diff = --- tests/ifdefmeta4_failure.c +++ /tmp/cocci-output-1380272-bdbd1a-ifdefmeta4_failure.c @@ -1,14 +1,12 @@ int main() { - buf = alloca(3 + buf = malloc(3 ++ 5 + 50 ++ 2 +) #ifdef PLATFORM_A -// platform a stuff - +5 - +50 #endif #ifdef PLATFORM_B -/* platform b stuff */ - +2 #endif - ); + ; } ifdefmeta_failure.res diff = --- tests/ifdefmeta_failure.c +++ /tmp/cocci-output-1380272-14de8f-ifdefmeta_failure.c @@ -1,26 +1,22 @@ int main() { - buf = alloca(3 + buf = malloc(3 + + 5 + 50 + + 2 + ) #ifdef PLATFORM_A -// platform a stuff - +5 - +50 #endif #ifdef PLATFORM_B -/* platform b stuff */ - +2 #endif - ); - buf = alloca(3 + ; + buf = malloc(3 + + 5 + 50 + + 2 + ) #ifdef PLATFORM_A -// platform a stuff - +5 - +50 #endif #ifdef PLATFORM_B -/* platform b stuff */ - +2 #endif - ); + ; } int other() { @@ -41,9 +37,6 @@ } int third() { - buf = alloca(3+5+2); - buf = alloca(3 - +5 - +2 - ); + buf = malloc(3 + 5 + 2); + buf = malloc(3 + 5 + 2); } ifend.res diff = --- tests/ifend.c +++ /tmp/cocci-output-1380272-532679-ifend.c @@ -3,5 +3,3 @@ #else static int vortex_debug = 1; #endif - -#include ifgoto.res diff = --- tests/ifgoto.c +++ /tmp/cocci-output-1380272-ae9ae8-ifgoto.c @@ -1,5 +1,7 @@ int main () { - if (x) - GOTO(l,a = 3); + if (x) { + a = 3; + goto l; + } l: return; } ifields.res SPECIAL NAMES: adding IFace as a type SPECIAL NAMES: adding IFaceVtbl as a type diff = --- tests/ifields.c +++ /tmp/cocci-output-1380272-282fb2-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-1380272-942785-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-1380272-0d2ec9-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_spacingfailure.res diff = --- tests/ifreturn3_spacingfailure.c +++ /tmp/cocci-output-1380272-27bd14-ifreturn3_spacingfailure.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-1380272-5dbfde-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-1380272-1eb13c-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-1380272-23b7b3-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-1380272-9bac6b-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-1380272-64e8c7-inc.c @@ -1,2 +1 @@ -#define foo 3 -#define xxx 4 +#define foobar 3 incdir_failure.res incl.res diff = --- tests/incl.c +++ /tmp/cocci-output-1380272-cd1534-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-1380272-5b9e96-incl2.c @@ -1,3 +1,4 @@ +#include "beginning.h" #include #include #include "linux/foo.h" inclifdef.res diff = --- tests/inclifdef.c +++ /tmp/cocci-output-1380272-35b61b-inclifdef.c @@ -1,4 +1,5 @@ #include +#include #ifdef CONFIG #include #endif include.res diff = --- tests/include.c +++ /tmp/cocci-output-1380272-9d90d0-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-1380272-8115e4-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-1380272-a70684-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-1380272-05b52f-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 indentif.res warning: rule starting on line 1: metavariable S not used in the - or context code diff = --- tests/indentif.c +++ /tmp/cocci-output-1380272-d980b4-indentif.c @@ -1,10 +1,10 @@ int main () { - start(); - one(); - if (abc) { - two(); - if (def) - return 12; + { + one(); + if (abc) { + two(); + if (def) + return 12; + } } - finish(); } inherited.res diff = --- tests/inherited.c +++ /tmp/cocci-output-1380272-6a7e94-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-1380272-f7b563-inherited_ver1.c @@ -3,8 +3,8 @@ //g(1); f(2); - h(2); - h2(2); + hh(2); + hh22(2); - foo(1); + bar(1); } inhfresh.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_88e57d.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_88e57d.ml Compilation OK! Loading ML code of the SP... diff = --- tests/inhfresh.c +++ /tmp/cocci-output-1380272-b08af1-inhfresh.c @@ -1,3 +1,4 @@ int main () { int x; + int id_x_id; } inhmet.res diff = --- tests/inhmet.c +++ /tmp/cocci-output-1380272-add646-inhmet.c @@ -1,3 +1,3 @@ int main () { - x->s = 12; + foo(); } inhpos.res diff = --- tests/inhpos.c +++ /tmp/cocci-output-1380272-dd64d5-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-1380272-699f86-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? initpython.res diff = --- tests/initpython.c +++ /tmp/cocci-output-1380272-3a64df-initpython.c @@ -1,3 +1,3 @@ int main () { - f("path"); + f(XXX"path"); } inline.res diff = --- tests/inline.c +++ /tmp/cocci-output-1380272-ea34b9-inline.c @@ -1 +1 @@ -inline void foo(int x) { return; } + insdef.res diff = --- tests/insdef.c +++ /tmp/cocci-output-1380272-d54f63-insdef.c @@ -1 +1,2 @@ #define TABINFOGEN +#include int2bool-local.res SPECIAL NAMES: adding bool as a type SPECIAL NAMES: adding u1 as a type SPECIAL NAMES: adding u2 as a type SPECIAL NAMES: adding u4 as a type SPECIAL NAMES: adding u8 as a type SPECIAL NAMES: adding u16 as a type SPECIAL NAMES: adding u32 as a type diff = --- tests/int2bool-local.c +++ /tmp/cocci-output-1380272-9ce9fd-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,8 @@ } int px4() { - int x; - x = 0; + bool x; + x = false; return 4; } @@ -49,11 +50,11 @@ } 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-1380272-d68c75-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-1380272-5a0d75-invert.c @@ -1,3 +1,3 @@ int main () { - x = y + z; + x = z + y; } ip.res diff = --- tests/ip.c +++ /tmp/cocci-output-1380272-08a399-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-1380272-3d2421-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-1380272-12a773-isococci.c @@ -1,6 +1,3 @@ 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-1380272-b7af64-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-1380272-cebbd2-isotest.c @@ -1,7 +1,6 @@ void main(int i) { char j; - int i; // = 1; j++; isotest2.res diff = --- tests/isotest2.c +++ /tmp/cocci-output-1380272-03c504-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_48c5b4.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_48c5b4.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_85d149.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_85d149.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 SPECIAL NAMES: adding list_for_each as a iterator diff = --- tests/iterator.c +++ /tmp/cocci-output-1380272-32c867-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 SPECIAL NAMES: adding for_each_set_bit as a iterator diff = --- tests/iterprint.c +++ /tmp/cocci-output-1380272-c1a026-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_failure.res exn while in timeout_function julia10.res diff = --- tests/julia10.c +++ /tmp/cocci-output-1380272-8e8323-julia10.c @@ -1,7 +1,5 @@ int main(int x) { f(); - h(); g(); - h(); } julia7.res diff = --- tests/julia7.c +++ /tmp/cocci-output-1380272-e61c07-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-1380272-ff8205-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-1380272-3da48d-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-1380272-1d478d-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-1380272-2d8ead-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-1380272-898f8b-kmc.c @@ -10,5 +10,4 @@ err_destroy: kfreea(device_info); - return 1; } kmtest4.res diff = --- tests/kmtest4.c +++ /tmp/cocci-output-1380272-5e5c91-kmtest4.c @@ -1,4 +1,4 @@ int main () { x = kzalloc(3); - x->y = 12; + x->q = 12; } kr_failure.res 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-1380272-6fadc5-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-1380272-89af41-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_alt.res diff = --- tests/labels_metastatement_alt.c +++ /tmp/cocci-output-1380272-9839e2-labels_metastatement_alt.c @@ -1,5 +1,9 @@ int foo(int i) { - if(1) x = 3; + if(1) { + x = 3; + foo(); + } + foo(); } lessone.res diff = --- tests/lessone.c +++ /tmp/cocci-output-1380272-b2953f-lessone.c @@ -1,4 +1,4 @@ int min() { - return 2.56 < 1; + return 2.56 < 0; } lfe.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_32fa61.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_32fa61.ml Compilation OK! Loading ML code of the SP... SPECIAL NAMES: adding list_for_each_entry as a iterator diff = --- tests/lfe.c +++ /tmp/cocci-output-1380272-5b20bc-lfe.c @@ -11,13 +11,21 @@ u32 key = p->key; /* Return if the publication already exists */ - list_for_each_entry(_p, &sr->all_publ, all_publ) { - if (_p->key == key && (!_p->sk.node || _p->sk.node == node)) { - pr_debug("Failed to bind duplicate %u,%u,%u/%u:%u/%u\n", - p->sr.type, p->sr.lower, p->sr.upper, - node, p->sk.ref, key); - goto exit; + { + int __a__1 = 0; + list_for_each_entry(_p, &sr->all_publ, all_publ) { + __a__1++; + { + if (_p->key == key && (!_p->sk.node || _p->sk.node == node)) { + pr_debug("Failed to bind duplicate %u,%u,%u/%u:%u/%u\n", + p->sr.type, p->sr.lower, + p->sr.upper, + node, p->sk.ref, key); + goto exit; + } + } } + trace_printk("%s:%d, count: %d\n", __FILE__, __LINE__, __a__1); } exit: return res; lid.res diff = --- tests/lid.c +++ /tmp/cocci-output-1380272-1e3197-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-1380272-650f93-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-1380272-402986-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-1380272-d835c1-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-1380272-ddb891-local.c @@ -1 +1 @@ -int f(int xx, int yy) { return 0; } +int f(int a, int b, int yy) { return 0; } localglobal.res diff = --- tests/localglobal.c +++ /tmp/cocci-output-1380272-b80421-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-1380272-408c4c-localid.c @@ -2,8 +2,7 @@ int main () { int a; - f(a); f(a+1); - f(b); - f(c); + h(b); + g(c); } localmacroparams.res diff = --- tests/localmacroparams.c +++ /tmp/cocci-output-1380272-451371-localmacroparams.c @@ -1,2 +1,2 @@ -#define fn1(x) f(x) -#define fn2(x) f(y) +#define fn1(x) islocal +#define fn2(x) isglobal log.res diff = --- tests/log.c +++ /tmp/cocci-output-1380272-d68239-log.c @@ -8,5 +8,4 @@ int main () { - f("foo"); } long.res diff = --- tests/long.c +++ /tmp/cocci-output-1380272-508a7e-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-1380272-4d6a67-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-1380272-6d5817-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-1380272-cc4f4b-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-1380272-38b1da-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-1380272-9c2976-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-1380272-6a221b-lvalue.c @@ -1,4 +1,4 @@ int main() { - x = x + 1; - *x = 12; + f(x) = f(x) + 1; + *f(x) = 12; } macro.res SPECIAL NAMES: adding Scsi_Cmnd as a type diff = --- tests/macro.c +++ /tmp/cocci-output-1380272-0e24f9-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-1380272-9af604-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-1380272-5e5c41-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-1380272-81963d-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; } match_const_spacingfailure.res diff = --- tests/match_const_spacingfailure.c +++ /tmp/cocci-output-1380272-fca4c1-match_const_spacingfailure.c @@ -1 +1 @@ -const int x; + match_init.res diff = --- tests/match_init.c +++ /tmp/cocci-output-1380272-d884f5-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-1380272-c1ae75-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-1380272-69a57c-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-1380272-d612ae-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_spacingfailure.res diff = --- tests/md2_spacingfailure.c +++ /tmp/cocci-output-1380272-18fdd2-md2_spacingfailure.c @@ -1,11 +1,11 @@ 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-1380272-2df5a6-md3.c @@ -1,5 +1,5 @@ struct s_t { - double one[3]; + double3 one; int x; }*A,*B,*C,a,b,c; mdadd_spacingfailure.res diff = --- tests/mdadd_spacingfailure.c +++ /tmp/cocci-output-1380272-542db3-mdadd_spacingfailure.c @@ -1,3 +1,3 @@ int main () { - int a,b,c; + char a;char b;char c; } mdec.res diff = --- tests/mdec.c +++ /tmp/cocci-output-1380272-60303f-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_a776ab.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_a776ab.ml File "/tmp/ocaml_cocci_a776ab.ml", line 24, characters 4-11: 24 | 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-1380272-658a12-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_d220a1.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_d220a1.ml Compilation OK! Loading ML code of the SP... diff = --- tests/mdeclp.c +++ /tmp/cocci-output-1380272-ddda8b-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_7f4f01.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_7f4f01.ml Compilation OK! Loading ML code of the SP... diff = --- tests/mdeclp2.c +++ /tmp/cocci-output-1380272-7193d1-mdeclp2.c @@ -1,2 +1,2 @@ -int one() { return 1; } + int two() { return 1; } mdeclrep.res diff = --- tests/mdeclrep.c +++ /tmp/cocci-output-1380272-0eedf0-mdeclrep.c @@ -1,19 +1,22 @@ 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; } mdindex.res diff = --- tests/mdindex.c +++ /tmp/cocci-output-1380272-723c16-mdindex.c @@ -1,5 +1,5 @@ int main() { - a[i][j][k]++; - b[i][j][k]++; + a[i, j, k]++; + b[0][j][k]++; } memory.res diff = --- tests/memory.c +++ /tmp/cocci-output-1380272-cbe004-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_e9eb67.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_e9eb67.ml Compilation OK! Loading ML code of the SP... 1 pending new file instances 0 pending original file instances merge_vars.res warning: line 12: should f be a metavariable? Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_3c1a9b.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_3c1a9b.ml Compilation OK! Loading ML code of the SP... merge_vars_python.res metaattr.res SPECIAL NAMES: adding __attr__ as a attribute diff = --- tests/metaattr.c +++ /tmp/cocci-output-1380272-ef23c7-metaattr.c @@ -1,5 +1,5 @@ int main() { - int b __attr__ = 1; + char b __attr__ = 1; int b = 1; return 0; } metahex_failure.res metaline.res warning: line 43: x, previously declared as a metavariable, is used as an identifier diff = --- tests/metaline.c +++ /tmp/cocci-output-1380272-c56872-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-1380272-8d4c80-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-1380272-e8f46d-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-1380272-12d541-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-1380272-7332d1-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-1380272-afb6da-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-1380272-86d145-metastatement_if.c @@ -5,8 +5,4 @@ printf("%d", i); } - if (i == 0) { - printf("%d", i); - } - } min3.res diff = --- tests/min3.c +++ /tmp/cocci-output-1380272-c669be-min3.c @@ -1,4 +1,3 @@ int main () { - x = min(min(a, b), - c); + x = min3(a, b, c); } mincom.res diff = --- tests/mincom.c +++ /tmp/cocci-output-1380272-764f74-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-1380272-916209-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-1380272-c58b6f-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-1380272-0f3ddf-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-1380272-c2f119-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-1380272-83ec18-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-1380272-deeac3-minstruct.c @@ -1,5 +1,7 @@ static struct i2c_client client_template = { - .name = "(unset)", + .dev = { + .name = "(unset)", + }, .id = -1, .driver = &i2c_driver_videotext }; minusall_spacingfailure.res diff = --- tests/minusall_spacingfailure.c +++ /tmp/cocci-output-1380272-f7e24d-minusall_spacingfailure.c @@ -1 +1 @@ -static int f () { int x = 12; int y; return x + y; } + minusdots.res diff = --- tests/minusdots.c +++ /tmp/cocci-output-1380272-10c15f-minusdots.c @@ -1,9 +1,2 @@ void main(int i) { - - if (!hostptr) { - if (hostptr) { - return -ESRCH; - } - } - } minusdots_ver1.res diff = --- tests/minusdots_ver1.c +++ /tmp/cocci-output-1380272-5e88fb-minusdots_ver1.c @@ -1,6 +1,2 @@ void main(int i) { - - if (!hostptr) { - i++; - } } miss_space.res diff = --- tests/miss_space.c +++ /tmp/cocci-output-1380272-ac84e2-miss_space.c @@ -1,6 +1,5 @@ int main() { dat_w0 = dat_w0_read(dat_idx); - dat_w0 &= ~DAT_0_STATIC_ADDRESS; - dat_w0 |= FIELD_PREP(DAT_0_STATIC_ADDRESS, address); + FIELD_MODIFY(DAT_0_STATIC_ADDRESS, &dat_w0, address); dat_w0_write(dat_idx, dat_w0); } missingt.res diff = --- tests/missingt.c +++ /tmp/cocci-output-1380272-c2ebc8-missingt.c @@ -1 +1 @@ -void g(void); +void (*g_fn)(void); move_type.res diff = --- tests/move_type.c +++ /tmp/cocci-output-1380272-b58d8a-move_type.c @@ -1,6 +1,6 @@ int main() { - int x; int foo[12]; + int x; return 0; } movecomments.res diff = --- tests/movecomments.c +++ /tmp/cocci-output-1380272-7f1b42-movecomments.c @@ -1,8 +1,10 @@ int main () { - a(); - // a comment - q(); - /* another comment */ - /* and another comment */ - b(); + if (x) { + a(); + // a comment + q(); + /* another comment */ + /* and another comment */ + b(); + } } multi.res diff = --- tests/multi.c +++ /tmp/cocci-output-1380272-ba6eef-multi.c @@ -3,4 +3,5 @@ g(1); g(1); } + h(1); } multi_initialize_finalize.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_f6eebb.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_f6eebb.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-1380272-fa7b8b-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-1380272-e6de87-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-1380272-9fdbd6-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_spacingfailure.res diff = --- tests/multipath_spacingfailure.c +++ /tmp/cocci-output-1380272-8bdf29-multipath_spacingfailure.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-1380272-89d15e-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-1380272-512d39-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-1380272-ef23fe-multistruct.c @@ -1,5 +1,3 @@ -struct one x; -struct two y; struct three z; multitype.res diff = --- tests/multitype.c +++ /tmp/cocci-output-1380272-0d3c74-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-1380272-96c440-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-1380272-a12bd7-multivars.c @@ -1,5 +1,5 @@ void main(int i) { - f(1+2+v.field1,1+2+v.field1); + h(1 + 2 + v.field1); } mv.res SPECIAL NAMES: adding __free as a attribute SPECIAL NAMES: adding u8 as a type warning: line 4: should xxx be a metavariable? warning: line 4: should kfree be a metavariable? diff = --- tests/mv.c +++ /tmp/cocci-output-1380272-704d2c-mv.c @@ -1,4 +1,4 @@ int main() { - u8 *xxx __free(kfree); foo(); + u8 *tx_frame __free(kfree); } na.res diff = --- tests/na.c +++ /tmp/cocci-output-1380272-8fbaf6-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-1380272-d94d64-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 = warning: rule starting on line 1, node 14: statement[1,2,4,5,7] in info_func may be inconsistently modified warning: rule starting on line 1, node 13: statement[1,2,4,5,6] in info_func may be inconsistently modified warning: rule starting on line 12, node 14: statement[1,2,4,5,7] in info_func may be inconsistently modified warning: rule starting on line 12, node 13: statement[1,2,4,5,6] in info_func may be inconsistently modified --- tests/nest.c +++ /tmp/cocci-output-1380272-7e678f-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; } } nestadd.res diff = --- tests/nestadd.c +++ /tmp/cocci-output-1380272-c5c953-nestadd.c @@ -1,3 +1,12 @@ int main() { foo(); + if (x) { + return 12; + } + if (y) { + return 27; + } + if (z) { + return 42; + } } nestedexp.res diff = --- tests/nestedexp.c +++ /tmp/cocci-output-1380272-258e47-nestedexp.c @@ -1,6 +1,6 @@ int main () { return - 1 + - (2 + + 27 + + (27 + 3); } nestedstr_failure.res diff = --- tests/nestedstr_failure.c +++ /tmp/cocci-output-1380272-8bf935-nestedstr_failure.c @@ -1,6 +1,6 @@ -struct T { +struct q { int a; - struct S { + struct q { int x; }; int b; nestone.res warning: one: metavariable S not used in the - or context code diff = --- tests/nestone.c +++ /tmp/cocci-output-1380272-bafa9c-nestone.c @@ -1,4 +1,3 @@ int foo() { if (x) { xxx(); return;} - yyy(); } nestseq.res diff = --- tests/nestseq.c +++ /tmp/cocci-output-1380272-9b38d2-nestseq.c @@ -2,4 +2,5 @@ f(); g(12); h(); + xxx(12); } neststruct.res diff = --- tests/neststruct.c +++ /tmp/cocci-output-1380272-006e47-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-1380272-0a2319-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-1380272-6e3f44-noa.c @@ -2,6 +2,6 @@ if (x) { a(); } else { a(); } } -int tochange () { +int has_no_a () { if (x) { a(); } else { x(); } } nocast.res SPECIAL NAMES: adding gfp_t as a type diff = --- tests/nocast.c +++ /tmp/cocci-output-1380272-c7ab67-nocast.c @@ -1,3 +1,3 @@ -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-1380272-06f95d-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-1380272-18133b-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-1380272-ce2ae7-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-1380272-e53322-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-1380272-14fa62-noty.c @@ -1,3 +1,4 @@ int main(int *x) { if (NULL == x) { return; } + g(); } noty2.res diff = --- tests/noty2.c +++ /tmp/cocci-output-1380272-f3d7a2-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-1380272-12e832-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-1380272-b92a4d-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? diff = --- tests/oddifdef.c +++ /tmp/cocci-output-1380272-2db113-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-1380272-93df6e-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; + } } } omp.res SPECIAL NAMES: adding ok as a type Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_f29e40.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_f29e40.ml Compilation OK! Loading ML code of the SP... diff = --- tests/omp.c +++ /tmp/cocci-output-1380272-afcfe8-omp.c @@ -1,6 +1,3 @@ int main () { -#pragma omp SOMETHING this line should be removed -#pragma omp TEST this line should be removed -#pragma omp PTEST this line should be removed #pragma omp this line should stay } oneline.res diff = --- tests/oneline.c +++ /tmp/cocci-output-1380272-b42dc2-oneline.c @@ -1,4 +1,4 @@ int main () { - f(); - f(); + g(); + g(); } op.res diff = --- tests/op.c +++ /tmp/cocci-output-1380272-b5112d-op.c @@ -1,5 +1,4 @@ int main () { - return 3; } int main () { opt.res diff = --- tests/opt.c +++ /tmp/cocci-output-1380272-4c4b07-opt.c @@ -1,3 +1,2 @@ int main () { - yyy(); } optional_qualifier.res diff = --- tests/optional_qualifier.c +++ /tmp/cocci-output-1380272-565c27-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-1380272-b50b54-optional_storage.c @@ -1,4 +1,4 @@ -int foo1(void) +static int foo1(void) { } orexp.res diff = --- tests/orexp.c +++ /tmp/cocci-output-1380272-ff8c5e-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-1380272-6216ec-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-1380272-39aeb6-overshoot.c @@ -1,9 +1,8 @@ int main () { a(); - s(); - d(); - f(); - b(); + g(); + g(); + g(); b(); q(); } p1p2.res SPECIAL NAMES: adding Error as a type warning: line 9: should errp be a metavariable? warning: line 20: should errp be a metavariable? diff = --- tests/p1p2.c +++ /tmp/cocci-output-1380272-1448c8-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-1380272-9879e5-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-1380272-c13d0a-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; } packed.res param.res diff = --- tests/param.c +++ /tmp/cocci-output-1380272-a62ce9-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-1380272-efa001-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-1380272-2527ee-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-1380272-942ee7-param_ver1.c @@ -1 +1 @@ -void foo(int x) { return; } + parameters_dots_spacingfailure.res diff = --- tests/parameters_dots_spacingfailure.c +++ /tmp/cocci-output-1380272-1b9e56-parameters_dots_spacingfailure.c @@ -1,7 +1,3 @@ void main(int i) { - - f(1); g(3); - f(1,2); - f(); } parenmac.res diff = --- tests/parenmac.c +++ /tmp/cocci-output-1380272-8d1bb5-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-1380272-57db84-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-1380272-dabcac-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-1380272-6c28e8-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-1380272-81aa30-partialmd3.c @@ -1,3 +1,4 @@ int main () { - int a,b,c; + int a,b; + int q; } pb_distribute_type2_failure.res warning: line 8: should x be a metavariable? diff = --- tests/pb_distribute_type2_failure.c +++ /tmp/cocci-output-1380272-261f36-pb_distribute_type2_failure.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 7: should x be a metavariable? diff = --- tests/pb_distribute_type3.c +++ /tmp/cocci-output-1380272-072043-pb_distribute_type3.c @@ -1,15 +1,18 @@ int foo() { + int y; int x; return 0; } int foo() { + int *y; int *x; return 0; } int foo() { + int y[45]; int x[45]; return 0; } pb_distribute_type4.res warning: line 8: should x be a metavariable? diff = --- tests/pb_distribute_type4.c +++ /tmp/cocci-output-1380272-df743e-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_distribute_type_failure.res warning: line 6: should x be a metavariable? diff = --- tests/pb_distribute_type_failure.c +++ /tmp/cocci-output-1380272-ac4acb-pb_distribute_type_failure.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_params_iso.res warning: line 23: should i be a metavariable? diff = --- tests/pb_params_iso.c +++ /tmp/cocci-output-1380272-c3cd18-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-1380272-a95ead-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-1380272-133a50-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-1380272-2c4a92-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-1380272-8bab18-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); } pif.res diff = --- tests/pif.c +++ /tmp/cocci-output-1380272-02065b-pif.c @@ -1,5 +1 @@ -void f(void) -{ -/* hello */ -#pragma omp very very critical -} + plus33.res diff = --- tests/plus33.c +++ /tmp/cocci-output-1380272-22a703-plus33.c @@ -1 +1,2 @@ +typedef double double3x3[3][3]; int x; pmac.res diff = --- tests/pmac.c +++ /tmp/cocci-output-1380272-2e9b48-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_3ef4e4.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_3ef4e4.ml Compilation OK! Loading ML code of the SP... diff = --- tests/poscon.c +++ /tmp/cocci-output-1380272-73a328-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-1380272-7746ab-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-1380272-39668a-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-1380272-fa62b0-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); } postcomment.res diff = --- tests/postcomment.c +++ /tmp/cocci-output-1380272-da5085-postcomment.c @@ -1,8 +1,8 @@ int main () { - starter(); - /* some text before */ - test(); - /* some text after */ - /* some more text after */ - ender(); + { + /* some text before */ + test(); + /* some text after */ + /* some more text after */ + } } pragma2.res diff = --- tests/pragma2.c +++ /tmp/cocci-output-1380272-383717-pragma2.c @@ -4,7 +4,7 @@ int n = 3; // FIXME: problem: uncommenting this breaks matching #pragma omp target map(tofrom: u[0:n*n], u_tmp[0:n*n]) -#pragma omp teams distribute parallel for simd +#pragma omp loop for(int i=0;ievent |= 1 << event; - schedule_work(&bcs->work); -} proto2.res diff = --- tests/proto2.c +++ /tmp/cocci-output-1380272-b1fdd8-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-1380272-0d9d0b-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-1380272-f2fef9-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-1380272-a444a7-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? ptrar.res diff = --- tests/ptrar.c +++ /tmp/cocci-output-1380272-ceda1a-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_spacingfailure.res diff = --- tests/ptrconstptr_spacingfailure.c +++ /tmp/cocci-output-1380272-bc8a25-ptrconstptr_spacingfailure.c @@ -1,3 +1,3 @@ void main() { - const char * const * x; + const char * const * y; } putloop.res SPECIAL NAMES: adding for_each_child_of_node as a iterator SPECIAL NAMES: adding for_each_child_of_node_scoped as a iterator warning: rule starting on line 12: metavariable S not used in the - or context code diff = --- tests/putloop.c +++ /tmp/cocci-output-1380272-ff83df-putloop.c @@ -4,13 +4,11 @@ unsigned int *num_maps) { if (ret) { - for_each_child_of_node(np_config, np) { + for_each_child_of_node_scoped(np_config, np) { ret = atmel_pctl_dt_subnode_to_map(pctldev, np, map, &reserved_maps, num_maps); - if (ret < 0) { - of_node_put(np); + if (ret < 0) break; - } } } 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 diff = --- tests/python_mdecl.c +++ /tmp/cocci-output-1380272-f59611-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-1380272-144ca4-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-1380272-f5cfa9-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); } qcom.res qualifier.res SPECIAL NAMES: adding survived_r1 as a type diff = --- tests/qualifier.c +++ /tmp/cocci-output-1380272-8c0634-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]; } quotes.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_daee15.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_daee15.ml Compilation OK! Loading ML code of the SP... diff = --- tests/quotes.c +++ /tmp/cocci-output-1380272-ad82dd-quotes.c @@ -1,5 +1,5 @@ # error "Two or more of the following compile-time configuration options\ SQLITE_ZERO_MALLOC" -void local_ioerr(){ +void g(){ } ran.res diff = --- tests/ran.c +++ /tmp/cocci-output-1380272-3f0797-ran.c @@ -2,6 +2,7 @@ int a; randomized_struct_fields_start int b; + int something; randomized_struct_fields_end int c; }; range.res diff = --- tests/range.c +++ /tmp/cocci-output-1380272-8a0cd2-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 SPECIAL NAMES: adding RB_DECLARE_CALLBACKS_MAX as a declarer diff = --- tests/rb.c +++ /tmp/cocci-output-1380272-d4ce1a-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-1380272-7dd33f-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); } refl.res diff = --- tests/refl.c +++ /tmp/cocci-output-1380272-7993e5-refl.c @@ -1,5 +1,3 @@ int main () { int x; - one(&x); - two(&x); } regesc.res diff = --- tests/regesc.c +++ /tmp/cocci-output-1380272-492e7d-regesc.c @@ -1,5 +1,5 @@ int main () { - f(".foo"); - f("\.foo"); + 22; + 23; } regexp.res diff = --- tests/regexp.c +++ /tmp/cocci-output-1380272-036cb5-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-1380272-1c6c48-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-1380272-0f73e3-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_3ee6ee.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_3ee6ee.ml Compilation OK! Loading ML code of the SP... diff = --- tests/relevant_position.c +++ /tmp/cocci-output-1380272-81eb85-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-1380272-dc7beb-rem1.c @@ -1,5 +1,4 @@ int main () { xxx(); - if (x) { foo(); } yyy(); } rem2.res diff = --- tests/rem2.c +++ /tmp/cocci-output-1380272-73695a-rem2.c @@ -1,5 +1,4 @@ int main () { xxx(); - if (x) foo(); yyy(); } remaft.res diff = --- tests/remaft.c +++ /tmp/cocci-output-1380272-8de09f-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-1380272-dd1b89-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 ); } } remcom2.res diff = --- tests/remcom2.c +++ /tmp/cocci-output-1380272-d20543-remcom2.c @@ -2,7 +2,5 @@ { if (y) { x(); - - Debug(); } } remodif.res diff = --- tests/remodif.c +++ /tmp/cocci-output-1380272-a70cbf-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-1380272-0612a4-remove-code-in-branch1.c @@ -1,7 +1,7 @@ int main(void) { if (a > 1) - c(); + {} return 0; } remove_call.res (ONCE) already tagged but only removed, so safe diff = --- tests/remove_call.c +++ /tmp/cocci-output-1380272-065d7b-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 SPECIAL NAMES: adding __cast_attr as a attribute diff = --- tests/remove_cast_attr.c +++ /tmp/cocci-output-1380272-3a2f8f-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) x; + int *a = (int) x; int *a = (int __cast_attr *) x; - int *a = (int *__cast_attr) x; + int *a = (int *) x; int *a = (int) x; } remove_cast_attr_allminus.res diff = --- tests/remove_cast_attr_allminus.c +++ /tmp/cocci-output-1380272-19ccb8-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 SPECIAL NAMES: adding DECLARER as a declarer SPECIAL NAMES: adding __macro_attr as a attribute diff = --- tests/remove_macrodecl_attr.c +++ /tmp/cocci-output-1380272-4b75b6-remove_macrodecl_attr.c @@ -1,3 +1,3 @@ #define __macro_attr MACROANNOTATION -DECLARER(a, b) __macro_attr; +DECLARER(a, b); remove_metaattr.res SPECIAL NAMES: adding __attr__ as a attribute diff = --- tests/remove_metaattr.c +++ /tmp/cocci-output-1380272-93d14b-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 SPECIAL NAMES: adding __nocast as a attribute diff = --- tests/remove_param_attrs.c +++ /tmp/cocci-output-1380272-8d471a-remove_param_attrs.c @@ -6,15 +6,15 @@ return 0; } -int func3(int x, int y __nocast) { +int func3(int x, int y) { return 0; } -int func1(int x, __attribute__((nocast)) int y) { +int func1(int x, int y) { return 0; } -int func2(int x, int __attribute__((nocast)) y) { +int func2(int x, int y) { return 0; } remove_struct_endattr.res SPECIAL NAMES: adding __struct_endattr as a attribute diff = --- tests/remove_struct_endattr.c +++ /tmp/cocci-output-1380272-572e85-remove_struct_endattr.c @@ -4,4 +4,4 @@ int a; int b; int c; -} __struct_endattr; +}; remove_struct_endattr_allminus.res SPECIAL NAMES: adding __struct_endattr as a attribute diff = --- tests/remove_struct_endattr_allminus.c +++ /tmp/cocci-output-1380272-25aa4b-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-1380272-d3a6da-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-1380272-b82ad1-rems.c @@ -1,5 +1,4 @@ int main () { x(); - if (x) a(); y(); } rems1.res diff = --- tests/rems1.c +++ /tmp/cocci-output-1380272-084e4e-rems1.c @@ -1,5 +1,4 @@ int main () { x(); - a(); y(); } remstruct_spacingfailure.res warning: line 2: should mpuio_irq_chip be a metavariable? warning: line 8: should xxx be a metavariable? diff = --- tests/remstruct_spacingfailure.c +++ /tmp/cocci-output-1380272-6b1b2f-remstruct_spacingfailure.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 ) { remu.res diff = --- tests/remu.c +++ /tmp/cocci-output-1380272-227efd-remu.c @@ -1,5 +1,4 @@ struct anon_vma { int x; - unsigned degree; int y; }; replace_typedef.res diff = --- tests/replace_typedef.c +++ /tmp/cocci-output-1380272-5c5aed-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-1380272-d0dff0-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-1380272-3bd02f-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-1380272-c64f6d-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-1380272-58147c-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-1380272-e50f22-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-1380272-ffc95a-return_implicit.c @@ -1,4 +1,5 @@ void main(void) { foo(); + return -ENODEV; } retval.res diff = --- tests/retval.c +++ /tmp/cocci-output-1380272-6e6ad4-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-1380272-b284e3-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-1380272-6ffb0d-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); } ringbuf.res roa.res SPECIAL NAMES: adding __ro_after_init as a attribute diff = --- tests/roa.c +++ /tmp/cocci-output-1380272-4edb58-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 = { +union arm_delay_ops2 not_used = { .delay = __loop_delay, .const_udelay = __loop_const_udelay, .udelay = __loop_udelay, roinit.res rptr.res diff = --- tests/rptr.c +++ /tmp/cocci-output-1380272-5dcce0-rptr.c @@ -1,6 +1,4 @@ int foo(struct resource *r) { - if (r == NULL) - return 0; return 1; } saft.res saft2.res same_expr.res diff = --- tests/same_expr.c +++ /tmp/cocci-output-1380272-16947c-same_expr.c @@ -1,6 +1,5 @@ void main(int i) { - f(1,1); f(1,2); } sbef.res diff = --- tests/sbef.c +++ /tmp/cocci-output-1380272-d5385e-sbef.c @@ -2,6 +2,5 @@ { a(); b(); - a(); } } sbef2.res diff = --- tests/sbef2.c +++ /tmp/cocci-output-1380272-55c3c9-sbef2.c @@ -1,5 +1,4 @@ int main() { f(12); f(20); - a(); } scope_problem.res diff = --- tests/scope_problem.c +++ /tmp/cocci-output-1380272-7dbed0-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; } scoped_guard.res diff = --- tests/scoped_guard.c +++ /tmp/cocci-output-1380272-a4c39b-scoped_guard.c @@ -2,8 +2,10 @@ scoped_guard(wiphy) { tmp = get_wiphy_regdom(wiphy); x = y + z; - if (x) { aaa(); return; } + if (x) { aaa(); before_return(); + return; } rcu_free_regdom(tmp); } + before_return(); return; } scoped_guard2.res diff = --- tests/scoped_guard2.c +++ /tmp/cocci-output-1380272-6a01a4-scoped_guard2.c @@ -1,4 +1,4 @@ int main () { - if (12) f(4+3); + scoped_guard (12) f(4+3); g(4+3); } \ No newline at end of file sd_2.res SPECIAL NAMES: adding MyDouble as a type SPECIAL NAMES: adding MyFloat as a type diff = --- tests/sd_2.c +++ /tmp/cocci-output-1380272-e05196-sd_2.c @@ -1 +1 @@ - struct particle_data_extra { MyFloat Mass; }; + struct particle_data_extra { MyFloat *Mass; }; serio.res diff = --- tests/serio.c +++ /tmp/cocci-output-1380272-c56f63-serio.c @@ -1,10 +1,10 @@ //#include struct serio { - struct semaphore drv_sem; + struct mutex new_lock; }; static void serio_init_port(struct serio *serio) { - init_MUTEX(&serio->drv_sem); + mutex_init(&serio->new_lock); } sg.res diff = --- tests/sg.c +++ /tmp/cocci-output-1380272-badc69-sg.c @@ -13,7 +13,7 @@ remove_cpu_dev_symlink(policy, cpu, dev); if (!cpumask_empty(policy->real_cpus)) - return 0; + x = 12; /* * Unregister cpufreq cooling once all the CPUs of the policy shared_brace_spacingfailure.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_spacingfailure.c +++ /tmp/cocci-output-1380272-f30706-shared_brace_spacingfailure.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-1380272-e127c3-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 SPECIAL NAMES: adding DECLARE_MUTEX as a declarer SPECIAL NAMES: adding DEFINE_MUTEX as a declarer diff = --- tests/sis.c +++ /tmp/cocci-output-1380272-58de2a-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-1380272-05e919-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-1380272-a48d01-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-1380272-313bfd-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-1380272-8047e6-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; sizet1.res diff = --- tests/sizet1.c +++ /tmp/cocci-output-1380272-132e66-sizet1.c @@ -1,3 +1,2 @@ int main() { - size_t x; } skip.res diff = --- tests/skip.c +++ /tmp/cocci-output-1380272-51e092-skip.c @@ -1,5 +1,3 @@ int main () { - f(1); - f(2); - g(); + h(); } sl2.res diff = --- tests/sl2.c +++ /tmp/cocci-output-1380272-f3376c-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_56a3a1.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_56a3a1.ml Compilation OK! Loading ML code of the SP... diff = --- tests/slen.c +++ /tmp/cocci-output-1380272-2f97d8-slen.c @@ -3,16 +3,10 @@ one(); } if (x) { - one(); - two(); - three(); + was3(); } if (x) { - one(); - two(); - three(); - four(); - five(); + was5(); } end(); } sltest.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_c1888b.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_c1888b.ml Compilation OK! Loading ML code of the SP... diff = --- tests/sltest.c +++ /tmp/cocci-output-1380272-933da7-sltest.c @@ -1,5 +1,6 @@ int main () { foo(); + foo(); bar(); abc(); } smallfn_spacingfailure.res diff = --- tests/smallfn_spacingfailure.c +++ /tmp/cocci-output-1380272-53c2d6-smallfn_spacingfailure.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-1380272-7ca7bc-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-1380272-6a5f51-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-1380272-c4dee1-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-1380272-8b1f4a-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-1380272-d89de5-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-1380272-d76300-split_funcall2.c @@ -1,4 +1,4 @@ int main(void) { - f(0, 1, 2); + g(0, 1, 2); } square.res diff = --- tests/square.c +++ /tmp/cocci-output-1380272-4353b6-square.c @@ -2,7 +2,7 @@ int main() { int a[3]; int b[3]; - a[0]=1; - a[b[0]]=0; - a[two()]=2; + a[0 + 0]=1; + a[0 + 0]=0; + a[0 + 0]=2; } starprint.res SPECIAL NAMES: adding LPINT as a type diff = --- tests/starprint.c +++ /tmp/cocci-output-1380272-8e2311-starprint.c @@ -1,6 +1,6 @@ typedef int *LPINT; -int foo(LPINT x, LPINT *y) +int foo(int *x, int **y) { return *x == **y; } stat_spacingfailure.res SPECIAL NAMES: adding dev_info_t as a type diff = --- tests/stat_spacingfailure.c +++ /tmp/cocci-output-1380272-e10feb-stat_spacingfailure.c @@ -1 +1 @@ -static dev_info_t dev_info = "orinoco_cs"; + static.res diff = --- tests/static.c +++ /tmp/cocci-output-1380272-ba4362-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-1380272-b6d59a-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-1380272-e5fcdd-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-1380272-9ddda8-stm2.c @@ -1,5 +1,4 @@ int main(int x) { f(); - replace(); g(); } stm3.res diff = --- tests/stm3.c +++ /tmp/cocci-output-1380272-64f978-stm3.c @@ -1,5 +1,5 @@ int main(int x) { f(); - replace(); + g(); g(); } stm4.res diff = --- tests/stm4.c +++ /tmp/cocci-output-1380272-8ce8d2-stm4.c @@ -2,4 +2,5 @@ f(); replace(); g(); + g(); } stm5.res diff = --- tests/stm5.c +++ /tmp/cocci-output-1380272-a293ce-stm5.c @@ -1,5 +1,7 @@ int main(int x) { f(); + h(); replace(); + g(); g(); } stm6.res diff = --- tests/stm6.c +++ /tmp/cocci-output-1380272-81b9a9-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-1380272-89156e-stm8.c @@ -1,5 +1,6 @@ int main(int x) { f(); + g(); replace(); g(); } stm_exp.res diff = --- tests/stm_exp.c +++ /tmp/cocci-output-1380272-4807ae-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-1380272-f6be10-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-1380272-10d35d-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-1380272-6234cf-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-1380272-300071-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-1380272-1f5230-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-1380272-0e062a-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-1380272-337d4f-strtest.c @@ -1,3 +1,3 @@ int main() { - printf("hello\n"); + puts("hello\n"); } struct.res diff = --- tests/struct.c +++ /tmp/cocci-output-1380272-7961f9-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-1380272-d12dfa-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-1380272-51c7b5-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 SPECIAL NAMES: adding FOO as a declarer warning: line 5: should my_foo be a metavariable? diff = --- tests/structfoo.c +++ /tmp/cocci-output-1380272-2db328-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-1380272-5a5799-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-1380272-60786f-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-1380272-8b5b67-sw.c @@ -1 +1 @@ -int f() { switch (x) { case FOO: return; } } + swap3.res diff = --- tests/swap3.c +++ /tmp/cocci-output-1380272-84e12d-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-1380272-f1e35b-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-1380272-1c784e-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-1380272-e6d5f6-symbol.c @@ -1,7 +1,5 @@ int main() { int f = 0; - f = 3; - return f; } td.res diff = --- tests/td.c +++ /tmp/cocci-output-1380272-53c266-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-1380272-ad76af-tdnl.c @@ -4,5 +4,4 @@ td2.attr; - foo(); } tdplus.res diff = --- tests/tdplus.c +++ /tmp/cocci-output-1380272-7996ea-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-1380272-1bf5cd-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-1380272-0dcf77-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-1380272-74d952-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-1380272-c18b5f-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-1380272-7579b1-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-1380272-c2e0f1-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-1380272-ab912f-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-1380272-acf77e-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-1380272-daa823-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-1380272-2870de-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-1380272-67c05c-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-1380272-55ab26-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-1380272-1df540-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-1380272-7ea48f-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-1380272-cb5e8f-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-1380272-49a8ef-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-1380272-4f4c9d-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-1380272-44ef0b-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-1380272-876850-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-1380272-af7acb-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-1380272-48588c-threea.c @@ -1,4 +1,3 @@ int main() { f(12); - q(12); } tloop.res diff = --- tests/tloop.c +++ /tmp/cocci-output-1380272-702b63-tloop.c @@ -1,6 +1,5 @@ int foo(void) { for (i = 0; ender(i); i--) { - x = 12; } } top.res SPECIAL NAMES: adding MODULE_PARM as a declarer SPECIAL NAMES: adding module_param as a declarer diff = --- tests/top.c +++ /tmp/cocci-output-1380272-560f36-top.c @@ -1 +1 @@ -MODULE_PARM(suppress_pollack, "i"); +module_param(I, int, 0); topdec.res SPECIAL NAMES: adding LIST_HEAD as a declarer diff = --- tests/topdec.c +++ /tmp/cocci-output-1380272-cd055f-topdec.c @@ -5,4 +5,4 @@ /* 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-1380272-27d002-topdec_ver1.c @@ -4,4 +4,4 @@ /* Network device part of the driver */ -static struct ethtool_ops tun_ethtool_ops; +static const struct ethtool_ops tun_ethtool_ops; topdec_ver2.res diff = --- tests/topdec_ver2.c +++ /tmp/cocci-output-1380272-635d36-topdec_ver2.c @@ -5,4 +5,4 @@ /* Network device part of the driver */ int x; -static struct ethtool_ops tun_ethtool_ops; +static const struct ethtool_ops tun_ethtool_ops; topdecl.res diff = --- tests/topdecl.c +++ /tmp/cocci-output-1380272-6c0c59-topdecl.c @@ -1,3 +1,3 @@ int main () { - int x = foo(); + int x = xxx(); } toplevel_macrostmt.res SPECIAL NAMES: adding MODULE_PARM as a declarer SPECIAL NAMES: adding module_param as a declarer diff = --- tests/toplevel_macrostmt.c +++ /tmp/cocci-output-1380272-33e5c0-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-1380272-f1c031-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-1380272-ea2dec-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-1380272-dd1e8f-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-1380272-987735-twomatch.c @@ -1,5 +1,5 @@ int main() { bar(12,1); - xxx(12,1); + yyy(); } twoproto.res SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/twoproto.c +++ /tmp/cocci-output-1380272-afd929-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-1380272-173b14-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-1380272-df42c0-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-1380272-0db5b0-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 SPECIAL NAMES: adding int64_t as a type SPECIAL NAMES: adding uint64_t as a type diff = --- tests/tydisj.c +++ /tmp/cocci-output-1380272-6b7b82-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 SPECIAL NAMES: adding Point as a type SPECIAL NAMES: adding Location as a type diff = --- tests/tyex.c +++ /tmp/cocci-output-1380272-2780db-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 diff = --- tests/type.c +++ /tmp/cocci-output-1380272-0b81d2-type.c @@ -1,5 +1,5 @@ int foo() { - int x; + int *x; return 0; } type1_spacingfailure.res diff = --- tests/type1_spacingfailure.c +++ /tmp/cocci-output-1380272-e5c952-type1_spacingfailure.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-1380272-171ab1-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-1380272-e0cfc4-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-1380272-2c0c84-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 diff = --- tests/type_constraints.c +++ /tmp/cocci-output-1380272-7b25e5-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-1380272-5d724a-type_ver1.c @@ -1,5 +1,5 @@ int foo() { - struct foo x; + struct foo *x; return 0; } type_ver2_failure.res diff = --- tests/type_ver2_failure.c +++ /tmp/cocci-output-1380272-fd85d1-type_ver2_failure.c @@ -1,5 +1,5 @@ int foo() { - int x[10]; + int[10] *x; return 0; } typedef.res SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/typedef.c +++ /tmp/cocci-output-1380272-0fc568-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; } typedef2.res diff = --- tests/typedef2.c +++ /tmp/cocci-output-1380272-e5ae2f-typedef2.c @@ -1,8 +1,8 @@ typedef int A, B, C, D; int main() { - A x; - B x; - C x; - D x; + int x; + int x; + int x; + int x; } typedef3_failure.res SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/typedef3_failure.c +++ /tmp/cocci-output-1380272-6dd81d-typedef3_failure.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; } typeof.res diff = --- tests/typeof.c +++ /tmp/cocci-output-1380272-433e14-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-1380272-678f04-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-1380272-564673-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"); } uc.res unary.res diff = --- tests/unary.c +++ /tmp/cocci-output-1380272-a3d46c-unary.c @@ -1,3 +1,3 @@ int main () { - return -1; + return 1; } unbrace_spacingfailure.res SPECIAL NAMES: adding list_for_each_entry as a iterator warning: line 13: should list be a metavariable? diff = warning: rule starting on line 1, node 30: {2[1,2,12,13] in mlxsw_sp_flower_parse_actions may be inconsistently modified warning: rule starting on line 1, node 41: }2[1,2,12,13] in mlxsw_sp_flower_parse_actions may be inconsistently modified warning: rule starting on line 1, node 26: foreach[1,2,12]* in mlxsw_sp_flower_parse_actions may be inconsistently modified warning: rule starting on line 1, node 30: {2[1,2,12,13] in mlxsw_sp_flower_parse_actions may be inconsistently modified warning: rule starting on line 1, node 26: foreach[1,2,12]* in mlxsw_sp_flower_parse_actions may be inconsistently modified warning: rule starting on line 1, node 320: }2[1,2,12,13] in mlxsw_sp_flower_parse_actions may be inconsistently modified --- tests/unbrace_spacingfailure.c +++ /tmp/cocci-output-1380272-3530a7-unbrace_spacingfailure.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; @@ -15,13 +13,9 @@ err = mlxsw_sp_acl_rulei_act_count(mlxsw_sp, rulei, extack); 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 +27,6 @@ struct netlink_ext_ack *extack) { const struct tc_action *a; - LIST_HEAD(actions); - int err; if (!tcf_exts_has_actions(exts)) return 0; @@ -43,83 +35,79 @@ err = mlxsw_sp_acl_rulei_act_count(mlxsw_sp, rulei, extack); if (err) return err; + 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; - 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; + 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-1380272-c6350c-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_564ce5.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_564ce5.ml Compilation OK! Loading ML code of the SP... diff = the value of f: unknown --- tests/undref2.c +++ /tmp/cocci-output-1380272-e6a180-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_cba38f.cmxs -g -I /home/buildozer/aports/testing/coccinelle/src/coccinelle-1.3.1/ocaml -I /usr/lib/ocaml -for-pack Coccinelle_modules /tmp/ocaml_cocci_cba38f.ml Compilation OK! Loading ML code of the SP... diff = the value of f: unknown --- tests/undref3.c +++ /tmp/cocci-output-1380272-1df2f1-undref3.c @@ -1,3 +1,3 @@ int main () { - bar(); + 42; } unelse.res diff = --- tests/unelse.c +++ /tmp/cocci-output-1380272-00c850-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-1380272-676c1d-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-1380272-50f913-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-1380272-560c3a-unstruct.c @@ -1 +1 @@ -struct foo x __read_mostly = { .a = 12, }; + unused.res diff = --- tests/unused.c +++ /tmp/cocci-output-1380272-44654d-unused.c @@ -2,5 +2,5 @@ { char *start; - start = strstr(type, "char["); + start = 12; } updassign.res diff = --- tests/updassign.c +++ /tmp/cocci-output-1380272-c3d286-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-1380272-ad3f10-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 SPECIAL NAMES: adding Scsi_Cmnd as a type SPECIAL NAMES: adding ty_id as a type SPECIAL NAMES: adding ty_id2 as a type warning: line 13: should ty_id be a metavariable? diff = --- tests/varargs.c +++ /tmp/cocci-output-1380272-4d7bf9-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-1380272-d0469e-varargs2.c @@ -1,3 +1,4 @@ static void f(char *fmt, ...) { + return NULL; } varargs3.res diff = --- tests/varargs3.c +++ /tmp/cocci-output-1380272-92a2f7-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-1380272-c3bae2-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_spacingfailure.res diff = --- tests/void_spacingfailure.c +++ /tmp/cocci-output-1380272-c035ec-void_spacingfailure.c @@ -2,4 +2,14 @@ // this is some info about bar +int foo(void) +{ + return; +} + int bar(void) { return; } + +int foo(void) +{ + return; +} vpos.res diff = --- tests/vpos.c +++ /tmp/cocci-output-1380272-db68f6-vpos.c @@ -1,9 +1,7 @@ int main() { f(2); if (x) { - g(1,1); } else { - g(1,2); } } wchar.res SPECIAL NAMES: adding char16_t as a type SPECIAL NAMES: adding char32_t as a type SPECIAL NAMES: adding wchar_t as a type diff = --- tests/wchar.c +++ /tmp/cocci-output-1380272-8624d9-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""; } weird_argument.res diff = --- tests/weird_argument.c +++ /tmp/cocci-output-1380272-7941d8-weird_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++; } weirdinit_failure.res SPECIAL NAMES: adding dev_link_t as a type whitespace.res diff = --- tests/whitespace.c +++ /tmp/cocci-output-1380272-38ccca-whitespace.c @@ -1,3 +1,3 @@ int main () { - foo(sizeof (struct xxx)); + foo(sizeof(struct xxx), 12); } wrongcheck.res diff = --- tests/wrongcheck.c +++ /tmp/cocci-output-1380272-b8881c-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-1380272-ac52a3-ws2.c @@ -1,6 +1,5 @@ int main() { - if (foo()) - goto err; + goto err; err: return; } xfield.res SPECIAL NAMES: adding FOO as a declarer diff = --- tests/xfield.c +++ /tmp/cocci-output-1380272-65d4b0-xfield.c @@ -1,4 +1,4 @@ -FOO(a2,b2,c2); +int x; /* int y; y2.res diff = --- tests/y2.c +++ /tmp/cocci-output-1380272-67a6fe-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-1380272-6d51ae-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)); } zeroline.res diff = --- tests/zeroline.c +++ /tmp/cocci-output-1380272-13b10d-zeroline.c @@ -1,6 +1,7 @@ int main () { - int x; - int y; - memset(&x,0,4); - memset(&y,0,4); + int x = { 0 }; + int y = { + 0, + 4 + }; } attr_std_kwd_fn_removal_spacingfailure.res diff = --- tests/attr_std_kwd_fn_removal_spacingfailure.c +++ /tmp/cocci-output-1380272-909465-attr_std_kwd_fn_removal_spacingfailure.c @@ -1 +1 @@ -int __attribute__((noinline)) foo(){} + attr_std_kwd_spacingfailure.res diff = --- tests/attr_std_kwd_spacingfailure.c +++ /tmp/cocci-output-1380272-7b7a10-attr_std_kwd_spacingfailure.c @@ -1,3 +1,3 @@ // this test concerns the lexing of the C file -- keywords like 'noinline' belonging to standard.h are problematic -int __attribute__((noinline)) foo(){} +int foo(){} int main(){foo();} cocci_args.res diff = --- tests/cocci_args.c +++ /tmp/cocci-output-1380272-f0de7c-cocci_args.c @@ -1,3 +1,3 @@ int main () { - f(); + g(a); } deunroll2.res warning: line 22: should undo be a metavariable? warning: line 34: should undo be a metavariable? diff = --- tests/deunroll2.c +++ /tmp/cocci-output-1380272-d0f7a3-deunroll2.c @@ -3,7 +3,6 @@ for (int i=0;i+4-1, line 1, column 15, charpos = 15 around = 'i', whole content = typedef struct i xxx; File "tests/changei_failure.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_brace2_spacingfailure.res: CORRECT comment_brace_spacingfailure.res: CORRECT comment_line.res : CORRECT comment_middle.res : CORRECT commentbefore.res : CORRECT commentbefore2.res : CORRECT commentend.res : CORRECT comments.res : CORRECT compare.res : CORRECT compare_const.res : CORRECT compare_const2.res : CORRECT comreturn.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 decadd.res : CORRECT decdup.res : CORRECT decdup2.res : CORRECT decdup3.res : CORRECT decdup4.res : CORRECT decl.res : CORRECT decl2.res : CORRECT decl_space.res : CORRECT decl_split_failure.res : KNOWN TO FAIL diff token: int VS } File "tests/decl_split_failure.c", line 2, column 8, charpos = 27 around = 'int', whole content = int x, y; File "tests/decl_split_failure.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 declend.res : CORRECT declmeta.res : CORRECT defe.res : CORRECT define_exp.res : CORRECT define_param_spacingfailure.res: CORRECT define_unmatched.res : CORRECT defineattr.res : CORRECT definedots.res : CORRECT defineinit.res : CORRECT deftodo.res : CORRECT del2.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 deunroll2.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 dots_in_block_remove_failure.res: KNOWN TO FAIL diff token: } VS for File , line 3, column 0, charpos = 13 around = '}', whole content = } File "tests/dots_in_block_remove_failure.res", line 3, column 1, charpos = 14 around = 'for', whole content = for(;;) diff (result(-) vs expected_result(+)) = @@ -1,3 +1,8 @@ int main() { + for(;;) + { + } + return 0; } + double.res : CORRECT double_assign.res : CORRECT double_lines.res : CORRECT double_switch.res : CORRECT doubleconst.res : CORRECT doubleconst2.res : CORRECT doubleconst4.res : CORRECT doublepos.res : CORRECT doubleswitch.res : CORRECT doundo.res : CORRECT dowhile.res : CORRECT dowhile_4.res : CORRECT dowhile_for_complex.res : CORRECT dowhile_nested.res : CORRECT dropbr.res : CORRECT dropcom.res : CORRECT dropenderr.res : CORRECT dropf.res : CORRECT dropparam.res : CORRECT dtest.res : CORRECT eb1_spacingfailure.res : CORRECT edots.res : CORRECT edots_ver1.res : CORRECT efi3.res : CORRECT elsify.res : CORRECT empty.res : CORRECT emptydefine.res : CORRECT end_attr.res : CORRECT end_commas.res : CORRECT endcomma_spacingfailure.res : CORRECT endif.res : CORRECT endmodif_spacingfailure.res : CORRECT endnl.res : CORRECT endpos.res : CORRECT enum.res : CORRECT enum_assign.res : CORRECT enumcast.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 exprun.res : CORRECT extra.res : CORRECT failing_andany.res : CORRECT far.res : CORRECT far2.res : CORRECT fields.res : CORRECT fieldsmin.res : CORRECT finalize_only.res : CORRECT finalize_only.stdout : CORRECT find_long.res : CORRECT finish.res : CORRECT firstdecl.res : CORRECT fix_flow_need.res : CORRECT flex.res : CORRECT fltst.res : CORRECT fn_todo.res : CORRECT fnptr.res : CORRECT fnret.res : CORRECT fnty.res : CORRECT fntypedef.res : CORRECT for3.res : CORRECT fordots.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 fptr.res : CORRECT fptr2.res : CORRECT fptr3.res : CORRECT freeattr.res : CORRECT fresh_id_script.res : CORRECT fsh.res : CORRECT fun.res : CORRECT func.res : CORRECT funptr_array.res : CORRECT gadget_allocate_spacingfailure.res: CORRECT gadget_gather_scatter_spacingfailure.res: CORRECT gadget_invalidate_spacingfailure.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_spacingfailure.res: CORRECT gadget_soa_defs.res : CORRECT gadget_soa_select.res : CORRECT gadget_sorting_hook.res : CORRECT gadget_triplets_typedef.res : CORRECT gadget_triplets_typedef_ipcc.res: CORRECT gcc_attr_with_func.res : CORRECT gcc_attr_with_var_failure.res : KNOWN TO FAIL diff token: myattr1_mid VS section File , line 23, column 20, charpos = 515 around = 'myattr1_mid', whole content = char __attribute__((myattr1_mid)) array1_mid[2]; File "tests/gcc_attr_with_var_failure.res", line 25, column 20, charpos = 515 around = 'section', whole content = char __attribute__((section(".shared"))) array1_mid[2]; diff (result(-) vs expected_result(+)) = @@ -6,9 +6,11 @@ int __attribute__((section(".shared"))) var2_mid; -__attribute__((section(".shared"))) int var3_end; +__attribute__((section(".shared"))) +int var3_end; -__attribute__((section(".shared"))) int var3_mid; +__attribute__((section(".shared"))) +int var3_mid; int var4_end; @@ -20,20 +22,22 @@ 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__((section(".shared"))); -char __attribute__((myattr2_mid)) array2_mid[2]; +char __attribute__((section(".shared"))) array2_mid[2]; -__attribute__((section(".shared"))) char[2] array3_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]; -char __attribute__((myattr4_mid)) array4_mid[2]; +char array4_mid[2]; -char[2] __attribute__((section(".shared"))) array5_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 : CORRECT getc.res : CORRECT gilles-question.res : CORRECT globali.res : CORRECT gotobreak.res : CORRECT hasherr.res : CORRECT hashhash.res : CORRECT hd.res : CORRECT headers.res : CORRECT hex.res : CORRECT hil1.res : CORRECT icomma.res : CORRECT icomma.stdout : CORRECT id3.res : CORRECT id4.res : CORRECT idcon_ocaml.res : CORRECT idcon_python.res : CORRECT identcall.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 ifdefmeta1_failure.res : KNOWN TO FAIL diff token: #ifdef PLATFORM_A VS } File , line 2, column 4, charpos = 17 around = '#ifdef PLATFORM_A', whole content = #ifdef PLATFORM_A File "tests/ifdefmeta1_failure.res", line 2, column 0, charpos = 13 around = '}', whole content = } diff (result(-) vs expected_result(+)) = @@ -1,9 +1,2 @@ int main() { - #ifdef PLATFORM_A - - - - #endif - #ifdef PLATFORM_B - #endif } ifdefmeta2.res : CORRECT ifdefmeta3.res : CORRECT ifdefmeta4_failure.res : KNOWN TO FAIL diff token: + VS #ifdef PLATFORM_A File , line 3, column 0, charpos = 32 around = '+', whole content = + 5 + 50 File "tests/ifdefmeta4_failure.res", line 3, column 0, charpos = 32 around = '#ifdef PLATFORM_A', whole content = #ifdef PLATFORM_A diff (result(-) vs expected_result(+)) = @@ -1,12 +1,13 @@ int main() { buf = malloc(3 -+ 5 + 50 -+ 2 -) #ifdef PLATFORM_A + // platform a stuff + + 5 + 50 #endif #ifdef PLATFORM_B + /* platform b stuff */ + + 2 #endif - ; + ); } ifdefmeta_failure.res : KNOWN TO FAIL diff token: + VS #ifdef PLATFORM_A File , line 3, column 17, charpos = 49 around = '+', whole content = + 5 + 50 File "tests/ifdefmeta_failure.res", line 3, column 0, charpos = 32 around = '#ifdef PLATFORM_A', whole content = #ifdef PLATFORM_A diff (result(-) vs expected_result(+)) = @@ -1,22 +1,22 @@ int main() { buf = malloc(3 +#ifdef PLATFORM_A + 5 + 50 +#endif + +#ifdef PLATFORM_B + 2 - ) - #ifdef PLATFORM_A - #endif - #ifdef PLATFORM_B - #endif - ; +#endif +); buf = malloc(3 +#ifdef PLATFORM_A + 5 + 50 +#endif + +#ifdef PLATFORM_B + 2 - ) - #ifdef PLATFORM_A - #endif - #ifdef PLATFORM_B - #endif - ; +#endif +); } int other() { ifend.res : CORRECT ifgoto.res : CORRECT ifields.res : CORRECT ifif.res : CORRECT ifreturn.res : CORRECT ifreturn3_spacingfailure.res : CORRECT ifreturn4.res : CORRECT ifreturn6.res : CORRECT ifzer.res : CORRECT ifzz.res : CORRECT inc.res : CORRECT incdir_failure.res : KNOWN TO FAIL diff token: x VS 12 File "tests/incdir_failure.c", line 4, column 6, charpos = 41 around = 'x', whole content = foo(x); File "tests/incdir_failure.res", line 4, column 6, charpos = 41 around = '12', whole content = foo(12); diff (result(-) vs expected_result(+)) = @@ -1,5 +1,5 @@ #include "incdir.h" 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 indentif.res : CORRECT inherited.res : CORRECT inherited_ver1.res : CORRECT inhfresh.res : CORRECT inhmet.res : CORRECT inhpos.res : CORRECT initializer.res : CORRECT initializer_many_fields.res : CORRECT initpython.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 : CORRECT iterator.res : CORRECT iterprint.res : CORRECT jloop1_failure.res : KNOWN TO FAIL exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"tests/jloop1_failure.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_failure.res : KNOWN TO FAIL diff token: foo VS } File "tests/kr_failure.c", line 6, column 2, charpos = 37 around = 'foo', whole content = foo(); File "tests/kr_failure.res", line 6, column 0, charpos = 35 around = '}', whole content = } diff (result(-) vs expected_result(+)) = @@ -3,5 +3,4 @@ { y = (j) r; - foo(); } ktype.res : CORRECT ktype2.res : CORRECT labels_metastatement_alt.res : CORRECT lessone.res : CORRECT lfe.res : CORRECT lid.res : CORRECT line_before_last.res : CORRECT lineseq.res : CORRECT list_test.res : CORRECT local.res : CORRECT localglobal.res : CORRECT localid.res : CORRECT localmacroparams.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 match_const_spacingfailure.res: CORRECT match_init.res : CORRECT match_no_meta.res : CORRECT max.res : CORRECT md1.res : CORRECT md2_spacingfailure.res : CORRECT md3.res : CORRECT mdadd_spacingfailure.res : CORRECT mdec.res : CORRECT mdecl.res : CORRECT mdeclp.res : CORRECT mdeclp2.res : CORRECT mdeclrep.res : CORRECT mdindex.res : CORRECT memory.res : CORRECT merge_after_iteration.res : CORRECT merge_after_iteration.stdout : CORRECT merge_vars.res : CORRECT merge_vars_python.res : CORRECT metaattr.res : CORRECT metahex_failure.res : KNOWN TO FAIL diff token: f VS } File "tests/metahex_failure.c", line 2, column 2, charpos = 15 around = 'f', whole content = f(3); File "tests/metahex_failure.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 min3.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 minusall_spacingfailure.res : CORRECT minusdots.res : CORRECT minusdots_ver1.res : CORRECT miss_space.res : CORRECT missingt.res : CORRECT move_type.res : CORRECT movecomments.res : CORRECT multi.res : CORRECT multi_initialize_finalize.res : CORRECT multi_initialize_finalize.stdout: CORRECT multichars.res : CORRECT multidec.res : CORRECT multidecl3.res : CORRECT multipath_spacingfailure.res : CORRECT multiplus.res : CORRECT multiremove.res : CORRECT multistruct.res : CORRECT multitype.res : CORRECT multitypedef.res : CORRECT multivars.res : CORRECT mv.res : CORRECT na.res : CORRECT nameless.res : CORRECT nest.res : CORRECT nestadd.res : CORRECT nestedexp.res : CORRECT nestedstr_failure.res : KNOWN TO FAIL diff token: q VS S File , line 3, column 9, charpos = 29 around = 'q', whole content = struct q { File "tests/nestedstr_failure.res", line 3, column 9, charpos = 29 around = 'S', whole content = struct S { diff (result(-) vs expected_result(+)) = @@ -1,6 +1,6 @@ struct q { int a; - struct q { + struct S { int x; }; int b; 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 : CORRECT null_type.res : CORRECT oddifdef.res : CORRECT of.res : CORRECT omp.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 packed.res : CORRECT param.res : CORRECT param_end.res : CORRECT param_to_exp.res : CORRECT param_ver1.res : CORRECT parameters_dots_spacingfailure.res: CORRECT parenmac.res : CORRECT partial.res : CORRECT partialmd.res : CORRECT partialmd2.res : CORRECT partialmd3.res : CORRECT pb_distribute_type2_failure.res: KNOWN TO FAIL 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 : CORRECT pb_distribute_type4.res : CORRECT pb_distribute_type_failure.res: KNOWN TO FAIL 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_params_iso.res : CORRECT pb_parsing_macro.res : CORRECT pb_tag_symbols.res : CORRECT pcim.res : CORRECT pcomma.res : CORRECT pif.res : CORRECT plus33.res : CORRECT pmac.res : CORRECT poscon.res : CORRECT posiso.res : CORRECT positionc.res : CORRECT post.res : CORRECT postcomment.res : CORRECT pragma2.res : CORRECT pragma2a.res : CORRECT pragma3.res : CORRECT pragma_and_block_a_failure.res: KNOWN TO FAIL PB parsing only in generated-file diff (result(-) vs expected_result(+)) = @@ -1,7 +1,5 @@ int main() { -#pragma xxx a for ( ; ; ) -#pragma xxx b ; } pragma_and_block_b.res : CORRECT pragma_before_loop_failure.res: KNOWN TO FAIL PB parsing only in generated-file diff (result(-) vs expected_result(+)) = @@ -2,6 +2,5 @@ int i,a; // the pragma following breaks parsing this program (--parse-c) for (i = 0; i < 1; i++) - #pragma acc parallel a++; } pragmainfo_multiline.res : CORRECT pragmatest1.res : CORRECT pragmatest2.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_spacingfailure.res: CORRECT putloop.res : CORRECT python_iteration.res : CORRECT python_iteration.stdout : CORRECT python_mdecl.res : CORRECT python_mdeclp.res : CORRECT python_poscon.res : CORRECT qcom.res : CORRECT qualifier.res : CORRECT quotes.res : CORRECT ran.res : CORRECT range.res : CORRECT rb.res : CORRECT rcu3.res : CORRECT refl.res : CORRECT regesc.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 remcom2.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_spacingfailure.res : CORRECT remu.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 ringbuf.res : CORRECT roa.res : CORRECT roinit.res : CORRECT rptr.res : CORRECT saft.res : CORRECT saft2.res : CORRECT same_expr.res : CORRECT sbef.res : CORRECT sbef2.res : CORRECT scope_problem.res : CORRECT scoped_guard.res : CORRECT scoped_guard2.res : CORRECT sd_2.res : CORRECT serio.res : CORRECT sg.res : CORRECT shared_brace_spacingfailure.res: CORRECT signed.res : CORRECT sis.res : CORRECT sizeof.res : CORRECT sizeof_julia.res : CORRECT sizeptr.res : CORRECT sizestar.res : CORRECT sizet1.res : CORRECT skip.res : CORRECT sl2.res : CORRECT slen.res : CORRECT sltest.res : CORRECT smallfn_spacingfailure.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 square.res : CORRECT starprint.res : CORRECT stat_spacingfailure.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 tloop.res : CORRECT top.res : CORRECT topdec.res : CORRECT topdec_ver1.res : CORRECT topdec_ver2.res : CORRECT topdecl.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_spacingfailure.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_failure.res : KNOWN TO FAIL 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 typedef2.res : CORRECT typedef3_failure.res : KNOWN TO FAIL 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_failure.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) typeof.res : CORRECT typeof_expr.res : CORRECT typeofconst_i32l64.res : CORRECT typeofconst_il32.res : CORRECT typin.res : CORRECT uc.res : CORRECT unary.res : CORRECT unbrace_spacingfailure.res : CORRECT undref.res : CORRECT undref2.res : CORRECT undref3.res : CORRECT unelse.res : CORRECT unfree.res : CORRECT unl.res : CORRECT unstruct.res : CORRECT unused.res : CORRECT updassign.res : CORRECT useless_cast.res : CORRECT varargs.res : CORRECT varargs2.res : CORRECT varargs3.res : CORRECT video1bis.res : CORRECT void_spacingfailure.res : CORRECT vpos.res : CORRECT wchar.res : CORRECT weird_argument.res : CORRECT weirdinit_failure.res : KNOWN TO FAIL diff token: dev_link_t VS struct File "tests/weirdinit_failure.c", line 4, column 1, charpos = 27 around = 'dev_link_t', whole content = dev_link_t *link; File "tests/weirdinit_failure.res", line 4, column 1, charpos = 27 around = 'struct', whole content = struct pcmcia_device *link; diff (result(-) vs expected_result(+)) = @@ -1,7 +1,7 @@ static int cmm_ioctl() { - dev_link_t *link; + struct pcmcia_device *link; char *ioctl_names[CM_IOC_MAXNR + 1] = { [_IOC_NR(CM_IOSDBGLVL)] "CM4000_DBGLVL", }; whitespace.res : CORRECT wrongcheck.res : CORRECT ws2.res : CORRECT xfield.res : CORRECT y2.res : CORRECT zero.res : CORRECT zeroline.res : CORRECT access_specifiers_0.res access_specifiers_1.res diff = --- cpptests/access_specifiers_1.cpp +++ /tmp/cocci-output-1380272-7ea0b6-access_specifiers_1.cpp @@ -1,3 +1,2 @@ struct A { - public: }; access_specifiers_1_class.res diff = --- cpptests/access_specifiers_1_class.cpp +++ /tmp/cocci-output-1380272-d5d2b8-access_specifiers_1_class.cpp @@ -1,3 +1,2 @@ class A { - public: }; access_specifiers_2.res diff = --- cpptests/access_specifiers_2.cpp +++ /tmp/cocci-output-1380272-0ec4a3-access_specifiers_2.cpp @@ -1,3 +1,4 @@ struct A { public: + int a;// after public }; access_specifiers_3.res diff = --- cpptests/access_specifiers_3.cpp +++ /tmp/cocci-output-1380272-d21532-access_specifiers_3.cpp @@ -1,3 +1,4 @@ struct A { public: + private: }; access_specifiers_4.res diff = --- cpptests/access_specifiers_4.cpp +++ /tmp/cocci-output-1380272-e15fbe-access_specifiers_4.cpp @@ -1,3 +1,3 @@ struct A { - public: + private: }; addremvec_failure.res aggregate_initialization_failure.res exn while in timeout_function attributeu.res diff = --- cpptests/attributeu.cpp +++ /tmp/cocci-output-1380272-ef2a0b-attributeu.cpp @@ -1,3 +1,3 @@ int main(){ - [[using GCC : lucky]] int variable; + [[using CCG:fortunate]] int variable; } auto_failure.res SPECIAL NAMES: adding type as a type warning: rule starting on line 3: metavariable t not used in the - or context code exn while in timeout_function autoloop_failure.res exn while in timeout_function bool1.res diff = --- cpptests/bool1.cpp +++ /tmp/cocci-output-1380272-1da862-bool1.cpp @@ -1,3 +1,3 @@ atype f::g() { - return 0; + return 1; } braced_init_list.res warning: line 4: should i be a metavariable? diff = --- cpptests/braced_init_list.cpp +++ /tmp/cocci-output-1380272-d76bef-braced_init_list.cpp @@ -1,5 +1,5 @@ int main() { - int i; - i = {0}; + int j; + j = {0}; } braced_init_list_arg.res diff = --- cpptests/braced_init_list_arg.cpp +++ /tmp/cocci-output-1380272-50ca61-braced_init_list_arg.cpp @@ -4,6 +4,5 @@ { A i{0}; i={0}; - f({0}); return {0}; } braced_init_list_assign.res warning: line 5: should i be a metavariable? diff = --- cpptests/braced_init_list_assign.cpp +++ /tmp/cocci-output-1380272-56e305-braced_init_list_assign.cpp @@ -2,6 +2,5 @@ int main() { A i{0}; - i={0}; return {0}; } braced_init_list_return.res diff = --- cpptests/braced_init_list_return.cpp +++ /tmp/cocci-output-1380272-f47f98-braced_init_list_return.cpp @@ -3,5 +3,4 @@ { A i{0}; i={0}; - return {0}; } bracket.res diff = --- cpptests/bracket.cpp +++ /tmp/cocci-output-1380272-4a662c-bracket.cpp @@ -1,3 +1,3 @@ int main () { - rsb_flags_t flags{flags_}; + rsb_flags_t flags{12}; } bracketed_expression_assignment.res diff = --- cpptests/bracketed_expression_assignment.cpp +++ /tmp/cocci-output-1380272-0713d6-bracketed_expression_assignment.cpp @@ -1,4 +1,5 @@ int main() { int j; + // specific identifier matched: j = {1}; } cdstr.res diff = --- cpptests/cdstr.cpp +++ /tmp/cocci-output-1380272-3e5e95-cdstr.cpp @@ -2,11 +2,11 @@ class X { - int a, b, i, j; + int aa, b, i, j; public: const int& r; X(int i) - : r(a) // initializes X::r to refer to X::a + : r(aa) // initializes X::r to refer to X::a , b{i} // initializes X::b to the value of the parameter i , i(i) // initializes X::i to the value of the parameter i , j(this->i) // initializes X::j to the value of X::i classfinal_failure.res complexcpp.res diff = --- cpptests/complexcpp.cpp +++ /tmp/cocci-output-1380272-7cc0a7-complexcpp.cpp @@ -1,3 +1,3 @@ int main() { - std::complex x; + } cuda.res warning: line 7: should gridDim be a metavariable? warning: line 7: should blockDim be a metavariable? diff = --- cpptests/cuda.cpp +++ /tmp/cocci-output-1380272-d482d0-cuda.cpp @@ -15,6 +15,7 @@ { dim3 blockDim(16, 16, 1); dim3 gridDim(8, 8, 1); + // CUDA follows kernel_2<<< gridDim, blockDim, 0 >>>(); kernel_1< gridDim, blockDim, 0 >(); f(); cuda1.res diff = --- cpptests/cuda1.cpp +++ /tmp/cocci-output-1380272-224b86-cuda1.cpp @@ -1,4 +1,4 @@ int main() { - kernel_2<<>>(); + kernel_2<<>>(0); } cuda_noattr.res diff = --- cpptests/cuda_noattr.cpp +++ /tmp/cocci-output-1380272-e5faa6-cuda_noattr.cpp @@ -1,6 +1,7 @@ __global__ void kernel_2(int i) { + 1; unsigned int x = blockIdx.x*blockDim.x + threadIdx.x; unsigned int y = blockIdx.y*blockDim.y + threadIdx.y; } decltype.res diff = --- cpptests/decltype.cpp +++ /tmp/cocci-output-1380272-8d2cdd-decltype.cpp @@ -3,5 +3,5 @@ int main () { decltype(expr) expr2; decltype((expr)) expr3; - return expr2 + expr3; + return 12 + expr3; } decltype_matches_type.res diff = --- cpptests/decltype_matches_type.cpp +++ /tmp/cocci-output-1380272-984a17-decltype_matches_type.cpp @@ -1,7 +1,7 @@ -int expr; +int expr_ ; int main () { - int i; - decltype(i) j; + int i_ ; + decltype(i) j_ ; return 0; } delete.res diff = --- cpptests/delete.cpp +++ /tmp/cocci-output-1380272-8f2376-delete.cpp @@ -1,6 +1,5 @@ int main() { int * a; - delete a; delete [] a; } delete_array.res diff = --- cpptests/delete_array.cpp +++ /tmp/cocci-output-1380272-813624-delete_array.cpp @@ -2,5 +2,4 @@ { int * a; delete a; - delete [] a; } emptytmp_failure.res endcolon.res diff = --- cpptests/endcolon.cpp +++ /tmp/cocci-output-1380272-c02d6c-endcolon.cpp @@ -1,4 +1,4 @@ int main () { a::b :: c :: - d(12); + d(15); } endline.res diff = --- cpptests/endline.cpp +++ /tmp/cocci-output-1380272-1c6a14-endline.cpp @@ -1,4 +1,4 @@ int main() { std::vector:: - t x = 12; + t x = 15; } fieldtmp_failure.res finalclass.res diff = --- cpptests/finalclass.cpp +++ /tmp/cocci-output-1380272-27dab9-finalclass.cpp @@ -1,2 +1,2 @@ -class foo final { int x; }; +class foo final { int y; }; forrange2.res diff = --- cpptests/forrange2.cpp +++ /tmp/cocci-output-1380272-4919c9-forrange2.cpp @@ -2,9 +2,9 @@ { using std::get; for (M2NTuple &tuple : _m2ns) { - if ((get<1>(tuple) == acceptor) && (get<2>(tuple) == connector)) { + if ((get<1>(tuple) == acceptor) && (get<4>(tuple) == connector)) { return get<0>(tuple); - } else if ((get<2>(tuple) == acceptor) && (get<1>(tuple) == connector)) { + } else if ((get<4>(tuple) == acceptor) && (get<1>(tuple) == connector)) { return get<0>(tuple); } } forrange_failure.res exn while in timeout_function inh1.res diff = --- cpptests/inh1.cpp +++ /tmp/cocci-output-1380272-c097e4-inh1.cpp @@ -1,6 +1,7 @@ // emits warning on c++ file: 5: list of length 3 or 4 expected #include using namespace std; +// struct A { }; struct B : public A { }; int main() init3tst.res diff = --- cpptests/init3tst.cpp +++ /tmp/cocci-output-1380272-85b476-init3tst.cpp @@ -1,4 +1,4 @@ class TestUpperTriangle { public: - static constexpr rsb_coo_idx_t nrA { 2 }; + static constexpr rsb_coo_idx_t nrA { 20 }; }; instfour_failure.res instruct.res diff = --- cpptests/instruct.cpp +++ /tmp/cocci-output-1380272-bd4a9a-instruct.cpp @@ -1,9 +1,7 @@ struct i { - using namespace foo; int a; }; struct j { - #pragma XXX yyy int x; }; lambda_simple_failure.res exn while in timeout_function list_and_aggregate_initialization_isomorphism_off.res diff = --- cpptests/list_and_aggregate_initialization_isomorphism_off.cpp +++ /tmp/cocci-output-1380272-24abcd-list_and_aggregate_initialization_isomorphism_off.cpp @@ -1,5 +1,4 @@ int main() { int i {0}; - int j={0}; } list_and_aggregate_initialization_isomorphism_on.res diff = --- cpptests/list_and_aggregate_initialization_isomorphism_on.cpp +++ /tmp/cocci-output-1380272-97c5df-list_and_aggregate_initialization_isomorphism_on.cpp @@ -1,5 +1,3 @@ int main() { - int i {0}; - int j={0}; } list_initialization.res diff = --- cpptests/list_initialization.cpp +++ /tmp/cocci-output-1380272-756745-list_initialization.cpp @@ -1,4 +1,3 @@ int main() { - int j={0}; } local_macro_fn_def_and_call.res diff = --- cpptests/local_macro_fn_def_and_call.cpp +++ /tmp/cocci-output-1380272-aad53d-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 } macro_stmt_when_fn_type.res diff = --- cpptests/macro_stmt_when_fn_type.cpp +++ /tmp/cocci-output-1380272-9e6dab-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_bracket_expressions_assignment_broken.res diff = --- cpptests/match_bracket_expressions_assignment_broken.cpp +++ /tmp/cocci-output-1380272-194c5f-match_bracket_expressions_assignment_broken.cpp @@ -1,5 +1,7 @@ int main() { int j,k; + // assign to value: j = 1; + // assign to value: k = {1}; } miniclass.res diff = --- cpptests/miniclass.cpp +++ /tmp/cocci-output-1380272-365b42-miniclass.cpp @@ -1,28 +1,28 @@ class foo { public: - int public_field; - int public_func(); + char public_field; + char public_func(); private: - int private_field; - int private_func(); + char private_field; + char private_func(); protected: - int protected_field; - int protected_func(); + char protected_field; + char protected_func(); }; -int main () { +char main () { class foo { public: - int public_field; - int public_func(); + char public_field; + char public_func(); private: - int private_field; - int private_func(); + char private_field; + char private_func(); protected: - int protected_field; - int protected_func(); + char protected_field; + char protected_func(); }; } namespace_nested1_failure.res warning: line 4: should B be a metavariable? namespace_nested2_failure.res exn while in timeout_function namespace_nested3_failure.res exn while in timeout_function namespace_nested4_failure.res exn while in timeout_function new_failure.res exn while in timeout_function noexcept_failure.res diff = --- cpptests/noexcept_failure.cpp +++ /tmp/cocci-output-1380272-614bae-noexcept_failure.cpp @@ -1,9 +1,9 @@ -void foo() noexcept {} +void bar() noexcept {} -void Logger::trace(LogLocation loc, int mess) noexcept +void Logger::trace(LogLocation xyz, int mess) noexcept { } -void Logger::trace(LogLocation loc, std::string_view mess) noexcept +void Logger::trace(LogLocation xyz, std::string_view mess) noexcept { } formatter_type create_formatter(boost::log::attribute_name const &name, args_map const &args) override notpp.res diff = --- cpptests/notpp.cpp +++ /tmp/cocci-output-1380272-319f26-notpp.cpp @@ -1,4 +1,4 @@ void main () { - if (not m2n->usesTwoLevelInitialization()) + if (not xxx->usesTwoLevelInitialization()) return; } opeq_failure.res protocpp.res diff = --- cpptests/protocpp.cpp +++ /tmp/cocci-output-1380272-563bfd-protocpp.cpp @@ -1 +1 @@ -int mm_write_banner(std::ofstream &ofs, MM_typecode matcode); +int mm_write_banner(std::ofstream &ofs, MM_typecode xxx); qual.res diff = --- cpptests/qual.cpp +++ /tmp/cocci-output-1380272-e31c5c-qual.cpp @@ -1,3 +1,3 @@ int main () { - return std::isspace(text[index]); + return std::isspace(text[12]); } qualclass.res diff = --- cpptests/qualclass.cpp +++ /tmp/cocci-output-1380272-6a29c6-qualclass.cpp @@ -1,3 +1,3 @@ class ResidualNorm : public ::testing::Test { - int x; + int y; }; sizet.res diff = --- cpptests/sizet.cpp +++ /tmp/cocci-output-1380272-51aae2-sizet.cpp @@ -1,3 +1,2 @@ int main() { - size_t x; } snip_field.res diff = --- cpptests/snip_field.cpp +++ /tmp/cocci-output-1380272-079ba2-snip_field.cpp @@ -1,2 +1,7 @@ -struct str_t { int f1; int f2; int a; int b; }; +struct str_t { int a; }; +struct l_t { + int f1; + int f2; + int b; +}; int main() { } template_test_failure.res SPECIAL NAMES: adding xxx as a type SPECIAL NAMES: adding abc as a type diff = --- cpptests/template_test_failure.cpp +++ /tmp/cocci-output-1380272-f31cee-template_test_failure.cpp @@ -1,5 +1,6 @@ int min() { int x; + vector d; foo<12,a> (3, 4); xxx<12,a> (3, 4); foo<12,a>(3, 4); templates1.res diff = --- cpptests/templates1.cpp +++ /tmp/cocci-output-1380272-3de93b-templates1.cpp @@ -1,9 +1,9 @@ -template +template int f(const T1 v1, const T2 v2) { return I1+I2+I3+v1+v2; } int main() { - return f(1,1) + f(1,2) + f(1,2) + f(1,2) - 31; + return f(1,1) + f(1,2) + f(1,2) + f(1,2) - 31; } tmpinit.res diff = --- cpptests/tmpinit.cpp +++ /tmp/cocci-output-1380272-31e08e-tmpinit.cpp @@ -1,3 +1,3 @@ class TestSymmetricCoo: public ::testing::Test { - const std::vector VA { std::vector(nnzA,4) }; + const std::vector VA { std::vector(nnzA,6) }; }; tmpinst2_failure.res tmpinst4_failure.res tmpinst5_failure.res using1.res diff = --- cpptests/using1.cpp +++ /tmp/cocci-output-1380272-d819a0-using1.cpp @@ -1,5 +1,4 @@ namespace ns {}; int main() { - using namespace ns; } using2_failure.res using3.res diff = --- cpptests/using3.cpp +++ /tmp/cocci-output-1380272-83503e-using3.cpp @@ -1,5 +1,4 @@ int main() { - using i_t = int; i_t i = 3; } using4_failure.res exn while in timeout_function usingtest_failure.res diff = --- cpptests/usingtest_failure.cpp +++ /tmp/cocci-output-1380272-66c76b-usingtest_failure.cpp @@ -18,4 +18,4 @@ int x[1]; }; -struct foo { int x[1]; }; +struct foo { int x[2]; }; usingtype.res diff = --- cpptests/usingtype.cpp +++ /tmp/cocci-output-1380272-17decc-usingtype.cpp @@ -1 +1 @@ -using mytime_t = double ; +using mytime_t = int ; while_init_condition.res warning: line 4: should v be a metavariable? diff = --- cpptests/while_init_condition.cpp +++ /tmp/cocci-output-1380272-b93521-while_init_condition.cpp @@ -2,6 +2,6 @@ { const int a [] = {1,2,0}; int i=0; - while (const int v = a[i++]) + while (const int z = a[i++]) ; } while_init_condition_smpl.res warning: line 4: should v be a metavariable? warning: line 4: should i be a metavariable? diff = --- cpptests/while_init_condition_smpl.cpp +++ /tmp/cocci-output-1380272-a461d9-while_init_condition_smpl.cpp @@ -2,6 +2,7 @@ { const int a [] = {1,2,0}; int i=0; - while (const int v = a[i++]) + while (const int z = a[i++] + ) ; } case_attribute_modify_failure.res exn while in timeout_function case_attribute_parse_failure.res co_await_kw0.res diff = --- cpptests/co_await_kw0.cpp +++ /tmp/cocci-output-1380272-dcecbb-co_await_kw0.cpp @@ -1,5 +1,5 @@ /* note: this does not compile, but it's parsable by coccinelle */ int f() { - co_await 0; + co_await 1; } co_await_kw1.res diff = --- cpptests/co_await_kw1.cpp +++ /tmp/cocci-output-1380272-138681-co_await_kw1.cpp @@ -1,5 +1,5 @@ /* note: this does not compile, but it's parsable by coccinelle */ int f() { - co_await 0; + return 0; } co_return.res diff = --- cpptests/co_return.cpp +++ /tmp/cocci-output-1380272-786a02-co_return.cpp @@ -1,7 +1,7 @@ /* note: this does not compile, but it's parsable by coccinelle */ int f() { - return 0; + return 1; } int g() @@ -11,16 +11,17 @@ int h() { - co_return 0; + return 1; } int l() { - co_return 0; + co_return 1; } int m() { + 1; return; } @@ -31,10 +32,12 @@ int o() { - co_return; + 1; + return; } int p() { + 1; co_return; } co_yield_kw0.res diff = --- cpptests/co_yield_kw0.cpp +++ /tmp/cocci-output-1380272-5cadd7-co_yield_kw0.cpp @@ -1,5 +1,5 @@ /* note: this does not compile, but it's parsable by coccinelle */ int f() { - co_yield 0; + co_yield 1; } co_yield_kw1.res diff = --- cpptests/co_yield_kw1.cpp +++ /tmp/cocci-output-1380272-fd3549-co_yield_kw1.cpp @@ -2,5 +2,5 @@ /* note: this does not compile, but it's parsable by coccinelle */ int f() { - co_yield 0; + return 0; } constinit_modify_failure.res SPECIAL NAMES: adding constinit as a type exn while in timeout_function constinit_parse_ok.res diff = --- cpptests/constinit_parse_ok.cpp +++ /tmp/cocci-output-1380272-f8d155-constinit_parse_ok.cpp @@ -1,2 +1,2 @@ -constinit const int i = 0; -int main() { return 0; } +constinit const int i = 0x0; +int main() { return 0x0; } decl_and_ref.res warning: line 4: should b be a metavariable? warning: line 4: should v be a metavariable? diff = --- cpptests/decl_and_ref.cpp +++ /tmp/cocci-output-1380272-6266bb-decl_and_ref.cpp @@ -3,4 +3,5 @@ int v = 0; int a = 0; int & b = v; + // reference matched above } decl_andand_ref.res warning: line 4: should b be a metavariable? diff = --- cpptests/decl_andand_ref.cpp +++ /tmp/cocci-output-1380272-8daed8-decl_andand_ref.cpp @@ -3,4 +3,5 @@ int v = 0; int a = 0; int && b = 0; + // reference matched above } decl_ptr_ref.res warning: line 4: should b be a metavariable? warning: line 4: should v be a metavariable? diff = --- cpptests/decl_ptr_ref.cpp +++ /tmp/cocci-output-1380272-970223-decl_ptr_ref.cpp @@ -3,5 +3,6 @@ int v = 0; int a = 0; int * b = &v; + // pointer matched above } delete_constructor_modify_failure.res exn while in timeout_function delete_constructor_parse_failure.res diff = --- cpptests/delete_constructor_parse_failure.cpp +++ /tmp/cocci-output-1380272-48ff2c-delete_constructor_parse_failure.cpp @@ -1,2 +1,2 @@ struct s { s() = delete; s(int){0;} }; -int main(){ s v(0); } +int main(){ s v(1); } delete_replace.res warning: line 4: should a be a metavariable? warning: line 9: should a be a metavariable? diff = --- cpptests/delete_replace.cpp +++ /tmp/cocci-output-1380272-c01757-delete_replace.cpp @@ -1,7 +1,7 @@ int main() { int * a, *b; - delete a; - delete [] a; + delete b; + delete [] b; } destructor_constructor_parse_failure.res diff = --- cpptests/destructor_constructor_parse_failure.cpp +++ /tmp/cocci-output-1380272-c9303a-destructor_constructor_parse_failure.cpp @@ -2,9 +2,9 @@ public: A(){0;} ~A(){0;} - void a(){0;} + void a(){1;} }; int main(){ A a; - 0; + 1; } destructor_constructor_parse_smpl_failure.res exn while in timeout_function enumcpp.res diff = --- cpptests/enumcpp.cpp +++ /tmp/cocci-output-1380272-85be3a-enumcpp.cpp @@ -1,32 +1,3 @@ int main() { - enum struct l1 {A, B}; - enum class l2 {A2, B2}; - enum struct l3:int {A3,B3}; - enum class l4:int {A4,B4}; - - enum l11 {A11, B11}; - enum l12 {A12, B12}; - enum l13:int {A13,B13}; - enum l14:int {A14,B14}; - - enum {A21, B21} l21; - enum {A22, B22} l22; - enum :int {A33,B33} l33; - enum :int {A32,B32} l32; - - enum struct zl1 {}; - enum class zl2 {}; - enum struct zl3:int {}; - enum class zl4:int {}; - - enum zl11 {}; - enum zl12 {}; - enum zl13:int {}; - enum zl14:int {}; - - enum {} zl21; - enum {} zl22; - enum :int {} zl33; - enum :int {} zl32; } explicit_kw_parse_failure.res diff = --- cpptests/explicit_kw_parse_failure.cpp +++ /tmp/cocci-output-1380272-9a0314-explicit_kw_parse_failure.cpp @@ -1,2 +1,2 @@ struct S { explicit(false) S(int){} }; -int main(){S s=0; bool b=false;} +int main(){S s=0; bool b=true;} forc.res diff = --- cpptests/forc.cpp +++ /tmp/cocci-output-1380272-b14e27-forc.cpp @@ -2,9 +2,9 @@ { while (rmask) { - if ((s_Ulo) + if (12) { unsigned int t; hi--; /* Borrow */ friend_modify_failure.res exn while in timeout_function friend_parse_failure.res mutable_modify_failure.res exn while in timeout_function mutable_parse_failure.res namespace_alias_definition_failure.res newsimple.res diff = --- cpptests/newsimple.cpp +++ /tmp/cocci-output-1380272-6d39c2-newsimple.cpp @@ -1,6 +1,6 @@ int main() { sizeof(Test); - new int(1); + new int(2); } nm.res diff = --- cpptests/nm.cpp +++ /tmp/cocci-output-1380272-dcb241-nm.cpp @@ -3,7 +3,6 @@ { } void do_something() { - REDTRC(0, 0, 0, "Testing %s %d", member1.c_str(), member2); } std::string member1 = {"test"}; override_modify_failure.res exn while in timeout_function override_parse_failure.res diff = --- cpptests/override_parse_failure.cpp +++ /tmp/cocci-output-1380272-88b954-override_parse_failure.cpp @@ -1,3 +1,3 @@ struct A { virtual int f(){ return 0; } }; -struct B: public A { int f() override { return 0; } }; +struct B: public A { int f() override { return 1; } }; int main() { B b; } preprocessor_elifdef_add.res diff = --- cpptests/preprocessor_elifdef_add.cpp +++ /tmp/cocci-output-1380272-5bd072-preprocessor_elifdef_add.cpp @@ -2,6 +2,12 @@ int main() { #if Y + return 1; +#else +#if defined Y + return 1; +#elifdef Y return 0; +#endif #endif } snip_field_and_keep_access_specifier.res diff = --- cpptests/snip_field_and_keep_access_specifier.cpp +++ /tmp/cocci-output-1380272-8cebfa-snip_field_and_keep_access_specifier.cpp @@ -1,2 +1,8 @@ -struct str_t { int f1; public: int f2; int a; int b; }; +struct str_t { int a; }; +struct l_t { + int f1; + public: + int f2; + int b; +}; int main() { } snip_field_bad.res diff = --- cpptests/snip_field_bad.cpp +++ /tmp/cocci-output-1380272-38c5da-snip_field_bad.cpp @@ -1,2 +1,7 @@ -struct str_t { int f1; int f2; int a; int b; }; +struct str_t { int a; }; +struct l_t { + int f1; + int f2; + int b; +}; int main() { } structured_bindings_modify_failure.res exn while in timeout_function structured_bindings_parse_failure.res exn while in timeout_function templates_partial_specialization_failure.res exn while in timeout_function try_catch.res diff = --- cpptests/try_catch.cpp +++ /tmp/cocci-output-1380272-86a59e-try_catch.cpp @@ -1,5 +1,6 @@ int main() { + int i; try { } catch (int e) { } } try_catch2.res vconstr_failure.res exn while in timeout_function virtual_constructor_failure.res diff = --- cpptests/virtual_constructor_failure.cpp +++ /tmp/cocci-output-1380272-3b63fc-virtual_constructor_failure.cpp @@ -4,6 +4,5 @@ virtual ~A(){int i;} // destructors can be declared 'virtual' }; int main(){ - int i; A a; } virtual_parse_failure.res -------------------------------- statistics -------------------------------- access_specifiers_0.res : CORRECT access_specifiers_1.res : CORRECT access_specifiers_1_class.res : CORRECT access_specifiers_2.res : CORRECT access_specifiers_3.res : CORRECT access_specifiers_4.res : CORRECT addremvec_failure.res : KNOWN TO FAIL diff token: 1 VS 12 File "cpptests/addremvec_failure.cpp", line 1, column 9, charpos = 9 around = '1', whole content = vector d; File "cpptests/addremvec_failure.res", line 1, column 9, charpos = 9 around = '12', whole content = vector d; diff (result(-) vs expected_result(+)) = @@ -1 +1 @@ -vector d; +vector d; aggregate_initialization_failure.res: KNOWN TO FAIL exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"cpptests/aggregate_initialization_failure.cocci\", line 5, column 7, charpos = 38\n around = '{',\n whole content = -\tint i{0};\n") attributeu.res : CORRECT auto_failure.res : KNOWN TO FAIL exn = Coccinelle_modules.Parse_cocci.SMPLParseError("File \"cpptests/auto_failure.cocci\", line 15, column 2, charpos = 120\n around = 'auto',\n whole content = + auto y = 2;") autoloop_failure.res : KNOWN TO FAIL exn = Coccinelle_modules.Parse_cocci.SMPLParseError("File \"cpptests/autoloop_failure.cocci\", line 8, column 7, charpos = 105\n around = 'auto',\n whole content = + for (auto ae: a)") bool1.res : CORRECT braced_init_list.res : CORRECT braced_init_list_arg.res : CORRECT braced_init_list_assign.res : CORRECT braced_init_list_return.res : CORRECT bracket.res : CORRECT bracketed_expression_assignment.res: CORRECT case_attribute_modify_failure.res: KNOWN TO FAIL exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"cpptests/case_attribute_modify_failure.cocci\", line 7, column 3, charpos = 62\n around = 'case',\n whole content = case 0: ... break;\n") case_attribute_parse_failure.res: KNOWN TO FAIL diff token: 1 VS 2 File "cpptests/case_attribute_parse_failure.cpp", line 9, column 7, charpos = 96 around = '1', whole content = case 1: 0; File "cpptests/case_attribute_parse_failure.res", line 9, column 7, charpos = 96 around = '2', whole content = case 2: 0; diff (result(-) vs expected_result(+)) = @@ -6,6 +6,6 @@ [[likely]] case 0: 0; break; [[unlikely]] - case 1: 0; + case 2: 0; } } cdstr.res : CORRECT classfinal_failure.res : KNOWN TO FAIL diff token: x VS y File "cpptests/classfinal_failure.cpp", line 7, column 6, charpos = 168 around = 'x', whole content = int x; File "cpptests/classfinal_failure.res", line 7, column 6, charpos = 168 around = 'y', whole content = int y; diff (result(-) vs expected_result(+)) = @@ -4,5 +4,5 @@ public IDomDecHelperClient { public: - int x; + int y; }; co_await_kw0.res : CORRECT co_await_kw1.res : CORRECT co_return.res : CORRECT co_yield_kw0.res : CORRECT co_yield_kw1.res : CORRECT complexcpp.res : CORRECT constinit_modify_failure.res : KNOWN TO FAIL exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"cpptests/constinit_modify_failure.cocci\", line 4, column 18, charpos = 41\n around = 'int',\n whole content = - constinit const int i = 0;\n") constinit_parse_ok.res : CORRECT cuda.res : CORRECT cuda1.res : CORRECT cuda_noattr.res : CORRECT decl_and_ref.res : CORRECT decl_andand_ref.res : CORRECT decl_ptr_ref.res : CORRECT decltype.res : CORRECT decltype_matches_type.res : CORRECT delete.res : CORRECT delete_array.res : CORRECT delete_constructor_modify_failure.res: KNOWN TO FAIL exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"cpptests/delete_constructor_modify_failure.cocci\", line 4, column 14, charpos = 37\n around = ';',\n whole content = - s() = delete;\n") delete_constructor_parse_failure.res: KNOWN TO FAIL diff token: 0 VS 1 File , line 1, column 32, charpos = 32 around = '0', whole content = struct s { s() = delete; s(int){0;} }; File "cpptests/delete_constructor_parse_failure.res", line 1, column 32, charpos = 32 around = '1', whole content = struct s { s() = delete; s(int){1;} }; diff (result(-) vs expected_result(+)) = @@ -1,2 +1,2 @@ -struct s { s() = delete; s(int){0;} }; +struct s { s() = delete; s(int){1;} }; int main(){ s v(1); } delete_replace.res : CORRECT destructor_constructor_parse_failure.res: KNOWN TO FAIL diff token: 0 VS 1 File , line 3, column 6, charpos = 26 around = '0', whole content = A(){0;} File "cpptests/destructor_constructor_parse_failure.res", line 3, column 6, charpos = 26 around = '1', whole content = A(){1;} diff (result(-) vs expected_result(+)) = @@ -1,7 +1,7 @@ struct A { public: - A(){0;} - ~A(){0;} + A(){1;} + ~A(){1;} void a(){1;} }; int main(){ destructor_constructor_parse_smpl_failure.res: KNOWN TO FAIL exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"cpptests/destructor_constructor_parse_smpl_failure.cocci\", line 6, column 5, charpos = 46\n around = ')',\n whole content = -\t A(){}\n") emptytmp_failure.res : KNOWN TO FAIL diff token: 1 VS 2 File "cpptests/emptytmp_failure.cpp", line 4, column 104, charpos = 123 around = '1', whole content = class TestSpMM_OfAnyTypeSquare: public SquareTestMatrix,std::tuple_element_t<1,TV>>, public ::testing::Test { File "cpptests/emptytmp_failure.res", line 4, column 104, charpos = 123 around = '2', whole content = class TestSpMM_OfAnyTypeSquare: public SquareTestMatrix,std::tuple_element_t<2,TV>>, public ::testing::Test { diff (result(-) vs expected_result(+)) = @@ -1,11 +1,11 @@ int x; template<> -class TestSpMM_OfAnyTypeSquare: public SquareTestMatrix,std::tuple_element_t<1,TV>>, public ::testing::Test { +class TestSpMM_OfAnyTypeSquare: public SquareTestMatrix,std::tuple_element_t<2,TV>>, public ::testing::Test { public: using NT = typename std::tuple_element_t<0,TV>; - using IT = typename std::tuple_element_t<1,TV>; + using IT = typename std::tuple_element_t<2,TV>; using Parms = typename std::tuple_element_t<2,TV>; using MtxP = SquareTestMatrix ; - int x[1]; + int x[2]; }; endcolon.res : CORRECT endline.res : CORRECT enumcpp.res : CORRECT explicit_kw_parse_failure.res : KNOWN TO FAIL diff token: false VS true File , line 1, column 20, charpos = 20 around = 'false', whole content = struct S { explicit(false) S(int){} }; File "cpptests/explicit_kw_parse_failure.res", line 1, column 20, charpos = 20 around = 'true', whole content = struct S { explicit(true) S(int){} }; diff (result(-) vs expected_result(+)) = @@ -1,2 +1,2 @@ -struct S { explicit(false) S(int){} }; +struct S { explicit(true) S(int){} }; int main(){S s=0; bool b=true;} fieldtmp_failure.res : KNOWN TO FAIL diff token: 0 VS 2 File "cpptests/fieldtmp_failure.cpp", line 2, column 44, charpos = 58 around = '0', whole content = errval = mtx.tune_spmm(nullptr,0); File "cpptests/fieldtmp_failure.res", line 2, column 44, charpos = 58 around = '2', whole content = errval = mtx.tune_spmm(nullptr,2); diff (result(-) vs expected_result(+)) = @@ -1,3 +1,3 @@ int main2() { - errval = mtx.tune_spmm(nullptr,0); + errval = mtx.tune_spmm(nullptr,2); } finalclass.res : CORRECT forc.res : CORRECT forrange2.res : CORRECT forrange_failure.res : KNOWN TO FAIL exn = Coccinelle_modules.Parse_cocci.SMPLParseError("File \"cpptests/forrange_failure.cocci\", line 7, column 7, charpos = 63\n around = 'auto',\n whole content = - for (auto i: IA)") friend_modify_failure.res : KNOWN TO FAIL exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"cpptests/friend_modify_failure.cocci\", line 4, column 9, charpos = 29\n around = 'struct',\n whole content = - friend struct s;\n") friend_parse_failure.res : KNOWN TO FAIL diff token: 0 VS 1 File "cpptests/friend_parse_failure.cpp", line 2, column 37, charpos = 62 around = '0', whole content = struct z { friend struct s; void f(){0;} }; File "cpptests/friend_parse_failure.res", line 2, column 37, charpos = 62 around = '1', whole content = struct z { friend struct s; void f(){1;} }; diff (result(-) vs expected_result(+)) = @@ -1,3 +1,3 @@ struct s { void f(){} }; -struct z { friend struct s; void f(){0;} }; +struct z { friend struct s; void f(){1;} }; int main(){} inh1.res : CORRECT init3tst.res : CORRECT instfour_failure.res : KNOWN TO FAIL diff token: } VS int File "cpptests/instfour_failure.cpp", line 5, column 0, charpos = 60 around = '}', whole content = } File "cpptests/instfour_failure.res", line 5, column 8, charpos = 68 around = 'int', whole content = int sss; diff (result(-) vs expected_result(+)) = @@ -2,4 +2,5 @@ { vc_t>>> v; xxx(); + int sss; } instruct.res : CORRECT lambda_simple_failure.res : KNOWN TO FAIL exn = Coccinelle_modules.Semantic_c.Semantic("auto has different meaning in different versions of C++. Please specify a version using --c++=", _) list_and_aggregate_initialization_isomorphism_off.res: CORRECT list_and_aggregate_initialization_isomorphism_on.res: CORRECT list_initialization.res : CORRECT local_macro_fn_def_and_call.res: CORRECT macro_stmt_when_fn_type.res : CORRECT match_bracket_expressions_assignment_broken.res: CORRECT miniclass.res : CORRECT mutable_modify_failure.res : KNOWN TO FAIL exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"cpptests/mutable_modify_failure.cocci\", line 5, column 10, charpos = 40\n around = 'int',\n whole content = - mutable int x = 1;\n") mutable_parse_failure.res : KNOWN TO FAIL diff token: 1 VS 0 File "cpptests/mutable_parse_failure.cpp", line 2, column 17, charpos = 28 around = '1', whole content = mutable int x = 1; File "cpptests/mutable_parse_failure.res", line 2, column 17, charpos = 28 around = '0', whole content = mutable int x = 0; diff (result(-) vs expected_result(+)) = @@ -1,5 +1,5 @@ struct S { - mutable int x = 1; + mutable int x = 0; int y = 2; }; int main() namespace_alias_definition_failure.res: KNOWN TO FAIL diff token: } VS return File "cpptests/namespace_alias_definition_failure.cpp", line 8, column 0, charpos = 79 around = '}', whole content = } File "cpptests/namespace_alias_definition_failure.res", line 8, column 2, charpos = 81 around = 'return', whole content = return 0; diff (result(-) vs expected_result(+)) = @@ -5,4 +5,5 @@ int main() { namespace nad = n1::n2; + return 0; } namespace_nested1_failure.res : KNOWN TO FAIL diff token: B VS C File "cpptests/namespace_nested1_failure.cpp", line 3, column 11, charpos = 25 around = 'B', whole content = namespace B { }; File "cpptests/namespace_nested1_failure.res", line 3, column 11, charpos = 25 around = 'C', whole content = namespace C { }; diff (result(-) vs expected_result(+)) = @@ -1,5 +1,5 @@ namespace A { - namespace B { }; + namespace C { }; }; int main() { } namespace_nested2_failure.res : KNOWN TO FAIL exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"cpptests/namespace_nested2_failure.cocci\", line 4, column 2, charpos = 34\n around = 'namespace',\n whole content = - namespace B { };\n") namespace_nested3_failure.res : KNOWN TO FAIL exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"cpptests/namespace_nested3_failure.cocci\", line 4, column 0, charpos = 32\n around = 'namespace',\n whole content = namespace A\n") namespace_nested4_failure.res : KNOWN TO FAIL exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"cpptests/namespace_nested4_failure.cocci\", line 5, column 0, charpos = 37\n around = 'namespace',\n whole content = namespace\n") new_failure.res : KNOWN TO FAIL exn = Failure("impossible") newsimple.res : CORRECT nm.res : CORRECT noexcept_failure.res : KNOWN TO FAIL diff token: args VS abc File , line 9, column 88, charpos = 245 around = 'args', whole content = formatter_type create_formatter(boost::log::attribute_name const &name, args_map const &args) override File "cpptests/noexcept_failure.res", line 10, column 20, charpos = 249 around = 'abc', whole content = args_map const &abc) override diff (result(-) vs expected_result(+)) = @@ -6,5 +6,6 @@ void Logger::trace(LogLocation xyz, std::string_view mess) noexcept { } -formatter_type create_formatter(boost::log::attribute_name const &name, args_map const &args) override +formatter_type create_formatter(boost::log::attribute_name const &name, + args_map const &abc) override { return NULL; } notpp.res : CORRECT opeq_failure.res : KNOWN TO FAIL diff token: lhs VS return File "cpptests/opeq_failure.cpp", line 4, column 9, charpos = 123 around = 'lhs', whole content = lhs.store_unaligned(tmp.data()); File "cpptests/opeq_failure.res", line 4, column 9, charpos = 123 around = 'return', whole content = return tmp == rhs; diff (result(-) vs expected_result(+)) = @@ -1,6 +1,5 @@ inline bool operator==(const batch& lhs, const std::array& rhs) { std::array tmp; - lhs.store_unaligned(tmp.data()); return tmp == rhs; } override_modify_failure.res : KNOWN TO FAIL exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"cpptests/override_modify_failure.cocci\", line 4, column 10, charpos = 33\n around = ':',\n whole content = - struct B: public A { int f() override { return 0; } };\n") override_parse_failure.res : KNOWN TO FAIL diff token: 0 VS 1 File , line 1, column 35, charpos = 35 around = '0', whole content = struct A { virtual int f(){ return 0; } }; File "cpptests/override_parse_failure.res", line 1, column 35, charpos = 35 around = '1', whole content = struct A { virtual int f(){ return 1; } }; diff (result(-) vs expected_result(+)) = @@ -1,3 +1,3 @@ -struct A { virtual int f(){ return 0; } }; +struct A { virtual int f(){ return 1; } }; struct B: public A { int f() override { return 1; } }; int main() { B b; } preprocessor_elifdef_add.res : CORRECT protocpp.res : CORRECT qual.res : CORRECT qualclass.res : CORRECT sizet.res : CORRECT snip_field.res : CORRECT snip_field_and_keep_access_specifier.res: CORRECT snip_field_bad.res : CORRECT structured_bindings_modify_failure.res: KNOWN TO FAIL exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"cpptests/structured_bindings_modify_failure.cocci\", line 11, column 2, charpos = 103\n around = 'int',\n whole content = - int & [b, c] = a;\n") structured_bindings_parse_failure.res: KNOWN TO FAIL exn = Coccinelle_modules.Semantic_c.Semantic("auto has different meaning in different versions of C++. Please specify a version using --c++=", _) template_test_failure.res : KNOWN TO FAIL diff token: vector VS abc File , line 3, column 2, charpos = 23 around = 'vector', whole content = vector d; File "cpptests/template_test_failure.res", line 3, column 2, charpos = 23 around = 'abc', whole content = abc<2 + 2> d; diff (result(-) vs expected_result(+)) = @@ -1,10 +1,12 @@ int min() { int x; + abc<2 + 2> d; vector d; - foo<12,a> (3, 4); - xxx<12,a> (3, 4); - foo<12,a>(3, 4); - xxx<12,a>(3, 4); + abc<2 + 2> d; + bar<102, b>(30, 40); + bar<102, b>(30, 40); + bar<102, b>(30, 40); + bar<102, b>(30, 40); foo<12,a>(3); xxx<12,a>(3); } templates1.res : CORRECT templates_partial_specialization_failure.res: KNOWN TO FAIL exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"cpptests/templates_partial_specialization_failure.cocci\", line 6, column 21, charpos = 79\n around = 'struct',\n whole content = - template struct ts { ... };\n") tmpinit.res : CORRECT tmpinst2_failure.res : KNOWN TO FAIL PB parsing only in generated-file diff (result(-) vs expected_result(+)) = @@ -1,4 +1,3 @@ int main2() { - vc_t> v; } tmpinst4_failure.res : KNOWN TO FAIL PB parsing only in generated-file diff (result(-) vs expected_result(+)) = @@ -1,6 +1,5 @@ int main() { - vc_t v; // vc_t> v; // vc_t>> v; // vc_t>>> v; tmpinst5_failure.res : KNOWN TO FAIL PB parsing only in generated-file diff (result(-) vs expected_result(+)) = @@ -1,24 +1,19 @@ int main1() { - vc_t v; } int main2() { - vc_t> v; } int main3() { - vc_t>> v; } int main4() { - vc_t>>> v; } int main5() { - vc_t>>>> v; } try_catch.res : CORRECT try_catch2.res : CORRECT using1.res : CORRECT using2_failure.res : KNOWN TO FAIL diff token: using VS } File "cpptests/using2_failure.cpp", line 4, column 1, charpos = 39 around = 'using', whole content = using ns::x; File "cpptests/using2_failure.res", line 4, column 0, charpos = 38 around = '}', whole content = } diff (result(-) vs expected_result(+)) = @@ -1,5 +1,4 @@ namespace ns { int x; }; int main() { - using ns::x; } using3.res : CORRECT using4_failure.res : KNOWN TO FAIL exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"cpptests/using4_failure.cocci\", line 7, column 21, charpos = 105\n around = 't',\n whole content = - using i = typename t;\n") usingtest_failure.res : KNOWN TO FAIL diff token: 1 VS 2 File , line 12, column 104, charpos = 506 around = '1', whole content = class TestSpMM_OfAnyTypeSquare: public SquareTestMatrix,std::tuple_element_t<1,TV>>, public ::testing::Test { File "cpptests/usingtest_failure.res", line 12, column 104, charpos = 506 around = '2', whole content = class TestSpMM_OfAnyTypeSquare: public SquareTestMatrix,std::tuple_element_t<2,TV>>, public ::testing::Test { diff (result(-) vs expected_result(+)) = @@ -9,13 +9,13 @@ }; template -class TestSpMM_OfAnyTypeSquare: public SquareTestMatrix,std::tuple_element_t<1,TV>>, public ::testing::Test { +class TestSpMM_OfAnyTypeSquare: public SquareTestMatrix,std::tuple_element_t<2,TV>>, public ::testing::Test { public: using NT = typename std::tuple_element_t<0,TV>; - using IT = typename std::tuple_element_t<1,TV>; + using IT = typename std::tuple_element_t<2,TV>; using Parms = typename std::tuple_element_t<2,TV>; using MtxP = SquareTestMatrix ; - int x[1]; + int x[2]; }; struct foo { int x[2]; }; usingtype.res : CORRECT vconstr_failure.res : KNOWN TO FAIL exn = Not_found virtual_constructor_failure.res: KNOWN TO FAIL diff token: int VS } File , line 3, column 14, charpos = 33 around = 'int', whole content = virtual A(){int i;} // warning: constructors cannot be declared ‘virtual’; tolerable with e.g. g++ -fpermissive File "cpptests/virtual_constructor_failure.res", line 4, column 14, charpos = 34 around = '}', whole content = virtual A(){} // warning: constructors cannot be declared ‘virtual’; tolerable with e.g. g++ -fpermissive diff (result(-) vs expected_result(+)) = @@ -1,7 +1,8 @@ + class A { public: - virtual A(){int i;} // warning: constructors cannot be declared ‘virtual’; tolerable with e.g. g++ -fpermissive - virtual ~A(){int i;} // destructors can be declared 'virtual' + virtual A(){} // warning: constructors cannot be declared ‘virtual’; tolerable with e.g. g++ -fpermissive + virtual ~A(){} // destructors can be declared 'virtual' }; int main(){ A a; virtual_parse_failure.res : KNOWN TO FAIL diff token: 0 VS 1 File "cpptests/virtual_parse_failure.cpp", line 1, column 35, charpos = 35 around = '0', whole content = struct A { virtual int f(){ return 0; } }; File "cpptests/virtual_parse_failure.res", line 1, column 35, charpos = 35 around = '1', whole content = struct A { virtual int f(){ return 1; } }; diff (result(-) vs expected_result(+)) = @@ -1,2 +1,2 @@ -struct A { virtual int f(){ return 0; } }; +struct A { virtual int f(){ return 1; } }; int main() { A a; } while_init_condition.res : CORRECT while_init_condition_smpl.res : CORRECT -------------------------------- C test results (tests/ folder): -------------------------------- regression testing information -------------------------------- total score good = 734/734 + 21 known failures All tests have passed, everything is fine :) -------------------------------- C++ test results (cpptests/ folder): -------------------------------- regression testing information -------------------------------- total score good = 69/69 + 45 known failures All tests have passed, 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 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 mkdir -p /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/share/man/man1 if test "x/usr/share/metainfo" != "xno"; then \ mkdir -p /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/share/metainfo; \ /usr/bin/install -c -m 644 extra/io.github.coccinelle.coccinelle.metainfo.xml \ /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/share/metainfo/io.github.coccinelle.coccinelle.metainfo.xml; \ fi /usr/bin/install -c -m 644 python/coccilib/*.py \ /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/lib/coccinelle/python/coccilib 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 mkdir -p /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/share/man/man3 /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/spatch.1 /home/buildozer/aports/testing/coccinelle/pkg/coccinelle/usr/share/man/man1/ /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... 'usr/share/doc' -> '/home/buildozer/aports/testing/coccinelle/pkg/coccinelle-doc/usr/share/doc' 'usr/share/man' -> '/home/buildozer/aports/testing/coccinelle/pkg/coccinelle-doc/usr/share/man' >>> coccinelle-doc*: Preparing subpackage coccinelle-doc... >>> coccinelle-doc*: Running postcheck for coccinelle-doc >>> coccinelle-bash-completion*: Running split function bashcomp... '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*: Scanning shared objects >>> coccinelle*: Tracing dependencies... pcre python3 so:libc.musl-armv7.so.1 >>> coccinelle*: Package size: 27.9 MB >>> coccinelle*: Compressing data... >>> coccinelle*: Create checksum... >>> coccinelle*: Create coccinelle-1.3.1-r0.apk >>> coccinelle-doc*: Tracing dependencies... >>> coccinelle-doc*: Package size: 31.4 KB >>> coccinelle-doc*: Compressing data... >>> coccinelle-doc*: Create checksum... >>> coccinelle-doc*: Create coccinelle-doc-1.3.1-r0.apk >>> coccinelle-bash-completion*: Tracing dependencies... >>> coccinelle-bash-completion*: Package size: 3.1 KB >>> coccinelle-bash-completion*: Compressing data... >>> coccinelle-bash-completion*: Create checksum... >>> coccinelle-bash-completion*: Create coccinelle-bash-completion-1.3.1-r0.apk >>> coccinelle: Build complete at Sun, 19 Jul 2026 12:13:21 +0000 elapsed time 0h 0m 51s >>> coccinelle: Cleaning up srcdir >>> coccinelle: Cleaning up pkgdir >>> coccinelle: Cleaning up tmpdir >>> coccinelle: Uninstalling dependencies... ( 1/30) Purging .makedepends-coccinelle (20260719.121231) ( 2/30) Purging pcre (8.45-r4) ( 3/30) Purging python3-pyc (3.14.5-r2) ( 4/30) Purging python3-pycache-pyc0 (3.14.5-r2) ( 5/30) Purging pyc (3.14.5-r2) ( 6/30) Purging python3 (3.14.5-r2) ( 7/30) Purging autoconf (2.73-r0) ( 8/30) Purging m4 (1.4.21-r0) ( 9/30) Purging automake (1.18.1-r1) (10/30) Purging ocaml-findlib (1.9.6-r8) (11/30) Purging ocamlfind (1.9.6-r8) (12/30) Purging ocaml-num (1.4-r6) (13/30) Purging ocaml-ocamldoc (4.14.4-r0) (14/30) Purging git-perl (2.55.0-r0) (15/30) Purging perl-git (2.55.0-r0) (16/30) Purging perl-error (0.17030-r0) (17/30) Purging libffi (3.5.2-r1) (18/30) Purging libpanelw (6.6_p20260516-r0) (19/30) Purging mpdecimal (4.0.1-r0) (20/30) Purging ocaml-abuild-helper (4.14.4-r0) (21/30) Purging rpm-scripts (4.19.1.1-r5) (22/30) Purging bash (5.3.9-r1) Executing bash-5.3.9-r1.pre-deinstall (23/30) Purging perl (5.42.2-r0) (24/30) Purging ocaml-compiler-libs (4.14.4-r0) (25/30) Purging ocaml (4.14.4-r0) (26/30) Purging ocaml-runtime (4.14.4-r0) (27/30) Purging readline (8.3.3-r1) (28/30) Purging sqlite-libs (3.53.3-r0) (29/30) Purging xz-libs (5.8.3-r0) (30/30) Purging libbz2 (1.0.8-r6) Executing busybox-1.38.0-r1.trigger OK: 289.8 MiB in 105 packages >>> coccinelle: Updating the testing/armv7 repository index... >>> coccinelle: Signing the index...