I: pbuilder: network access will be disabled during build
I: Current time: Wed Jan 22 13:58:42 +14 2025
I: pbuilder-time-stamp: 1737503922
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz]
I: copying local configuration
W: --override-config is not set; not updating apt.conf Read the manpage for details.
I: mounting /proc filesystem
I: mounting /sys filesystem
I: creating /{dev,run}/shm
I: mounting /dev/pts filesystem
I: redirecting /dev/ptmx to /dev/pts/ptmx
I: policy-rc.d already exists
I: Copying source file
I: copying [coccinelle_1.3.0.deb-1.dsc]
I: copying [./coccinelle_1.3.0.deb.orig.tar.gz]
I: copying [./coccinelle_1.3.0.deb-1.debian.tar.xz]
I: Extracting source
dpkg-source: warning: cannot verify inline signature for ./coccinelle_1.3.0.deb-1.dsc: unsupported subcommand
dpkg-source: info: extracting coccinelle in coccinelle-1.3.0.deb
dpkg-source: info: unpacking coccinelle_1.3.0.deb.orig.tar.gz
dpkg-source: info: unpacking coccinelle_1.3.0.deb-1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying no-bundles.diff
dpkg-source: info: applying manual-build-fix.diff
dpkg-source: info: applying dont-update-test-score.diff
dpkg-source: info: applying dont-expose-parmap.diff
I: Not using root during the build.
I: Installing the build-deps
I: user script /srv/workspace/pbuilder/5771/tmp/hooks/D01_modify_environment starting
debug: Running on ff4a.
I: Changing host+domainname to test build reproducibility
I: Adding a custom variable just for the fun of it...
I: Changing /bin/sh to bash
'/bin/sh' -> '/bin/bash'
lrwxrwxrwx 1 root root 9 Jan 21 23:59 /bin/sh -> /bin/bash
I: Setting pbuilder2's login shell to /bin/bash
I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other
I: user script /srv/workspace/pbuilder/5771/tmp/hooks/D01_modify_environment finished
I: user script /srv/workspace/pbuilder/5771/tmp/hooks/D02_print_environment starting
I: set
  BASH=/bin/sh
  BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath
  BASH_ALIASES=()
  BASH_ARGC=()
  BASH_ARGV=()
  BASH_CMDS=()
  BASH_LINENO=([0]="12" [1]="0")
  BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:.
  BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment")
  BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf")
  BASH_VERSION='5.2.37(1)-release'
  BUILDDIR=/build/reproducible-path
  BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other'
  BUILDUSERNAME=pbuilder2
  BUILD_ARCH=armhf
  DEBIAN_FRONTEND=noninteractive
  DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 '
  DIRSTACK=()
  DISTRIBUTION=unstable
  EUID=0
  FUNCNAME=([0]="Echo" [1]="main")
  GROUPS=()
  HOME=/root
  HOSTNAME=i-capture-the-hostname
  HOSTTYPE=arm
  HOST_ARCH=armhf
  IFS=' 	
  '
  INVOCATION_ID=9a1009ce5d604526832e15ae30d186a7
  LANG=C
  LANGUAGE=it_CH:it
  LC_ALL=C
  MACHTYPE=arm-unknown-linux-gnueabihf
  MAIL=/var/mail/root
  OPTERR=1
  OPTIND=1
  OSTYPE=linux-gnueabihf
  PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path
  PBCURRENTCOMMANDLINEOPERATION=build
  PBUILDER_OPERATION=build
  PBUILDER_PKGDATADIR=/usr/share/pbuilder
  PBUILDER_PKGLIBDIR=/usr/lib/pbuilder
  PBUILDER_SYSCONFDIR=/etc
  PIPESTATUS=([0]="0")
  POSIXLY_CORRECT=y
  PPID=5771
  PS4='+ '
  PWD=/
  SHELL=/bin/bash
  SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix
  SHLVL=3
  SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.0q1KE42n/pbuilderrc_QaWN --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0q1KE42n/b2 --logfile b2/build.log coccinelle_1.3.0.deb-1.dsc'
  SUDO_GID=113
  SUDO_UID=107
  SUDO_USER=jenkins
  TERM=unknown
  TZ=/usr/share/zoneinfo/Etc/GMT-14
  UID=0
  USER=root
  _='I: set'
  http_proxy=http://10.0.0.15:3142/
I: uname -a
  Linux i-capture-the-hostname 6.1.0-30-armmp-lpae #1 SMP Debian 6.1.124-1 (2025-01-12) armv7l GNU/Linux
I: ls -l /bin
  lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin
