Warning: Permanently added '3.87.173.211' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/8240712-fedora-39-x86_64 --chroot fedora-39-x86_64 Version: 1.1 PID: 7372 Logging PID: 7373 Task: {'allow_user_ssh': False, 'appstream': False, 'background': False, 'build_id': 8240712, 'buildroot_pkgs': [], 'chroot': 'fedora-39-x86_64', 'enable_net': False, 'fedora_review': True, 'git_hash': 'ad93ddc5200b503c4a6c66f2b057980a11143d34', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/@fedora-review/fedora-review-2325026-chibicc/chibicc', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'chibicc', 'package_version': '0.0^20201207.90d1f7f-1', 'project_dirname': 'fedora-review-2325026-chibicc', 'project_name': 'fedora-review-2325026-chibicc', 'project_owner': '@fedora-review', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2325026-chibicc/fedora-39-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': '@fedora-review/fedora-review-2325026-chibicc--frostyx', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': 0, 'submitter': 'frostyx', 'tags': [], 'task_id': '8240712-fedora-39-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/@fedora-review/fedora-review-2325026-chibicc/chibicc /var/lib/copr-rpmbuild/workspace/workdir-fbhxrqm0/chibicc --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/@fedora-review/fedora-review-2325026-chibicc/chibicc', '/var/lib/copr-rpmbuild/workspace/workdir-fbhxrqm0/chibicc', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-fbhxrqm0/chibicc'... Running: git checkout ad93ddc5200b503c4a6c66f2b057980a11143d34 -- cmd: ['git', 'checkout', 'ad93ddc5200b503c4a6c66f2b057980a11143d34', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-fbhxrqm0/chibicc rc: 0 stdout: stderr: Note: switching to 'ad93ddc5200b503c4a6c66f2b057980a11143d34'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at ad93ddc automatic import of chibicc Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-fbhxrqm0/chibicc rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading chibicc-90d1f7f.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o chibicc-90d1f7f.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/@fedora-review/fedora-review-2325026-chibicc/chibicc/chibicc-90d1f7f.tar.gz/md5/eafaf543fcab737639c9ed34d369e421/chibicc-90d1f7f.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 83814 100 83814 0 0 5519k 0 --:--:-- --:--:-- --:--:-- 5846k INFO: Reading stdout from command: md5sum chibicc-90d1f7f.tar.gz /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-fbhxrqm0/chibicc/chibicc.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-fbhxrqm0/chibicc --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1731320125.212919 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 5.9 starting (python version = 3.12.1, NVR = mock-5.9-1.fc39), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-fbhxrqm0/chibicc/chibicc.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-fbhxrqm0/chibicc --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1731320125.212919 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-fbhxrqm0/chibicc/chibicc.spec) Config(fedora-39-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 5.9 INFO: Mock Version: 5.9 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-39-x86_64-bootstrap-1731320125.212919/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using bootstrap image: registry.fedoraproject.org/fedora:39 INFO: Pulling image: registry.fedoraproject.org/fedora:39 INFO: Copy content of container registry.fedoraproject.org/fedora:39 to /var/lib/mock/fedora-39-x86_64-bootstrap-1731320125.212919/root INFO: Checking that registry.fedoraproject.org/fedora:39 image matches host's architecture INFO: mounting registry.fedoraproject.org/fedora:39 with podman image mount INFO: image registry.fedoraproject.org/fedora:39 as /var/lib/containers/storage/overlay/6ea7c18c77ddffafb478d2a6aa77e252f968eae7c8aa069b31b3c09a78d2ed97/merged INFO: umounting image registry.fedoraproject.org/fedora:39 (/var/lib/containers/storage/overlay/6ea7c18c77ddffafb478d2a6aa77e252f968eae7c8aa069b31b3c09a78d2ed97/merged) with podman image umount INFO: Package manager dnf4 detected and used (fallback) INFO: Bootstrap image not marked ready Start(bootstrap): installing dnf tooling No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 14 kB/s | 2.5 kB 00:00 fedora 62 MB/s | 89 MB 00:01 updates 70 MB/s | 42 MB 00:00 Package python3-dnf-4.21.1-1.fc39.noarch is already installed. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: python3-dnf-plugins-core noarch 4.9.0-1.fc39 updates 320 k Installing dependencies: dbus-libs x86_64 1:1.14.10-1.fc39 fedora 156 k python3-dateutil noarch 1:2.8.2-10.fc39 fedora 355 k python3-dbus x86_64 1.3.2-4.fc39 fedora 157 k python3-distro noarch 1.8.0-6.fc39 fedora 49 k python3-six noarch 1.16.0-12.fc39 fedora 41 k python3-systemd x86_64 235-5.fc39 fedora 107 k Transaction Summary ================================================================================ Install 7 Packages Total download size: 1.2 M Installed size: 3.6 M Downloading Packages: (1/7): python3-dbus-1.3.2-4.fc39.x86_64.rpm 11 MB/s | 157 kB 00:00 (2/7): dbus-libs-1.14.10-1.fc39.x86_64.rpm 9.5 MB/s | 156 kB 00:00 (3/7): python3-distro-1.8.0-6.fc39.noarch.rpm 25 MB/s | 49 kB 00:00 (4/7): python3-dateutil-2.8.2-10.fc39.noarch.rp 20 MB/s | 355 kB 00:00 (5/7): python3-six-1.16.0-12.fc39.noarch.rpm 21 MB/s | 41 kB 00:00 (6/7): python3-dnf-plugins-core-4.9.0-1.fc39.no 130 MB/s | 320 kB 00:00 (7/7): python3-systemd-235-5.fc39.x86_64.rpm 32 MB/s | 107 kB 00:00 -------------------------------------------------------------------------------- Total 4.5 MB/s | 1.2 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : python3-systemd-235-5.fc39.x86_64 1/7 Installing : python3-six-1.16.0-12.fc39.noarch 2/7 Installing : python3-dateutil-1:2.8.2-10.fc39.noarch 3/7 Installing : python3-distro-1.8.0-6.fc39.noarch 4/7 Installing : dbus-libs-1:1.14.10-1.fc39.x86_64 5/7 Installing : python3-dbus-1.3.2-4.fc39.x86_64 6/7 Installing : python3-dnf-plugins-core-4.9.0-1.fc39.noarch 7/7 Running scriptlet: python3-dnf-plugins-core-4.9.0-1.fc39.noarch 7/7 Verifying : dbus-libs-1:1.14.10-1.fc39.x86_64 1/7 Verifying : python3-dateutil-1:2.8.2-10.fc39.noarch 2/7 Verifying : python3-dbus-1.3.2-4.fc39.x86_64 3/7 Verifying : python3-distro-1.8.0-6.fc39.noarch 4/7 Verifying : python3-six-1.16.0-12.fc39.noarch 5/7 Verifying : python3-systemd-235-5.fc39.x86_64 6/7 Verifying : python3-dnf-plugins-core-4.9.0-1.fc39.noarch 7/7 Installed: dbus-libs-1:1.14.10-1.fc39.x86_64 python3-dateutil-1:2.8.2-10.fc39.noarch python3-dbus-1.3.2-4.fc39.x86_64 python3-distro-1.8.0-6.fc39.noarch python3-dnf-plugins-core-4.9.0-1.fc39.noarch python3-six-1.16.0-12.fc39.noarch python3-systemd-235-5.fc39.x86_64 Complete! Finish(bootstrap): installing dnf tooling Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-39-x86_64-1731320125.212919/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf4 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.19.1.1-1.fc39.x86_64 rpm-sequoia-1.7.0-1.fc39.x86_64 python3-dnf-4.21.1-1.fc39.noarch python3-dnf-plugins-core-4.9.0-1.fc39.noarch yum-4.21.1-1.fc39.noarch Start: installing minimal buildroot with dnf No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 66 kB/s | 2.5 kB 00:00 fedora 59 MB/s | 89 MB 00:01 updates 71 MB/s | 42 MB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing group/module packages: bash x86_64 5.2.26-1.fc39 updates 1.8 M bzip2 x86_64 1.0.8-16.fc39 fedora 52 k coreutils x86_64 9.3-7.fc39 updates 1.1 M cpio x86_64 2.14-4.fc39 fedora 279 k diffutils x86_64 3.10-3.fc39 fedora 398 k fedora-release-common noarch 39-36 updates 19 k findutils x86_64 1:4.9.0-6.fc39 updates 490 k gawk x86_64 5.2.2-2.fc39 fedora 1.1 M glibc-minimal-langpack x86_64 2.38-19.fc39 updates 65 k grep x86_64 3.11-3.fc39 fedora 298 k gzip x86_64 1.12-6.fc39 fedora 166 k info x86_64 7.0.3-3.fc39 fedora 182 k patch x86_64 2.7.6-22.fc39 fedora 125 k redhat-rpm-config noarch 266-1.fc39 updates 78 k rpm-build x86_64 4.19.1.1-1.fc39 updates 78 k sed x86_64 4.8-14.fc39 fedora 306 k shadow-utils x86_64 2:4.14.0-2.fc39 updates 1.3 M tar x86_64 2:1.35-2.fc39 fedora 864 k unzip x86_64 6.0-62.fc39 fedora 184 k util-linux x86_64 2.39.4-1.fc39 updates 1.2 M which x86_64 2.21-40.fc39 fedora 42 k xz x86_64 5.4.4-1.fc39 fedora 556 k Installing dependencies: alternatives x86_64 1.26-1.fc39 updates 39 k ansible-srpm-macros noarch 1-12.fc39 updates 21 k audit-libs x86_64 3.1.5-1.fc39 updates 123 k authselect x86_64 1.4.3-1.fc39 fedora 149 k authselect-libs x86_64 1.4.3-1.fc39 fedora 249 k basesystem noarch 11-18.fc39 fedora 7.2 k binutils x86_64 2.40-14.fc39 updates 5.6 M binutils-gold x86_64 2.40-14.fc39 updates 795 k bzip2-libs x86_64 1.0.8-16.fc39 fedora 41 k ca-certificates noarch 2024.2.69_v8.0.401-1.0.fc39 updates 871 k coreutils-common x86_64 9.3-7.fc39 updates 2.1 M cracklib x86_64 2.9.11-2.fc39 fedora 94 k crypto-policies noarch 20231204-1.git1e3a2e4.fc39 updates 100 k curl x86_64 8.2.1-5.fc39 updates 344 k cyrus-sasl-lib x86_64 2.1.28-11.fc39 fedora 793 k debugedit x86_64 5.0-12.fc39 updates 79 k dwz x86_64 0.15-3.fc39 fedora 134 k ed x86_64 1.19-4.fc39 fedora 79 k efi-srpm-macros noarch 5-9.fc39 fedora 22 k elfutils x86_64 0.192-4.fc39 updates 574 k elfutils-debuginfod-client x86_64 0.192-4.fc39 updates 43 k elfutils-default-yama-scope noarch 0.192-4.fc39 updates 12 k elfutils-libelf x86_64 0.192-4.fc39 updates 208 k elfutils-libs x86_64 0.192-4.fc39 updates 267 k fedora-gpg-keys noarch 39-2 updates 130 k fedora-release noarch 39-36 updates 8.6 k fedora-release-identity-basic noarch 39-36 updates 9.4 k fedora-repos noarch 39-2 updates 9.3 k file x86_64 5.44-5.fc39 fedora 49 k file-libs x86_64 5.44-5.fc39 fedora 729 k filesystem x86_64 3.18-6.fc39 fedora 1.1 M fonts-srpm-macros noarch 1:2.0.5-12.fc39 fedora 26 k forge-srpm-macros noarch 0.3.1-1.fc39 updates 19 k fpc-srpm-macros noarch 1.3-8.fc39 fedora 7.4 k gdb-minimal x86_64 15.1-1.fc39 updates 4.3 M gdbm-libs x86_64 1:1.23-4.fc39 fedora 56 k ghc-srpm-macros noarch 1.6.1-2.fc39 fedora 7.8 k glibc x86_64 2.38-19.fc39 updates 2.1 M glibc-common x86_64 2.38-19.fc39 updates 344 k glibc-gconv-extra x86_64 2.38-19.fc39 updates 1.6 M gmp x86_64 1:6.2.1-5.fc39 fedora 313 k gnat-srpm-macros noarch 6-3.fc39 fedora 8.8 k go-srpm-macros noarch 3.5.0-1.fc39 updates 28 k jansson x86_64 2.13.1-7.fc39 fedora 44 k json-c x86_64 0.17-1.fc39 fedora 43 k kernel-srpm-macros noarch 1.0-20.fc39 fedora 10 k keyutils-libs x86_64 1.6.3-1.fc39 updates 31 k krb5-libs x86_64 1.21.3-1.fc39 updates 764 k libacl x86_64 2.3.1-9.fc39 updates 23 k libarchive x86_64 3.7.1-3.fc39 updates 407 k libattr x86_64 2.5.1-8.fc39 fedora 18 k libblkid x86_64 2.39.4-1.fc39 updates 116 k libbrotli x86_64 1.1.0-1.fc39 fedora 336 k libcap x86_64 2.48-9.fc39 updates 68 k libcap-ng x86_64 0.8.3-8.fc39 fedora 32 k libcom_err x86_64 1.47.0-2.fc39 fedora 26 k libcurl x86_64 8.2.1-5.fc39 updates 322 k libdb x86_64 5.3.28-56.fc39 fedora 760 k libeconf x86_64 0.5.2-2.fc39 updates 30 k libevent x86_64 2.1.12-9.fc39 fedora 258 k libfdisk x86_64 2.39.4-1.fc39 updates 161 k libffi x86_64 3.4.4-4.fc39 fedora 40 k libgcc x86_64 13.3.1-3.fc39 updates 120 k libgomp x86_64 13.3.1-3.fc39 updates 329 k libidn2 x86_64 2.3.7-1.fc39 updates 119 k libmount x86_64 2.39.4-1.fc39 updates 154 k libnghttp2 x86_64 1.55.1-5.fc39 updates 75 k libnsl2 x86_64 2.0.0-6.fc39 fedora 30 k libpkgconf x86_64 1.9.5-2.fc39 fedora 38 k libpsl x86_64 0.21.2-4.fc39 fedora 63 k libpwquality x86_64 1.4.5-6.fc39 fedora 120 k libselinux x86_64 3.5-5.fc39 fedora 87 k libsemanage x86_64 3.5-4.fc39 fedora 120 k libsepol x86_64 3.5-2.fc39 fedora 324 k libsigsegv x86_64 2.14-5.fc39 fedora 27 k libsmartcols x86_64 2.39.4-1.fc39 updates 67 k libssh x86_64 0.10.6-2.fc39 updates 212 k libssh-config noarch 0.10.6-2.fc39 updates 9.0 k libstdc++ x86_64 13.3.1-3.fc39 updates 870 k libtasn1 x86_64 4.19.0-3.fc39 fedora 74 k libtirpc x86_64 1.3.6-0.fc39 updates 94 k libtool-ltdl x86_64 2.4.7-7.fc39 fedora 36 k libunistring x86_64 1.1-5.fc39 fedora 543 k libutempter x86_64 1.2.1-10.fc39 fedora 26 k libuuid x86_64 2.39.4-1.fc39 updates 28 k libverto x86_64 0.3.2-6.fc39 fedora 20 k libxcrypt x86_64 4.4.36-2.fc39 fedora 119 k libxml2 x86_64 2.10.4-3.fc39 fedora 701 k libzstd x86_64 1.5.6-1.fc39 updates 312 k lua-libs x86_64 5.4.6-3.fc39 fedora 133 k lua-srpm-macros noarch 1-13.fc39 updates 8.7 k lz4-libs x86_64 1.9.4-4.fc39 fedora 67 k mpfr x86_64 4.2.0-3.fc39 fedora 344 k ncurses-base noarch 6.4-7.20230520.fc39.1 updates 88 k ncurses-libs x86_64 6.4-7.20230520.fc39.1 updates 336 k ocaml-srpm-macros noarch 8-2.fc39 fedora 14 k openblas-srpm-macros noarch 2-14.fc39 fedora 7.5 k openldap x86_64 2.6.7-1.fc39 updates 254 k openssl-libs x86_64 1:3.1.4-4.fc39 updates 2.2 M p11-kit x86_64 0.25.5-1.fc39 updates 515 k p11-kit-trust x86_64 0.25.5-1.fc39 updates 138 k package-notes-srpm-macros noarch 0.5-9.fc39 fedora 11 k pam x86_64 1.5.3-3.fc39 updates 542 k pam-libs x86_64 1.5.3-3.fc39 updates 56 k pcre2 x86_64 10.42-1.fc39.2 fedora 233 k pcre2-syntax noarch 10.42-1.fc39.2 fedora 143 k perl-srpm-macros noarch 1-51.fc39 fedora 8.0 k pkgconf x86_64 1.9.5-2.fc39 fedora 42 k pkgconf-m4 noarch 1.9.5-2.fc39 fedora 14 k pkgconf-pkg-config x86_64 1.9.5-2.fc39 fedora 9.6 k popt x86_64 1.19-3.fc39 fedora 66 k publicsuffix-list-dafsa noarch 20240107-1.fc39 updates 58 k pyproject-srpm-macros noarch 1.15.1-1.fc39 updates 13 k python-srpm-macros noarch 3.12-8.fc39 updates 23 k qt5-srpm-macros noarch 5.15.14-2.fc39 updates 8.9 k qt6-srpm-macros noarch 6.6.2-1.fc39 updates 8.9 k readline x86_64 8.2-6.fc39 updates 212 k rpm x86_64 4.19.1.1-1.fc39 updates 538 k rpm-build-libs x86_64 4.19.1.1-1.fc39 updates 95 k rpm-libs x86_64 4.19.1.1-1.fc39 updates 312 k rpm-sequoia x86_64 1.7.0-1.fc39 updates 904 k rpmautospec-rpm-macros noarch 0.7.3-1.fc39 updates 11 k rust-srpm-macros noarch 26.3-1.fc39 updates 13 k setup noarch 2.14.4-1.fc39 fedora 154 k sqlite-libs x86_64 3.42.0-7.fc39 fedora 678 k systemd-libs x86_64 254.19-1.fc39 updates 681 k util-linux-core x86_64 2.39.4-1.fc39 updates 507 k xxhash-libs x86_64 0.8.2-4.fc39 updates 37 k xz-libs x86_64 5.4.4-1.fc39 fedora 108 k zip x86_64 3.0-39.fc39 fedora 266 k zlib x86_64 1.2.13-4.fc39 fedora 94 k zstd x86_64 1.5.6-1.fc39 updates 479 k Installing Groups: Buildsystem building group Transaction Summary ================================================================================ Install 154 Packages Total download size: 52 M Installed size: 180 M Downloading Packages: (1/154): basesystem-11-18.fc39.noarch.rpm 533 kB/s | 7.2 kB 00:00 (2/154): authselect-1.4.3-1.fc39.x86_64.rpm 8.5 MB/s | 149 kB 00:00 (3/154): authselect-libs-1.4.3-1.fc39.x86_64.rp 14 MB/s | 249 kB 00:00 (4/154): bzip2-1.0.8-16.fc39.x86_64.rpm 14 MB/s | 52 kB 00:00 (5/154): bzip2-libs-1.0.8-16.fc39.x86_64.rpm 21 MB/s | 41 kB 00:00 (6/154): cracklib-2.9.11-2.fc39.x86_64.rpm 40 MB/s | 94 kB 00:00 (7/154): cpio-2.14-4.fc39.x86_64.rpm 85 MB/s | 279 kB 00:00 (8/154): diffutils-3.10-3.fc39.x86_64.rpm 141 MB/s | 398 kB 00:00 (9/154): cyrus-sasl-lib-2.1.28-11.fc39.x86_64.r 174 MB/s | 793 kB 00:00 (10/154): dwz-0.15-3.fc39.x86_64.rpm 36 MB/s | 134 kB 00:00 (11/154): ed-1.19-4.fc39.x86_64.rpm 19 MB/s | 79 kB 00:00 (12/154): efi-srpm-macros-5-9.fc39.noarch.rpm 5.9 MB/s | 22 kB 00:00 (13/154): file-5.44-5.fc39.x86_64.rpm 13 MB/s | 49 kB 00:00 (14/154): fonts-srpm-macros-2.0.5-12.fc39.noarc 22 MB/s | 26 kB 00:00 (15/154): file-libs-5.44-5.fc39.x86_64.rpm 150 MB/s | 729 kB 00:00 (16/154): fpc-srpm-macros-1.3-8.fc39.noarch.rpm 2.0 MB/s | 7.4 kB 00:00 (17/154): filesystem-3.18-6.fc39.x86_64.rpm 160 MB/s | 1.1 MB 00:00 (18/154): gdbm-libs-1.23-4.fc39.x86_64.rpm 34 MB/s | 56 kB 00:00 (19/154): ghc-srpm-macros-1.6.1-2.fc39.noarch.r 7.2 MB/s | 7.8 kB 00:00 (20/154): gawk-5.2.2-2.fc39.x86_64.rpm 160 MB/s | 1.1 MB 00:00 (21/154): gnat-srpm-macros-6-3.fc39.noarch.rpm 2.8 MB/s | 8.8 kB 00:00 (22/154): gmp-6.2.1-5.fc39.x86_64.rpm 69 MB/s | 313 kB 00:00 (23/154): gzip-1.12-6.fc39.x86_64.rpm 75 MB/s | 166 kB 00:00 (24/154): info-7.0.3-3.fc39.x86_64.rpm 77 MB/s | 182 kB 00:00 (25/154): grep-3.11-3.fc39.x86_64.rpm 86 MB/s | 298 kB 00:00 (26/154): jansson-2.13.1-7.fc39.x86_64.rpm 35 MB/s | 44 kB 00:00 (27/154): json-c-0.17-1.fc39.x86_64.rpm 31 MB/s | 43 kB 00:00 (28/154): kernel-srpm-macros-1.0-20.fc39.noarch 8.8 MB/s | 10 kB 00:00 (29/154): libattr-2.5.1-8.fc39.x86_64.rpm 14 MB/s | 18 kB 00:00 (30/154): libcap-ng-0.8.3-8.fc39.x86_64.rpm 21 MB/s | 32 kB 00:00 (31/154): libcom_err-1.47.0-2.fc39.x86_64.rpm 17 MB/s | 26 kB 00:00 (32/154): libbrotli-1.1.0-1.fc39.x86_64.rpm 106 MB/s | 336 kB 00:00 (33/154): libevent-2.1.12-9.fc39.x86_64.rpm 107 MB/s | 258 kB 00:00 (34/154): libffi-3.4.4-4.fc39.x86_64.rpm 19 MB/s | 40 kB 00:00 (35/154): libdb-5.3.28-56.fc39.x86_64.rpm 166 MB/s | 760 kB 00:00 (36/154): libnsl2-2.0.0-6.fc39.x86_64.rpm 11 MB/s | 30 kB 00:00 (37/154): libpkgconf-1.9.5-2.fc39.x86_64.rpm 14 MB/s | 38 kB 00:00 (38/154): libpsl-0.21.2-4.fc39.x86_64.rpm 21 MB/s | 63 kB 00:00 (39/154): libpwquality-1.4.5-6.fc39.x86_64.rpm 53 MB/s | 120 kB 00:00 (40/154): libselinux-3.5-5.fc39.x86_64.rpm 39 MB/s | 87 kB 00:00 (41/154): libsemanage-3.5-4.fc39.x86_64.rpm 60 MB/s | 120 kB 00:00 (42/154): libsigsegv-2.14-5.fc39.x86_64.rpm 17 MB/s | 27 kB 00:00 (43/154): libsepol-3.5-2.fc39.x86_64.rpm 123 MB/s | 324 kB 00:00 (44/154): libtasn1-4.19.0-3.fc39.x86_64.rpm 46 MB/s | 74 kB 00:00 (45/154): libtool-ltdl-2.4.7-7.fc39.x86_64.rpm 14 MB/s | 36 kB 00:00 (46/154): libutempter-1.2.1-10.fc39.x86_64.rpm 5.2 MB/s | 26 kB 00:00 (47/154): libunistring-1.1-5.fc39.x86_64.rpm 83 MB/s | 543 kB 00:00 (48/154): libverto-0.3.2-6.fc39.x86_64.rpm 2.4 MB/s | 20 kB 00:00 (49/154): libxcrypt-4.4.36-2.fc39.x86_64.rpm 14 MB/s | 119 kB 00:00 (50/154): lua-libs-5.4.6-3.fc39.x86_64.rpm 24 MB/s | 133 kB 00:00 (51/154): libxml2-2.10.4-3.fc39.x86_64.rpm 65 MB/s | 701 kB 00:00 (52/154): lz4-libs-1.9.4-4.fc39.x86_64.rpm 20 MB/s | 67 kB 00:00 (53/154): mpfr-4.2.0-3.fc39.x86_64.rpm 119 MB/s | 344 kB 00:00 (54/154): ocaml-srpm-macros-8-2.fc39.noarch.rpm 6.3 MB/s | 14 kB 00:00 (55/154): openblas-srpm-macros-2-14.fc39.noarch 4.2 MB/s | 7.5 kB 00:00 (56/154): package-notes-srpm-macros-0.5-9.fc39. 8.0 MB/s | 11 kB 00:00 (57/154): patch-2.7.6-22.fc39.x86_64.rpm 33 MB/s | 125 kB 00:00 (58/154): pcre2-10.42-1.fc39.2.x86_64.rpm 29 MB/s | 233 kB 00:00 (59/154): pcre2-syntax-10.42-1.fc39.2.noarch.rp 11 MB/s | 143 kB 00:00 (60/154): perl-srpm-macros-1-51.fc39.noarch.rpm 717 kB/s | 8.0 kB 00:00 (61/154): pkgconf-1.9.5-2.fc39.x86_64.rpm 5.0 MB/s | 42 kB 00:00 (62/154): pkgconf-m4-1.9.5-2.fc39.noarch.rpm 5.8 MB/s | 14 kB 00:00 (63/154): pkgconf-pkg-config-1.9.5-2.fc39.x86_6 3.0 MB/s | 9.6 kB 00:00 (64/154): popt-1.19-3.fc39.x86_64.rpm 33 MB/s | 66 kB 00:00 (65/154): sed-4.8-14.fc39.x86_64.rpm 109 MB/s | 306 kB 00:00 (66/154): setup-2.14.4-1.fc39.noarch.rpm 63 MB/s | 154 kB 00:00 (67/154): sqlite-libs-3.42.0-7.fc39.x86_64.rpm 162 MB/s | 678 kB 00:00 (68/154): tar-1.35-2.fc39.x86_64.rpm 184 MB/s | 864 kB 00:00 (69/154): unzip-6.0-62.fc39.x86_64.rpm 46 MB/s | 184 kB 00:00 (70/154): which-2.21-40.fc39.x86_64.rpm 28 MB/s | 42 kB 00:00 (71/154): xz-libs-5.4.4-1.fc39.x86_64.rpm 59 MB/s | 108 kB 00:00 (72/154): zip-3.0-39.fc39.x86_64.rpm 96 MB/s | 266 kB 00:00 (73/154): xz-5.4.4-1.fc39.x86_64.rpm 133 MB/s | 556 kB 00:00 (74/154): alternatives-1.26-1.fc39.x86_64.rpm 38 MB/s | 39 kB 00:00 (75/154): audit-libs-3.1.5-1.fc39.x86_64.rpm 118 MB/s | 123 kB 00:00 (76/154): zlib-1.2.13-4.fc39.x86_64.rpm 22 MB/s | 94 kB 00:00 (77/154): ansible-srpm-macros-1-12.fc39.noarch. 10 MB/s | 21 kB 00:00 (78/154): bash-5.2.26-1.fc39.x86_64.rpm 399 MB/s | 1.8 MB 00:00 (79/154): binutils-gold-2.40-14.fc39.x86_64.rpm 125 MB/s | 795 kB 00:00 (80/154): ca-certificates-2024.2.69_v8.0.401-1. 218 MB/s | 871 kB 00:00 (81/154): coreutils-9.3-7.fc39.x86_64.rpm 100 MB/s | 1.1 MB 00:00 (82/154): coreutils-common-9.3-7.fc39.x86_64.rp 189 MB/s | 2.1 MB 00:00 (83/154): crypto-policies-20231204-1.git1e3a2e4 26 MB/s | 100 kB 00:00 (84/154): binutils-2.40-14.fc39.x86_64.rpm 199 MB/s | 5.6 MB 00:00 (85/154): curl-8.2.1-5.fc39.x86_64.rpm 54 MB/s | 344 kB 00:00 (86/154): debugedit-5.0-12.fc39.x86_64.rpm 13 MB/s | 79 kB 00:00 (87/154): elfutils-debuginfod-client-0.192-4.fc 39 MB/s | 43 kB 00:00 (88/154): elfutils-default-yama-scope-0.192-4.f 9.2 MB/s | 12 kB 00:00 (89/154): elfutils-libelf-0.192-4.fc39.x86_64.r 155 MB/s | 208 kB 00:00 (90/154): elfutils-0.192-4.fc39.x86_64.rpm 137 MB/s | 574 kB 00:00 (91/154): elfutils-libs-0.192-4.fc39.x86_64.rpm 99 MB/s | 267 kB 00:00 (92/154): fedora-gpg-keys-39-2.noarch.rpm 76 MB/s | 130 kB 00:00 (93/154): fedora-release-39-36.noarch.rpm 8.4 MB/s | 8.6 kB 00:00 (94/154): fedora-release-common-39-36.noarch.rp 19 MB/s | 19 kB 00:00 (95/154): fedora-release-identity-basic-39-36.n 8.4 MB/s | 9.4 kB 00:00 (96/154): fedora-repos-39-2.noarch.rpm 8.0 MB/s | 9.3 kB 00:00 (97/154): findutils-4.9.0-6.fc39.x86_64.rpm 223 MB/s | 490 kB 00:00 (98/154): forge-srpm-macros-0.3.1-1.fc39.noarch 10 MB/s | 19 kB 00:00 (99/154): glibc-2.38-19.fc39.x86_64.rpm 398 MB/s | 2.1 MB 00:00 (100/154): glibc-common-2.38-19.fc39.x86_64.rpm 45 MB/s | 344 kB 00:00 (101/154): glibc-gconv-extra-2.38-19.fc39.x86_6 218 MB/s | 1.6 MB 00:00 (102/154): gdb-minimal-15.1-1.fc39.x86_64.rpm 205 MB/s | 4.3 MB 00:00 (103/154): glibc-minimal-langpack-2.38-19.fc39. 5.7 MB/s | 65 kB 00:00 (104/154): go-srpm-macros-3.5.0-1.fc39.noarch.r 6.5 MB/s | 28 kB 00:00 (105/154): keyutils-libs-1.6.3-1.fc39.x86_64.rp 20 MB/s | 31 kB 00:00 (106/154): krb5-libs-1.21.3-1.fc39.x86_64.rpm 221 MB/s | 764 kB 00:00 (107/154): libacl-2.3.1-9.fc39.x86_64.rpm 6.5 MB/s | 23 kB 00:00 (108/154): libarchive-3.7.1-3.fc39.x86_64.rpm 105 MB/s | 407 kB 00:00 (109/154): libblkid-2.39.4-1.fc39.x86_64.rpm 51 MB/s | 116 kB 00:00 (110/154): libcurl-8.2.1-5.fc39.x86_64.rpm 209 MB/s | 322 kB 00:00 (111/154): libcap-2.48-9.fc39.x86_64.rpm 18 MB/s | 68 kB 00:00 (112/154): libfdisk-2.39.4-1.fc39.x86_64.rpm 141 MB/s | 161 kB 00:00 (113/154): libeconf-0.5.2-2.fc39.x86_64.rpm 10 MB/s | 30 kB 00:00 (114/154): libgcc-13.3.1-3.fc39.x86_64.rpm 68 MB/s | 120 kB 00:00 (115/154): libgomp-13.3.1-3.fc39.x86_64.rpm 199 MB/s | 329 kB 00:00 (116/154): libidn2-2.3.7-1.fc39.x86_64.rpm 61 MB/s | 119 kB 00:00 (117/154): libmount-2.39.4-1.fc39.x86_64.rpm 81 MB/s | 154 kB 00:00 (118/154): libnghttp2-1.55.1-5.fc39.x86_64.rpm 70 MB/s | 75 kB 00:00 (119/154): libsmartcols-2.39.4-1.fc39.x86_64.rp 60 MB/s | 67 kB 00:00 (120/154): libssh-0.10.6-2.fc39.x86_64.rpm 141 MB/s | 212 kB 00:00 (121/154): libssh-config-0.10.6-2.fc39.noarch.r 5.8 MB/s | 9.0 kB 00:00 (122/154): libstdc++-13.3.1-3.fc39.x86_64.rpm 311 MB/s | 870 kB 00:00 (123/154): libuuid-2.39.4-1.fc39.x86_64.rpm 16 MB/s | 28 kB 00:00 (124/154): libtirpc-1.3.6-0.fc39.x86_64.rpm 36 MB/s | 94 kB 00:00 (125/154): libzstd-1.5.6-1.fc39.x86_64.rpm 199 MB/s | 312 kB 00:00 (126/154): lua-srpm-macros-1-13.fc39.noarch.rpm 5.2 MB/s | 8.7 kB 00:00 (127/154): ncurses-base-6.4-7.20230520.fc39.1.n 54 MB/s | 88 kB 00:00 (128/154): ncurses-libs-6.4-7.20230520.fc39.1.x 191 MB/s | 336 kB 00:00 (129/154): openldap-2.6.7-1.fc39.x86_64.rpm 120 MB/s | 254 kB 00:00 (130/154): p11-kit-0.25.5-1.fc39.x86_64.rpm 291 MB/s | 515 kB 00:00 (131/154): p11-kit-trust-0.25.5-1.fc39.x86_64.r 55 MB/s | 138 kB 00:00 (132/154): pam-1.5.3-3.fc39.x86_64.rpm 206 MB/s | 542 kB 00:00 (133/154): pam-libs-1.5.3-3.fc39.x86_64.rpm 29 MB/s | 56 kB 00:00 (134/154): publicsuffix-list-dafsa-20240107-1.f 45 MB/s | 58 kB 00:00 (135/154): openssl-libs-3.1.4-4.fc39.x86_64.rpm 199 MB/s | 2.2 MB 00:00 (136/154): pyproject-srpm-macros-1.15.1-1.fc39. 3.5 MB/s | 13 kB 00:00 (137/154): python-srpm-macros-3.12-8.fc39.noarc 8.1 MB/s | 23 kB 00:00 (138/154): qt5-srpm-macros-5.15.14-2.fc39.noarc 8.7 MB/s | 8.9 kB 00:00 (139/154): qt6-srpm-macros-6.6.2-1.fc39.noarch. 8.7 MB/s | 8.9 kB 00:00 (140/154): readline-8.2-6.fc39.x86_64.rpm 100 MB/s | 212 kB 00:00 (141/154): redhat-rpm-config-266-1.fc39.noarch. 45 MB/s | 78 kB 00:00 (142/154): rpm-4.19.1.1-1.fc39.x86_64.rpm 240 MB/s | 538 kB 00:00 (143/154): rpm-build-4.19.1.1-1.fc39.x86_64.rpm 68 MB/s | 78 kB 00:00 (144/154): rpm-build-libs-4.19.1.1-1.fc39.x86_6 63 MB/s | 95 kB 00:00 (145/154): rpm-libs-4.19.1.1-1.fc39.x86_64.rpm 182 MB/s | 312 kB 00:00 (146/154): rpm-sequoia-1.7.0-1.fc39.x86_64.rpm 310 MB/s | 904 kB 00:00 (147/154): rpmautospec-rpm-macros-0.7.3-1.fc39. 3.5 MB/s | 11 kB 00:00 (148/154): rust-srpm-macros-26.3-1.fc39.noarch. 5.8 MB/s | 13 kB 00:00 (149/154): shadow-utils-4.14.0-2.fc39.x86_64.rp 399 MB/s | 1.3 MB 00:00 (150/154): systemd-libs-254.19-1.fc39.x86_64.rp 131 MB/s | 681 kB 00:00 (151/154): util-linux-2.39.4-1.fc39.x86_64.rpm 168 MB/s | 1.2 MB 00:00 (152/154): util-linux-core-2.39.4-1.fc39.x86_64 164 MB/s | 507 kB 00:00 (153/154): xxhash-libs-0.8.2-4.fc39.x86_64.rpm 20 MB/s | 37 kB 00:00 (154/154): zstd-1.5.6-1.fc39.x86_64.rpm 171 MB/s | 479 kB 00:00 -------------------------------------------------------------------------------- Total 122 MB/s | 52 MB 00:00 fedora 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0x18B8E74C: Userid : "Fedora (39) " Fingerprint: E8F2 3996 F232 1864 0CB4 4CBE 75CF 5AC4 18B8 E74C From : /usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-39-primary Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Running scriptlet: filesystem-3.18-6.fc39.x86_64 1/1 Preparing : 1/1 Installing : libgcc-13.3.1-3.fc39.x86_64 1/154 Running scriptlet: libgcc-13.3.1-3.fc39.x86_64 1/154 Installing : crypto-policies-20231204-1.git1e3a2e4.fc39.noarc 2/154 Running scriptlet: crypto-policies-20231204-1.git1e3a2e4.fc39.noarc 2/154 Installing : fedora-release-identity-basic-39-36.noarch 3/154 Installing : fedora-gpg-keys-39-2.noarch 4/154 Installing : fedora-repos-39-2.noarch 5/154 Installing : fedora-release-common-39-36.noarch 6/154 Installing : fedora-release-39-36.noarch 7/154 Installing : setup-2.14.4-1.fc39.noarch 8/154 warning: /etc/hosts created as /etc/hosts.rpmnew Running scriptlet: setup-2.14.4-1.fc39.noarch 8/154 Installing : filesystem-3.18-6.fc39.x86_64 9/154 Installing : basesystem-11-18.fc39.noarch 10/154 Installing : rust-srpm-macros-26.3-1.fc39.noarch 11/154 Installing : qt6-srpm-macros-6.6.2-1.fc39.noarch 12/154 Installing : qt5-srpm-macros-5.15.14-2.fc39.noarch 13/154 Installing : publicsuffix-list-dafsa-20240107-1.fc39.noarch 14/154 Installing : ncurses-base-6.4-7.20230520.fc39.1.noarch 15/154 Installing : glibc-gconv-extra-2.38-19.fc39.x86_64 16/154 Running scriptlet: glibc-gconv-extra-2.38-19.fc39.x86_64 16/154 Installing : glibc-minimal-langpack-2.38-19.fc39.x86_64 17/154 Installing : glibc-common-2.38-19.fc39.x86_64 18/154 Running scriptlet: glibc-2.38-19.fc39.x86_64 19/154 Installing : glibc-2.38-19.fc39.x86_64 19/154 Running scriptlet: glibc-2.38-19.fc39.x86_64 19/154 Installing : ncurses-libs-6.4-7.20230520.fc39.1.x86_64 20/154 Installing : bash-5.2.26-1.fc39.x86_64 21/154 Running scriptlet: bash-5.2.26-1.fc39.x86_64 21/154 Installing : zlib-1.2.13-4.fc39.x86_64 22/154 Installing : xz-libs-5.4.4-1.fc39.x86_64 23/154 Installing : bzip2-libs-1.0.8-16.fc39.x86_64 24/154 Installing : popt-1.19-3.fc39.x86_64 25/154 Installing : libstdc++-13.3.1-3.fc39.x86_64 26/154 Installing : libuuid-2.39.4-1.fc39.x86_64 27/154 Installing : libzstd-1.5.6-1.fc39.x86_64 28/154 Installing : elfutils-libelf-0.192-4.fc39.x86_64 29/154 Installing : libblkid-2.39.4-1.fc39.x86_64 30/154 Installing : readline-8.2-6.fc39.x86_64 31/154 Installing : gmp-1:6.2.1-5.fc39.x86_64 32/154 Installing : libattr-2.5.1-8.fc39.x86_64 33/154 Installing : libacl-2.3.1-9.fc39.x86_64 34/154 Installing : libxcrypt-4.4.36-2.fc39.x86_64 35/154 Installing : libcap-2.48-9.fc39.x86_64 36/154 Installing : lz4-libs-1.9.4-4.fc39.x86_64 37/154 Installing : libeconf-0.5.2-2.fc39.x86_64 38/154 Installing : systemd-libs-254.19-1.fc39.x86_64 39/154 Installing : mpfr-4.2.0-3.fc39.x86_64 40/154 Installing : dwz-0.15-3.fc39.x86_64 41/154 Installing : unzip-6.0-62.fc39.x86_64 42/154 Installing : file-libs-5.44-5.fc39.x86_64 43/154 Installing : file-5.44-5.fc39.x86_64 44/154 Installing : jansson-2.13.1-7.fc39.x86_64 45/154 Installing : libcap-ng-0.8.3-8.fc39.x86_64 46/154 Installing : audit-libs-3.1.5-1.fc39.x86_64 47/154 Installing : pam-libs-1.5.3-3.fc39.x86_64 48/154 Installing : libcom_err-1.47.0-2.fc39.x86_64 49/154 Installing : libsepol-3.5-2.fc39.x86_64 50/154 Installing : libtasn1-4.19.0-3.fc39.x86_64 51/154 Installing : libunistring-1.1-5.fc39.x86_64 52/154 Installing : libidn2-2.3.7-1.fc39.x86_64 53/154 Installing : lua-libs-5.4.6-3.fc39.x86_64 54/154 Installing : alternatives-1.26-1.fc39.x86_64 55/154 Installing : libsmartcols-2.39.4-1.fc39.x86_64 56/154 Installing : libpsl-0.21.2-4.fc39.x86_64 57/154 Installing : zip-3.0-39.fc39.x86_64 58/154 Installing : zstd-1.5.6-1.fc39.x86_64 59/154 Installing : libfdisk-2.39.4-1.fc39.x86_64 60/154 Installing : bzip2-1.0.8-16.fc39.x86_64 61/154 Installing : libxml2-2.10.4-3.fc39.x86_64 62/154 Installing : sqlite-libs-3.42.0-7.fc39.x86_64 63/154 Installing : ed-1.19-4.fc39.x86_64 64/154 Installing : elfutils-default-yama-scope-0.192-4.fc39.noarch 65/154 Running scriptlet: elfutils-default-yama-scope-0.192-4.fc39.noarch 65/154 Installing : cpio-2.14-4.fc39.x86_64 66/154 Installing : diffutils-3.10-3.fc39.x86_64 67/154 Installing : gdbm-libs-1:1.23-4.fc39.x86_64 68/154 Installing : cyrus-sasl-lib-2.1.28-11.fc39.x86_64 69/154 Installing : json-c-0.17-1.fc39.x86_64 70/154 Installing : libbrotli-1.1.0-1.fc39.x86_64 71/154 Installing : libdb-5.3.28-56.fc39.x86_64 72/154 Installing : libffi-3.4.4-4.fc39.x86_64 73/154 Installing : p11-kit-0.25.5-1.fc39.x86_64 74/154 Installing : p11-kit-trust-0.25.5-1.fc39.x86_64 75/154 Running scriptlet: p11-kit-trust-0.25.5-1.fc39.x86_64 75/154 Installing : libpkgconf-1.9.5-2.fc39.x86_64 76/154 Installing : pkgconf-1.9.5-2.fc39.x86_64 77/154 Installing : libsigsegv-2.14-5.fc39.x86_64 78/154 Installing : gawk-5.2.2-2.fc39.x86_64 79/154 Installing : libtool-ltdl-2.4.7-7.fc39.x86_64 80/154 Installing : libverto-0.3.2-6.fc39.x86_64 81/154 Installing : keyutils-libs-1.6.3-1.fc39.x86_64 82/154 Installing : libgomp-13.3.1-3.fc39.x86_64 83/154 Installing : libnghttp2-1.55.1-5.fc39.x86_64 84/154 Installing : xxhash-libs-0.8.2-4.fc39.x86_64 85/154 Installing : libssh-config-0.10.6-2.fc39.noarch 86/154 Installing : coreutils-common-9.3-7.fc39.x86_64 87/154 Installing : ansible-srpm-macros-1-12.fc39.noarch 88/154 Installing : pkgconf-m4-1.9.5-2.fc39.noarch 89/154 Installing : pkgconf-pkg-config-1.9.5-2.fc39.x86_64 90/154 Installing : perl-srpm-macros-1-51.fc39.noarch 91/154 Installing : pcre2-syntax-10.42-1.fc39.2.noarch 92/154 Installing : pcre2-10.42-1.fc39.2.x86_64 93/154 Installing : libselinux-3.5-5.fc39.x86_64 94/154 Installing : sed-4.8-14.fc39.x86_64 95/154 Installing : grep-3.11-3.fc39.x86_64 96/154 Installing : findutils-1:4.9.0-6.fc39.x86_64 97/154 Installing : xz-5.4.4-1.fc39.x86_64 98/154 Installing : libmount-2.39.4-1.fc39.x86_64 99/154 Installing : util-linux-core-2.39.4-1.fc39.x86_64 100/154 Installing : openssl-libs-1:3.1.4-4.fc39.x86_64 101/154 Installing : coreutils-9.3-7.fc39.x86_64 102/154 Running scriptlet: ca-certificates-2024.2.69_v8.0.401-1.0.fc39.noar 103/154 Installing : ca-certificates-2024.2.69_v8.0.401-1.0.fc39.noar 103/154 Running scriptlet: ca-certificates-2024.2.69_v8.0.401-1.0.fc39.noar 103/154 Installing : krb5-libs-1.21.3-1.fc39.x86_64 104/154 Installing : libtirpc-1.3.6-0.fc39.x86_64 105/154 Running scriptlet: authselect-libs-1.4.3-1.fc39.x86_64 106/154 Installing : authselect-libs-1.4.3-1.fc39.x86_64 106/154 Installing : gzip-1.12-6.fc39.x86_64 107/154 Installing : libarchive-3.7.1-3.fc39.x86_64 108/154 Installing : cracklib-2.9.11-2.fc39.x86_64 109/154 Installing : libpwquality-1.4.5-6.fc39.x86_64 110/154 Installing : authselect-1.4.3-1.fc39.x86_64 111/154 Installing : libnsl2-2.0.0-6.fc39.x86_64 112/154 Installing : pam-1.5.3-3.fc39.x86_64 113/154 Installing : libssh-0.10.6-2.fc39.x86_64 114/154 Installing : libevent-2.1.12-9.fc39.x86_64 115/154 Installing : openldap-2.6.7-1.fc39.x86_64 116/154 Installing : libcurl-8.2.1-5.fc39.x86_64 117/154 Installing : elfutils-libs-0.192-4.fc39.x86_64 118/154 Installing : elfutils-debuginfod-client-0.192-4.fc39.x86_64 119/154 Installing : binutils-gold-2.40-14.fc39.x86_64 120/154 Running scriptlet: binutils-gold-2.40-14.fc39.x86_64 120/154 Installing : binutils-2.40-14.fc39.x86_64 121/154 Running scriptlet: binutils-2.40-14.fc39.x86_64 121/154 Installing : elfutils-0.192-4.fc39.x86_64 122/154 Installing : gdb-minimal-15.1-1.fc39.x86_64 123/154 Installing : debugedit-5.0-12.fc39.x86_64 124/154 Installing : curl-8.2.1-5.fc39.x86_64 125/154 Installing : rpm-sequoia-1.7.0-1.fc39.x86_64 126/154 Installing : rpm-libs-4.19.1.1-1.fc39.x86_64 127/154 Running scriptlet: rpm-4.19.1.1-1.fc39.x86_64 128/154 Installing : rpm-4.19.1.1-1.fc39.x86_64 128/154 Installing : efi-srpm-macros-5-9.fc39.noarch 129/154 Installing : lua-srpm-macros-1-13.fc39.noarch 130/154 Installing : rpmautospec-rpm-macros-0.7.3-1.fc39.noarch 131/154 Installing : rpm-build-libs-4.19.1.1-1.fc39.x86_64 132/154 Installing : libsemanage-3.5-4.fc39.x86_64 133/154 Installing : shadow-utils-2:4.14.0-2.fc39.x86_64 134/154 Running scriptlet: libutempter-1.2.1-10.fc39.x86_64 135/154 Installing : libutempter-1.2.1-10.fc39.x86_64 135/154 Installing : patch-2.7.6-22.fc39.x86_64 136/154 Installing : tar-2:1.35-2.fc39.x86_64 137/154 Installing : package-notes-srpm-macros-0.5-9.fc39.noarch 138/154 Installing : openblas-srpm-macros-2-14.fc39.noarch 139/154 Installing : ocaml-srpm-macros-8-2.fc39.noarch 140/154 Installing : kernel-srpm-macros-1.0-20.fc39.noarch 141/154 Installing : gnat-srpm-macros-6-3.fc39.noarch 142/154 Installing : ghc-srpm-macros-1.6.1-2.fc39.noarch 143/154 Installing : fpc-srpm-macros-1.3-8.fc39.noarch 144/154 Installing : fonts-srpm-macros-1:2.0.5-12.fc39.noarch 145/154 Installing : forge-srpm-macros-0.3.1-1.fc39.noarch 146/154 Installing : go-srpm-macros-3.5.0-1.fc39.noarch 147/154 Installing : python-srpm-macros-3.12-8.fc39.noarch 148/154 Installing : redhat-rpm-config-266-1.fc39.noarch 149/154 Installing : rpm-build-4.19.1.1-1.fc39.x86_64 150/154 Installing : pyproject-srpm-macros-1.15.1-1.fc39.noarch 151/154 Installing : util-linux-2.39.4-1.fc39.x86_64 152/154 Running scriptlet: util-linux-2.39.4-1.fc39.x86_64 152/154 Installing : which-2.21-40.fc39.x86_64 153/154 Installing : info-7.0.3-3.fc39.x86_64 154/154 Running scriptlet: filesystem-3.18-6.fc39.x86_64 154/154 Running scriptlet: ca-certificates-2024.2.69_v8.0.401-1.0.fc39.noar 154/154 Running scriptlet: authselect-libs-1.4.3-1.fc39.x86_64 154/154 Running scriptlet: rpm-4.19.1.1-1.fc39.x86_64 154/154 Running scriptlet: info-7.0.3-3.fc39.x86_64 154/154 Verifying : authselect-1.4.3-1.fc39.x86_64 1/154 Verifying : authselect-libs-1.4.3-1.fc39.x86_64 2/154 Verifying : basesystem-11-18.fc39.noarch 3/154 Verifying : bzip2-1.0.8-16.fc39.x86_64 4/154 Verifying : bzip2-libs-1.0.8-16.fc39.x86_64 5/154 Verifying : cpio-2.14-4.fc39.x86_64 6/154 Verifying : cracklib-2.9.11-2.fc39.x86_64 7/154 Verifying : cyrus-sasl-lib-2.1.28-11.fc39.x86_64 8/154 Verifying : diffutils-3.10-3.fc39.x86_64 9/154 Verifying : dwz-0.15-3.fc39.x86_64 10/154 Verifying : ed-1.19-4.fc39.x86_64 11/154 Verifying : efi-srpm-macros-5-9.fc39.noarch 12/154 Verifying : file-5.44-5.fc39.x86_64 13/154 Verifying : file-libs-5.44-5.fc39.x86_64 14/154 Verifying : filesystem-3.18-6.fc39.x86_64 15/154 Verifying : fonts-srpm-macros-1:2.0.5-12.fc39.noarch 16/154 Verifying : fpc-srpm-macros-1.3-8.fc39.noarch 17/154 Verifying : gawk-5.2.2-2.fc39.x86_64 18/154 Verifying : gdbm-libs-1:1.23-4.fc39.x86_64 19/154 Verifying : ghc-srpm-macros-1.6.1-2.fc39.noarch 20/154 Verifying : gmp-1:6.2.1-5.fc39.x86_64 21/154 Verifying : gnat-srpm-macros-6-3.fc39.noarch 22/154 Verifying : grep-3.11-3.fc39.x86_64 23/154 Verifying : gzip-1.12-6.fc39.x86_64 24/154 Verifying : info-7.0.3-3.fc39.x86_64 25/154 Verifying : jansson-2.13.1-7.fc39.x86_64 26/154 Verifying : json-c-0.17-1.fc39.x86_64 27/154 Verifying : kernel-srpm-macros-1.0-20.fc39.noarch 28/154 Verifying : libattr-2.5.1-8.fc39.x86_64 29/154 Verifying : libbrotli-1.1.0-1.fc39.x86_64 30/154 Verifying : libcap-ng-0.8.3-8.fc39.x86_64 31/154 Verifying : libcom_err-1.47.0-2.fc39.x86_64 32/154 Verifying : libdb-5.3.28-56.fc39.x86_64 33/154 Verifying : libevent-2.1.12-9.fc39.x86_64 34/154 Verifying : libffi-3.4.4-4.fc39.x86_64 35/154 Verifying : libnsl2-2.0.0-6.fc39.x86_64 36/154 Verifying : libpkgconf-1.9.5-2.fc39.x86_64 37/154 Verifying : libpsl-0.21.2-4.fc39.x86_64 38/154 Verifying : libpwquality-1.4.5-6.fc39.x86_64 39/154 Verifying : libselinux-3.5-5.fc39.x86_64 40/154 Verifying : libsemanage-3.5-4.fc39.x86_64 41/154 Verifying : libsepol-3.5-2.fc39.x86_64 42/154 Verifying : libsigsegv-2.14-5.fc39.x86_64 43/154 Verifying : libtasn1-4.19.0-3.fc39.x86_64 44/154 Verifying : libtool-ltdl-2.4.7-7.fc39.x86_64 45/154 Verifying : libunistring-1.1-5.fc39.x86_64 46/154 Verifying : libutempter-1.2.1-10.fc39.x86_64 47/154 Verifying : libverto-0.3.2-6.fc39.x86_64 48/154 Verifying : libxcrypt-4.4.36-2.fc39.x86_64 49/154 Verifying : libxml2-2.10.4-3.fc39.x86_64 50/154 Verifying : lua-libs-5.4.6-3.fc39.x86_64 51/154 Verifying : lz4-libs-1.9.4-4.fc39.x86_64 52/154 Verifying : mpfr-4.2.0-3.fc39.x86_64 53/154 Verifying : ocaml-srpm-macros-8-2.fc39.noarch 54/154 Verifying : openblas-srpm-macros-2-14.fc39.noarch 55/154 Verifying : package-notes-srpm-macros-0.5-9.fc39.noarch 56/154 Verifying : patch-2.7.6-22.fc39.x86_64 57/154 Verifying : pcre2-10.42-1.fc39.2.x86_64 58/154 Verifying : pcre2-syntax-10.42-1.fc39.2.noarch 59/154 Verifying : perl-srpm-macros-1-51.fc39.noarch 60/154 Verifying : pkgconf-1.9.5-2.fc39.x86_64 61/154 Verifying : pkgconf-m4-1.9.5-2.fc39.noarch 62/154 Verifying : pkgconf-pkg-config-1.9.5-2.fc39.x86_64 63/154 Verifying : popt-1.19-3.fc39.x86_64 64/154 Verifying : sed-4.8-14.fc39.x86_64 65/154 Verifying : setup-2.14.4-1.fc39.noarch 66/154 Verifying : sqlite-libs-3.42.0-7.fc39.x86_64 67/154 Verifying : tar-2:1.35-2.fc39.x86_64 68/154 Verifying : unzip-6.0-62.fc39.x86_64 69/154 Verifying : which-2.21-40.fc39.x86_64 70/154 Verifying : xz-5.4.4-1.fc39.x86_64 71/154 Verifying : xz-libs-5.4.4-1.fc39.x86_64 72/154 Verifying : zip-3.0-39.fc39.x86_64 73/154 Verifying : zlib-1.2.13-4.fc39.x86_64 74/154 Verifying : alternatives-1.26-1.fc39.x86_64 75/154 Verifying : ansible-srpm-macros-1-12.fc39.noarch 76/154 Verifying : audit-libs-3.1.5-1.fc39.x86_64 77/154 Verifying : bash-5.2.26-1.fc39.x86_64 78/154 Verifying : binutils-2.40-14.fc39.x86_64 79/154 Verifying : binutils-gold-2.40-14.fc39.x86_64 80/154 Verifying : ca-certificates-2024.2.69_v8.0.401-1.0.fc39.noar 81/154 Verifying : coreutils-9.3-7.fc39.x86_64 82/154 Verifying : coreutils-common-9.3-7.fc39.x86_64 83/154 Verifying : crypto-policies-20231204-1.git1e3a2e4.fc39.noarc 84/154 Verifying : curl-8.2.1-5.fc39.x86_64 85/154 Verifying : debugedit-5.0-12.fc39.x86_64 86/154 Verifying : elfutils-0.192-4.fc39.x86_64 87/154 Verifying : elfutils-debuginfod-client-0.192-4.fc39.x86_64 88/154 Verifying : elfutils-default-yama-scope-0.192-4.fc39.noarch 89/154 Verifying : elfutils-libelf-0.192-4.fc39.x86_64 90/154 Verifying : elfutils-libs-0.192-4.fc39.x86_64 91/154 Verifying : fedora-gpg-keys-39-2.noarch 92/154 Verifying : fedora-release-39-36.noarch 93/154 Verifying : fedora-release-common-39-36.noarch 94/154 Verifying : fedora-release-identity-basic-39-36.noarch 95/154 Verifying : fedora-repos-39-2.noarch 96/154 Verifying : findutils-1:4.9.0-6.fc39.x86_64 97/154 Verifying : forge-srpm-macros-0.3.1-1.fc39.noarch 98/154 Verifying : gdb-minimal-15.1-1.fc39.x86_64 99/154 Verifying : glibc-2.38-19.fc39.x86_64 100/154 Verifying : glibc-common-2.38-19.fc39.x86_64 101/154 Verifying : glibc-gconv-extra-2.38-19.fc39.x86_64 102/154 Verifying : glibc-minimal-langpack-2.38-19.fc39.x86_64 103/154 Verifying : go-srpm-macros-3.5.0-1.fc39.noarch 104/154 Verifying : keyutils-libs-1.6.3-1.fc39.x86_64 105/154 Verifying : krb5-libs-1.21.3-1.fc39.x86_64 106/154 Verifying : libacl-2.3.1-9.fc39.x86_64 107/154 Verifying : libarchive-3.7.1-3.fc39.x86_64 108/154 Verifying : libblkid-2.39.4-1.fc39.x86_64 109/154 Verifying : libcap-2.48-9.fc39.x86_64 110/154 Verifying : libcurl-8.2.1-5.fc39.x86_64 111/154 Verifying : libeconf-0.5.2-2.fc39.x86_64 112/154 Verifying : libfdisk-2.39.4-1.fc39.x86_64 113/154 Verifying : libgcc-13.3.1-3.fc39.x86_64 114/154 Verifying : libgomp-13.3.1-3.fc39.x86_64 115/154 Verifying : libidn2-2.3.7-1.fc39.x86_64 116/154 Verifying : libmount-2.39.4-1.fc39.x86_64 117/154 Verifying : libnghttp2-1.55.1-5.fc39.x86_64 118/154 Verifying : libsmartcols-2.39.4-1.fc39.x86_64 119/154 Verifying : libssh-0.10.6-2.fc39.x86_64 120/154 Verifying : libssh-config-0.10.6-2.fc39.noarch 121/154 Verifying : libstdc++-13.3.1-3.fc39.x86_64 122/154 Verifying : libtirpc-1.3.6-0.fc39.x86_64 123/154 Verifying : libuuid-2.39.4-1.fc39.x86_64 124/154 Verifying : libzstd-1.5.6-1.fc39.x86_64 125/154 Verifying : lua-srpm-macros-1-13.fc39.noarch 126/154 Verifying : ncurses-base-6.4-7.20230520.fc39.1.noarch 127/154 Verifying : ncurses-libs-6.4-7.20230520.fc39.1.x86_64 128/154 Verifying : openldap-2.6.7-1.fc39.x86_64 129/154 Verifying : openssl-libs-1:3.1.4-4.fc39.x86_64 130/154 Verifying : p11-kit-0.25.5-1.fc39.x86_64 131/154 Verifying : p11-kit-trust-0.25.5-1.fc39.x86_64 132/154 Verifying : pam-1.5.3-3.fc39.x86_64 133/154 Verifying : pam-libs-1.5.3-3.fc39.x86_64 134/154 Verifying : publicsuffix-list-dafsa-20240107-1.fc39.noarch 135/154 Verifying : pyproject-srpm-macros-1.15.1-1.fc39.noarch 136/154 Verifying : python-srpm-macros-3.12-8.fc39.noarch 137/154 Verifying : qt5-srpm-macros-5.15.14-2.fc39.noarch 138/154 Verifying : qt6-srpm-macros-6.6.2-1.fc39.noarch 139/154 Verifying : readline-8.2-6.fc39.x86_64 140/154 Verifying : redhat-rpm-config-266-1.fc39.noarch 141/154 Verifying : rpm-4.19.1.1-1.fc39.x86_64 142/154 Verifying : rpm-build-4.19.1.1-1.fc39.x86_64 143/154 Verifying : rpm-build-libs-4.19.1.1-1.fc39.x86_64 144/154 Verifying : rpm-libs-4.19.1.1-1.fc39.x86_64 145/154 Verifying : rpm-sequoia-1.7.0-1.fc39.x86_64 146/154 Verifying : rpmautospec-rpm-macros-0.7.3-1.fc39.noarch 147/154 Verifying : rust-srpm-macros-26.3-1.fc39.noarch 148/154 Verifying : shadow-utils-2:4.14.0-2.fc39.x86_64 149/154 Verifying : systemd-libs-254.19-1.fc39.x86_64 150/154 Verifying : util-linux-2.39.4-1.fc39.x86_64 151/154 Verifying : util-linux-core-2.39.4-1.fc39.x86_64 152/154 Verifying : xxhash-libs-0.8.2-4.fc39.x86_64 153/154 Verifying : zstd-1.5.6-1.fc39.x86_64 154/154 Installed: alternatives-1.26-1.fc39.x86_64 ansible-srpm-macros-1-12.fc39.noarch audit-libs-3.1.5-1.fc39.x86_64 authselect-1.4.3-1.fc39.x86_64 authselect-libs-1.4.3-1.fc39.x86_64 basesystem-11-18.fc39.noarch bash-5.2.26-1.fc39.x86_64 binutils-2.40-14.fc39.x86_64 binutils-gold-2.40-14.fc39.x86_64 bzip2-1.0.8-16.fc39.x86_64 bzip2-libs-1.0.8-16.fc39.x86_64 ca-certificates-2024.2.69_v8.0.401-1.0.fc39.noarch coreutils-9.3-7.fc39.x86_64 coreutils-common-9.3-7.fc39.x86_64 cpio-2.14-4.fc39.x86_64 cracklib-2.9.11-2.fc39.x86_64 crypto-policies-20231204-1.git1e3a2e4.fc39.noarch curl-8.2.1-5.fc39.x86_64 cyrus-sasl-lib-2.1.28-11.fc39.x86_64 debugedit-5.0-12.fc39.x86_64 diffutils-3.10-3.fc39.x86_64 dwz-0.15-3.fc39.x86_64 ed-1.19-4.fc39.x86_64 efi-srpm-macros-5-9.fc39.noarch elfutils-0.192-4.fc39.x86_64 elfutils-debuginfod-client-0.192-4.fc39.x86_64 elfutils-default-yama-scope-0.192-4.fc39.noarch elfutils-libelf-0.192-4.fc39.x86_64 elfutils-libs-0.192-4.fc39.x86_64 fedora-gpg-keys-39-2.noarch fedora-release-39-36.noarch fedora-release-common-39-36.noarch fedora-release-identity-basic-39-36.noarch fedora-repos-39-2.noarch file-5.44-5.fc39.x86_64 file-libs-5.44-5.fc39.x86_64 filesystem-3.18-6.fc39.x86_64 findutils-1:4.9.0-6.fc39.x86_64 fonts-srpm-macros-1:2.0.5-12.fc39.noarch forge-srpm-macros-0.3.1-1.fc39.noarch fpc-srpm-macros-1.3-8.fc39.noarch gawk-5.2.2-2.fc39.x86_64 gdb-minimal-15.1-1.fc39.x86_64 gdbm-libs-1:1.23-4.fc39.x86_64 ghc-srpm-macros-1.6.1-2.fc39.noarch glibc-2.38-19.fc39.x86_64 glibc-common-2.38-19.fc39.x86_64 glibc-gconv-extra-2.38-19.fc39.x86_64 glibc-minimal-langpack-2.38-19.fc39.x86_64 gmp-1:6.2.1-5.fc39.x86_64 gnat-srpm-macros-6-3.fc39.noarch go-srpm-macros-3.5.0-1.fc39.noarch grep-3.11-3.fc39.x86_64 gzip-1.12-6.fc39.x86_64 info-7.0.3-3.fc39.x86_64 jansson-2.13.1-7.fc39.x86_64 json-c-0.17-1.fc39.x86_64 kernel-srpm-macros-1.0-20.fc39.noarch keyutils-libs-1.6.3-1.fc39.x86_64 krb5-libs-1.21.3-1.fc39.x86_64 libacl-2.3.1-9.fc39.x86_64 libarchive-3.7.1-3.fc39.x86_64 libattr-2.5.1-8.fc39.x86_64 libblkid-2.39.4-1.fc39.x86_64 libbrotli-1.1.0-1.fc39.x86_64 libcap-2.48-9.fc39.x86_64 libcap-ng-0.8.3-8.fc39.x86_64 libcom_err-1.47.0-2.fc39.x86_64 libcurl-8.2.1-5.fc39.x86_64 libdb-5.3.28-56.fc39.x86_64 libeconf-0.5.2-2.fc39.x86_64 libevent-2.1.12-9.fc39.x86_64 libfdisk-2.39.4-1.fc39.x86_64 libffi-3.4.4-4.fc39.x86_64 libgcc-13.3.1-3.fc39.x86_64 libgomp-13.3.1-3.fc39.x86_64 libidn2-2.3.7-1.fc39.x86_64 libmount-2.39.4-1.fc39.x86_64 libnghttp2-1.55.1-5.fc39.x86_64 libnsl2-2.0.0-6.fc39.x86_64 libpkgconf-1.9.5-2.fc39.x86_64 libpsl-0.21.2-4.fc39.x86_64 libpwquality-1.4.5-6.fc39.x86_64 libselinux-3.5-5.fc39.x86_64 libsemanage-3.5-4.fc39.x86_64 libsepol-3.5-2.fc39.x86_64 libsigsegv-2.14-5.fc39.x86_64 libsmartcols-2.39.4-1.fc39.x86_64 libssh-0.10.6-2.fc39.x86_64 libssh-config-0.10.6-2.fc39.noarch libstdc++-13.3.1-3.fc39.x86_64 libtasn1-4.19.0-3.fc39.x86_64 libtirpc-1.3.6-0.fc39.x86_64 libtool-ltdl-2.4.7-7.fc39.x86_64 libunistring-1.1-5.fc39.x86_64 libutempter-1.2.1-10.fc39.x86_64 libuuid-2.39.4-1.fc39.x86_64 libverto-0.3.2-6.fc39.x86_64 libxcrypt-4.4.36-2.fc39.x86_64 libxml2-2.10.4-3.fc39.x86_64 libzstd-1.5.6-1.fc39.x86_64 lua-libs-5.4.6-3.fc39.x86_64 lua-srpm-macros-1-13.fc39.noarch lz4-libs-1.9.4-4.fc39.x86_64 mpfr-4.2.0-3.fc39.x86_64 ncurses-base-6.4-7.20230520.fc39.1.noarch ncurses-libs-6.4-7.20230520.fc39.1.x86_64 ocaml-srpm-macros-8-2.fc39.noarch openblas-srpm-macros-2-14.fc39.noarch openldap-2.6.7-1.fc39.x86_64 openssl-libs-1:3.1.4-4.fc39.x86_64 p11-kit-0.25.5-1.fc39.x86_64 p11-kit-trust-0.25.5-1.fc39.x86_64 package-notes-srpm-macros-0.5-9.fc39.noarch pam-1.5.3-3.fc39.x86_64 pam-libs-1.5.3-3.fc39.x86_64 patch-2.7.6-22.fc39.x86_64 pcre2-10.42-1.fc39.2.x86_64 pcre2-syntax-10.42-1.fc39.2.noarch perl-srpm-macros-1-51.fc39.noarch pkgconf-1.9.5-2.fc39.x86_64 pkgconf-m4-1.9.5-2.fc39.noarch pkgconf-pkg-config-1.9.5-2.fc39.x86_64 popt-1.19-3.fc39.x86_64 publicsuffix-list-dafsa-20240107-1.fc39.noarch pyproject-srpm-macros-1.15.1-1.fc39.noarch python-srpm-macros-3.12-8.fc39.noarch qt5-srpm-macros-5.15.14-2.fc39.noarch qt6-srpm-macros-6.6.2-1.fc39.noarch readline-8.2-6.fc39.x86_64 redhat-rpm-config-266-1.fc39.noarch rpm-4.19.1.1-1.fc39.x86_64 rpm-build-4.19.1.1-1.fc39.x86_64 rpm-build-libs-4.19.1.1-1.fc39.x86_64 rpm-libs-4.19.1.1-1.fc39.x86_64 rpm-sequoia-1.7.0-1.fc39.x86_64 rpmautospec-rpm-macros-0.7.3-1.fc39.noarch rust-srpm-macros-26.3-1.fc39.noarch sed-4.8-14.fc39.x86_64 setup-2.14.4-1.fc39.noarch shadow-utils-2:4.14.0-2.fc39.x86_64 sqlite-libs-3.42.0-7.fc39.x86_64 systemd-libs-254.19-1.fc39.x86_64 tar-2:1.35-2.fc39.x86_64 unzip-6.0-62.fc39.x86_64 util-linux-2.39.4-1.fc39.x86_64 util-linux-core-2.39.4-1.fc39.x86_64 which-2.21-40.fc39.x86_64 xxhash-libs-0.8.2-4.fc39.x86_64 xz-5.4.4-1.fc39.x86_64 xz-libs-5.4.4-1.fc39.x86_64 zip-3.0-39.fc39.x86_64 zlib-1.2.13-4.fc39.x86_64 zstd-1.5.6-1.fc39.x86_64 Complete! Finish: installing minimal buildroot with dnf Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: alternatives-1.26-1.fc39.x86_64 ansible-srpm-macros-1-12.fc39.noarch audit-libs-3.1.5-1.fc39.x86_64 authselect-1.4.3-1.fc39.x86_64 authselect-libs-1.4.3-1.fc39.x86_64 basesystem-11-18.fc39.noarch bash-5.2.26-1.fc39.x86_64 binutils-2.40-14.fc39.x86_64 binutils-gold-2.40-14.fc39.x86_64 bzip2-1.0.8-16.fc39.x86_64 bzip2-libs-1.0.8-16.fc39.x86_64 ca-certificates-2024.2.69_v8.0.401-1.0.fc39.noarch coreutils-9.3-7.fc39.x86_64 coreutils-common-9.3-7.fc39.x86_64 cpio-2.14-4.fc39.x86_64 cracklib-2.9.11-2.fc39.x86_64 crypto-policies-20231204-1.git1e3a2e4.fc39.noarch curl-8.2.1-5.fc39.x86_64 cyrus-sasl-lib-2.1.28-11.fc39.x86_64 debugedit-5.0-12.fc39.x86_64 diffutils-3.10-3.fc39.x86_64 dwz-0.15-3.fc39.x86_64 ed-1.19-4.fc39.x86_64 efi-srpm-macros-5-9.fc39.noarch elfutils-0.192-4.fc39.x86_64 elfutils-debuginfod-client-0.192-4.fc39.x86_64 elfutils-default-yama-scope-0.192-4.fc39.noarch elfutils-libelf-0.192-4.fc39.x86_64 elfutils-libs-0.192-4.fc39.x86_64 fedora-gpg-keys-39-2.noarch fedora-release-39-36.noarch fedora-release-common-39-36.noarch fedora-release-identity-basic-39-36.noarch fedora-repos-39-2.noarch file-5.44-5.fc39.x86_64 file-libs-5.44-5.fc39.x86_64 filesystem-3.18-6.fc39.x86_64 findutils-4.9.0-6.fc39.x86_64 fonts-srpm-macros-2.0.5-12.fc39.noarch forge-srpm-macros-0.3.1-1.fc39.noarch fpc-srpm-macros-1.3-8.fc39.noarch gawk-5.2.2-2.fc39.x86_64 gdb-minimal-15.1-1.fc39.x86_64 gdbm-libs-1.23-4.fc39.x86_64 ghc-srpm-macros-1.6.1-2.fc39.noarch glibc-2.38-19.fc39.x86_64 glibc-common-2.38-19.fc39.x86_64 glibc-gconv-extra-2.38-19.fc39.x86_64 glibc-minimal-langpack-2.38-19.fc39.x86_64 gmp-6.2.1-5.fc39.x86_64 gnat-srpm-macros-6-3.fc39.noarch go-srpm-macros-3.5.0-1.fc39.noarch gpg-pubkey-18b8e74c-62f2920f grep-3.11-3.fc39.x86_64 gzip-1.12-6.fc39.x86_64 info-7.0.3-3.fc39.x86_64 jansson-2.13.1-7.fc39.x86_64 json-c-0.17-1.fc39.x86_64 kernel-srpm-macros-1.0-20.fc39.noarch keyutils-libs-1.6.3-1.fc39.x86_64 krb5-libs-1.21.3-1.fc39.x86_64 libacl-2.3.1-9.fc39.x86_64 libarchive-3.7.1-3.fc39.x86_64 libattr-2.5.1-8.fc39.x86_64 libblkid-2.39.4-1.fc39.x86_64 libbrotli-1.1.0-1.fc39.x86_64 libcap-2.48-9.fc39.x86_64 libcap-ng-0.8.3-8.fc39.x86_64 libcom_err-1.47.0-2.fc39.x86_64 libcurl-8.2.1-5.fc39.x86_64 libdb-5.3.28-56.fc39.x86_64 libeconf-0.5.2-2.fc39.x86_64 libevent-2.1.12-9.fc39.x86_64 libfdisk-2.39.4-1.fc39.x86_64 libffi-3.4.4-4.fc39.x86_64 libgcc-13.3.1-3.fc39.x86_64 libgomp-13.3.1-3.fc39.x86_64 libidn2-2.3.7-1.fc39.x86_64 libmount-2.39.4-1.fc39.x86_64 libnghttp2-1.55.1-5.fc39.x86_64 libnsl2-2.0.0-6.fc39.x86_64 libpkgconf-1.9.5-2.fc39.x86_64 libpsl-0.21.2-4.fc39.x86_64 libpwquality-1.4.5-6.fc39.x86_64 libselinux-3.5-5.fc39.x86_64 libsemanage-3.5-4.fc39.x86_64 libsepol-3.5-2.fc39.x86_64 libsigsegv-2.14-5.fc39.x86_64 libsmartcols-2.39.4-1.fc39.x86_64 libssh-0.10.6-2.fc39.x86_64 libssh-config-0.10.6-2.fc39.noarch libstdc++-13.3.1-3.fc39.x86_64 libtasn1-4.19.0-3.fc39.x86_64 libtirpc-1.3.6-0.fc39.x86_64 libtool-ltdl-2.4.7-7.fc39.x86_64 libunistring-1.1-5.fc39.x86_64 libutempter-1.2.1-10.fc39.x86_64 libuuid-2.39.4-1.fc39.x86_64 libverto-0.3.2-6.fc39.x86_64 libxcrypt-4.4.36-2.fc39.x86_64 libxml2-2.10.4-3.fc39.x86_64 libzstd-1.5.6-1.fc39.x86_64 lua-libs-5.4.6-3.fc39.x86_64 lua-srpm-macros-1-13.fc39.noarch lz4-libs-1.9.4-4.fc39.x86_64 mpfr-4.2.0-3.fc39.x86_64 ncurses-base-6.4-7.20230520.fc39.1.noarch ncurses-libs-6.4-7.20230520.fc39.1.x86_64 ocaml-srpm-macros-8-2.fc39.noarch openblas-srpm-macros-2-14.fc39.noarch openldap-2.6.7-1.fc39.x86_64 openssl-libs-3.1.4-4.fc39.x86_64 p11-kit-0.25.5-1.fc39.x86_64 p11-kit-trust-0.25.5-1.fc39.x86_64 package-notes-srpm-macros-0.5-9.fc39.noarch pam-1.5.3-3.fc39.x86_64 pam-libs-1.5.3-3.fc39.x86_64 patch-2.7.6-22.fc39.x86_64 pcre2-10.42-1.fc39.2.x86_64 pcre2-syntax-10.42-1.fc39.2.noarch perl-srpm-macros-1-51.fc39.noarch pkgconf-1.9.5-2.fc39.x86_64 pkgconf-m4-1.9.5-2.fc39.noarch pkgconf-pkg-config-1.9.5-2.fc39.x86_64 popt-1.19-3.fc39.x86_64 publicsuffix-list-dafsa-20240107-1.fc39.noarch pyproject-srpm-macros-1.15.1-1.fc39.noarch python-srpm-macros-3.12-8.fc39.noarch qt5-srpm-macros-5.15.14-2.fc39.noarch qt6-srpm-macros-6.6.2-1.fc39.noarch readline-8.2-6.fc39.x86_64 redhat-rpm-config-266-1.fc39.noarch rpm-4.19.1.1-1.fc39.x86_64 rpm-build-4.19.1.1-1.fc39.x86_64 rpm-build-libs-4.19.1.1-1.fc39.x86_64 rpm-libs-4.19.1.1-1.fc39.x86_64 rpm-sequoia-1.7.0-1.fc39.x86_64 rpmautospec-rpm-macros-0.7.3-1.fc39.noarch rust-srpm-macros-26.3-1.fc39.noarch sed-4.8-14.fc39.x86_64 setup-2.14.4-1.fc39.noarch shadow-utils-4.14.0-2.fc39.x86_64 sqlite-libs-3.42.0-7.fc39.x86_64 systemd-libs-254.19-1.fc39.x86_64 tar-1.35-2.fc39.x86_64 unzip-6.0-62.fc39.x86_64 util-linux-2.39.4-1.fc39.x86_64 util-linux-core-2.39.4-1.fc39.x86_64 which-2.21-40.fc39.x86_64 xxhash-libs-0.8.2-4.fc39.x86_64 xz-5.4.4-1.fc39.x86_64 xz-libs-5.4.4-1.fc39.x86_64 zip-3.0-39.fc39.x86_64 zlib-1.2.13-4.fc39.x86_64 zstd-1.5.6-1.fc39.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1731283200 Wrote: /builddir/build/SRPMS/chibicc-0.0^20201207.90d1f7f-1.fc39.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-39-x86_64-1731320125.212919/root/var/log/dnf.rpm.log /var/lib/mock/fedora-39-x86_64-1731320125.212919/root/var/log/dnf.librepo.log /var/lib/mock/fedora-39-x86_64-1731320125.212919/root/var/log/dnf.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-fbhxrqm0/chibicc/chibicc.spec) Config(child) 1 minutes 2 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/chibicc-0.0^20201207.90d1f7f-1.fc39.src.rpm) Config(fedora-39-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-39-x86_64-bootstrap-1731320125.212919/root. INFO: reusing tmpfs at /var/lib/mock/fedora-39-x86_64-bootstrap-1731320125.212919/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-39-x86_64-1731320125.212919/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.19.1.1-1.fc39.x86_64 rpm-sequoia-1.7.0-1.fc39.x86_64 python3-dnf-4.21.1-1.fc39.noarch python3-dnf-plugins-core-4.9.0-1.fc39.noarch yum-4.21.1-1.fc39.noarch Finish: chroot init Start: build phase for chibicc-0.0^20201207.90d1f7f-1.fc39.src.rpm Start: build setup for chibicc-0.0^20201207.90d1f7f-1.fc39.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1731283200 Wrote: /builddir/build/SRPMS/chibicc-0.0^20201207.90d1f7f-1.fc39.src.rpm No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 85 kB/s | 1.5 kB 00:00 fedora 569 kB/s | 31 kB 00:00 updates 63 kB/s | 17 kB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: gcc x86_64 13.3.1-3.fc39 updates 34 M glibc-devel x86_64 2.38-19.fc39 updates 74 k glibc-static x86_64 2.38-19.fc39 updates 1.7 M make x86_64 1:4.4.1-2.fc39 fedora 589 k Installing dependencies: annobin-docs noarch 12.60-1.fc39 updates 88 k annobin-plugin-gcc x86_64 12.60-1.fc39 updates 965 k cpp x86_64 13.3.1-3.fc39 updates 11 M gc x86_64 8.2.2-4.fc39 fedora 110 k gcc-plugin-annobin x86_64 13.3.1-3.fc39 updates 58 k glibc-headers-x86 noarch 2.38-19.fc39 updates 562 k guile22 x86_64 2.2.7-9.fc39 fedora 6.5 M kernel-headers x86_64 6.11.3-100.fc39 updates 1.6 M libmpc x86_64 1.3.1-3.fc39 fedora 70 k libxcrypt-devel x86_64 4.4.36-2.fc39 fedora 30 k libxcrypt-static x86_64 4.4.36-2.fc39 fedora 95 k Transaction Summary ================================================================================ Install 15 Packages Total download size: 57 M Installed size: 193 M Downloading Packages: (1/15): libmpc-1.3.1-3.fc39.x86_64.rpm 2.9 MB/s | 70 kB 00:00 (2/15): gc-8.2.2-4.fc39.x86_64.rpm 4.3 MB/s | 110 kB 00:00 (3/15): libxcrypt-devel-4.4.36-2.fc39.x86_64.rp 17 MB/s | 30 kB 00:00 (4/15): libxcrypt-static-4.4.36-2.fc39.x86_64.r 15 MB/s | 95 kB 00:00 (5/15): make-4.4.1-2.fc39.x86_64.rpm 131 MB/s | 589 kB 00:00 (6/15): annobin-docs-12.60-1.fc39.noarch.rpm 35 MB/s | 88 kB 00:00 (7/15): annobin-plugin-gcc-12.60-1.fc39.x86_64. 166 MB/s | 965 kB 00:00 (8/15): guile22-2.2.7-9.fc39.x86_64.rpm 117 MB/s | 6.5 MB 00:00 (9/15): cpp-13.3.1-3.fc39.x86_64.rpm 216 MB/s | 11 MB 00:00 (10/15): gcc-plugin-annobin-13.3.1-3.fc39.x86_6 2.5 MB/s | 58 kB 00:00 (11/15): glibc-devel-2.38-19.fc39.x86_64.rpm 5.3 MB/s | 74 kB 00:00 (12/15): glibc-headers-x86-2.38-19.fc39.noarch. 39 MB/s | 562 kB 00:00 (13/15): glibc-static-2.38-19.fc39.x86_64.rpm 125 MB/s | 1.7 MB 00:00 (14/15): kernel-headers-6.11.3-100.fc39.x86_64. 80 MB/s | 1.6 MB 00:00 (15/15): gcc-13.3.1-3.fc39.x86_64.rpm 280 MB/s | 34 MB 00:00 -------------------------------------------------------------------------------- Total 119 MB/s | 57 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : libmpc-1.3.1-3.fc39.x86_64 1/15 Installing : cpp-13.3.1-3.fc39.x86_64 2/15 Installing : kernel-headers-6.11.3-100.fc39.x86_64 3/15 Installing : glibc-headers-x86-2.38-19.fc39.noarch 4/15 Installing : glibc-devel-2.38-19.fc39.x86_64 5/15 Installing : libxcrypt-devel-4.4.36-2.fc39.x86_64 6/15 Installing : libxcrypt-static-4.4.36-2.fc39.x86_64 7/15 Installing : glibc-static-2.38-19.fc39.x86_64 8/15 Installing : annobin-docs-12.60-1.fc39.noarch 9/15 Installing : gc-8.2.2-4.fc39.x86_64 10/15 Installing : guile22-2.2.7-9.fc39.x86_64 11/15 Installing : make-1:4.4.1-2.fc39.x86_64 12/15 Installing : gcc-13.3.1-3.fc39.x86_64 13/15 Running scriptlet: gcc-13.3.1-3.fc39.x86_64 13/15 Installing : annobin-plugin-gcc-12.60-1.fc39.x86_64 14/15 Running scriptlet: annobin-plugin-gcc-12.60-1.fc39.x86_64 14/15 Installing : gcc-plugin-annobin-13.3.1-3.fc39.x86_64 15/15 Running scriptlet: gcc-plugin-annobin-13.3.1-3.fc39.x86_64 15/15 Verifying : gc-8.2.2-4.fc39.x86_64 1/15 Verifying : guile22-2.2.7-9.fc39.x86_64 2/15 Verifying : libmpc-1.3.1-3.fc39.x86_64 3/15 Verifying : libxcrypt-devel-4.4.36-2.fc39.x86_64 4/15 Verifying : libxcrypt-static-4.4.36-2.fc39.x86_64 5/15 Verifying : make-1:4.4.1-2.fc39.x86_64 6/15 Verifying : annobin-docs-12.60-1.fc39.noarch 7/15 Verifying : annobin-plugin-gcc-12.60-1.fc39.x86_64 8/15 Verifying : cpp-13.3.1-3.fc39.x86_64 9/15 Verifying : gcc-13.3.1-3.fc39.x86_64 10/15 Verifying : gcc-plugin-annobin-13.3.1-3.fc39.x86_64 11/15 Verifying : glibc-devel-2.38-19.fc39.x86_64 12/15 Verifying : glibc-headers-x86-2.38-19.fc39.noarch 13/15 Verifying : glibc-static-2.38-19.fc39.x86_64 14/15 Verifying : kernel-headers-6.11.3-100.fc39.x86_64 15/15 Installed: annobin-docs-12.60-1.fc39.noarch annobin-plugin-gcc-12.60-1.fc39.x86_64 cpp-13.3.1-3.fc39.x86_64 gc-8.2.2-4.fc39.x86_64 gcc-13.3.1-3.fc39.x86_64 gcc-plugin-annobin-13.3.1-3.fc39.x86_64 glibc-devel-2.38-19.fc39.x86_64 glibc-headers-x86-2.38-19.fc39.noarch glibc-static-2.38-19.fc39.x86_64 guile22-2.2.7-9.fc39.x86_64 kernel-headers-6.11.3-100.fc39.x86_64 libmpc-1.3.1-3.fc39.x86_64 libxcrypt-devel-4.4.36-2.fc39.x86_64 libxcrypt-static-4.4.36-2.fc39.x86_64 make-1:4.4.1-2.fc39.x86_64 Complete! Finish: build setup for chibicc-0.0^20201207.90d1f7f-1.fc39.src.rpm Start: rpmbuild chibicc-0.0^20201207.90d1f7f-1.fc39.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1731283200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.h2YJ22 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf chibicc-90d1f7f199cc55b13c7fdb5839d1409806633fdb + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/chibicc-90d1f7f.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd chibicc-90d1f7f199cc55b13c7fdb5839d1409806633fdb + rm -rf /builddir/build/BUILD/chibicc-90d1f7f199cc55b13c7fdb5839d1409806633fdb-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/chibicc-90d1f7f199cc55b13c7fdb5839d1409806633fdb-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i s/CFLAGS=-std=c11/CFLAGS+=-std=c11/g Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mzpw5F + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd chibicc-90d1f7f199cc55b13c7fdb5839d1409806633fdb + /usr/bin/make -O -j4 V=1 VERBOSE=1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c11 -g -fno-common -Wall -Wno-switch -c -o hashmap.o hashmap.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c11 -g -fno-common -Wall -Wno-switch -c -o main.o main.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c11 -g -fno-common -Wall -Wno-switch -c -o strings.o strings.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c11 -g -fno-common -Wall -Wno-switch -c -o codegen.o codegen.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c11 -g -fno-common -Wall -Wno-switch -c -o type.o type.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c11 -g -fno-common -Wall -Wno-switch -c -o unicode.o unicode.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c11 -g -fno-common -Wall -Wno-switch -c -o preprocess.o preprocess.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c11 -g -fno-common -Wall -Wno-switch -c -o tokenize.o tokenize.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c11 -g -fno-common -Wall -Wno-switch -c -o parse.o parse.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c11 -g -fno-common -Wall -Wno-switch -o chibicc codegen.o hashmap.o main.o parse.o preprocess.o strings.o tokenize.o type.o unicode.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hzQkud + umask 022 + cd /builddir/build/BUILD + '[' '/builddir/build/BUILDROOT/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64' '!=' / ']' + rm -rf '/builddir/build/BUILDROOT/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64' ++ dirname '/builddir/build/BUILDROOT/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64' + mkdir -p /builddir/build/BUILDROOT + mkdir '/builddir/build/BUILDROOT/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd chibicc-90d1f7f199cc55b13c7fdb5839d1409806633fdb + mkdir -p '/builddir/build/BUILDROOT/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64/usr/bin' + install -m 755 chibicc '/builddir/build/BUILDROOT/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64/usr/bin' + mkdir -p '/builddir/build/BUILDROOT/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64/usr/include/chibicc' + install -m 644 include/float.h include/stdalign.h include/stdarg.h include/stdatomic.h include/stdbool.h include/stddef.h include/stdnoreturn.h '/builddir/build/BUILDROOT/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64/usr/include/chibicc/' + install -m 644 chibicc.h '/builddir/build/BUILDROOT/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64/usr/include/' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed '0.0^20201207.90d1f7f-1.fc39' --unique-debug-suffix '-0.0^20201207.90d1f7f-1.fc39.x86_64' --unique-debug-src-base 'chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64' --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/chibicc-90d1f7f199cc55b13c7fdb5839d1409806633fdb find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64 460 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.HgmC6t + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd chibicc-90d1f7f199cc55b13c7fdb5839d1409806633fdb + make test-all ./chibicc -Iinclude -Itest -c -o test/alignof.o test/alignof.c gcc -pthread -o test/alignof.exe test/alignof.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/alloca.o test/alloca.c gcc -pthread -o test/alloca.exe test/alloca.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/arith.o test/arith.c gcc -pthread -o test/arith.exe test/arith.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/asm.o test/asm.c gcc -pthread -o test/asm.exe test/asm.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/atomic.o test/atomic.c gcc -pthread -o test/atomic.exe test/atomic.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/attribute.o test/attribute.c gcc -pthread -o test/attribute.exe test/attribute.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/bitfield.o test/bitfield.c gcc -pthread -o test/bitfield.exe test/bitfield.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/builtin.o test/builtin.c gcc -pthread -o test/builtin.exe test/builtin.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/cast.o test/cast.c gcc -pthread -o test/cast.exe test/cast.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/commonsym.o test/commonsym.c gcc -pthread -o test/commonsym.exe test/commonsym.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/compat.o test/compat.c gcc -pthread -o test/compat.exe test/compat.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/complit.o test/complit.c gcc -pthread -o test/complit.exe test/complit.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/const.o test/const.c gcc -pthread -o test/const.exe test/const.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/constexpr.o test/constexpr.c gcc -pthread -o test/constexpr.exe test/constexpr.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/control.o test/control.c gcc -pthread -o test/control.exe test/control.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/decl.o test/decl.c gcc -pthread -o test/decl.exe test/decl.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/enum.o test/enum.c gcc -pthread -o test/enum.exe test/enum.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/extern.o test/extern.c gcc -pthread -o test/extern.exe test/extern.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/float.o test/float.c gcc -pthread -o test/float.exe test/float.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/function.o test/function.c gcc -pthread -o test/function.exe test/function.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/generic.o test/generic.c gcc -pthread -o test/generic.exe test/generic.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/initializer.o test/initializer.c gcc -pthread -o test/initializer.exe test/initializer.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/line.o test/line.c gcc -pthread -o test/line.exe test/line.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/literal.o test/literal.c gcc -pthread -o test/literal.exe test/literal.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/macro.o test/macro.c gcc -pthread -o test/macro.exe test/macro.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/offsetof.o test/offsetof.c gcc -pthread -o test/offsetof.exe test/offsetof.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/pointer.o test/pointer.c gcc -pthread -o test/pointer.exe test/pointer.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/pragma-once.o test/pragma-once.c gcc -pthread -o test/pragma-once.exe test/pragma-once.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/sizeof.o test/sizeof.c gcc -pthread -o test/sizeof.exe test/sizeof.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/stdhdr.o test/stdhdr.c gcc -pthread -o test/stdhdr.exe test/stdhdr.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/string.o test/string.c gcc -pthread -o test/string.exe test/string.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/struct.o test/struct.c gcc -pthread -o test/struct.exe test/struct.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/tls.o test/tls.c gcc -pthread -o test/tls.exe test/tls.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/typedef.o test/typedef.c gcc -pthread -o test/typedef.exe test/typedef.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/typeof.o test/typeof.c gcc -pthread -o test/typeof.exe test/typeof.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/unicode.o test/unicode.c gcc -pthread -o test/unicode.exe test/unicode.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/union.o test/union.c gcc -pthread -o test/union.exe test/union.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/usualconv.o test/usualconv.c gcc -pthread -o test/usualconv.exe test/usualconv.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/varargs.o test/varargs.c gcc -pthread -o test/varargs.exe test/varargs.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/variable.o test/variable.c gcc -pthread -o test/variable.exe test/variable.o -xc test/common ./chibicc -Iinclude -Itest -c -o test/vla.o test/vla.c gcc -pthread -o test/vla.exe test/vla.o -xc test/common for i in test/alignof.exe test/alloca.exe test/arith.exe test/asm.exe test/atomic.exe test/attribute.exe test/bitfield.exe test/builtin.exe test/cast.exe test/commonsym.exe test/compat.exe test/complit.exe test/const.exe test/constexpr.exe test/control.exe test/decl.exe test/enum.exe test/extern.exe test/float.exe test/function.exe test/generic.exe test/initializer.exe test/line.exe test/literal.exe test/macro.exe test/offsetof.exe test/pointer.exe test/pragma-once.exe test/sizeof.exe test/stdhdr.exe test/string.exe test/struct.exe test/tls.exe test/typedef.exe test/typeof.exe test/unicode.exe test/union.exe test/usualconv.exe test/varargs.exe test/variable.exe test/vla.exe; do echo $i; ./$i || exit 1; echo; done test/alignof.exe _Alignof(char) => 1 _Alignof(short) => 2 _Alignof(int) => 4 _Alignof(long) => 8 _Alignof(long long) => 8 _Alignof(char[3]) => 1 _Alignof(int[3]) => 4 _Alignof(struct {char a; char b;}[2]) => 1 _Alignof(struct {char a; long b;}[2]) => 8 ({ _Alignas(char) char x, y; &y-&x; }) => 1 ({ _Alignas(long) char x, y; &y-&x; }) => 8 ({ _Alignas(32) char x, y; &y-&x; }) => 32 ({ _Alignas(32) int *x, *y; ((char *)&y)-((char *)&x); }) => 32 ({ struct { _Alignas(16) char x, y; } a; &a.y-&a.x; }) => 16 ({ struct T { _Alignas(8) char a; }; _Alignof(struct T); }) => 8 (long)(char *)&g1 % 512 => 0 (long)(char *)&g2 % 512 => 0 (long)(char *)&g4 % 4 => 0 (long)(char *)&g5 % 8 => 0 ({ char x; _Alignof(x); }) => 1 ({ int x; _Alignof(x); }) => 4 ({ char x; _Alignof x; }) => 1 ({ int x; _Alignof x; }) => 4 _Alignof(char) << 31 >> 31 => 1 _Alignof(char) << 63 >> 63 => 1 ({ char x; _Alignof(x) << 63 >> 63; }) => 1 ({ char x[16]; (unsigned long)&x % 16; }) => 0 ({ char x[17]; (unsigned long)&x % 16; }) => 0 ({ char x[100]; (unsigned long)&x % 16; }) => 0 ({ char x[101]; (unsigned long)&x % 16; }) => 0 OK test/alloca.exe p1 - p2 => 16 p2 - p3 => 16 p3 - p4 => 16 memcmp(p1, "0123456789abcdef", 16) => 0 memcmp(p2, "ghijklmnopqrstuv", 16) => 0 memcmp(p3, "wxy", 3) => 0 OK test/arith.exe 0 => 0 42 => 42 5+20-4 => 21 12 + 34 - 5 => 41 5+6*7 => 47 5*(9-6) => 15 (3+5)/2 => 4 -10+20 => 10 - -10 => 10 - - +10 => 10 0==1 => 0 42==42 => 1 0!=1 => 1 42!=42 => 0 0<1 => 1 1<1 => 0 2<1 => 0 0<=1 => 1 1<=1 => 1 2<=1 => 0 1>0 => 1 1>1 => 0 1>2 => 0 1>=0 => 1 1>=1 => 1 1>=2 => 0 1073741824 * 100 / 100 => 0 ({ int i=2; i+=5; i; }) => 7 ({ int i=2; i+=5; }) => 7 ({ int i=5; i-=2; i; }) => 3 ({ int i=5; i-=2; }) => 3 ({ int i=3; i*=2; i; }) => 6 ({ int i=3; i*=2; }) => 6 ({ int i=6; i/=2; i; }) => 3 ({ int i=6; i/=2; }) => 3 ({ int i=2; ++i; }) => 3 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; ++*p; }) => 2 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; --*p; }) => 0 ({ int i=2; i++; }) => 2 ({ int i=2; i--; }) => 2 ({ int i=2; i++; i; }) => 3 ({ int i=2; i--; i; }) => 1 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; *p++; }) => 1 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; *p--; }) => 1 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; (*p++)--; a[0]; }) => 0 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; (*(p--))--; a[1]; }) => 0 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; (*p)--; a[2]; }) => 2 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; (*p)--; p++; *p; }) => 2 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; (*p++)--; a[0]; }) => 0 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; (*p++)--; a[1]; }) => 0 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; (*p++)--; a[2]; }) => 2 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; (*p++)--; *p; }) => 2 !1 => 0 !2 => 0 !0 => 1 !(char)0 => 1 !(long)3 => 0 sizeof(!(char)0) => 4 sizeof(!(long)0) => 4 ~0 => -1 ~-1 => 0 17%6 => 5 ((long)17)%6 => 5 ({ int i=10; i%=4; i; }) => 2 ({ long i=10; i%=4; i; }) => 2 0&1 => 0 3&1 => 1 7&3 => 3 -1&10 => 10 0|1 => 1 0b10000|0b00011 => 19 0^0 => 0 0b1111^0b1111 => 0 0b111000^0b001100 => 52 ({ int i=6; i&=3; i; }) => 2 ({ int i=6; i|=3; i; }) => 7 ({ int i=15; i^=5; i; }) => 10 1<<0 => 1 1<<3 => 8 5<<1 => 10 5>>1 => 2 -1>>1 => -1 ({ int i=1; i<<=0; i; }) => 1 ({ int i=1; i<<=3; i; }) => 8 ({ int i=5; i<<=1; i; }) => 10 ({ int i=5; i>>=1; i; }) => 2 -1 => -1 ({ int i=-1; i; }) => -1 ({ int i=-1; i>>=1; i; }) => -1 0?1:2 => 2 1?1:2 => 1 0?-2:-1 => -1 1?-2:-1 => -2 sizeof(0?1:2) => 4 sizeof(0?(long)1:(long)2) => 8 0?(long)-2:-1 => -1 0?-2:(long)-1 => -1 1?(long)-2:-1 => -2 1?-2:(long)-1 => -2 ({ int x; int *p=&x; p+20-p; }) => 20 ({ int x; int *p=&x; p+20-p>0; }) => 1 ({ int x; int *p=&x; p-20-p; }) => -20 ({ int x; int *p=&x; p-20-p<0; }) => 1 (char *)0xffffffffffffffff - (char *)0xfffffffffffffff0 => 15 (char *)0xfffffffffffffff0 - (char *)0xffffffffffffffff => -15 (void *)0xffffffffffffffff > (void *)0 => 1 3?:5 => 3 0?:5 => 5 ({ int i = 3; ++i?:10; }) => 4 (long double)3 => 3 (long double)3+2 => 5 (long double)3*2 => 6 (long double)3+2.0 => 5 OK test/asm.exe asm_fn1() => 50 asm_fn2() => 55 OK test/atomic.exe add_millions() => 6000000 ({ int x=3; __builtin_atomic_exchange((&x), (5)); }) => 3 ({ int x=3; __builtin_atomic_exchange((&x), (5)); x; }) => 5 OK test/attribute.exe ({ struct { char a; int b; } __attribute__((packed)) x; sizeof(x); }) => 5 offsetof(struct __attribute__((packed)) { char a; int b; }, a) => 0 offsetof(struct __attribute__((packed)) { char a; int b; }, b) => 1 ({ struct __attribute__((packed)) { char a; int b; } x; sizeof(x); }) => 5 offsetof(struct { char a; int b; } __attribute__((packed)), a) => 0 offsetof(struct { char a; int b; } __attribute__((packed)), b) => 1 ({ typedef struct { char a; int b[2]; } __attribute__((packed)) T; sizeof(T); }) => 9 ({ typedef struct __attribute__((packed)) { char a; int b[2]; } T; sizeof(T); }) => 9 offsetof(struct __attribute__((packed)) T { char a; int b[2]; }, b) => 1 _Alignof(struct __attribute__((packed)) { char a; int b[2]; }) => 1 ({ struct __attribute__((aligned(8))) { int a; } x; _Alignof(x); }) => 8 ({ struct { int a; } __attribute__((aligned(8))) x; _Alignof(x); }) => 8 ({ struct __attribute__((aligned(8), packed)) { char a; int b; } x; _Alignof(x); }) => 8 ({ struct { char a; int b; } __attribute__((aligned(8), packed)) x; _Alignof(x); }) => 8 offsetof(struct __attribute__((aligned(8), packed)) { char a; int b; }, b) => 1 offsetof(struct { char a; int b; } __attribute__((aligned(8), packed)), b) => 1 ({ struct __attribute__((aligned(8))) __attribute__((packed)) { char a; int b; } x; _Alignof(x); }) => 8 ({ struct { char a; int b; } __attribute__((aligned(8))) __attribute__((packed)) x; _Alignof(x); }) => 8 offsetof(struct __attribute__((aligned(8))) __attribute__((packed)) { char a; int b; }, b) => 1 offsetof(struct { char a; int b; } __attribute__((aligned(8))) __attribute__((packed)), b) => 1 ({ struct __attribute__((aligned(8))) { char a; int b; } __attribute__((packed)) x; _Alignof(x); }) => 8 offsetof(struct __attribute__((aligned(8))) { char a; int b; } __attribute__((packed)), b) => 1 ({ struct __attribute__((aligned(8+8))) { char a; int b; } x; _Alignof(x); }) => 16 OK test/bitfield.exe sizeof(struct {int x:1; }) => 4 sizeof(struct {long x:1; }) => 8 sizeof(struct bit1) => 4 ({ struct bit1 x; x.a=1; x.b=2; x.c=3; x.d=4; x.e=5; x.a; }) => 1 ({ struct bit1 x={1,2,3,4,5}; x.a; }) => 1 ({ struct bit1 x={1,2,3,4,5}; x.b; }) => 2 ({ struct bit1 x={1,2,3,4,5}; x.c; }) => -1 ({ struct bit1 x={1,2,3,4,5}; x.d; }) => -4 ({ struct bit1 x={1,2,3,4,5}; x.e; }) => -3 g45.a => 1 g45.b => 2 g45.c => 3 g46.a => 0 g46.b => 0 g46.c => 0 ({ T3 x={1,2,3}; x.a++; }) => 1 ({ T3 x={1,2,3}; x.b++; }) => 2 ({ T3 x={1,2,3}; x.c++; }) => 3 ({ T3 x={1,2,3}; ++x.a; }) => 2 ({ T3 x={1,2,3}; ++x.b; }) => 3 ({ T3 x={1,2,3}; ++x.c; }) => 4 sizeof(struct {int a:3; int c:1; int c:5;}) => 4 sizeof(struct {int a:3; int:0; int c:5;}) => 8 sizeof(struct {int a:3; int:0;}) => 4 OK test/builtin.exe __builtin_types_compatible_p(int, int) => 1 __builtin_types_compatible_p(double, double) => 1 __builtin_types_compatible_p(int, long) => 0 __builtin_types_compatible_p(long, float) => 0 __builtin_types_compatible_p(int *, int *) => 1 __builtin_types_compatible_p(short *, int *) => 0 __builtin_types_compatible_p(int **, int *) => 0 __builtin_types_compatible_p(const int, int) => 1 __builtin_types_compatible_p(unsigned, int) => 0 __builtin_types_compatible_p(signed, int) => 1 __builtin_types_compatible_p(struct {int a;}, struct {int a;}) => 0 __builtin_types_compatible_p(int (*)(void), int (*)(void)) => 1 __builtin_types_compatible_p(void (*)(int), void (*)(int)) => 1 __builtin_types_compatible_p(void (*)(int, double), void (*)(int, double)) => 1 __builtin_types_compatible_p(int (*)(float, double), int (*)(float, double)) => 1 __builtin_types_compatible_p(int (*)(float, double), int) => 0 __builtin_types_compatible_p(int (*)(float, double), int (*)(float)) => 0 __builtin_types_compatible_p(int (*)(float, double), int (*)(float, double, int)) => 0 __builtin_types_compatible_p(double (*)(...), double (*)(...)) => 1 __builtin_types_compatible_p(double (*)(...), double (*)(void)) => 0 ({ typedef struct {int a;} T; __builtin_types_compatible_p(T, T); }) => 1 ({ typedef struct {int a;} T; __builtin_types_compatible_p(T, const T); }) => 1 ({ struct {int a; int b;} x; __builtin_types_compatible_p(typeof(x.a), typeof(x.b)); }) => 1 OK test/cast.exe (int)8590066177 => 131585 (short)8590066177 => 513 (char)8590066177 => 1 (long)1 => 1 (long)&*(int *)0 => 0 ({ int x=512; *(char *)&x=1; x; }) => 513 ({ int x=5; long y=(long)&x; *(int*)y; }) => 5 (char)255 => -1 (signed char)255 => -1 (unsigned char)255 => 255 (short)65535 => -1 (unsigned short)65535 => 65535 (int)0xffffffff => -1 (unsigned)0xffffffff => -1 -1<1 => 1 -1<(unsigned)1 => 0 (char)127+(char)127 => 254 (short)32767+(short)32767 => 65534 -1>>1 => -1 (unsigned long)-1 => -1 ((unsigned)-1)>>1 => 2147483647 (-100)/2 => -50 ((unsigned)-100)/2 => 2147483598 ((unsigned long)-100)/2 => -50 ((long)-1)/(unsigned)100 => 0 (-100)%7 => -2 ((unsigned)-100)%7 => 2 ((unsigned long)-100)%9 => 6 (int)(unsigned short)65535 => 65535 ({ unsigned short x = 65535; x; }) => 65535 ({ unsigned short x = 65535; (int)x; }) => 65535 ({ typedef short T; T x = 65535; (int)x; }) => -1 ({ typedef unsigned short T; T x = 65535; (int)x; }) => 65535 (_Bool)0.0 => 0 (_Bool)0.1 => 1 (char)3.0 => 3 (short)1000.3 => 1000 (int)3.99 => 3 (long)2e15 => 1233977344 (float)3.5 => 3 (double)(float)5.5 => 5 (float)3 => 3 (double)3 => 3 (float)3L => 3 (double)3L => 3 OK test/commonsym.exe x => 5 y => 7 common_ext1 => 0 common_ext2 => 3 OK test/compat.exe OK test/complit.exe (int){1} => 1 ((int[]){0,1,2})[2] => 2 ((struct {char a; int b;}){'a', 3}).a => 97 ({ int x=3; (int){x}; }) => 3 tree->val => 1 tree->lhs->val => 2 tree->lhs->lhs->val => 3 tree->lhs->rhs->val => 4 OK test/const.exe ({ const x = 5; x; }) => 5 ({ const x = 8; int *const y=&x; *y; }) => 8 ({ const x = 6; *(const * const)&x; }) => 6 OK test/constexpr.exe ({ enum { ten=1+2+3+4 }; ten; }) => 10 ({ int i=0; switch(3) { case 5-2+0*3: i++; } i; }) => 1 ({ int x[1+1]; sizeof(x); }) => 8 ({ char x[8-2]; sizeof(x); }) => 6 ({ char x[2*3]; sizeof(x); }) => 6 ({ char x[12/4]; sizeof(x); }) => 3 ({ char x[12%10]; sizeof(x); }) => 2 ({ char x[0b110&0b101]; sizeof(x); }) => 4 ({ char x[0b110|0b101]; sizeof(x); }) => 7 ({ char x[0b111^0b001]; sizeof(x); }) => 6 ({ char x[1<<2]; sizeof(x); }) => 4 ({ char x[4>>1]; sizeof(x); }) => 2 ({ char x[(1==1)+1]; sizeof(x); }) => 2 ({ char x[(1!=1)+1]; sizeof(x); }) => 1 ({ char x[(1<1)+1]; sizeof(x); }) => 1 ({ char x[(1<=1)+1]; sizeof(x); }) => 2 ({ char x[1?2:3]; sizeof(x); }) => 2 ({ char x[0?2:3]; sizeof(x); }) => 3 ({ char x[(1,3)]; sizeof(x); }) => 3 ({ char x[!0+1]; sizeof(x); }) => 2 ({ char x[!1+1]; sizeof(x); }) => 1 ({ char x[~-3]; sizeof(x); }) => 2 ({ char x[(5||6)+1]; sizeof(x); }) => 2 ({ char x[(0||0)+1]; sizeof(x); }) => 1 ({ char x[(1&&1)+1]; sizeof(x); }) => 2 ({ char x[(1&&0)+1]; sizeof(x); }) => 1 ({ char x[(int)3]; sizeof(x); }) => 3 ({ char x[(char)0xffffff0f]; sizeof(x); }) => 15 ({ char x[(short)0xffff010f]; sizeof(x); }) => 271 ({ char x[(int)0xfffffffffff+5]; sizeof(x); }) => 4 ({ char x[(int*)0+2]; sizeof(x); }) => 8 ({ char x[(int*)16-1]; sizeof(x); }) => 12 ({ char x[(int*)16-(int*)4]; sizeof(x); }) => 3 ({ char x[(-1>>31)+5]; sizeof(x); }) => 4 ({ char x[(unsigned char)0xffffffff]; sizeof(x); }) => 255 ({ char x[(unsigned short)0xffff800f]; sizeof(x); }) => 32783 ({ char x[(unsigned int)0xfffffffffff>>31]; sizeof(x); }) => 1 ({ char x[(long)-1/((long)1<<62)+1]; sizeof(x); }) => 1 ({ char x[(unsigned long)-1/((long)1<<62)+1]; sizeof(x); }) => 4 ({ char x[(unsigned)1<-1]; sizeof(x); }) => 1 ({ char x[(unsigned)1<=-1]; sizeof(x); }) => 1 g40==1.5 => 1 g41==11 => 1 OK test/control.exe ({ int x; if (0) x=2; else x=3; x; }) => 3 ({ int x; if (1-1) x=2; else x=3; x; }) => 3 ({ int x; if (1) x=2; else x=3; x; }) => 2 ({ int x; if (2-1) x=2; else x=3; x; }) => 2 ({ int i=0; int j=0; for (i=0; i<=10; i=i+1) j=i+j; j; }) => 55 ({ int i=0; while(i<10) i=i+1; i; }) => 10 ({ 1; {2;} 3; }) => 3 ({ ;;; 5; }) => 5 ({ int i=0; while(i<10) i=i+1; i; }) => 10 ({ int i=0; int j=0; while(i<=10) {j=i+j; i=i+1;} j; }) => 55 (1,2,3) => 3 ({ int i=2, j=3; (i=5,j)=6; i; }) => 5 ({ int i=2, j=3; (i=5,j)=6; j; }) => 6 ({ int j=0; for (int i=0; i<=10; i=i+1) j=j+i; j; }) => 55 ({ int i=3; int j=0; for (int i=0; i<=10; i=i+1) j=j+i; i; }) => 3 0||1 => 1 0||(2-2)||5 => 1 0||0 => 0 0||(2-2) => 0 0&&1 => 0 (2-2)&&5 => 0 1&&5 => 1 ({ int i=0; goto a; a: i++; b: i++; c: i++; i; }) => 3 ({ int i=0; goto e; d: i++; e: i++; f: i++; i; }) => 2 ({ int i=0; goto i; g: i++; h: i++; i: i++; i; }) => 1 ({ typedef int foo; goto foo; foo:; 1; }) => 1 ({ int i=0; for(;i<10;i++) { if (i == 3) break; } i; }) => 3 ({ int i=0; while (1) { if (i++ == 3) break; } i; }) => 4 ({ int i=0; for(;i<10;i++) { for (;;) break; if (i == 3) break; } i; }) => 3 ({ int i=0; while (1) { while(1) break; if (i++ == 3) break; } i; }) => 4 ({ int i=0; int j=0; for (;i<10;i++) { if (i>5) continue; j++; } i; }) => 10 ({ int i=0; int j=0; for (;i<10;i++) { if (i>5) continue; j++; } j; }) => 6 ({ int i=0; int j=0; for(;!i;) { for (;j!=10;j++) continue; break; } j; }) => 10 ({ int i=0; int j=0; while (i++<10) { if (i>5) continue; j++; } i; }) => 11 ({ int i=0; int j=0; while (i++<10) { if (i>5) continue; j++; } j; }) => 5 ({ int i=0; int j=0; while(!i) { while (j++!=10) continue; break; } j; }) => 11 ({ int i=0; switch(0) { case 0:i=5;break; case 1:i=6;break; case 2:i=7;break; } i; }) => 5 ({ int i=0; switch(1) { case 0:i=5;break; case 1:i=6;break; case 2:i=7;break; } i; }) => 6 ({ int i=0; switch(2) { case 0:i=5;break; case 1:i=6;break; case 2:i=7;break; } i; }) => 7 ({ int i=0; switch(3) { case 0:i=5;break; case 1:i=6;break; case 2:i=7;break; } i; }) => 0 ({ int i=0; switch(0) { case 0:i=5;break; default:i=7; } i; }) => 5 ({ int i=0; switch(1) { case 0:i=5;break; default:i=7; } i; }) => 7 ({ int i=0; switch(1) { case 0: 0; case 1: 0; case 2: 0; i=2; } i; }) => 2 ({ int i=0; switch(3) { case 0: 0; case 1: 0; case 2: 0; i=2; } i; }) => 0 ({ int i=0; switch(-1) { case 0xffffffff: i=3; break; } i; }) => 3 ({ int i=0; int j=0; do { j++; } while (i++ < 6); j; }) => 7 ({ int i=0; int j=0; int k=0; do { if (++j > 3) break; continue; k++; } while (1); j; }) => 4 0.0 && 0.0 => 0 0.0 && 0.1 => 0 0.3 && 0.0 => 0 0.3 && 0.5 => 1 0.0 || 0.0 => 0 0.0 || 0.1 => 1 0.3 || 0.0 => 1 0.3 || 0.5 => 1 ({ int x; if (0.0) x=3; else x=5; x; }) => 5 ({ int x; if (0.1) x=3; else x=5; x; }) => 3 ({ int x=5; if (0.0) x=3; x; }) => 5 ({ int x=5; if (0.1) x=3; x; }) => 3 ({ double i=10.0; int j=0; for (; i; i--, j++); j; }) => 10 ({ double i=10.0; int j=0; do j++; while(--i); j; }) => 10 ({ int i=0; switch(7) { case 0 ... 5: i=1; break; case 6 ... 20: i=2; break; } i; }) => 2 ({ int i=0; switch(7) { case 0 ... 7: i=1; break; case 8 ... 10: i=2; break; } i; }) => 1 ({ int i=0; switch(7) { case 0: i=1; break; case 7 ... 7: i=1; break; } i; }) => 1 ({ void *p = &&v11; int i=0; goto *p; v11:i++; v12:i++; v13:i++; i; }) => 3 ({ void *p = &&v22; int i=0; goto *p; v21:i++; v22:i++; v23:i++; i; }) => 2 ({ void *p = &&v33; int i=0; goto *p; v31:i++; v32:i++; v33:i++; i; }) => 1 ({ static void *p[]={&&v41,&&v42,&&v43}; int i=0; goto *p[0]; v41:i++; v42:i++; v43:i++; i; }) => 3 ({ static void *p[]={&&v52,&&v52,&&v53}; int i=0; goto *p[1]; v51:i++; v52:i++; v53:i++; i; }) => 2 ({ static void *p[]={&&v62,&&v62,&&v63}; int i=0; goto *p[2]; v61:i++; v62:i++; v63:i++; i; }) => 1 OK test/decl.exe ({ char x; sizeof(x); }) => 1 ({ short int x; sizeof(x); }) => 2 ({ int short x; sizeof(x); }) => 2 ({ int x; sizeof(x); }) => 4 ({ long int x; sizeof(x); }) => 8 ({ int long x; sizeof(x); }) => 8 ({ long long x; sizeof(x); }) => 8 ({ _Bool x=0; x; }) => 0 ({ _Bool x=1; x; }) => 1 ({ _Bool x=2; x; }) => 1 (_Bool)1 => 1 (_Bool)2 => 1 (_Bool)(char)256 => 0 OK test/enum.exe ({ enum { zero, one, two }; zero; }) => 0 ({ enum { zero, one, two }; one; }) => 1 ({ enum { zero, one, two }; two; }) => 2 ({ enum { five=5, six, seven }; five; }) => 5 ({ enum { five=5, six, seven }; six; }) => 6 ({ enum { zero, five=5, three=3, four }; zero; }) => 0 ({ enum { zero, five=5, three=3, four }; five; }) => 5 ({ enum { zero, five=5, three=3, four }; three; }) => 3 ({ enum { zero, five=5, three=3, four }; four; }) => 4 ({ enum { zero, one, two } x; sizeof(x); }) => 4 ({ enum t { zero, one, two }; enum t y; sizeof(y); }) => 4 OK test/extern.exe ext1 => 5 *ext2 => 5 ext3 => 7 ext_fn1(5) => 5 ext_fn2(8) => 8 OK test/float.exe (float)(char)35 => 35 (float)(short)35 => 35 (float)(int)35 => 35 (float)(long)35 => 35 (float)(unsigned char)35 => 35 (float)(unsigned short)35 => 35 (float)(unsigned int)35 => 35 (float)(unsigned long)35 => 35 (double)(char)35 => 35 (double)(short)35 => 35 (double)(int)35 => 35 (double)(long)35 => 35 (double)(unsigned char)35 => 35 (double)(unsigned short)35 => 35 (double)(unsigned int)35 => 35 (double)(unsigned long)35 => 35 (char)(float)35 => 35 (short)(float)35 => 35 (int)(float)35 => 35 (long)(float)35 => 35 (unsigned char)(float)35 => 35 (unsigned short)(float)35 => 35 (unsigned int)(float)35 => 35 (unsigned long)(float)35 => 35 (char)(double)35 => 35 (short)(double)35 => 35 (int)(double)35 => 35 (long)(double)35 => 35 (unsigned char)(double)35 => 35 (unsigned short)(double)35 => 35 (unsigned int)(double)35 => 35 (unsigned long)(double)35 => 35 (double)(unsigned long)(long)-1 => -2147483648 2e3==2e3 => 1 2e3==2e5 => 0 2.0==2 => 1 5.1<5 => 0 5.0<5 => 0 4.9<5 => 1 5.1<=5 => 0 5.0<=5 => 1 4.9<=5 => 1 2e3f==2e3 => 1 2e3f==2e5 => 0 2.0f==2 => 1 5.1f<5 => 0 5.0f<5 => 0 4.9f<5 => 1 5.1f<=5 => 0 5.0f<=5 => 1 4.9f<=5 => 1 2.3+3.8 => 6 2.3-3.8 => -1 -3.8 => -3 3.3*4 => 13 5.0/2 => 2 2.3f+3.8f => 6 2.3f+3.8 => 6 2.3f-3.8 => -1 -3.8f => -3 3.3f*4 => 13 5.0f/2 => 2 0.0/0.0 == 0.0/0.0 => 0 0.0/0.0 != 0.0/0.0 => 1 0.0/0.0 < 0 => 0 0.0/0.0 <= 0 => 0 0.0/0.0 > 0 => 0 0.0/0.0 >= 0 => 0 !3. => 0 !0. => 1 !3.f => 0 !0.f => 1 0.0 ? 3 : 5 => 5 1.2 ? 3 : 5 => 3 OK test/function.exe ret3() => 3 add2(3, 5) => 8 sub2(5, 3) => 2 add6(1,2,3,4,5,6) => 21 add6(1,2,add6(3,4,5,6,7,8),9,10,11) => 66 add6(1,2,add6(3,add6(4,5,6,7,8,9),10,11,12,13),14,15,16) => 136 add2(3,4) => 7 sub2(4,3) => 1 fib(9) => 55 ({ sub_char(7, 3, 3); }) => 1 sub_long(7, 3, 3) => 1 sub_short(7, 3, 3) => 1 *g1_ptr() => 3 int_to_char(261) => 5 int_to_char(261) => 5 div_long(-10, 2) => -5 bool_fn_add(3) => 1 bool_fn_sub(3) => 0 bool_fn_add(-3) => 1 bool_fn_sub(-3) => 0 bool_fn_add(0) => 1 bool_fn_sub(0) => 1 static_fn() => 3 ({ int x[2]; x[0]=3; param_decay(x); }) => 3 counter() => 2 counter() => 4 counter() => 6 true_fn() => 1 false_fn() => 0 char_fn() => 3 short_fn() => 5 add_all(3,1,2,3) => 6 add_all(4,1,2,3,-1) => 5 1 2 foo ({ char buf[100]; sprintf(buf, "%d %d %s", 1, 2, "foo"); strcmp("1 2 foo", buf); }) => 0 ({ char buf[100]; fmt(buf, "%d %d %s", 1, 2, "foo"); strcmp("1 2 foo", buf); }) => 0 uchar_fn() => 251 ushort_fn() => 65528 schar_fn() => -5 sshort_fn() => -8 add_float(2.3, 3.8) => 6 add_double(2.3, 3.8) => 6 add_float3(2.5, 2.5, 2.5) => 7 add_double3(2.5, 2.5, 2.5) => 7 ({ char buf[100]; sprintf(buf, "%.1f", (float)3.5); strcmp(buf, "3.5"); }) => 0 ({ char buf[100]; fmt(buf, "%.1f", (float)3.5); strcmp(buf, "3.5"); }) => 0 (add2)(2,3) => 5 (&add2)(2,3) => 5 ({ int (*fn)(int,int) = add2; fn(2,5); }) => 7 fnptr(add_all)(3, 1, 2, 3) => 6 param_decay2(ret3) => 3 sizeof(__func__) => 5 strcmp("main", __func__) => 0 strcmp("func_fn", func_fn()) => 0 strcmp("main", __FUNCTION__) => 0 strcmp("function_fn", function_fn()) => 0 add10_int(1,2,3,4,5,6,7,8,9,10) => 55 add10_float(1,2,3,4,5,6,7,8,9,10) => 55 add10_double(1,2,3,4,5,6,7,8,9,10) => 55 ({ char buf[200]; sprintf(buf, "%d %.1f %.1f %.1f %d %d %.1f %d %d %d %d %.1f %d %d %.1f %.1f %.1f %.1f %d", 1, 1.0, 1.0, 1.0, 1, 1, 1.0, 1, 1, 1, 1, 1.0, 1, 1, 1.0, 1.0, 1.0, 1.0, 1); strcmp("1 1.0 1.0 1.0 1 1 1.0 1 1 1 1 1.0 1 1 1.0 1.0 1.0 1.0 1", buf); }) => 0 many_args1(1,2,3,4,5,6,40,10) => 4 many_args2(1,2,3,4,5,6,7,8,40,10) => 4 many_args3(1,2,3,4,5,6,7,8,9,10,11,12,13,14,80,10) => 8 ({ Ty4 x={10,20,30,40}; struct_test4(x, 0); }) => 10 ({ Ty4 x={10,20,30,40}; struct_test4(x, 1); }) => 20 ({ Ty4 x={10,20,30,40}; struct_test4(x, 2); }) => 30 ({ Ty4 x={10,20,30,40}; struct_test4(x, 3); }) => 40 ({ Ty5 x={10,20,30}; struct_test5(x, 0); }) => 10 ({ Ty5 x={10,20,30}; struct_test5(x, 1); }) => 20 ({ Ty5 x={10,20,30}; struct_test5(x, 2); }) => 30 ({ Ty6 x={10,20,30}; struct_test6(x, 0); }) => 10 ({ Ty6 x={10,20,30}; struct_test6(x, 1); }) => 20 ({ Ty6 x={10,20,30}; struct_test6(x, 2); }) => 30 ({ Ty7 x={10,20,30}; struct_test7(x, 0); }) => 10 ({ Ty7 x={10,20,30}; struct_test7(x, 1); }) => 20 ({ Ty7 x={10,20,30}; struct_test7(x, 2); }) => 30 ({ Ty4 x={10,20,30,40}; struct_test14(x, 0); }) => 10 ({ Ty4 x={10,20,30,40}; struct_test14(x, 1); }) => 20 ({ Ty4 x={10,20,30,40}; struct_test14(x, 2); }) => 30 ({ Ty4 x={10,20,30,40}; struct_test14(x, 3); }) => 40 ({ Ty5 x={10,20,30}; struct_test15(x, 0); }) => 10 ({ Ty5 x={10,20,30}; struct_test15(x, 1); }) => 20 ({ Ty5 x={10,20,30}; struct_test15(x, 2); }) => 30 struct_test24().a => 10 struct_test24().b => 20 struct_test24().c => 30 struct_test24().d => 40 struct_test25().a => 10 struct_test25().b => 20 struct_test25().c => 30 struct_test26().a[0] => 10 struct_test26().a[1] => 20 struct_test26().a[2] => 30 struct_test27().a[0] => 10 struct_test27().a[5] => 60 struct_test27().a[9] => 100 struct_test28().a[0] => 1 struct_test28().a[4] => 5 struct_test28().a[9] => 10 struct_test28().a[14] => 15 struct_test28().a[19] => 20 struct_test34().a => 10 struct_test34().b => 20 struct_test34().c => 30 struct_test34().d => 40 struct_test35().a => 10 struct_test35().b => 20 struct_test35().c => 30 struct_test36().a[0] => 10 struct_test36().a[1] => 20 struct_test36().a[2] => 30 struct_test37().a[0] => 10 struct_test37().a[5] => 60 struct_test37().a[9] => 100 struct_test38().a[0] => 1 struct_test38().a[4] => 5 struct_test38().a[9] => 10 struct_test38().a[14] => 15 struct_test38().a[19] => 20 (***add2)(2,3) => 5 inline_fn() => 3 ({ char buf[100]; sprintf(buf, "%Lf", (long double)12.3); strncmp(buf, "12.3", 4); }) => 0 to_double(3.5) == 3.5 => 1 to_double(3.5) == 3 => 0 (long double)5.0 == (long double)5.0 => 1 (long double)5.0 == (long double)5.2 => 0 to_ldouble(5.0) == 5.0 => 1 to_ldouble(5.0) == 5.2 => 0 OK test/generic.exe _Generic(100.0, double: 1, int *: 2, int: 3, float: 4) => 1 _Generic((int *)0, double: 1, int *: 2, int: 3, float: 4) => 2 _Generic((int[3]){}, double: 1, int *: 2, int: 3, float: 4) => 2 _Generic(100, double: 1, int *: 2, int: 3, float: 4) => 3 _Generic(100f, double: 1, int *: 2, int: 3, float: 4) => 4 OK test/initializer.exe ({ int x[3]={1,2,3}; x[0]; }) => 1 ({ int x[3]={1,2,3}; x[1]; }) => 2 ({ int x[3]={1,2,3}; x[2]; }) => 3 ({ int x[3]={1,2,3}; x[2]; }) => 3 ({ int x[2][3]={{1,2,3},{4,5,6}}; x[0][1]; }) => 2 ({ int x[2][3]={{1,2,3},{4,5,6}}; x[1][0]; }) => 4 ({ int x[2][3]={{1,2,3},{4,5,6}}; x[1][2]; }) => 6 ({ int x[3]={}; x[0]; }) => 0 ({ int x[3]={}; x[1]; }) => 0 ({ int x[3]={}; x[2]; }) => 0 ({ int x[2][3]={{1,2}}; x[0][1]; }) => 2 ({ int x[2][3]={{1,2}}; x[1][0]; }) => 0 ({ int x[2][3]={{1,2}}; x[1][2]; }) => 0 ({ char x[4]="abc"; x[0]; }) => 97 ({ char x[4]="abc"; x[2]; }) => 99 ({ char x[4]="abc"; x[3]; }) => 0 ({ char x[2][4]={"abc","def"}; x[0][0]; }) => 97 ({ char x[2][4]={"abc","def"}; x[0][3]; }) => 0 ({ char x[2][4]={"abc","def"}; x[1][0]; }) => 100 ({ char x[2][4]={"abc","def"}; x[1][2]; }) => 102 ({ int x[]={1,2,3,4}; x[3]; }) => 4 ({ int x[]={1,2,3,4}; sizeof(x); }) => 16 ({ char x[]="foo"; sizeof(x); }) => 4 ({ typedef char T[]; T x="foo"; T y="x"; sizeof(x); }) => 4 ({ typedef char T[]; T x="foo"; T y="x"; sizeof(y); }) => 2 ({ typedef char T[]; T x="x"; T y="foo"; sizeof(x); }) => 2 ({ typedef char T[]; T x="x"; T y="foo"; sizeof(y); }) => 4 ({ struct {int a; int b; int c;} x={1,2,3}; x.a; }) => 1 ({ struct {int a; int b; int c;} x={1,2,3}; x.b; }) => 2 ({ struct {int a; int b; int c;} x={1,2,3}; x.c; }) => 3 ({ struct {int a; int b; int c;} x={1}; x.a; }) => 1 ({ struct {int a; int b; int c;} x={1}; x.b; }) => 0 ({ struct {int a; int b; int c;} x={1}; x.c; }) => 0 ({ struct {int a; int b;} x[2]={{1,2},{3,4}}; x[0].a; }) => 1 ({ struct {int a; int b;} x[2]={{1,2},{3,4}}; x[0].b; }) => 2 ({ struct {int a; int b;} x[2]={{1,2},{3,4}}; x[1].a; }) => 3 ({ struct {int a; int b;} x[2]={{1,2},{3,4}}; x[1].b; }) => 4 ({ struct {int a; int b;} x[2]={{1,2}}; x[1].b; }) => 0 ({ struct {int a; int b;} x={}; x.a; }) => 0 ({ struct {int a; int b;} x={}; x.b; }) => 0 ({ typedef struct {int a,b,c,d,e,f;} T; T x={1,2,3,4,5,6}; T y; y=x; y.e; }) => 5 ({ typedef struct {int a,b;} T; T x={1,2}; T y, z; z=y=x; z.b; }) => 2 ({ typedef struct {int a,b;} T; T x={1,2}; T y=x; y.a; }) => 1 ({ union { int a; char b[4]; } x={0x01020304}; x.b[0]; }) => 4 ({ union { int a; char b[4]; } x={0x01020304}; x.b[1]; }) => 3 ({ union { struct { char a,b,c,d; } e; int f; } x={{4,3,2,1}}; x.f; }) => 16909060 g3 => 3 g4 => 4 g5 => 5 g6 => 6 g9[0] => 0 g9[1] => 1 g9[2] => 2 g11[0].a => 1 g11[0].b => 2 g11[1].a => 3 g11[1].b => 4 g12[0].a[0] => 1 g12[0].a[1] => 2 g12[1].a[0] => 0 g12[1].a[1] => 0 g13[0].b[0] => 4 g13[0].b[1] => 3 g13[1].b[0] => 8 g13[1].b[1] => 7 sizeof(g17) => 7 sizeof(g18) => 10 sizeof(g19) => 3 memcmp(g17, "foobar", 7) => 0 memcmp(g18, "foobar\0\0\0", 10) => 0 memcmp(g19, "foo", 3) => 0 strcmp(g20, "foobar") => 0 strcmp(g21, "bar") => 0 strcmp(g22+3, "foobar") => 0 strcmp(g23[0], "foobar") => 0 strcmp(g23[1], "bar") => 0 strcmp(g23[2]+3, "foobar") => 0 g24 => 3 *g25 => 3 *g27 => 2 *g28 => 3 *(int *)g29 => 1 g31[0] => 1 g31[1] => 2 g31[2] => 3 g40[0].a[0] => 1 g40[0].a[1] => 2 g40[1].a[0] => 3 g40[1].a[1] => 4 g41[0].a[0] => 1 g41[0].a[1] => 2 g41[1].a[0] => 3 g41[1].a[1] => 4 ({ int x[2][3]={0,1,2,3,4,5}; x[0][0]; }) => 0 ({ int x[2][3]={0,1,2,3,4,5}; x[1][0]; }) => 3 ({ struct {int a; int b;} x[2]={0,1,2,3}; x[0].a; }) => 0 ({ struct {int a; int b;} x[2]={0,1,2,3}; x[1].a; }) => 2 strcmp(g43[0], "foo") => 0 strcmp(g43[1], "bar") => 0 strcmp(g44, "foo") => 0 ({ int a[]={1,2,3,}; a[2]; }) => 3 ({ struct {int a,b,c;} x={1,2,3,}; x.a; }) => 1 ({ union {int a; char b;} x={1,}; x.a; }) => 1 ({ enum {x,y,z,}; z; }) => 2 sizeof(g60) => 3 sizeof(g61) => 6 sizeof(g65) => 4 sizeof(g66) => 7 strcmp(g65.b, "oo") => 0 strcmp(g66.b, "oobar") => 0 ({ int x[3]={1, 2, 3, [0]=4, 5}; x[0]; }) => 4 ({ int x[3]={1, 2, 3, [0]=4, 5}; x[1]; }) => 5 ({ int x[3]={1, 2, 3, [0]=4, 5}; x[2]; }) => 3 ({ int x[2][3]={1,2,3,4,5,6,[0][1]=7,8,[0]=9,[0]=10,11,[1][0]=12}; x[0][0]; }) => 10 ({ int x[2][3]={1,2,3,4,5,6,[0][1]=7,8,[0]=9,[0]=10,11,[1][0]=12}; x[0][1]; }) => 11 ({ int x[2][3]={1,2,3,4,5,6,[0][1]=7,8,[0]=9,[0]=10,11,[1][0]=12}; x[0][2]; }) => 8 ({ int x[2][3]={1,2,3,4,5,6,[0][1]=7,8,[0]=9,[0]=10,11,[1][0]=12}; x[1][0]; }) => 12 ({ int x[2][3]={1,2,3,4,5,6,[0][1]=7,8,[0]=9,[0]=10,11,[1][0]=12}; x[1][1]; }) => 5 ({ int x[2][3]={1,2,3,4,5,6,[0][1]=7,8,[0]=9,[0]=10,11,[1][0]=12}; x[1][2]; }) => 6 ({ int x[2][3]={1,2,3,4,5,6,[0]={7,8},9,10}; x[0][0]; }) => 7 ({ int x[2][3]={1,2,3,4,5,6,[0]={7,8},9,10}; x[0][1]; }) => 8 ({ int x[2][3]={1,2,3,4,5,6,[0]={7,8},9,10}; x[0][2]; }) => 3 ({ int x[2][3]={1,2,3,4,5,6,[0]={7,8},9,10}; x[1][0]; }) => 9 ({ int x[2][3]={1,2,3,4,5,6,[0]={7,8},9,10}; x[1][1]; }) => 10 ({ int x[2][3]={1,2,3,4,5,6,[0]={7,8},9,10}; x[1][2]; }) => 6 ((int[10]){ [3]=7 })[3] => 7 ((int[10]){ [3]=7 })[4] => 0 ({ char x[]={[10-3]=1,2,3}; sizeof(x); }) => 10 ({ char x[][2]={[8][1]=1,2}; sizeof(x); }) => 20 sizeof(g60) => 3 sizeof(g61) => 6 sizeof(g65) => 4 sizeof(g66) => 7 strcmp(g65.b, "oo") => 0 strcmp(g66.b, "oobar") => 0 ((int[10]){ [3] 7 })[3] => 7 ((int[10]){ [3] 7 })[4] => 0 ({ struct { int a,b; } x={1,2,.b=3,.a=4}; x.a; }) => 4 ({ struct { int a,b; } x={1,2,.b=3,.a=4}; x.b; }) => 3 ({ struct { struct { int a,b; } c; } x={.c=1,2}; x.c.a; }) => 1 ({ struct { struct { int a,b; } c; } x={.c=1,2}; x.c.b; }) => 2 ({ struct { struct { int a,b; } c; } x={.c.b=1}; x.c.a; }) => 0 ({ struct { struct { int a,b; } c; } x={.c.b=1}; x.c.b; }) => 1 ({ struct { int a[2]; } x={.a=1,2}; x.a[0]; }) => 1 ({ struct { int a[2]; } x={.a=1,2}; x.a[1]; }) => 2 ({ struct { int a[2]; } x={.a[1]=1}; x.a[0]; }) => 0 ({ struct { int a[2]; } x={.a[1]=1}; x.a[1]; }) => 1 ({ struct { int a,b; } x[]={[1].b=1,2,[0]=3,4,}; x[0].a; }) => 3 ({ struct { int a,b; } x[]={[1].b=1,2,[0]=3,4,}; x[0].b; }) => 4 ({ struct { int a,b; } x[]={[1].b=1,2,[0]=3,4,}; x[1].a; }) => 0 ({ struct { int a,b; } x[]={[1].b=1,2,[0]=3,4,}; x[1].b; }) => 1 ({ struct { int a,b; } x[]={[1].b=1,2,[0]=3,4,}; x[2].a; }) => 2 ({ struct { int a,b; } x[]={[1].b=1,2,[0]=3,4,}; x[2].b; }) => 0 ({ typedef struct { int a,b; } T; T x={1,2}; T y[]={x}; y[0].a; }) => 1 ({ typedef struct { int a,b; } T; T x={1,2}; T y[]={x}; y[0].b; }) => 2 ({ typedef struct { int a,b; } T; T x={1,2}; T y[]={x, [0].b=3}; y[0].a; }) => 0 ({ typedef struct { int a,b; } T; T x={1,2}; T y[]={x, [0].b=3}; y[0].b; }) => 3 ((struct { int a,b,c; }){ .c=5 }).c => 5 ((struct { int a,b,c; }){ .c=5 }).a => 0 ({ union { unsigned short a; char b[2]; } x={.b[0]=0xff}; x.a; }) => 255 ({ union { unsigned short a; char b[2]; } x={.b[1]=0xff}; x.a; }) => 65280 g50.a => 1179648 g51[0].a => 0 g51[1].a => 0 ({ struct { struct { int a; struct { int b; }; }; int c; } x={1,2,3,.b=4,5}; x.a; }) => 1 ({ struct { struct { int a; struct { int b; }; }; int c; } x={1,2,3,.b=4,5}; x.b; }) => 4 ({ struct { struct { int a; struct { int b; }; }; int c; } x={1,2,3,.b=4,5}; x.c; }) => 5 ({ char x[]={[2 ... 10]='a', [7]='b', [15 ... 15]='c', [3 ... 5]='d'}; sizeof(x); }) => 16 ({ char x[]={[2 ... 10]='a', [7]='b', [15 ... 15]='c', [3 ... 5]='d'}; memcmp(x, "\0\0adddabaaa\0\0\0\0c", 16); }) => 0 OK test/line.exe __LINE__ => 501 strcmp("foo", "foo") => 0 __LINE__ => 801 strcmp("bar", "bar") => 0 __LINE__ => 2 __LINE__ => 201 strcmp("xyz", "xyz") => 0 OK test/literal.exe 'a' => 97 '\n' => 10 '\x80' => -128 0777 => 511 0x0 => 0 0xa => 10 0XA => 10 0xbeef => 48879 0xBEEF => 48879 0XBEEF => 48879 0b0 => 0 0b1 => 1 0b101111 => 47 0B101111 => 47 sizeof(0) => 4 sizeof(0L) => 8 sizeof(0LU) => 8 sizeof(0UL) => 8 sizeof(0LL) => 8 sizeof(0LLU) => 8 sizeof(0Ull) => 8 sizeof(0l) => 8 sizeof(0ll) => 8 sizeof(0x0L) => 8 sizeof(0b0L) => 8 sizeof(2147483647) => 4 sizeof(2147483648) => 8 0xffffffffffffffff => -1 sizeof(0xffffffffffffffff) => 8 sizeof(4294967295U) => 4 sizeof(4294967296U) => 8 -1U>>30 => 3 -1Ul>>62 => 3 -1ull>>62 => 3 0xffffffffffffffffl>>63 => 1 0xffffffffffffffffll>>63 => 1 18446744073709551615 => -1 sizeof(18446744073709551615) => 8 18446744073709551615>>63 => -1 0xffffffffffffffff => -1 sizeof(0xffffffffffffffff) => 8 0xffffffffffffffff>>63 => 1 01777777777777777777777 => -1 sizeof(01777777777777777777777) => 8 01777777777777777777777>>63 => 1 0b1111111111111111111111111111111111111111111111111111111111111111 => -1 sizeof(0b1111111111111111111111111111111111111111111111111111111111111111) => 8 0b1111111111111111111111111111111111111111111111111111111111111111>>63 => 1 sizeof(2147483648) => 8 sizeof(2147483647) => 4 sizeof(0x1ffffffff) => 8 sizeof(0xffffffff) => 4 0xffffffff>>31 => 1 sizeof(040000000000) => 8 sizeof(037777777777) => 4 037777777777>>31 => 1 sizeof(0b111111111111111111111111111111111) => 8 sizeof(0b11111111111111111111111111111111) => 4 0b11111111111111111111111111111111>>31 => 1 1 << 31 >> 31 => -1 01 << 31 >> 31 => -1 0x1 << 31 >> 31 => -1 0b1 << 31 >> 31 => -1 sizeof(8f) => 4 sizeof(0.3F) => 4 sizeof(0.) => 8 sizeof(.0) => 8 sizeof(5.l) => 16 sizeof(2.0L) => 16 sizeof(char) => 1 sizeof(L'\0') => 4 L'a' => 97 OK test/macro.exe include1 => 5 include2 => 7 m => 5 m => 3 m => 3 m => 2 m => 2 m => 3 m => 1 m => 2 M1 => 3 M1 => 4 M1 5 => 12 M1*5 => 23 5 => 5 m => 5 m => 5 M2 => 9 M3 => 12 M4 => 13 m => 3 m => 5 m => 3 m => 5 M7() => 1 M7 => 5 ret3 () => 3 M8(3, 4) => 7 M8(3+4, 4+5) => 24 M8(3+4, 4+5) => 63 M8(, 4+5) => 9 M8((2+3), 4) => 20 M8((2,3), 4) => 12 dbl(2) => 10 M11( a!b `""c)[0] => 97 M11( a!b `""c)[1] => 33 M11( a!b `""c)[2] => 98 M11( a!b `""c)[3] => 32 M11( a!b `""c)[4] => 96 M11( a!b `""c)[5] => 34 M11( a!b `""c)[6] => 34 M11( a!b `""c)[7] => 99 M11( a!b `""c)[8] => 0 paste(1,5) => 15 paste(0,xff) => 255 ({ int foobar=3; foobar; }) => 3 paste(5,) => 5 paste(,5) => 5 ({ int i3=100; 1+i3; }) => 101 paste2(1+2) => 26 paste3(1+2) => 23 paste4(1,2,3) => 123 m => 3 m => 3 m => 4 m => 4 m => 5 strcmp("foo.bar", "foo.bar") => 0 strcmp("foo. bar", "foo. bar") => 0 strcmp("bar.foo", "bar.foo") => 0 strcmp("bar. foo", "bar. foo") => 0 foo => 3 foo => 4 foo => 3 foo => 4 __STDC__ => 1 strcmp(main_filename1, "test/macro.c") => 0 main_line1 => 5 main_line2 => 7 strcmp(include1_filename, "test/include1.h") => 0 include1_line => 4 M14() => 3 M14() 2 => 2 M14(5) => 5 M14(2, 6) => 8 M14(3,4,5) => 21 M14(3,4,5) => 21 M14() => 3 M14(5) => 5 M14() 2 => 2 M14(5) => 5 M14(2, 6) => 8 M14(3,4,5) => 21 M14(3,4,5) => 21 M14(5) => 5 ({ int f0zz=5; f0zz; }) => 5 ({ 4.57 + 0.5; }) => 5 strlen("Nov 11 2024") => 11 strlen("10:16:37") => 8 __COUNTER__ => 0 __COUNTER__ => 1 __COUNTER__ => 2 strlen("Mon Dec 7 03:00:06 2020") => 24 strcmp("test/macro.c", "test/macro.c") => 0 ({ char buf[100]; sprintf(buf, "foo"); strcmp(buf, "foo"); }) => 0 ({ char buf[100]; sprintf(buf, "foo%d", 3); strcmp(buf, "foo3"); }) => 0 ({ char buf[100]; sprintf(buf, "foo%d%d", 3, 5); strcmp(buf, "foo35"); }) => 0 ({ char buf[100]; sprintf(buf, "foo"); strcmp(buf, "foo"); }) => 0 ({ char buf[100]; sprintf(buf, "foo%d", 3); strcmp(buf, "foo3"); }) => 0 ({ char buf[100]; sprintf(buf, "foo%d%d", 3, 5); strcmp(buf, "foo35"); }) => 0 M31(, 3) => 3 OK test/offsetof.exe offsetof(T, a) => 0 offsetof(T, b) => 4 offsetof(T, c) => 8 offsetof(T, d) => 16 OK test/pointer.exe ({ int x=3; *&x; }) => 3 ({ int x=3; int *y=&x; int **z=&y; **z; }) => 3 ({ int x=3; int y=5; *(&x+1); }) => 5 ({ int x=3; int y=5; *(&y-1); }) => 3 ({ int x=3; int y=5; *(&x-(-1)); }) => 5 ({ int x=3; int *y=&x; *y=5; x; }) => 5 ({ int x=3; int y=5; *(&x+1)=7; y; }) => 7 ({ int x=3; int y=5; *(&y-2+1)=7; x; }) => 7 ({ int x=3; (&x+2)-&x+3; }) => 5 ({ int x, y; x=3; y=5; x+y; }) => 8 ({ int x=3, y=5; x+y; }) => 8 ({ int x[2]; int *y=&x; *y=3; *x; }) => 3 ({ int x[3]; *x=3; *(x+1)=4; *(x+2)=5; *x; }) => 3 ({ int x[3]; *x=3; *(x+1)=4; *(x+2)=5; *(x+1); }) => 4 ({ int x[3]; *x=3; *(x+1)=4; *(x+2)=5; *(x+2); }) => 5 ({ int x[2][3]; int *y=x; *y=0; **x; }) => 0 ({ int x[2][3]; int *y=x; *(y+1)=1; *(*x+1); }) => 1 ({ int x[2][3]; int *y=x; *(y+2)=2; *(*x+2); }) => 2 ({ int x[2][3]; int *y=x; *(y+3)=3; **(x+1); }) => 3 ({ int x[2][3]; int *y=x; *(y+4)=4; *(*(x+1)+1); }) => 4 ({ int x[2][3]; int *y=x; *(y+5)=5; *(*(x+1)+2); }) => 5 ({ int x[3]; *x=3; x[1]=4; x[2]=5; *x; }) => 3 ({ int x[3]; *x=3; x[1]=4; x[2]=5; *(x+1); }) => 4 ({ int x[3]; *x=3; x[1]=4; x[2]=5; *(x+2); }) => 5 ({ int x[3]; *x=3; x[1]=4; x[2]=5; *(x+2); }) => 5 ({ int x[3]; *x=3; x[1]=4; 2[x]=5; *(x+2); }) => 5 ({ int x[2][3]; int *y=x; y[0]=0; x[0][0]; }) => 0 ({ int x[2][3]; int *y=x; y[1]=1; x[0][1]; }) => 1 ({ int x[2][3]; int *y=x; y[2]=2; x[0][2]; }) => 2 ({ int x[2][3]; int *y=x; y[3]=3; x[1][0]; }) => 3 ({ int x[2][3]; int *y=x; y[4]=4; x[1][1]; }) => 4 ({ int x[2][3]; int *y=x; y[5]=5; x[1][2]; }) => 5 OK test/pragma-once.exe OK test/sizeof.exe sizeof(char) => 1 sizeof(short) => 2 sizeof(short int) => 2 sizeof(int short) => 2 sizeof(int) => 4 sizeof(long) => 8 sizeof(long int) => 8 sizeof(long int) => 8 sizeof(char *) => 8 sizeof(int *) => 8 sizeof(long *) => 8 sizeof(int **) => 8 sizeof(int(*)[4]) => 8 sizeof(int*[4]) => 32 sizeof(int[4]) => 16 sizeof(int[3][4]) => 48 sizeof(struct {int a; int b;}) => 8 sizeof(-10 + (long)5) => 8 sizeof(-10 - (long)5) => 8 sizeof(-10 * (long)5) => 8 sizeof(-10 / (long)5) => 8 sizeof((long)-10 + 5) => 8 sizeof((long)-10 - 5) => 8 sizeof((long)-10 * 5) => 8 sizeof((long)-10 / 5) => 8 ({ char i; sizeof(++i); }) => 1 ({ char i; sizeof(i++); }) => 1 sizeof(int(*)[10]) => 8 sizeof(int(*)[][10]) => 8 sizeof(struct { int x, y[]; }) => 4 sizeof(char) => 1 sizeof(signed char) => 1 sizeof(signed char signed) => 1 sizeof(unsigned char) => 1 sizeof(unsigned char unsigned) => 1 sizeof(short) => 2 sizeof(int short) => 2 sizeof(short int) => 2 sizeof(signed short) => 2 sizeof(int short signed) => 2 sizeof(unsigned short) => 2 sizeof(int short unsigned) => 2 sizeof(int) => 4 sizeof(signed int) => 4 sizeof(signed) => 4 sizeof(signed signed) => 4 sizeof(unsigned int) => 4 sizeof(unsigned) => 4 sizeof(unsigned unsigned) => 4 sizeof(long) => 8 sizeof(signed long) => 8 sizeof(signed long int) => 8 sizeof(unsigned long) => 8 sizeof(unsigned long int) => 8 sizeof(long long) => 8 sizeof(signed long long) => 8 sizeof(signed long long int) => 8 sizeof(unsigned long long) => 8 sizeof(unsigned long long int) => 8 sizeof((char)1) => 1 sizeof((short)1) => 2 sizeof((int)1) => 4 sizeof((long)1) => 8 sizeof((char)1 + (char)1) => 4 sizeof((short)1 + (short)1) => 4 sizeof(1?2:3) => 4 sizeof(1?(short)2:(char)3) => 4 sizeof(1?(long)2:(char)3) => 8 sizeof(char) << 31 >> 31 => 1 sizeof(char) << 63 >> 63 => 1 sizeof(float) => 4 sizeof(double) => 8 sizeof(1f+2) => 4 sizeof(1.0+2) => 8 sizeof(1f-2) => 4 sizeof(1.0-2) => 8 sizeof(1f*2) => 4 sizeof(1.0*2) => 8 sizeof(1f/2) => 4 sizeof(1.0/2) => 8 sizeof(long double) => 16 sizeof(main) => 1 OK test/stdhdr.exe OK test/string.exe ""[0] => 0 sizeof("") => 1 "abc"[0] => 97 "abc"[1] => 98 "abc"[2] => 99 "abc"[3] => 0 sizeof("abc") => 4 "\a"[0] => 7 "\b"[0] => 8 "\t"[0] => 9 "\n"[0] => 10 "\v"[0] => 11 "\f"[0] => 12 "\r"[0] => 13 "\e"[0] => 27 "\j"[0] => 106 "\k"[0] => 107 "\l"[0] => 108 "\ax\ny"[0] => 7 "\ax\ny"[1] => 120 "\ax\ny"[2] => 10 "\ax\ny"[3] => 121 "\0"[0] => 0 "\20"[0] => 16 "\101"[0] => 65 "\1500"[0] => 104 "\x00"[0] => 0 "\x77"[0] => 119 sizeof("abc" "def") => 7 sizeof("abc" "d" "efgh") => 9 strcmp("abc" "d" "\nefgh", "abcd\nefgh") => 0 !strcmp("abc" "d", "abcd\nefgh") => 0 strcmp("\x9" "0", "\t0") => 0 sizeof(L"abc" "") => 16 sizeof(L"abc" "def") => 28 sizeof(L"abc" L"def") => 28 sizeof(u"abc" "def") => 14 sizeof(u"abc" u"def") => 14 (L"abc" "def")[0] => 97 (L"abc" "def")[3] => 100 (L"abc" "def")[6] => 0 (u"abc" "def")[0] => 97 (u"abc" "def")[3] => 100 (u"abc" "def")[6] => 0 ("あ" L"")[0] => 12354 ("\343\201\202" L"")[0] => 227 ("\343\201\202" L"")[1] => 129 ("\343\201\202" L"")[2] => 130 ("\343\201\202" L"")[3] => 0 ("a" "b" L"c")[0] => 97 ("a" "b" L"c")[1] => 98 ("a" "b" L"c")[2] => 99 ("a" "b" L"c")[3] => 0 OK test/struct.exe ({ struct {int a; int b;} x; x.a=1; x.b=2; x.a; }) => 1 ({ struct {int a; int b;} x; x.a=1; x.b=2; x.b; }) => 2 ({ struct {char a; int b; char c;} x; x.a=1; x.b=2; x.c=3; x.a; }) => 1 ({ struct {char a; int b; char c;} x; x.b=1; x.b=2; x.c=3; x.b; }) => 2 ({ struct {char a; int b; char c;} x; x.a=1; x.b=2; x.c=3; x.c; }) => 3 ({ struct {char a; char b;} x[3]; char *p=x; p[0]=0; x[0].a; }) => 0 ({ struct {char a; char b;} x[3]; char *p=x; p[1]=1; x[0].b; }) => 1 ({ struct {char a; char b;} x[3]; char *p=x; p[2]=2; x[1].a; }) => 2 ({ struct {char a; char b;} x[3]; char *p=x; p[3]=3; x[1].b; }) => 3 ({ struct {char a[3]; char b[5];} x; char *p=&x; x.a[0]=6; p[0]; }) => 6 ({ struct {char a[3]; char b[5];} x; char *p=&x; x.b[0]=7; p[3]; }) => 7 ({ struct { struct { char b; } a; } x; x.a.b=6; x.a.b; }) => 6 ({ struct {int a;} x; sizeof(x); }) => 4 ({ struct {int a; int b;} x; sizeof(x); }) => 8 ({ struct {int a, b;} x; sizeof(x); }) => 8 ({ struct {int a[3];} x; sizeof(x); }) => 12 ({ struct {int a;} x[4]; sizeof(x); }) => 16 ({ struct {int a[3];} x[2]; sizeof(x); }) => 24 ({ struct {char a; char b;} x; sizeof(x); }) => 2 ({ struct {} x; sizeof(x); }) => 0 ({ struct {char a; int b;} x; sizeof(x); }) => 8 ({ struct {int a; char b;} x; sizeof(x); }) => 8 ({ struct t {int a; int b;} x; struct t y; sizeof(y); }) => 8 ({ struct t {int a; int b;}; struct t y; sizeof(y); }) => 8 ({ struct t {char a[2];}; { struct t {char a[4];}; } struct t y; sizeof(y); }) => 2 ({ struct t {int x;}; int t=1; struct t y; y.x=2; t+y.x; }) => 3 ({ struct t {char a;} x; struct t *y = &x; x.a=3; y->a; }) => 3 ({ struct t {char a;} x; struct t *y = &x; y->a=3; x.a; }) => 3 ({ struct {int a,b;} x,y; x.a=3; y=x; y.a; }) => 3 ({ struct t {int a,b;}; struct t x; x.a=7; struct t y; struct t *z=&y; *z=x; y.a; }) => 7 ({ struct t {int a,b;}; struct t x; x.a=7; struct t y, *p=&x, *q=&y; *q=*p; y.a; }) => 7 ({ struct t {char a, b;} x, y; x.a=5; y=x; y.a; }) => 5 ({ struct {int a,b;} x,y; x.a=3; y=x; y.a; }) => 3 ({ struct t {int a,b;}; struct t x; x.a=7; struct t y; struct t *z=&y; *z=x; y.a; }) => 7 ({ struct t {int a,b;}; struct t x; x.a=7; struct t y, *p=&x, *q=&y; *q=*p; y.a; }) => 7 ({ struct t {char a, b;} x, y; x.a=5; y=x; y.a; }) => 5 ({ struct t {int a; int b;} x; struct t y; sizeof(y); }) => 8 ({ struct t {int a; int b;}; struct t y; sizeof(y); }) => 8 ({ struct {char a; long b;} x; sizeof(x); }) => 16 ({ struct {char a; short b;} x; sizeof(x); }) => 4 ({ struct foo *bar; sizeof(bar); }) => 8 ({ struct T *foo; struct T {int x;}; sizeof(struct T); }) => 4 ({ struct T { struct T *next; int x; } a; struct T b; b.x=1; a.next=&b; a.next->x; }) => 1 ({ typedef struct T T; struct T { int x; }; sizeof(T); }) => 4 ({ struct {int a;} x={1}, y={2}; (x=y).a; }) => 2 ({ struct {int a;} x={1}, y={2}; (1?x:y).a; }) => 1 ({ struct {int a;} x={1}, y={2}; (0?x:y).a; }) => 2 OK test/tls.exe v1 => 0 v2 => 5 v3 => 7 pthread_create(&thr, ((void *)0), thread_main, ((void *)0)) => 0 v1 => 0 v2 => 5 v3 => 7 v1 => 1 v2 => 2 v3 => 3 pthread_join(thr, ((void *)0)) => 0 v1 => 0 v2 => 5 v3 => 3 OK test/typedef.exe ({ typedef int t; t x=1; x; }) => 1 ({ typedef struct {int a;} t; t x; x.a=1; x.a; }) => 1 ({ typedef int t; t t=1; t; }) => 1 ({ typedef struct {int a;} t; { typedef int t; } t x; x.a=2; x.a; }) => 2 ({ typedef t; t x; sizeof(x); }) => 4 ({ MyInt x=3; x; }) => 3 ({ MyInt2 x; sizeof(x); }) => 16 OK test/typeof.exe ({ typeof(int) x=3; x; }) => 3 ({ typeof(1) x=3; x; }) => 3 ({ int x; typeof(x) y; sizeof(y); }) => 4 ({ int x; typeof(&x) y; sizeof(y); }) => 8 ({ typeof("foo") x; sizeof(x); }) => 4 sizeof(typeof(struct { int a,b,c; })) => 12 OK test/unicode.exe sizeof(L'\0') => 4 L'a' => 97 strcmp("αβγ", "αβγ") => 0 strcmp("日本語", "日本語") => 0 strcmp("日本語", "日本語") => 0 strcmp("🌮", "🌮") => 0 L'\xffffffff'>>31 => -1 L'β' => 946 L'あ' => 12354 L'🍣' => 127843 sizeof(u'\0') => 2 u'\xffff'>>15 => 1 u'a' => 97 u'β' => 946 u'あ' => 12354 u'🍣' => 62307 strcmp("u'a'", "u'a'") => 0 sizeof(U'\0') => 4 U'\xffffffff'>>31 => 1 U'a' => 97 U'β' => 946 U'あ' => 12354 U'🍣' => 127843 strcmp("U'a'", "U'a'") => 0 sizeof(u8"abc") => 4 strcmp(u8"abc", "abc") => 0 strcmp("u8\"a\"", "u8\"a\"") => 0 sizeof(u"") => 2 sizeof(u"\xffzzz") => 10 memcmp(u"", "\0\0", 2) => 0 memcmp(u"abc", "a\0b\0c\0\0\0", 8) => 0 memcmp(u"日本語", "\345e,g\236\212\0\0", 8) => 0 memcmp(u"🍣", "<\330c\337\0\0", 6) => 0 u"βb"[0] => 946 u"βb"[1] => 98 u"βb"[2] => 0 strcmp("u\"a\"", "u\"a\"") => 0 sizeof(U"") => 4 sizeof(U"\xffzzz") => 20 memcmp(U"", "\0\0\0\0", 4) => 0 memcmp(U"abc", "a\0\0\0b\0\0\0c\0\0\0\0\0\0\0", 16) => 0 memcmp(U"日本語", "\345e\0\0,g\0\0\236\212\0\0\0\0\0\0", 16) => 0 memcmp(U"🍣", "c\363\001\0\0\0\0\0", 8) => 0 U"βb"[0] => 946 U"βb"[1] => 98 U"βb"[2] => 0 U"\xffffffff"[0] >> 31 => 1 strcmp("U\"a\"", "U\"a\"") => 0 sizeof(L"") => 4 sizeof(L"\xffzzz") => 20 memcmp(L"", "\0\0\0\0", 4) => 0 memcmp(L"abc", "a\0\0\0b\0\0\0c\0\0\0\0\0\0\0", 16) => 0 memcmp(L"日本語", "\345e\0\0,g\0\0\236\212\0\0\0\0\0\0", 16) => 0 memcmp(L"🍣", "c\363\001\0\0\0\0\0", 8) => 0 L"βb"[0] => 946 L"βb"[1] => 98 L"βb"[2] => 0 L"\xffffffff"[0] >> 31 => -1 strcmp("L\"a\"", "L\"a\"") => 0 ({ char16_t x[] = u"αβ"; x[0]; }) => 945 ({ char16_t x[] = u"αβ"; x[1]; }) => 946 ({ char16_t x[] = u"αβ"; sizeof(x); }) => 6 ({ char32_t x[] = U"🤔x"; x[0]; }) => 129300 ({ char32_t x[] = U"🤔x"; x[1]; }) => 120 ({ char32_t x[] = U"🤔x"; sizeof(x); }) => 12 ({ wchar_t x[] = L"🤔x"; x[0]; }) => 129300 ({ wchar_t x[] = L"🤔x"; x[1]; }) => 120 ({ wchar_t x[] = L"🤔x"; sizeof(x); }) => 12 π => 3 ({ int あβ0¾=3; あβ0¾; }) => 3 ({ int $$$=5; $$$; }) => 5 OK test/union.exe ({ union { int a; char b[6]; } x; sizeof(x); }) => 8 ({ union { int a; char b[4]; } x; x.a = 515; x.b[0]; }) => 3 ({ union { int a; char b[4]; } x; x.a = 515; x.b[1]; }) => 2 ({ union { int a; char b[4]; } x; x.a = 515; x.b[2]; }) => 0 ({ union { int a; char b[4]; } x; x.a = 515; x.b[3]; }) => 0 ({ union {int a,b;} x,y; x.a=3; y.a=5; y=x; y.a; }) => 3 ({ union {struct {int a,b;} c;} x,y; x.c.b=3; y.c.b=5; y=x; y.c.b; }) => 3 ({ union { struct { unsigned char a,b,c,d; }; long e; } x; x.e=0xdeadbeef; x.a; }) => 239 ({ union { struct { unsigned char a,b,c,d; }; long e; } x; x.e=0xdeadbeef; x.b; }) => 190 ({ union { struct { unsigned char a,b,c,d; }; long e; } x; x.e=0xdeadbeef; x.c; }) => 173 ({ union { struct { unsigned char a,b,c,d; }; long e; } x; x.e=0xdeadbeef; x.d; }) => 222 ({struct { union { int a,b; }; union { int c,d; }; } x; x.a=3; x.b; }) => 3 ({struct { union { int a,b; }; union { int c,d; }; } x; x.d=5; x.c; }) => 5 OK test/usualconv.exe -10 + (long)5 => -5 -10 - (long)5 => -15 -10 * (long)5 => -50 -10 / (long)5 => -2 -2 < (long)-1 => 1 -2 <= (long)-1 => 1 -2 > (long)-1 => 0 -2 >= (long)-1 => 0 (long)-2 < -1 => 1 (long)-2 <= -1 => 1 (long)-2 > -1 => 0 (long)-2 >= -1 => 0 2147483647 + 2147483647 + 2 => 0 ({ long x; x=-1; x; }) => -1 ({ char x[3]; x[0]=0; x[1]=1; x[2]=2; char *y=x+1; y[0]; }) => 1 ({ char x[3]; x[0]=0; x[1]=1; x[2]=2; char *y=x+1; y[-1]; }) => 0 ({ struct t {char a;} x, y; x.a=5; y=x; y.a; }) => 5 (1 ? ret10 : (void *)0)() => 10 OK test/varargs.exe sum1(1, 2, 3, 0) => 6 sum1(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0) => 55 sum2(1, 2.0, 3, 4.0, 5, 6.0, 0) => 21 sum2(1, 2.0, 3, 4.0, 5, 6.0, 0) => 21 sum2(1, 2.0, 3, 4.0, 5, 6.0, 7, 8.0, 9, 10.0, 11, 12.0, 13, 14.0, 15, 16.0, 17, 18.0, 19, 20.0, 0) => 210 ({ char buf[100]; fmt(buf, "%d %d", 2, 3); strcmp(buf, "2 3"); }) => 0 OK test/variable.exe ({ int a; a=3; a; }) => 3 ({ int a=3; a; }) => 3 ({ int a=3; int z=5; a+z; }) => 8 ({ int a=3; a; }) => 3 ({ int a=3; int z=5; a+z; }) => 8 ({ int a; int b; a=b=3; a+b; }) => 6 ({ int foo=3; foo; }) => 3 ({ int foo123=3; int bar=5; foo123+bar; }) => 8 ({ int x; sizeof(x); }) => 4 ({ int x; sizeof x; }) => 4 ({ int *x; sizeof(x); }) => 8 ({ int x[4]; sizeof(x); }) => 16 ({ int x[3][4]; sizeof(x); }) => 48 ({ int x[3][4]; sizeof(*x); }) => 16 ({ int x[3][4]; sizeof(**x); }) => 4 ({ int x[3][4]; sizeof(**x) + 1; }) => 5 ({ int x[3][4]; sizeof **x + 1; }) => 5 ({ int x[3][4]; sizeof(**x + 1); }) => 4 ({ int x=1; sizeof(x=2); }) => 4 ({ int x=1; sizeof(x=2); x; }) => 1 g1 => 0 ({ g1=3; g1; }) => 3 ({ g2[0]=0; g2[1]=1; g2[2]=2; g2[3]=3; g2[0]; }) => 0 ({ g2[0]=0; g2[1]=1; g2[2]=2; g2[3]=3; g2[1]; }) => 1 ({ g2[0]=0; g2[1]=1; g2[2]=2; g2[3]=3; g2[2]; }) => 2 ({ g2[0]=0; g2[1]=1; g2[2]=2; g2[3]=3; g2[3]; }) => 3 sizeof(g1) => 4 sizeof(g2) => 16 ({ char x=1; x; }) => 1 ({ char x=1; char y=2; x; }) => 1 ({ char x=1; char y=2; y; }) => 2 ({ char x; sizeof(x); }) => 1 ({ char x[10]; sizeof(x); }) => 10 ({ int x=2; { int x=3; } x; }) => 2 ({ int x=2; { int x=3; } int y=4; x; }) => 2 ({ int x=2; { x=3; } x; }) => 3 ({ int x; int y; char z; char *a=&y; char *b=&z; b-a; }) => 7 ({ int x; char y; int z; char *a=&y; char *b=&z; b-a; }) => 1 ({ long x; sizeof(x); }) => 8 ({ short x; sizeof(x); }) => 2 ({ char *x[3]; sizeof(x); }) => 24 ({ char (*x)[3]; sizeof(x); }) => 8 ({ char (x); sizeof(x); }) => 1 ({ char (x)[3]; sizeof(x); }) => 3 ({ char (x[3])[4]; sizeof(x); }) => 12 ({ char (x[3])[4]; sizeof(x[0]); }) => 4 ({ char *x[3]; char y; x[0]=&y; y=3; x[0][0]; }) => 3 ({ char x[3]; char (*y)[3]=x; y[0][0]=4; y[0][0]; }) => 4 g3 => 3 OK test/vla.exe ({ int n=5; int x[n]; sizeof(x); }) => 20 ({ int m=5, n=8; int x[m+1][n*2]; sizeof(x); }) => 384 ({ char n=10; int (*x)[n][n+2]; sizeof(x); }) => 8 ({ char n=10; int (*x)[n][n+2]; sizeof(*x); }) => 480 ({ char n=10; int (*x)[n][n+2]; sizeof(**x); }) => 48 ({ char n=10; int (*x)[n][n+2]; sizeof(***x); }) => 4 ({ char n=3; int x[5][n]; sizeof(x); }) => 60 ({ char n=3; int x[5][n]; sizeof(*x); }) => 12 ({ char n=3; int x[n][5]; sizeof(x); }) => 60 ({ char n=3; int x[n][5]; sizeof(*x); }) => 20 ({ int n=10; int x[n+1][n+6]; int *p=x; for (int i = 0; i 0 ({ int n=10; int x[n+1][n+6]; int *p=x; for (int i = 0; i 5 ({ int n=10; int x[n+1][n+6]; int *p=x; for (int i = 0; i 82 ({ int n=5; sizeof(char[2][n]); }) => 10 OK test/driver.sh ./chibicc testing -o ... passed testing --help ... passed testing -S ... passed testing default output file ... passed testing default output file ... passed testing multiple input files ... passed testing multiple input files ... passed testing linker ... passed testing linker ... passed testing a.out ... passed testing -E ... passed testing -E and -o ... passed testing -I ... passed testing -D ... passed testing -D ... passed testing -U ... passed testing ignored options ... passed testing BOM marker ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing -idirafter ... passed testing -idirafter ... passed testing -fcommon (default) ... passed testing -fcommon ... passed testing -fno-common ... passed testing -include ... passed testing -include ... passed testing -xc ... passed testing -x assembler ... passed testing -x none ... passed testing -E ... passed testing .a ... passed testing .so ... passed OK testing hashmap ... passed testing -M ... passed testing -MF ... passed testing -MP ... passed testing -MP ... passed testing -MT ... passed testing -MT ... passed testing -MD ... passed testing -MD ... passed testing -MD ... passed testing -fPIC ... passed testing #include_next ... passed testing -static ... passed testing -static ... passed testing -shared ... passed testing -L ... passed testing -Wl, ... passed testing -Xlinker ... passed OK mkdir -p stage2/test ./chibicc -c -o stage2/codegen.o codegen.c mkdir -p stage2/test ./chibicc -c -o stage2/hashmap.o hashmap.c mkdir -p stage2/test ./chibicc -c -o stage2/main.o main.c mkdir -p stage2/test ./chibicc -c -o stage2/parse.o parse.c mkdir -p stage2/test ./chibicc -c -o stage2/preprocess.o preprocess.c mkdir -p stage2/test ./chibicc -c -o stage2/strings.o strings.c mkdir -p stage2/test ./chibicc -c -o stage2/tokenize.o tokenize.c mkdir -p stage2/test ./chibicc -c -o stage2/type.o type.c mkdir -p stage2/test ./chibicc -c -o stage2/unicode.o unicode.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c11 -g -fno-common -Wall -Wno-switch -o stage2/chibicc stage2/codegen.o stage2/hashmap.o stage2/main.o stage2/parse.o stage2/preprocess.o stage2/strings.o stage2/tokenize.o stage2/type.o stage2/unicode.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/alignof.o test/alignof.c gcc -pthread -o stage2/test/alignof.exe stage2/test/alignof.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/alloca.o test/alloca.c gcc -pthread -o stage2/test/alloca.exe stage2/test/alloca.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/arith.o test/arith.c gcc -pthread -o stage2/test/arith.exe stage2/test/arith.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/asm.o test/asm.c gcc -pthread -o stage2/test/asm.exe stage2/test/asm.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/atomic.o test/atomic.c gcc -pthread -o stage2/test/atomic.exe stage2/test/atomic.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/attribute.o test/attribute.c gcc -pthread -o stage2/test/attribute.exe stage2/test/attribute.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/bitfield.o test/bitfield.c gcc -pthread -o stage2/test/bitfield.exe stage2/test/bitfield.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/builtin.o test/builtin.c gcc -pthread -o stage2/test/builtin.exe stage2/test/builtin.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/cast.o test/cast.c gcc -pthread -o stage2/test/cast.exe stage2/test/cast.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/commonsym.o test/commonsym.c gcc -pthread -o stage2/test/commonsym.exe stage2/test/commonsym.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/compat.o test/compat.c gcc -pthread -o stage2/test/compat.exe stage2/test/compat.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/complit.o test/complit.c gcc -pthread -o stage2/test/complit.exe stage2/test/complit.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/const.o test/const.c gcc -pthread -o stage2/test/const.exe stage2/test/const.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/constexpr.o test/constexpr.c gcc -pthread -o stage2/test/constexpr.exe stage2/test/constexpr.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/control.o test/control.c gcc -pthread -o stage2/test/control.exe stage2/test/control.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/decl.o test/decl.c gcc -pthread -o stage2/test/decl.exe stage2/test/decl.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/enum.o test/enum.c gcc -pthread -o stage2/test/enum.exe stage2/test/enum.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/extern.o test/extern.c gcc -pthread -o stage2/test/extern.exe stage2/test/extern.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/float.o test/float.c gcc -pthread -o stage2/test/float.exe stage2/test/float.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/function.o test/function.c gcc -pthread -o stage2/test/function.exe stage2/test/function.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/generic.o test/generic.c gcc -pthread -o stage2/test/generic.exe stage2/test/generic.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/initializer.o test/initializer.c gcc -pthread -o stage2/test/initializer.exe stage2/test/initializer.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/line.o test/line.c gcc -pthread -o stage2/test/line.exe stage2/test/line.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/literal.o test/literal.c gcc -pthread -o stage2/test/literal.exe stage2/test/literal.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/macro.o test/macro.c gcc -pthread -o stage2/test/macro.exe stage2/test/macro.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/offsetof.o test/offsetof.c gcc -pthread -o stage2/test/offsetof.exe stage2/test/offsetof.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/pointer.o test/pointer.c gcc -pthread -o stage2/test/pointer.exe stage2/test/pointer.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/pragma-once.o test/pragma-once.c gcc -pthread -o stage2/test/pragma-once.exe stage2/test/pragma-once.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/sizeof.o test/sizeof.c gcc -pthread -o stage2/test/sizeof.exe stage2/test/sizeof.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/stdhdr.o test/stdhdr.c gcc -pthread -o stage2/test/stdhdr.exe stage2/test/stdhdr.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/string.o test/string.c gcc -pthread -o stage2/test/string.exe stage2/test/string.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/struct.o test/struct.c gcc -pthread -o stage2/test/struct.exe stage2/test/struct.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/tls.o test/tls.c gcc -pthread -o stage2/test/tls.exe stage2/test/tls.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/typedef.o test/typedef.c gcc -pthread -o stage2/test/typedef.exe stage2/test/typedef.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/typeof.o test/typeof.c gcc -pthread -o stage2/test/typeof.exe stage2/test/typeof.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/unicode.o test/unicode.c gcc -pthread -o stage2/test/unicode.exe stage2/test/unicode.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/union.o test/union.c gcc -pthread -o stage2/test/union.exe stage2/test/union.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/usualconv.o test/usualconv.c gcc -pthread -o stage2/test/usualconv.exe stage2/test/usualconv.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/varargs.o test/varargs.c gcc -pthread -o stage2/test/varargs.exe stage2/test/varargs.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/variable.o test/variable.c gcc -pthread -o stage2/test/variable.exe stage2/test/variable.o -xc test/common mkdir -p stage2/test ./stage2/chibicc -Iinclude -Itest -c -o stage2/test/vla.o test/vla.c gcc -pthread -o stage2/test/vla.exe stage2/test/vla.o -xc test/common for i in stage2/test/alignof.exe stage2/test/alloca.exe stage2/test/arith.exe stage2/test/asm.exe stage2/test/atomic.exe stage2/test/attribute.exe stage2/test/bitfield.exe stage2/test/builtin.exe stage2/test/cast.exe stage2/test/commonsym.exe stage2/test/compat.exe stage2/test/complit.exe stage2/test/const.exe stage2/test/constexpr.exe stage2/test/control.exe stage2/test/decl.exe stage2/test/enum.exe stage2/test/extern.exe stage2/test/float.exe stage2/test/function.exe stage2/test/generic.exe stage2/test/initializer.exe stage2/test/line.exe stage2/test/literal.exe stage2/test/macro.exe stage2/test/offsetof.exe stage2/test/pointer.exe stage2/test/pragma-once.exe stage2/test/sizeof.exe stage2/test/stdhdr.exe stage2/test/string.exe stage2/test/struct.exe stage2/test/tls.exe stage2/test/typedef.exe stage2/test/typeof.exe stage2/test/unicode.exe stage2/test/union.exe stage2/test/usualconv.exe stage2/test/varargs.exe stage2/test/variable.exe stage2/test/vla.exe; do echo $i; ./$i || exit 1; echo; done stage2/test/alignof.exe _Alignof(char) => 1 _Alignof(short) => 2 _Alignof(int) => 4 _Alignof(long) => 8 _Alignof(long long) => 8 _Alignof(char[3]) => 1 _Alignof(int[3]) => 4 _Alignof(struct {char a; char b;}[2]) => 1 _Alignof(struct {char a; long b;}[2]) => 8 ({ _Alignas(char) char x, y; &y-&x; }) => 1 ({ _Alignas(long) char x, y; &y-&x; }) => 8 ({ _Alignas(32) char x, y; &y-&x; }) => 32 ({ _Alignas(32) int *x, *y; ((char *)&y)-((char *)&x); }) => 32 ({ struct { _Alignas(16) char x, y; } a; &a.y-&a.x; }) => 16 ({ struct T { _Alignas(8) char a; }; _Alignof(struct T); }) => 8 (long)(char *)&g1 % 512 => 0 (long)(char *)&g2 % 512 => 0 (long)(char *)&g4 % 4 => 0 (long)(char *)&g5 % 8 => 0 ({ char x; _Alignof(x); }) => 1 ({ int x; _Alignof(x); }) => 4 ({ char x; _Alignof x; }) => 1 ({ int x; _Alignof x; }) => 4 _Alignof(char) << 31 >> 31 => 1 _Alignof(char) << 63 >> 63 => 1 ({ char x; _Alignof(x) << 63 >> 63; }) => 1 ({ char x[16]; (unsigned long)&x % 16; }) => 0 ({ char x[17]; (unsigned long)&x % 16; }) => 0 ({ char x[100]; (unsigned long)&x % 16; }) => 0 ({ char x[101]; (unsigned long)&x % 16; }) => 0 OK stage2/test/alloca.exe p1 - p2 => 16 p2 - p3 => 16 p3 - p4 => 16 memcmp(p1, "0123456789abcdef", 16) => 0 memcmp(p2, "ghijklmnopqrstuv", 16) => 0 memcmp(p3, "wxy", 3) => 0 OK stage2/test/arith.exe 0 => 0 42 => 42 5+20-4 => 21 12 + 34 - 5 => 41 5+6*7 => 47 5*(9-6) => 15 (3+5)/2 => 4 -10+20 => 10 - -10 => 10 - - +10 => 10 0==1 => 0 42==42 => 1 0!=1 => 1 42!=42 => 0 0<1 => 1 1<1 => 0 2<1 => 0 0<=1 => 1 1<=1 => 1 2<=1 => 0 1>0 => 1 1>1 => 0 1>2 => 0 1>=0 => 1 1>=1 => 1 1>=2 => 0 1073741824 * 100 / 100 => 0 ({ int i=2; i+=5; i; }) => 7 ({ int i=2; i+=5; }) => 7 ({ int i=5; i-=2; i; }) => 3 ({ int i=5; i-=2; }) => 3 ({ int i=3; i*=2; i; }) => 6 ({ int i=3; i*=2; }) => 6 ({ int i=6; i/=2; i; }) => 3 ({ int i=6; i/=2; }) => 3 ({ int i=2; ++i; }) => 3 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; ++*p; }) => 2 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; --*p; }) => 0 ({ int i=2; i++; }) => 2 ({ int i=2; i--; }) => 2 ({ int i=2; i++; i; }) => 3 ({ int i=2; i--; i; }) => 1 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; *p++; }) => 1 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; *p--; }) => 1 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; (*p++)--; a[0]; }) => 0 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; (*(p--))--; a[1]; }) => 0 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; (*p)--; a[2]; }) => 2 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; (*p)--; p++; *p; }) => 2 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; (*p++)--; a[0]; }) => 0 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; (*p++)--; a[1]; }) => 0 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; (*p++)--; a[2]; }) => 2 ({ int a[3]; a[0]=0; a[1]=1; a[2]=2; int *p=a+1; (*p++)--; *p; }) => 2 !1 => 0 !2 => 0 !0 => 1 !(char)0 => 1 !(long)3 => 0 sizeof(!(char)0) => 4 sizeof(!(long)0) => 4 ~0 => -1 ~-1 => 0 17%6 => 5 ((long)17)%6 => 5 ({ int i=10; i%=4; i; }) => 2 ({ long i=10; i%=4; i; }) => 2 0&1 => 0 3&1 => 1 7&3 => 3 -1&10 => 10 0|1 => 1 0b10000|0b00011 => 19 0^0 => 0 0b1111^0b1111 => 0 0b111000^0b001100 => 52 ({ int i=6; i&=3; i; }) => 2 ({ int i=6; i|=3; i; }) => 7 ({ int i=15; i^=5; i; }) => 10 1<<0 => 1 1<<3 => 8 5<<1 => 10 5>>1 => 2 -1>>1 => -1 ({ int i=1; i<<=0; i; }) => 1 ({ int i=1; i<<=3; i; }) => 8 ({ int i=5; i<<=1; i; }) => 10 ({ int i=5; i>>=1; i; }) => 2 -1 => -1 ({ int i=-1; i; }) => -1 ({ int i=-1; i>>=1; i; }) => -1 0?1:2 => 2 1?1:2 => 1 0?-2:-1 => -1 1?-2:-1 => -2 sizeof(0?1:2) => 4 sizeof(0?(long)1:(long)2) => 8 0?(long)-2:-1 => -1 0?-2:(long)-1 => -1 1?(long)-2:-1 => -2 1?-2:(long)-1 => -2 ({ int x; int *p=&x; p+20-p; }) => 20 ({ int x; int *p=&x; p+20-p>0; }) => 1 ({ int x; int *p=&x; p-20-p; }) => -20 ({ int x; int *p=&x; p-20-p<0; }) => 1 (char *)0xffffffffffffffff - (char *)0xfffffffffffffff0 => 15 (char *)0xfffffffffffffff0 - (char *)0xffffffffffffffff => -15 (void *)0xffffffffffffffff > (void *)0 => 1 3?:5 => 3 0?:5 => 5 ({ int i = 3; ++i?:10; }) => 4 (long double)3 => 3 (long double)3+2 => 5 (long double)3*2 => 6 (long double)3+2.0 => 5 OK stage2/test/asm.exe asm_fn1() => 50 asm_fn2() => 55 OK stage2/test/atomic.exe add_millions() => 6000000 ({ int x=3; __builtin_atomic_exchange((&x), (5)); }) => 3 ({ int x=3; __builtin_atomic_exchange((&x), (5)); x; }) => 5 OK stage2/test/attribute.exe ({ struct { char a; int b; } __attribute__((packed)) x; sizeof(x); }) => 5 offsetof(struct __attribute__((packed)) { char a; int b; }, a) => 0 offsetof(struct __attribute__((packed)) { char a; int b; }, b) => 1 ({ struct __attribute__((packed)) { char a; int b; } x; sizeof(x); }) => 5 offsetof(struct { char a; int b; } __attribute__((packed)), a) => 0 offsetof(struct { char a; int b; } __attribute__((packed)), b) => 1 ({ typedef struct { char a; int b[2]; } __attribute__((packed)) T; sizeof(T); }) => 9 ({ typedef struct __attribute__((packed)) { char a; int b[2]; } T; sizeof(T); }) => 9 offsetof(struct __attribute__((packed)) T { char a; int b[2]; }, b) => 1 _Alignof(struct __attribute__((packed)) { char a; int b[2]; }) => 1 ({ struct __attribute__((aligned(8))) { int a; } x; _Alignof(x); }) => 8 ({ struct { int a; } __attribute__((aligned(8))) x; _Alignof(x); }) => 8 ({ struct __attribute__((aligned(8), packed)) { char a; int b; } x; _Alignof(x); }) => 8 ({ struct { char a; int b; } __attribute__((aligned(8), packed)) x; _Alignof(x); }) => 8 offsetof(struct __attribute__((aligned(8), packed)) { char a; int b; }, b) => 1 offsetof(struct { char a; int b; } __attribute__((aligned(8), packed)), b) => 1 ({ struct __attribute__((aligned(8))) __attribute__((packed)) { char a; int b; } x; _Alignof(x); }) => 8 ({ struct { char a; int b; } __attribute__((aligned(8))) __attribute__((packed)) x; _Alignof(x); }) => 8 offsetof(struct __attribute__((aligned(8))) __attribute__((packed)) { char a; int b; }, b) => 1 offsetof(struct { char a; int b; } __attribute__((aligned(8))) __attribute__((packed)), b) => 1 ({ struct __attribute__((aligned(8))) { char a; int b; } __attribute__((packed)) x; _Alignof(x); }) => 8 offsetof(struct __attribute__((aligned(8))) { char a; int b; } __attribute__((packed)), b) => 1 ({ struct __attribute__((aligned(8+8))) { char a; int b; } x; _Alignof(x); }) => 16 OK stage2/test/bitfield.exe sizeof(struct {int x:1; }) => 4 sizeof(struct {long x:1; }) => 8 sizeof(struct bit1) => 4 ({ struct bit1 x; x.a=1; x.b=2; x.c=3; x.d=4; x.e=5; x.a; }) => 1 ({ struct bit1 x={1,2,3,4,5}; x.a; }) => 1 ({ struct bit1 x={1,2,3,4,5}; x.b; }) => 2 ({ struct bit1 x={1,2,3,4,5}; x.c; }) => -1 ({ struct bit1 x={1,2,3,4,5}; x.d; }) => -4 ({ struct bit1 x={1,2,3,4,5}; x.e; }) => -3 g45.a => 1 g45.b => 2 g45.c => 3 g46.a => 0 g46.b => 0 g46.c => 0 ({ T3 x={1,2,3}; x.a++; }) => 1 ({ T3 x={1,2,3}; x.b++; }) => 2 ({ T3 x={1,2,3}; x.c++; }) => 3 ({ T3 x={1,2,3}; ++x.a; }) => 2 ({ T3 x={1,2,3}; ++x.b; }) => 3 ({ T3 x={1,2,3}; ++x.c; }) => 4 sizeof(struct {int a:3; int c:1; int c:5;}) => 4 sizeof(struct {int a:3; int:0; int c:5;}) => 8 sizeof(struct {int a:3; int:0;}) => 4 OK stage2/test/builtin.exe __builtin_types_compatible_p(int, int) => 1 __builtin_types_compatible_p(double, double) => 1 __builtin_types_compatible_p(int, long) => 0 __builtin_types_compatible_p(long, float) => 0 __builtin_types_compatible_p(int *, int *) => 1 __builtin_types_compatible_p(short *, int *) => 0 __builtin_types_compatible_p(int **, int *) => 0 __builtin_types_compatible_p(const int, int) => 1 __builtin_types_compatible_p(unsigned, int) => 0 __builtin_types_compatible_p(signed, int) => 1 __builtin_types_compatible_p(struct {int a;}, struct {int a;}) => 0 __builtin_types_compatible_p(int (*)(void), int (*)(void)) => 1 __builtin_types_compatible_p(void (*)(int), void (*)(int)) => 1 __builtin_types_compatible_p(void (*)(int, double), void (*)(int, double)) => 1 __builtin_types_compatible_p(int (*)(float, double), int (*)(float, double)) => 1 __builtin_types_compatible_p(int (*)(float, double), int) => 0 __builtin_types_compatible_p(int (*)(float, double), int (*)(float)) => 0 __builtin_types_compatible_p(int (*)(float, double), int (*)(float, double, int)) => 0 __builtin_types_compatible_p(double (*)(...), double (*)(...)) => 1 __builtin_types_compatible_p(double (*)(...), double (*)(void)) => 0 ({ typedef struct {int a;} T; __builtin_types_compatible_p(T, T); }) => 1 ({ typedef struct {int a;} T; __builtin_types_compatible_p(T, const T); }) => 1 ({ struct {int a; int b;} x; __builtin_types_compatible_p(typeof(x.a), typeof(x.b)); }) => 1 OK stage2/test/cast.exe (int)8590066177 => 131585 (short)8590066177 => 513 (char)8590066177 => 1 (long)1 => 1 (long)&*(int *)0 => 0 ({ int x=512; *(char *)&x=1; x; }) => 513 ({ int x=5; long y=(long)&x; *(int*)y; }) => 5 (char)255 => -1 (signed char)255 => -1 (unsigned char)255 => 255 (short)65535 => -1 (unsigned short)65535 => 65535 (int)0xffffffff => -1 (unsigned)0xffffffff => -1 -1<1 => 1 -1<(unsigned)1 => 0 (char)127+(char)127 => 254 (short)32767+(short)32767 => 65534 -1>>1 => -1 (unsigned long)-1 => -1 ((unsigned)-1)>>1 => 2147483647 (-100)/2 => -50 ((unsigned)-100)/2 => 2147483598 ((unsigned long)-100)/2 => -50 ((long)-1)/(unsigned)100 => 0 (-100)%7 => -2 ((unsigned)-100)%7 => 2 ((unsigned long)-100)%9 => 6 (int)(unsigned short)65535 => 65535 ({ unsigned short x = 65535; x; }) => 65535 ({ unsigned short x = 65535; (int)x; }) => 65535 ({ typedef short T; T x = 65535; (int)x; }) => -1 ({ typedef unsigned short T; T x = 65535; (int)x; }) => 65535 (_Bool)0.0 => 0 (_Bool)0.1 => 1 (char)3.0 => 3 (short)1000.3 => 1000 (int)3.99 => 3 (long)2e15 => 1233977344 (float)3.5 => 3 (double)(float)5.5 => 5 (float)3 => 3 (double)3 => 3 (float)3L => 3 (double)3L => 3 OK stage2/test/commonsym.exe x => 5 y => 7 common_ext1 => 0 common_ext2 => 3 OK stage2/test/compat.exe OK stage2/test/complit.exe (int){1} => 1 ((int[]){0,1,2})[2] => 2 ((struct {char a; int b;}){'a', 3}).a => 97 ({ int x=3; (int){x}; }) => 3 tree->val => 1 tree->lhs->val => 2 tree->lhs->lhs->val => 3 tree->lhs->rhs->val => 4 OK stage2/test/const.exe ({ const x = 5; x; }) => 5 ({ const x = 8; int *const y=&x; *y; }) => 8 ({ const x = 6; *(const * const)&x; }) => 6 OK stage2/test/constexpr.exe ({ enum { ten=1+2+3+4 }; ten; }) => 10 ({ int i=0; switch(3) { case 5-2+0*3: i++; } i; }) => 1 ({ int x[1+1]; sizeof(x); }) => 8 ({ char x[8-2]; sizeof(x); }) => 6 ({ char x[2*3]; sizeof(x); }) => 6 ({ char x[12/4]; sizeof(x); }) => 3 ({ char x[12%10]; sizeof(x); }) => 2 ({ char x[0b110&0b101]; sizeof(x); }) => 4 ({ char x[0b110|0b101]; sizeof(x); }) => 7 ({ char x[0b111^0b001]; sizeof(x); }) => 6 ({ char x[1<<2]; sizeof(x); }) => 4 ({ char x[4>>1]; sizeof(x); }) => 2 ({ char x[(1==1)+1]; sizeof(x); }) => 2 ({ char x[(1!=1)+1]; sizeof(x); }) => 1 ({ char x[(1<1)+1]; sizeof(x); }) => 1 ({ char x[(1<=1)+1]; sizeof(x); }) => 2 ({ char x[1?2:3]; sizeof(x); }) => 2 ({ char x[0?2:3]; sizeof(x); }) => 3 ({ char x[(1,3)]; sizeof(x); }) => 3 ({ char x[!0+1]; sizeof(x); }) => 2 ({ char x[!1+1]; sizeof(x); }) => 1 ({ char x[~-3]; sizeof(x); }) => 2 ({ char x[(5||6)+1]; sizeof(x); }) => 2 ({ char x[(0||0)+1]; sizeof(x); }) => 1 ({ char x[(1&&1)+1]; sizeof(x); }) => 2 ({ char x[(1&&0)+1]; sizeof(x); }) => 1 ({ char x[(int)3]; sizeof(x); }) => 3 ({ char x[(char)0xffffff0f]; sizeof(x); }) => 15 ({ char x[(short)0xffff010f]; sizeof(x); }) => 271 ({ char x[(int)0xfffffffffff+5]; sizeof(x); }) => 4 ({ char x[(int*)0+2]; sizeof(x); }) => 8 ({ char x[(int*)16-1]; sizeof(x); }) => 12 ({ char x[(int*)16-(int*)4]; sizeof(x); }) => 3 ({ char x[(-1>>31)+5]; sizeof(x); }) => 4 ({ char x[(unsigned char)0xffffffff]; sizeof(x); }) => 255 ({ char x[(unsigned short)0xffff800f]; sizeof(x); }) => 32783 ({ char x[(unsigned int)0xfffffffffff>>31]; sizeof(x); }) => 1 ({ char x[(long)-1/((long)1<<62)+1]; sizeof(x); }) => 1 ({ char x[(unsigned long)-1/((long)1<<62)+1]; sizeof(x); }) => 4 ({ char x[(unsigned)1<-1]; sizeof(x); }) => 1 ({ char x[(unsigned)1<=-1]; sizeof(x); }) => 1 g40==1.5 => 1 g41==11 => 1 OK stage2/test/control.exe ({ int x; if (0) x=2; else x=3; x; }) => 3 ({ int x; if (1-1) x=2; else x=3; x; }) => 3 ({ int x; if (1) x=2; else x=3; x; }) => 2 ({ int x; if (2-1) x=2; else x=3; x; }) => 2 ({ int i=0; int j=0; for (i=0; i<=10; i=i+1) j=i+j; j; }) => 55 ({ int i=0; while(i<10) i=i+1; i; }) => 10 ({ 1; {2;} 3; }) => 3 ({ ;;; 5; }) => 5 ({ int i=0; while(i<10) i=i+1; i; }) => 10 ({ int i=0; int j=0; while(i<=10) {j=i+j; i=i+1;} j; }) => 55 (1,2,3) => 3 ({ int i=2, j=3; (i=5,j)=6; i; }) => 5 ({ int i=2, j=3; (i=5,j)=6; j; }) => 6 ({ int j=0; for (int i=0; i<=10; i=i+1) j=j+i; j; }) => 55 ({ int i=3; int j=0; for (int i=0; i<=10; i=i+1) j=j+i; i; }) => 3 0||1 => 1 0||(2-2)||5 => 1 0||0 => 0 0||(2-2) => 0 0&&1 => 0 (2-2)&&5 => 0 1&&5 => 1 ({ int i=0; goto a; a: i++; b: i++; c: i++; i; }) => 3 ({ int i=0; goto e; d: i++; e: i++; f: i++; i; }) => 2 ({ int i=0; goto i; g: i++; h: i++; i: i++; i; }) => 1 ({ typedef int foo; goto foo; foo:; 1; }) => 1 ({ int i=0; for(;i<10;i++) { if (i == 3) break; } i; }) => 3 ({ int i=0; while (1) { if (i++ == 3) break; } i; }) => 4 ({ int i=0; for(;i<10;i++) { for (;;) break; if (i == 3) break; } i; }) => 3 ({ int i=0; while (1) { while(1) break; if (i++ == 3) break; } i; }) => 4 ({ int i=0; int j=0; for (;i<10;i++) { if (i>5) continue; j++; } i; }) => 10 ({ int i=0; int j=0; for (;i<10;i++) { if (i>5) continue; j++; } j; }) => 6 ({ int i=0; int j=0; for(;!i;) { for (;j!=10;j++) continue; break; } j; }) => 10 ({ int i=0; int j=0; while (i++<10) { if (i>5) continue; j++; } i; }) => 11 ({ int i=0; int j=0; while (i++<10) { if (i>5) continue; j++; } j; }) => 5 ({ int i=0; int j=0; while(!i) { while (j++!=10) continue; break; } j; }) => 11 ({ int i=0; switch(0) { case 0:i=5;break; case 1:i=6;break; case 2:i=7;break; } i; }) => 5 ({ int i=0; switch(1) { case 0:i=5;break; case 1:i=6;break; case 2:i=7;break; } i; }) => 6 ({ int i=0; switch(2) { case 0:i=5;break; case 1:i=6;break; case 2:i=7;break; } i; }) => 7 ({ int i=0; switch(3) { case 0:i=5;break; case 1:i=6;break; case 2:i=7;break; } i; }) => 0 ({ int i=0; switch(0) { case 0:i=5;break; default:i=7; } i; }) => 5 ({ int i=0; switch(1) { case 0:i=5;break; default:i=7; } i; }) => 7 ({ int i=0; switch(1) { case 0: 0; case 1: 0; case 2: 0; i=2; } i; }) => 2 ({ int i=0; switch(3) { case 0: 0; case 1: 0; case 2: 0; i=2; } i; }) => 0 ({ int i=0; switch(-1) { case 0xffffffff: i=3; break; } i; }) => 3 ({ int i=0; int j=0; do { j++; } while (i++ < 6); j; }) => 7 ({ int i=0; int j=0; int k=0; do { if (++j > 3) break; continue; k++; } while (1); j; }) => 4 0.0 && 0.0 => 0 0.0 && 0.1 => 0 0.3 && 0.0 => 0 0.3 && 0.5 => 1 0.0 || 0.0 => 0 0.0 || 0.1 => 1 0.3 || 0.0 => 1 0.3 || 0.5 => 1 ({ int x; if (0.0) x=3; else x=5; x; }) => 5 ({ int x; if (0.1) x=3; else x=5; x; }) => 3 ({ int x=5; if (0.0) x=3; x; }) => 5 ({ int x=5; if (0.1) x=3; x; }) => 3 ({ double i=10.0; int j=0; for (; i; i--, j++); j; }) => 10 ({ double i=10.0; int j=0; do j++; while(--i); j; }) => 10 ({ int i=0; switch(7) { case 0 ... 5: i=1; break; case 6 ... 20: i=2; break; } i; }) => 2 ({ int i=0; switch(7) { case 0 ... 7: i=1; break; case 8 ... 10: i=2; break; } i; }) => 1 ({ int i=0; switch(7) { case 0: i=1; break; case 7 ... 7: i=1; break; } i; }) => 1 ({ void *p = &&v11; int i=0; goto *p; v11:i++; v12:i++; v13:i++; i; }) => 3 ({ void *p = &&v22; int i=0; goto *p; v21:i++; v22:i++; v23:i++; i; }) => 2 ({ void *p = &&v33; int i=0; goto *p; v31:i++; v32:i++; v33:i++; i; }) => 1 ({ static void *p[]={&&v41,&&v42,&&v43}; int i=0; goto *p[0]; v41:i++; v42:i++; v43:i++; i; }) => 3 ({ static void *p[]={&&v52,&&v52,&&v53}; int i=0; goto *p[1]; v51:i++; v52:i++; v53:i++; i; }) => 2 ({ static void *p[]={&&v62,&&v62,&&v63}; int i=0; goto *p[2]; v61:i++; v62:i++; v63:i++; i; }) => 1 OK stage2/test/decl.exe ({ char x; sizeof(x); }) => 1 ({ short int x; sizeof(x); }) => 2 ({ int short x; sizeof(x); }) => 2 ({ int x; sizeof(x); }) => 4 ({ long int x; sizeof(x); }) => 8 ({ int long x; sizeof(x); }) => 8 ({ long long x; sizeof(x); }) => 8 ({ _Bool x=0; x; }) => 0 ({ _Bool x=1; x; }) => 1 ({ _Bool x=2; x; }) => 1 (_Bool)1 => 1 (_Bool)2 => 1 (_Bool)(char)256 => 0 OK stage2/test/enum.exe ({ enum { zero, one, two }; zero; }) => 0 ({ enum { zero, one, two }; one; }) => 1 ({ enum { zero, one, two }; two; }) => 2 ({ enum { five=5, six, seven }; five; }) => 5 ({ enum { five=5, six, seven }; six; }) => 6 ({ enum { zero, five=5, three=3, four }; zero; }) => 0 ({ enum { zero, five=5, three=3, four }; five; }) => 5 ({ enum { zero, five=5, three=3, four }; three; }) => 3 ({ enum { zero, five=5, three=3, four }; four; }) => 4 ({ enum { zero, one, two } x; sizeof(x); }) => 4 ({ enum t { zero, one, two }; enum t y; sizeof(y); }) => 4 OK stage2/test/extern.exe ext1 => 5 *ext2 => 5 ext3 => 7 ext_fn1(5) => 5 ext_fn2(8) => 8 OK stage2/test/float.exe (float)(char)35 => 35 (float)(short)35 => 35 (float)(int)35 => 35 (float)(long)35 => 35 (float)(unsigned char)35 => 35 (float)(unsigned short)35 => 35 (float)(unsigned int)35 => 35 (float)(unsigned long)35 => 35 (double)(char)35 => 35 (double)(short)35 => 35 (double)(int)35 => 35 (double)(long)35 => 35 (double)(unsigned char)35 => 35 (double)(unsigned short)35 => 35 (double)(unsigned int)35 => 35 (double)(unsigned long)35 => 35 (char)(float)35 => 35 (short)(float)35 => 35 (int)(float)35 => 35 (long)(float)35 => 35 (unsigned char)(float)35 => 35 (unsigned short)(float)35 => 35 (unsigned int)(float)35 => 35 (unsigned long)(float)35 => 35 (char)(double)35 => 35 (short)(double)35 => 35 (int)(double)35 => 35 (long)(double)35 => 35 (unsigned char)(double)35 => 35 (unsigned short)(double)35 => 35 (unsigned int)(double)35 => 35 (unsigned long)(double)35 => 35 (double)(unsigned long)(long)-1 => -2147483648 2e3==2e3 => 1 2e3==2e5 => 0 2.0==2 => 1 5.1<5 => 0 5.0<5 => 0 4.9<5 => 1 5.1<=5 => 0 5.0<=5 => 1 4.9<=5 => 1 2e3f==2e3 => 1 2e3f==2e5 => 0 2.0f==2 => 1 5.1f<5 => 0 5.0f<5 => 0 4.9f<5 => 1 5.1f<=5 => 0 5.0f<=5 => 1 4.9f<=5 => 1 2.3+3.8 => 6 2.3-3.8 => -1 -3.8 => -3 3.3*4 => 13 5.0/2 => 2 2.3f+3.8f => 6 2.3f+3.8 => 6 2.3f-3.8 => -1 -3.8f => -3 3.3f*4 => 13 5.0f/2 => 2 0.0/0.0 == 0.0/0.0 => 0 0.0/0.0 != 0.0/0.0 => 1 0.0/0.0 < 0 => 0 0.0/0.0 <= 0 => 0 0.0/0.0 > 0 => 0 0.0/0.0 >= 0 => 0 !3. => 0 !0. => 1 !3.f => 0 !0.f => 1 0.0 ? 3 : 5 => 5 1.2 ? 3 : 5 => 3 OK stage2/test/function.exe ret3() => 3 add2(3, 5) => 8 sub2(5, 3) => 2 add6(1,2,3,4,5,6) => 21 add6(1,2,add6(3,4,5,6,7,8),9,10,11) => 66 add6(1,2,add6(3,add6(4,5,6,7,8,9),10,11,12,13),14,15,16) => 136 add2(3,4) => 7 sub2(4,3) => 1 fib(9) => 55 ({ sub_char(7, 3, 3); }) => 1 sub_long(7, 3, 3) => 1 sub_short(7, 3, 3) => 1 *g1_ptr() => 3 int_to_char(261) => 5 int_to_char(261) => 5 div_long(-10, 2) => -5 bool_fn_add(3) => 1 bool_fn_sub(3) => 0 bool_fn_add(-3) => 1 bool_fn_sub(-3) => 0 bool_fn_add(0) => 1 bool_fn_sub(0) => 1 static_fn() => 3 ({ int x[2]; x[0]=3; param_decay(x); }) => 3 counter() => 2 counter() => 4 counter() => 6 true_fn() => 1 false_fn() => 0 char_fn() => 3 short_fn() => 5 add_all(3,1,2,3) => 6 add_all(4,1,2,3,-1) => 5 1 2 foo ({ char buf[100]; sprintf(buf, "%d %d %s", 1, 2, "foo"); strcmp("1 2 foo", buf); }) => 0 ({ char buf[100]; fmt(buf, "%d %d %s", 1, 2, "foo"); strcmp("1 2 foo", buf); }) => 0 uchar_fn() => 251 ushort_fn() => 65528 schar_fn() => -5 sshort_fn() => -8 add_float(2.3, 3.8) => 6 add_double(2.3, 3.8) => 6 add_float3(2.5, 2.5, 2.5) => 7 add_double3(2.5, 2.5, 2.5) => 7 ({ char buf[100]; sprintf(buf, "%.1f", (float)3.5); strcmp(buf, "3.5"); }) => 0 ({ char buf[100]; fmt(buf, "%.1f", (float)3.5); strcmp(buf, "3.5"); }) => 0 (add2)(2,3) => 5 (&add2)(2,3) => 5 ({ int (*fn)(int,int) = add2; fn(2,5); }) => 7 fnptr(add_all)(3, 1, 2, 3) => 6 param_decay2(ret3) => 3 sizeof(__func__) => 5 strcmp("main", __func__) => 0 strcmp("func_fn", func_fn()) => 0 strcmp("main", __FUNCTION__) => 0 strcmp("function_fn", function_fn()) => 0 add10_int(1,2,3,4,5,6,7,8,9,10) => 55 add10_float(1,2,3,4,5,6,7,8,9,10) => 55 add10_double(1,2,3,4,5,6,7,8,9,10) => 55 ({ char buf[200]; sprintf(buf, "%d %.1f %.1f %.1f %d %d %.1f %d %d %d %d %.1f %d %d %.1f %.1f %.1f %.1f %d", 1, 1.0, 1.0, 1.0, 1, 1, 1.0, 1, 1, 1, 1, 1.0, 1, 1, 1.0, 1.0, 1.0, 1.0, 1); strcmp("1 1.0 1.0 1.0 1 1 1.0 1 1 1 1 1.0 1 1 1.0 1.0 1.0 1.0 1", buf); }) => 0 many_args1(1,2,3,4,5,6,40,10) => 4 many_args2(1,2,3,4,5,6,7,8,40,10) => 4 many_args3(1,2,3,4,5,6,7,8,9,10,11,12,13,14,80,10) => 8 ({ Ty4 x={10,20,30,40}; struct_test4(x, 0); }) => 10 ({ Ty4 x={10,20,30,40}; struct_test4(x, 1); }) => 20 ({ Ty4 x={10,20,30,40}; struct_test4(x, 2); }) => 30 ({ Ty4 x={10,20,30,40}; struct_test4(x, 3); }) => 40 ({ Ty5 x={10,20,30}; struct_test5(x, 0); }) => 10 ({ Ty5 x={10,20,30}; struct_test5(x, 1); }) => 20 ({ Ty5 x={10,20,30}; struct_test5(x, 2); }) => 30 ({ Ty6 x={10,20,30}; struct_test6(x, 0); }) => 10 ({ Ty6 x={10,20,30}; struct_test6(x, 1); }) => 20 ({ Ty6 x={10,20,30}; struct_test6(x, 2); }) => 30 ({ Ty7 x={10,20,30}; struct_test7(x, 0); }) => 10 ({ Ty7 x={10,20,30}; struct_test7(x, 1); }) => 20 ({ Ty7 x={10,20,30}; struct_test7(x, 2); }) => 30 ({ Ty4 x={10,20,30,40}; struct_test14(x, 0); }) => 10 ({ Ty4 x={10,20,30,40}; struct_test14(x, 1); }) => 20 ({ Ty4 x={10,20,30,40}; struct_test14(x, 2); }) => 30 ({ Ty4 x={10,20,30,40}; struct_test14(x, 3); }) => 40 ({ Ty5 x={10,20,30}; struct_test15(x, 0); }) => 10 ({ Ty5 x={10,20,30}; struct_test15(x, 1); }) => 20 ({ Ty5 x={10,20,30}; struct_test15(x, 2); }) => 30 struct_test24().a => 10 struct_test24().b => 20 struct_test24().c => 30 struct_test24().d => 40 struct_test25().a => 10 struct_test25().b => 20 struct_test25().c => 30 struct_test26().a[0] => 10 struct_test26().a[1] => 20 struct_test26().a[2] => 30 struct_test27().a[0] => 10 struct_test27().a[5] => 60 struct_test27().a[9] => 100 struct_test28().a[0] => 1 struct_test28().a[4] => 5 struct_test28().a[9] => 10 struct_test28().a[14] => 15 struct_test28().a[19] => 20 struct_test34().a => 10 struct_test34().b => 20 struct_test34().c => 30 struct_test34().d => 40 struct_test35().a => 10 struct_test35().b => 20 struct_test35().c => 30 struct_test36().a[0] => 10 struct_test36().a[1] => 20 struct_test36().a[2] => 30 struct_test37().a[0] => 10 struct_test37().a[5] => 60 struct_test37().a[9] => 100 struct_test38().a[0] => 1 struct_test38().a[4] => 5 struct_test38().a[9] => 10 struct_test38().a[14] => 15 struct_test38().a[19] => 20 (***add2)(2,3) => 5 inline_fn() => 3 ({ char buf[100]; sprintf(buf, "%Lf", (long double)12.3); strncmp(buf, "12.3", 4); }) => 0 to_double(3.5) == 3.5 => 1 to_double(3.5) == 3 => 0 (long double)5.0 == (long double)5.0 => 1 (long double)5.0 == (long double)5.2 => 0 to_ldouble(5.0) == 5.0 => 1 to_ldouble(5.0) == 5.2 => 0 OK stage2/test/generic.exe _Generic(100.0, double: 1, int *: 2, int: 3, float: 4) => 1 _Generic((int *)0, double: 1, int *: 2, int: 3, float: 4) => 2 _Generic((int[3]){}, double: 1, int *: 2, int: 3, float: 4) => 2 _Generic(100, double: 1, int *: 2, int: 3, float: 4) => 3 _Generic(100f, double: 1, int *: 2, int: 3, float: 4) => 4 OK stage2/test/initializer.exe ({ int x[3]={1,2,3}; x[0]; }) => 1 ({ int x[3]={1,2,3}; x[1]; }) => 2 ({ int x[3]={1,2,3}; x[2]; }) => 3 ({ int x[3]={1,2,3}; x[2]; }) => 3 ({ int x[2][3]={{1,2,3},{4,5,6}}; x[0][1]; }) => 2 ({ int x[2][3]={{1,2,3},{4,5,6}}; x[1][0]; }) => 4 ({ int x[2][3]={{1,2,3},{4,5,6}}; x[1][2]; }) => 6 ({ int x[3]={}; x[0]; }) => 0 ({ int x[3]={}; x[1]; }) => 0 ({ int x[3]={}; x[2]; }) => 0 ({ int x[2][3]={{1,2}}; x[0][1]; }) => 2 ({ int x[2][3]={{1,2}}; x[1][0]; }) => 0 ({ int x[2][3]={{1,2}}; x[1][2]; }) => 0 ({ char x[4]="abc"; x[0]; }) => 97 ({ char x[4]="abc"; x[2]; }) => 99 ({ char x[4]="abc"; x[3]; }) => 0 ({ char x[2][4]={"abc","def"}; x[0][0]; }) => 97 ({ char x[2][4]={"abc","def"}; x[0][3]; }) => 0 ({ char x[2][4]={"abc","def"}; x[1][0]; }) => 100 ({ char x[2][4]={"abc","def"}; x[1][2]; }) => 102 ({ int x[]={1,2,3,4}; x[3]; }) => 4 ({ int x[]={1,2,3,4}; sizeof(x); }) => 16 ({ char x[]="foo"; sizeof(x); }) => 4 ({ typedef char T[]; T x="foo"; T y="x"; sizeof(x); }) => 4 ({ typedef char T[]; T x="foo"; T y="x"; sizeof(y); }) => 2 ({ typedef char T[]; T x="x"; T y="foo"; sizeof(x); }) => 2 ({ typedef char T[]; T x="x"; T y="foo"; sizeof(y); }) => 4 ({ struct {int a; int b; int c;} x={1,2,3}; x.a; }) => 1 ({ struct {int a; int b; int c;} x={1,2,3}; x.b; }) => 2 ({ struct {int a; int b; int c;} x={1,2,3}; x.c; }) => 3 ({ struct {int a; int b; int c;} x={1}; x.a; }) => 1 ({ struct {int a; int b; int c;} x={1}; x.b; }) => 0 ({ struct {int a; int b; int c;} x={1}; x.c; }) => 0 ({ struct {int a; int b;} x[2]={{1,2},{3,4}}; x[0].a; }) => 1 ({ struct {int a; int b;} x[2]={{1,2},{3,4}}; x[0].b; }) => 2 ({ struct {int a; int b;} x[2]={{1,2},{3,4}}; x[1].a; }) => 3 ({ struct {int a; int b;} x[2]={{1,2},{3,4}}; x[1].b; }) => 4 ({ struct {int a; int b;} x[2]={{1,2}}; x[1].b; }) => 0 ({ struct {int a; int b;} x={}; x.a; }) => 0 ({ struct {int a; int b;} x={}; x.b; }) => 0 ({ typedef struct {int a,b,c,d,e,f;} T; T x={1,2,3,4,5,6}; T y; y=x; y.e; }) => 5 ({ typedef struct {int a,b;} T; T x={1,2}; T y, z; z=y=x; z.b; }) => 2 ({ typedef struct {int a,b;} T; T x={1,2}; T y=x; y.a; }) => 1 ({ union { int a; char b[4]; } x={0x01020304}; x.b[0]; }) => 4 ({ union { int a; char b[4]; } x={0x01020304}; x.b[1]; }) => 3 ({ union { struct { char a,b,c,d; } e; int f; } x={{4,3,2,1}}; x.f; }) => 16909060 g3 => 3 g4 => 4 g5 => 5 g6 => 6 g9[0] => 0 g9[1] => 1 g9[2] => 2 g11[0].a => 1 g11[0].b => 2 g11[1].a => 3 g11[1].b => 4 g12[0].a[0] => 1 g12[0].a[1] => 2 g12[1].a[0] => 0 g12[1].a[1] => 0 g13[0].b[0] => 4 g13[0].b[1] => 3 g13[1].b[0] => 8 g13[1].b[1] => 7 sizeof(g17) => 7 sizeof(g18) => 10 sizeof(g19) => 3 memcmp(g17, "foobar", 7) => 0 memcmp(g18, "foobar\0\0\0", 10) => 0 memcmp(g19, "foo", 3) => 0 strcmp(g20, "foobar") => 0 strcmp(g21, "bar") => 0 strcmp(g22+3, "foobar") => 0 strcmp(g23[0], "foobar") => 0 strcmp(g23[1], "bar") => 0 strcmp(g23[2]+3, "foobar") => 0 g24 => 3 *g25 => 3 *g27 => 2 *g28 => 3 *(int *)g29 => 1 g31[0] => 1 g31[1] => 2 g31[2] => 3 g40[0].a[0] => 1 g40[0].a[1] => 2 g40[1].a[0] => 3 g40[1].a[1] => 4 g41[0].a[0] => 1 g41[0].a[1] => 2 g41[1].a[0] => 3 g41[1].a[1] => 4 ({ int x[2][3]={0,1,2,3,4,5}; x[0][0]; }) => 0 ({ int x[2][3]={0,1,2,3,4,5}; x[1][0]; }) => 3 ({ struct {int a; int b;} x[2]={0,1,2,3}; x[0].a; }) => 0 ({ struct {int a; int b;} x[2]={0,1,2,3}; x[1].a; }) => 2 strcmp(g43[0], "foo") => 0 strcmp(g43[1], "bar") => 0 strcmp(g44, "foo") => 0 ({ int a[]={1,2,3,}; a[2]; }) => 3 ({ struct {int a,b,c;} x={1,2,3,}; x.a; }) => 1 ({ union {int a; char b;} x={1,}; x.a; }) => 1 ({ enum {x,y,z,}; z; }) => 2 sizeof(g60) => 3 sizeof(g61) => 6 sizeof(g65) => 4 sizeof(g66) => 7 strcmp(g65.b, "oo") => 0 strcmp(g66.b, "oobar") => 0 ({ int x[3]={1, 2, 3, [0]=4, 5}; x[0]; }) => 4 ({ int x[3]={1, 2, 3, [0]=4, 5}; x[1]; }) => 5 ({ int x[3]={1, 2, 3, [0]=4, 5}; x[2]; }) => 3 ({ int x[2][3]={1,2,3,4,5,6,[0][1]=7,8,[0]=9,[0]=10,11,[1][0]=12}; x[0][0]; }) => 10 ({ int x[2][3]={1,2,3,4,5,6,[0][1]=7,8,[0]=9,[0]=10,11,[1][0]=12}; x[0][1]; }) => 11 ({ int x[2][3]={1,2,3,4,5,6,[0][1]=7,8,[0]=9,[0]=10,11,[1][0]=12}; x[0][2]; }) => 8 ({ int x[2][3]={1,2,3,4,5,6,[0][1]=7,8,[0]=9,[0]=10,11,[1][0]=12}; x[1][0]; }) => 12 ({ int x[2][3]={1,2,3,4,5,6,[0][1]=7,8,[0]=9,[0]=10,11,[1][0]=12}; x[1][1]; }) => 5 ({ int x[2][3]={1,2,3,4,5,6,[0][1]=7,8,[0]=9,[0]=10,11,[1][0]=12}; x[1][2]; }) => 6 ({ int x[2][3]={1,2,3,4,5,6,[0]={7,8},9,10}; x[0][0]; }) => 7 ({ int x[2][3]={1,2,3,4,5,6,[0]={7,8},9,10}; x[0][1]; }) => 8 ({ int x[2][3]={1,2,3,4,5,6,[0]={7,8},9,10}; x[0][2]; }) => 3 ({ int x[2][3]={1,2,3,4,5,6,[0]={7,8},9,10}; x[1][0]; }) => 9 ({ int x[2][3]={1,2,3,4,5,6,[0]={7,8},9,10}; x[1][1]; }) => 10 ({ int x[2][3]={1,2,3,4,5,6,[0]={7,8},9,10}; x[1][2]; }) => 6 ((int[10]){ [3]=7 })[3] => 7 ((int[10]){ [3]=7 })[4] => 0 ({ char x[]={[10-3]=1,2,3}; sizeof(x); }) => 10 ({ char x[][2]={[8][1]=1,2}; sizeof(x); }) => 20 sizeof(g60) => 3 sizeof(g61) => 6 sizeof(g65) => 4 sizeof(g66) => 7 strcmp(g65.b, "oo") => 0 strcmp(g66.b, "oobar") => 0 ((int[10]){ [3] 7 })[3] => 7 ((int[10]){ [3] 7 })[4] => 0 ({ struct { int a,b; } x={1,2,.b=3,.a=4}; x.a; }) => 4 ({ struct { int a,b; } x={1,2,.b=3,.a=4}; x.b; }) => 3 ({ struct { struct { int a,b; } c; } x={.c=1,2}; x.c.a; }) => 1 ({ struct { struct { int a,b; } c; } x={.c=1,2}; x.c.b; }) => 2 ({ struct { struct { int a,b; } c; } x={.c.b=1}; x.c.a; }) => 0 ({ struct { struct { int a,b; } c; } x={.c.b=1}; x.c.b; }) => 1 ({ struct { int a[2]; } x={.a=1,2}; x.a[0]; }) => 1 ({ struct { int a[2]; } x={.a=1,2}; x.a[1]; }) => 2 ({ struct { int a[2]; } x={.a[1]=1}; x.a[0]; }) => 0 ({ struct { int a[2]; } x={.a[1]=1}; x.a[1]; }) => 1 ({ struct { int a,b; } x[]={[1].b=1,2,[0]=3,4,}; x[0].a; }) => 3 ({ struct { int a,b; } x[]={[1].b=1,2,[0]=3,4,}; x[0].b; }) => 4 ({ struct { int a,b; } x[]={[1].b=1,2,[0]=3,4,}; x[1].a; }) => 0 ({ struct { int a,b; } x[]={[1].b=1,2,[0]=3,4,}; x[1].b; }) => 1 ({ struct { int a,b; } x[]={[1].b=1,2,[0]=3,4,}; x[2].a; }) => 2 ({ struct { int a,b; } x[]={[1].b=1,2,[0]=3,4,}; x[2].b; }) => 0 ({ typedef struct { int a,b; } T; T x={1,2}; T y[]={x}; y[0].a; }) => 1 ({ typedef struct { int a,b; } T; T x={1,2}; T y[]={x}; y[0].b; }) => 2 ({ typedef struct { int a,b; } T; T x={1,2}; T y[]={x, [0].b=3}; y[0].a; }) => 0 ({ typedef struct { int a,b; } T; T x={1,2}; T y[]={x, [0].b=3}; y[0].b; }) => 3 ((struct { int a,b,c; }){ .c=5 }).c => 5 ((struct { int a,b,c; }){ .c=5 }).a => 0 ({ union { unsigned short a; char b[2]; } x={.b[0]=0xff}; x.a; }) => 255 ({ union { unsigned short a; char b[2]; } x={.b[1]=0xff}; x.a; }) => 65280 g50.a => 1179648 g51[0].a => 0 g51[1].a => 0 ({ struct { struct { int a; struct { int b; }; }; int c; } x={1,2,3,.b=4,5}; x.a; }) => 1 ({ struct { struct { int a; struct { int b; }; }; int c; } x={1,2,3,.b=4,5}; x.b; }) => 4 ({ struct { struct { int a; struct { int b; }; }; int c; } x={1,2,3,.b=4,5}; x.c; }) => 5 ({ char x[]={[2 ... 10]='a', [7]='b', [15 ... 15]='c', [3 ... 5]='d'}; sizeof(x); }) => 16 ({ char x[]={[2 ... 10]='a', [7]='b', [15 ... 15]='c', [3 ... 5]='d'}; memcmp(x, "\0\0adddabaaa\0\0\0\0c", 16); }) => 0 OK stage2/test/line.exe __LINE__ => 501 strcmp("foo", "foo") => 0 __LINE__ => 801 strcmp("bar", "bar") => 0 __LINE__ => 2 __LINE__ => 201 strcmp("xyz", "xyz") => 0 OK stage2/test/literal.exe 'a' => 97 '\n' => 10 '\x80' => -128 0777 => 511 0x0 => 0 0xa => 10 0XA => 10 0xbeef => 48879 0xBEEF => 48879 0XBEEF => 48879 0b0 => 0 0b1 => 1 0b101111 => 47 0B101111 => 47 sizeof(0) => 4 sizeof(0L) => 8 sizeof(0LU) => 8 sizeof(0UL) => 8 sizeof(0LL) => 8 sizeof(0LLU) => 8 sizeof(0Ull) => 8 sizeof(0l) => 8 sizeof(0ll) => 8 sizeof(0x0L) => 8 sizeof(0b0L) => 8 sizeof(2147483647) => 4 sizeof(2147483648) => 8 0xffffffffffffffff => -1 sizeof(0xffffffffffffffff) => 8 sizeof(4294967295U) => 4 sizeof(4294967296U) => 8 -1U>>30 => 3 -1Ul>>62 => 3 -1ull>>62 => 3 0xffffffffffffffffl>>63 => 1 0xffffffffffffffffll>>63 => 1 18446744073709551615 => -1 sizeof(18446744073709551615) => 8 18446744073709551615>>63 => -1 0xffffffffffffffff => -1 sizeof(0xffffffffffffffff) => 8 0xffffffffffffffff>>63 => 1 01777777777777777777777 => -1 sizeof(01777777777777777777777) => 8 01777777777777777777777>>63 => 1 0b1111111111111111111111111111111111111111111111111111111111111111 => -1 sizeof(0b1111111111111111111111111111111111111111111111111111111111111111) => 8 0b1111111111111111111111111111111111111111111111111111111111111111>>63 => 1 sizeof(2147483648) => 8 sizeof(2147483647) => 4 sizeof(0x1ffffffff) => 8 sizeof(0xffffffff) => 4 0xffffffff>>31 => 1 sizeof(040000000000) => 8 sizeof(037777777777) => 4 037777777777>>31 => 1 sizeof(0b111111111111111111111111111111111) => 8 sizeof(0b11111111111111111111111111111111) => 4 0b11111111111111111111111111111111>>31 => 1 1 << 31 >> 31 => -1 01 << 31 >> 31 => -1 0x1 << 31 >> 31 => -1 0b1 << 31 >> 31 => -1 sizeof(8f) => 4 sizeof(0.3F) => 4 sizeof(0.) => 8 sizeof(.0) => 8 sizeof(5.l) => 16 sizeof(2.0L) => 16 sizeof(char) => 1 sizeof(L'\0') => 4 L'a' => 97 OK stage2/test/macro.exe include1 => 5 include2 => 7 m => 5 m => 3 m => 3 m => 2 m => 2 m => 3 m => 1 m => 2 M1 => 3 M1 => 4 M1 5 => 12 M1*5 => 23 5 => 5 m => 5 m => 5 M2 => 9 M3 => 12 M4 => 13 m => 3 m => 5 m => 3 m => 5 M7() => 1 M7 => 5 ret3 () => 3 M8(3, 4) => 7 M8(3+4, 4+5) => 24 M8(3+4, 4+5) => 63 M8(, 4+5) => 9 M8((2+3), 4) => 20 M8((2,3), 4) => 12 dbl(2) => 10 M11( a!b `""c)[0] => 97 M11( a!b `""c)[1] => 33 M11( a!b `""c)[2] => 98 M11( a!b `""c)[3] => 32 M11( a!b `""c)[4] => 96 M11( a!b `""c)[5] => 34 M11( a!b `""c)[6] => 34 M11( a!b `""c)[7] => 99 M11( a!b `""c)[8] => 0 paste(1,5) => 15 paste(0,xff) => 255 ({ int foobar=3; foobar; }) => 3 paste(5,) => 5 paste(,5) => 5 ({ int i3=100; 1+i3; }) => 101 paste2(1+2) => 26 paste3(1+2) => 23 paste4(1,2,3) => 123 m => 3 m => 3 m => 4 m => 4 m => 5 strcmp("foo.bar", "foo.bar") => 0 strcmp("foo. bar", "foo. bar") => 0 strcmp("bar.foo", "bar.foo") => 0 strcmp("bar. foo", "bar. foo") => 0 foo => 3 foo => 4 foo => 3 foo => 4 __STDC__ => 1 strcmp(main_filename1, "test/macro.c") => 0 main_line1 => 5 main_line2 => 7 strcmp(include1_filename, "test/include1.h") => 0 include1_line => 4 M14() => 3 M14() 2 => 2 M14(5) => 5 M14(2, 6) => 8 M14(3,4,5) => 21 M14(3,4,5) => 21 M14() => 3 M14(5) => 5 M14() 2 => 2 M14(5) => 5 M14(2, 6) => 8 M14(3,4,5) => 21 M14(3,4,5) => 21 M14(5) => 5 ({ int f0zz=5; f0zz; }) => 5 ({ 4.57 + 0.5; }) => 5 strlen("Nov 11 2024") => 11 strlen("10:16:40") => 8 __COUNTER__ => 0 __COUNTER__ => 1 __COUNTER__ => 2 strlen("Mon Dec 7 03:00:06 2020") => 24 strcmp("test/macro.c", "test/macro.c") => 0 ({ char buf[100]; sprintf(buf, "foo"); strcmp(buf, "foo"); }) => 0 ({ char buf[100]; sprintf(buf, "foo%d", 3); strcmp(buf, "foo3"); }) => 0 ({ char buf[100]; sprintf(buf, "foo%d%d", 3, 5); strcmp(buf, "foo35"); }) => 0 ({ char buf[100]; sprintf(buf, "foo"); strcmp(buf, "foo"); }) => 0 ({ char buf[100]; sprintf(buf, "foo%d", 3); strcmp(buf, "foo3"); }) => 0 ({ char buf[100]; sprintf(buf, "foo%d%d", 3, 5); strcmp(buf, "foo35"); }) => 0 M31(, 3) => 3 OK stage2/test/offsetof.exe offsetof(T, a) => 0 offsetof(T, b) => 4 offsetof(T, c) => 8 offsetof(T, d) => 16 OK stage2/test/pointer.exe ({ int x=3; *&x; }) => 3 ({ int x=3; int *y=&x; int **z=&y; **z; }) => 3 ({ int x=3; int y=5; *(&x+1); }) => 5 ({ int x=3; int y=5; *(&y-1); }) => 3 ({ int x=3; int y=5; *(&x-(-1)); }) => 5 ({ int x=3; int *y=&x; *y=5; x; }) => 5 ({ int x=3; int y=5; *(&x+1)=7; y; }) => 7 ({ int x=3; int y=5; *(&y-2+1)=7; x; }) => 7 ({ int x=3; (&x+2)-&x+3; }) => 5 ({ int x, y; x=3; y=5; x+y; }) => 8 ({ int x=3, y=5; x+y; }) => 8 ({ int x[2]; int *y=&x; *y=3; *x; }) => 3 ({ int x[3]; *x=3; *(x+1)=4; *(x+2)=5; *x; }) => 3 ({ int x[3]; *x=3; *(x+1)=4; *(x+2)=5; *(x+1); }) => 4 ({ int x[3]; *x=3; *(x+1)=4; *(x+2)=5; *(x+2); }) => 5 ({ int x[2][3]; int *y=x; *y=0; **x; }) => 0 ({ int x[2][3]; int *y=x; *(y+1)=1; *(*x+1); }) => 1 ({ int x[2][3]; int *y=x; *(y+2)=2; *(*x+2); }) => 2 ({ int x[2][3]; int *y=x; *(y+3)=3; **(x+1); }) => 3 ({ int x[2][3]; int *y=x; *(y+4)=4; *(*(x+1)+1); }) => 4 ({ int x[2][3]; int *y=x; *(y+5)=5; *(*(x+1)+2); }) => 5 ({ int x[3]; *x=3; x[1]=4; x[2]=5; *x; }) => 3 ({ int x[3]; *x=3; x[1]=4; x[2]=5; *(x+1); }) => 4 ({ int x[3]; *x=3; x[1]=4; x[2]=5; *(x+2); }) => 5 ({ int x[3]; *x=3; x[1]=4; x[2]=5; *(x+2); }) => 5 ({ int x[3]; *x=3; x[1]=4; 2[x]=5; *(x+2); }) => 5 ({ int x[2][3]; int *y=x; y[0]=0; x[0][0]; }) => 0 ({ int x[2][3]; int *y=x; y[1]=1; x[0][1]; }) => 1 ({ int x[2][3]; int *y=x; y[2]=2; x[0][2]; }) => 2 ({ int x[2][3]; int *y=x; y[3]=3; x[1][0]; }) => 3 ({ int x[2][3]; int *y=x; y[4]=4; x[1][1]; }) => 4 ({ int x[2][3]; int *y=x; y[5]=5; x[1][2]; }) => 5 OK stage2/test/pragma-once.exe OK stage2/test/sizeof.exe sizeof(char) => 1 sizeof(short) => 2 sizeof(short int) => 2 sizeof(int short) => 2 sizeof(int) => 4 sizeof(long) => 8 sizeof(long int) => 8 sizeof(long int) => 8 sizeof(char *) => 8 sizeof(int *) => 8 sizeof(long *) => 8 sizeof(int **) => 8 sizeof(int(*)[4]) => 8 sizeof(int*[4]) => 32 sizeof(int[4]) => 16 sizeof(int[3][4]) => 48 sizeof(struct {int a; int b;}) => 8 sizeof(-10 + (long)5) => 8 sizeof(-10 - (long)5) => 8 sizeof(-10 * (long)5) => 8 sizeof(-10 / (long)5) => 8 sizeof((long)-10 + 5) => 8 sizeof((long)-10 - 5) => 8 sizeof((long)-10 * 5) => 8 sizeof((long)-10 / 5) => 8 ({ char i; sizeof(++i); }) => 1 ({ char i; sizeof(i++); }) => 1 sizeof(int(*)[10]) => 8 sizeof(int(*)[][10]) => 8 sizeof(struct { int x, y[]; }) => 4 sizeof(char) => 1 sizeof(signed char) => 1 sizeof(signed char signed) => 1 sizeof(unsigned char) => 1 sizeof(unsigned char unsigned) => 1 sizeof(short) => 2 sizeof(int short) => 2 sizeof(short int) => 2 sizeof(signed short) => 2 sizeof(int short signed) => 2 sizeof(unsigned short) => 2 sizeof(int short unsigned) => 2 sizeof(int) => 4 sizeof(signed int) => 4 sizeof(signed) => 4 sizeof(signed signed) => 4 sizeof(unsigned int) => 4 sizeof(unsigned) => 4 sizeof(unsigned unsigned) => 4 sizeof(long) => 8 sizeof(signed long) => 8 sizeof(signed long int) => 8 sizeof(unsigned long) => 8 sizeof(unsigned long int) => 8 sizeof(long long) => 8 sizeof(signed long long) => 8 sizeof(signed long long int) => 8 sizeof(unsigned long long) => 8 sizeof(unsigned long long int) => 8 sizeof((char)1) => 1 sizeof((short)1) => 2 sizeof((int)1) => 4 sizeof((long)1) => 8 sizeof((char)1 + (char)1) => 4 sizeof((short)1 + (short)1) => 4 sizeof(1?2:3) => 4 sizeof(1?(short)2:(char)3) => 4 sizeof(1?(long)2:(char)3) => 8 sizeof(char) << 31 >> 31 => 1 sizeof(char) << 63 >> 63 => 1 sizeof(float) => 4 sizeof(double) => 8 sizeof(1f+2) => 4 sizeof(1.0+2) => 8 sizeof(1f-2) => 4 sizeof(1.0-2) => 8 sizeof(1f*2) => 4 sizeof(1.0*2) => 8 sizeof(1f/2) => 4 sizeof(1.0/2) => 8 sizeof(long double) => 16 sizeof(main) => 1 OK stage2/test/stdhdr.exe OK stage2/test/string.exe ""[0] => 0 sizeof("") => 1 "abc"[0] => 97 "abc"[1] => 98 "abc"[2] => 99 "abc"[3] => 0 sizeof("abc") => 4 "\a"[0] => 7 "\b"[0] => 8 "\t"[0] => 9 "\n"[0] => 10 "\v"[0] => 11 "\f"[0] => 12 "\r"[0] => 13 "\e"[0] => 27 "\j"[0] => 106 "\k"[0] => 107 "\l"[0] => 108 "\ax\ny"[0] => 7 "\ax\ny"[1] => 120 "\ax\ny"[2] => 10 "\ax\ny"[3] => 121 "\0"[0] => 0 "\20"[0] => 16 "\101"[0] => 65 "\1500"[0] => 104 "\x00"[0] => 0 "\x77"[0] => 119 sizeof("abc" "def") => 7 sizeof("abc" "d" "efgh") => 9 strcmp("abc" "d" "\nefgh", "abcd\nefgh") => 0 !strcmp("abc" "d", "abcd\nefgh") => 0 strcmp("\x9" "0", "\t0") => 0 sizeof(L"abc" "") => 16 sizeof(L"abc" "def") => 28 sizeof(L"abc" L"def") => 28 sizeof(u"abc" "def") => 14 sizeof(u"abc" u"def") => 14 (L"abc" "def")[0] => 97 (L"abc" "def")[3] => 100 (L"abc" "def")[6] => 0 (u"abc" "def")[0] => 97 (u"abc" "def")[3] => 100 (u"abc" "def")[6] => 0 ("あ" L"")[0] => 12354 ("\343\201\202" L"")[0] => 227 ("\343\201\202" L"")[1] => 129 ("\343\201\202" L"")[2] => 130 ("\343\201\202" L"")[3] => 0 ("a" "b" L"c")[0] => 97 ("a" "b" L"c")[1] => 98 ("a" "b" L"c")[2] => 99 ("a" "b" L"c")[3] => 0 OK stage2/test/struct.exe ({ struct {int a; int b;} x; x.a=1; x.b=2; x.a; }) => 1 ({ struct {int a; int b;} x; x.a=1; x.b=2; x.b; }) => 2 ({ struct {char a; int b; char c;} x; x.a=1; x.b=2; x.c=3; x.a; }) => 1 ({ struct {char a; int b; char c;} x; x.b=1; x.b=2; x.c=3; x.b; }) => 2 ({ struct {char a; int b; char c;} x; x.a=1; x.b=2; x.c=3; x.c; }) => 3 ({ struct {char a; char b;} x[3]; char *p=x; p[0]=0; x[0].a; }) => 0 ({ struct {char a; char b;} x[3]; char *p=x; p[1]=1; x[0].b; }) => 1 ({ struct {char a; char b;} x[3]; char *p=x; p[2]=2; x[1].a; }) => 2 ({ struct {char a; char b;} x[3]; char *p=x; p[3]=3; x[1].b; }) => 3 ({ struct {char a[3]; char b[5];} x; char *p=&x; x.a[0]=6; p[0]; }) => 6 ({ struct {char a[3]; char b[5];} x; char *p=&x; x.b[0]=7; p[3]; }) => 7 ({ struct { struct { char b; } a; } x; x.a.b=6; x.a.b; }) => 6 ({ struct {int a;} x; sizeof(x); }) => 4 ({ struct {int a; int b;} x; sizeof(x); }) => 8 ({ struct {int a, b;} x; sizeof(x); }) => 8 ({ struct {int a[3];} x; sizeof(x); }) => 12 ({ struct {int a;} x[4]; sizeof(x); }) => 16 ({ struct {int a[3];} x[2]; sizeof(x); }) => 24 ({ struct {char a; char b;} x; sizeof(x); }) => 2 ({ struct {} x; sizeof(x); }) => 0 ({ struct {char a; int b;} x; sizeof(x); }) => 8 ({ struct {int a; char b;} x; sizeof(x); }) => 8 ({ struct t {int a; int b;} x; struct t y; sizeof(y); }) => 8 ({ struct t {int a; int b;}; struct t y; sizeof(y); }) => 8 ({ struct t {char a[2];}; { struct t {char a[4];}; } struct t y; sizeof(y); }) => 2 ({ struct t {int x;}; int t=1; struct t y; y.x=2; t+y.x; }) => 3 ({ struct t {char a;} x; struct t *y = &x; x.a=3; y->a; }) => 3 ({ struct t {char a;} x; struct t *y = &x; y->a=3; x.a; }) => 3 ({ struct {int a,b;} x,y; x.a=3; y=x; y.a; }) => 3 ({ struct t {int a,b;}; struct t x; x.a=7; struct t y; struct t *z=&y; *z=x; y.a; }) => 7 ({ struct t {int a,b;}; struct t x; x.a=7; struct t y, *p=&x, *q=&y; *q=*p; y.a; }) => 7 ({ struct t {char a, b;} x, y; x.a=5; y=x; y.a; }) => 5 ({ struct {int a,b;} x,y; x.a=3; y=x; y.a; }) => 3 ({ struct t {int a,b;}; struct t x; x.a=7; struct t y; struct t *z=&y; *z=x; y.a; }) => 7 ({ struct t {int a,b;}; struct t x; x.a=7; struct t y, *p=&x, *q=&y; *q=*p; y.a; }) => 7 ({ struct t {char a, b;} x, y; x.a=5; y=x; y.a; }) => 5 ({ struct t {int a; int b;} x; struct t y; sizeof(y); }) => 8 ({ struct t {int a; int b;}; struct t y; sizeof(y); }) => 8 ({ struct {char a; long b;} x; sizeof(x); }) => 16 ({ struct {char a; short b;} x; sizeof(x); }) => 4 ({ struct foo *bar; sizeof(bar); }) => 8 ({ struct T *foo; struct T {int x;}; sizeof(struct T); }) => 4 ({ struct T { struct T *next; int x; } a; struct T b; b.x=1; a.next=&b; a.next->x; }) => 1 ({ typedef struct T T; struct T { int x; }; sizeof(T); }) => 4 ({ struct {int a;} x={1}, y={2}; (x=y).a; }) => 2 ({ struct {int a;} x={1}, y={2}; (1?x:y).a; }) => 1 ({ struct {int a;} x={1}, y={2}; (0?x:y).a; }) => 2 OK stage2/test/tls.exe v1 => 0 v2 => 5 v3 => 7 pthread_create(&thr, ((void *)0), thread_main, ((void *)0)) => 0 v1 => 0 v2 => 5 v3 => 7 v1 => 1 v2 => 2 v3 => 3 pthread_join(thr, ((void *)0)) => 0 v1 => 0 v2 => 5 v3 => 3 OK stage2/test/typedef.exe ({ typedef int t; t x=1; x; }) => 1 ({ typedef struct {int a;} t; t x; x.a=1; x.a; }) => 1 ({ typedef int t; t t=1; t; }) => 1 ({ typedef struct {int a;} t; { typedef int t; } t x; x.a=2; x.a; }) => 2 ({ typedef t; t x; sizeof(x); }) => 4 ({ MyInt x=3; x; }) => 3 ({ MyInt2 x; sizeof(x); }) => 16 OK stage2/test/typeof.exe ({ typeof(int) x=3; x; }) => 3 ({ typeof(1) x=3; x; }) => 3 ({ int x; typeof(x) y; sizeof(y); }) => 4 ({ int x; typeof(&x) y; sizeof(y); }) => 8 ({ typeof("foo") x; sizeof(x); }) => 4 sizeof(typeof(struct { int a,b,c; })) => 12 OK stage2/test/unicode.exe sizeof(L'\0') => 4 L'a' => 97 strcmp("αβγ", "αβγ") => 0 strcmp("日本語", "日本語") => 0 strcmp("日本語", "日本語") => 0 strcmp("🌮", "🌮") => 0 L'\xffffffff'>>31 => -1 L'β' => 946 L'あ' => 12354 L'🍣' => 127843 sizeof(u'\0') => 2 u'\xffff'>>15 => 1 u'a' => 97 u'β' => 946 u'あ' => 12354 u'🍣' => 62307 strcmp("u'a'", "u'a'") => 0 sizeof(U'\0') => 4 U'\xffffffff'>>31 => 1 U'a' => 97 U'β' => 946 U'あ' => 12354 U'🍣' => 127843 strcmp("U'a'", "U'a'") => 0 sizeof(u8"abc") => 4 strcmp(u8"abc", "abc") => 0 strcmp("u8\"a\"", "u8\"a\"") => 0 sizeof(u"") => 2 sizeof(u"\xffzzz") => 10 memcmp(u"", "\0\0", 2) => 0 memcmp(u"abc", "a\0b\0c\0\0\0", 8) => 0 memcmp(u"日本語", "\345e,g\236\212\0\0", 8) => 0 memcmp(u"🍣", "<\330c\337\0\0", 6) => 0 u"βb"[0] => 946 u"βb"[1] => 98 u"βb"[2] => 0 strcmp("u\"a\"", "u\"a\"") => 0 sizeof(U"") => 4 sizeof(U"\xffzzz") => 20 memcmp(U"", "\0\0\0\0", 4) => 0 memcmp(U"abc", "a\0\0\0b\0\0\0c\0\0\0\0\0\0\0", 16) => 0 memcmp(U"日本語", "\345e\0\0,g\0\0\236\212\0\0\0\0\0\0", 16) => 0 memcmp(U"🍣", "c\363\001\0\0\0\0\0", 8) => 0 U"βb"[0] => 946 U"βb"[1] => 98 U"βb"[2] => 0 U"\xffffffff"[0] >> 31 => 1 strcmp("U\"a\"", "U\"a\"") => 0 sizeof(L"") => 4 sizeof(L"\xffzzz") => 20 memcmp(L"", "\0\0\0\0", 4) => 0 memcmp(L"abc", "a\0\0\0b\0\0\0c\0\0\0\0\0\0\0", 16) => 0 memcmp(L"日本語", "\345e\0\0,g\0\0\236\212\0\0\0\0\0\0", 16) => 0 memcmp(L"🍣", "c\363\001\0\0\0\0\0", 8) => 0 L"βb"[0] => 946 L"βb"[1] => 98 L"βb"[2] => 0 L"\xffffffff"[0] >> 31 => -1 strcmp("L\"a\"", "L\"a\"") => 0 ({ char16_t x[] = u"αβ"; x[0]; }) => 945 ({ char16_t x[] = u"αβ"; x[1]; }) => 946 ({ char16_t x[] = u"αβ"; sizeof(x); }) => 6 ({ char32_t x[] = U"🤔x"; x[0]; }) => 129300 ({ char32_t x[] = U"🤔x"; x[1]; }) => 120 ({ char32_t x[] = U"🤔x"; sizeof(x); }) => 12 ({ wchar_t x[] = L"🤔x"; x[0]; }) => 129300 ({ wchar_t x[] = L"🤔x"; x[1]; }) => 120 ({ wchar_t x[] = L"🤔x"; sizeof(x); }) => 12 π => 3 ({ int あβ0¾=3; あβ0¾; }) => 3 ({ int $$$=5; $$$; }) => 5 OK stage2/test/union.exe ({ union { int a; char b[6]; } x; sizeof(x); }) => 8 ({ union { int a; char b[4]; } x; x.a = 515; x.b[0]; }) => 3 ({ union { int a; char b[4]; } x; x.a = 515; x.b[1]; }) => 2 ({ union { int a; char b[4]; } x; x.a = 515; x.b[2]; }) => 0 ({ union { int a; char b[4]; } x; x.a = 515; x.b[3]; }) => 0 ({ union {int a,b;} x,y; x.a=3; y.a=5; y=x; y.a; }) => 3 ({ union {struct {int a,b;} c;} x,y; x.c.b=3; y.c.b=5; y=x; y.c.b; }) => 3 ({ union { struct { unsigned char a,b,c,d; }; long e; } x; x.e=0xdeadbeef; x.a; }) => 239 ({ union { struct { unsigned char a,b,c,d; }; long e; } x; x.e=0xdeadbeef; x.b; }) => 190 ({ union { struct { unsigned char a,b,c,d; }; long e; } x; x.e=0xdeadbeef; x.c; }) => 173 ({ union { struct { unsigned char a,b,c,d; }; long e; } x; x.e=0xdeadbeef; x.d; }) => 222 ({struct { union { int a,b; }; union { int c,d; }; } x; x.a=3; x.b; }) => 3 ({struct { union { int a,b; }; union { int c,d; }; } x; x.d=5; x.c; }) => 5 OK stage2/test/usualconv.exe -10 + (long)5 => -5 -10 - (long)5 => -15 -10 * (long)5 => -50 -10 / (long)5 => -2 -2 < (long)-1 => 1 -2 <= (long)-1 => 1 -2 > (long)-1 => 0 -2 >= (long)-1 => 0 (long)-2 < -1 => 1 (long)-2 <= -1 => 1 (long)-2 > -1 => 0 (long)-2 >= -1 => 0 2147483647 + 2147483647 + 2 => 0 ({ long x; x=-1; x; }) => -1 ({ char x[3]; x[0]=0; x[1]=1; x[2]=2; char *y=x+1; y[0]; }) => 1 ({ char x[3]; x[0]=0; x[1]=1; x[2]=2; char *y=x+1; y[-1]; }) => 0 ({ struct t {char a;} x, y; x.a=5; y=x; y.a; }) => 5 (1 ? ret10 : (void *)0)() => 10 OK stage2/test/varargs.exe sum1(1, 2, 3, 0) => 6 sum1(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0) => 55 sum2(1, 2.0, 3, 4.0, 5, 6.0, 0) => 21 sum2(1, 2.0, 3, 4.0, 5, 6.0, 0) => 21 sum2(1, 2.0, 3, 4.0, 5, 6.0, 7, 8.0, 9, 10.0, 11, 12.0, 13, 14.0, 15, 16.0, 17, 18.0, 19, 20.0, 0) => 210 ({ char buf[100]; fmt(buf, "%d %d", 2, 3); strcmp(buf, "2 3"); }) => 0 OK stage2/test/variable.exe ({ int a; a=3; a; }) => 3 ({ int a=3; a; }) => 3 ({ int a=3; int z=5; a+z; }) => 8 ({ int a=3; a; }) => 3 ({ int a=3; int z=5; a+z; }) => 8 ({ int a; int b; a=b=3; a+b; }) => 6 ({ int foo=3; foo; }) => 3 ({ int foo123=3; int bar=5; foo123+bar; }) => 8 ({ int x; sizeof(x); }) => 4 ({ int x; sizeof x; }) => 4 ({ int *x; sizeof(x); }) => 8 ({ int x[4]; sizeof(x); }) => 16 ({ int x[3][4]; sizeof(x); }) => 48 ({ int x[3][4]; sizeof(*x); }) => 16 ({ int x[3][4]; sizeof(**x); }) => 4 ({ int x[3][4]; sizeof(**x) + 1; }) => 5 ({ int x[3][4]; sizeof **x + 1; }) => 5 ({ int x[3][4]; sizeof(**x + 1); }) => 4 ({ int x=1; sizeof(x=2); }) => 4 ({ int x=1; sizeof(x=2); x; }) => 1 g1 => 0 ({ g1=3; g1; }) => 3 ({ g2[0]=0; g2[1]=1; g2[2]=2; g2[3]=3; g2[0]; }) => 0 ({ g2[0]=0; g2[1]=1; g2[2]=2; g2[3]=3; g2[1]; }) => 1 ({ g2[0]=0; g2[1]=1; g2[2]=2; g2[3]=3; g2[2]; }) => 2 ({ g2[0]=0; g2[1]=1; g2[2]=2; g2[3]=3; g2[3]; }) => 3 sizeof(g1) => 4 sizeof(g2) => 16 ({ char x=1; x; }) => 1 ({ char x=1; char y=2; x; }) => 1 ({ char x=1; char y=2; y; }) => 2 ({ char x; sizeof(x); }) => 1 ({ char x[10]; sizeof(x); }) => 10 ({ int x=2; { int x=3; } x; }) => 2 ({ int x=2; { int x=3; } int y=4; x; }) => 2 ({ int x=2; { x=3; } x; }) => 3 ({ int x; int y; char z; char *a=&y; char *b=&z; b-a; }) => 7 ({ int x; char y; int z; char *a=&y; char *b=&z; b-a; }) => 1 ({ long x; sizeof(x); }) => 8 ({ short x; sizeof(x); }) => 2 ({ char *x[3]; sizeof(x); }) => 24 ({ char (*x)[3]; sizeof(x); }) => 8 ({ char (x); sizeof(x); }) => 1 ({ char (x)[3]; sizeof(x); }) => 3 ({ char (x[3])[4]; sizeof(x); }) => 12 ({ char (x[3])[4]; sizeof(x[0]); }) => 4 ({ char *x[3]; char y; x[0]=&y; y=3; x[0][0]; }) => 3 ({ char x[3]; char (*y)[3]=x; y[0][0]=4; y[0][0]; }) => 4 g3 => 3 OK stage2/test/vla.exe ({ int n=5; int x[n]; sizeof(x); }) => 20 ({ int m=5, n=8; int x[m+1][n*2]; sizeof(x); }) => 384 ({ char n=10; int (*x)[n][n+2]; sizeof(x); }) => 8 ({ char n=10; int (*x)[n][n+2]; sizeof(*x); }) => 480 ({ char n=10; int (*x)[n][n+2]; sizeof(**x); }) => 48 ({ char n=10; int (*x)[n][n+2]; sizeof(***x); }) => 4 ({ char n=3; int x[5][n]; sizeof(x); }) => 60 ({ char n=3; int x[5][n]; sizeof(*x); }) => 12 ({ char n=3; int x[n][5]; sizeof(x); }) => 60 ({ char n=3; int x[n][5]; sizeof(*x); }) => 20 ({ int n=10; int x[n+1][n+6]; int *p=x; for (int i = 0; i 0 ({ int n=10; int x[n+1][n+6]; int *p=x; for (int i = 0; i 5 ({ int n=10; int x[n+1][n+6]; int *p=x; for (int i = 0; i 82 ({ int n=5; sizeof(char[2][n]); }) => 10 OK test/driver.sh ./stage2/chibicc testing -o ... passed testing --help ... passed testing -S ... passed testing default output file ... passed testing default output file ... passed testing multiple input files ... passed testing multiple input files ... passed testing linker ... passed testing linker ... passed testing a.out ... passed testing -E ... passed testing -E and -o ... passed testing -I ... passed testing -D ... passed testing -D ... passed testing -U ... passed testing ignored options ... passed testing BOM marker ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing inline ... passed testing -idirafter ... passed testing -idirafter ... passed testing -fcommon (default) ... passed testing -fcommon ... passed testing -fno-common ... passed testing -include ... passed testing -include ... passed testing -xc ... passed testing -x assembler ... passed testing -x none ... passed testing -E ... passed testing .a ... passed testing .so ... passed OK testing hashmap ... passed testing -M ... passed testing -MF ... passed testing -MP ... passed testing -MP ... passed testing -MT ... passed testing -MT ... passed testing -MD ... passed testing -MD ... passed testing -MD ... passed testing -fPIC ... passed testing #include_next ... passed testing -static ... passed testing -static ... passed testing -shared ... passed testing -L ... passed testing -Wl, ... passed testing -Xlinker ... passed OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dZnICJ + umask 022 + cd /builddir/build/BUILD + cd chibicc-90d1f7f199cc55b13c7fdb5839d1409806633fdb + DOCDIR='/builddir/build/BUILDROOT/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64/usr/share/doc/chibicc' + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p '/builddir/build/BUILDROOT/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64/usr/share/doc/chibicc' + cp -pr /builddir/build/BUILD/chibicc-90d1f7f199cc55b13c7fdb5839d1409806633fdb/README.md '/builddir/build/BUILDROOT/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64/usr/share/doc/chibicc' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hX9NHs + umask 022 + cd /builddir/build/BUILD + cd chibicc-90d1f7f199cc55b13c7fdb5839d1409806633fdb + LICENSEDIR='/builddir/build/BUILDROOT/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64/usr/share/licenses/chibicc' + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p '/builddir/build/BUILDROOT/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64/usr/share/licenses/chibicc' + cp -pr /builddir/build/BUILD/chibicc-90d1f7f199cc55b13c7fdb5839d1409806633fdb/LICENSE '/builddir/build/BUILDROOT/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64/usr/share/licenses/chibicc' + RPM_EC=0 ++ jobs -p + exit 0 Provides: chibicc = 0.0^20201207.90d1f7f-1.fc39 chibicc(x86-64) = 0.0^20201207.90d1f7f-1.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: chibicc-debugsource-0.0^20201207.90d1f7f-1.fc39.x86_64 Provides: chibicc-debugsource = 0.0^20201207.90d1f7f-1.fc39 chibicc-debugsource(x86-64) = 0.0^20201207.90d1f7f-1.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: chibicc-debuginfo-0.0^20201207.90d1f7f-1.fc39.x86_64 Provides: chibicc-debuginfo = 0.0^20201207.90d1f7f-1.fc39 chibicc-debuginfo(x86-64) = 0.0^20201207.90d1f7f-1.fc39 debuginfo(build-id) = 6589ce7f30ec579998dae107d73eda5055d5952f Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: chibicc-debugsource(x86-64) = 0.0^20201207.90d1f7f-1.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64 Wrote: /builddir/build/RPMS/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/chibicc-debugsource-0.0^20201207.90d1f7f-1.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/chibicc-debuginfo-0.0^20201207.90d1f7f-1.fc39.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xsTGZh + umask 022 + cd /builddir/build/BUILD + cd chibicc-90d1f7f199cc55b13c7fdb5839d1409806633fdb + /usr/bin/rm -rf '/builddir/build/BUILDROOT/chibicc-0.0^20201207.90d1f7f-1.fc39.x86_64' + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.LdYoI6 + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/chibicc-90d1f7f199cc55b13c7fdb5839d1409806633fdb-SPECPARTS + rm -rf chibicc-90d1f7f199cc55b13c7fdb5839d1409806633fdb chibicc-90d1f7f199cc55b13c7fdb5839d1409806633fdb.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild chibicc-0.0^20201207.90d1f7f-1.fc39.src.rpm Finish: build phase for chibicc-0.0^20201207.90d1f7f-1.fc39.src.rpm INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-39-x86_64-1731320125.212919/root/var/log/dnf.rpm.log /var/lib/mock/fedora-39-x86_64-1731320125.212919/root/var/log/dnf.librepo.log /var/lib/mock/fedora-39-x86_64-1731320125.212919/root/var/log/dnf.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names INFO: Done(/var/lib/copr-rpmbuild/results/chibicc-0.0^20201207.90d1f7f-1.fc39.src.rpm) Config(child) 0 minutes 12 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run Running FedoraReview tool Running: fedora-review --no-colors --prebuilt --rpm-spec --name chibicc --mock-config /var/lib/copr-rpmbuild/results/configs/child.cfg cmd: ['fedora-review', '--no-colors', '--prebuilt', '--rpm-spec', '--name', 'chibicc', '--mock-config', '/var/lib/copr-rpmbuild/results/configs/child.cfg'] cwd: /var/lib/copr-rpmbuild/results rc: 0 stdout: Review template in: /var/lib/copr-rpmbuild/results/chibicc/review.txt fedora-review is automated tool, but *YOU* are responsible for manually reviewing the results and finishing the review. Do not just copy-paste the results without understanding them. stderr: INFO: Processing local files: chibicc INFO: Getting .spec and .srpm Urls from : Local files in /var/lib/copr-rpmbuild/results INFO: --> SRPM url: file:///var/lib/copr-rpmbuild/results/chibicc-0.0^20201207.90d1f7f-1.fc39.src.rpm INFO: Using review directory: /var/lib/copr-rpmbuild/results/chibicc INFO: Downloading (Source0): https://github.com/rui314/chibicc/archive/90d1f7f199cc55b13c7fdb5839d1409806633fdb/chibicc-90d1f7f.tar.gz INFO: Running checks and generating report INFO: Installing built package(s) INFO: Reading configuration from /etc/mock/site-defaults.cfg INFO: Reading configuration from /etc/mock/chroot-aliases.cfg INFO: Reading configuration from /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: WARNING: Probably non-rawhide buildroot used. Rawhide should be used for most package reviews INFO: Active plugins: Shell-api, C/C++, Generic Last metadata expiration check: 0:00:09 ago on Mon Nov 11 10:17:42 2024. usage: dnf repoquery [-c [config file]] [-q] [-v] [--version] [--installroot [path]] [--nodocs] [--noplugins] [--enableplugin [plugin]] [--disableplugin [plugin]] [--releasever RELEASEVER] [--setopt SETOPTS] [--skip-broken] [-h] [--allowerasing] [-b | --nobest] [-C] [-R [minutes]] [-d [debug level]] [--debugsolver] [--showduplicates] [-e ERRORLEVEL] [--obsoletes] [--rpmverbosity [debug level name]] [-y] [--assumeno] [--enablerepo [repo]] [--disablerepo [repo] | --repo [repo]] [--enable | --disable] [-x [package]] [--disableexcludes [repo]] [--repofrompath [repo,path]] [--noautoremove] [--nogpgcheck] [--color COLOR] [--refresh] [-4] [-6] [--destdir DESTDIR] [--downloadonly] [--comment COMMENT] [--bugfix] [--enhancement] [--newpackage] [--security] [--advisory ADVISORY] [--bz BUGZILLA] [--cve CVES] [--sec-severity {Critical,Important,Moderate,Low}] [--forcearch ARCH] [-a] [--show-duplicates] [--arch [arch]] [-f FILE [FILE ...]] [--whatconflicts REQ] [--whatdepends REQ] [--whatobsoletes REQ] [--whatprovides REQ] [--whatrequires REQ] [--whatrecommends REQ] [--whatenhances REQ] [--whatsuggests REQ] [--whatsupplements REQ] [--alldeps | --exactdeps] [--recursive] [--deplist] [--resolve] [--tree] [--srpm] [--latest-limit LATEST_LIMIT] [--disable-modular-filtering] [-i] [-l] [-s] [--changelogs] [--qf QUERYFORMAT] [--querytags] [--nevra] [--nvr] [--envra] [--groupmember] [--duplicates | --installonly | --unsatisfied] [--location] [--conflicts | --depends | --enhances | --provides | --recommends | --requires | --requires-pre | --suggests | --supplements] [--available] [--installed | --extras | --upgrades | --unneeded | --userinstalled] [--recent] [KEY ...] dnf repoquery: error: unrecognized arguments: --providers-of=requires Last metadata expiration check: 0:01:14 ago on Mon Nov 11 10:17:42 2024. Last metadata expiration check: 0:01:16 ago on Mon Nov 11 10:17:42 2024. Last metadata expiration check: 0:01:18 ago on Mon Nov 11 10:17:42 2024. INFO: ExclusiveArch dependency checking disabled, enable with EXARCH flag Review template in: /var/lib/copr-rpmbuild/results/chibicc/review.txt fedora-review is automated tool, but *YOU* are responsible for manually reviewing the results and finishing the review. Do not just copy-paste the results without understanding them. Moving the results into `fedora-review' directory. Review template in: /var/lib/copr-rpmbuild/results/fedora-review/review.txt FedoraReview finished Running RPMResults tool Package info: { "packages": [ { "name": "chibicc", "epoch": null, "version": "0.0^20201207.90d1f7f", "release": "1.fc39", "arch": "x86_64" }, { "name": "chibicc-debuginfo", "epoch": null, "version": "0.0^20201207.90d1f7f", "release": "1.fc39", "arch": "x86_64" }, { "name": "chibicc", "epoch": null, "version": "0.0^20201207.90d1f7f", "release": "1.fc39", "arch": "src" }, { "name": "chibicc-debugsource", "epoch": null, "version": "0.0^20201207.90d1f7f", "release": "1.fc39", "arch": "x86_64" } ] } RPMResults finished