I: user script /srv/workspace/pbuilder/5771/tmp/hooks/D02_print_environment finished
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: armhf
Maintainer: Debian Pbuilder Team <pbuilder-maint@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: debhelper-compat (= 13), dh-ocaml, dh-python, libmenhir-ocaml-dev, libparmap-ocaml-dev, libstdcompat-ocaml-dev, libpyml-ocaml-dev, menhir, ocaml-findlib, ocaml, pkgconf, python3
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 19563 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested:
 pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however:
  Package debhelper-compat is not installed.
 pbuilder-satisfydepends-dummy depends on dh-ocaml; however:
  Package dh-ocaml is not installed.
 pbuilder-satisfydepends-dummy depends on dh-python; however:
  Package dh-python is not installed.
 pbuilder-satisfydepends-dummy depends on libmenhir-ocaml-dev; however:
  Package libmenhir-ocaml-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libparmap-ocaml-dev; however:
  Package libparmap-ocaml-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libstdcompat-ocaml-dev; however:
  Package libstdcompat-ocaml-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libpyml-ocaml-dev; however:
  Package libpyml-ocaml-dev is not installed.
 pbuilder-satisfydepends-dummy depends on menhir; however:
  Package menhir is not installed.
 pbuilder-satisfydepends-dummy depends on ocaml-findlib; however:
  Package ocaml-findlib is not installed.
 pbuilder-satisfydepends-dummy depends on ocaml; however:
  Package ocaml is not installed.
 pbuilder-satisfydepends-dummy depends on pkgconf; however:
  Package pkgconf is not installed.
 pbuilder-satisfydepends-dummy depends on python3; however:
  Package python3 is not installed.

Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
The following NEW packages will be installed:
  autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-ocaml{a} dh-python{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libcompiler-libs-ocaml-dev{a} libconfig-tiny-perl{a} libdebhelper-perl{a} libelf1t64{a} libexpat1{a} libffi8{a} libfile-stripnondeterminism-perl{a} libfindlib-ocaml{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libmenhir-ocaml-dev{a} libncurses-dev{a} libncurses6{a} libparmap-ocaml{a} libparmap-ocaml-dev{a} libpipeline1{a} libpkgconf3{a} libpyml-ocaml{a} libpyml-ocaml-dev{a} libpython3-stdlib{a} libpython3.13-minimal{a} libpython3.13-stdlib{a} libreadline8t64{a} libstdcompat-ocaml{a} libstdcompat-ocaml-dev{a} libstdlib-ocaml{a} libstdlib-ocaml-dev{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2{a} libzstd-dev{a} m4{a} man-db{a} media-types{a} menhir{a} netbase{a} ocaml{a} ocaml-base{a} ocaml-findlib{a} ocaml-interp{a} pkgconf{a} pkgconf-bin{a} po-debconf{a} python3{a} python3-autocommand{a} python3-inflect{a} python3-jaraco.context{a} python3-jaraco.functools{a} python3-jaraco.text{a} python3-minimal{a} python3-more-itertools{a} python3-pkg-resources{a} python3-setuptools{a} python3-typeguard{a} python3-typing-extensions{a} python3-zipp{a} python3.13{a} python3.13-minimal{a} readline-common{a} sensible-utils{a} tzdata{a} 
The following packages are RECOMMENDED but will NOT be installed:
  ca-certificates curl ledit libarchive-cpio-perl libfindlib-ocaml-dev libgpm2 libltdl-dev libmail-sendmail-perl lynx ocaml-man python3-dev rlfe rlwrap wget 
0 packages upgraded, 80 newly installed, 0 to remove and 0 not upgraded.
Need to get 84.1 MB of archives. After unpacking 228 MB will be used.
Writing extended state information...
Get: 1 http://deb.debian.org/debian unstable/main armhf libpython3.13-minimal armhf 3.13.1-3 [844 kB]
Get: 2 http://deb.debian.org/debian unstable/main armhf libexpat1 armhf 2.6.4-1 [83.5 kB]
Get: 3 http://deb.debian.org/debian unstable/main armhf python3.13-minimal armhf 3.13.1-3 [1840 kB]
Get: 4 http://deb.debian.org/debian unstable/main armhf python3-minimal armhf 3.13.1-2 [27.0 kB]
Get: 5 http://deb.debian.org/debian unstable/main armhf media-types all 10.1.0 [26.9 kB]
Get: 6 http://deb.debian.org/debian unstable/main armhf netbase all 6.4 [12.8 kB]
Get: 7 http://deb.debian.org/debian unstable/main armhf tzdata all 2025a-1 [259 kB]
Get: 8 http://deb.debian.org/debian unstable/main armhf libffi8 armhf 3.4.6-1 [20.0 kB]
Get: 9 http://deb.debian.org/debian unstable/main armhf readline-common all 8.2-6 [69.4 kB]
Get: 10 http://deb.debian.org/debian unstable/main armhf libreadline8t64 armhf 8.2-6 [146 kB]
Get: 11 http://deb.debian.org/debian unstable/main armhf libpython3.13-stdlib armhf 3.13.1-3 [1850 kB]
Get: 12 http://deb.debian.org/debian unstable/main armhf python3.13 armhf 3.13.1-3 [740 kB]
Get: 13 http://deb.debian.org/debian unstable/main armhf libpython3-stdlib armhf 3.13.1-2 [9952 B]
Get: 14 http://deb.debian.org/debian unstable/main armhf python3 armhf 3.13.1-2 [28.0 kB]
Get: 15 http://deb.debian.org/debian unstable/main armhf sensible-utils all 0.0.24 [24.8 kB]
Get: 16 http://deb.debian.org/debian unstable/main armhf libmagic-mgc armhf 1:5.45-3+b1 [314 kB]
Get: 17 http://deb.debian.org/debian unstable/main armhf libmagic1t64 armhf 1:5.45-3+b1 [98.5 kB]
Get: 18 http://deb.debian.org/debian unstable/main armhf file armhf 1:5.45-3+b1 [42.3 kB]
Get: 19 http://deb.debian.org/debian unstable/main armhf gettext-base armhf 0.23.1-1 [238 kB]
Get: 20 http://deb.debian.org/debian unstable/main armhf libuchardet0 armhf 0.0.8-1+b2 [65.6 kB]
Get: 21 http://deb.debian.org/debian unstable/main armhf groff-base armhf 1.23.0-7 [1095 kB]
Get: 22 http://deb.debian.org/debian unstable/main armhf bsdextrautils armhf 2.40.4-1 [84.6 kB]
Get: 23 http://deb.debian.org/debian unstable/main armhf libpipeline1 armhf 1.5.8-1 [35.0 kB]
Get: 24 http://deb.debian.org/debian unstable/main armhf man-db armhf 2.13.0-1 [1382 kB]
Get: 25 http://deb.debian.org/debian unstable/main armhf m4 armhf 1.4.19-5 [272 kB]
Get: 26 http://deb.debian.org/debian unstable/main armhf autoconf all 2.72-3 [493 kB]
Get: 27 http://deb.debian.org/debian unstable/main armhf autotools-dev all 20220109.1 [51.6 kB]
Get: 28 http://deb.debian.org/debian unstable/main armhf automake all 1:1.16.5-1.3 [823 kB]
Get: 29 http://deb.debian.org/debian unstable/main armhf autopoint all 0.23.1-1 [770 kB]
Get: 30 http://deb.debian.org/debian unstable/main armhf libdebhelper-perl all 13.24.1 [90.9 kB]
Get: 31 http://deb.debian.org/debian unstable/main armhf libtool all 2.5.4-2 [539 kB]
Get: 32 http://deb.debian.org/debian unstable/main armhf dh-autoreconf all 20 [17.1 kB]
Get: 33 http://deb.debian.org/debian unstable/main armhf libarchive-zip-perl all 1.68-1 [104 kB]
Get: 34 http://deb.debian.org/debian unstable/main armhf libfile-stripnondeterminism-perl all 1.14.1-1 [19.6 kB]
Get: 35 http://deb.debian.org/debian unstable/main armhf dh-strip-nondeterminism all 1.14.1-1 [8584 B]
Get: 36 http://deb.debian.org/debian unstable/main armhf libelf1t64 armhf 0.192-4 [184 kB]
Get: 37 http://deb.debian.org/debian unstable/main armhf dwz armhf 0.15-1+b2 [106 kB]
Get: 38 http://deb.debian.org/debian unstable/main armhf libunistring5 armhf 1.3-1 [444 kB]
Get: 39 http://deb.debian.org/debian unstable/main armhf libicu72 armhf 72.1-6 [9086 kB]
Get: 40 http://deb.debian.org/debian unstable/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2+b1 [605 kB]
Get: 41 http://deb.debian.org/debian unstable/main armhf gettext armhf 0.23.1-1 [1560 kB]
Get: 42 http://deb.debian.org/debian unstable/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB]
Get: 43 http://deb.debian.org/debian unstable/main armhf po-debconf all 1.0.21+nmu1 [248 kB]
Get: 44 http://deb.debian.org/debian unstable/main armhf debhelper all 13.24.1 [920 kB]
Get: 45 http://deb.debian.org/debian unstable/main armhf libconfig-tiny-perl all 2.30-1 [18.9 kB]
Get: 46 http://deb.debian.org/debian unstable/main armhf dh-ocaml all 2.4 [62.9 kB]
Get: 47 http://deb.debian.org/debian unstable/main armhf python3-autocommand all 2.2.2-3 [13.6 kB]
Get: 48 http://deb.debian.org/debian unstable/main armhf python3-more-itertools all 10.6.0-1 [65.3 kB]
Get: 49 http://deb.debian.org/debian unstable/main armhf python3-typing-extensions all 4.12.2-2 [73.0 kB]
Get: 50 http://deb.debian.org/debian unstable/main armhf python3-typeguard all 4.4.1-1 [37.0 kB]
Get: 51 http://deb.debian.org/debian unstable/main armhf python3-inflect all 7.3.1-2 [32.4 kB]
Get: 52 http://deb.debian.org/debian unstable/main armhf python3-jaraco.context all 6.0.0-1 [7984 B]
Get: 53 http://deb.debian.org/debian unstable/main armhf python3-jaraco.functools all 4.1.0-1 [12.0 kB]
Get: 54 http://deb.debian.org/debian unstable/main armhf python3-pkg-resources all 75.6.0-1 [222 kB]
Get: 55 http://deb.debian.org/debian unstable/main armhf python3-jaraco.text all 4.0.0-1 [11.4 kB]
Get: 56 http://deb.debian.org/debian unstable/main armhf python3-zipp all 3.21.0-1 [10.6 kB]
Get: 57 http://deb.debian.org/debian unstable/main armhf python3-setuptools all 75.6.0-1 [720 kB]
Get: 58 http://deb.debian.org/debian unstable/main armhf dh-python all 6.20250108 [113 kB]
Get: 59 http://deb.debian.org/debian unstable/main armhf libstdlib-ocaml armhf 5.2.0-3 [462 kB]
Get: 60 http://deb.debian.org/debian unstable/main armhf libstdlib-ocaml-dev armhf 5.2.0-3 [10.2 MB]
Get: 61 http://deb.debian.org/debian unstable/main armhf libcompiler-libs-ocaml-dev armhf 5.2.0-3 [32.0 MB]
Get: 62 http://deb.debian.org/debian unstable/main armhf ocaml-base armhf 5.2.0-3 [419 kB]
Get: 63 http://deb.debian.org/debian unstable/main armhf libfindlib-ocaml armhf 1.9.6-3 [128 kB]
Get: 64 http://deb.debian.org/debian unstable/main armhf ocaml-interp armhf 5.2.0-3 [6852 kB]
Get: 65 http://deb.debian.org/debian unstable/main armhf libncurses6 armhf 6.5-2+b1 [82.3 kB]
Get: 66 http://deb.debian.org/debian unstable/main armhf libncurses-dev armhf 6.5-2+b1 [310 kB]
Get: 67 http://deb.debian.org/debian unstable/main armhf libzstd-dev armhf 1.5.6+dfsg-2 [326 kB]
Get: 68 http://deb.debian.org/debian unstable/main armhf ocaml armhf 5.2.0-3 [1465 kB]
Get: 69 http://deb.debian.org/debian unstable/main armhf libmenhir-ocaml-dev armhf 20240715+ds-1 [809 kB]
Get: 70 http://deb.debian.org/debian unstable/main armhf libparmap-ocaml armhf 1.2.5-3+b2 [62.2 kB]
Get: 71 http://deb.debian.org/debian unstable/main armhf libparmap-ocaml-dev armhf 1.2.5-3+b2 [217 kB]
Get: 72 http://deb.debian.org/debian unstable/main armhf libpkgconf3 armhf 1.8.1-4 [31.8 kB]
Get: 73 http://deb.debian.org/debian unstable/main armhf libstdcompat-ocaml armhf 20~git20240529-2 [16.1 kB]
Get: 74 http://deb.debian.org/debian unstable/main armhf libpyml-ocaml armhf 20231101-1+b3 [358 kB]
Get: 75 http://deb.debian.org/debian unstable/main armhf libstdcompat-ocaml-dev armhf 20~git20240529-2 [1437 kB]
Get: 76 http://deb.debian.org/debian unstable/main armhf libpyml-ocaml-dev armhf 20231101-1+b3 [1160 kB]
Get: 77 http://deb.debian.org/debian unstable/main armhf menhir armhf 20240715+ds-1 [367 kB]
Get: 78 http://deb.debian.org/debian unstable/main armhf ocaml-findlib armhf 1.9.6-3 [263 kB]
Get: 79 http://deb.debian.org/debian unstable/main armhf pkgconf-bin armhf 1.8.1-4 [29.2 kB]
Get: 80 http://deb.debian.org/debian unstable/main armhf pkgconf armhf 1.8.1-4 [26.1 kB]
Fetched 84.1 MB in 14s (5845 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libpython3.13-minimal:armhf.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19563 files and directories currently installed.)
Preparing to unpack .../libpython3.13-minimal_3.13.1-3_armhf.deb ...
Unpacking libpython3.13-minimal:armhf (3.13.1-3) ...
Selecting previously unselected package libexpat1:armhf.
Preparing to unpack .../libexpat1_2.6.4-1_armhf.deb ...
Unpacking libexpat1:armhf (2.6.4-1) ...
Selecting previously unselected package python3.13-minimal.
Preparing to unpack .../python3.13-minimal_3.13.1-3_armhf.deb ...
Unpacking python3.13-minimal (3.13.1-3) ...
Setting up libpython3.13-minimal:armhf (3.13.1-3) ...
Setting up libexpat1:armhf (2.6.4-1) ...
Setting up python3.13-minimal (3.13.1-3) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19897 files and directories currently installed.)
Preparing to unpack .../0-python3-minimal_3.13.1-2_armhf.deb ...
Unpacking python3-minimal (3.13.1-2) ...
Selecting previously unselected package media-types.
Preparing to unpack .../1-media-types_10.1.0_all.deb ...
Unpacking media-types (10.1.0) ...
Selecting previously unselected package netbase.
Preparing to unpack .../2-netbase_6.4_all.deb ...
Unpacking netbase (6.4) ...
Selecting previously unselected package tzdata.
Preparing to unpack .../3-tzdata_2025a-1_all.deb ...
Unpacking tzdata (2025a-1) ...
Selecting previously unselected package libffi8:armhf.
Preparing to unpack .../4-libffi8_3.4.6-1_armhf.deb ...
Unpacking libffi8:armhf (3.4.6-1) ...
Selecting previously unselected package readline-common.
Preparing to unpack .../5-readline-common_8.2-6_all.deb ...
Unpacking readline-common (8.2-6) ...
Selecting previously unselected package libreadline8t64:armhf.
Preparing to unpack .../6-libreadline8t64_8.2-6_armhf.deb ...
Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64'
Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64'
Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64'
Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64'
Unpacking libreadline8t64:armhf (8.2-6) ...
Selecting previously unselected package libpython3.13-stdlib:armhf.
Preparing to unpack .../7-libpython3.13-stdlib_3.13.1-3_armhf.deb ...
Unpacking libpython3.13-stdlib:armhf (3.13.1-3) ...
Selecting previously unselected package python3.13.
Preparing to unpack .../8-python3.13_3.13.1-3_armhf.deb ...
Unpacking python3.13 (3.13.1-3) ...
Selecting previously unselected package libpython3-stdlib:armhf.
Preparing to unpack .../9-libpython3-stdlib_3.13.1-2_armhf.deb ...
Unpacking libpython3-stdlib:armhf (3.13.1-2) ...
Setting up python3-minimal (3.13.1-2) ...
Selecting previously unselected package python3.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20907 files and directories currently installed.)
Preparing to unpack .../00-python3_3.13.1-2_armhf.deb ...
Unpacking python3 (3.13.1-2) ...
Selecting previously unselected package sensible-utils.
Preparing to unpack .../01-sensible-utils_0.0.24_all.deb ...
Unpacking sensible-utils (0.0.24) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../02-libmagic-mgc_1%3a5.45-3+b1_armhf.deb ...
Unpacking libmagic-mgc (1:5.45-3+b1) ...
Selecting previously unselected package libmagic1t64:armhf.
Preparing to unpack .../03-libmagic1t64_1%3a5.45-3+b1_armhf.deb ...
Unpacking libmagic1t64:armhf (1:5.45-3+b1) ...
Selecting previously unselected package file.
Preparing to unpack .../04-file_1%3a5.45-3+b1_armhf.deb ...
Unpacking file (1:5.45-3+b1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../05-gettext-base_0.23.1-1_armhf.deb ...
Unpacking gettext-base (0.23.1-1) ...
Selecting previously unselected package libuchardet0:armhf.
Preparing to unpack .../06-libuchardet0_0.0.8-1+b2_armhf.deb ...
Unpacking libuchardet0:armhf (0.0.8-1+b2) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../07-groff-base_1.23.0-7_armhf.deb ...
Unpacking groff-base (1.23.0-7) ...
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../08-bsdextrautils_2.40.4-1_armhf.deb ...
Unpacking bsdextrautils (2.40.4-1) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../09-libpipeline1_1.5.8-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.8-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../10-man-db_2.13.0-1_armhf.deb ...
Unpacking man-db (2.13.0-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../11-m4_1.4.19-5_armhf.deb ...
Unpacking m4 (1.4.19-5) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../12-autoconf_2.72-3_all.deb ...
Unpacking autoconf (2.72-3) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../13-autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../14-automake_1%3a1.16.5-1.3_all.deb ...
Unpacking automake (1:1.16.5-1.3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../15-autopoint_0.23.1-1_all.deb ...
Unpacking autopoint (0.23.1-1) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../16-libdebhelper-perl_13.24.1_all.deb ...
Unpacking libdebhelper-perl (13.24.1) ...
Selecting previously unselected package libtool.
Preparing to unpack .../17-libtool_2.5.4-2_all.deb ...
Unpacking libtool (2.5.4-2) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../18-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../19-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.14.1-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.14.1-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../21-dh-strip-nondeterminism_1.14.1-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.14.1-1) ...
Selecting previously unselected package libelf1t64:armhf.
Preparing to unpack .../22-libelf1t64_0.192-4_armhf.deb ...
Unpacking libelf1t64:armhf (0.192-4) ...
Selecting previously unselected package dwz.
Preparing to unpack .../23-dwz_0.15-1+b2_armhf.deb ...
Unpacking dwz (0.15-1+b2) ...
Selecting previously unselected package libunistring5:armhf.
Preparing to unpack .../24-libunistring5_1.3-1_armhf.deb ...
Unpacking libunistring5:armhf (1.3-1) ...
Selecting previously unselected package libicu72:armhf.
Preparing to unpack .../25-libicu72_72.1-6_armhf.deb ...
Unpacking libicu72:armhf (72.1-6) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../26-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_armhf.deb ...
Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2+b1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../27-gettext_0.23.1-1_armhf.deb ...
Unpacking gettext (0.23.1-1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../28-intltool-debian_0.35.0+20060710.6_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.6) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../30-debhelper_13.24.1_all.deb ...
Unpacking debhelper (13.24.1) ...
Selecting previously unselected package libconfig-tiny-perl.
Preparing to unpack .../31-libconfig-tiny-perl_2.30-1_all.deb ...
Unpacking libconfig-tiny-perl (2.30-1) ...
Selecting previously unselected package dh-ocaml.
Preparing to unpack .../32-dh-ocaml_2.4_all.deb ...
Unpacking dh-ocaml (2.4) ...
Selecting previously unselected package python3-autocommand.
Preparing to unpack .../33-python3-autocommand_2.2.2-3_all.deb ...
Unpacking python3-autocommand (2.2.2-3) ...
Selecting previously unselected package python3-more-itertools.
Preparing to unpack .../34-python3-more-itertools_10.6.0-1_all.deb ...
Unpacking python3-more-itertools (10.6.0-1) ...
Selecting previously unselected package python3-typing-extensions.
Preparing to unpack .../35-python3-typing-extensions_4.12.2-2_all.deb ...
Unpacking python3-typing-extensions (4.12.2-2) ...
Selecting previously unselected package python3-typeguard.
Preparing to unpack .../36-python3-typeguard_4.4.1-1_all.deb ...
Unpacking python3-typeguard (4.4.1-1) ...
Selecting previously unselected package python3-inflect.
Preparing to unpack .../37-python3-inflect_7.3.1-2_all.deb ...
Unpacking python3-inflect (7.3.1-2) ...
Selecting previously unselected package python3-jaraco.context.
Preparing to unpack .../38-python3-jaraco.context_6.0.0-1_all.deb ...
Unpacking python3-jaraco.context (6.0.0-1) ...
Selecting previously unselected package python3-jaraco.functools.
Preparing to unpack .../39-python3-jaraco.functools_4.1.0-1_all.deb ...
Unpacking python3-jaraco.functools (4.1.0-1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../40-python3-pkg-resources_75.6.0-1_all.deb ...
Unpacking python3-pkg-resources (75.6.0-1) ...
Selecting previously unselected package python3-jaraco.text.
Preparing to unpack .../41-python3-jaraco.text_4.0.0-1_all.deb ...
Unpacking python3-jaraco.text (4.0.0-1) ...
Selecting previously unselected package python3-zipp.
Preparing to unpack .../42-python3-zipp_3.21.0-1_all.deb ...
Unpacking python3-zipp (3.21.0-1) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../43-python3-setuptools_75.6.0-1_all.deb ...
Unpacking python3-setuptools (75.6.0-1) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../44-dh-python_6.20250108_all.deb ...
Unpacking dh-python (6.20250108) ...
Selecting previously unselected package libstdlib-ocaml.
Preparing to unpack .../45-libstdlib-ocaml_5.2.0-3_armhf.deb ...
Unpacking libstdlib-ocaml (5.2.0-3) ...
Selecting previously unselected package libstdlib-ocaml-dev.
Preparing to unpack .../46-libstdlib-ocaml-dev_5.2.0-3_armhf.deb ...
Unpacking libstdlib-ocaml-dev (5.2.0-3) ...
Selecting previously unselected package libcompiler-libs-ocaml-dev.
Preparing to unpack .../47-libcompiler-libs-ocaml-dev_5.2.0-3_armhf.deb ...
Unpacking libcompiler-libs-ocaml-dev (5.2.0-3) ...
Selecting previously unselected package ocaml-base.
Preparing to unpack .../48-ocaml-base_5.2.0-3_armhf.deb ...
Unpacking ocaml-base (5.2.0-3) ...
Selecting previously unselected package libfindlib-ocaml.
Preparing to unpack .../49-libfindlib-ocaml_1.9.6-3_armhf.deb ...
Unpacking libfindlib-ocaml (1.9.6-3) ...
Selecting previously unselected package ocaml-interp.
Preparing to unpack .../50-ocaml-interp_5.2.0-3_armhf.deb ...
Unpacking ocaml-interp (5.2.0-3) ...
Selecting previously unselected package libncurses6:armhf.
Preparing to unpack .../51-libncurses6_6.5-2+b1_armhf.deb ...
Unpacking libncurses6:armhf (6.5-2+b1) ...
Selecting previously unselected package libncurses-dev:armhf.
Preparing to unpack .../52-libncurses-dev_6.5-2+b1_armhf.deb ...
Unpacking libncurses-dev:armhf (6.5-2+b1) ...
Selecting previously unselected package libzstd-dev:armhf.
Preparing to unpack .../53-libzstd-dev_1.5.6+dfsg-2_armhf.deb ...
Unpacking libzstd-dev:armhf (1.5.6+dfsg-2) ...
Selecting previously unselected package ocaml.
Preparing to unpack .../54-ocaml_5.2.0-3_armhf.deb ...
Unpacking ocaml (5.2.0-3) ...
Selecting previously unselected package libmenhir-ocaml-dev.
Preparing to unpack .../55-libmenhir-ocaml-dev_20240715+ds-1_armhf.deb ...
Unpacking libmenhir-ocaml-dev (20240715+ds-1) ...
Selecting previously unselected package libparmap-ocaml.
Preparing to unpack .../56-libparmap-ocaml_1.2.5-3+b2_armhf.deb ...
Unpacking libparmap-ocaml (1.2.5-3+b2) ...
Selecting previously unselected package libparmap-ocaml-dev.
Preparing to unpack .../57-libparmap-ocaml-dev_1.2.5-3+b2_armhf.deb ...
Unpacking libparmap-ocaml-dev (1.2.5-3+b2) ...
Selecting previously unselected package libpkgconf3:armhf.
Preparing to unpack .../58-libpkgconf3_1.8.1-4_armhf.deb ...
Unpacking libpkgconf3:armhf (1.8.1-4) ...
Selecting previously unselected package libstdcompat-ocaml.
Preparing to unpack .../59-libstdcompat-ocaml_20~git20240529-2_armhf.deb ...
Unpacking libstdcompat-ocaml (20~git20240529-2) ...
Selecting previously unselected package libpyml-ocaml.
Preparing to unpack .../60-libpyml-ocaml_20231101-1+b3_armhf.deb ...
Unpacking libpyml-ocaml (20231101-1+b3) ...
Selecting previously unselected package libstdcompat-ocaml-dev.
Preparing to unpack .../61-libstdcompat-ocaml-dev_20~git20240529-2_armhf.deb ...
Unpacking libstdcompat-ocaml-dev (20~git20240529-2) ...
Selecting previously unselected package libpyml-ocaml-dev.
Preparing to unpack .../62-libpyml-ocaml-dev_20231101-1+b3_armhf.deb ...
Unpacking libpyml-ocaml-dev (20231101-1+b3) ...
Selecting previously unselected package menhir.
Preparing to unpack .../63-menhir_20240715+ds-1_armhf.deb ...
Unpacking menhir (20240715+ds-1) ...
Selecting previously unselected package ocaml-findlib.
Preparing to unpack .../64-ocaml-findlib_1.9.6-3_armhf.deb ...
Unpacking ocaml-findlib (1.9.6-3) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../65-pkgconf-bin_1.8.1-4_armhf.deb ...
Unpacking pkgconf-bin (1.8.1-4) ...
Selecting previously unselected package pkgconf:armhf.
Preparing to unpack .../66-pkgconf_1.8.1-4_armhf.deb ...
Unpacking pkgconf:armhf (1.8.1-4) ...
Setting up media-types (10.1.0) ...
Setting up libpipeline1:armhf (1.5.8-1) ...
Setting up libicu72:armhf (72.1-6) ...
Setting up libzstd-dev:armhf (1.5.6+dfsg-2) ...
Setting up bsdextrautils (2.40.4-1) ...
Setting up libmagic-mgc (1:5.45-3+b1) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libdebhelper-perl (13.24.1) ...
Setting up libmagic1t64:armhf (1:5.45-3+b1) ...
Setting up gettext-base (0.23.1-1) ...
Setting up m4 (1.4.19-5) ...
Setting up file (1:5.45-3+b1) ...
Setting up libconfig-tiny-perl (2.30-1) ...
Setting up libelf1t64:armhf (0.192-4) ...
Setting up tzdata (2025a-1) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Wed Jan 22 00:03:14 UTC 2025.
Universal Time is now:  Wed Jan 22 00:03:14 UTC 2025.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up autotools-dev (20220109.1) ...
Setting up libpkgconf3:armhf (1.8.1-4) ...
Setting up libncurses6:armhf (6.5-2+b1) ...
Setting up libstdlib-ocaml (5.2.0-3) ...
Setting up libunistring5:armhf (1.3-1) ...
Setting up autopoint (0.23.1-1) ...
Setting up ocaml-base (5.2.0-3) ...
Setting up pkgconf-bin (1.8.1-4) ...
Setting up autoconf (2.72-3) ...
Setting up libstdcompat-ocaml (20~git20240529-2) ...
Setting up libffi8:armhf (3.4.6-1) ...
Setting up dwz (0.15-1+b2) ...
Setting up sensible-utils (0.0.24) ...
Setting up libuchardet0:armhf (0.0.8-1+b2) ...
Setting up netbase (6.4) ...
Setting up libparmap-ocaml (1.2.5-3+b2) ...
Setting up readline-common (8.2-6) ...
Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2+b1) ...
Setting up menhir (20240715+ds-1) ...
Setting up automake (1:1.16.5-1.3) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up libfile-stripnondeterminism-perl (1.14.1-1) ...
Setting up libncurses-dev:armhf (6.5-2+b1) ...
Setting up gettext (0.23.1-1) ...
Setting up libtool (2.5.4-2) ...
Setting up libstdlib-ocaml-dev (5.2.0-3) ...
Setting up dh-ocaml (2.4) ...
Setting up libfindlib-ocaml (1.9.6-3) ...
Setting up pkgconf:armhf (1.8.1-4) ...
Setting up intltool-debian (0.35.0+20060710.6) ...
Setting up dh-autoreconf (20) ...
Setting up libcompiler-libs-ocaml-dev (5.2.0-3) ...
Setting up libpyml-ocaml (20231101-1+b3) ...
Setting up ocaml-interp (5.2.0-3) ...
Setting up ocaml-findlib (1.9.6-3) ...
Setting up libreadline8t64:armhf (8.2-6) ...
Setting up dh-strip-nondeterminism (1.14.1-1) ...
Setting up groff-base (1.23.0-7) ...
Setting up libpython3.13-stdlib:armhf (3.13.1-3) ...
Setting up libpython3-stdlib:armhf (3.13.1-2) ...
Setting up python3.13 (3.13.1-3) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up python3 (3.13.1-2) ...
Setting up ocaml (5.2.0-3) ...
Setting up python3-zipp (3.21.0-1) ...
Setting up python3-autocommand (2.2.2-3) ...
Setting up man-db (2.13.0-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libmenhir-ocaml-dev (20240715+ds-1) ...
Setting up libstdcompat-ocaml-dev (20~git20240529-2) ...
Setting up libparmap-ocaml-dev (1.2.5-3+b2) ...
Setting up python3-typing-extensions (4.12.2-2) ...
Setting up python3-more-itertools (10.6.0-1) ...
Setting up python3-jaraco.functools (4.1.0-1) ...
Setting up python3-jaraco.context (6.0.0-1) ...
Setting up libpyml-ocaml-dev (20231101-1+b3) ...
Setting up python3-typeguard (4.4.1-1) ...
Setting up debhelper (13.24.1) ...
Setting up python3-inflect (7.3.1-2) ...
Setting up python3-jaraco.text (4.0.0-1) ...
Setting up python3-pkg-resources (75.6.0-1) ...
Setting up python3-setuptools (75.6.0-1) ...
Setting up dh-python (6.20250108) ...
Processing triggers for libc-bin (2.40-5) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Building tag database...
 -> Finished parsing the build-deps
I: Building the package
I: user script /srv/workspace/pbuilder/5771/tmp/hooks/A99_set_merged_usr starting
Not re-configuring usrmerge for unstable
I: user script /srv/workspace/pbuilder/5771/tmp/hooks/A99_set_merged_usr finished
hostname: Name or service not known
I: Running cd /build/reproducible-path/coccinelle-1.3.0.deb/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S  > ../coccinelle_1.3.0.deb-1_source.changes
dpkg-buildpackage: info: source package coccinelle
dpkg-buildpackage: info: source version 1.3.0.deb-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Ralf Treinen <treinen@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture armhf
 debian/rules clean
dh clean --with ocaml,python3,autoreconf
   dh_auto_clean
	make -j4 distclean
make[1]: Entering directory '/build/reproducible-path/coccinelle-1.3.0.deb'
CLEAN     commons
CLEAN     globals
CLEAN     parsing_cocci
CLEAN     parsing_c
CLEAN     ctl
CLEAN     ocaml
CLEAN     python
CLEAN     engine
CLEAN     popl09
CLEAN     extra
CLEAN     spatch
CLEAN     spgen
rm -f coccinelle.cma coccinelle.cmxa coccinelle.a \
	coccinelle.cmo coccinelle.cmx coccinelle.o \
	coccinelle_modules.cmi coccinelle_modules.cmo \
	coccinelle_modules.o coccinelle_modules.cmx
CLEAN     exposed-module
CLEAN     .depend
CLEAN     configure
make[1]: Leaving directory '/build/reproducible-path/coccinelle-1.3.0.deb'
   dh_ocamlclean
   dh_clean
 debian/rules binary
dh binary --with ocaml,python3,autoreconf
   dh_update_autotools_config
   dh_autoreconf
   dh_ocamlinit
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/reproducible-path/coccinelle-1.3.0.deb'
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --enable-ocaml --enable-python --with-python=python3 --disable-opt
configure: configuring coccinelle 1.3 in /build/reproducible-path/coccinelle-1.3.0.deb
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
configure: determining version suffix
checking for date... /usr/bin/date
configure: version suffix set to Wed, 22 Jan 2025 14:06:37 +1400
configure: this configure program uses pkg-config m4 macros
configure: this configure program uses ocaml m4 macros (see setup/ocaml.m4)
configure: this configure program uses custom m4 macros (see setup/cocci.m4)
configure: some fake substitutions for required but unavailable programs may be used (see setup/fake*)
configure: verifying basic tools
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for bash... /bin/sh
checking for tar... /usr/bin/tar
checking for patch... /usr/bin/patch
checking for echo... /usr/bin/echo
checking for hevea... no
configure: WARNING: hevea not detected -- you will 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 5.2.0
OCaml library path is /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0
checking for ocamlopt... no
configure: WARNING: Cannot find ocamlopt; bytecode compilation only.
checking for ocamlc.opt... no
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... yes
checking for ocamllex... /usr/bin/ocamllex
checking for ocamllex.opt... no
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 /build/reproducible-path/coccinelle-1.3.0.deb/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 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... found
configure: configuring package stdcompat
checking for OCaml findlib package stdcompat... found
checking if installed stdcompat provides In_channel... yes
configure: verifying optional features
checking for menhir... /usr/bin/menhir
configure: system menhir will be used
checking if menhir supports -O 1... yes
configure: warning: the optimized version of dynlink is not available, thus ocaml scripting may not work
configure: configuring package pyml
checking for OCaml findlib package pyml... found
checking if installed pyml provides Class.init with list of parent classes... yes
checking for libpcre... no
checking for pdflatex... no
configure: pdflatex not found. Trying substitute /build/reproducible-path/coccinelle-1.3.0.deb/setup/fake-pdflatex.sh pdflatex.
checking for pdflatex... /build/reproducible-path/coccinelle-1.3.0.deb/setup/fake-pdflatex.sh pdflatex
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile.config
config.status: creating version.ml
config.status: creating commons/commands.ml
config.status: creating globals/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
configure: configuration completed
------------------------------------------------------------------------------
Summary

configure flags:  --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --enable-ocaml --enable-python --with-python=python3 --disable-opt
findlib:          /usr/bin/ocamlfind	(an actual version is strongly recommended)
menhir:           /usr/bin/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: no	(overridable with --disable-opt)

bash-completion:  ${prefix}/share/bash-completion/completions
                  (overridable with --with-bash-completion)

------------------------------------------------------------------------------
Coccinelle can now be compiled and installed.


If you compile coccinelle again after source code changes or
configuration changes, you may need to run first:
  $ make clean

To compile coccinelle, run:
  $ make

To install coccinelle, run:
  $ make install

Then, to test coccinelle, run for example:
  $ spatch -sp_file demos/simple.cocci demos/simple.c -o /tmp/new_simple.c

Or when coccinelle is not installed yet:
  $ COCCINELLE_HOME=/build/reproducible-path/coccinelle-1.3.0.deb ${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:/usr/lib/coccinelle/python

------------------------------------------------------------------------------
make[1]: Leaving directory '/build/reproducible-path/coccinelle-1.3.0.deb'
   dh_auto_build
	make -j4
make[1]: Entering directory '/build/reproducible-path/coccinelle-1.3.0.deb'
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
14 states, 681 transitions, table size 2808 bytes
OCAMLLEX  parsing_cocci/lexer_script.mll
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
143 states, 8123 transitions, table size 33350 bytes
23641 additional bytes used for bindings
OCAMLDEP  commons/ograph_simple.mli
404 states, 8859 transitions, table size 37860 bytes
4129 additional bytes used for bindings
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
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
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
408 states, 16889 transitions, table size 70004 bytes
10655 additional bytes used for bindings
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
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/pretty_print_engine.mli
OCAMLDEP  engine/lib_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
/usr/bin/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 /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0/pyml -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0/parmap -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0/stdcompat -I +str -I +unix -I +dynlink -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)
OCAMLDEP  parsing_cocci/lexer_cocci.ml
OCAMLDEP  parsing_cocci/lexer_cli.ml
OCAMLDEP  parsing_cocci/lexer_script.ml
OCAMLDEP  parsing_c/lexer_c.ml
OCAMLDEP  tools/spgen/source/spgen_lexer.ml
OCAMLDEP  parsing_c/parser_c.ml
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
OCAMLC    parsing_c/flag_parsing_c.mli
OCAMLC    ctl/flag_ctl.mli
OCAMLC    ctl/ast_ctl.mli
OCAMLC    engine/flag_matcher.mli
OCAMLC    engine/check_exhaustive_pattern.mli
OCAMLC    popl09/flag_popl.mli
OCAMLC    flag_cocci.mli
OCAMLC    testing.mli
OCAMLC    read_options.mli
OCAMLC    enter.mli
OCAMLC    main.mli
OCAMLC    tools/spgen/source/spgen_lexer.mli
OCAMLC    tools/spgen/source/spgen.mli
OCAMLC    tools/spgen/source/spgen_test.mli
OCAMLC    tools/spgen/source/main.mli
cp globals/regexp.cmi ocaml/regexp.cmi
cp globals/cocciconfig.cmi ocaml/cocciconfig.cmi
cp globals/flag.cmi ocaml/flag.cmi
cp parsing_c/flag_parsing_c.cmi ocaml/flag_parsing_c.cmi
cp globals/iteration.cmi ocaml/iteration.cmi
cp commons/commands.cmi ocaml/commands.cmi
cp commons/common.cmi ocaml/common.cmi
cp commons/ocamlextra/dumper.cmi ocaml/dumper.cmi
OCAMLC    commons/ocamlextra/dumper.ml
OCAMLC    commons/commands.ml
OCAMLC    commons/common.ml
OCAMLC    commons/ograph_simple.mli
OCAMLC    commons/ograph_extended.mli
OCAMLC    globals/cocciconfig.ml
OCAMLC    globals/flag.ml
OCAMLC    globals/iteration.ml
OCAMLC    globals/regexp_str.ml
OCAMLC    globals/regexp.ml
OCAMLC    parsing_cocci/flag_parsing_cocci.ml
OCAMLC    parsing_cocci/ast_cocci.mli
OCAMLC    parsing_cocci/semantic_cocci.ml
OCAMLC    parsing_cocci/parse_printf.ml
OCAMLC    parsing_cocci/lexer_cli.ml
OCAMLC    parsing_cocci/cocci_grep.ml
OCAMLC    parsing_cocci/dpll.ml
OCAMLC    parsing_cocci/git_grep.ml
OCAMLC    parsing_cocci/patch_diff.ml
OCAMLC    parsing_cocci/command_line.ml
OCAMLC    parsing_cocci/cocci_args.ml
OCAMLC    parsing_c/token_annot.ml
OCAMLC    parsing_c/flag_parsing_c.ml
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    ctl/flag_ctl.ml
OCAMLC    ctl/ast_ctl.ml
OCAMLC    ctl/pretty_print_ctl.mli
OCAMLC    ctl/ctl_engine.mli
OCAMLC    ocaml/yes_prepare_ocamlcocci.mli
OCAMLC    ocaml/prepare_ocamlcocci.mli
OCAMLC    engine/flag_matcher.ml
OCAMLC    popl09/ast_popl.mli
OCAMLC    popl09/flag_popl.ml
OCAMLC    extra/classic_patch.mli
OCAMLC    extra/kbuild.mli
OCAMLC    extra/maintainers.mli
OCAMLC    flag_cocci.ml
OCAMLC    read_options.ml
OCAMLC    tools/spgen/source/globals.mli
OCAMLC    tools/spgen/source/ast_tostring.mli
OCAMLC    tools/spgen/source/spgen_lexer.ml
OCAMLC    tools/spgen/source/main.ml
cp parsing_c/token_c.cmi ocaml/token_c.cmi
cp parsing_cocci/ast_cocci.cmi ocaml/ast_cocci.cmi
cp globals/regexp.cmo ocaml/regexp.cmo
cp globals/cocciconfig.cmo ocaml/cocciconfig.cmo
cp globals/flag.cmo ocaml/flag.cmo
cp parsing_c/flag_parsing_c.cmo ocaml/flag_parsing_c.cmo
cp globals/iteration.cmo ocaml/iteration.cmo
cp commons/commands.cmo ocaml/commands.cmo
cp commons/ocamlextra/dumper.cmo ocaml/dumper.cmo
OCAMLC    commons/ograph_simple.ml
OCAMLC    commons/ograph_extended.ml
OCAMLC    -o globals/globals.cma
OCAMLC    parsing_cocci/ast_cocci.ml
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/parsing_stat.ml
OCAMLC    parsing_c/token_c.ml
OCAMLC    parsing_c/ast_c.mli
OCAMLC    parsing_c/semantic_c.ml
OCAMLC    ctl/pretty_print_ctl.ml
OCAMLC    ctl/ctl_engine.ml
OCAMLC    ctl/wrapper_ctl.mli
OCAMLC    ocaml/prepare_ocamlcocci.ml
OCAMLC    popl09/ast_popl.ml
OCAMLC    popl09/asttopopl.mli
OCAMLC    popl09/insert_quantifiers.mli
OCAMLC    popl09/pretty_print_popl.mli
OCAMLC    extra/classic_patch.ml
OCAMLC    extra/kbuild.ml
OCAMLC    extra/maintainers.ml
OCAMLC    tools/spgen/source/globals.ml
OCAMLC    tools/spgen/source/ast_tostring.ml
OCAMLC    tools/spgen/source/detect_patch.mli
OCAMLC    tools/spgen/source/meta_variable.mli
OCAMLC    tools/spgen/source/snapshot.mli
OCAMLC    tools/spgen/source/rule_body.mli
OCAMLC    tools/spgen/source/file_transform.mli
cp parsing_c/ast_c.cmi ocaml/ast_c.cmi
cp parsing_cocci/ast0_cocci.cmi ocaml/ast0_cocci.cmi
cp parsing_c/token_c.cmo ocaml/token_c.cmo
cp commons/common.cmo ocaml/common.cmo
cp parsing_cocci/ast_cocci.cmo ocaml/ast_cocci.cmo
OCAMLC    -o commons/commons.cma
OCAMLC    parsing_cocci/ast0_cocci.ml
OCAMLC    parsing_cocci/pretty_print_cocci.ml
OCAMLC    parsing_cocci/visitor_ast0_types.mli
OCAMLC    parsing_cocci/visitor_ast.ml
OCAMLC    parsing_cocci/visitor_ast0.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/iso_pattern.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/stmtlist.ml
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
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/free_vars.mli
OCAMLC    parsing_cocci/check_meta.mli
OCAMLC    parsing_cocci/safe_for_multi_decls.ml
OCAMLC    parsing_cocci/cleanup_rules.ml
OCAMLC    parsing_cocci/disjdistr.ml
OCAMLC    parsing_cocci/get_constants2.ml
OCAMLC    parsing_cocci/id_utils.mli
OCAMLC    parsing_cocci/adjacency.mli
OCAMLC    parsing_cocci/commas_on_lists.mli
OCAMLC    parsing_cocci/re_constraints.ml
OCAMLC    parsing_cocci/parse_cocci.mli
OCAMLC    parsing_c/ast_c.ml
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    parsing_c/comment_annotater_c.mli
OCAMLC    ctl/wrapper_ctl.ml
OCAMLC    ocaml/externalanalysis.mli
OCAMLC    ocaml/ocamlcocci_aux.mli
OCAMLC    ocaml/run_ocamlcocci.mli
OCAMLC    python/pycocci_aux.mli
OCAMLC    python/pycocci.mli
OCAMLC    engine/lib_engine.mli
OCAMLC    engine/check_exhaustive_pattern.ml
OCAMLC    engine/check_reachability.mli
OCAMLC    engine/c_vs_c.mli
OCAMLC    engine/isomorphisms_c_c.mli
OCAMLC    engine/cocci_vs_c.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
OCAMLC    popl09/asttopopl.ml
OCAMLC    popl09/insert_quantifiers.ml
OCAMLC    popl09/pretty_print_popl.ml
OCAMLC    popl09/popltoctl.mli
OCAMLC    popl09/popl.mli
OCAMLC    -o extra/extra.cma
OCAMLC    main.ml
OCAMLC    tools/spgen/source/detect_patch.ml
OCAMLC    tools/spgen/source/meta_variable.ml
OCAMLC    tools/spgen/source/snapshot.ml
OCAMLC    tools/spgen/source/user_input.mli
OCAMLC    tools/spgen/source/position_generator.mli
OCAMLC    tools/spgen/source/disj_generator.mli
OCAMLC    tools/spgen/source/rule_header.mli
OCAMLC    tools/spgen/source/context_rule.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/spgen_test.ml
cp parsing_c/parser_c.cmi ocaml/parser_c.cmi
cp parsing_c/ast_c.cmo ocaml/ast_c.cmo
cp parsing_cocci/ast0_cocci.cmo ocaml/ast0_cocci.cmo
OCAMLC    parsing_cocci/visitor_ast0_types.ml
OCAMLC    parsing_cocci/visitor_ast0.ml
OCAMLC    parsing_cocci/ast0toast.ml
OCAMLC    parsing_cocci/unparse_ast0.ml
OCAMLC    parsing_cocci/unify_ast.ml
OCAMLC    parsing_cocci/compute_lines.ml
OCAMLC    parsing_cocci/iso_pattern.ml
OCAMLC    parsing_cocci/comm_assoc.ml
OCAMLC    parsing_cocci/iso_compile.mli
OCAMLC    parsing_cocci/single_statement.ml
OCAMLC    parsing_cocci/simple_assignments.ml
OCAMLC    parsing_cocci/get_metas.ml
OCAMLC    parsing_cocci/top_level.ml
OCAMLC    parsing_cocci/type_infer.ml
OCAMLC    parsing_cocci/test_exps.ml
OCAMLC    parsing_cocci/unitary_ast0.ml
OCAMLC    parsing_cocci/arity.ml
OCAMLC    parsing_cocci/index.ml
OCAMLC    parsing_cocci/context_neg.ml
OCAMLC    parsing_cocci/adjust_pragmas.ml
OCAMLC    parsing_cocci/insert_plus.ml
OCAMLC    parsing_cocci/function_prototypes.ml
OCAMLC    parsing_cocci/data.ml
OCAMLC    parsing_cocci/free_vars.ml
OCAMLC    parsing_cocci/check_meta.ml
OCAMLC    parsing_cocci/parse_aux.mli
OCAMLC    parsing_cocci/id_utils.ml
OCAMLC    parsing_cocci/adjacency.ml
OCAMLC    parsing_cocci/commas_on_lists.ml
OCAMLC    parsing_c/includes.ml
OCAMLC    parsing_c/control_flow_c.ml
OCAMLC    parsing_c/visitor_c.mli
OCAMLC    parsing_c/pretty_print_c.mli
OCAMLC    parsing_c/control_flow_c_build.mli
OCAMLC    parsing_c/lexer_parser.ml
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/unparse_cocci.ml
OCAMLC    parsing_c/parsing_recovery_c.mli
OCAMLC    parsing_c/parsing_consistency_c.ml
OCAMLC    parsing_c/unparse_hrule.ml
OCAMLC    parsing_c/type_c.ml
OCAMLC    parsing_c/comment_annotater_c.ml
OCAMLC    -o ctl/ctl.cma
OCAMLC    ocaml/externalanalysis.ml
OCAMLC    ocaml/ocamlcocci_aux.ml
OCAMLC    python/pycocci_aux.ml
OCAMLC    engine/lib_engine.ml
OCAMLC    engine/pretty_print_engine.mli
OCAMLC    engine/check_reachability.ml
OCAMLC    engine/isomorphisms_c_c.ml
OCAMLC    engine/asttomember.ml
OCAMLC    engine/asttoctl2.ml
OCAMLC    engine/ctltotex.ml
OCAMLC    popl09/popltoctl.ml
OCAMLC    popl09/popl.ml
OCAMLC    tools/spgen/source/user_input.ml
OCAMLC    tools/spgen/source/position_generator.ml
OCAMLC    tools/spgen/source/disj_generator.ml
OCAMLC    tools/spgen/source/rule_body.ml
OCAMLC    tools/spgen/source/rule_header.ml
OCAMLC    tools/spgen/source/context_rule.ml
OCAMLC    tools/spgen/source/script_rule.ml
OCAMLC    tools/spgen/source/file_transform.ml
OCAMLC    tools/spgen/source/spgen_interactive.ml
OCAMLC    tools/spgen/source/spgen_config.ml
OCAMLC    tools/spgen/source/spgen.ml
cp parsing_c/lexer_c.cmi ocaml/lexer_c.cmi
cp parsing_c/pretty_print_c.cmi ocaml/pretty_print_c.cmi
cp parsing_c/visitor_c.cmi ocaml/visitor_c.cmi
OCAMLC    parsing_cocci/iso_compile.ml
OCAMLC    parsing_cocci/parse_aux.ml
MENHIR    parsing_cocci/parser_cocci_menhir.mly
OCAMLC    parsing_c/visitor_c.ml
OCAMLC    parsing_c/lib_parsing_c.mli
OCAMLC    parsing_c/lexer_c.ml
OCAMLC    parsing_c/parse_string_c.ml
OCAMLC    parsing_c/token_helpers.ml
OCAMLC    parsing_c/token_views_c.ml
OCAMLC    parsing_c/cpp_token_c.mli
OCAMLC    parsing_c/parsing_recovery_c.ml
OCAMLC    parsing_c/danger.ml
OCAMLC    parsing_c/parse_c.mli
OCAMLC    engine/pretty_print_engine.ml
OCAMLC    engine/c_vs_c.ml
OCAMLC    engine/cocci_vs_c.ml
OCAMLC    engine/pattern_c.ml
OCAMLC    engine/transformation_c.ml
OCAMLC    engine/postprocess_transinfo.ml
OCAMLC    engine/ctlcocci_integration.ml
OCAMLC    -o popl09/popl09.cma
OCAMLC    cocci.mli
cp parsing_c/parse_c.cmi ocaml/parse_c.cmi
cp parsing_c/lib_parsing_c.cmi ocaml/lib_parsing_c.cmi
cp parsing_c/lexer_c.cmo ocaml/lexer_c.cmo
cp parsing_c/visitor_c.cmo ocaml/visitor_c.cmo
OCAMLC    parsing_c/lib_parsing_c.ml
OCAMLC    parsing_c/includes_cache.ml
OCAMLC    parsing_c/pretty_print_c.ml
OCAMLC    parsing_c/control_flow_c_build.ml
OCAMLC    parsing_c/parser_c.ml
OCAMLC    parsing_c/cpp_token_c.ml
OCAMLC    parsing_c/parsing_hacks.mli
OCAMLC    parsing_c/cpp_analysis_c.mli
OCAMLC    parsing_c/parse_c.ml
OCAMLC    parsing_c/unparse_c.mli
OCAMLC    parsing_c/cpp_ast_c.mli
OCAMLC    parsing_c/type_annoter_c.ml
OCAMLC    parsing_c/compare_c.ml
OCAMLC    parsing_c/test_parsing_c.ml
OCAMLC    ocaml/exposed_modules.mli
OCAMLC    ocaml/coccilib.mli
OCAMLC    testing.ml
OCAMLC    enter.ml
cp parsing_c/parse_c.cmo ocaml/parse_c.cmo
cp parsing_c/parser_c.cmo ocaml/parser_c.cmo
cp parsing_c/pretty_print_c.cmo ocaml/pretty_print_c.cmo
cp parsing_c/lib_parsing_c.cmo ocaml/lib_parsing_c.cmo
OCAMLC    parsing_c/parsing_hacks.ml
OCAMLC    parsing_c/cpp_analysis_c.ml
OCAMLC    parsing_c/unparse_c.ml
OCAMLC    parsing_c/cpp_ast_c.ml
OCAMLC    ocaml/exposed_modules.ml
OCAMLC    -o engine/engine.cma
OCAMLC    -o parsing_c/parsing_c.cma
OCAMLC    ocaml/coccilib.ml
OCAMLC    ocaml/yes_prepare_ocamlcocci.ml
OCAMLC    ocaml/run_ocamlcocci.ml
OCAMLC    python/yes_pycocci.mli
OCAMLC    cocci.ml
OCAMLC    python/yes_pycocci.ml
OCAMLC    python/pycocci.ml
OCAMLC    -o ocaml/ocaml.cma
OCAMLC    -o python/python.cma
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
OCAMLC    parsing_cocci/lexer_cocci.ml
OCAMLC    parsing_cocci/lexer_script.ml
OCAMLC    parsing_cocci/parse_cocci.ml
OCAMLC    parsing_cocci/parser_cocci_menhir.ml
OCAMLC    -o parsing_cocci/parsing_cocci.cma
OCAMLC    -o spatch
OCAMLC    -o tools/spgen/source/spgen
make[1]: Leaving directory '/build/reproducible-path/coccinelle-1.3.0.deb'
   debian/rules override_dh_auto_test-arch
make[1]: Entering directory '/build/reproducible-path/coccinelle-1.3.0.deb'
/usr/bin/make check || echo "IGNORING FAILED TESTS"
make[2]: Entering directory '/build/reproducible-path/coccinelle-1.3.0.deb'
./spatch --testall --no-update-score-file
init_defs_builtins: /build/reproducible-path/coccinelle-1.3.0.deb/standard.h
62.res
diff = 
--- tests/62.c
+++ /tmp/cocci-output-3181-a78462-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-3181-fe5087-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-3181-241060-a3d.c
@@ -6,13 +6,13 @@ struct a3d {
 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-3181-00b83c-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-3181-47b410-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-3181-e4485a-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-3181-f36e08-add1.c
@@ -7,6 +7,9 @@ static int create_scheduling_groups(void
 		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-3181-4aaeb8-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-3181-225b0e-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-3181-202706-addbefore.c
@@ -1,5 +1,6 @@
 int main () {
   if (x) {
+    foo();
     goto out;
   }
   after();
addbeforeafter.res
diff = 
--- tests/addbeforeafter.c
+++ /tmp/cocci-output-3181-add6e4-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-3181-da3bf8-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-3181-cee8d6-addelse.c
@@ -1,3 +1,2 @@
 int main () {
-  if (x == 12) return 6;
 }
addes.res
diff = 
--- tests/addes.c
+++ /tmp/cocci-output-3181-9e8ef9-addes.c
@@ -1 +1,3 @@
 int i;
+struct foo {
+};
addfield.res
diff = 
--- tests/addfield.c
+++ /tmp/cocci-output-3181-bf4ba6-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-3181-2fd54d-addfield2.c
@@ -1,17 +1,21 @@
 struct foo {
+    int roto;
     int titi;
 };
 
 
 foo() {
+   roto();
    start();
 }
 
 struct bar {
     int titi;
+    int roto;
 };
 
 
 bar() {
    start();
+   roto();
 }
addif.res
diff = 
--- tests/addif.c
+++ /tmp/cocci-output-3181-f1d424-addif.c
@@ -1,7 +1,19 @@
+#ifdef FOO
+/* some comment */
+int xxx() {
+  /* a comment by itself */
+  return 12;/* another comment */ }
+#endif
 static int foo() {
   return 12;
 }
 
+#ifdef FOO
+/* some comment */
+int xxx() {
+  /* a comment by itself */
+  return 12;/* another comment */ }
+#endif
 static int bar() {
   return 12;
 }
addif1.res
diff = 
--- tests/addif1.c
+++ /tmp/cocci-output-3181-93d384-addif1.c
@@ -1,7 +1,15 @@
+#ifdef FOO
+int xxx() {
+  return 12; }
+#endif
 static int foo() {
   return 12;
 }
 
+#ifdef FOO
+int xxx() {
+  return 12; }
+#endif
 static int bar() {
   return 12;
 }
addif2.res
diff = 
--- tests/addif2.c
+++ /tmp/cocci-output-3181-50a921-addif2.c
@@ -1,7 +1,13 @@
+#ifdef FOO
+int/*foo*/ xxx;
+#endif
 static int foo() {
   return 12;
 }
 
+#ifdef FOO
+int/*foo*/ xxx;
+#endif
 static int bar() {
   return 12;
 }
addifdef.res
diff = 
--- tests/addifdef.c
+++ /tmp/cocci-output-3181-3c0ba2-addifdef.c
@@ -1,10 +1,14 @@
 #ifdef FOO
+#ifdef LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0)
 int one () {
   return 1;
 }
+#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) */
 #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,1) */
 
 /* comment about two */
+#ifdef LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0)
 int two () {
   return 2;
 }
+#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) */
addifelse.res
diff = 
--- tests/addifelse.c
+++ /tmp/cocci-output-3181-5a3943-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-3181-f248f2-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-3181-5d1190-addinc.c
@@ -1,4 +1,5 @@
 #ifndef FOO
 #define FOO
 #include <something.h>
+#include <toadd.h>
 #endif
addnl.res
diff = 
--- tests/addnl.c
+++ /tmp/cocci-output-3181-29398c-addnl.c
@@ -1,5 +1,6 @@
 int main () {
   xxx();
-  foo();
+  FOO();
+
   yyy();
 }
addtoo.res
diff = 
--- tests/addtoo.c
+++ /tmp/cocci-output-3181-b43e5c-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-3181-bf73ad-addtrace.c
@@ -2,13 +2,24 @@ short VerDate(char *pcDate)
 {
   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-3181-7fa0d8-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-3181-156ce8-allex.c
@@ -6,7 +6,7 @@ int main () {
       goto out;
     }
   }
-  if (x) return 15;
+  if (x) return 200;
 out:
   return rc;
 }
allex2.res
diff = 
--- tests/allex2.c
+++ /tmp/cocci-output-3181-f7812e-allex2.c
@@ -8,5 +8,5 @@ int main () {
   }
   return 15;
 out:
-  return 0;
+  return 100;
 }
allex3.res
diff = 
--- tests/allex3.c
+++ /tmp/cocci-output-3181-c4780c-allex3.c
@@ -9,5 +9,4 @@ int main () {
   }
   return 15;
 out:
-  return 0;
 }
andid.res
diff = 
--- tests/andid.c
+++ /tmp/cocci-output-3181-bd0bf3-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-3181-aeba81-anon.c
@@ -12,5 +12,5 @@ static int ppa_queuecommand(struct scsi_
 		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-3181-141562-anonfield.c
@@ -1,3 +1,3 @@
 struct {
-    int;
+    bool;
 };
ar.res
diff = 
--- tests/ar.c
+++ /tmp/cocci-output-3181-e22378-ar.c
@@ -4,9 +4,4 @@ int main() {
   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-3181-a1f95d-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-3181-b66fca-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-3181-8fea21-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-3181-36416b-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-3181-1b1371-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-3181-7eb3ca-arraysz.c
@@ -7,4 +7,4 @@ typedef struct signature {
 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-3181-fdee8a-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-3181-1affa0-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 @@ int func() {
   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-3181-52ef51-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-3181-237c7f-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-3181-137259-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-3181-9539f9-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-3181-b14941-attrs2groups.c
@@ -3,18 +3,24 @@ static ssize_t devspec_show(struct devic
 {
 	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-3181-b5cde7-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-3181-bac634-b2.c
@@ -1,9 +1,11 @@
 int main () {
   if (1) {
-    if (x > 1 ) { foo(); brk(); }
+    if (x > 1 ) { foo();
+      bar(); brk(); }
     } else aaa();
   if (1)
-    while (x > 1 ) { foo(); brk(); }
+    while (x > 1 ) { foo();
+      bar(); brk(); }
   else aaa();
   foo(); brk();
 }
bad_iso_example.res
diff = 
--- tests/bad_iso_example.c
+++ /tmp/cocci-output-3181-032e27-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-3181-21bc3f-bad_kfree.c
@@ -14,7 +14,7 @@ int bad () {
   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-3181-18f289-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-3181-32dc94-bad_typedef.c
@@ -4,7 +4,7 @@ typedef struct {
 
 
 int main1 (scsi_changer *x) {
-  foo(x->lock);
+  foo(x->new_lock);
 }
 
 struct  scsi_changer_two {
@@ -13,5 +13,5 @@ struct  scsi_changer_two {
 
 
 int main2 (struct scsi_changer_two *x) {
-  foo(x->lock);
+  foo(x->new_lock);
 }
badcfg.res
diff = 
--- tests/badcfg.c
+++ /tmp/cocci-output-3181-7f93f9-badcfg.c
@@ -3,7 +3,7 @@ const char *netdev_cmd_to_name(enum netd
 #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-3181-9bdeca-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-3181-2949bd-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-3181-7025de-badtypedef.c
@@ -5,7 +5,7 @@ int main() {
   foo_t *b;
   foo_t *c;
 
-  xxx(a);
-  yyy(b);
+  aaa(a);
+  bbb(b);
 }
 
badwhen.res
diff = 
--- tests/badwhen.c
+++ /tmp/cocci-output-3181-326c3d-badwhen.c
@@ -4,7 +4,5 @@ int main () {
   g();
 }
 int second() {
-  f();
   if (xfoo()) return;
-  g();
 }
badzero.res
diff = 
--- tests/badzero.c
+++ /tmp/cocci-output-3181-31704e-badzero.c
@@ -4,7 +4,7 @@ int main () {
   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
exn while in timeout_function
befS.res
diff = 
--- tests/befS.c
+++ /tmp/cocci-output-3181-9fd034-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-3181-eee180-before.c
@@ -1,4 +1,6 @@
 int main () {
+  blah();
   one();
+  blah();
   foo();
 }
befored.res
diff = 
--- tests/befored.c
+++ /tmp/cocci-output-3181-0ca641-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-3181-92509d-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-3181-07fb9b-bigin.c
@@ -9,5 +9,6 @@ int main() {
           if (x)
             if (x)
               blah();
+  bar();
   foo();
 }
bigrepl.res
diff = 
--- tests/bigrepl.c
+++ /tmp/cocci-output-3181-c9ce3e-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-3181-53bce0-binop.c
@@ -2,10 +2,12 @@ void main() {
     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-3181-c744cb-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
exn while in timeout_function
boolr.res
SPECIAL NAMES: adding bool as a type
     (ONCE) already tagged but only removed, so safe
diff = 
--- tests/boolr.c
+++ /tmp/cocci-output-3181-13a9eb-boolr.c
@@ -1,4 +1,3 @@
 int main() {
-        bool i3, i4, i5;
         int b;
 }
bracebraceline.res
diff = 
--- tests/bracebraceline.c
+++ /tmp/cocci-output-3181-1914c0-bracebraceline.c
@@ -1,6 +1,5 @@
 int main () {
   if (x) {
-    one();
-    two();
+    three();
   }
 }
braceline.res
diff = 
--- tests/braceline.c
+++ /tmp/cocci-output-3181-78afa0-braceline.c
@@ -1,6 +1,3 @@
 int main () {
-  if (x) {
-    one();
-    two();
-  }
+  if (x) three();
 }
braces.res
diff = 
--- tests/braces.c
+++ /tmp/cocci-output-3181-44571c-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-3181-c34285-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-3181-8e5f33-break.c
@@ -5,8 +5,10 @@ int main () {
       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 @@ int mainx () {
       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-3181-695e33-bug1.c
@@ -1,4 +1,5 @@
-static int typhoon_ioctl(struct video_device *dev, unsigned int cmd,void *arg)
+static int typhoon_ioctl(struct inode *i, struct file *f, unsigned int cmd,
+			 void *arg)
 {
 	struct typhoon_device *typhoon = dev->priv;
 	return 0;
bugloop.res
exn while in timeout_function
bugon.res
diff = 
--- tests/bugon.c
+++ /tmp/cocci-output-3181-3786a4-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-3181-3072a1-bus.c
@@ -1,5 +1,5 @@
 int main () {
   struct foo *dev;
-  dev->probe();
-  foo();
+  c1();
+  c2();
 }
cards.res
SPECIAL NAMES: adding MODULE_PARM as a declarer
diff = 
--- tests/cards.c
+++ /tmp/cocci-output-3181-52f00a-cards.c
@@ -1,3 +1,3 @@
-MODULE_PARM(io, "1-" __MODULE_STRING(MAX_CARDS) "i");
+
 
 int x;
caseprint.res
diff = 
--- tests/caseprint.c
+++ /tmp/cocci-output-3181-47a96c-caseprint.c
@@ -3,4 +3,10 @@ int f() {
   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-3181-7fbce7-cast.c
@@ -1,3 +1,2 @@
 int main () {
-  ((struct xxx *)E)->foo = 12;
 }
cast_iso.res
diff = 
--- tests/cast_iso.c
+++ /tmp/cocci-output-3181-2324f1-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-3181-c8dbdb-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-3181-4ffcc6-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-3181-49f864-cex_wishlist_complex1.c
@@ -1,6 +1,6 @@
 #include <complex.h>
 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-3181-a49b92-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-3181-1a6f22-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-3181-e5b05d-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 bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_702eca.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_702eca.ml
Compilation OK!
Loading ML code of the SP...
exn while in timeout_function
change_type.res
diff = 
--- tests/change_type.c
+++ /tmp/cocci-output-3181-4bedca-change_type.c
@@ -1,4 +1,4 @@
 int main () {
   struct foo *x;
-  return (struct blah *)x;
+  return 42;
 }
changei.res
exn while in timeout_function
cocci_args.res
diff = 
--- tests/cocci_args.c
+++ /tmp/cocci-output-3181-eed398-cocci_args.c
@@ -1,3 +1,3 @@
 int main () {
-    f();
+    g(a);
 }
com.res
diff = 
--- tests/com.c
+++ /tmp/cocci-output-3181-5448e4-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-3181-bca847-comadd.c
@@ -1,3 +1,5 @@
+// some comment
+// some other comment
 int main () {
   return 12;
 }
comj.res
diff = 
--- tests/comj.c
+++ /tmp/cocci-output-3181-6cae1d-comj.c
@@ -2,6 +2,8 @@ int foo(int bar)
 {
   int i, j;
   for (i = 5; --i>=0; ) {
+    /* comments are overrated */
+    j -= 3;
     j+=54;
   }
   return j;
comma.res
Using bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_39d13b.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_39d13b.ml
Compilation OK!
Loading ML code of the SP...
diff = 
--- tests/comma.c
+++ /tmp/cocci-output-3181-11e69d-comma.c
@@ -3,9 +3,9 @@ show_cpuinfo (struct seq_file *m, void *
 {
 	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-3181-f191e8-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-3181-c31ccc-comma_if.c
@@ -1,13 +1,19 @@
 int main() {
-	if (uffdio_zeropage.zeropage == -EEXIST)
-		fprintf(stderr, "UFFDIO_ZEROPAGE -EEXIST\n"), exit(1);
-	else
-		fprintf(stderr, "UFFDIO_ZEROPAGE error %Ld\n"), exit(1);
+	if (uffdio_zeropage.zeropage == -EEXIST) {
+		fprintf(stderr, "UFFDIO_ZEROPAGE -EEXIST\n");
+		exit(1);
+	}
+	else {
+		fprintf(stderr, "UFFDIO_ZEROPAGE error %Ld\n");
+		exit(1);
+	}
 }
 
 int main() {
 	if (uffdio_zeropage.zeropage == -EEXIST)
 		fprintf(stderr, "UFFDIO_ZEROPAGE -EEXIST\n");
-	else
-		fprintf(stderr, "UFFDIO_ZEROPAGE error %Ld\n"), exit(1);
+	else {
+		fprintf(stderr, "UFFDIO_ZEROPAGE error %Ld\n");
+		exit(1);
+	}
 }
comment_brace.res
diff = 
--- tests/comment_brace.c
+++ /tmp/cocci-output-3181-b86005-comment_brace.c
@@ -1,7 +1,10 @@
 int main ()
 {
 	while ((inw(base) & 0xad00) != 0)	/* data status */
+	{
+		release_region();
 		continue;
+	}
 	return 0;
 }
 
comment_brace2.res
diff = 
--- tests/comment_brace2.c
+++ /tmp/cocci-output-3181-69b537-comment_brace2.c
@@ -1,7 +1,10 @@
 int main ()
 {
 	while ((inw(base) & 0xad00) != 0)	/* data status */  
+	{
+		release_region();
 		continue;
+	}
 	return 0;
 }
 
comment_line.res
Using bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_da7303.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_da7303.ml
File "/tmp/ocaml_cocci_da7303.ml", line 31, characters 4-5:
31 | let p = match List.nth __args__ 1 with Coccilib.Pos x -> x | _ -> failwith "bad value" in
         ^
Warning 26 [unused-var]: unused variable p.
Compilation OK!
Loading ML code of the SP...
1
1
diff = 
--- tests/comment_line.c
+++ /tmp/cocci-output-3181-d2145d-comment_line.c
@@ -1,11 +1,9 @@
 int main() {
   before();
-  foo();
 
 
   /*test*/
   after();
-  foo();
   /*test*/
   after();
 }
comment_middle.res
Using bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_1f35e3.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_1f35e3.ml
File "/tmp/ocaml_cocci_1f35e3.ml", line 30, characters 5-6:
30 |  let f = match List.nth __args__ 0 with Coccilib.Str x -> x | _ -> failwith "bad value" in
          ^
Warning 26 [unused-var]: unused variable f.
Compilation OK!
Loading ML code of the SP...
diff = 
--- tests/comment_middle.c
+++ /tmp/cocci-output-3181-d4f62b-comment_middle.c
@@ -5,5 +5,4 @@ struct i {
 };
 
 int main() {
-  foo();
 }
commentbefore.res
commentbefore2.res
commentend.res
diff = 
--- tests/commentend.c
+++ /tmp/cocci-output-3181-eacaac-commentend.c
@@ -1,5 +1,4 @@
 int main () {
   foo();
-  bar(); /* this is bar */
   xxx();
 }
comments.res
diff = 
--- tests/comments.c
+++ /tmp/cocci-output-3181-ce9855-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-3181-5d2ae8-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-3181-c2fc7b-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-3181-58c220-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-3181-0a6720-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-3181-db42b5-condexp.c
@@ -5,7 +5,7 @@ main(int argc, char *argv[])
   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-3181-8d96bf-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-3181-78517b-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-3181-a4ef45-const_adding.c
@@ -2,6 +2,6 @@ void main(int i)
 {
 
   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-3181-9c4206-const_array.c
@@ -24,9 +24,9 @@ static const struct foo *r128_family4[]
 };
 
 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-3181-0980af-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-3181-91173d-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-3181-d5b8af-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-3181-bb48d0-constrem.c
@@ -1,3 +1 @@
-static const int a;
 
-static const int (*f)(const int);
constructor.res
diff = 
--- tests/constructor.c
+++ /tmp/cocci-output-3181-b03091-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-3181-c3667f-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-3181-eb1f08-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 bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_45081a.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_45081a.ml
Compilation OK!
Loading ML code of the SP...
countcalls_python.res
exn while in timeout_function
cptr.res
diff = 
--- tests/cptr.c
+++ /tmp/cocci-output-3181-47c2fd-cptr.c
@@ -1 +1 @@
-static const char *str = "...";
+static const char * const str = "...";
cr.res
diff = 
--- tests/cr.c
+++ /tmp/cocci-output-3181-4ba711-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-3181-21d47d-cr1a.c
@@ -6,14 +6,17 @@ int __init probe_base_port(int base)
 	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-3181-682924-cs_check.c
@@ -4,7 +4,7 @@ do { last_fn = (fn); if ((last_ret = (re
 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-3181-5651f2-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-3181-ad3c09-cst_null.c
@@ -2,9 +2,8 @@ void* videobuf_alloc(unsigned int size)
 {
         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 @@ void* videobuf_alloc(unsigned int size)
 {
         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 @@ void* videobuf_alloc(unsigned int size)
 {
  	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 bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_716793.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_716793.ml
Compilation OK!
Loading ML code of the SP...
diff = 
--- tests/cstr.c
+++ /tmp/cocci-output-3181-3fa3d2-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-3181-0d301c-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-3181-4054ad-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-3181-6c321d-dbg.c
@@ -5,4 +5,6 @@ static inline void alloc_resource(struct
 
 	if (pr)
 		DBG("PCI");
+	else
+		pr = NULL;
 }
dbg1.res
diff = 
--- tests/dbg1.c
+++ /tmp/cocci-output-3181-163fc9-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-3181-e9d875-dc_close.c
@@ -5,6 +5,7 @@ initicc(struct IsdnCardState *cs)
 
 	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-3181-dc7b97-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-3181-a3b6b8-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-3181-5bdd69-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-3181-403e67-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-3181-415a74-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-3181-b17983-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-3181-ce1a5e-decl_space.c
@@ -1,4 +1,4 @@
 int main () {
-  int *x = y;
-  int x = y;
+  int *x = g;
+  int x = g;
 }
decl_split.res
decl_star.res
diff = 
--- tests/decl_star.c
+++ /tmp/cocci-output-3181-7a8ba0-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-3181-27be8a-declend.c
@@ -1,6 +1,5 @@
 int x;
 
 int main() {
-  int x;
   return 0;
 }
declmeta.res
diff = 
--- tests/declmeta.c
+++ /tmp/cocci-output-3181-2c56b9-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-3181-4d8467-defe.c
@@ -1 +1,0 @@
-#define x 3
define_exp.res
diff = 
--- tests/define_exp.c
+++ /tmp/cocci-output-3181-0330f4-define_exp.c
@@ -1,5 +1,5 @@
 #define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? \
-  SA_SHIRQ : SA_INTERRUPT)
+  IRQF_SHARED : IRQF_DISABLED)
 
 
 void main(int i)
define_param.res
diff = 
--- tests/define_param.c
+++ /tmp/cocci-output-3181-582d68-define_param.c
@@ -1,10 +1,10 @@
-#define fieldsize(a)	(sizeof(a)/sizeof(*a))
+
 
 static int
 atari_proc_infos(unsigned char *nvram, char *buffer, int *len,
     off_t *begin, off_t offset, int size)
 {
-	for (i = fieldsize(boot_prefs) - 1; i >= 0; --i) {
+	for (i = ARRAY_SIZE(boot_prefs) - 1; i >= 0; --i) {
 		if (nvram[1] == boot_prefs[i].val) {
 			PRINT_PROC("%s\n", boot_prefs[i].name);
 			break;
definedots.res
diff = 
--- tests/definedots.c
+++ /tmp/cocci-output-3181-14e058-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-3181-f568b5-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-3181-57ed31-del2.c
@@ -4,8 +4,5 @@ int my_test_allocate_components(void)
         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-3181-692bd8-delete_function.c
@@ -2,12 +2,6 @@ int first () {
   return 0;
 }
 
-int foo() {
- a();
- a();
- a();
-}
-
 int last () {
   return 0;
 }
delp.res
diff = 
--- tests/delp.c
+++ /tmp/cocci-output-3181-53af36-delp.c
@@ -1,4 +1,4 @@
 int main () {
   return
-    (foo);
+    foo;
 }
depfail.res
diff = 
--- tests/depfail.c
+++ /tmp/cocci-output-3181-0ba12b-depfail.c
@@ -1,5 +1,4 @@
 int main(void)
 {
   foo();
-  bar();
 }
deref.res
diff = 
--- tests/deref.c
+++ /tmp/cocci-output-3181-620686-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-3181-1f8a6e-destroy.c
@@ -6,7 +6,12 @@ static void wlcore_nvs_cb(const struct f
 	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-3181-753455-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 bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_b6908a.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_b6908a.ml
File "_none_", line 1:
Alert ocaml_deprecated_auto_include: 
OCaml's lib directory layout changed in 5.0. The str subdirectory has been
automatically added to the search path, but you should add -I +str to the
command-line to silence this alert (e.g. by adding str to the list of
libraries in your dune file, or adding use_str to your _tags file for
ocamlbuild, or using -package str for ocamlfind).

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-3181-1c9966-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-3181-702647-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-3181-f0f82b-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-3181-cb1287-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 {
 
 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-3181-c112e0-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-3181-c15ff1-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-3181-050d26-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-3181-ee0362-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-3181-c9d097-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-3181-5daf94-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-3181-b1816f-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-3181-145b27-dotcall.c
@@ -1,3 +1,2 @@
 int main() {
-  xxx.foobar();
 }
dots_comma.res
diff = 
--- tests/dots_comma.c
+++ /tmp/cocci-output-3181-60c16f-dots_comma.c
@@ -1,4 +1,4 @@
 int main(void)
 {
-  f(3);
+  f(2, 3);
 }
dots_in_block_remove.res
diff = 
--- tests/dots_in_block_remove.c
+++ /tmp/cocci-output-3181-64c26b-dots_in_block_remove.c
@@ -1,10 +1,3 @@
 int main()
 {
-	for(;;)
-	{
-		xxx();
-#pragma bee
-		return 0;
-	}
-	return 0;
 }
double.res
diff = 
--- tests/double.c
+++ /tmp/cocci-output-3181-e5125e-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-3181-6a3ed2-double_assign.c
@@ -4,6 +4,5 @@ int main() {
 }
 
 int badmain() {
-  x = 12;
   x = 1;
 }
double_lines.res
diff = 
--- tests/double_lines.c
+++ /tmp/cocci-output-3181-50ac5c-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-3181-002586-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-3181-fbb302-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-3181-51079c-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-3181-7ddcb4-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-3181-d9d8ea-doubleswitch.c
@@ -3,8 +3,6 @@ void zfLnxRecvEth(zdev_t* dev, zbuf_t* b
 #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-3181-a5ae84-doundo.c
@@ -4,5 +4,5 @@ int main()
 {
   const s8 (*queue_priority_mapping)[2];
   s8 *noevent;
-  foo();
+  new_foo();
 }
dowhile.res
diff = 
--- tests/dowhile.c
+++ /tmp/cocci-output-3181-d6bf46-dowhile.c
@@ -1,7 +1,5 @@
 int main() {
   do {
-    f();
   }
   while (0);
-  g();
 }
dowhile_4.res
diff = 
--- tests/dowhile_4.c
+++ /tmp/cocci-output-3181-8f10bd-dowhile_4.c
@@ -2,5 +2,4 @@ int fun() {
         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-3181-1991f2-dowhile_for_complex.c
@@ -2,9 +2,6 @@ int fun() {
     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-3181-143a8f-dowhile_nested.c
@@ -2,9 +2,6 @@ int fun() {
     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-3181-e754b5-dropbr.c
@@ -1,5 +1,4 @@
 int main () {
-  if (a) {
-    bar();
-  }
+  if (a)
+    foo();
 }
dropcom.res
diff = 
--- tests/dropcom.c
+++ /tmp/cocci-output-3181-585760-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-3181-fcae47-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-3181-57b733-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-3181-18ac3e-dropparam.c
@@ -2,11 +2,11 @@ int f(char *x, int y, char* z) {
   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-3181-55d6e2-dtest.c
@@ -1,5 +1,5 @@
 int main() {
 	struct sk_buff *e;
 	struct other *e1;
-	return e->a + e1->b;
+	return e->a + 12;
 }
eb1.res
SPECIAL NAMES: adding Packet as a type
diff = 
--- tests/eb1.c
+++ /tmp/cocci-output-3181-dbe6ee-eb1.c
@@ -1,7 +1,13 @@
 int func() {
   int c;
-  Packet p1,p2;
+  Packet * p1 = SCMalloc(SIZE_OF_PACKET),* p2 = SCMalloc(SIZE_OF_PACKET);
   int y;
+  if (p1 == NULL)
+    return 0;
+  if (p2 == NULL)
+    return 0;
   a = 3;
+  SCFree(p1);
+  SCFree(p2);
   return x+y;
 }
edots.res
diff = 
--- tests/edots.c
+++ /tmp/cocci-output-3181-a63cec-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-3181-b6b59d-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-3181-15dd00-efi3.c
@@ -6,6 +6,6 @@ static efi_status_t virt_efi_get_time(ef
 		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-3181-fe2990-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-3181-2e757b-empty.c
@@ -1,6 +1,6 @@
 static int vlsi_hard_start_xmit(struct sk_buff *skb, struct net_device *ndev)
 {
-		pci_restore_state(pdev, idev->cfg_space);
+		pci_restore_state(pdev);
 		if (ring_first(idev->tx_ring) == NULL) {
 		}
 		else
end_attr.res
SPECIAL NAMES: adding autofree as a attribute
diff = 
--- tests/end_attr.c
+++ /tmp/cocci-output-3181-9602b9-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-3181-f92b26-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.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-3181-c9de06-endif.c
@@ -2,18 +2,23 @@ void f(int i) {
 
   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.res
diff = 
--- tests/endmodif.c
+++ /tmp/cocci-output-3181-03d0d1-endmodif.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 @@ void h(void)
   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-3181-d8ed09-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 bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_51dcd8.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_51dcd8.ml
Compilation OK!
Loading ML code of the SP...
diff = 
--- tests/endpos.c
+++ /tmp/cocci-output-3181-f15758-endpos.c
@@ -1,4 +1,5 @@
 int main () {
+  main();
   if (x) {
     foo();
     return -1;
@@ -13,3 +14,8 @@ out:
   print();
   return -1;
 }
+
+int main()
+{
+  return 0;
+}
enum.res
diff = 
--- tests/enum.c
+++ /tmp/cocci-output-3181-b977dd-enum.c
@@ -5,5 +5,5 @@ typedef enum
 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-3181-e326e1-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-3181-ca4e18-enumcast.c
@@ -1 +1,2 @@
+enum{x = (int)1, };
 int main() { return 12; }
enumdots.res
diff = 
--- tests/enumdots.c
+++ /tmp/cocci-output-3181-c7e3f7-enumdots.c
@@ -1,3 +1,2 @@
 enum binder_work_type {
- BINDER_WORK_TRANSACTION = 12,
 } t;
exitc.res
Using bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_1286c7.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_1286c7.ml
Compilation OK!
Loading ML code of the SP...
Failure in rule starting on line 8
diff = 
--- tests/exitc.c
+++ /tmp/cocci-output-3181-cc8880-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
exn while in timeout_function
exp.res
diff = 
--- tests/exp.c
+++ /tmp/cocci-output-3181-3f7b58-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-3181-7d4197-expnest.c
@@ -2,5 +2,5 @@ int main() {
   x = 3 + 4;
   x = f() + 15;
   x = 15 + g();
-  x = f() + g();
+  x = f() - g();
 }
expopt.res
diff = 
--- tests/expopt.c
+++ /tmp/cocci-output-3181-f904ee-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-3181-cbfaf3-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-3181-896c5d-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-3181-d2d455-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-3181-54fb04-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-3181-92babf-exprlist_comma.c
@@ -1,4 +1,4 @@
 int main(void)
 {
-  f(3);
+  f(2, 3);
 }
exprun.res
diff = 
--- tests/exprun.c
+++ /tmp/cocci-output-3181-425933-exprun.c
@@ -8,37 +8,50 @@ static void
 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 bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_ea8d7c.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_ea8d7c.ml
Compilation OK!
Loading ML code of the SP...
diff = 
--- tests/extra.c
+++ /tmp/cocci-output-3181-26e877-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-3181-2741e4-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-3181-b326e4-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-3181-ed6ab6-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-3181-f1ced0-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-3181-7ce5f3-fieldsmin.c
@@ -1,5 +1,3 @@
 struct foo x = {
-  .a = 1,
-  .b = 2,
   .c = 3,
 };
finalize_only.res
Using bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_6dc6ac.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_6dc6ac.ml
Compilation OK!
Loading ML code of the SP...
find_long.res
diff = 
--- tests/find_long.c
+++ /tmp/cocci-output-3181-24821c-find_long.c
@@ -3,8 +3,8 @@ long function()
         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-3181-8f75f1-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-3181-0d0591-fix_flow_need.c
@@ -5,7 +5,6 @@ void main(int i) {
   if(1) { 
     foo(); 
   }
-  bar();
 
   foobar();
 }
flex.res
diff = 
--- tests/flex.c
+++ /tmp/cocci-output-3181-c899f6-flex.c
@@ -3,5 +3,5 @@ struct scmi_msg_resp_sensor_description
 	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-3181-fc50d8-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-3181-4a8264-fn_todo.c
@@ -5,6 +5,6 @@ static void task_kill_later(struct asd_a
 	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-3181-735735-fnptr.c
@@ -8,5 +8,5 @@ static int sci_request_irq(struct sci_po
     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-3181-688ef7-fnret.c
@@ -1 +1 @@
-static void foo(int x) { return; }
+
fnty.res
diff = 
--- tests/fnty.c
+++ /tmp/cocci-output-3181-a677ac-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-3181-e40319-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-3181-6890ed-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-3181-aa1eff-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-3181-50516d-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 bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_39ebf6.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_39ebf6.ml
Compilation OK!
Loading ML code of the SP...
diff = 
format string is 1x
format string is 2x
--- tests/format2.c
+++ /tmp/cocci-output-3181-40232f-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-3181-e60443-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-3181-c4273f-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-3181-978293-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-3181-dda3f3-four.c
@@ -1,5 +1,3 @@
 int main () {
   f(1);
-  h(2);
-  i(2);
 }
foura.res
diff = 
--- tests/foura.c
+++ /tmp/cocci-output-3181-4979c2-foura.c
@@ -1,5 +1,4 @@
 int main () {
   f(1);
   h(2);
-  i(2);
 }
fp.res
diff = 
--- tests/fp.c
+++ /tmp/cocci-output-3181-136910-fp.c
@@ -1,3 +1,2 @@
 int main(int (*x)(int,int)) {
-  x();
 }
fptr.res
Using bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_caf274.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_caf274.ml
Compilation OK!
Loading ML code of the SP...
diff = 
--- tests/fptr.c
+++ /tmp/cocci-output-3181-1672e9-fptr.c
@@ -1,6 +1,6 @@
 int foo(int c, int d) { return 0; }
 
 int main() {
-  call(foo);
+  success;
 }
 
fptr2.res
Using bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_d8a168.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_d8a168.ml
Compilation OK!
Loading ML code of the SP...
diff = 
--- tests/fptr2.c
+++ /tmp/cocci-output-3181-f749cd-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-3181-90480e-fptr3.c
@@ -1,6 +1,6 @@
 int foo(int c, int d) { return 0; }
 
 int main() {
-  call(foo);
+  12;
 }
 
fresh_id_script.res
Using bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_157eee.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_157eee.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...
exn while in timeout_function
fsh.res
diff = 
--- tests/fsh.c
+++ /tmp/cocci-output-3181-9f04d6-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-3181-b38186-fun.c
@@ -1 +1,4 @@
+struct a {
+	int a;
+};
 int f(int x) { return x; }
func.res
diff = 
--- tests/func.c
+++ /tmp/cocci-output-3181-aba01b-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-3181-86c872-funptr_array.c
@@ -1 +1 @@
-int (*x[2])(int x);
+int (*x[2])(char x);
gadget_allocate.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
exn while in timeout_function
gadget_gather_scatter.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
exn while in timeout_function
gadget_invalidate.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
exn while in timeout_function
gadget_mark_used_fields.res
exn while in timeout_function
gadget_misc.res
diff = 
--- tests/gadget_misc.c
+++ /tmp/cocci-output-3181-1cfd36-gadget_misc.c
@@ -2,6 +2,5 @@ int main()
 {
   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-3181-aa5e0b-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
exn while in timeout_function
gadget_remove_mpi_function_calls.res
diff = 
--- tests/gadget_remove_mpi_function_calls.c
+++ /tmp/cocci-output-3181-f151ed-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-3181-f8229e-gadget_remove_used_fields.c
@@ -1,8 +1,8 @@
 
-struct particle_data       { int i; int j; int k; } * P ;
+struct particle_data       { int k; } * P ;
 struct particle_data_soa_t { int i; int j;        } * P_soa ;
 
-struct sph_particle_data       { int i; int j; int k; } * SphP ;
+struct sph_particle_data       { int k; } * SphP ;
 struct sph_particle_data_soa_t { int i; int j;        } * SphP_soa ;
 
 int main()
gadget_sentinel.res
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?
exn while in timeout_function
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
exn while in timeout_function
gadget_soa_select.res
SPECIAL NAMES: adding MyDoublePos3 as a type
diff = 
--- tests/gadget_soa_select.c
+++ /tmp/cocci-output-3181-3abf33-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-3181-5aed6a-gadget_sorting_hook.c
@@ -18,10 +18,24 @@ void soa_invalidate_aos__particle_data()
 
 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-3181-1ae2b8-gadget_triplets_typedef.c
@@ -3,6 +3,8 @@ typedef double MyFloat;
 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 @@ struct particle_data {
  //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-3181-5f4778-gadget_triplets_typedef_ipcc.c
@@ -3,6 +3,7 @@ typedef double MyFloat;
 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 @@ struct particle_data {
  //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-3181-aec693-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 @@ int func (int a) {
   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.res
diff = 
--- tests/gcc_attr_with_var.c
+++ /tmp/cocci-output-3181-64c05a-gcc_attr_with_var.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-3181-0c87a9-gcc_min_max.c
@@ -1,8 +1,8 @@
 int main()
 {
   int a, b;
-  a <? b;
-  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-3181-9d11b8-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-3181-311023-gilles-question.c
@@ -2,8 +2,6 @@ void main(int i) {
 
   f(0);
   if(1) {
-    g(0);
   }
-  g(0);
 }
       
globali.res
gotobreak.res
diff = 
--- tests/gotobreak.c
+++ /tmp/cocci-output-3181-d83e9d-gotobreak.c
@@ -11,5 +11,5 @@ static void sedlbauer_config(struct pcmc
 	CS_CHECK(GetNextTuple, pcmcia_get_next_tuple(link, &tuple));
     }
 
-    return;
+    return 0;
 }
hashhash.res
diff = 
--- tests/hashhash.c
+++ /tmp/cocci-output-3181-d09540-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-3181-b527bf-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-3181-a56910-headers.c
@@ -10,12 +10,12 @@ static int empeg_write (struct usb_seria
 
 } 
 
-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-3181-4192c3-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-3181-d2fcb6-hil1.c
@@ -2,5 +2,5 @@
 { HILSE_FUNC,		{ func: &funct }, funct_arg, zero_rc },
 
 int main () {
-  return 12;
+  return 5;
 }
icomma.res
exn while in timeout_function
id3.res
Using bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_e68402.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_e68402.ml
Compilation OK!
Loading ML code of the SP...
diff = 
--- tests/id3.c
+++ /tmp/cocci-output-3181-77dda2-id3.c
@@ -1,3 +1,3 @@
 int foo () {
-        bar (6);
+        bar3(6, fresh1, fresh1);
 }
id4.res
exn while in timeout_function
idcon_ocaml.res
Using bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_d46ab6.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_d46ab6.ml
Compilation OK!
Loading ML code of the SP...
diff = 
--- tests/idcon_ocaml.c
+++ /tmp/cocci-output-3181-ca64c4-idcon_ocaml.c
@@ -1,5 +1,5 @@
 void f(void) {
-    g(a);
+    g(18);
     g(b);
-    g(c);
+    g(18);
 }
idcon_python.res
exn while in timeout_function
identcall.res
diff = 
--- tests/identcall.c
+++ /tmp/cocci-output-3181-fc1e9a-identcall.c
@@ -1,3 +1,2 @@
 int main () {
-  target += x();
 }
idstr.res
diff = 
--- tests/idstr.c
+++ /tmp/cocci-output-3181-b8573a-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-3181-fbd717-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-3181-eed476-ifadd.c
@@ -3,6 +3,7 @@ int main() {
     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-3181-cd0f25-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-3181-463986-ifdef1.c
@@ -1,5 +1,8 @@
 #include <asm/thread_info.h>
 #include <asm/memory.h>
+#ifdef CONFIG_NKERNEL
+#include <asm/nk/f_nk.h>
+#endif
 #include <asm/mach/time.h>
 #include <asm/io.h>
 
ifdef2.res
diff = 
--- tests/ifdef2.c
+++ /tmp/cocci-output-3181-7d6a69-ifdef2.c
@@ -1,6 +1,11 @@
 #include <asm/thread_info.h>
 #include <asm/memory.h>
 #include <asm/mach/time.h>
+#ifdef CONFIG_NKERNEL
+#include <nk/nkern.h>
+#include <asm/nkern.h>
+unsigned long maxsize = 0;
+#endif
 #include <asm/io.h>
 
 
ifdef3.res
diff = 
--- tests/ifdef3.c
+++ /tmp/cocci-output-3181-dc1aec-ifdef3.c
@@ -2,6 +2,15 @@
 #include <asm/memory.h>
 #include <asm/mach/time.h>
 #include <asm/io.h>
+#ifdef CONFIG_NKERNEL
+#include <foo.h>
+#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-3181-c6e684-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-3181-b92297-ifdef5.c
@@ -11,3 +11,11 @@ void init_IRQ(void)
 		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-3181-e88f59-ifdef6.c
@@ -1,5 +1,8 @@
 #include <asm/thread_info.h>
 #include <asm/memory.h>
+#ifdef CONFIG_NKERNEL
+#define foo(x) f(x)
+#endif
 #include <asm/mach/time.h>
 #include <asm/io.h>
 
ifdef6a.res
diff = 
--- tests/ifdef6a.c
+++ /tmp/cocci-output-3181-e46795-ifdef6a.c
@@ -1,4 +1,7 @@
 #include <asm/thread_info.h>
+#ifdef CONFIG_NKERNEL
+#define foo(x) f(x)
+#endif
 #include <asm/memory.h>
 #include <asm/mach/time.h>
 #include <asm/io.h>
ifdefmeta.res
diff = 
--- tests/ifdefmeta.c
+++ /tmp/cocci-output-3181-775785-ifdefmeta.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 other() {
 }
 
 int third() {
-    buf = alloca(3+5+2);
-    buf = alloca(3
-                    +5
-                    +2
-            );
+    buf = malloc(3 + 5 + 2);
+    buf = malloc(3 + 5 + 2);
 }
ifdefmeta1.res
diff = 
--- tests/ifdefmeta1.c
+++ /tmp/cocci-output-3181-799a18-ifdefmeta1.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-3181-22693f-ifdefmeta2.c
@@ -1,12 +1,2 @@
 int main() {
-    buf = alloca(3
-
-
-                    +5
-
-
-
-
-                    +2
-            );
 }
ifdefmeta3.res
diff = 
--- tests/ifdefmeta3.c
+++ /tmp/cocci-output-3181-77cc1f-ifdefmeta3.c
@@ -1,11 +1,5 @@
 int main () {
   f();
-  if (foo) {
-    one();
-#ifdef ONE
-    two();
-#endif
-    three();
-  }
+  xxx();
   g();
 }
ifdefmeta4.res
diff = 
--- tests/ifdefmeta4.c
+++ /tmp/cocci-output-3181-f22f97-ifdefmeta4.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
-            );
+            ;
 }
 
ifend.res
diff = 
--- tests/ifend.c
+++ /tmp/cocci-output-3181-49d1f8-ifend.c
@@ -3,5 +3,3 @@ static int vortex_debug = VORTEX_DEBUG;
 #else
 static int vortex_debug = 1;
 #endif
-
-#include <linux/config.h>
ifgoto.res
diff = 
--- tests/ifgoto.c
+++ /tmp/cocci-output-3181-86e6a4-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-3181-5624a4-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-3181-35da3a-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-3181-a2b154-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;
-      }
-      else {
-        return 1;
+    blah();
+    {
+      if (b) {
+        blah();
+        {
+          if (x) {
+            return 1;
+          }
+          else {
+            return 1;
+          }
+        }
       }
+      b();
     }
-    b();
   }
   return 12;
 }
ifreturn3.res
diff = 
--- tests/ifreturn3.c
+++ /tmp/cocci-output-3181-e2a18b-ifreturn3.c
@@ -3,7 +3,10 @@ int GetExitCode (int iFlag_Code)
   if(iFlag_Code==OK) {
     return OK;
   } else // blah
+    {
+    mwtrace();
     return WARNING;
+  }
   return 0;
 }
 
@@ -11,7 +14,9 @@ int GetExitCode (int iFlag_Code)
 {
   if(iFlag_Code==OK) {
     return OK;
-  } else
+  } else {
+    mwtrace();
     return WARNING;
+  }
   return 0;
 }
ifreturn4.res
diff = 
--- tests/ifreturn4.c
+++ /tmp/cocci-output-3181-fa2f4e-ifreturn4.c
@@ -2,10 +2,16 @@ int GetExitCode (int iFlag_Code)
 {
   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-3181-4adb83-ifreturn6.c
@@ -3,7 +3,8 @@ int main () {
     blah();
     goto end;
   }
-  else goto end2;
+  else blah();
+  later();
 end:
   xxx();
 end2:
ifzer.res
diff = 
--- tests/ifzer.c
+++ /tmp/cocci-output-3181-bbe2a8-ifzer.c
@@ -3,6 +3,5 @@ int main() {
           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-3181-a87ec0-ifzz.c
@@ -2,9 +2,9 @@ if 0
 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-3181-6a6704-inc.c
@@ -1,2 +1 @@
-#define foo 3
-#define xxx 4
+#define foobar 3
incdir.res
incl.res
diff = 
--- tests/incl.c
+++ /tmp/cocci-output-3181-bae3ec-incl.c
@@ -1,6 +1,8 @@
+#include "before.h"
 #include <linux/foo.h>
 #include <asm/semaphore.h>
 #include <linux/foo2.h>
+#include "after.h"
 #ifdef FOO
 #include <linux/bar.h>
 #endif FOO
incl2.res
diff = 
--- tests/incl2.c
+++ /tmp/cocci-output-3181-de6719-incl2.c
@@ -1,3 +1,4 @@
+#include "beginning.h"
 #include <linux/foo.h>
 #include <linux/foo.h>
 #include "linux/foo.h"
inclifdef.res
diff = 
--- tests/inclifdef.c
+++ /tmp/cocci-output-3181-e223aa-inclifdef.c
@@ -1,4 +1,5 @@
 #include <linux/foo.h>
+#include <linux/mutex.h>
 #ifdef CONFIG
 #include <linux/bar.h>
 #endif
include.res
diff = 
--- tests/include.c
+++ /tmp/cocci-output-3181-6bf08a-include.c
@@ -1,8 +1,6 @@
 
 #include <stdio.h>
 #include <stdio2.h>
-#include <devfs_kernel.h>
-#include   <devfs_kernel.h>
 
 
 void main(int i) {
incompatible_value.res
diff = 
--- tests/incompatible_value.c
+++ /tmp/cocci-output-3181-b7865a-incompatible_value.c
@@ -4,6 +4,6 @@ int main() {
 }
 
 int main() { 
-	g(1);
-	g(2);
+	h(1);
+	h(2);
 }
incpos.res
exn while in timeout_function
incpos1.res
exn while in timeout_function
inherited.res
diff = 
--- tests/inherited.c
+++ /tmp/cocci-output-3181-eaaaf8-inherited.c
@@ -6,5 +6,5 @@ void main(int i) {
   h(2);
   h2(2);
 
-  foo(1);
+  bar(1);
 }
inherited_ver1.res
diff = 
--- tests/inherited_ver1.c
+++ /tmp/cocci-output-3181-793a6b-inherited_ver1.c
@@ -3,8 +3,8 @@ void main(int i) {
   //g(1);
   f(2);
 
-  h(2);
-  h2(2);
+  hh(2);
+  hh22(2);
 
-  foo(1);
+  bar(1);
 }
inhmet.res
diff = 
--- tests/inhmet.c
+++ /tmp/cocci-output-3181-f5b95a-inhmet.c
@@ -1,3 +1,3 @@
 int main () {
-  x->s = 12;
+  foo();
 }
inhpos.res
diff = 
--- tests/inhpos.c
+++ /tmp/cocci-output-3181-a55e0e-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-3181-c601ef-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
exn while in timeout_function
inline.res
diff = 
--- tests/inline.c
+++ /tmp/cocci-output-3181-294135-inline.c
@@ -1 +1 @@
-inline void foo(int x) { return; }
+
insdef.res
diff = 
--- tests/insdef.c
+++ /tmp/cocci-output-3181-a4e343-insdef.c
@@ -1 +1,2 @@
 #define TABINFOGEN
+#include <tbl.h>
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-3181-19f6e1-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 nxny3() {
 }
 
 int px4() {
-	int x;
-	x = 0;
+	bool x;
+	x = false;
 	return 4;
 }
 
@@ -49,11 +50,11 @@ int nxny5() {
 }
 
 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-3181-f048b5-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-3181-981b68-invert.c
@@ -1,3 +1,3 @@
 int main () {
-  x = y + z;
+  x = z + y;
 }
ip.res
diff = 
--- tests/ip.c
+++ /tmp/cocci-output-3181-8f37fa-ip.c
@@ -2,10 +2,18 @@ void GetInfoDestTV(short sNoFo)
 {
   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-3181-0418fa-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-3181-f20fe9-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-3181-139b0b-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-3181-bbb2d8-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-3181-c1a636-isotest2.c
@@ -1,7 +1,6 @@
 void main(int i) {
 
   char j;
-  int i = 1;
   
   j++;
   
iteration.res
Using bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_d4f015.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_d4f015.ml
Compilation OK!
Loading ML code of the SP...
1 pending new file instances
0 pending original file instances

exn while in timeout_function
iteration_after_merge.res
Using bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_0bf122.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_0bf122.ml
Compilation OK!
Loading ML code of the SP...
2 pending new file instances
0 pending original file instances

exn while in timeout_function
iterator.res
SPECIAL NAMES: adding list_for_each as a iterator
diff = 
--- tests/iterator.c
+++ /tmp/cocci-output-3181-ef39a9-iterator.c
@@ -2,9 +2,5 @@ void pcibios_report_status(u_int status_
 {
         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-3181-b5fa13-iterprint.c
@@ -1,6 +1,4 @@
 int main () {
- for(bit = 0; bit < size; bit++) {
-   if (test_bit(bit, bitmap))
-     x = 12;
- }
+ for_each_set_bit(bit, bitmap, size)
+   x = 12;
 }
jloop1.res
exn while in timeout_function
julia10.res
diff = 
--- tests/julia10.c
+++ /tmp/cocci-output-3181-a16290-julia10.c
@@ -1,7 +1,5 @@
 int main(int x) {
   f();
-  h();
   g();
-  h();
 }
 
julia7.res
diff = 
--- tests/julia7.c
+++ /tmp/cocci-output-3181-037983-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-3181-af866f-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-3181-ffc280-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-3181-f70b10-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-3181-fea87b-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-3181-6aa9da-kmc.c
@@ -10,5 +10,4 @@ dmabounce_register_dev(struct device *de
 
  err_destroy:
 	kfreea(device_info);
-	return 1;
 }
kmtest4.res
diff = 
--- tests/kmtest4.c
+++ /tmp/cocci-output-3181-ace558-kmtest4.c
@@ -1,4 +1,4 @@
 int main () {
   x = kzalloc(3);
-  x->y = 12;
+  x->q = 12;
 }
kr.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-3181-31afde-ktype.c
@@ -3,8 +3,6 @@ typedef struct r1_private_data_s conf_t;
 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-3181-f8860b-ktype2.c
@@ -3,11 +3,8 @@ typedef struct r1_private_data_s conf_t;
 static int run(mddev_t *mddev)
 {
 	conf_t *conf;
-	conf = kmalloc(sizeof(conf_t), GFP_KERNEL);
+	conf = kzalloc(sizeof(conf_t), GFP_KERNEL);
 	if (!conf) {
-	  memset(conf, 0, sizeof(*conf));
 	  return;
 	}
-
-	memset(conf, 0, sizeof(*conf));
 }
labels_metastatement.res
diff = 
--- tests/labels_metastatement.c
+++ /tmp/cocci-output-3181-7a2eec-labels_metastatement.c
@@ -1,9 +1,15 @@
 int foo(int i) {
 
   if(1) {
-    x = 3;
-    z = 4;
-  } // we don't want that it add both foo on the } and on the endif
+    {
+      x = 3;
+      foo();
+      z = 4;
+      foo();
+    }
+    foo();
+  }
+  foo(); // we don't want that it add both foo on the } and on the endif
     // (note: but need correct endif accrochage)
 
 }
labels_metastatement_ver1.res
diff = 
--- tests/labels_metastatement_ver1.c
+++ /tmp/cocci-output-3181-6a8838-labels_metastatement_ver1.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-3181-4fde80-lessone.c
@@ -1,4 +1,4 @@
 int min() {
-      return 2.56 < 1;
+      return 2.56 < 0;
 }
 
lfe.res
Using bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_45689e.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_45689e.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-3181-d9c019-lfe.c
@@ -11,13 +11,21 @@ static bool tipc_service_insert_publ(str
 	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-3181-091aae-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-3181-60608e-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-3181-46d712-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-3181-c5c48e-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[] = { a, y, b, z, };
 
 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 {
 
 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-3181-6b1db6-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-3181-0d2f0d-localglobal.c
@@ -3,5 +3,5 @@ int a;
 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-3181-f418a6-localid.c
@@ -2,8 +2,7 @@ int c;
 
 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-3181-5ea2ac-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-3181-1ecc63-log.c
@@ -8,5 +8,4 @@ static struct var_t vars[] = {
 
 
 int main () {
-  f("foo");
 }
long.res
diff = 
--- tests/long.c
+++ /tmp/cocci-output-3181-2fb5f3-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-3181-9ccb2c-longconst.c
@@ -2,18 +2,18 @@ long function1()
 {
         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-3181-2a0e95-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-3181-fe8955-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-3181-241d1f-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-3181-683eaa-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-3181-68acda-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-3181-7b5409-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-3181-2aa31f-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-3181-3cb95b-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-3181-aa54a3-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_init.res
diff = 
--- tests/match_init.c
+++ /tmp/cocci-output-3181-0ee5bf-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-3181-557415-match_no_meta.c
@@ -2,6 +2,4 @@ void main(int i)
 {
   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-3181-c9cc24-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-3181-fec62d-md1.c
@@ -1,9 +1,11 @@
 struct main {
-	int a;
-	int b;
-	int a,b,c;
+	int y;
+	int y;
+	int y;
+	int y;
+	int y;
 
-	char a;
-	char b;
+	char y;
+	char y;
 	char a,b,c;
 };
md2.res
diff = 
--- tests/md2.c
+++ /tmp/cocci-output-3181-0e7988-md2.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-3181-17db95-md3.c
@@ -1,5 +1,5 @@
 struct s_t {
-  double one[3];
+  double3 one;
   int x;
 }*A,*B,*C,a,b,c;
 
mdadd.res
diff = 
--- tests/mdadd.c
+++ /tmp/cocci-output-3181-f24e4d-mdadd.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-3181-10ad8d-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 bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_6905a8.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_6905a8.ml
File "/tmp/ocaml_cocci_6905a8.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-3181-eb7d6f-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 bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_ae4e8c.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_ae4e8c.ml
Compilation OK!
Loading ML code of the SP...
diff = 
--- tests/mdeclp.c
+++ /tmp/cocci-output-3181-51f5f0-mdeclp.c
@@ -1,2 +1,2 @@
-int one() { return 1; }
+
 int two() { return 1; }
mdeclp2.res
Using bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_9b54b1.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_9b54b1.ml
File "_none_", line 1:
Alert ocaml_deprecated_auto_include: 
OCaml's lib directory layout changed in 5.0. The str subdirectory has been
automatically added to the search path, but you should add -I +str to the
command-line to silence this alert (e.g. by adding str to the list of
libraries in your dune file, or adding use_str to your _tags file for
ocamlbuild, or using -package str for ocamlfind).
Compilation OK!
Loading ML code of the SP...
exn while in timeout_function
mdeclrep.res
diff = 
--- tests/mdeclrep.c
+++ /tmp/cocci-output-3181-f7eec9-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-3181-8aaea4-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-3181-7616cd-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 bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_6cc46a.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_6cc46a.ml
Compilation OK!
Loading ML code of the SP...
1 pending new file instances
0 pending original file instances

metaattr.res
SPECIAL NAMES: adding __attr__ as a attribute
diff = 
--- tests/metaattr.c
+++ /tmp/cocci-output-3181-7987fd-metaattr.c
@@ -1,5 +1,5 @@
 int main() {
-	int b __attr__ = 1;
+	char b __attr__ = 1;
 	int b = 1;
 	return 0;
 }
metahex.res
metaline.res
warning: line 43: x, previously declared as a metavariable, is used as an identifier
diff = 
--- tests/metaline.c
+++ /tmp/cocci-output-3181-cd3e8c-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-3181-cdbf48-metaops.c
@@ -2,24 +2,24 @@ 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;
+	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 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;
+	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-3181-be68e9-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-3181-6b02f0-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-3181-1a44d2-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-3181-35acc3-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-3181-d968e1-metastatement_if.c
@@ -5,8 +5,4 @@ void main(void)
 		printf("%d", i);
 	}
 
-	if (i == 0) {
-		printf("%d", i);
-	}
-
 }
mincom.res
diff = 
--- tests/mincom.c
+++ /tmp/cocci-output-3181-7454ca-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-3181-703c07-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-3181-1f8764-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-3181-d82afe-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-3181-4d1cd8-mini_null_ref.c
@@ -2,11 +2,12 @@ static int __devinit w90p910_keypad_prob
 {
         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-3181-4a2a70-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-3181-2d0c1a-minstruct.c
@@ -1,5 +1,7 @@
 static struct i2c_client client_template = {
-	.name 		= "(unset)",
+	.dev = {
+		.name = "(unset)",
+	},
 	.id 		= -1,
 	.driver 	= &i2c_driver_videotext
 };
minusdots.res
diff = 
--- tests/minusdots.c
+++ /tmp/cocci-output-3181-0c3337-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-3181-413364-minusdots_ver1.c
@@ -1,6 +1,2 @@
 void main(int i) {
-  
-  if (!hostptr) {
-    i++;
-  }
 }
move_type.res
diff = 
--- tests/move_type.c
+++ /tmp/cocci-output-3181-5be9f3-move_type.c
@@ -1,6 +1,6 @@
 int main() {
-  int x;
   int foo[12];
+  int x;
   return 0;
 }
 
multi.res
diff = 
--- tests/multi.c
+++ /tmp/cocci-output-3181-26ed10-multi.c
@@ -3,4 +3,5 @@ int main() {
     g(1);
     g(1);
   }
+  h(1);
 }
multi_initialize_finalize.res
Using bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_461d52.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_461d52.ml
Compilation OK!
Loading ML code of the SP...
exn while in timeout_function
multichars.res
warning: line 4: should ab be a metavariable?
diff = 
--- tests/multichars.c
+++ /tmp/cocci-output-3181-3f1755-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-3181-b3ec9a-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-3181-841e3a-multidecl3.c
@@ -1,17 +1,13 @@
 int main () {
-  int *i, i[12], i, k, r;
+  int k, r;
 }
 
 struct foo {
-  int *i, i[12], i, k, r;
-  int *i, i[12], i;
-  int *i;
+  int k, r;
 };
 
 int main () {
-  int *i, i[12], i;
 }
 
 struct foo {
-  int *i, i[12], i;
 };
multipath.res
diff = 
--- tests/multipath.c
+++ /tmp/cocci-output-3181-d370a6-multipath.c
@@ -2,8 +2,8 @@ static void multipathd(struct md_thread
 {
 	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-3181-9ed2ee-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-3181-48bad0-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-3181-de0ad1-multistruct.c
@@ -1,5 +1,3 @@
-struct one x;
 
-struct two y;
 
 struct three z;
multitype.res
diff = 
--- tests/multitype.c
+++ /tmp/cocci-output-3181-de100e-multitype.c
@@ -3,5 +3,5 @@ typedef struct foo { int a; } foo_t;
 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-3181-34976d-multitypedef.c
@@ -5,5 +5,5 @@ typedef struct HYSDN_CARD {
 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-3181-13d7b3-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-3181-3a093b-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-3181-b60e79-na.c
@@ -4,10 +4,10 @@ void foo()
 {
   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-3181-840638-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-3181-2f2f50-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-3181-87591f-nestadd.c
@@ -1,3 +1,12 @@
 int main() {
   foo();
+  if (x) {
+    return 12;
+  }
+  if (y) {
+    return 27;
+  }
+  if (z) {
+    return 42;
+  }
 }
nestone.res
warning: one: metavariable S not used in the - or context code
diff = 
--- tests/nestone.c
+++ /tmp/cocci-output-3181-e263aa-nestone.c
@@ -1,4 +1,3 @@
 int foo() {
   if (x) { xxx(); return;}
-  yyy();
 }
nestseq.res
diff = 
--- tests/nestseq.c
+++ /tmp/cocci-output-3181-8ac242-nestseq.c
@@ -2,4 +2,5 @@ int main () {
   f();
   g(12);
   h();
+  xxx(12);
 }
neststruct.res
diff = 
--- tests/neststruct.c
+++ /tmp/cocci-output-3181-6682c9-neststruct.c
@@ -8,6 +8,6 @@ struct usb_hub {
 
 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-3181-e44a40-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-3181-1f6bca-noa.c
@@ -2,6 +2,6 @@ int main () {
   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-3181-7d749c-nocast.c
@@ -1,4 +1,4 @@
-int main (unsigned int __nocast gfp_mask, int x) {
+int main (gfp_t gfp_mask, int x) {
   buf = kmalloc(sizeof *send_buf + buf_size, gfp_mask);
 }
 
noret.res
diff = 
--- tests/noret.c
+++ /tmp/cocci-output-3181-bceff6-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-3181-f9aa9b-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-3181-d20947-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-3181-c7cb7b-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-3181-0a97e5-noty.c
@@ -1,3 +1,4 @@
 int main(int *x) {
   if (NULL == x) { return; }
+  g();
 }
noty2.res
diff = 
--- tests/noty2.c
+++ /tmp/cocci-output-3181-3f699a-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-3181-301427-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-3181-e06447-null_type.c
@@ -2,7 +2,7 @@ int main(int i) {
 
   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-3181-55c259-oddifdef.c
@@ -7,9 +7,7 @@ void one () {
     a = 5;
 
 #ifdef FOO
-  x = 0;
 #else
-  x = 0;
 #endif
 }
 
@@ -22,9 +20,7 @@ void two() {
     a = 3;
 
 #ifdef FOO
-  x = 0;
 #else
-  x = 0;
 #endif
 }
 
@@ -37,8 +33,6 @@ void three() {
 #endif
 
 #ifdef FOO
-  x = 0;
 #else
-  x = 0;
 #endif
 }
of.res
diff = 
--- tests/of.c
+++ /tmp/cocci-output-3181-ef2d51-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 bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_343809.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_343809.ml
Compilation OK!
Loading ML code of the SP...
exn while in timeout_function
oneline.res
diff = 
--- tests/oneline.c
+++ /tmp/cocci-output-3181-62ffb7-oneline.c
@@ -1,4 +1,4 @@
 int main () {
-  f();
-  f();
+  g();
+  g();
 }
op.res
diff = 
--- tests/op.c
+++ /tmp/cocci-output-3181-95b7a2-op.c
@@ -1,5 +1,4 @@
 int main () {
-  return 3;
 }
 
 int main () {
opt.res
diff = 
--- tests/opt.c
+++ /tmp/cocci-output-3181-2a0b69-opt.c
@@ -1,3 +1,2 @@
 int main () {
-  yyy();
 }
optional_qualifier.res
diff = 
--- tests/optional_qualifier.c
+++ /tmp/cocci-output-3181-a07afb-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-3181-2fcb8b-optional_storage.c
@@ -1,4 +1,4 @@
-int foo1(void)
+static int foo1(void)
 {
 }
 
orexp.res
diff = 
--- tests/orexp.c
+++ /tmp/cocci-output-3181-151a7c-orexp.c
@@ -1,3 +1,3 @@
 int main() {
-  bar(12+12);
+  4;
 }
output.res
exn while in timeout_function
output_init.res
exn while in timeout_function
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-3181-bca1f6-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-3181-bf97a5-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-3181-4ba61c-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-3181-899490-pa.c
@@ -4,7 +4,8 @@ char *parse_args(const char *doing,
 		 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-3181-3ca5f3-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-3181-c358f9-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-3181-7aac30-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-3181-bc7493-param_ver1.c
@@ -1 +1 @@
-void foo(int x) { return; }
+
parameters_dots.res
diff = 
--- tests/parameters_dots.c
+++ /tmp/cocci-output-3181-0eb25b-parameters_dots.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-3181-58c00f-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-3181-bd995f-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-3181-0dd3bf-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-3181-03e200-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-3181-890168-partialmd3.c
@@ -1,3 +1,4 @@
 int main () {
-	int a,b,c;
+	int a,b;
+	int q;
 }
pb_distribute_type.res
warning: line 6: should x be a metavariable?
diff = 
--- tests/pb_distribute_type.c
+++ /tmp/cocci-output-3181-0e18f6-pb_distribute_type.c
@@ -1,15 +1,15 @@
 int foo() {
-  int x;
+  int *x;
   return 0;
 }
 
 
 int foo() {
-  int *x;
+  int **x;
   return 0;
 }
 
 int foo() {
-  int x[45];
+  int[45] *x;
   return 0;
 }
pb_distribute_type2.res
warning: line 8: should x be a metavariable?
diff = 
--- tests/pb_distribute_type2.c
+++ /tmp/cocci-output-3181-83ca96-pb_distribute_type2.c
@@ -1,15 +1,15 @@
 int foo() {
-  int x;
+  int * x;
   return 0;
 }
 
 
 int foo() {
-  int *x;
+  int **x;
   return 0;
 }
 
 int foo() {
-  int x[45];
+  int x[45]*;
   return 0;
 }
pb_distribute_type3.res
warning: line 9: should x be a metavariable?
exn while in timeout_function
pb_distribute_type4.res
warning: line 8: should x be a metavariable?
diff = 
--- tests/pb_distribute_type4.c
+++ /tmp/cocci-output-3181-a07cd2-pb_distribute_type4.c
@@ -1,15 +1,15 @@
 int foo() {
-  int x;
+  float x;
   return 0;
 }
 
 
 int foo() {
-  int *x;
+  float x;
   return 0;
 }
 
 int foo() {
-  int x[45];
+  float x;
   return 0;
 }
pb_params_iso.res
warning: line 23: should i be a metavariable?
diff = 
--- tests/pb_params_iso.c
+++ /tmp/cocci-output-3181-f1e3ea-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-3181-4bdb3a-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-3181-613b79-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-3181-000f09-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-3181-cf1bf7-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-3181-ac0b34-pif.c
@@ -1,5 +1 @@
-void f(void)
-{
-/* hello */
-#pragma omp very very critical
-}
+
plus33.res
diff = 
--- tests/plus33.c
+++ /tmp/cocci-output-3181-0392fe-plus33.c
@@ -1 +1,2 @@
+typedef double double3x3[3][3];
 int x;
pmac.res
diff = 
--- tests/pmac.c
+++ /tmp/cocci-output-3181-fe7c63-pmac.c
@@ -4,7 +4,5 @@
 #include <asm/feature.h>
 #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 bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_647448.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_647448.ml
Compilation OK!
Loading ML code of the SP...
diff = 
--- tests/poscon.c
+++ /tmp/cocci-output-3181-4c8e16-poscon.c
@@ -2,8 +2,8 @@ int main () {
   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-3181-5f361c-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-3181-444a09-positionc.c
@@ -2,8 +2,6 @@ int main () {
   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-3181-0ca6ee-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);
 }
pragma2.res
diff = 
--- tests/pragma2.c
+++ /tmp/cocci-output-3181-5806e5-pragma2.c
@@ -4,7 +4,7 @@ int main()
 	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;i<n;++i)
 	{}
 }
pragma2a.res
pragma3.res
diff = 
--- tests/pragma3.c
+++ /tmp/cocci-output-3181-a01473-pragma3.c
@@ -1,8 +1,4 @@
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wgnu-zero-variadic-macro-arguments" /* for gtest under clang (yes, with '#pragma GCC') */
 
-#pragma GCC top
 int main () {
-  #pragma GCC inside
   return 0;
 }
pragma_and_block_a.res
pragma_and_block_b.res
diff = 
--- tests/pragma_and_block_b.c
+++ /tmp/cocci-output-3181-cae855-pragma_and_block_b.c
@@ -1,6 +1,5 @@
 int main()
 {
-#pragma xxx a
     for ( ; ; )
 	    ;
 }
pragmainfo_multiline.res
diff = 
--- tests/pragmainfo_multiline.c
+++ /tmp/cocci-output-3181-ee99ab-pragmainfo_multiline.c
@@ -1,6 +1,4 @@
 int main()
 {
-#pragma xxx return \
-	0
 	return 0;
 }
pragmatest1.res
diff = 
--- tests/pragmatest1.c
+++ /tmp/cocci-output-3181-f60c26-pragmatest1.c
@@ -1,3 +1 @@
-#pragma xxx a b c
 
-#pragma xxx (a, b, c)
pragmatest2.res
Using bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_dfed5f.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_dfed5f.ml
Compilation OK!
Loading ML code of the SP...
diff = 
--- tests/pragmatest2.c
+++ /tmp/cocci-output-3181-dd55ad-pragmatest2.c
@@ -1,6 +1,4 @@
 #pragma xxx this is a test
 
 int main() {
-  f(this);
-  g(this);
 }
print_return.res
warning: line 6: should link be a metavariable?
warning: rule starting on line 1: metavariable E not used in the - or context code
diff = 
--- tests/print_return.c
+++ /tmp/cocci-output-3181-171440-print_return.c
@@ -1,4 +1,3 @@
 int config(struct pcmcia_device *link) {
-  bar();
-  return 0;
+  return bar();
 }
proto.res
diff = 
--- tests/proto.c
+++ /tmp/cocci-output-3181-cdf929-proto.c
@@ -1,10 +1,2 @@
 static void bch_l2l1(struct PStack *st, int pr, void *arg);
-static void bch_sched_event(struct BCState *bcs, int event);
 static void bch_empty_fifo(struct BCState *bcs, int count);
-
-static void
-bch_sched_event(struct BCState *bcs, int event)
-{
-	bcs->event |= 1 << event;
-	schedule_work(&bcs->work);
-}
proto2.res
diff = 
--- tests/proto2.c
+++ /tmp/cocci-output-3181-d3d440-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-3181-41baa3-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-3181-4d57c8-proto_ver2.c
@@ -46,7 +46,6 @@ static inline void dch_int(struct IsdnCa
 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);
@@ -584,16 +583,6 @@ bch_l2l1(struct PStack *st, int pr, void
 }
 
 //----------------------------------------------------------
-// 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);
-}
-
-//----------------------------------------------------------
 // Read B channel fifo to receive buffer
 //----------------------------------------------------------
 static void
protoassert.res
diff = 
--- tests/protoassert.c
+++ /tmp/cocci-output-3181-a090fc-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-3181-10afee-ptrar.c
@@ -1,8 +1,8 @@
 int main () {
   struct foo *x;
   struct foo y[12];
-  *y = 4;
-  *x = 2;
-  a = sizeof x;
-  b = sizeof "foo";
+  *12 = 4;
+  *20 = 2;
+  a = sizeof 20;
+  b = sizeof 12;
 }
ptrconstptr.res
diff = 
--- tests/ptrconstptr.c
+++ /tmp/cocci-output-3181-fe7a1e-ptrconstptr.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-3181-963b24-putloop.c
@@ -4,13 +4,11 @@ static int atmel_pctl_dt_node_to_map(str
 				     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
exn while in timeout_function
python_mdecl.res
warning: rule starting on line 14: inherited metavariable unbound not used in the -, +, or context code
exn while in timeout_function
python_mdeclp.res
exn while in timeout_function
python_poscon.res
exn while in timeout_function
qcom.res
qualifier.res
SPECIAL NAMES: adding survived_r1 as a type
diff = 
--- tests/qualifier.c
+++ /tmp/cocci-output-3181-a48b26-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 @@ struct bar {
 int *baz(const struct bar *b)
 {
     if (b->i)
-        return (int *)&b->i;
+        return (survived_r1)&b->i;
     else
-        return (int *)&b->j[0];
+        return (survived_r1)&b->j[0];
 }
 
 int *baz2(struct bar *b)
 {
     if (b->i)
-        return (int *)&b->i;
+        return &b->i;
     else
-        return (int *)&b->j[0];
+    return &b->j[0];
 }
range.res
diff = 
--- tests/range.c
+++ /tmp/cocci-output-3181-db7069-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-3181-64081a-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-3181-887210-rcu3.c
@@ -3,6 +3,6 @@ static struct mtd_chip_driver *get_mtd_c
         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-3181-be74d0-refl.c
@@ -1,5 +1,3 @@
 int main () {
   int x;
-  one(&x);
-  two(&x);
 }
regesc.res
diff = 
--- tests/regesc.c
+++ /tmp/cocci-output-3181-c1b397-regesc.c
@@ -1,5 +1,5 @@
 int main () {
-  f(".foo");
-  f("\.foo");
+  22;
+  23;
 }
 
regexp.res
diff = 
--- tests/regexp.c
+++ /tmp/cocci-output-3181-d9fec0-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-3181-bb3fe8-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-3181-52a474-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 bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_38605f.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_38605f.ml
Compilation OK!
Loading ML code of the SP...
diff = 
--- tests/relevant_position.c
+++ /tmp/cocci-output-3181-e26695-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-3181-7e3898-rem1.c
@@ -1,5 +1,4 @@
 int main () {
   xxx();
-  if (x) { foo(); }
   yyy();
 }
rem2.res
diff = 
--- tests/rem2.c
+++ /tmp/cocci-output-3181-dc09d8-rem2.c
@@ -1,5 +1,4 @@
 int main () {
   xxx();
-  if (x) foo();
   yyy();
 }
remaft.res
diff = 
--- tests/remaft.c
+++ /tmp/cocci-output-3181-89b311-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-3181-a999e1-remcom.c
@@ -3,20 +3,12 @@ asyncmeta_retry(
 	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-3181-66dd19-remcom2.c
@@ -2,7 +2,5 @@ int fn()
 {
 	if (y) {
 		x();
-
-		Debug();
 	}
 }
remodif.res
diff = 
--- tests/remodif.c
+++ /tmp/cocci-output-3181-34d872-remodif.c
@@ -5,7 +5,7 @@ static int hexium_attach(struct saa7146_
 
 	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-3181-93c30d-remove-code-in-branch1.c
@@ -1,7 +1,7 @@
 int main(void)
 {
 	if (a > 1)
-		c();
+		{}
 
 	return 0;
 }
remove_call.res
diff = 
--- tests/remove_call.c
+++ /tmp/cocci-output-3181-6e5160-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-3181-d0a529-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-3181-4e5b63-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-3181-cd0707-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-3181-c0097c-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-3181-4ba199-remove_param_attrs.c
@@ -6,15 +6,15 @@ int func2(int x, int __nocast y) {
 	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-3181-491a4a-remove_struct_endattr.c
@@ -4,4 +4,4 @@ struct abcd {
 	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-3181-c7afea-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-3181-7cb82f-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-3181-4b16bc-rems.c
@@ -1,5 +1,4 @@
 int main () {
   x();
-  if (x) a();
   y();
 }
rems1.res
diff = 
--- tests/rems1.c
+++ /tmp/cocci-output-3181-e648d6-rems1.c
@@ -1,5 +1,4 @@
 int main () {
   x();
-  a();
   y();
 }
remstruct.res
warning: line 2: should mpuio_irq_chip be a metavariable?
warning: line 8: should xxx be a metavariable?
diff = 
--- tests/remstruct.c
+++ /tmp/cocci-output-3181-128068-remstruct.c
@@ -1,13 +1,4 @@
-static struct irqchip mpuio_irq_chip = {
-      .ack    = mpuio_ack_irq,
-      .mask   = mpuio_mask_irq,
-      .unmask = mpuio_unmask_irq
-};
 
-static struct irqchip xxx = {
-  .a = 12,
-  .b = 15,
-};
 
 int hello ( String input )
 {
remu.res
diff = 
--- tests/remu.c
+++ /tmp/cocci-output-3181-ee47a8-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-3181-aec5ed-replace_typedef.c
@@ -3,8 +3,8 @@ typedef struct foo { int x; } foo_t;
 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-3181-69efe9-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-3181-ef304b-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-3181-37a567-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-3181-939b55-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-3181-0b2b79-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-3181-f0ea33-return_implicit.c
@@ -1,4 +1,5 @@
 void main(void)
 {
 	foo();
+	return -ENODEV;
 }
retval.res
diff = 
--- tests/retval.c
+++ /tmp/cocci-output-3181-879f89-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-3181-3e8153-retval2.c
@@ -11,7 +11,7 @@ int getlen(int *input, size_t maxlen, in
   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-3181-b49c3a-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-3181-fd2fbd-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-3181-c6ff64-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-3181-fbc1da-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-3181-8b7585-sbef.c
@@ -2,6 +2,5 @@ int main () {
   {
    a();
    b();
-   a();
   }
 }
sbef2.res
diff = 
--- tests/sbef2.c
+++ /tmp/cocci-output-3181-b6d69e-sbef2.c
@@ -1,5 +1,4 @@
 int main() {
   f(12);
   f(20);
-  a();
 }
scope_problem.res
diff = 
--- tests/scope_problem.c
+++ /tmp/cocci-output-3181-019973-scope_problem.c
@@ -1,15 +1,7 @@
 void main(int i) {
-
-  int a;
-  foo(a);
-  a = 1;
-
   if(1) {
     int a;
-    a = 2;
   }
 
-  a = 3;
-
 
 }
sd_2.res
SPECIAL NAMES: adding MyDouble as a type
SPECIAL NAMES: adding MyFloat as a type
diff = 
--- tests/sd_2.c
+++ /tmp/cocci-output-3181-46ec73-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-3181-efb4c8-serio.c
@@ -1,8 +1,8 @@
 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);
 }
shared_brace.res
warning: rule starting on line 1: metavariable S not used in the - or context code
warning: rule starting on line 1: metavariable x not used in the - or context code
warning: rule starting on line 1: metavariable T not used in the - or context code
diff = 
--- tests/shared_brace.c
+++ /tmp/cocci-output-3181-3f5d6f-shared_brace.c
@@ -1,9 +1,7 @@
 
 int __init ixj_init(void)
 {
-	if (pci_present()) {
-		if ((probe = ixj_probe_pci(&cnt)) < 0) {
-		  return probe;
-		}
-	}
+	if ((probe = ixj_probe_pci(&cnt)) < 0) {
+		return probe;
+	      }
 }
signed.res
warning: line 4: should x be a metavariable?
warning: line 10: should a be a metavariable?
warning: line 16: should m be a metavariable?
warning: line 23: should p be a metavariable?
diff = 
--- tests/signed.c
+++ /tmp/cocci-output-3181-5378aa-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-3181-b99e2b-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-3181-b1a251-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-3181-e84c79-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-3181-1ea18b-sizeptr.c
@@ -5,7 +5,7 @@ int main () {
   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-3181-5f0288-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-3181-91f3a7-sizet1.c
@@ -1,3 +1,2 @@
 int main() {
-  size_t x;
 }
skip.res
diff = 
--- tests/skip.c
+++ /tmp/cocci-output-3181-8782d5-skip.c
@@ -1,5 +1,3 @@
 int main () {
-  f(1);
-  f(2);
-  g();
+  h();
 }
sl2.res
diff = 
--- tests/sl2.c
+++ /tmp/cocci-output-3181-3b0f88-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 bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_b1af62.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_b1af62.ml
Compilation OK!
Loading ML code of the SP...
diff = 
--- tests/slen.c
+++ /tmp/cocci-output-3181-ba1bda-slen.c
@@ -3,16 +3,10 @@ int main() {
     one();
   }
   if (x) {
-    one();
-    two();
-    three();
+    was3();
   }
   if (x) {
-    one();
-    two();
-    three();
-    four();
-    five();
+    was5();
   }
   end();
 }
smallfn.res
diff = 
--- tests/smallfn.c
+++ /tmp/cocci-output-3181-536333-smallfn.c
@@ -1,30 +1,65 @@
 int main () {
   if (y) {
-    one();
+    {
+      one();
+      foo();
+    }
+    foo();
   }
   else {
-    two();
+    {
+      two();
+      foo();
+    }
+    foo();
   }
+  foo();
   while (y) {
-    one();
+    {
+      one();
+      foo();
+    }
+    foo();
+  }
+  foo();
+  {
+    do {
+      one();
+      foo();
+    }
+    foo(); while(y);
+    foo();
   }
-  do {
-    one();
-  } while(y);
   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-3181-886f56-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-3181-01708b-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-3181-570ab7-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-3181-c9bdc6-spl.c
@@ -2,11 +2,13 @@ int main() {
   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-3181-eb9d40-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-3181-f84175-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-3181-1be721-square.c
@@ -2,7 +2,7 @@ int two() { return 2; }
 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-3181-4c810e-starprint.c
@@ -1,6 +1,6 @@
 typedef int *LPINT;
 
-int foo(LPINT x, LPINT *y)
+int foo(int *x, int **y)
 {
     return *x == **y;
 }
static.res
diff = 
--- tests/static.c
+++ /tmp/cocci-output-3181-81390c-static.c
@@ -1,4 +1,3 @@
 static inline int i8042_read_data(void)
 {
-	return jazz_kh->data;
 }
stm1.res
exn while in timeout_function
stm10.res
diff = 
--- tests/stm10.c
+++ /tmp/cocci-output-3181-2a0ccf-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-3181-019fc0-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-3181-88590e-stm2.c
@@ -1,5 +1,4 @@
 int main(int x) {
   f();
-  replace();
   g();
 }
stm3.res
diff = 
--- tests/stm3.c
+++ /tmp/cocci-output-3181-9f4240-stm3.c
@@ -1,5 +1,5 @@
 int main(int x) {
   f();
-  replace();
+  g();
   g();
 }
stm4.res
diff = 
--- tests/stm4.c
+++ /tmp/cocci-output-3181-828786-stm4.c
@@ -2,4 +2,5 @@ int main(int x) {
   f();
   replace();
   g();
+  g();
 }
stm5.res
diff = 
--- tests/stm5.c
+++ /tmp/cocci-output-3181-69f725-stm5.c
@@ -1,5 +1,7 @@
 int main(int x) {
   f();
+  h();
   replace();
   g();
+  g();
 }
stm6.res
diff = 
--- tests/stm6.c
+++ /tmp/cocci-output-3181-59557a-stm6.c
@@ -1,5 +1,6 @@
 int main(int x) {
   f();
+  h();
   replace();
   g();
 }
stm7.res
exn while in timeout_function
stm8.res
diff = 
--- tests/stm8.c
+++ /tmp/cocci-output-3181-8be3d4-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-3181-a354f9-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-3181-401155-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-3181-e6cf01-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-3181-0ba82d-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-3181-0d019e-strangeorder.c
@@ -4,8 +4,10 @@ i2c_new_device(struct i2c_adapter *adap,
 	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-3181-41dd4d-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-3181-49fa52-strid2.c
@@ -3,8 +3,8 @@ int main () {
   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-3181-64235e-strtest.c
@@ -1,3 +1,3 @@
 int main() {
-    printf("hello\n");
+    puts("hello\n");
 }
struct.res
diff = 
--- tests/struct.c
+++ /tmp/cocci-output-3181-286488-struct.c
@@ -8,7 +8,5 @@ struct foo {
 
 int main() {
   struct foo *a;
-  f(a->first);
-  f(a->second);
 }
 
struct_metavar.res
diff = 
--- tests/struct_metavar.c
+++ /tmp/cocci-output-3181-83ca09-struct_metavar.c
@@ -9,9 +9,6 @@ struct foo {
 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-3181-4d5666-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-3181-ed8c47-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-3181-42ddf4-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-3181-a86984-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-3181-760a48-sw.c
@@ -1 +1 @@
-int f() { switch (x) { case FOO: return; } }
+
swap3.res
diff = 
--- tests/swap3.c
+++ /tmp/cocci-output-3181-776aca-swap3.c
@@ -2,7 +2,7 @@ static void __ar955x_tx_iq_cal_sort(stru
 				    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-3181-07b09d-switch.c
@@ -3,6 +3,5 @@ int main () {
   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-3181-a5983d-switchdecl.c
@@ -4,7 +4,7 @@ switch (2)
    {
      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-3181-ba36a9-symbol.c
@@ -1,7 +1,5 @@
 int main() {
   int f = 0;
 
-  f = 3;
-
   return f;
 }
td.res
diff = 
--- tests/td.c
+++ /tmp/cocci-output-3181-6e4935-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-3181-563b14-tdnl.c
@@ -4,5 +4,4 @@ void main() {
     
 
     td2.attr;
-  foo();
 }
tdplus.res
diff = 
--- tests/tdplus.c
+++ /tmp/cocci-output-3181-422ebb-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-3181-d6e25b-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-3181-d5d98a-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-3181-58bdb5-test1.c
@@ -6,9 +6,9 @@ void main(int foo) {
   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-3181-45da17-test10_ver1.c
@@ -3,7 +3,7 @@ void main(int i) {
   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-3181-7be138-test11_ver1.c
@@ -2,6 +2,6 @@ void main(int i) {
   f(1);
   g(1);
   //g(1);
-  h(1);
+  h(1, 1);
 
 }
test12.res
diff = 
--- tests/test12.c
+++ /tmp/cocci-output-3181-86715f-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-3181-42aed0-test2.c
@@ -2,7 +2,7 @@ void main()
 {
   f(1,2,3);
   if(1) 
-    g(1);
+    h(1);
   else 
-    g(1);
+    h(1);
 }
test3.res
diff = 
--- tests/test3.c
+++ /tmp/cocci-output-3181-6efb72-test3.c
@@ -4,7 +4,7 @@ void main()
   f(3);
 
   if(1) 
-    g(1);
+    h(3, 1);
   else 
-    g(2);
+    h(3, 2);
 }
test4.res
diff = 
--- tests/test4.c
+++ /tmp/cocci-output-3181-a1c1d1-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-3181-20bbf1-test5.c
@@ -12,9 +12,9 @@ void main() {
   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-3181-8a20f7-test5_ver1.c
@@ -12,9 +12,9 @@ void main() {
   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-3181-31128d-test6.c
@@ -4,13 +4,13 @@ void main()
 {
   /* 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 main()
 
 
 void mainbis() {
-  f(10);
+  f(10, "foo");
 }
 
 
test7.res
diff = 
--- tests/test7.c
+++ /tmp/cocci-output-3181-c5402d-test7.c
@@ -2,10 +2,12 @@ void main()
 {
 
   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-3181-d7415d-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-3181-786a98-test9.c
@@ -4,9 +4,9 @@ void main(int foo) {
 //  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-3181-77b61e-test_s.c
@@ -2,7 +2,7 @@ int main () {
   if (x-one) {
     one();
   }
-  if (x-two) {
+  if (12) {
     one();
     two();
   }
@@ -11,7 +11,7 @@ int main () {
     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-3181-19873b-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-3181-0687b7-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-3181-793b46-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-3181-4f89e1-three_types.c
@@ -7,5 +7,5 @@ via_init_dmablit(drm_device_t *dev)
 {
 	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-3181-5b2c76-threea.c
@@ -1,4 +1,3 @@
 int main() {
   f(12);
-  q(12);
 }
tloop.res
diff = 
--- tests/tloop.c
+++ /tmp/cocci-output-3181-dc8bf4-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-3181-b56e71-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-3181-d44e74-topdec.c
@@ -5,4 +5,4 @@ static int debug;
 /* 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-3181-608471-topdec_ver1.c
@@ -4,4 +4,4 @@ static int debug;
 
 /* 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-3181-db1c16-topdec_ver2.c
@@ -5,4 +5,4 @@ static int debug;
 /* 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-3181-4024b3-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-3181-460945-toplevel_macrostmt.c
@@ -2,7 +2,7 @@ void main(int i)
 {
 }
 
-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-3181-c1818a-toplevel_struct.c
@@ -3,6 +3,7 @@ struct SHT usb_stor_host_template = {
 	.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 @@ unsigned char usb_stor_sense_notready[18
 
 
 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-3181-8bdf42-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-3181-4d50da-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-3181-07b4c6-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-3181-1eac6a-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-3181-9b8eca-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-3181-7362b7-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-3181-1b3140-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-3181-0a28e0-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-3181-9759de-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-3181-e3d609-type.c
@@ -1,5 +1,5 @@
 int foo() {
-  int x;
+  int *x;
   return 0;
 }
 
type1.res
diff = 
--- tests/type1.c
+++ /tmp/cocci-output-3181-c0399c-type1.c
@@ -1,5 +1,5 @@
 int foo() {
-  int x;
+  int * x;
   return 0;
 }
 
type_and_var.res
diff = 
--- tests/type_and_var.c
+++ /tmp/cocci-output-3181-c49a11-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-3181-11d03a-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-3181-9513ae-type_annotated.c
@@ -4,7 +4,7 @@ void f1(int z) {
   struct foo2 j;
   int k;
 
-  j+i.foo+j.foo;
+  j+i.newfoo+j.foo;
 
 }
 
@@ -15,6 +15,6 @@ void f2(struct foo i) {
   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-3181-a16f88-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-3181-3d8303-type_ver1.c
@@ -1,5 +1,5 @@
 int foo() {
-  struct foo x;
+  struct foo *x;
   return 0;
 }
 
type_ver2.res
diff = 
--- tests/type_ver2.c
+++ /tmp/cocci-output-3181-0facd5-type_ver2.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-3181-ee6993-typedef.c
@@ -1,15 +1,15 @@
 typedef struct bluecard_info_t {
-	dev_link_t link;
+	struct pcmcia_device *p_dev;
 } foo;
 
 static void should_work(u_long arg)
 {
 	foo *info = (struct bluecard_info_t *)arg;
-	unsigned int iobase = info->link.io.BasePort1;
+	unsigned int iobase = info->p_dev->io.BasePort1;
 }
 
 static void does_work(u_long arg)
 {
 	struct bluecard_info_t *info = (struct bluecard_info_t *)arg;
-	unsigned int iobase = info->link.io.BasePort1;
+	unsigned int iobase = info->p_dev->io.BasePort1;
 }
typedef3.res
SPECIAL NAMES: adding dev_link_t as a type
diff = 
--- tests/typedef3.c
+++ /tmp/cocci-output-3181-84e044-typedef3.c
@@ -1,5 +1,5 @@
 typedef struct bluecard_info_t {
-	dev_link_t link;
+	struct pcmcia_device *p_dev;
 } foo;
 
 static void should_work(foo *info)
@@ -9,5 +9,5 @@ static void should_work(foo *info)
 
 static void does_work(struct bluecard_info_t *info)
 {
-	unsigned int iobase = info->link.io.BasePort1;
+	unsigned int iobase = info->p_dev->io.BasePort1;
 }
typedef_double.res
typeof.res
diff = 
--- tests/typeof.c
+++ /tmp/cocci-output-3181-439e8c-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-3181-d0f88d-typeof_expr.c
@@ -1,4 +1,4 @@
 int main () {
   int x = 0;
-  f(typeof(x));
+  f(x);
 }
typeofconst_i32l64.res
diff = 
--- tests/typeofconst_i32l64.c
+++ /tmp/cocci-output-3181-38bc21-typeofconst_i32l64.c
@@ -1,49 +1,49 @@
 void f() {
-0;
-1;
-2;
-3;
-4;
-5;
-6;
-7;
-8;
-9;
-10;
-11;
-12;
-13;
-14;
-15;
-16;
-17;
-18;
-19;
-20;
-21;
-22;
-23;
-24;
-25;
-26;
-27;
-28;
-29;
-30;
-31;
-32;
+INT(0);
+INT(1);
+INT(2);
+INT(3);
+INT(4);
+INT(5);
+INT(6);
+INT(7);
+INT(8);
+INT(9);
+INT(10);
+INT(11);
+INT(12);
+INT(13);
+INT(14);
+INT(15);
+INT(16);
+INT(17);
+INT(18);
+INT(19);
+INT(20);
+INT(21);
+INT(22);
+INT(23);
+INT(24);
+INT(25);
+INT(26);
+INT(27);
+INT(28);
+INT(29);
+INT(30);
+INT(31);
+INT(32);
 
-2147483647; // 2**31 - 1
-2147483648; // 2**31
-2147483649; // 2**31 + 1
+INT(2147483647); // 2**31 - 1
+LONG(2147483648); // 2**31
+LONG(2147483649); // 2**31 + 1
 
-4294967295; // 2**32 - 1
-4294967296; // 2**32
-4294967297; // 2**32 + 1
+LONG(4294967295); // 2**32 - 1
+LONG(4294967296); // 2**32
+LONG(4294967297); // 2**32 + 1
 
-9223372036854775807; // 2**63 - 1
-9223372036854775808; // 2**63
-9223372036854775809; // 2**63 +1
+LONG(9223372036854775807); // 2**63 - 1
+ULONG(9223372036854775808); // 2**63
+ULONG(9223372036854775809); // 2**63 +1
 
-18446744073709551615; // 2**64 - 1
+ULONG(18446744073709551615); // 2**64 - 1
 }
typeofconst_il32.res
diff = 
--- tests/typeofconst_il32.c
+++ /tmp/cocci-output-3181-3c42e2-typeofconst_il32.c
@@ -1,49 +1,49 @@
 void f() {
-0;
-1;
-2;
-3;
-4;
-5;
-6;
-7;
-8;
-9;
-10;
-11;
-12;
-13;
-14;
-15;
-16;
-17;
-18;
-19;
-20;
-21;
-22;
-23;
-24;
-25;
-26;
-27;
-28;
-29;
-30;
-31;
-32;
+INT(0);
+INT(1);
+INT(2);
+INT(3);
+INT(4);
+INT(5);
+INT(6);
+INT(7);
+INT(8);
+INT(9);
+INT(10);
+INT(11);
+INT(12);
+INT(13);
+INT(14);
+INT(15);
+INT(16);
+INT(17);
+INT(18);
+INT(19);
+INT(20);
+INT(21);
+INT(22);
+INT(23);
+INT(24);
+INT(25);
+INT(26);
+INT(27);
+INT(28);
+INT(29);
+INT(30);
+INT(31);
+INT(32);
 
-2147483647; // 2**31 - 1
-2147483648; // 2**31
-2147483649; // 2**31 + 1
+INT(2147483647); // 2**31 - 1
+ULONG(2147483648); // 2**31
+ULONG(2147483649); // 2**31 + 1
 
-4294967295; // 2**32 - 1
-4294967296; // 2**32
-4294967297; // 2**32 + 1
+ULONG(4294967295); // 2**32 - 1
+LONGLONG(4294967296); // 2**32
+LONGLONG(4294967297); // 2**32 + 1
 
-9223372036854775807; // 2**63 - 1
-9223372036854775808; // 2**63
-9223372036854775809; // 2**63 +1
+LONGLONG(9223372036854775807); // 2**63 - 1
+LONGLONG(9223372036854775808); // 2**63
+LONGLONG(9223372036854775809); // 2**63 +1
 
-18446744073709551615; // 2**64 - 1
+LONGLONG(18446744073709551615); // 2**64 - 1
 }
typin.res
diff = 
--- tests/typin.c
+++ /tmp/cocci-output-3181-6634fd-typin.c
@@ -2,7 +2,7 @@ int x;
 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
unbrace.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.c
+++ /tmp/cocci-output-3181-40e799-unbrace.c
@@ -5,8 +5,6 @@ static int mlxsw_sp_flower_parse_actions
 					 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 @@ static int mlxsw_sp_flower_parse_actions
 	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 @@ static int mlxsw_sp_flower_parse_actions
 					 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 @@ static int mlxsw_sp_flower_parse_actions
 	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) {
-		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);
-
-			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;
-
-			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);
-
-			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;
+	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);
+
+		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;
+
+		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);
+
+		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-3181-f472e3-undref.c
@@ -1,3 +1,3 @@
 int main () {
-	bar();
+	42;
 }
undref2.res
Using bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_e4dd74.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_e4dd74.ml
Compilation OK!
Loading ML code of the SP...
diff = 
the value of f: unknown
--- tests/undref2.c
+++ /tmp/cocci-output-3181-84a455-undref2.c
@@ -1,3 +1,3 @@
 int main () {
-	bar();
+	42;
 }
undref3.res
Using bytecode version of ocamlc/ocamlopt/ocamldep
ocamlc -c /tmp/ocaml_cocci_aa957d.cmo -g -I /build/reproducible-path/coccinelle-1.3.0.deb/ocaml  -I /usr/lib/arm-linux-gnueabihf/ocaml/5.2.0 -for-pack Coccinelle_modules /tmp/ocaml_cocci_aa957d.ml
Compilation OK!
Loading ML code of the SP...
diff = 
the value of f: unknown
--- tests/undref3.c
+++ /tmp/cocci-output-3181-5c0800-undref3.c
@@ -1,3 +1,3 @@
 int main () {
-	bar();
+	42;
 }
unelse.res
diff = 
--- tests/unelse.c
+++ /tmp/cocci-output-3181-7b5f01-unelse.c
@@ -2,8 +2,6 @@ static short find_control(u16 control_in
 {
 	if (!*pI)
 		return 0;
-	else {
-		HPI_DEBUG_LOG(three,
-			      one);
-	}
+	HPI_DEBUG_LOG(three,
+		      one);
 }
unfree.res
diff = 
--- tests/unfree.c
+++ /tmp/cocci-output-3181-63b084-unfree.c
@@ -2,8 +2,7 @@ static void mppe_free(void *arg)
 {
 	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-3181-368eed-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-3181-e0f7f3-unstruct.c
@@ -1,4 +1,4 @@
-struct foo x __read_mostly = { .a = 12, };
 
-foo_t bar_t x(int y) { return 0; }
+
+foo_t 
 
unused.res
diff = 
--- tests/unused.c
+++ /tmp/cocci-output-3181-6cbc5b-unused.c
@@ -2,5 +2,5 @@ static int synth_field_string_size(char
 {
 	char *start;
 
-	start = strstr(type, "char[");
+	start = 12;
 }
updassign.res
diff = 
--- tests/updassign.c
+++ /tmp/cocci-output-3181-b02ba1-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-3181-b58ccb-useless_cast.c
@@ -8,7 +8,7 @@ struct device {
 
 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-3181-dff070-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-3181-139753-varargs2.c
@@ -1,3 +1,4 @@
 static void f(char *fmt, ...)
 {
+	return NULL;
 }
varargs3.res
diff = 
--- tests/varargs3.c
+++ /tmp/cocci-output-3181-e9d9fa-varargs3.c
@@ -1,4 +1,3 @@
-static int foo(char *fmt, ...)
 {
   return 0;
 }
@@ -8,7 +7,6 @@ static int bar(int x, y)
   return x+y;
 }
 
-static int baz(FILE *stream, ...)
 {
   return 1;
 }
video1bis.res
diff = 
--- tests/video1bis.c
+++ /tmp/cocci-output-3181-1cbcf3-video1bis.c
@@ -3,7 +3,5 @@ void *arg)
 {
    if (cmd == VIDIOCGTUNER) {
      struct video_tuner v;
-     if (copy_from_user(v, arg, sizeof(v)) != 0)
-       ret(-EFAULT); else {}
    }
 }
void.res
diff = 
--- tests/void.c
+++ /tmp/cocci-output-3181-21b434-void.c
@@ -2,4 +2,14 @@ int xbar(void) { return; }
 
 // 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-3181-49eb38-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-3181-493135-wchar.c
@@ -1,13 +1,4 @@
 #include <stddef.h>
 #include <uchar.h>
 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-3181-c5a9e1-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.res
SPECIAL NAMES: adding dev_link_t as a type
whitespace.res
diff = 
--- tests/whitespace.c
+++ /tmp/cocci-output-3181-c95a39-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-3181-c53527-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-3181-de0a57-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-3181-a2fc86-xfield.c
@@ -1,4 +1,4 @@
-FOO(a2,b2,c2);
+int x;
 
 /*
 int y;
y2.res
diff = 
--- tests/y2.c
+++ /tmp/cocci-output-3181-971916-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-3181-367ce3-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-3181-544f83-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
+  };
 }
--------------------------------
statistics
--------------------------------
62.res                        : CORRECT
a.res                         : CORRECT
a3.res                        : CORRECT
a3d.res                       : CORRECT
a_and_e.res                   : CORRECT
a_and_e_ver1.res              : CORRECT
ab.res                        : CORRECT
action.res                    : CORRECT
add1.res                      : CORRECT
addaft.res                    : CORRECT
addafterdecl.res              : CORRECT
addbefore.res                 : CORRECT
addbeforeafter.res            : CORRECT
addcomm.res                   : CORRECT
addelse.res                   : CORRECT
addes.res                     : CORRECT
addfield.res                  : CORRECT
addfield2.res                 : CORRECT
addif.res                     : CORRECT
addif1.res                    : CORRECT
addif2.res                    : CORRECT
addifdef.res                  : CORRECT
addifelse.res                 : CORRECT
addifelse2.res                : CORRECT
addinc.res                    : CORRECT
addnl.res                     : CORRECT
addtoo.res                    : CORRECT
addtrace.res                  : CORRECT
after_if.res                  : CORRECT
allex.res                     : CORRECT
allex2.res                    : CORRECT
allex3.res                    : CORRECT
andid.res                     : CORRECT
anon.res                      : CORRECT
anonfield.res                 : CORRECT
ar.res                        : CORRECT
arg.res                       : CORRECT
argument.res                  : CORRECT
arparam.res                   : CORRECT
array_init.res                : CORRECT
array_size.res                : CORRECT
arraysz.res                   : CORRECT
as_stm.res                    : CORRECT
assign_deref_funcall_in_macro_it.res: CORRECT
attr_with_arguments.res       : CORRECT
attradd.res                   : CORRECT
attribute_order.res           : CORRECT
attributeb.res                : CORRECT
attrreplace.res               : CORRECT
attrs2groups.res              : CORRECT
b1.res                        : CORRECT
b2.res                        : CORRECT
bad_iso_example.res           : CORRECT
bad_kfree.res                 : CORRECT
bad_ptr_print.res             : CORRECT
bad_typedef.res               : CORRECT
badcfg.res                    : CORRECT
badexp.res                    : CORRECT
badpos.res                    : CORRECT
badtypedef.res                : CORRECT
badwhen.res                   : CORRECT
badzero.res                   : CORRECT
bc_1.res                      : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
befS.res                      : CORRECT
before.res                    : CORRECT
befored.res                   : CORRECT
ben.res                       : CORRECT
bigin.res                     : CORRECT
bigrepl.res                   : CORRECT
binop.res                     : CORRECT
bitfield.res                  : CORRECT
bitfield_matching.res         : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
boolr.res                     : CORRECT
bracebraceline.res            : CORRECT
braceline.res                 : CORRECT
braces.res                    : CORRECT
branchparen.res               : CORRECT
break.res                     : CORRECT
btf.res                       : CORRECT
bug1.res                      : CORRECT
bugloop.res                   : PROBLEM
   exn = Failure("6: opt only allowed for the elements of a statement list")
bugon.res                     : CORRECT
bus.res                       : CORRECT
cards.res                     : CORRECT
caseprint.res                 : CORRECT
cast.res                      : CORRECT
cast_iso.res                  : CORRECT
castdecl.res                  : CORRECT
cex_snip_field_ok.res         : CORRECT
cex_wishlist_complex1.res     : CORRECT
cex_wishlist_complex2.res     : CORRECT
cex_wishlist_complex3.res     : CORRECT
change.res                    : CORRECT
change_pragma.res             : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
change_type.res               : CORRECT
changei.res                   : PROBLEM
   exn = Coccinelle_modules.Parse_cocci.SMPLParseError("lexical error: unrecognised symbol, in token rule: `\n  File \"tests/changei.cocci\", line 5, column 0, charpos = 100\n  around = '`',\n  whole content = `typedef struct a b` syntax\n")
cocci_args.res                : CORRECT
com.res                       : CORRECT
comadd.res                    : CORRECT
comj.res                      : CORRECT
comma.res                     : CORRECT
comma_call.res                : CORRECT
comma_if.res                  : CORRECT
comment_brace.res             : CORRECT
comment_brace2.res            : CORRECT
comment_line.res              : CORRECT
comment_middle.res            : CORRECT
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         : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
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.res                : INCORRECT:diff token: int VS }
File "tests/decl_split.c", line 2, column 8, charpos = 27
  around = 'int',
  whole content =         int x, y;
File "tests/decl_split.res", line 2, column 0, charpos = 19
  around = '}',
  whole content = }

    diff (result(<) vs expected_result(>)) = 
    @@ -1,3 +1,2 @@
     int func(int i) { 
    -        int x, y;
     }
decl_star.res                 : CORRECT
declend.res                   : CORRECT
declmeta.res                  : CORRECT
defe.res                      : CORRECT
define_exp.res                : CORRECT
define_param.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
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.res      : INCORRECT:diff token: } VS for
File <COCCIOUTPUTFILE>, line 3, column 0, charpos = 13
  around = '}',
  whole content = }
File "tests/dots_in_block_remove.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.res                       : CORRECT
edots.res                     : CORRECT
edots_ver1.res                : CORRECT
efi3.res                      : CORRECT
elsify.res                    : CORRECT
empty.res                     : CORRECT
end_attr.res                  : CORRECT
end_commas.res                : CORRECT
endcomma.res                  : CORRECT
endif.res                     : CORRECT
endmodif.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                     : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
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
fresh_id_script.res           : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
fsh.res                       : CORRECT
fun.res                       : CORRECT
func.res                      : CORRECT
funptr_array.res              : CORRECT
gadget_allocate.res           : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
gadget_gather_scatter.res     : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
gadget_invalidate.res         : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
gadget_mark_used_fields.res   : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
gadget_misc.res               : CORRECT
gadget_ninelets_typedef.res   : CORRECT
gadget_patch.res              : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
gadget_remove_mpi_function_calls.res: CORRECT
gadget_remove_used_fields.res : CORRECT
gadget_sentinel.res           : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
gadget_soa_defs.res           : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
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.res         : INCORRECT:diff token: myattr1_mid VS section
File <COCCIOUTPUTFILE>, line 23, column 20, charpos = 515
  around = 'myattr1_mid',
  whole content = char __attribute__((myattr1_mid)) array1_mid[2];
File "tests/gcc_attr_with_var.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
hashhash.res                  : CORRECT
hd.res                        : CORRECT
headers.res                   : CORRECT
hex.res                       : CORRECT
hil1.res                      : CORRECT
icomma.res                    : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
id3.res                       : CORRECT
id4.res                       : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
idcon_ocaml.res               : CORRECT
idcon_python.res              : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
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
ifdefmeta.res                 : INCORRECT:diff token: + VS #ifdef PLATFORM_A
File <COCCIOUTPUTFILE>, line 3, column 17, charpos = 49
  around = '+',
  whole content =                  + 5 + 50
File "tests/ifdefmeta.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() {
ifdefmeta1.res                : INCORRECT:diff token: #ifdef PLATFORM_A VS }
File <COCCIOUTPUTFILE>, line 2, column 4, charpos = 17
  around = '#ifdef PLATFORM_A',
  whole content =     #ifdef PLATFORM_A
File "tests/ifdefmeta1.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.res                : INCORRECT:diff token: + VS #ifdef PLATFORM_A
File <COCCIOUTPUTFILE>, line 3, column 20, charpos = 52
  around = '+',
  whole content =                     + 5 + 50
File "tests/ifdefmeta4.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
    -            ;
    +            );
     }
     
ifend.res                     : CORRECT
ifgoto.res                    : CORRECT
ifields.res                   : CORRECT
ifif.res                      : CORRECT
ifreturn.res                  : CORRECT
ifreturn3.res                 : CORRECT
ifreturn4.res                 : CORRECT
ifreturn6.res                 : CORRECT
ifzer.res                     : CORRECT
ifzz.res                      : CORRECT
inc.res                       : CORRECT
incdir.res                    : INCORRECT:diff token: x VS 12
File "tests/incdir.c", line 4, column 6, charpos = 46
  around = 'x',
  whole content =   foo(x);
File "tests/incdir.res", line 4, column 6, charpos = 46
  around = '12',
  whole content =   foo(12);

    diff (result(<) vs expected_result(>)) = 
    @@ -1,5 +1,5 @@
     #include "sub/incdir2.c"
     
     int main () {
    -  foo(x);
    +  foo(12);
     }
incl.res                      : CORRECT
incl2.res                     : CORRECT
inclifdef.res                 : CORRECT
include.res                   : CORRECT
incompatible_value.res        : CORRECT
incpos.res                    : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
incpos1.res                   : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
inherited.res                 : CORRECT
inherited_ver1.res            : CORRECT
inhmet.res                    : CORRECT
inhpos.res                    : CORRECT
initializer.res               : CORRECT
initializer_many_fields.res   : CORRECT
initpython.res                : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
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                 : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
iteration_after_merge.res     : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
iterator.res                  : CORRECT
iterprint.res                 : CORRECT
jloop1.res                    : PROBLEM
   exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n  File \"tests/jloop1.cocci\", line 10, column 3, charpos = 129\n  around = '...>',\n  whole content =    ...>\n")
julia10.res                   : CORRECT
julia7.res                    : CORRECT
justremove.res                : CORRECT
keep_comma.res                : CORRECT
km.res                        : CORRECT
kmalloc.res                   : CORRECT
kmc.res                       : CORRECT
kmtest4.res                   : CORRECT
kr.res                        : seems incorrect, but only because of code that was not parsablediff token: foo VS }
File "tests/kr.c", line 6, column 2, charpos = 37
  around = 'foo',
  whole content =   foo();
File "tests/kr.res", line 6, column 0, charpos = 35
  around = '}',
  whole content = }
ktype.res                     : CORRECT
ktype2.res                    : CORRECT
labels_metastatement.res      : CORRECT
labels_metastatement_ver1.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_init.res                : CORRECT
match_no_meta.res             : CORRECT
max.res                       : CORRECT
md1.res                       : CORRECT
md2.res                       : CORRECT
md3.res                       : CORRECT
mdadd.res                     : CORRECT
mdec.res                      : CORRECT
mdecl.res                     : CORRECT
mdeclp.res                    : CORRECT
mdeclp2.res                   : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
mdeclrep.res                  : CORRECT
mdindex.res                   : CORRECT
memory.res                    : CORRECT
merge_after_iteration.res     : CORRECT
merge_after_iteration.stdout  : CORRECT
metaattr.res                  : CORRECT
metahex.res                   : INCORRECT:diff token: f VS }
File "tests/metahex.c", line 2, column 2, charpos = 15
  around = 'f',
  whole content =   f(3);
File "tests/metahex.res", line 2, column 0, charpos = 13
  around = '}',
  whole content = }

    diff (result(<) vs expected_result(>)) = 
    @@ -1,4 +1,2 @@
     int main() {
    -  f(3);
    -  g(0x03);
     }
metaline.res                  : CORRECT
metaops.res                   : CORRECT
metaops0.res                  : CORRECT
metaruleelem.res              : CORRECT
metastatement2.res            : CORRECT
metastatement_for.res         : CORRECT
metastatement_if.res          : CORRECT
mincom.res                    : CORRECT
minenum.res                   : CORRECT
minenum1.res                  : CORRECT
minfn.res                     : CORRECT
mini_null_ref.res             : CORRECT
miniswap.res                  : CORRECT
minstruct.res                 : CORRECT
minusdots.res                 : CORRECT
minusdots_ver1.res            : CORRECT
move_type.res                 : CORRECT
multi.res                     : CORRECT
multi_initialize_finalize.res : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
multichars.res                : CORRECT
multidec.res                  : CORRECT
multidecl3.res                : CORRECT
multipath.res                 : CORRECT
multiplus.res                 : CORRECT
multiremove.res               : CORRECT
multistruct.res               : CORRECT
multitype.res                 : CORRECT
multitypedef.res              : CORRECT
multivars.res                 : CORRECT
mv.res                        : CORRECT
na.res                        : CORRECT
nameless.res                  : CORRECT
nest.res                      : CORRECT
nestadd.res                   : CORRECT
nestone.res                   : CORRECT
nestseq.res                   : CORRECT
neststruct.res                : CORRECT
nl.res                        : CORRECT
noa.res                       : CORRECT
nocast.res                    : CORRECT
noret.res                     : CORRECT
not.res                       : CORRECT
notest.res                    : CORRECT
notnot.res                    : CORRECT
noty.res                      : CORRECT
noty2.res                     : CORRECT
null_bool.res                 : CORRECT
null_type.res                 : CORRECT
oddifdef.res                  : CORRECT
of.res                        : CORRECT
omp.res                       : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
oneline.res                   : CORRECT
op.res                        : CORRECT
opt.res                       : CORRECT
optional_qualifier.res        : CORRECT
optional_storage.res          : CORRECT
orexp.res                     : CORRECT
output.res                    : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
output_init.res               : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
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.res           : CORRECT
parenmac.res                  : CORRECT
partial.res                   : CORRECT
partialmd.res                 : CORRECT
partialmd2.res                : CORRECT
partialmd3.res                : CORRECT
pb_distribute_type.res        : INCORRECT:PB parsing only in generated-file
    diff (result(<) vs expected_result(>)) = 
    @@ -10,6 +10,6 @@
     }
     
     int foo() {
    -  int[45] *x;
    +  int (*x)[45];
       return 0;
     }
pb_distribute_type2.res       : INCORRECT:PB parsing only in generated-file
    diff (result(<) vs expected_result(>)) = 
    @@ -1,5 +1,5 @@
     int foo() {
    -  int * x;
    +  int *x;
       return 0;
     }
     
    @@ -10,6 +10,6 @@
     }
     
     int foo() {
    -  int x[45]*;
    +  int (*x)[45];
       return 0;
     }
pb_distribute_type3.res       : PROBLEM
   exn = Failure("line 7: index 53 53 already used\n")
pb_distribute_type4.res       : CORRECT
pb_params_iso.res             : CORRECT
pb_parsing_macro.res          : CORRECT
pb_tag_symbols.res            : CORRECT
pcim.res                      : CORRECT
pcomma.res                    : CORRECT
pif.res                       : CORRECT
plus33.res                    : CORRECT
pmac.res                      : CORRECT
poscon.res                    : CORRECT
posiso.res                    : CORRECT
positionc.res                 : CORRECT
post.res                      : CORRECT
pragma2.res                   : CORRECT
pragma2a.res                  : CORRECT
pragma3.res                   : CORRECT
pragma_and_block_a.res        : INCORRECT: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
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.res               : CORRECT
putloop.res                   : CORRECT
python_iteration.res          : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
python_mdecl.res              : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
python_mdeclp.res             : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
python_poscon.res             : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
qcom.res                      : CORRECT
qualifier.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.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
sd_2.res                      : CORRECT
serio.res                     : CORRECT
shared_brace.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
smallfn.res                   : CORRECT
snprintf.res                  : CORRECT
sp.res                        : CORRECT
spaces.res                    : CORRECT
spacing.res                   : CORRECT
spl.res                       : CORRECT
split_funcall1.res            : CORRECT
split_funcall2.res            : CORRECT
square.res                    : CORRECT
starprint.res                 : CORRECT
static.res                    : CORRECT
stm1.res                      : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
stm10.res                     : CORRECT
stm10_ver1.res                : CORRECT
stm2.res                      : CORRECT
stm3.res                      : CORRECT
stm4.res                      : CORRECT
stm5.res                      : CORRECT
stm6.res                      : CORRECT
stm7.res                      : PROBLEM
   exn = Failure("Py.find_library: unable to find the Python library [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.13.so returned /usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13m.so returned /usr/lib/libpython3.13m.so: cannot open shared object file: No such file or directory] [libpython3.13.so returned libpython3.13.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.13.so returned /usr/lib/libpython3.13.so: cannot open shared object file: No such file or directory]")
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.res                     : CORRECT
type_and_var.res              : CORRECT
type_and_var2.res             : CORRECT
type_annotated.res            : CORRECT
type_constraints.res          : CORRECT
type_ver1.res                 : CORRECT
type_ver2.res                 : INCORRECT:PB parsing only in generated-file
    diff (result(<) vs expected_result(>)) = 
    @@ -1,5 +1,5 @@
     int foo() {
    -  int[10] *x;
    +  int *x[10];
       return 0;
     }
     
typedef.res                   : CORRECT
typedef3.res                  : INCORRECT:diff token: link VS p_dev
File <COCCIOUTPUTFILE>, line 7, column 29, charpos = 137
  around = 'link',
  whole content = 	unsigned int iobase = info->link.io.BasePort1;
File "tests/typedef3.res", line 7, column 29, charpos = 137
  around = 'p_dev',
  whole content = 	unsigned int iobase = info->p_dev->io.BasePort1;

    diff (result(<) vs expected_result(>)) = 
    @@ -4,7 +4,7 @@
     
     static void should_work(foo *info)
     {
    -	unsigned int iobase = info->link.io.BasePort1;
    +	unsigned int iobase = info->p_dev->io.BasePort1;
     }
     
     static void does_work(struct bluecard_info_t *info)
typedef_double.res            : CORRECT
typeof.res                    : CORRECT
typeof_expr.res               : CORRECT
typeofconst_i32l64.res        : CORRECT
typeofconst_il32.res          : CORRECT
typin.res                     : CORRECT
uc.res                        : CORRECT
unbrace.res                   : CORRECT
undref.res                    : CORRECT
undref2.res                   : CORRECT
undref3.res                   : CORRECT
unelse.res                    : CORRECT
unfree.res                    : CORRECT
unl.res                       : CORRECT
unstruct.res                  : INCORRECT:not same number of entities (func, decl, ...)
    diff (result(<) vs expected_result(>)) = 
    @@ -1,4 +1,2 @@
     
     
    -foo_t 
    -
unused.res                    : CORRECT
updassign.res                 : CORRECT
useless_cast.res              : CORRECT
varargs.res                   : CORRECT
varargs2.res                  : CORRECT
varargs3.res                  : CORRECT
video1bis.res                 : CORRECT
void.res                      : CORRECT
vpos.res                      : CORRECT
wchar.res                     : CORRECT
weird_argument.res            : CORRECT
weirdinit.res                 : seems incorrect, but only because of code that was not parsablediff token: dev_link_t VS struct
File "tests/weirdinit.c", line 4, column 1, charpos = 27
  around = 'dev_link_t',
  whole content = 	dev_link_t *link;
File "tests/weirdinit.res", line 4, column 1, charpos = 27
  around = 'struct',
  whole content = 	struct pcmcia_device *link;
whitespace.res                : CORRECT
wrongcheck.res                : CORRECT
ws2.res                       : CORRECT
xfield.res                    : CORRECT
y2.res                        : CORRECT
zero.res                      : CORRECT
zeroline.res                  : CORRECT
--------------------------------
regression testing  information
--------------------------------
regression file: tests/SCORE_expected.sexp
new test file appeared: 62.res
new test file appeared: a.res
new test file appeared: a3.res
new test file appeared: a3d.res
new test file appeared: a_and_e.res
new test file appeared: a_and_e_ver1.res
new test file appeared: ab.res
new test file appeared: action.res
new test file appeared: add1.res
new test file appeared: addaft.res
new test file appeared: addafterdecl.res
new test file appeared: addbefore.res
new test file appeared: addbeforeafter.res
new test file appeared: addcomm.res
new test file appeared: addelse.res
new test file appeared: addes.res
new test file appeared: addfield.res
new test file appeared: addfield2.res
new test file appeared: addif.res
new test file appeared: addif1.res
new test file appeared: addif2.res
new test file appeared: addifdef.res
new test file appeared: addifelse.res
new test file appeared: addifelse2.res
new test file appeared: addinc.res
new test file appeared: addnl.res
new test file appeared: addtoo.res
new test file appeared: addtrace.res
new test file appeared: after_if.res
new test file appeared: allex.res
new test file appeared: allex2.res
new test file appeared: allex3.res
new test file appeared: andid.res
new test file appeared: anon.res
new test file appeared: anonfield.res
new test file appeared: ar.res
new test file appeared: arg.res
new test file appeared: argument.res
new test file appeared: arparam.res
new test file appeared: array_init.res
new test file appeared: array_size.res
new test file appeared: arraysz.res
new test file appeared: as_stm.res
new test file appeared: assign_deref_funcall_in_macro_it.res
new test file appeared: attr_with_arguments.res
new test file appeared: attradd.res
new test file appeared: attribute_order.res
new test file appeared: attributeb.res
new test file appeared: attrreplace.res
new test file appeared: attrs2groups.res
new test file appeared: b1.res
new test file appeared: b2.res
new test file appeared: bad_iso_example.res
new test file appeared: bad_kfree.res
new test file appeared: bad_ptr_print.res
new test file appeared: bad_typedef.res
new test file appeared: badcfg.res
new test file appeared: badexp.res
new test file appeared: badpos.res
new test file appeared: badtypedef.res
new test file appeared: badwhen.res
new test file appeared: badzero.res
new test file appeared: bc_1.res
new test file appeared: befS.res
new test file appeared: before.res
new test file appeared: befored.res
new test file appeared: ben.res
new test file appeared: bigin.res
new test file appeared: bigrepl.res
new test file appeared: binop.res
new test file appeared: bitfield.res
new test file appeared: bitfield_matching.res
new test file appeared: boolr.res
new test file appeared: bracebraceline.res
new test file appeared: braceline.res
new test file appeared: braces.res
new test file appeared: branchparen.res
new test file appeared: break.res
new test file appeared: btf.res
new test file appeared: bug1.res
new test file appeared: bugloop.res
new test file appeared: bugon.res
new test file appeared: bus.res
new test file appeared: cards.res
new test file appeared: caseprint.res
new test file appeared: cast.res
new test file appeared: cast_iso.res
new test file appeared: castdecl.res
new test file appeared: cex_snip_field_ok.res
new test file appeared: cex_wishlist_complex1.res
new test file appeared: cex_wishlist_complex2.res
new test file appeared: cex_wishlist_complex3.res
new test file appeared: change.res
new test file appeared: change_pragma.res
new test file appeared: change_type.res
new test file appeared: changei.res
new test file appeared: cocci_args.res
new test file appeared: com.res
new test file appeared: comadd.res
new test file appeared: comj.res
new test file appeared: comma.res
new test file appeared: comma_call.res
new test file appeared: comma_if.res
new test file appeared: comment_brace.res
new test file appeared: comment_brace2.res
new test file appeared: comment_line.res
new test file appeared: comment_middle.res
new test file appeared: commentbefore.res
new test file appeared: commentbefore2.res
new test file appeared: commentend.res
new test file appeared: comments.res
new test file appeared: compare.res
new test file appeared: compare_const.res
new test file appeared: compare_const2.res
new test file appeared: comreturn.res
new test file appeared: condexp.res
new test file appeared: const.res
new test file appeared: const1bis.res
new test file appeared: const_adding.res
new test file appeared: const_array.res
new test file appeared: const_implicit_iso.res
new test file appeared: constptr.res
new test file appeared: constraints.res
new test file appeared: constrem.res
new test file appeared: constructor.res
new test file appeared: constty.res
new test file appeared: constx.res
new test file appeared: countcalls.res
new test file appeared: countcalls.stdout
new test file appeared: countcalls_python.res
new test file appeared: cptr.res
new test file appeared: cr.res
new test file appeared: cr1a.res
new test file appeared: cs_check.res
new test file appeared: cst.res
new test file appeared: cst_null.res
new test file appeared: cstr.res
new test file appeared: cststr.res
new test file appeared: csw.res
new test file appeared: dbg.res
new test file appeared: dbg1.res
new test file appeared: dc_close.res
new test file appeared: debug.res
new test file appeared: dec.res
new test file appeared: decadd.res
new test file appeared: decdup.res
new test file appeared: decdup2.res
new test file appeared: decdup3.res
new test file appeared: decdup4.res
new test file appeared: decl.res
new test file appeared: decl2.res
new test file appeared: decl_space.res
new test file appeared: decl_split.res
new test file appeared: decl_star.res
new test file appeared: declend.res
new test file appeared: declmeta.res
new test file appeared: defe.res
new test file appeared: define_exp.res
new test file appeared: define_param.res
new test file appeared: definedots.res
new test file appeared: defineinit.res
new test file appeared: deftodo.res
new test file appeared: del2.res
new test file appeared: delete_function.res
new test file appeared: delp.res
new test file appeared: depfail.res
new test file appeared: deref.res
new test file appeared: destroy.res
new test file appeared: detect_cast_attr.res
new test file appeared: detect_macrodecl_attr.res
new test file appeared: detect_param_attr.res
new test file appeared: detect_struct_endattr.res
new test file appeared: detect_struct_gccattr.res
new test file appeared: devlink.res
new test file appeared: disj.res
new test file appeared: disjexpr.res
new test file appeared: disjexpr_ver1.res
new test file appeared: disjexpr_ver2.res
new test file appeared: disjid.res
new test file appeared: distribute.res
new test file appeared: dotcall.res
new test file appeared: dots_comma.res
new test file appeared: dots_in_block_remove.res
new test file appeared: double.res
new test file appeared: double_assign.res
new test file appeared: double_lines.res
new test file appeared: double_switch.res
new test file appeared: doubleconst.res
new test file appeared: doubleconst2.res
new test file appeared: doubleconst4.res
new test file appeared: doublepos.res
new test file appeared: doubleswitch.res
new test file appeared: doundo.res
new test file appeared: dowhile.res
new test file appeared: dowhile_4.res
new test file appeared: dowhile_for_complex.res
new test file appeared: dowhile_nested.res
new test file appeared: dropbr.res
new test file appeared: dropcom.res
new test file appeared: dropenderr.res
new test file appeared: dropf.res
new test file appeared: dropparam.res
new test file appeared: dtest.res
new test file appeared: eb1.res
new test file appeared: edots.res
new test file appeared: edots_ver1.res
new test file appeared: efi3.res
new test file appeared: elsify.res
new test file appeared: empty.res
new test file appeared: end_attr.res
new test file appeared: end_commas.res
new test file appeared: endcomma.res
new test file appeared: endif.res
new test file appeared: endmodif.res
new test file appeared: endnl.res
new test file appeared: endpos.res
new test file appeared: enum.res
new test file appeared: enum_assign.res
new test file appeared: enumcast.res
new test file appeared: enumdots.res
new test file appeared: exitc.res
new test file appeared: exitp.res
new test file appeared: exp.res
new test file appeared: expnest.res
new test file appeared: expopt.res
new test file appeared: expopt2.res
new test file appeared: expopt3.res
new test file appeared: expopt3_ver1.res
new test file appeared: expopt3_ver2.res
new test file appeared: exprlist_comma.res
new test file appeared: exprun.res
new test file appeared: extra.res
new test file appeared: failing_andany.res
new test file appeared: far.res
new test file appeared: far2.res
new test file appeared: fields.res
new test file appeared: fieldsmin.res
new test file appeared: finalize_only.res
new test file appeared: finalize_only.stdout
new test file appeared: find_long.res
new test file appeared: finish.res
new test file appeared: firstdecl.res
new test file appeared: fix_flow_need.res
new test file appeared: flex.res
new test file appeared: fltst.res
new test file appeared: fn_todo.res
new test file appeared: fnptr.res
new test file appeared: fnret.res
new test file appeared: fnty.res
new test file appeared: fntypedef.res
new test file appeared: for3.res
new test file appeared: fordots.res
new test file appeared: format.res
new test file appeared: format2.res
new test file appeared: formatlist.res
new test file appeared: fortest.res
new test file appeared: fortype.res
new test file appeared: four.res
new test file appeared: foura.res
new test file appeared: fp.res
new test file appeared: fptr.res
new test file appeared: fptr2.res
new test file appeared: fptr3.res
new test file appeared: fresh_id_script.res
new test file appeared: fsh.res
new test file appeared: fun.res
new test file appeared: func.res
new test file appeared: funptr_array.res
new test file appeared: gadget_allocate.res
new test file appeared: gadget_gather_scatter.res
new test file appeared: gadget_invalidate.res
new test file appeared: gadget_mark_used_fields.res
new test file appeared: gadget_misc.res
new test file appeared: gadget_ninelets_typedef.res
new test file appeared: gadget_patch.res
new test file appeared: gadget_remove_mpi_function_calls.res
new test file appeared: gadget_remove_used_fields.res
new test file appeared: gadget_sentinel.res
new test file appeared: gadget_soa_defs.res
new test file appeared: gadget_soa_select.res
new test file appeared: gadget_sorting_hook.res
new test file appeared: gadget_triplets_typedef.res
new test file appeared: gadget_triplets_typedef_ipcc.res
new test file appeared: gcc_attr_with_func.res
new test file appeared: gcc_attr_with_var.res
new test file appeared: gcc_min_max.res
new test file appeared: getc.res
new test file appeared: gilles-question.res
new test file appeared: globali.res
new test file appeared: gotobreak.res
new test file appeared: hashhash.res
new test file appeared: hd.res
new test file appeared: headers.res
new test file appeared: hex.res
new test file appeared: hil1.res
new test file appeared: icomma.res
new test file appeared: id3.res
new test file appeared: id4.res
new test file appeared: idcon_ocaml.res
new test file appeared: idcon_python.res
new test file appeared: identcall.res
new test file appeared: idstr.res
new test file appeared: if.res
new test file appeared: ifadd.res
new test file appeared: ifbr.res
new test file appeared: ifd.res
new test file appeared: ifdef1.res
new test file appeared: ifdef2.res
new test file appeared: ifdef3.res
new test file appeared: ifdef4.res
new test file appeared: ifdef5.res
new test file appeared: ifdef6.res
new test file appeared: ifdef6a.res
new test file appeared: ifdefmeta.res
new test file appeared: ifdefmeta1.res
new test file appeared: ifdefmeta2.res
new test file appeared: ifdefmeta3.res
new test file appeared: ifdefmeta4.res
new test file appeared: ifend.res
new test file appeared: ifgoto.res
new test file appeared: ifields.res
new test file appeared: ifif.res
new test file appeared: ifreturn.res
new test file appeared: ifreturn3.res
new test file appeared: ifreturn4.res
new test file appeared: ifreturn6.res
new test file appeared: ifzer.res
new test file appeared: ifzz.res
new test file appeared: inc.res
new test file appeared: incdir.res
new test file appeared: incl.res
new test file appeared: incl2.res
new test file appeared: inclifdef.res
new test file appeared: include.res
new test file appeared: incompatible_value.res
new test file appeared: incpos.res
new test file appeared: incpos1.res
new test file appeared: inherited.res
new test file appeared: inherited_ver1.res
new test file appeared: inhmet.res
new test file appeared: inhpos.res
new test file appeared: initializer.res
new test file appeared: initializer_many_fields.res
new test file appeared: initpython.res
new test file appeared: inline.res
new test file appeared: insdef.res
new test file appeared: int2bool-local.res
new test file appeared: introbrace.res
new test file appeared: invert.res
new test file appeared: ip.res
new test file appeared: ip2.res
new test file appeared: isococci.res
new test file appeared: isoif.res
new test file appeared: isotest.res
new test file appeared: isotest2.res
new test file appeared: iteration.res
new test file appeared: iteration_after_merge.res
new test file appeared: iterator.res
new test file appeared: iterprint.res
new test file appeared: jloop1.res
new test file appeared: julia10.res
new test file appeared: julia7.res
new test file appeared: justremove.res
new test file appeared: keep_comma.res
new test file appeared: km.res
new test file appeared: kmalloc.res
new test file appeared: kmc.res
new test file appeared: kmtest4.res
new test file appeared: kr.res
new test file appeared: ktype.res
new test file appeared: ktype2.res
new test file appeared: labels_metastatement.res
new test file appeared: labels_metastatement_ver1.res
new test file appeared: lessone.res
new test file appeared: lfe.res
new test file appeared: lid.res
new test file appeared: line_before_last.res
new test file appeared: lineseq.res
new test file appeared: list_test.res
new test file appeared: local.res
new test file appeared: localglobal.res
new test file appeared: localid.res
new test file appeared: localmacroparams.res
new test file appeared: log.res
new test file appeared: long.res
new test file appeared: longconst.res
new test file appeared: longline2.res
new test file appeared: longlong.res
new test file appeared: longlongint.res
new test file appeared: loop.res
new test file appeared: lvalue.res
new test file appeared: macro.res
new test file appeared: macro_before_bool.res
new test file appeared: macro_int16.res
new test file appeared: macro_params.res
new test file appeared: match_init.res
new test file appeared: match_no_meta.res
new test file appeared: max.res
new test file appeared: md1.res
new test file appeared: md2.res
new test file appeared: md3.res
new test file appeared: mdadd.res
new test file appeared: mdec.res
new test file appeared: mdecl.res
new test file appeared: mdeclp.res
new test file appeared: mdeclp2.res
new test file appeared: mdeclrep.res
new test file appeared: mdindex.res
new test file appeared: memory.res
new test file appeared: merge_after_iteration.res
new test file appeared: merge_after_iteration.stdout
new test file appeared: metaattr.res
new test file appeared: metahex.res
new test file appeared: metaline.res
new test file appeared: metaops.res
new test file appeared: metaops0.res
new test file appeared: metaruleelem.res
new test file appeared: metastatement2.res
new test file appeared: metastatement_for.res
new test file appeared: metastatement_if.res
new test file appeared: mincom.res
new test file appeared: minenum.res
new test file appeared: minenum1.res
new test file appeared: minfn.res
new test file appeared: mini_null_ref.res
new test file appeared: miniswap.res
new test file appeared: minstruct.res
new test file appeared: minusdots.res
new test file appeared: minusdots_ver1.res
new test file appeared: move_type.res
new test file appeared: multi.res
new test file appeared: multi_initialize_finalize.res
new test file appeared: multichars.res
new test file appeared: multidec.res
new test file appeared: multidecl3.res
new test file appeared: multipath.res
new test file appeared: multiplus.res
new test file appeared: multiremove.res
new test file appeared: multistruct.res
new test file appeared: multitype.res
new test file appeared: multitypedef.res
new test file appeared: multivars.res
new test file appeared: mv.res
new test file appeared: na.res
new test file appeared: nameless.res
new test file appeared: nest.res
new test file appeared: nestadd.res
new test file appeared: nestone.res
new test file appeared: nestseq.res
new test file appeared: neststruct.res
new test file appeared: nl.res
new test file appeared: noa.res
new test file appeared: nocast.res
new test file appeared: noret.res
new test file appeared: not.res
new test file appeared: notest.res
new test file appeared: notnot.res
new test file appeared: noty.res
new test file appeared: noty2.res
new test file appeared: null_bool.res
new test file appeared: null_type.res
new test file appeared: oddifdef.res
new test file appeared: of.res
new test file appeared: omp.res
new test file appeared: oneline.res
new test file appeared: op.res
new test file appeared: opt.res
new test file appeared: optional_qualifier.res
new test file appeared: optional_storage.res
new test file appeared: orexp.res
new test file appeared: output.res
new test file appeared: output_init.res
new test file appeared: overshoot.res
new test file appeared: p1p2.res
new test file appeared: p9.res
new test file appeared: pa.res
new test file appeared: packed.res
new test file appeared: param.res
new test file appeared: param_end.res
new test file appeared: param_to_exp.res
new test file appeared: param_ver1.res
new test file appeared: parameters_dots.res
new test file appeared: parenmac.res
new test file appeared: partial.res
new test file appeared: partialmd.res
new test file appeared: partialmd2.res
new test file appeared: partialmd3.res
new test file appeared: pb_distribute_type.res
new test file appeared: pb_distribute_type2.res
new test file appeared: pb_distribute_type3.res
new test file appeared: pb_distribute_type4.res
new test file appeared: pb_params_iso.res
new test file appeared: pb_parsing_macro.res
new test file appeared: pb_tag_symbols.res
new test file appeared: pcim.res
new test file appeared: pcomma.res
new test file appeared: pif.res
new test file appeared: plus33.res
new test file appeared: pmac.res
new test file appeared: poscon.res
new test file appeared: posiso.res
new test file appeared: positionc.res
new test file appeared: post.res
new test file appeared: pragma2.res
new test file appeared: pragma2a.res
new test file appeared: pragma3.res
new test file appeared: pragma_and_block_a.res
new test file appeared: pragma_and_block_b.res
new test file appeared: pragmainfo_multiline.res
new test file appeared: pragmatest1.res
new test file appeared: pragmatest2.res
new test file appeared: print_return.res
new test file appeared: proto.res
new test file appeared: proto2.res
new test file appeared: proto_ver1.res
new test file appeared: proto_ver2.res
new test file appeared: protoassert.res
new test file appeared: protox.res
new test file appeared: ptrar.res
new test file appeared: ptrconstptr.res
new test file appeared: putloop.res
new test file appeared: python_iteration.res
new test file appeared: python_mdecl.res
new test file appeared: python_mdeclp.res
new test file appeared: python_poscon.res
new test file appeared: qcom.res
new test file appeared: qualifier.res
new test file appeared: range.res
new test file appeared: rb.res
new test file appeared: rcu3.res
new test file appeared: refl.res
new test file appeared: regesc.res
new test file appeared: regexp.res
new test file appeared: regexp2.res
new test file appeared: regexp3.res
new test file appeared: relevant_position.res
new test file appeared: rem1.res
new test file appeared: rem2.res
new test file appeared: remaft.res
new test file appeared: remcom.res
new test file appeared: remcom2.res
new test file appeared: remodif.res
new test file appeared: remove-code-in-branch1.res
new test file appeared: remove_call.res
new test file appeared: remove_cast_attr.res
new test file appeared: remove_cast_attr_allminus.res
new test file appeared: remove_macrodecl_attr.res
new test file appeared: remove_metaattr.res
new test file appeared: remove_param_attrs.res
new test file appeared: remove_struct_endattr.res
new test file appeared: remove_struct_endattr_allminus.res
new test file appeared: remparam.res
new test file appeared: rems.res
new test file appeared: rems1.res
new test file appeared: remstruct.res
new test file appeared: remu.res
new test file appeared: replace_typedef.res
new test file appeared: replacement3.res
new test file appeared: reserved.res
new test file appeared: retest.res
new test file appeared: retmacro.res
new test file appeared: rets.res
new test file appeared: return.res
new test file appeared: return_implicit.res
new test file appeared: retval.res
new test file appeared: retval2.res
new test file appeared: reusevar.res
new test file appeared: ringbuf.res
new test file appeared: roa.res
new test file appeared: roinit.res
new test file appeared: rptr.res
new test file appeared: saft.res
new test file appeared: saft2.res
new test file appeared: same_expr.res
new test file appeared: sbef.res
new test file appeared: sbef2.res
new test file appeared: scope_problem.res
new test file appeared: sd_2.res
new test file appeared: serio.res
new test file appeared: shared_brace.res
new test file appeared: signed.res
new test file appeared: sis.res
new test file appeared: sizeof.res
new test file appeared: sizeof_julia.res
new test file appeared: sizeptr.res
new test file appeared: sizestar.res
new test file appeared: sizet1.res
new test file appeared: skip.res
new test file appeared: sl2.res
new test file appeared: slen.res
new test file appeared: smallfn.res
new test file appeared: snprintf.res
new test file appeared: sp.res
new test file appeared: spaces.res
new test file appeared: spacing.res
new test file appeared: spl.res
new test file appeared: split_funcall1.res
new test file appeared: split_funcall2.res
new test file appeared: square.res
new test file appeared: starprint.res
new test file appeared: static.res
new test file appeared: stm1.res
new test file appeared: stm10.res
new test file appeared: stm10_ver1.res
new test file appeared: stm2.res
new test file appeared: stm3.res
new test file appeared: stm4.res
new test file appeared: stm5.res
new test file appeared: stm6.res
new test file appeared: stm7.res
new test file appeared: stm8.res
new test file appeared: stm_exp.res
new test file appeared: stmt.res
new test file appeared: stmt_removed_and_added.res
new test file appeared: str_init.res
new test file appeared: strangeorder.res
new test file appeared: strid.res
new test file appeared: strid2.res
new test file appeared: string.res
new test file appeared: strtest.res
new test file appeared: struct.res
new test file appeared: struct_metavar.res
new test file appeared: struct_typedef.res
new test file appeared: structfoo.res
new test file appeared: structptr_func.res
new test file appeared: substruct.res
new test file appeared: sw.res
new test file appeared: swap3.res
new test file appeared: switch.res
new test file appeared: switchdecl.res
new test file appeared: symbol.res
new test file appeared: td.res
new test file appeared: tdnl.res
new test file appeared: tdplus.res
new test file appeared: tern.res
new test file appeared: test0.res
new test file appeared: test1.res
new test file appeared: test10.res
new test file appeared: test10_ver1.res
new test file appeared: test11.res
new test file appeared: test11_ver1.res
new test file appeared: test12.res
new test file appeared: test2.res
new test file appeared: test3.res
new test file appeared: test4.res
new test file appeared: test5.res
new test file appeared: test5_ver1.res
new test file appeared: test6.res
new test file appeared: test7.res
new test file appeared: test8.res
new test file appeared: test9.res
new test file appeared: test_s.res
new test file appeared: test_unsigned_meta.res
new test file appeared: testand.res
new test file appeared: testand2.res
new test file appeared: three_types.res
new test file appeared: threea.res
new test file appeared: tloop.res
new test file appeared: top.res
new test file appeared: topdec.res
new test file appeared: topdec_ver1.res
new test file appeared: topdec_ver2.res
new test file appeared: topdecl.res
new test file appeared: toplevel_macrostmt.res
new test file appeared: toplevel_struct.res
new test file appeared: triplet.res
new test file appeared: tup.res
new test file appeared: twomatch.res
new test file appeared: twoproto.res
new test file appeared: ty.res
new test file appeared: ty1.res
new test file appeared: ty_tyexp.res
new test file appeared: tydisj.res
new test file appeared: tyex.res
new test file appeared: type.res
new test file appeared: type1.res
new test file appeared: type_and_var.res
new test file appeared: type_and_var2.res
new test file appeared: type_annotated.res
new test file appeared: type_constraints.res
new test file appeared: type_ver1.res
new test file appeared: type_ver2.res
new test file appeared: typedef.res
new test file appeared: typedef3.res
new test file appeared: typedef_double.res
new test file appeared: typeof.res
new test file appeared: typeof_expr.res
new test file appeared: typeofconst_i32l64.res
new test file appeared: typeofconst_il32.res
new test file appeared: typin.res
new test file appeared: uc.res
new test file appeared: unbrace.res
new test file appeared: undref.res
new test file appeared: undref2.res
new test file appeared: undref3.res
new test file appeared: unelse.res
new test file appeared: unfree.res
new test file appeared: unl.res
new test file appeared: unstruct.res
new test file appeared: unused.res
new test file appeared: updassign.res
new test file appeared: useless_cast.res
new test file appeared: varargs.res
new test file appeared: varargs2.res
new test file appeared: varargs3.res
new test file appeared: video1bis.res
new test file appeared: void.res
new test file appeared: vpos.res
new test file appeared: wchar.res
new test file appeared: weird_argument.res
new test file appeared: weirdinit.res
new test file appeared: whitespace.res
new test file appeared: wrongcheck.res
new test file appeared: ws2.res
new test file appeared: xfield.res
new test file appeared: y2.res
new test file appeared: zero.res
new test file appeared: zeroline.res
--------------------------------
total score
--------------------------------
good = 666/718
Current score is greater than expected :)
(was expecting 0 but got 666)
make[2]: Leaving directory '/build/reproducible-path/coccinelle-1.3.0.deb'
make[1]: Leaving directory '/build/reproducible-path/coccinelle-1.3.0.deb'
   create-stamp debian/debhelper-build-stamp
   dh_prep
   dh_installdirs
   debian/rules override_dh_auto_install-arch
make[1]: Entering directory '/build/reproducible-path/coccinelle-1.3.0.deb'
/usr/bin/make DESTDIR=/build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle install install-bash
make[2]: Entering directory '/build/reproducible-path/coccinelle-1.3.0.deb'
mkdir -p /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/bin /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/lib/coccinelle
mkdir -p /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/lib/coccinelle/ocaml
if test -f bundles/pyml/dllpyml_stubs.so; then \
	/usr/bin/install -c -m 755 bundles/pyml/dllpyml_stubs.so \
		/build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/lib/coccinelle; \
fi
if test -f bundles/pcre/dllpcre_stubs.so; then \
	/usr/bin/install -c -m 755 bundles/pcre/dllpcre_stubs.so \
		/build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/lib/coccinelle; \
fi
/usr/bin/install -c -m 755 spatch /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/bin/spatch
/usr/bin/install -c -m 644 standard.h /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/lib/coccinelle
/usr/bin/install -c -m 644 standard.iso /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/lib/coccinelle
/usr/bin/install -c -m 644 ocaml/*.cmi /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/lib/coccinelle/ocaml/
if test -f ocaml/coccilib.cmx; then \
	/usr/bin/install -c -m 644 ocaml/*.cmx /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/lib/coccinelle/ocaml/; \
fi
/usr/bin/install -c -m 755 tools/spgen/source/spgen \
	 /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/bin/spgen
mkdir -p /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/lib/coccinelle/python/coccilib
/usr/bin/install -c -m 644 python/coccilib/*.py \
	/build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/lib/coccinelle/python/coccilib
if test "x/usr/share/bash-completion/completions" != "xno"; then \
	mkdir -p /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/bash-completion/completions; \
	/usr/bin/install -c -m 644 scripts/spatch.bash_completion \
		/build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/bash-completion/completions/spatch; \
fi
mkdir -p /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/man/man1
mkdir -p /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/man/man3
/usr/bin/install -c -m 644 docs/spatch.1 /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/man/man1/
/usr/bin/install -c -m 644 docs/pycocci.1 /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/man/man1/
/usr/bin/install -c -m 644 docs/spgen.1 /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/man/man1/
/usr/bin/install -c -m 644 docs/Coccilib.3cocci /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/man/man3/
make[2]: Nothing to be done for 'install-bash'.
make[2]: Leaving directory '/build/reproducible-path/coccinelle-1.3.0.deb'
# Vim files
install -d /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/vim/addons/ftdetect /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/vim/addons/syntax
cp /build/reproducible-path/coccinelle-1.3.0.deb/editors/vim/ftdetect/cocci.vim /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/vim/addons/ftdetect/
cp /build/reproducible-path/coccinelle-1.3.0.deb/editors/vim/syntax/cocci.vim /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/vim/addons/syntax/
install -d /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/vim/registry
cp /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle.yaml /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/vim/registry/
# Emacs files
cp /build/reproducible-path/coccinelle-1.3.0.deb/editors/emacs/cocci.el /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/emacs/site-lisp/
make[1]: Leaving directory '/build/reproducible-path/coccinelle-1.3.0.deb'
   dh_ocamldoc
   dh_installdocs
   dh_installchangelogs
   dh_installman
   dh_installemacsen
   dh_python3
   dh_perl
   dh_link
   dh_strip_nondeterminism
   debian/rules override_dh_compress
make[1]: Entering directory '/build/reproducible-path/coccinelle-1.3.0.deb'
dh_compress -X.pdf -X.cocci -X.c
make[1]: Leaving directory '/build/reproducible-path/coccinelle-1.3.0.deb'
   dh_fixperms
   dh_missing
   dh_dwz -a
   dh_strip -a
   dh_makeshlibs -a
   dh_shlibdeps -a
dpkg-shlibdeps: warning: diversions involved - output may be incorrect
 diversion by libc6 from: /lib/ld-linux-armhf.so.3
dpkg-shlibdeps: warning: diversions involved - output may be incorrect
 diversion by libc6 to: /lib/ld-linux-armhf.so.3.usr-is-merged
   dh_installdeb
   dh_ocaml
W: coccinelle doesn't resolve dependency on unit Ograph_extended
W: coccinelle doesn't resolve dependency on unit Parsing_stat
W: coccinelle doesn't resolve dependency on unit Cpp_token_c
W: coccinelle doesn't resolve dependency on unit Token_annot
W: coccinelle doesn't resolve dependency on unit Token_views_c
W: coccinelle doesn't resolve dependency on unit Control_flow_c
W: coccinelle doesn't resolve dependency on unit Lexer_parser
   dh_gencontrol
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'coccinelle' in '../coccinelle_1.3.0.deb-1_armhf.deb'.
dpkg-deb: building package 'coccinelle-dbgsym' in '../coccinelle-dbgsym_1.3.0.deb-1_armhf.deb'.
 dpkg-genbuildinfo --build=binary -O../coccinelle_1.3.0.deb-1_armhf.buildinfo
 dpkg-genchanges --build=binary -O../coccinelle_1.3.0.deb-1_armhf.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
dpkg-genchanges: info: including full source code in upload
I: copying local configuration
I: user script /srv/workspace/pbuilder/5771/tmp/hooks/B01_cleanup starting
I: user script /srv/workspace/pbuilder/5771/tmp/hooks/B01_cleanup finished
I: unmounting dev/ptmx filesystem
I: unmounting dev/pts filesystem
I: unmounting dev/shm filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
I: cleaning the build env 
I: removing directory /srv/workspace/pbuilder/5771 and its subdirectories
I: Current time: Wed Jan 22 14:51:27 +14 2025
I: pbuilder-time-stamp: 1737507087