Diff of the two buildlogs: -- --- b1/build.log 2025-02-28 20:04:55.938161619 +0000 +++ b2/build.log 2025-02-28 20:06:19.194414249 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Feb 28 08:02:29 -12 2025 -I: pbuilder-time-stamp: 1740772949 +I: Current time: Fri Apr 3 16:27:57 +14 2026 +I: pbuilder-time-stamp: 1775183277 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying 0005-Disable-fp-debug.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2395155/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2116918/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 3 02:28 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2116918/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2116918/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='ed5fcbd0787f40c2a90979237e25f066' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2395155' - PS1='# ' - PS2='> ' + INVOCATION_ID=3f75bdf0d17a4459bf4e0afe366a8523 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2116918 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.KqhsYP95/pbuilderrc_nO8N --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KqhsYP95/b1 --logfile b1/build.log pcc_1.2.0~DEVEL+20220331-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.KqhsYP95/pbuilderrc_M8z5 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KqhsYP95/b2 --logfile b2/build.log pcc_1.2.0~DEVEL+20220331-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.9+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.9-1~bpo12+1 (2025-01-19) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2395155/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2116918/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -145,7 +177,7 @@ Get: 30 http://deb.debian.org/debian trixie/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 31 http://deb.debian.org/debian trixie/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 32 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.24.1 [920 kB] -Fetched 22.1 MB in 1s (30.1 MB/s) +Fetched 22.1 MB in 5s (4140 kB/s) Preconfiguring packages ... Selecting previously unselected package m4. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19802 files and directories currently installed.) @@ -289,7 +321,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/pcc-1.2.0~DEVEL+20220331/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../pcc_1.2.0~DEVEL+20220331-1_source.changes +I: user script /srv/workspace/pbuilder/2116918/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2116918/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/pcc-1.2.0~DEVEL+20220331/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../pcc_1.2.0~DEVEL+20220331-1_source.changes dpkg-buildpackage: info: source package pcc dpkg-buildpackage: info: source version 1.2.0~DEVEL+20220331-1 dpkg-buildpackage: info: source distribution unstable @@ -411,32 +447,26 @@ make[1]: Leaving directory '/build/reproducible-path/pcc-1.2.0~DEVEL+20220331' dh_auto_build - make -j20 + make -j42 make[1]: Entering directory '/build/reproducible-path/pcc-1.2.0~DEVEL+20220331' ===> cc make[2]: Entering directory '/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/cc' -make[2]: warning: -j20 forced in submake: resetting jobserver mode. +make[2]: warning: -j42 forced in submake: resetting jobserver mode. ===> cc/cc make[3]: Entering directory '/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/cc/cc' -make[3]: warning: -j20 forced in submake: resetting jobserver mode. +make[3]: warning: -j42 forced in submake: resetting jobserver mode. gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBEXECDIR=\"/usr/bin/\" -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -DINCLUDEDIR=\"/usr/include/\" -DPCCINCDIR=\"/usr/lib/pcc/x86_64-pc-linux-gnu/1.2.0.DEVEL/include/\" -DPCCLIBDIR=\"/usr/lib/pcc/x86_64-pc-linux-gnu/1.2.0.DEVEL/lib/\" -Dos_linux -Dmach_amd64 -DTARGOSVER=0 -I../../cc/driver -I../.. -I../../os/linux -I../../mip -I../../arch/amd64 -I../../common -c -o cc.o ./cc.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBEXECDIR=\"/usr/bin/\" -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -DINCLUDEDIR=\"/usr/include/\" -DPCCINCDIR=\"/usr/lib/pcc/x86_64-pc-linux-gnu/1.2.0.DEVEL/include/\" -DPCCLIBDIR=\"/usr/lib/pcc/x86_64-pc-linux-gnu/1.2.0.DEVEL/lib/\" -Dos_linux -Dmach_amd64 -DTARGOSVER=0 -I../../cc/driver -I../.. -I../../os/linux -I../../mip -I../../arch/amd64 -I../../common -c -o compat.o ../../common/compat.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBEXECDIR=\"/usr/bin/\" -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -DINCLUDEDIR=\"/usr/include/\" -DPCCINCDIR=\"/usr/lib/pcc/x86_64-pc-linux-gnu/1.2.0.DEVEL/include/\" -DPCCLIBDIR=\"/usr/lib/pcc/x86_64-pc-linux-gnu/1.2.0.DEVEL/lib/\" -Dos_linux -Dmach_amd64 -DTARGOSVER=0 -I../../cc/driver -I../.. -I../../os/linux -I../../mip -I../../arch/amd64 -I../../common -c -o strlist.o ../../cc/driver/strlist.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBEXECDIR=\"/usr/bin/\" -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -DINCLUDEDIR=\"/usr/include/\" -DPCCINCDIR=\"/usr/lib/pcc/x86_64-pc-linux-gnu/1.2.0.DEVEL/include/\" -DPCCLIBDIR=\"/usr/lib/pcc/x86_64-pc-linux-gnu/1.2.0.DEVEL/lib/\" -Dos_linux -Dmach_amd64 -DTARGOSVER=0 -I../../cc/driver -I../.. -I../../os/linux -I../../mip -I../../arch/amd64 -I../../common -c -o xalloc.o ../../cc/driver/xalloc.c -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:28, - from ../../cc/driver/xalloc.c:32: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./cc.c:83: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:26, - from ../../cc/driver/strlist.c:32: + from /usr/include/stdio.h:28, + from ../../cc/driver/xalloc.c:32: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ @@ -446,16 +476,29 @@ /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:26, + from ../../cc/driver/strlist.c:32: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ gcc -Wl,-z,relro -Wl,-z,now cc.o compat.o strlist.o xalloc.o -o cc make[3]: Leaving directory '/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/cc/cc' <=== cc/cc ===> cc/cpp make[3]: Entering directory '/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/cc/cpp' -make[3]: warning: -j20 forced in submake: resetting jobserver mode. +make[3]: warning: -j42 forced in submake: resetting jobserver mode. gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -I. -I../.. -I. -I../../mip -I../../arch/amd64 -I../../common -DNVMPGS=4 -c -o compat.o ../../common/compat.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -I. -I../.. -I. -I../../mip -I../../arch/amd64 -I../../common -DNVMPGS=4 -c -o cpp.o ./cpp.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -I. -I../.. -I. -I../../mip -I../../arch/amd64 -I../../common -DNVMPGS=4 -c -o cpc.o ./cpc.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -I. -I../.. -I. -I../../mip -I../../arch/amd64 -I../../common -DNVMPGS=4 -c -o token.o ./token.c +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:28, + from ./cpp.h:28, + from ./cpc.c:32: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/stat.h:25, from ./cpp.c:49: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] @@ -473,13 +516,6 @@ /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:28, - from ./cpp.h:28, - from ./cpc.c:32: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ ./cpp.c: In function 'mkrobuf': ./cpp.c:534:19: warning: overflow in conversion from 'int' to 'signed char:1' changes value from '1' to '-1' [-Woverflow] 534 | iob->ro = 1; @@ -525,14 +561,6 @@ | ~^ | | | void * -./token.c: In function 'prtline': -./token.c:1116:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1116 | write(1, ob->buf, ob->cptr); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -./token.c: In function 'cpperror': -./token.c:1383:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1383 | write(1, pbbeg, pbinp-pbbeg); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./cpp.c: In function 'readargs': ./cpp.c:1936:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct iobuf *' [-Wformat=] 1936 | DPRINT(("readargs: in %p\n", in)); @@ -547,6 +575,14 @@ | ~^ | | | void * +./token.c: In function 'prtline': +./token.c:1116:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1116 | write(1, ob->buf, ob->cptr); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +./token.c: In function 'cpperror': +./token.c:1383:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1383 | write(1, pbbeg, pbinp-pbbeg); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./cpp.c: In function 'main': ./cpp.c:399:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 399 | write(1, fb->buf, fb->cptr); @@ -578,7 +614,7 @@ <=== cc/cpp ===> cc/ccom make[3]: Entering directory '/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/cc/ccom' -make[3]: warning: -j20 forced in submake: resetting jobserver mode. +make[3]: warning: -j42 forced in submake: resetting jobserver mode. gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -DMKEXT -c -o mkext.lo ../../mip/mkext.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -DMKEXT -c -o common.lo ../../mip/common.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -DMKEXT -c -o table.lo ../../arch/amd64/table.c @@ -589,29 +625,10 @@ 281 | %type string C_STRING GCC_DESIG svstr | ^~~~~~~~ ./cgram.y:281.33-41: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] - 281 | %type string C_STRING GCC_DESIGmv -f lex.yy.c scan.c - svstr - | ^~~~~~~~In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../mip/mkext.c:6: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -~ + 281 | %type string C_STRING GCC_DESIG svstr + | ^~~~~~~~~ ./cgram.y:285.17-24: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] - 285 | %type CIn file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:26, - from ../../mip/common.c:63: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -_STRUCT C_RELOP C_DIVOP C_SHIFTOP + 285 | %type C_STRUCT C_RELOP C_DIVOP C_SHIFTOP | ^~~~~~~~ ./cgram.y:285.26-32: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 285 | %type C_STRUCT C_RELOP C_DIVOP C_SHIFTOP @@ -620,16 +637,10 @@ 285 | %type C_STRUCT C_RELOP C_DIVOP C_SHIFTOP | ^~~~~~~ ./cgram.y:285.42-50: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] - 285 | %type C_STR../../mip/pass2.h:561:17: warning: ISO C forbids zero-size array 'p_regs' [-Wpedantic] - 561 | bittype p_regs[NIPPREGS]; /* Bitmask of registers to save */ - | ^~~~~~ -UCT C_RELOP C_DIVOP C_SHIFTOP + 285 | %type C_STRUCT C_RELOP C_DIVOP C_SHIFTOP | ^~~~~~~~~ ./cgram.y:286.17-24: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] - 286 | C_ANDAND C_OROR C_STROP ../../mip/pass2.h:561:17: warning: ISO C forbids zero-size array 'p_regs' [-Wpedantic] - 561 | bittype p_regs[NIPPREGS]; /* Bitmask of registers to save */ - | ^~~~~~ -C_INCOP C_UNOP C_ASOP C_EQUOP + 286 | C_ANDAND C_OROR C_STROP C_INCOP C_UNOP C_ASOP C_EQUOP | ^~~~~~~~ ./cgram.y:286.26-31: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 286 | C_ANDAND C_OROR C_STROP C_INCOP C_UNOP C_ASOP C_EQUOP @@ -673,12 +684,37 @@ ./cgram.y:294.24-33: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 294 | %type C_NAME C_TYPENAME | ^~~~~~~~~~ +./cgram.y: warning: 6 shift/reduce conflicts [-Wconflicts-sr] +./cgram.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../arch/amd64/table.c:31: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +mv -f lex.yy.c scan.c +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../mip/mkext.c:6: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:26, + from ../../mip/common.c:63: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +../../mip/pass2.h:561:17: warning: ISO C forbids zero-size array 'p_regs' [-Wpedantic] + 561 | bittype p_regs[NIPPREGS]; /* Bitmask of registers to save */ + | ^~~~~~ +../../mip/pass2.h:561:17: warning: ISO C forbids zero-size array 'p_regs' [-Wpedantic] + 561 | bittype p_regs[NIPPREGS]; /* Bitmask of registers to save */ + | ^~~~~~ In file included from ../../mip/common.c:67: ../../mip/pass2.h:561:17: warning: ISO C forbids zero-size array 'p_regs' [-Wpedantic] 561 | bittype p_regs[NIPPREGS]; /* Bitmask of registers to save */ | ^~~~~~ -./cgram.y: warning: 6 shift/reduce conflicts [-Wconflicts-sr] -./cgram.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples mv -f y.tab.c cgram.c mv -f y.tab.h cgram.h gcc -Wl,-z,relro -Wl,-z,now mkext.lo common.lo table.lo -o mkext @@ -696,9 +732,29 @@ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o local.o ../../arch/amd64/local.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o local2.o ../../arch/amd64/local2.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o main.o ./main.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o match.o ../../mip/match.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o optim.o ./optim.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o optim2.o ../../mip/optim2.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o order.o ../../arch/amd64/order.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o pftn.o ./pftn.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o reader.o ../../mip/reader.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o softfloat.o ../../common/softfloat.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o regs.o ../../mip/regs.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o scan.o scan.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o stabs.o ./stabs.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o symtabs.o ./symtabs.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o table.o ../../arch/amd64/table.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o trees.o ./trees.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o unicode.o ../../common/unicode.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ./builtins.c:27: + from ./dwarf.c:31: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:26, + from ../../mip/common.c:63: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ @@ -709,14 +765,32 @@ 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./gcc_compat.c:34: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./builtins.c:27: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from pass1.h:38, from ./cgram.y:152: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from external.c:1: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ./dwarf.c:31: + from ./init.c:64: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ @@ -726,38 +800,163 @@ /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ../../arch/amd64/local.c:29: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../arch/amd64/local2.c:30: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/unistd.h:25, + from ./main.c:32: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./pftn.c:66: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./inline.c:28: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../mip/optim2.c:29: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../arch/amd64/order.c:31: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../mip/match.c:63: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./optim.c:36: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../arch/amd64/table.c:31: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../mip/regs.c:29: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./stabs.c:37: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:26, - from ../../mip/common.c:63: + from /usr/include/stdio.h:28, + from ../../mip/manifest.h:39, + from ../../common/softfloat.c:29: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, - from external.c:1: + from ../../mip/reader.c:66: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o match.o ../../mip/match.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ./init.c:64: + from ./symtabs.c:30: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:28, + from lex.yy.c:19: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:28, + from ../../common/unicode.c:31: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ../../arch/amd64/local.c:29: + from ./trees.c:69: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o optim.o ./optim.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o optim2.o ../../mip/optim2.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o order.o ../../arch/amd64/order.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o pftn.o ./pftn.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o reader.o ../../mip/reader.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o softfloat.o ../../common/softfloat.c +./pftn.c: In function 'defid2': +./pftn.c:192:24: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct symtab *' [-Wformat=] + 192 | printf("defid(%s '%s'(%p), ", p->sname, "soname" , p); + | ^~~~~~~~~~~~~~~~~~~~~ ~ + | | + | struct symtab * +./pftn.c:194:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'union dimfun *' [-Wformat=] + 194 | printf(", %s, (%p)), level %d\n\t", scnames(class), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +./pftn.c:219:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'union dimfun *' [-Wformat=] + 219 | printf(", %s, (%p,%p)), level %d\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 220 | scnames(p->sclass), p->sdf, p->sap, slev); + | ~~~~~~ + | | + | union dimfun * +./pftn.c:219:24: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct attr *' [-Wformat=] + 219 | printf(", %s, (%p,%p)), level %d\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 220 | scnames(p->sclass), p->sdf, p->sap, slev); + | ~~~~~~ + | | + | struct attr * +./pftn.c:524:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'union dimfun *' [-Wformat=] + 524 | printf( " sdf, offset: %p, %d\n\t", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 525 | p->sdf, p->soffset); + | ~~~~~~ + | | + | union dimfun * +./pftn.c: In function 'dclstruct': +./pftn.c:985:32: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] + 985 | printf("\tmember %s(%p)\n", sp->sname, sp); + | ^~~~~~~~~~~~~~~~~~~ ~~ + | | + | struct symtab * +../../arch/amd64/order.c: In function 'offstar': +../../arch/amd64/order.c:87:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 87 | printf("offstar(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/amd64/order.c: In function 'myormake': ../../mip/common.c: In function 'talloc': +../../arch/amd64/order.c:146:35: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 146 | printf("myormake(%p)\n", q); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} ../../mip/common.c:348:45: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 348 | printf("alloc node %p from freelist\n", p); | ~^ ~ @@ -768,13 +967,63 @@ | ~^ ~ | | | | void * NODE * {aka struct node *} +../../arch/amd64/order.c:186:45: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 186 | printf("myormake converted %p\n", q); + | ~^ ~ + | | | + | | NODE * {aka struct node *} + | void * +../../mip/match.c: In function 'tshape': +../../mip/match.c:93:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 93 | printf("tshape(%p, %s) op = %s\n", p, prcook(shape), opst[o]); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/amd64/order.c: In function 'shumul': ../../mip/common.c: In function 'nfree': +../../arch/amd64/order.c:199:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 199 | printf("shumul(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/amd64/order.c: In function 'setbin': ../../mip/common.c:441:39: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 441 | printf("freeing node %p\n", p); | ~^ ~ | | | | | NODE * {aka struct node *} | void * +../../arch/amd64/order.c:216:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 216 | printf("setbin(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/amd64/order.c: In function 'setasg': +../../arch/amd64/order.c:226:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 226 | printf("setasg(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +./pftn.c: In function 'arglist': +../../mip/match.c: In function 'swmatch': +./pftn.c:1910:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 1910 | printf("arglist %p\n", n); + | ^~~~~~~~~~~~~~ ~ + | | + | P1ND * {aka struct p1node *} +../../mip/match.c:417:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 417 | F2DEBUG(("swmatch: p=%p, shape=%s, w=%s\n", p, prcook(shape), srtyp[w])); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' + 396 | #define F2DEBUG(x) if (f2debug) printf x + | ^ +../../mip/match.c:417:31: note: format string is defined here + 417 | F2DEBUG(("swmatch: p=%p, shape=%s, w=%s\n", p, prcook(shape), srtyp[w])); + | ~^ + | | + | void * ../../arch/amd64/local.c: In function 'clocal': ../../arch/amd64/local.c:308:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 308 | printf("clocal: %p\n", p); @@ -783,6 +1032,7 @@ | | P1ND * {aka struct p1node *} | void * ./init.c: In function 'beginit': +../../mip/match.c: In function 'shswitch': ./init.c:405:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct symtab *' [-Wformat=] 405 | ID(("beginit(%p), sclass %s\n", sp, scnames(sp->sclass))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -791,17 +1041,20 @@ ./init.c:138:34: note: in definition of macro 'ID' 138 | #define ID(x) if (idebug) printf x | ^ -../../arch/amd64/local.c:497:38: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 497 | printf("clocal end: %p\n", p); - | ~^ ~ - | | | - | | P1ND * {aka struct p1node *} - | void * ./init.c:405:23: note: format string is defined here 405 | ID(("beginit(%p), sclass %s\n", sp, scnames(sp->sclass))); | ~^ | | | void * +./pftn.c: In function 'tymerge': +../../mip/match.c:497:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 497 | F2DEBUG(("shswitch: p=%p, shape=%s, ", p, prcook(shape))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' + 396 | #define F2DEBUG(x) if (f2debug) printf x + | ^ ./init.c:408:21: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] 408 | ID(("beginit: saving ctx pstk %p\n", pstk)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ @@ -810,11 +1063,36 @@ ./init.c:138:34: note: in definition of macro 'ID' 138 | #define ID(x) if (idebug) printf x | ^ +../../mip/match.c:497:32: note: format string is defined here + 497 | F2DEBUG(("shswitch: p=%p, shape=%s, ", p, prcook(shape))); + | ~^ + | | + | void * ./init.c:408:48: note: format string is defined here 408 | ID(("beginit: saving ctx pstk %p\n", pstk)); | ~^ | | | void * +./inline.c: In function 'inline_addarg': +./inline.c:171:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] + 171 | SDEBUG(("inline_addarg(%p)\n", ip)); + | ^~~~~~~~~~~~~~~~~~~~~ ~~ + | | + | struct interpass * +./inline.c:70:44: note: in definition of macro 'SDEBUG' + 70 | #define SDEBUG(x) if (sdebug) printf x + | ^ +./inline.c:171:33: note: format string is defined here + 171 | SDEBUG(("inline_addarg(%p)\n", ip)); + | ~^ + | | + | void * +../../mip/match.c: In function 'findops': +./pftn.c:2110:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 2110 | printf("tymerge(%p,%p)\n", typ, idp); + | ^~~~~~~~~~~~~~~~~~ ~~~ + | | + | P1ND * {aka struct p1node *} ./init.c:449:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct symtab *' [-Wformat=] 449 | ID(("beginit(%p) end\n", sp)); | ^~~~~~~~~~~~~~~~~~~ ~~ @@ -828,18 +1106,107 @@ | ~^ | | | void * +../../mip/match.c:563:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 563 | F2DEBUG(("findops node %p (%s)\n", p, prcook(cookie))); + | ^~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' + 396 | #define F2DEBUG(x) if (f2debug) printf x + | ^ +../../mip/match.c:563:33: note: format string is defined here + 563 | F2DEBUG(("findops node %p (%s)\n", p, prcook(cookie))); + | ~^ + | | + | void * +./pftn.c:2110:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 2110 | printf("tymerge(%p,%p)\n", typ, idp); + | ^~~~~~~~~~~~~~~~~~ ~~~ + | | + | P1ND * {aka struct p1node *} +../../arch/amd64/local.c:497:38: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 497 | printf("clocal end: %p\n", p); + | ~^ ~ + | | | + | | P1ND * {aka struct p1node *} + | void * +./main.c: In function 'segvcatch': +./main.c:70:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 70 | (void)write(STDERR_FILENO, buf, strlen(buf)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./inline.c: In function 'printip': +./inline.c:398:42: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] + 398 | printf("IP(%d) (%p): ", ip->type, ip); + | ~^ ~~ + | | | + | void * struct interpass * +../../mip/optim2.c: In function 'bblocks_build': +../../mip/match.c:644:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 644 | F2DEBUG(("findops: node %p sh %d (%s)\n", p, sh, prcook(1 << sh))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' + 396 | #define F2DEBUG(x) if (f2debug) printf x + | ^ +./inline.c:400:38: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] + 400 | printf("%s (%p): ", foo[ip->type], ip); + | ~^ ~~ + | | | + | void * struct interpass * +../../mip/match.c:644:34: note: format string is defined here + 644 | F2DEBUG(("findops: node %p sh %d (%s)\n", p, sh, prcook(1 << sh))); + | ~^ + | | + | void * +../../mip/optim2.c:712:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct labelinfo *' [-Wformat=] + 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ + | | + | struct labelinfo * +../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' + 42 | #define BDEBUG(x) if (b2debug) printf x + | ^ +../../mip/optim2.c:712:34: note: format string is defined here + 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); + | ~^ + | | + | void * ./init.c: In function 'nsetval': ./init.c:637:24: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 637 | printf("setval: off " CONFMT " fsz %d p %p\n", off, fsz, p); | ^~~~~~~~~~~~~~ ~ | | | P1ND * {aka struct p1node *} +../../mip/optim2.c:712:17: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct bblockinfo *' [-Wformat=] + 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ + | | + | struct bblockinfo * +../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' + 42 | #define BDEBUG(x) if (b2debug) printf x + | ^ ./init.c:637:58: note: format string is defined here 637 | printf("setval: off " CONFMT " fsz %d p %p\n", off, fsz, p); | ~^ | | | void * +../../mip/optim2.c:712:38: note: format string is defined here + 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); + | ~^ + | | + | void * +./inline.c: In function 'inlinetree': ./init.c: In function 'scalinit': +../../mip/match.c: In function 'relops': +./inline.c:489:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 489 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | P1ND * {aka struct p1node *} +./inline.c:70:44: note: in definition of macro 'SDEBUG' + 70 | #define SDEBUG(x) if (sdebug) printf x + | ^ ./init.c:677:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 677 | ID(("scalinit(%p)\n", p)); | ^~~~~~~~~~~~~~~~ ~ @@ -848,11 +1215,56 @@ ./init.c:138:34: note: in definition of macro 'ID' 138 | #define ID(x) if (idebug) printf x | ^ +./inline.c:489:30: note: format string is defined here + 489 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); + | ~^ + | | + | void * ./init.c:677:24: note: format string is defined here 677 | ID(("scalinit(%p)\n", p)); | ~^ | | | void * +../../mip/match.c:741:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 741 | F2DEBUG(("relops: node %p\n", p)); + | ^~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' + 396 | #define F2DEBUG(x) if (f2debug) printf x + | ^ +./inline.c:489:17: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 489 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ + | | + | P1ND * {aka struct p1node *} +./inline.c:70:44: note: in definition of macro 'SDEBUG' + 70 | #define SDEBUG(x) if (sdebug) printf x + | ^ +../../mip/optim2.c:758:41: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] + 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, + | ~^ ~~ + | | | + | void * struct basicblock * +../../mip/match.c:741:33: note: format string is defined here + 741 | F2DEBUG(("relops: node %p\n", p)); + | ~^ + | | + | void * +./inline.c:489:33: note: format string is defined here + 489 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); + | ~^ + | | + | void * +../../mip/optim2.c:758:51: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct interpass *' [-Wformat=] + 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, + | ~^ + | | + | void * + 759 | bb->first, bb->last); + | ~~~~~~~~~ + | | + | struct interpass * ./init.c:743:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 743 | ID(("scalinit end(%p)\n", q)); | ^~~~~~~~~~~~~~~~~~~~ ~ @@ -861,19 +1273,95 @@ ./init.c:138:34: note: in definition of macro 'ID' 138 | #define ID(x) if (idebug) printf x | ^ +../../mip/optim2.c:758:59: warning: format '%p' expects argument of type 'void *', but argument 5 has type 'struct interpass *' [-Wformat=] + 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, + | ~^ + | | + | void * + 759 | bb->first, bb->last); + | ~~~~~~~~ + | | + | struct interpass * +./symtabs.c: In function 'hide': ./init.c:743:28: note: format string is defined here 743 | ID(("scalinit end(%p)\n", q)); | ~^ | | | void * +./symtabs.c:363:51: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct symtab *' [-Wformat=] + 363 | printf("\t%s hidden at level %d (%p -> %p)\n", + | ~^ + | | + | void * + 364 | sym->sname, blevel, sym, new); + | ~~~ + | | + | struct symtab * +./symtabs.c:363:57: warning: format '%p' expects argument of type 'void *', but argument 5 has type 'struct symtab *' [-Wformat=] + 363 | printf("\t%s hidden at level %d (%p -> %p)\n", + | ~^ + | | + | void * + 364 | sym->sname, blevel, sym, new); + | ~~~ + | | + | struct symtab * +../../mip/match.c: In function 'findasg': +../../mip/optim2.c:795:58: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] + 795 | printf("Label %d bblock %p\n", i+low, + | ~^ + | | + | void * + 796 | p2e->labinfo.arr[i]); + | ~~~~~~~~~~~~~~~~~~~ + | | + | struct basicblock * +../../mip/match.c:874:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 874 | F2DEBUG(("findasg: node %p class %d\n", p, sh)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' + 396 | #define F2DEBUG(x) if (f2debug) printf x + | ^ +../../mip/match.c:874:34: note: format string is defined here + 874 | F2DEBUG(("findasg: node %p class %d\n", p, sh)); + | ~^ + | | + | void * ./init.c: In function 'endictx': +../../common/softfloat.c: In function 'soft_minus': +../../mip/match.c: In function 'findumul': ./init.c:916:54: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] 916 | printf("endinit: restoring ctx pstk %p\n", pstk); | ~^ ~~~~ | | | | | struct instk * | void * +../../common/softfloat.c:957:16: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 957 | return soft_plus(x1, x2, t); + | ^~~~~~~~~~~~~~~~~~~~ +../../common/softfloat.c:954:1: note: declared here + 954 | soft_minus(SFP x1, SFP x2, TWORD t) + | ^~~~~~~~~~ +../../mip/match.c:897:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 897 | F2DEBUG(("findumul p %p (%s)\n", p, prcook(cookie))); + | ^~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' + 396 | #define F2DEBUG(x) if (f2debug) printf x + | ^ ./init.c: In function 'mkstack': +../../arch/amd64/local.c: At top level: +../../arch/amd64/local.c:265:1: warning: 'tlsref' defined but not used [-Wunused-function] + 265 | tlsref(NODE *p) + | ^~~~~~ +../../mip/match.c:897:31: note: format string is defined here + 897 | F2DEBUG(("findumul p %p (%s)\n", p, prcook(cookie))); + | ~^ + | | + | void * ./init.c:1004:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 1004 | ID(("mkstack: %p\n", p)); | ^~~~~~~~~~~~~~~ ~ @@ -887,6 +1375,18 @@ | ~^ | | | void * +../../mip/reader.c: In function 'geninsn': +./trees.c: In function 'buildtree': +./trees.c:173:40: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 173 | printf("buildtree(%s, %p, %p)\n", copst(o), l, r); + | ~^ ~ + | | | + | void * P1ND * {aka struct p1node *} +../../mip/reader.c:810:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 810 | printf("geninsn(%p, %s)\n", p, prcook(cookie)); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} ./init.c:1039:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 1039 | ID(("mkstack end: %p\n", p)); | ^~~~~~~~~~~~~~~~~~~ ~ @@ -895,117 +1395,16 @@ ./init.c:138:34: note: in definition of macro 'ID' 138 | #define ID(x) if (idebug) printf x | ^ +./trees.c:173:44: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 173 | printf("buildtree(%s, %p, %p)\n", copst(o), l, r); + | ~^ ~ + | | | + | void * P1ND * {aka struct p1node *} ./init.c:1039:28: note: format string is defined here 1039 | ID(("mkstack end: %p\n", p)); | ~^ | | | void * -./init.c: In function 'desinit': -../../arch/amd64/local.c: At top level: -../../arch/amd64/local.c:265:1: warning: 'tlsref' defined but not used [-Wunused-function] - 265 | tlsref(NODE *p) - | ^~~~~~ -./init.c:1050:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 1050 | ID(("desinit beg %p\n", p)); - | ^~~~~~~~~~~~~~~~~~ ~ - | | - | P1ND * {aka struct p1node *} -./init.c:138:34: note: in definition of macro 'ID' - 138 | #define ID(x) if (idebug) printf x - | ^ -./init.c:1050:27: note: format string is defined here - 1050 | ID(("desinit beg %p\n", p)); - | ~^ - | | - | void * -./init.c:1065:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 1065 | ID(("desinit end %p\n", p)); - | ^~~~~~~~~~~~~~~~~~ ~ - | | - | P1ND * {aka struct p1node *} -./init.c:138:34: note: in definition of macro 'ID' - 138 | #define ID(x) if (idebug) printf x - | ^ -./init.c:1065:27: note: format string is defined here - 1065 | ID(("desinit end %p\n", p)); - | ~^ - | | - | void * -./init.c: In function 'asginit': -./init.c:1110:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 1110 | printf("asginit %p\n", p); - | ~^ ~ - | | | - | | P1ND * {aka struct p1node *} - | void * -./init.c: In function 'prtstk': -./init.c:1168:26: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] - 1168 | printf("%p) '%s' ", in, in->in_sym->sname); - | ~^ ~~ - | | | - | void * struct instk * -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../arch/amd64/local2.c:30: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o regs.o ../../mip/regs.c -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../mip/match.c:63: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/unistd.h:25, - from ./main.c:32: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./gcc_compat.c:34: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../mip/regs.c:29: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./inline.c:28: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./optim.c:36: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -../../mip/match.c: In function 'tshape': -../../mip/match.c:93:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 93 | printf("tshape(%p, %s) op = %s\n", p, prcook(shape), opst[o]); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../mip/match.c: In function 'swmatch': -../../mip/match.c:417:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 417 | F2DEBUG(("swmatch: p=%p, shape=%s, w=%s\n", p, prcook(shape), srtyp[w])); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' - 396 | #define F2DEBUG(x) if (f2debug) printf x - | ^ -../../mip/match.c:417:31: note: format string is defined here - 417 | F2DEBUG(("swmatch: p=%p, shape=%s, w=%s\n", p, prcook(shape), srtyp[w])); - | ~^ - | | - | void * ../../mip/regs.c: In function 'newblock': ../../mip/regs.c:197:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 197 | RDEBUG(("newblock: p %p, node %d class %d\n", @@ -1017,13 +1416,29 @@ ../../mip/regs.c:56:45: note: in definition of macro 'RDEBUG' 56 | #define RDEBUG(x) if (r2debug) printf x | ^ +./init.c: In function 'desinit': ../../mip/regs.c:197:31: note: format string is defined here 197 | RDEBUG(("newblock: p %p, node %d class %d\n", | ~^ | | | void * -../../mip/match.c: In function 'shswitch': ../../mip/regs.c: In function 'nsucomp': +./init.c:1050:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 1050 | ID(("desinit beg %p\n", p)); + | ^~~~~~~~~~~~~~~~~~ ~ + | | + | P1ND * {aka struct p1node *} +./init.c:138:34: note: in definition of macro 'ID' + 138 | #define ID(x) if (idebug) printf x + | ^ +../../mip/match.c:950:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 950 | F2DEBUG(("findumul: node %p (%s)\n", p, prcook(1 << sh))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' + 396 | #define F2DEBUG(x) if (f2debug) printf x + | ^ ../../mip/regs.c:233:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 233 | UDEBUG(("entering nsucomp, node %p\n", p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1037,20 +1452,49 @@ | ~^ | | | void * -../../mip/match.c:497:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 497 | F2DEBUG(("shswitch: p=%p, shape=%s, ", p, prcook(shape))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} +./init.c:1050:27: note: format string is defined here + 1050 | ID(("desinit beg %p\n", p)); + | ~^ + | | + | void * +../../mip/match.c:950:35: note: format string is defined here + 950 | F2DEBUG(("findumul: node %p (%s)\n", p, prcook(1 << sh))); + | ~^ + | | + | void * +../../mip/match.c: In function 'findleaf': +../../mip/reader.c:934:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 934 | printf("geninsn(%p, %s) rv %d\n", p, prcook(cookie), rv); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +./init.c:1065:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 1065 | ID(("desinit end %p\n", p)); + | ^~~~~~~~~~~~~~~~~~ ~ + | | + | P1ND * {aka struct p1node *} +./init.c:138:34: note: in definition of macro 'ID' + 138 | #define ID(x) if (idebug) printf x + | ^ +../../common/softfloat.c: In function 'decbig': +./init.c:1065:27: note: format string is defined here + 1065 | ID(("desinit end %p\n", p)); + | ~^ + | | + | void * +../../mip/match.c:968:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 968 | F2DEBUG(("findleaf p %p (%s)\n", p, prcook(cookie))); + | ^~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} ../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ -../../mip/match.c:497:32: note: format string is defined here - 497 | F2DEBUG(("shswitch: p=%p, shape=%s, ", p, prcook(shape))); - | ~^ - | | - | void * -../../mip/match.c: In function 'findops': +../../common/softfloat.c:1264:17: warning: range expressions in switch statements are non-standard [-Wpedantic] + 1264 | case '0' ... '9': + | ^~~~ +./init.c: In function 'asginit': +../../mip/reader.c: In function 'ckmove': ../../mip/regs.c:307:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 307 | UDEBUG(("node %p left %d right %d\n", p, left, right)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1064,19 +1508,18 @@ | ~^ | | | void * -../../mip/match.c:563:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 563 | F2DEBUG(("findops node %p (%s)\n", p, prcook(cookie))); - | ^~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' - 396 | #define F2DEBUG(x) if (f2debug) printf x - | ^ -../../mip/match.c:563:33: note: format string is defined here - 563 | F2DEBUG(("findops node %p (%s)\n", p, prcook(cookie))); - | ~^ - | | - | void * +../../mip/match.c:968:31: note: format string is defined here + 968 | F2DEBUG(("findleaf p %p (%s)\n", p, prcook(cookie))); + | ~^ + | | + | void * +./init.c:1110:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 1110 | printf("asginit %p\n", p); + | ~^ ~ + | | | + | | P1ND * {aka struct p1node *} + | void * +../../common/softfloat.c: In function 'hexbig': ../../mip/regs.c:340:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 340 | UDEBUG(("node %p no class\n", p)); | ^~~~~~~~~~~~~~~~~~~~ ~ @@ -1085,11 +1528,29 @@ ../../mip/regs.c:60:45: note: in definition of macro 'UDEBUG' 60 | #define UDEBUG(x) if (u2debug) printf x | ^ +../../mip/reader.c:981:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 981 | CDEBUG(("rmove: node %p, %s -> %s\n", p, rnames[DECRA(q->n_reg, 0)], + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' + 942 | #define CDEBUG(x) if (c2debug) printf x + | ^ ../../mip/regs.c:340:32: note: format string is defined here 340 | UDEBUG(("node %p no class\n", p)); | ~^ | | | void * +../../mip/optim2.c: In function 'placePhiFunctions': +../../common/softfloat.c:1332:17: warning: range expressions in switch statements are non-standard [-Wpedantic] + 1332 | case 'a' ... 'f': + | ^~~~ +./init.c: In function 'prtstk': +../../mip/reader.c:981:31: note: format string is defined here + 981 | CDEBUG(("rmove: node %p, %s -> %s\n", p, rnames[DECRA(q->n_reg, 0)], + | ~^ + | | + | void * ../../mip/regs.c:358:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 358 | UDEBUG(("node %p numregs %d\n", p, nxreg+1)); | ^~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1103,14 +1564,40 @@ | ~^ | | | void * -../../mip/match.c:644:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 644 | F2DEBUG(("findops: node %p sh %d (%s)\n", p, sh, prcook(1 << sh))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} +./init.c:1168:26: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] + 1168 | printf("%p) '%s' ", in, in->in_sym->sname); + | ~^ ~~ + | | | + | void * struct instk * +../../common/softfloat.c:1335:17: warning: range expressions in switch statements are non-standard [-Wpedantic] + 1335 | case 'A' ... 'F': + | ^~~~ +../../mip/optim2.c:1194:69: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct basicblock *' [-Wformat=] + 1194 | printf("Phi in %d(%d) (%p) for %d\n", + | ~^ + | | + | void * + 1195 | y->dfnum,y->bbnum,y,i+defsites.low); + | ~ + | | + | struct basicblock * +../../mip/match.c:1009:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1009 | F2DEBUG(("findleaf: node %p (%s)\n", p, prcook(1 << sh))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} ../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ +../../common/softfloat.c:1338:17: warning: range expressions in switch statements are non-standard [-Wpedantic] + 1338 | case '0' ... '9': + | ^~~~ +../../mip/reader.c: In function 'rewrite': +../../mip/match.c:1009:35: note: format string is defined here + 1009 | F2DEBUG(("findleaf: node %p (%s)\n", p, prcook(1 << sh))); + | ~^ + | | + | void * ../../mip/regs.c:401:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 401 | UDEBUG(("node %p return regs %d\n", p, need)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1119,179 +1606,25 @@ ../../mip/regs.c:60:45: note: in definition of macro 'UDEBUG' 60 | #define UDEBUG(x) if (u2debug) printf x | ^ -../../mip/match.c:644:34: note: format string is defined here - 644 | F2DEBUG(("findops: node %p sh %d (%s)\n", p, sh, prcook(1 << sh))); - | ~^ - | | - | void * +../../mip/reader.c:1029:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1029 | CDEBUG(("rewrite: %p, reg %s\n", p, + | ^~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' + 942 | #define CDEBUG(x) if (c2debug) printf x + | ^ ../../mip/regs.c:401:24: note: format string is defined here 401 | UDEBUG(("node %p return regs %d\n", p, need)); | ~^ | | | void * -../../mip/match.c: In function 'relops': -../../mip/match.c:741:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 741 | F2DEBUG(("relops: node %p\n", p)); - | ^~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' - 396 | #define F2DEBUG(x) if (f2debug) printf x - | ^ -../../mip/match.c:741:33: note: format string is defined here - 741 | F2DEBUG(("relops: node %p\n", p)); - | ~^ - | | - | void * -../../mip/match.c: In function 'findasg': -../../mip/match.c:874:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 874 | F2DEBUG(("findasg: node %p class %d\n", p, sh)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' - 396 | #define F2DEBUG(x) if (f2debug) printf x - | ^ -../../mip/match.c:874:34: note: format string is defined here - 874 | F2DEBUG(("findasg: node %p class %d\n", p, sh)); - | ~^ - | | - | void * -../../mip/match.c: In function 'findumul': -../../mip/regs.c: In function 'addedge_r': -../../mip/match.c:897:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 897 | F2DEBUG(("findumul p %p (%s)\n", p, prcook(cookie))); - | ^~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' - 396 | #define F2DEBUG(x) if (f2debug) printf x - | ^ -../../mip/regs.c:944:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 944 | RRDEBUG(("addedge_r: node %p regw %p\n", p, w)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/regs.c:57:49: note: in definition of macro 'RRDEBUG' - 57 | #define RRDEBUG(x) if (r2debug > 1) printf x - | ^ -../../mip/match.c:897:31: note: format string is defined here - 897 | F2DEBUG(("findumul p %p (%s)\n", p, prcook(cookie))); - | ~^ - | | - | void * -../../mip/regs.c:944:36: note: format string is defined here - 944 | RRDEBUG(("addedge_r: node %p regw %p\n", p, w)); - | ~^ - | | - | void * -../../mip/regs.c:944:18: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'REGW *' {aka 'struct regw *'} [-Wformat=] - 944 | RRDEBUG(("addedge_r: node %p regw %p\n", p, w)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | REGW * {aka struct regw *} -../../mip/regs.c:57:49: note: in definition of macro 'RRDEBUG' - 57 | #define RRDEBUG(x) if (r2debug > 1) printf x - | ^ -../../mip/regs.c:944:44: note: format string is defined here - 944 | RRDEBUG(("addedge_r: node %p regw %p\n", p, w)); - | ~^ - | | - | void * -../../mip/match.c:950:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 950 | F2DEBUG(("findumul: node %p (%s)\n", p, prcook(1 << sh))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' - 396 | #define F2DEBUG(x) if (f2debug) printf x - | ^ -../../mip/match.c:950:35: note: format string is defined here - 950 | F2DEBUG(("findumul: node %p (%s)\n", p, prcook(1 << sh))); - | ~^ - | | - | void * -../../mip/regs.c: In function 'setxarg': -../../mip/match.c: In function 'findleaf': -../../mip/regs.c:991:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 991 | RDEBUG(("setxarg %p %s\n", p, p->n_name)); - | ^~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/regs.c:56:45: note: in definition of macro 'RDEBUG' - 56 | #define RDEBUG(x) if (r2debug) printf x - | ^ -../../mip/regs.c:991:27: note: format string is defined here - 991 | RDEBUG(("setxarg %p %s\n", p, p->n_name)); - | ~^ - | | - | void * -../../mip/match.c:968:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 968 | F2DEBUG(("findleaf p %p (%s)\n", p, prcook(cookie))); - | ^~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' - 396 | #define F2DEBUG(x) if (f2debug) printf x - | ^ -../../mip/match.c:968:31: note: format string is defined here - 968 | F2DEBUG(("findleaf p %p (%s)\n", p, prcook(cookie))); - | ~^ - | | - | void * -../../mip/regs.c: In function 'insnwalk': -../../mip/regs.c:1074:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1074 | RDEBUG(("insnwalk %p\n", p)); - | ^~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/regs.c:56:45: note: in definition of macro 'RDEBUG' - 56 | #define RDEBUG(x) if (r2debug) printf x - | ^ -./inline.c: In function 'inline_addarg': -./inline.c:171:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] - 171 | SDEBUG(("inline_addarg(%p)\n", ip)); - | ^~~~~~~~~~~~~~~~~~~~~ ~~ - | | - | struct interpass * -./inline.c:70:44: note: in definition of macro 'SDEBUG' - 70 | #define SDEBUG(x) if (sdebug) printf x - | ^ -../../mip/regs.c:1074:28: note: format string is defined here - 1074 | RDEBUG(("insnwalk %p\n", p)); +../../mip/reader.c:1029:28: note: format string is defined here + 1029 | CDEBUG(("rewrite: %p, reg %s\n", p, | ~^ | | | void * -./inline.c:171:33: note: format string is defined here - 171 | SDEBUG(("inline_addarg(%p)\n", ip)); - | ~^ - | | - | void * -../../mip/match.c:1009:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1009 | F2DEBUG(("findleaf: node %p (%s)\n", p, prcook(1 << sh))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' - 396 | #define F2DEBUG(x) if (f2debug) printf x - | ^ -../../mip/match.c:1009:35: note: format string is defined here - 1009 | F2DEBUG(("findleaf: node %p (%s)\n", p, prcook(1 << sh))); - | ~^ - | | - | void * -./inline.c: In function 'printip': -./inline.c:398:42: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] - 398 | printf("IP(%d) (%p): ", ip->type, ip); - | ~^ ~~ - | | | - | void * struct interpass * ../../mip/match.c: In function 'finduni': -./inline.c:400:38: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] - 400 | printf("%s (%p): ", foo[ip->type], ip); - | ~^ ~~ - | | | - | void * struct interpass * ../../mip/match.c:1105:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1105 | F2DEBUG(("finduni: node %p (%s)\n", p, prcook(1 << sh))); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1300,39 +1633,48 @@ ../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ -./inline.c: In function 'inlinetree': +../../mip/optim2.c: In function 'removephi': ../../mip/match.c:1105:34: note: format string is defined here 1105 | F2DEBUG(("finduni: node %p (%s)\n", p, prcook(1 << sh))); | ~^ | | | void * -./inline.c:489:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 489 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | P1ND * {aka struct p1node *} -./inline.c:70:44: note: in definition of macro 'SDEBUG' - 70 | #define SDEBUG(x) if (sdebug) printf x - | ^ -./inline.c:489:30: note: format string is defined here - 489 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); - | ~^ - | | - | void * -./inline.c:489:17: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 489 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ - | | - | P1ND * {aka struct p1node *} -./inline.c:70:44: note: in definition of macro 'SDEBUG' - 70 | #define SDEBUG(x) if (sdebug) printf x - | ^ -./inline.c:489:33: note: format string is defined here - 489 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); +../../mip/optim2.c:1473:41: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] + 1473 | BDEBUG(("removephi: %p in %d",pip,bb->dfnum)); + | ^~~~~~~~~~~~~~~~~~~~~ ~~~ + | | + | struct interpass * +../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' + 42 | #define BDEBUG(x) if (b2debug) printf x + | ^ +../../mip/reader.c: In function 'gencode': +../../mip/optim2.c:1473:54: note: format string is defined here + 1473 | BDEBUG(("removephi: %p in %d",pip,bb->dfnum)); + | ~^ + | | + | void * +../../mip/reader.c:1179:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1179 | CDEBUG(("gencode: node %p\n", p)); + | ^~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' + 942 | #define CDEBUG(x) if (c2debug) printf x + | ^ +../../mip/match.c: In function 'findmops': +../../mip/reader.c:1179:33: note: format string is defined here + 1179 | CDEBUG(("gencode: node %p\n", p)); | ~^ | | | void * -../../mip/match.c: In function 'findmops': +../../mip/optim2.c:1508:65: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] + 1508 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); + | ^~~~~~~~~~~~~~~~~ ~~ + | | + | struct interpass * +../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' + 42 | #define BDEBUG(x) if (b2debug) printf x + | ^ ../../mip/match.c:1248:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1248 | F2DEBUG(("findmops done: node %p class %d\n", p, sh)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1341,221 +1683,38 @@ ../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ -../../mip/regs.c: In function 'dce': +../../mip/optim2.c:1508:68: note: format string is defined here + 1508 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); + | ~^ + | | + | void * ../../mip/match.c:1248:40: note: format string is defined here 1248 | F2DEBUG(("findmops done: node %p class %d\n", p, sh)); | ~^ | | | void * -../../mip/regs.c:1543:26: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] - 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1544 | bbnum, bb->first, bb->last)); - | ~~~~~~~~~ - | | - | struct interpass * -../../mip/regs.c:62:49: note: in definition of macro 'BBDEBUG' - 62 | #define BBDEBUG(x) if (b2debug > 1) printf x - | ^ -../../mip/regs.c:1543:49: note: format string is defined here - 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", - | ~^ - | | - | void * -../../mip/regs.c:1543:26: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct interpass *' [-Wformat=] - 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1544 | bbnum, bb->first, bb->last)); - | ~~~~~~~~ - | | - | struct interpass * -../../mip/regs.c:62:49: note: in definition of macro 'BBDEBUG' - 62 | #define BBDEBUG(x) if (b2debug > 1) printf x +../../mip/regs.c: In function 'addedge_r': +../../mip/regs.c:944:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 944 | RRDEBUG(("addedge_r: node %p regw %p\n", p, w)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/regs.c:57:49: note: in definition of macro 'RRDEBUG' + 57 | #define RRDEBUG(x) if (r2debug > 1) printf x | ^ -../../mip/regs.c:1543:57: note: format string is defined here - 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", - | ~^ - | | - | void * -../../mip/regs.c:1576:49: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] - 1576 | BDEBUG(("bb %d: DCE ip %p deleted\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1577 | bbnum, ip)); - | ~~ - | | - | struct interpass * -../../mip/regs.c:61:45: note: in definition of macro 'BDEBUG' - 61 | #define BDEBUG(x) if (b2debug) printf x - | ^ -../../mip/regs.c:1576:65: note: format string is defined here - 1576 | BDEBUG(("bb %d: DCE ip %p deleted\n", - | ~^ - | | - | void * -../../mip/regs.c: In function 'shorttemp': -../../mip/regs.c:2677:17: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 2677 | RDEBUG(("Node %d (%p) to store\n", ASGNUM(w), p)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/regs.c:56:45: note: in definition of macro 'RDEBUG' - 56 | #define RDEBUG(x) if (r2debug) printf x - | ^ -../../mip/regs.c:2677:28: note: format string is defined here - 2677 | RDEBUG(("Node %d (%p) to store\n", ASGNUM(w), p)); - | ~^ - | | - | void * -../../mip/regs.c:2725:17: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 2725 | RDEBUG(("Stored parent node %d (%p)\n", ASGNUM(w), p)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/regs.c:56:45: note: in definition of macro 'RDEBUG' - 56 | #define RDEBUG(x) if (r2debug) printf x - | ^ -../../mip/regs.c:2725:42: note: format string is defined here - 2725 | RDEBUG(("Stored parent node %d (%p)\n", ASGNUM(w), p)); - | ~^ - | | - | void * -../../mip/regs.c: In function 'ngenregs': -../../mip/regs.c:3075:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'REGW *' {aka 'struct regw *'} [-Wformat=] - 3075 | RDEBUG(("nblock %p num %d size %zu\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 3076 | nblock, tbits, (size_t)(tbits * sizeof(REGW)))); - | ~~~~~~ - | | - | REGW * {aka struct regw *} -../../mip/regs.c:56:45: note: in definition of macro 'RDEBUG' - 56 | #define RDEBUG(x) if (r2debug) printf x +../../mip/optim2.c:1532:65: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] + 1532 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); + | ^~~~~~~~~~~~~~~~~ ~~ + | | + | struct interpass * +../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' + 42 | #define BDEBUG(x) if (b2debug) printf x | ^ -../../mip/regs.c:3075:34: note: format string is defined here - 3075 | RDEBUG(("nblock %p num %d size %zu\n", - | ~^ - | | - | void * -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../mip/reader.c:66: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../arch/amd64/order.c:31: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../mip/optim2.c:29: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:28, - from ../../mip/manifest.h:39, - from ../../common/softfloat.c:29: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./pftn.c:66: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -../../mip/reader.c: In function 'geninsn': -./pftn.c: In function 'defid2': -../../mip/reader.c:810:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 810 | printf("geninsn(%p, %s)\n", p, prcook(cookie)); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -./pftn.c:192:24: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct symtab *' [-Wformat=] - 192 | printf("defid(%s '%s'(%p), ", p->sname, "soname" , p); - | ^~~~~~~~~~~~~~~~~~~~~ ~ - | | - | struct symtab * -./pftn.c:194:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'union dimfun *' [-Wformat=] - 194 | printf(", %s, (%p)), level %d\n\t", scnames(class), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -./pftn.c:219:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'union dimfun *' [-Wformat=] - 219 | printf(", %s, (%p,%p)), level %d\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 220 | scnames(p->sclass), p->sdf, p->sap, slev); - | ~~~~~~ - | | - | union dimfun * -./pftn.c:219:24: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct attr *' [-Wformat=] - 219 | printf(", %s, (%p,%p)), level %d\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 220 | scnames(p->sclass), p->sdf, p->sap, slev); - | ~~~~~~ - | | - | struct attr * -../../mip/reader.c:934:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 934 | printf("geninsn(%p, %s) rv %d\n", p, prcook(cookie), rv); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../mip/reader.c: In function 'ckmove': -./pftn.c:524:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'union dimfun *' [-Wformat=] - 524 | printf( " sdf, offset: %p, %d\n\t", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 525 | p->sdf, p->soffset); - | ~~~~~~ - | | - | union dimfun * -../../mip/reader.c:981:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 981 | CDEBUG(("rmove: node %p, %s -> %s\n", p, rnames[DECRA(q->n_reg, 0)], - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' - 942 | #define CDEBUG(x) if (c2debug) printf x - | ^ -../../mip/reader.c:981:31: note: format string is defined here - 981 | CDEBUG(("rmove: node %p, %s -> %s\n", p, rnames[DECRA(q->n_reg, 0)], - | ~^ - | | - | void * -../../mip/reader.c: In function 'rewrite': -../../mip/reader.c:1029:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1029 | CDEBUG(("rewrite: %p, reg %s\n", p, - | ^~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' - 942 | #define CDEBUG(x) if (c2debug) printf x - | ^ -../../mip/reader.c:1029:28: note: format string is defined here - 1029 | CDEBUG(("rewrite: %p, reg %s\n", p, - | ~^ - | | - | void * -./pftn.c: In function 'dclstruct': -./pftn.c:985:32: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] - 985 | printf("\tmember %s(%p)\n", sp->sname, sp); - | ^~~~~~~~~~~~~~~~~~~ ~~ - | | - | struct symtab * -../../mip/reader.c: In function 'gencode': -../../mip/reader.c:1179:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1179 | CDEBUG(("gencode: node %p\n", p)); - | ^~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' - 942 | #define CDEBUG(x) if (c2debug) printf x - | ^ -../../mip/reader.c:1179:33: note: format string is defined here - 1179 | CDEBUG(("gencode: node %p\n", p)); - | ~^ - | | - | void * -./pftn.c: In function 'arglist': +../../mip/regs.c:944:36: note: format string is defined here + 944 | RRDEBUG(("addedge_r: node %p regw %p\n", p, w)); + | ~^ + | | + | void * ../../mip/reader.c:1267:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1267 | CDEBUG(("gencode(%p) assign nothing\n", p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1564,16 +1723,29 @@ ../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' 942 | #define CDEBUG(x) if (c2debug) printf x | ^ +../../mip/optim2.c:1532:68: note: format string is defined here + 1532 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); + | ~^ + | | + | void * ../../mip/reader.c:1267:35: note: format string is defined here 1267 | CDEBUG(("gencode(%p) assign nothing\n", p)); | ~^ | | | void * -./pftn.c:1910:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 1910 | printf("arglist %p\n", n); - | ^~~~~~~~~~~~~~ ~ - | | - | P1ND * {aka struct p1node *} +../../mip/regs.c:944:18: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'REGW *' {aka 'struct regw *'} [-Wformat=] + 944 | RRDEBUG(("addedge_r: node %p regw %p\n", p, w)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | REGW * {aka struct regw *} +../../mip/regs.c:57:49: note: in definition of macro 'RRDEBUG' + 57 | #define RRDEBUG(x) if (r2debug > 1) printf x + | ^ +../../mip/regs.c:944:44: note: format string is defined here + 944 | RRDEBUG(("addedge_r: node %p regw %p\n", p, w)); + | ~^ + | | + | void * ../../mip/reader.c:1272:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1272 | CDEBUG(("emitting node %p\n", p)); | ^~~~~~~~~~~~~~~~~~~~ ~ @@ -1582,26 +1754,40 @@ ../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' 942 | #define CDEBUG(x) if (c2debug) printf x | ^ -../../common/softfloat.c: In function 'soft_minus': -../../common/softfloat.c:957:16: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 957 | return soft_plus(x1, x2, t); - | ^~~~~~~~~~~~~~~~~~~~ +../../mip/regs.c: In function 'setxarg': +../../mip/optim2.c:1570:65: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] + 1570 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); + | ^~~~~~~~~~~~~~~~~ ~~ + | | + | struct interpass * +../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' + 42 | #define BDEBUG(x) if (b2debug) printf x + | ^ ../../mip/reader.c:1272:33: note: format string is defined here 1272 | CDEBUG(("emitting node %p\n", p)); | ~^ | | | void * -../../common/softfloat.c:954:1: note: declared here - 954 | soft_minus(SFP x1, SFP x2, TWORD t) - | ^~~~~~~~~~ -../../arch/amd64/order.c: In function 'offstar': -../../arch/amd64/order.c:87:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 87 | printf("offstar(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -./pftn.c: In function 'tymerge': -../../arch/amd64/order.c: In function 'myormake': +../../mip/regs.c:991:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 991 | RDEBUG(("setxarg %p %s\n", p, p->n_name)); + | ^~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/regs.c:56:45: note: in definition of macro 'RDEBUG' + 56 | #define RDEBUG(x) if (r2debug) printf x + | ^ +../../mip/optim2.c:1570:68: note: format string is defined here + 1570 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); + | ~^ + | | + | void * +../../mip/regs.c:991:27: note: format string is defined here + 991 | RDEBUG(("setxarg %p %s\n", p, p->n_name)); + | ~^ + | | + | void * +../../mip/regs.c: In function 'insnwalk': +../../mip/optim2.c: In function 'printip2': ../../mip/reader.c:1281:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1281 | CDEBUG(("gencode(%p) rmove\n", p)); | ^~~~~~~~~~~~~~~~~~~~~ ~ @@ -1610,32 +1796,35 @@ ../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' 942 | #define CDEBUG(x) if (c2debug) printf x | ^ -./pftn.c:2110:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 2110 | printf("tymerge(%p,%p)\n", typ, idp); - | ^~~~~~~~~~~~~~~~~~ ~~~ - | | - | P1ND * {aka struct p1node *} +../../mip/regs.c:1074:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1074 | RDEBUG(("insnwalk %p\n", p)); + | ^~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/regs.c:56:45: note: in definition of macro 'RDEBUG' + 56 | #define RDEBUG(x) if (r2debug) printf x + | ^ ../../mip/reader.c:1281:35: note: format string is defined here 1281 | CDEBUG(("gencode(%p) rmove\n", p)); | ~^ | | | void * -../../arch/amd64/order.c:146:35: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 146 | printf("myormake(%p)\n", q); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -./pftn.c:2110:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 2110 | printf("tymerge(%p,%p)\n", typ, idp); - | ^~~~~~~~~~~~~~~~~~ ~~~ - | | - | P1ND * {aka struct p1node *} -../../arch/amd64/order.c:186:45: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 186 | printf("myormake converted %p\n", q); - | ~^ ~ - | | | - | | NODE * {aka struct node *} - | void * +./trees.c: In function 'tymatch': +../../mip/regs.c:1074:28: note: format string is defined here + 1074 | RDEBUG(("insnwalk %p\n", p)); + | ~^ + | | + | void * +../../mip/optim2.c:1640:34: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] + 1640 | printf("IP(%d) (%p): ", ip->type, ip); + | ~^ ~~ + | | | + | void * struct interpass * +./trees.c:1633:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 1633 | printf("tymatch(%p): ", p); + | ~^ ~ + | | | + | void * P1ND * {aka struct p1node *} ../../mip/reader.c:1287:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1287 | CDEBUG(("gencode(%p) retreg\n", p)); | ^~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1644,19 +1833,16 @@ ../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' 942 | #define CDEBUG(x) if (c2debug) printf x | ^ -../../common/softfloat.c: In function 'decbig': +../../mip/optim2.c:1642:30: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] + 1642 | printf("%s (%p): ", foo[ip->type], ip); + | ~^ ~~ + | | | + | void * struct interpass * ../../mip/reader.c:1287:35: note: format string is defined here 1287 | CDEBUG(("gencode(%p) retreg\n", p)); | ~^ | | | void * -../../common/softfloat.c:1264:17: warning: range expressions in switch statements are non-standard [-Wpedantic] - 1264 | case '0' ... '9': - | ^~~~ -../../common/softfloat.c: In function 'hexbig': -../../common/softfloat.c:1332:17: warning: range expressions in switch statements are non-standard [-Wpedantic] - 1332 | case 'a' ... 'f': - | ^~~~ ../../mip/reader.c:1299:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1299 | CDEBUG(("gencode(%p) nspec retreg\n", p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1665,35 +1851,17 @@ ../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' 942 | #define CDEBUG(x) if (c2debug) printf x | ^ -../../common/softfloat.c:1335:17: warning: range expressions in switch statements are non-standard [-Wpedantic] - 1335 | case 'A' ... 'F': - | ^~~~ +../../mip/optim2.c: In function 'printflowdiagram': ../../mip/reader.c:1299:43: note: format string is defined here 1299 | CDEBUG(("gencode(%p) nspec retreg\n", p)); | ~^ | | | void * -../../common/softfloat.c:1338:17: warning: range expressions in switch statements are non-standard [-Wpedantic] - 1338 | case '0' ... '9': - | ^~~~ -../../arch/amd64/order.c: In function 'shumul': -../../arch/amd64/order.c:199:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 199 | printf("shumul(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../arch/amd64/order.c: In function 'setbin': -../../arch/amd64/order.c:216:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 216 | printf("setbin(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../arch/amd64/order.c: In function 'setasg': -../../arch/amd64/order.c:226:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 226 | printf("setasg(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} +../../mip/optim2.c:1789:46: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] + 1789 | fprintf(flowdiagramfile, "bb%p [shape=record ",bbb); + | ~^ ~~~ + | | | + | void * struct basicblock * ../../mip/reader.c:1304:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1304 | CDEBUG(("gencode(%p) RESC1 retreg\n", p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1707,176 +1875,6 @@ | ~^ | | | void * -../../mip/reader.c: In function 'e2print': -../../mip/reader.c:1348:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1348 | printf("%p) %s", p, opst[p->n_op] ); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -./main.c: In function 'segvcatch': -./main.c:70:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 70 | (void)write(STDERR_FILENO, buf, strlen(buf)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../mip/optim2.c: In function 'bblocks_build': -../../mip/optim2.c:712:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct labelinfo *' [-Wformat=] - 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ - | | - | struct labelinfo * -../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' - 42 | #define BDEBUG(x) if (b2debug) printf x - | ^ -../../mip/optim2.c:712:34: note: format string is defined here - 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); - | ~^ - | | - | void * -../../mip/optim2.c:712:17: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct bblockinfo *' [-Wformat=] - 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ - | | - | struct bblockinfo * -../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' - 42 | #define BDEBUG(x) if (b2debug) printf x - | ^ -../../mip/optim2.c:712:38: note: format string is defined here - 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); - | ~^ - | | - | void * -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o scan.o scan.c -../../mip/optim2.c:758:41: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] - 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, - | ~^ ~~ - | | | - | void * struct basicblock * -../../mip/optim2.c:758:51: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct interpass *' [-Wformat=] - 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, - | ~^ - | | - | void * - 759 | bb->first, bb->last); - | ~~~~~~~~~ - | | - | struct interpass * -../../mip/optim2.c:758:59: warning: format '%p' expects argument of type 'void *', but argument 5 has type 'struct interpass *' [-Wformat=] - 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, - | ~^ - | | - | void * - 759 | bb->first, bb->last); - | ~~~~~~~~ - | | - | struct interpass * -../../mip/optim2.c:795:58: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] - 795 | printf("Label %d bblock %p\n", i+low, - | ~^ - | | - | void * - 796 | p2e->labinfo.arr[i]); - | ~~~~~~~~~~~~~~~~~~~ - | | - | struct basicblock * -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o stabs.o ./stabs.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o symtabs.o ./symtabs.c -../../mip/optim2.c: In function 'placePhiFunctions': -../../mip/optim2.c:1194:69: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct basicblock *' [-Wformat=] - 1194 | printf("Phi in %d(%d) (%p) for %d\n", - | ~^ - | | - | void * - 1195 | y->dfnum,y->bbnum,y,i+defsites.low); - | ~ - | | - | struct basicblock * -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:28, - from lex.yy.c:19: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -../../mip/optim2.c: In function 'removephi': -../../mip/optim2.c:1473:41: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] - 1473 | BDEBUG(("removephi: %p in %d",pip,bb->dfnum)); - | ^~~~~~~~~~~~~~~~~~~~~ ~~~ - | | - | struct interpass * -../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' - 42 | #define BDEBUG(x) if (b2debug) printf x - | ^ -../../mip/optim2.c:1473:54: note: format string is defined here - 1473 | BDEBUG(("removephi: %p in %d",pip,bb->dfnum)); - | ~^ - | | - | void * -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./stabs.c:37: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -../../mip/optim2.c:1508:65: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] - 1508 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); - | ^~~~~~~~~~~~~~~~~ ~~ - | | - | struct interpass * -../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' - 42 | #define BDEBUG(x) if (b2debug) printf x - | ^ -../../mip/optim2.c:1508:68: note: format string is defined here - 1508 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); - | ~^ - | | - | void * -../../mip/optim2.c:1532:65: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] - 1532 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); - | ^~~~~~~~~~~~~~~~~ ~~ - | | - | struct interpass * -../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' - 42 | #define BDEBUG(x) if (b2debug) printf x - | ^ -../../mip/optim2.c:1532:68: note: format string is defined here - 1532 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); - | ~^ - | | - | void * -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./symtabs.c:30: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -../../mip/optim2.c:1570:65: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] - 1570 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); - | ^~~~~~~~~~~~~~~~~ ~~ - | | - | struct interpass * -../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' - 42 | #define BDEBUG(x) if (b2debug) printf x - | ^ -../../mip/optim2.c:1570:68: note: format string is defined here - 1570 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); - | ~^ - | | - | void * -../../mip/optim2.c: In function 'printip2': -../../mip/optim2.c:1640:34: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] - 1640 | printf("IP(%d) (%p): ", ip->type, ip); - | ~^ ~~ - | | | - | void * struct interpass * -../../mip/optim2.c:1642:30: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] - 1642 | printf("%s (%p): ", foo[ip->type], ip); - | ~^ ~~ - | | | - | void * struct interpass * -../../mip/optim2.c: In function 'printflowdiagram': -../../mip/optim2.c:1789:46: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] - 1789 | fprintf(flowdiagramfile, "bb%p [shape=record ",bbb); - | ~^ ~~~ - | | | - | void * struct basicblock * ../../mip/optim2.c:1840:54: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] 1840 | fprintf(flowdiagramfile, "bb%p -> bb%p [color=%s]\n", | ~^ @@ -1886,6 +1884,8 @@ | ~~~ | | | struct basicblock * +../../mip/reader.c: In function 'e2print': +./trees.c: In function 'eprint': ../../mip/optim2.c:1840:62: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct basicblock *' [-Wformat=] 1840 | fprintf(flowdiagramfile, "bb%p -> bb%p [color=%s]\n", | ~^ @@ -1895,97 +1895,133 @@ | ~~~~~~~~~~ | | | struct basicblock * -./symtabs.c: In function 'hide': -./symtabs.c:363:51: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct symtab *' [-Wformat=] - 363 | printf("\t%s hidden at level %d (%p -> %p)\n", - | ~^ - | | - | void * - 364 | sym->sname, blevel, sym, new); - | ~~~ - | | - | struct symtab * -./symtabs.c:363:57: warning: format '%p' expects argument of type 'void *', but argument 5 has type 'struct symtab *' [-Wformat=] - 363 | printf("\t%s hidden at level %d (%p -> %p)\n", - | ~^ - | | - | void * - 364 | sym->sname, blevel, sym, new); - | ~~~ - | | - | struct symtab * -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o table.o ../../arch/amd64/table.c -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../arch/amd64/table.c:31: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o trees.o ./trees.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o unicode.o ../../common/unicode.c -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./trees.c:69: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:28, - from ../../common/unicode.c:31: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -./trees.c: In function 'buildtree': -./trees.c:173:40: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 173 | printf("buildtree(%s, %p, %p)\n", copst(o), l, r); - | ~^ ~ - | | | - | void * P1ND * {aka struct p1node *} -./trees.c:173:44: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 173 | printf("buildtree(%s, %p, %p)\n", copst(o), l, r); - | ~^ ~ - | | | - | void * P1ND * {aka struct p1node *} -./trees.c: In function 'tymatch': -./trees.c:1633:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 1633 | printf("tymatch(%p): ", p); - | ~^ ~ - | | | - | void * P1ND * {aka struct p1node *} -./trees.c: In function 'eprint': +../../mip/reader.c:1348:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1348 | printf("%p) %s", p, opst[p->n_op] ); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} ./trees.c:1994:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 1994 | printf("%p) %s, ", p, copst(p->n_op)); | ~^ ~ | | | | void * P1ND * {aka struct p1node *} +../../mip/regs.c: In function 'dce': +../../mip/regs.c:1543:26: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] + 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1544 | bbnum, bb->first, bb->last)); + | ~~~~~~~~~ + | | + | struct interpass * +../../mip/regs.c:62:49: note: in definition of macro 'BBDEBUG' + 62 | #define BBDEBUG(x) if (b2debug > 1) printf x + | ^ ./trees.c:2000:36: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct symtab *' [-Wformat=] 2000 | printf(", %p, ", p->n_sp); | ~^ | | | void * +../../mip/regs.c:1543:49: note: format string is defined here + 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", + | ~^ + | | + | void * ./trees.c:2009:21: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'union dimfun *' [-Wformat=] 2009 | printf( ", %p, ", p->n_df); | ~^ | | | void * +../../mip/regs.c:1543:26: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct interpass *' [-Wformat=] + 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1544 | bbnum, bb->first, bb->last)); + | ~~~~~~~~ + | | + | struct interpass * +../../mip/regs.c:62:49: note: in definition of macro 'BBDEBUG' + 62 | #define BBDEBUG(x) if (b2debug > 1) printf x + | ^ +../../mip/regs.c:1543:57: note: format string is defined here + 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", + | ~^ + | | + | void * +../../mip/regs.c:1576:49: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] + 1576 | BDEBUG(("bb %d: DCE ip %p deleted\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1577 | bbnum, ip)); + | ~~ + | | + | struct interpass * +../../mip/regs.c:61:45: note: in definition of macro 'BDEBUG' + 61 | #define BDEBUG(x) if (b2debug) printf x + | ^ +../../mip/regs.c:1576:65: note: format string is defined here + 1576 | BDEBUG(("bb %d: DCE ip %p deleted\n", + | ~^ + | | + | void * ./trees.c: In function 'p1nfree': +../../mip/regs.c: In function 'shorttemp': ./trees.c:3440:41: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 3440 | printf("freeing p1node %p\n", p); | ~^ ~ | | | | | P1ND * {aka struct p1node *} | void * +../../mip/regs.c:2677:17: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 2677 | RDEBUG(("Node %d (%p) to store\n", ASGNUM(w), p)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/regs.c:56:45: note: in definition of macro 'RDEBUG' + 56 | #define RDEBUG(x) if (r2debug) printf x + | ^ ./trees.c: In function 'p1alloc': +../../mip/regs.c:2677:28: note: format string is defined here + 2677 | RDEBUG(("Node %d (%p) to store\n", ASGNUM(w), p)); + | ~^ + | | + | void * ./trees.c:3461:47: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 3461 | printf("alloc p1node %p from freelist\n", p); | ~^ ~ | | | | void * P1ND * {aka struct p1node *} +../../mip/regs.c:2725:17: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 2725 | RDEBUG(("Stored parent node %d (%p)\n", ASGNUM(w), p)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/regs.c:56:45: note: in definition of macro 'RDEBUG' + 56 | #define RDEBUG(x) if (r2debug) printf x + | ^ +../../mip/regs.c:2725:42: note: format string is defined here + 2725 | RDEBUG(("Stored parent node %d (%p)\n", ASGNUM(w), p)); + | ~^ + | | + | void * ./trees.c:3468:39: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 3468 | printf("alloc p1node %p from memory\n", p); | ~^ ~ | | | | void * P1ND * {aka struct p1node *} +../../mip/regs.c: In function 'ngenregs': +../../mip/regs.c:3075:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'REGW *' {aka 'struct regw *'} [-Wformat=] + 3075 | RDEBUG(("nblock %p num %d size %zu\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 3076 | nblock, tbits, (size_t)(tbits * sizeof(REGW)))); + | ~~~~~~ + | | + | REGW * {aka struct regw *} +../../mip/regs.c:56:45: note: in definition of macro 'RDEBUG' + 56 | #define RDEBUG(x) if (r2debug) printf x + | ^ +../../mip/regs.c:3075:34: note: format string is defined here + 3075 | RDEBUG(("nblock %p num %d size %zu\n", + | ~^ + | | + | void * ../../common/softfloat.c: In function 'strtosf': ../../common/softfloat.c:76:17: warning: 'e' may be used uninitialized [-Wmaybe-uninitialized] 76 | #define LDBLPTR fpis[SF_LDOUBLE] @@ -2001,7 +2037,7 @@ <=== cc/ccom ===> cc/cxxcom make[3]: Entering directory '/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/cc/cxxcom' -make[3]: warning: -j20 forced in submake: resetting jobserver mode. +make[3]: warning: -j42 forced in submake: resetting jobserver mode. gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -DMKEXT -c -o mkext.lo ../../mip/mkext.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -DMKEXT -c -o common.lo ../../mip/common.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -DMKEXT -c -o table.lo ../../arch/amd64/table.c @@ -2020,19 +2056,7 @@ 256 | %type C_STRUCT C_RELOP C_DIVOP C_SHIFTOP | ^~~~~~~~ ./cgram.y:256.26-32: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] - 256 | %In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../mip/mkext.c:6: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -type C_In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:26, - from ../../mip/common.c:63: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -STRUCT C_RELOP C_DIVOP C_SHIFTOP + 256 | %type C_STRUCT C_RELOP C_DIVOP C_SHIFTOP | ^~~~~~~ ./cgram.y:256.34-40: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 256 | %type C_STRUCT C_RELOP C_DIVOP C_SHIFTOP @@ -2071,13 +2095,7 @@ 259 | %type C_TYPE C_QUALIFIER C_ICON C_FCON C_CLASS | ^~~~~~ ./cgram.y:259.43-48: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] - 259 | %type In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../arch/amd64/table.c:31: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ - C_TYPE C_QUALIFIER C_ICON C_FCON C_CLASS + 259 | %type C_TYPE C_QUALIFIER C_ICON C_FCON C_CLASS | ^~~~~~ ./cgram.y:259.50-56: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 259 | %type C_TYPE C_QUALIFIER C_ICON C_FCON C_CLASS @@ -2088,22 +2106,40 @@ ./cgram.y:260.24-33: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 260 | %type C_NAME C_TYPENAME | ^~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../mip/mkext.c:6: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../arch/amd64/table.c:31: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ mv -f lex.yy.c scan.c +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:26, + from ../../mip/common.c:63: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ ./cgram.y: warning: 4 shift/reduce conflicts [-Wconflicts-sr] ./cgram.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples ../../mip/pass2.h:561:17: warning: ISO C forbids zero-size array 'p_regs' [-Wpedantic] 561 | bittype p_regs[NIPPREGS]; /* Bitmask of registers to save */ | ^~~~~~ -In file included from ../../mip/common.c:67: ../../mip/pass2.h:561:17: warning: ISO C forbids zero-size array 'p_regs' [-Wpedantic] 561 | bittype p_regs[NIPPREGS]; /* Bitmask of registers to save */ | ^~~~~~ +In file included from ../../mip/common.c:67: ../../mip/pass2.h:561:17: warning: ISO C forbids zero-size array 'p_regs' [-Wpedantic] 561 | bittype p_regs[NIPPREGS]; /* Bitmask of registers to save */ | ^~~~~~ -gcc -Wl,-z,relro -Wl,-z,now mkext.lo common.lo table.lo -o mkext mv -f y.tab.c cgram.c mv -f y.tab.h cgram.h +gcc -Wl,-z,relro -Wl,-z,now mkext.lo common.lo table.lo -o mkext ./mkext gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o builtins.o ./builtins.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o cgram.o cgram.c @@ -2115,14 +2151,21 @@ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o init.o ./init.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o inline.o ./inline.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o local.o ../../arch/amd64/local.c -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./builtins.c:27: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o local2.o ../../arch/amd64/local2.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o main.o ./main.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o cxxcode.o ./cxxcode.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o match.o ../../mip/match.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o optim.o ./optim.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o optim2.o ../../mip/optim2.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o order.o ../../arch/amd64/order.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o pftn.o ./pftn.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o reader.o ../../mip/reader.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o regs.o ../../mip/regs.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o scan.o scan.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o stabs.o ./stabs.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o symtabs.o ./symtabs.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o table.o ../../arch/amd64/table.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o trees.o ./trees.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from pass1.h:38, from ./cgram.y:157: @@ -2131,32 +2174,49 @@ | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, + from ./gcc_compat.c:34: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, from ../../arch/amd64/code.c:31: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o cxxcode.o ./cxxcode.c +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:26, + from ../../mip/common.c:63: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, from external.c:1: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from ../../common/compat.c:61: +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ../../arch/amd64/local.c:29: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./gcc_compat.c:34: + from ../../mip/pass2.h:35, + from ../../arch/amd64/local2.c:30: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:26, - from ../../mip/common.c:63: + from /usr/include/string.h:26, + from ../../common/compat.c:61: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./inline.c:28: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ @@ -2166,10 +2226,15 @@ /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o match.o ../../mip/match.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, - from ../../arch/amd64/local2.c:30: + from ../../mip/match.c:63: +/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./builtins.c:27: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ @@ -2178,191 +2243,45 @@ /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o optim.o ./optim.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ./inline.c:28: + from ./cxxcode.c:27: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o optim2.o ../../mip/optim2.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o order.o ../../arch/amd64/order.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o pftn.o ./pftn.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o reader.o ../../mip/reader.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o regs.o ../../mip/regs.c -../../mip/common.c: In function 'talloc': -../../mip/common.c:348:45: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 348 | printf("alloc node %p from freelist\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../mip/common.c:356:37: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 356 | printf("alloc node %p from memory\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../mip/common.c: In function 'nfree': -../../mip/common.c:441:39: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 441 | printf("freeing node %p\n", p); - | ~^ ~ - | | | - | | NODE * {aka struct node *} - | void * -./init.c: In function 'beginit': -./init.c:374:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct symtab *' [-Wformat=] - 374 | printf("beginit(%p), sclass %s\n", sp, scnames(sp->sclass)); - | ~^ ~~ - | | | - | void * struct symtab * -./init.c:380:59: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] - 380 | printf("beginit: saving ctx pstk %p\n", pstk); - | ~^ ~~~~ - | | | - | | struct instk * - | void * In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ./cxxcode.c:27: + from ./optim.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -./inline.c: In function 'tcnt': -./inline.c:91:39: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 91 | printf("locking node %p\n", p); - | ~^ ~ - | | | - | | NODE * {aka struct node *} - | void * -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o scan.o scan.c -./inline.c: In function 'inline_addarg': -./inline.c:123:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] - 123 | SDEBUG(("inline_addarg(%p)\n", ip)); - | ^~~~~~~~~~~~~~~~~~~~~ ~~ - | | - | struct interpass * -./inline.c:70:44: note: in definition of macro 'SDEBUG' - 70 | #define SDEBUG(x) if (sdebug) printf x - | ^ -./inline.c:123:33: note: format string is defined here - 123 | SDEBUG(("inline_addarg(%p)\n", ip)); - | ~^ - | | - | void * In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ../../arch/amd64/local.c:29: + from ./pftn.c:66: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -./inline.c: In function 'printip': -./init.c: In function 'nsetval': -./inline.c:325:42: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] - 325 | printf("IP(%d) (%p): ", ip->type, ip); - | ~^ ~~ - | | | - | void * struct interpass * -./init.c:608:24: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 608 | printf("setval: off " CONFMT " fsz %d p %p\n", off, fsz, p); - | ^~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -./inline.c:327:38: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] - 327 | printf("%s (%p): ", foo[ip->type], ip); - | ~^ ~~ - | | | - | void * struct interpass * -./init.c:608:58: note: format string is defined here - 608 | printf("setval: off " CONFMT " fsz %d p %p\n", off, fsz, p); - | ~^ - | | - | void * -./inline.c: In function 'inlinetree': -./init.c: In function 'scalinit': -./inline.c:409:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 409 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -./inline.c:70:44: note: in definition of macro 'SDEBUG' - 70 | #define SDEBUG(x) if (sdebug) printf x - | ^ -./inline.c:409:30: note: format string is defined here - 409 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); - | ~^ - | | - | void * -./init.c:650:35: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 650 | printf("scalinit(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -./inline.c:409:17: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 409 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ - | | - | NODE * {aka struct node *} -./inline.c:70:44: note: in definition of macro 'SDEBUG' - 70 | #define SDEBUG(x) if (sdebug) printf x - | ^ -./inline.c:409:33: note: format string is defined here - 409 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); - | ~^ - | | - | void * -./init.c:714:37: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 714 | printf("scalinit e(%p)\n", q); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -./init.c: In function 'endictx': -./init.c:891:54: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] - 891 | printf("endinit: restoring ctx pstk %p\n", pstk); - | ~^ ~~~~ - | | | - | | struct instk * - | void * -./init.c: In function 'mkstack': -./init.c:962:35: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 962 | printf("mkstack: %p\n", p); - | ~^ ~ - | | | - | | NODE * {aka struct node *} - | void * In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, - from ../../mip/match.c:63: + from ../../mip/optim2.c:29: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -./init.c: In function 'asginit': -./init.c:1067:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1067 | printf("asginit %p\n", p); - | ~^ ~ - | | | - | | NODE * {aka struct node *} - | void * -./init.c: In function 'prtstk': -./init.c:1123:26: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] - 1123 | printf("%p) '%s' ", in, in->in_sym->sname); - | ~^ ~~ - | | | - | void * struct instk * -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o stabs.o ./stabs.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ./optim.c:36: + from ./stabs.c:37: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, - from ../../mip/optim2.c:29: + from ../../arch/amd64/order.c:31: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../mip/reader.c:66: + from ./pass1.h:38, + from ./trees.c:69: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ @@ -2373,18 +2292,14 @@ 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./pftn.c:66: + from ../../mip/pass2.h:35, + from ../../mip/reader.c:66: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -./main.c: In function 'segvcatch': -./main.c:69:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 69 | (void)write(STDERR_FILENO, buf, strlen(buf)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, - from ../../arch/amd64/order.c:31: + from ../../arch/amd64/table.c:31: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ @@ -2396,7 +2311,7 @@ | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ./stabs.c:37: + from ./symtabs.c:30: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ @@ -2420,20 +2335,7 @@ | ~^ | | | void * -In file included from /usr/include/string.h:548, - from ./pass1.h:40: -In function 'memcpy', - inlined from 'builtin_nanx' at ./builtins.c:600:3: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' forming offset [12, 15] is out of the bounds [0, 12] of object 'nLDOUBLE' with type 'const unsigned char[12]' [-Warray-bounds=] - 29 | return __builtin___memcpy_chk (__dest, __src, __len, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 30 | __glibc_objsize0 (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../mip/match.c: In function 'shswitch': -./builtins.c: In function 'builtin_nanx': -./builtins.c:545:28: note: 'nLDOUBLE' declared here - 545 | static const unsigned char nLDOUBLE[] = { 0, 0, 0, 0, 0, 0, 0, 0xc0, 0xff, 0x7f, 0, 0 }; - | ^~~~~~~~ ../../mip/match.c:497:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 497 | F2DEBUG(("shswitch: p=%p, shape=%s, ", p, prcook(shape))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2461,13 +2363,6 @@ | ~^ | | | void * -../../arch/amd64/local.c: In function 'clocal': -../../arch/amd64/local.c:308:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 308 | printf("clocal: %p\n", p); - | ~^ ~ - | | | - | | NODE * {aka struct node *} - | void * ../../mip/match.c:644:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 644 | F2DEBUG(("findops: node %p sh %d (%s)\n", p, sh, prcook(1 << sh))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2481,6 +2376,13 @@ | ~^ | | | void * +../../arch/amd64/local.c: In function 'clocal': +../../arch/amd64/local.c:308:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 308 | printf("clocal: %p\n", p); + | ~^ ~ + | | | + | | NODE * {aka struct node *} + | void * ../../mip/match.c: In function 'relops': ../../mip/match.c:741:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 741 | F2DEBUG(("relops: node %p\n", p)); @@ -2490,18 +2392,18 @@ ../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ -../../arch/amd64/local.c:497:38: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 497 | printf("clocal end: %p\n", p); - | ~^ ~ - | | | - | | NODE * {aka struct node *} - | void * ../../mip/match.c:741:33: note: format string is defined here 741 | F2DEBUG(("relops: node %p\n", p)); | ~^ | | | void * ../../mip/match.c: In function 'findasg': +../../arch/amd64/local.c:497:38: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 497 | printf("clocal end: %p\n", p); + | ~^ ~ + | | | + | | NODE * {aka struct node *} + | void * ../../mip/match.c:874:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 874 | F2DEBUG(("findasg: node %p class %d\n", p, sh)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2515,13 +2417,8 @@ | ~^ | | | void * -./cxxcode.c: In function 'cxxdclstr': ../../mip/match.c: In function 'findumul': -./cxxcode.c:562:44: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] - 562 | if (cppdebug)printf("declaring2 struct %s %p nscur %s\n", n, sp, nscur->sname); - | ~^ ~~ - | | | - | void * struct symtab * +./pftn.c: In function 'defid': ../../mip/match.c:897:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 897 | F2DEBUG(("findumul p %p (%s)\n", p, prcook(cookie))); | ^~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2530,36 +2427,47 @@ ../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ +./pftn.c:165:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] + 165 | printf("defid(%s (%p), ", p->sname, p); + | ^~~~~~~~~~~~~~~~~ ~ + | | + | struct symtab * +./pftn.c:167:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'union dimfun *' [-Wformat=] + 167 | printf(", %s, (%p)), level %d\n\t", scnames(class), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +./pftn.c:192:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'union dimfun *' [-Wformat=] + 192 | printf(", %s, (%p,%p)), level %d\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 193 | scnames(p->sclass), p->sdf, p->sap, slev); + | ~~~~~~ + | | + | union dimfun * +./pftn.c:192:24: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct attr *' [-Wformat=] + 192 | printf(", %s, (%p,%p)), level %d\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 193 | scnames(p->sclass), p->sdf, p->sap, slev); + | ~~~~~~ + | | + | struct attr * ../../mip/match.c:897:31: note: format string is defined here 897 | F2DEBUG(("findumul p %p (%s)\n", p, prcook(cookie))); | ~^ | | | void * -../../arch/amd64/order.c: In function 'offstar': +./cxxcode.c: In function 'cxxdclstr': +./cxxcode.c:562:44: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] + 562 | if (cppdebug)printf("declaring2 struct %s %p nscur %s\n", n, sp, nscur->sname); + | ~^ ~~ + | | | + | void * struct symtab * ./cxxcode.c: In function 'symwalk': -../../arch/amd64/order.c:87:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 87 | printf("offstar(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -./cxxcode.c:575:30: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] - 575 | printf("%s (%p) %s\n", sp->sname, sp, scnames(sp->sclass)); - | ~^ ~~ - | | | - | void * struct symtab * -../../arch/amd64/order.c: In function 'myormake': -../../arch/amd64/order.c:146:35: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 146 | printf("myormake(%p)\n", q); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../arch/amd64/order.c:186:45: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 186 | printf("myormake converted %p\n", q); - | ~^ ~ - | | | - | | NODE * {aka struct node *} - | void * -../../arch/amd64/order.c: In function 'shumul': +./pftn.c:474:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'union dimfun *' [-Wformat=] + 474 | printf( " sdf, offset: %p, %d\n\t", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 475 | p->sdf, p->soffset); + | ~~~~~~ + | | + | union dimfun * ../../mip/match.c:950:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 950 | F2DEBUG(("findumul: node %p (%s)\n", p, prcook(1 << sh))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2568,28 +2476,16 @@ ../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ -../../arch/amd64/order.c:199:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 199 | printf("shumul(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../arch/amd64/order.c: In function 'setbin': -../../arch/amd64/order.c:216:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 216 | printf("setbin(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} +./cxxcode.c:575:30: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] + 575 | printf("%s (%p) %s\n", sp->sname, sp, scnames(sp->sclass)); + | ~^ ~~ + | | | + | void * struct symtab * ../../mip/match.c:950:35: note: format string is defined here 950 | F2DEBUG(("findumul: node %p (%s)\n", p, prcook(1 << sh))); | ~^ | | | void * -../../arch/amd64/order.c: In function 'setasg': -../../arch/amd64/order.c:226:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 226 | printf("setasg(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} ../../mip/match.c: In function 'findleaf': ../../mip/match.c:968:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 968 | F2DEBUG(("findleaf p %p (%s)\n", p, prcook(cookie))); @@ -2617,40 +2513,59 @@ | ~^ | | | void * -./pftn.c: In function 'defid': -./pftn.c:165:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] - 165 | printf("defid(%s (%p), ", p->sname, p); - | ^~~~~~~~~~~~~~~~~ ~ - | | - | struct symtab * -./pftn.c:167:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'union dimfun *' [-Wformat=] - 167 | printf(", %s, (%p)), level %d\n\t", scnames(class), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -./pftn.c:192:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'union dimfun *' [-Wformat=] - 192 | printf(", %s, (%p,%p)), level %d\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 193 | scnames(p->sclass), p->sdf, p->sap, slev); - | ~~~~~~ - | | - | union dimfun * -./pftn.c:192:24: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct attr *' [-Wformat=] - 192 | printf(", %s, (%p,%p)), level %d\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 193 | scnames(p->sclass), p->sdf, p->sap, slev); - | ~~~~~~ - | | - | struct attr * -../../mip/reader.c: In function 'geninsn': -../../mip/reader.c:810:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 810 | printf("geninsn(%p, %s)\n", p, prcook(cookie)); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} +./pftn.c: In function 'dclstruct': +./inline.c: In function 'tcnt': +./inline.c:91:39: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 91 | printf("locking node %p\n", p); + | ~^ ~ + | | | + | | NODE * {aka struct node *} + | void * +./inline.c: In function 'inline_addarg': +./inline.c:123:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] + 123 | SDEBUG(("inline_addarg(%p)\n", ip)); + | ^~~~~~~~~~~~~~~~~~~~~ ~~ + | | + | struct interpass * +./inline.c:70:44: note: in definition of macro 'SDEBUG' + 70 | #define SDEBUG(x) if (sdebug) printf x + | ^ ../../arch/amd64/local.c: At top level: +./inline.c:123:33: note: format string is defined here + 123 | SDEBUG(("inline_addarg(%p)\n", ip)); + | ~^ + | | + | void * +./pftn.c:963:32: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] + 963 | printf("\tmember %s(%p)\n", sp->sname, sp); + | ^~~~~~~~~~~~~~~~~~~ ~~ + | | + | struct symtab * ../../arch/amd64/local.c:265:1: warning: 'tlsref' defined but not used [-Wunused-function] 265 | tlsref(NODE *p) | ^~~~~~ +./trees.c: In function 'buildtree': +./pftn.c: In function 'ftnarg': +./trees.c:170:40: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 170 | printf("buildtree(%s, %p, %p)\n", copst(o), l, r); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +./trees.c:170:44: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 170 | printf("buildtree(%s, %p, %p)\n", copst(o), l, r); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} ../../mip/match.c: In function 'finduni': +./pftn.c:1103:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1103 | printf("ftnarg(%p)\n", p); + | ^~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +./inline.c: In function 'printip': +./pftn.c:1125:40: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] + 1125 | printf(" saving sym %s (%p) from (%p)\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../mip/match.c:1105:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1105 | F2DEBUG(("finduni: node %p (%s)\n", p, prcook(1 << sh))); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2659,79 +2574,108 @@ ../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ +./inline.c:325:42: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] + 325 | printf("IP(%d) (%p): ", ip->type, ip); + | ~^ ~~ + | | | + | void * struct interpass * ../../mip/match.c:1105:34: note: format string is defined here 1105 | F2DEBUG(("finduni: node %p (%s)\n", p, prcook(1 << sh))); | ~^ | | | void * -../../mip/optim2.c: In function 'bblocks_build': -../../mip/optim2.c:712:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct labelinfo *' [-Wformat=] - 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ - | | - | struct labelinfo * -../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' - 42 | #define BDEBUG(x) if (b2debug) printf x - | ^ -../../mip/optim2.c:712:34: note: format string is defined here - 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); - | ~^ - | | - | void * -../../mip/optim2.c:712:17: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct bblockinfo *' [-Wformat=] - 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ - | | - | struct bblockinfo * -../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' - 42 | #define BDEBUG(x) if (b2debug) printf x - | ^ -../../mip/optim2.c:712:38: note: format string is defined here - 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); - | ~^ - | | - | void * -./pftn.c:474:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'union dimfun *' [-Wformat=] - 474 | printf( " sdf, offset: %p, %d\n\t", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 475 | p->sdf, p->soffset); - | ~~~~~~ - | | - | union dimfun * +./inline.c:327:38: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] + 327 | printf("%s (%p): ", foo[ip->type], ip); + | ~^ ~~ + | | | + | void * struct interpass * +../../mip/common.c: In function 'talloc': +./pftn.c:1125:40: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1125 | printf(" saving sym %s (%p) from (%p)\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1126 | q->n_sp->sname, q->n_sp, q); + | ~ + | | + | NODE * {aka struct node *} +../../mip/common.c:348:45: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 348 | printf("alloc node %p from freelist\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/amd64/order.c: In function 'offstar': +../../arch/amd64/order.c:87:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 87 | printf("offstar(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +./pftn.c:1137:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] + 1137 | printf(" saving sym %s (%p) from (%p)\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../mip/common.c:356:37: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 356 | printf("alloc node %p from memory\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +./inline.c: In function 'inlinetree': +./pftn.c:1137:24: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1137 | printf(" saving sym %s (%p) from (%p)\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1138 | nparams ? p->n_sp->sname : "", p->n_sp, p); + | ~ + | | + | NODE * {aka struct node *} +../../mip/common.c: In function 'nfree': +./inline.c:409:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 409 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +./inline.c:70:44: note: in definition of macro 'SDEBUG' + 70 | #define SDEBUG(x) if (sdebug) printf x + | ^ +../../arch/amd64/order.c: In function 'myormake': +../../mip/common.c:441:39: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 441 | printf("freeing node %p\n", p); + | ~^ ~ + | | | + | | NODE * {aka struct node *} + | void * +./inline.c:409:30: note: format string is defined here + 409 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); + | ~^ + | | + | void * +../../arch/amd64/order.c:146:35: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 146 | printf("myormake(%p)\n", q); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +./inline.c:409:17: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 409 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ + | | + | NODE * {aka struct node *} +./inline.c:70:44: note: in definition of macro 'SDEBUG' + 70 | #define SDEBUG(x) if (sdebug) printf x + | ^ +./inline.c:409:33: note: format string is defined here + 409 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); + | ~^ + | | + | void * ../../mip/match.c: In function 'findmops': -../../mip/reader.c:934:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 934 | printf("geninsn(%p, %s) rv %d\n", p, prcook(cookie), rv); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../mip/reader.c: In function 'ckmove': -../../mip/reader.c:981:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 981 | CDEBUG(("rmove: node %p, %s -> %s\n", p, rnames[DECRA(q->n_reg, 0)], - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' - 942 | #define CDEBUG(x) if (c2debug) printf x - | ^ -../../mip/reader.c:981:31: note: format string is defined here - 981 | CDEBUG(("rmove: node %p, %s -> %s\n", p, rnames[DECRA(q->n_reg, 0)], - | ~^ - | | - | void * -../../mip/reader.c: In function 'rewrite': -../../mip/reader.c:1029:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1029 | CDEBUG(("rewrite: %p, reg %s\n", p, - | ^~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' - 942 | #define CDEBUG(x) if (c2debug) printf x - | ^ -../../mip/reader.c:1029:28: note: format string is defined here - 1029 | CDEBUG(("rewrite: %p, reg %s\n", p, - | ~^ - | | - | void * +../../arch/amd64/order.c:186:45: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 186 | printf("myormake converted %p\n", q); + | ~^ ~ + | | | + | | NODE * {aka struct node *} + | void * +../../arch/amd64/order.c: In function 'shumul': +../../arch/amd64/order.c:199:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 199 | printf("shumul(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} ../../mip/match.c:1248:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1248 | F2DEBUG(("findmops done: node %p class %d\n", p, sh)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2740,69 +2684,53 @@ ../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ -../../mip/optim2.c:758:41: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] - 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, - | ~^ ~~ - | | | - | void * struct basicblock * +../../arch/amd64/order.c: In function 'setbin': +../../arch/amd64/order.c:216:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 216 | printf("setbin(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/amd64/order.c: In function 'setasg': ../../mip/match.c:1248:40: note: format string is defined here 1248 | F2DEBUG(("findmops done: node %p class %d\n", p, sh)); | ~^ | | | void * -../../mip/optim2.c:758:51: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct interpass *' [-Wformat=] - 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, - | ~^ - | | - | void * - 759 | bb->first, bb->last); - | ~~~~~~~~~ - | | - | struct interpass * -../../mip/optim2.c:758:59: warning: format '%p' expects argument of type 'void *', but argument 5 has type 'struct interpass *' [-Wformat=] - 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, - | ~^ - | | - | void * - 759 | bb->first, bb->last); - | ~~~~~~~~ - | | - | struct interpass * -./pftn.c: In function 'dclstruct': -../../mip/optim2.c:795:58: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] - 795 | printf("Label %d bblock %p\n", i+low, - | ~^ - | | - | void * - 796 | p2e->labinfo.arr[i]); - | ~~~~~~~~~~~~~~~~~~~ - | | - | struct basicblock * -./pftn.c:963:32: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] - 963 | printf("\tmember %s(%p)\n", sp->sname, sp); - | ^~~~~~~~~~~~~~~~~~~ ~~ - | | - | struct symtab * -./pftn.c: In function 'ftnarg': -./pftn.c:1103:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1103 | printf("ftnarg(%p)\n", p); +../../arch/amd64/order.c:226:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 226 | printf("setasg(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +./pftn.c: In function 'arglist': +./pftn.c:1964:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1964 | printf("arglist %p\n", n); | ^~~~~~~~~~~~~~ ~ | | | NODE * {aka struct node *} -./pftn.c:1125:40: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] - 1125 | printf(" saving sym %s (%p) from (%p)\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./pftn.c:1125:40: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1125 | printf(" saving sym %s (%p) from (%p)\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1126 | q->n_sp->sname, q->n_sp, q); - | ~ - | | - | NODE * {aka struct node *} +./init.c: In function 'beginit': +./init.c:374:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct symtab *' [-Wformat=] + 374 | printf("beginit(%p), sclass %s\n", sp, scnames(sp->sclass)); + | ~^ ~~ + | | | + | void * struct symtab * +./pftn.c: In function 'tymerge': +./init.c:380:59: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] + 380 | printf("beginit: saving ctx pstk %p\n", pstk); + | ~^ ~~~~ + | | | + | | struct instk * + | void * +./pftn.c:2140:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 2140 | printf("tymerge(%p,%p)\n", typ, idp); + | ^~~~~~~~~~~~~~~~~~ ~~~ + | | + | NODE * {aka struct node *} +./pftn.c:2140:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 2140 | printf("tymerge(%p,%p)\n", typ, idp); + | ^~~~~~~~~~~~~~~~~~ ~~~ + | | + | NODE * {aka struct node *} ../../mip/regs.c: In function 'newblock': -./pftn.c:1137:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] - 1137 | printf(" saving sym %s (%p) from (%p)\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../mip/regs.c:197:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 197 | RDEBUG(("newblock: p %p, node %d class %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2832,20 +2760,24 @@ | ~^ | | | void * -../../mip/reader.c: In function 'gencode': -../../mip/reader.c:1179:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1179 | CDEBUG(("gencode: node %p\n", p)); - | ^~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' - 942 | #define CDEBUG(x) if (c2debug) printf x - | ^ -../../mip/reader.c:1179:33: note: format string is defined here - 1179 | CDEBUG(("gencode: node %p\n", p)); - | ~^ - | | - | void * +./trees.c: In function 'tymatch': +./init.c: In function 'nsetval': +./init.c:608:24: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 608 | printf("setval: off " CONFMT " fsz %d p %p\n", off, fsz, p); + | ^~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/optim2.c: In function 'bblocks_build': +./trees.c:1530:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1530 | printf("tymatch(%p): ", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +./init.c:608:58: note: format string is defined here + 608 | printf("setval: off " CONFMT " fsz %d p %p\n", off, fsz, p); + | ~^ + | | + | void * ../../mip/regs.c:307:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 307 | UDEBUG(("node %p left %d right %d\n", p, left, right)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2859,49 +2791,19 @@ | ~^ | | | void * -./pftn.c:1137:24: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1137 | printf(" saving sym %s (%p) from (%p)\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1138 | nparams ? p->n_sp->sname : "", p->n_sp, p); - | ~ - | | - | NODE * {aka struct node *} -../../mip/reader.c:1267:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1267 | CDEBUG(("gencode(%p) assign nothing\n", p)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' - 942 | #define CDEBUG(x) if (c2debug) printf x - | ^ -../../mip/reader.c:1267:35: note: format string is defined here - 1267 | CDEBUG(("gencode(%p) assign nothing\n", p)); - | ~^ - | | - | void * -../../mip/optim2.c: In function 'placePhiFunctions': -../../mip/reader.c:1272:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1272 | CDEBUG(("emitting node %p\n", p)); - | ^~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' - 942 | #define CDEBUG(x) if (c2debug) printf x - | ^ -../../mip/optim2.c:1194:69: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct basicblock *' [-Wformat=] - 1194 | printf("Phi in %d(%d) (%p) for %d\n", - | ~^ - | | - | void * - 1195 | y->dfnum,y->bbnum,y,i+defsites.low); - | ~ - | | - | struct basicblock * -../../mip/reader.c:1272:33: note: format string is defined here - 1272 | CDEBUG(("emitting node %p\n", p)); - | ~^ - | | - | void * +../../mip/optim2.c:712:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct labelinfo *' [-Wformat=] + 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ + | | + | struct labelinfo * +../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' + 42 | #define BDEBUG(x) if (b2debug) printf x + | ^ +../../mip/optim2.c:712:34: note: format string is defined here + 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); + | ~^ + | | + | void * ../../mip/regs.c:340:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 340 | UDEBUG(("node %p no class\n", p)); | ^~~~~~~~~~~~~~~~~~~~ ~ @@ -2923,11 +2825,30 @@ ../../mip/regs.c:60:45: note: in definition of macro 'UDEBUG' 60 | #define UDEBUG(x) if (u2debug) printf x | ^ +../../mip/optim2.c:712:17: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct bblockinfo *' [-Wformat=] + 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ + | | + | struct bblockinfo * +../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' + 42 | #define BDEBUG(x) if (b2debug) printf x + | ^ ../../mip/regs.c:358:24: note: format string is defined here 358 | UDEBUG(("node %p numregs %d\n", p, nxreg+1)); | ~^ | | | void * +./init.c: In function 'scalinit': +../../mip/optim2.c:712:38: note: format string is defined here + 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); + | ~^ + | | + | void * +./init.c:650:35: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 650 | printf("scalinit(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} ../../mip/regs.c:401:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 401 | UDEBUG(("node %p return regs %d\n", p, need)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2936,114 +2857,130 @@ ../../mip/regs.c:60:45: note: in definition of macro 'UDEBUG' 60 | #define UDEBUG(x) if (u2debug) printf x | ^ +../../mip/optim2.c:758:41: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] + 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, + | ~^ ~~ + | | | + | void * struct basicblock * ../../mip/regs.c:401:24: note: format string is defined here 401 | UDEBUG(("node %p return regs %d\n", p, need)); | ~^ | | | void * -./pftn.c: In function 'arglist': -./pftn.c:1964:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1964 | printf("arglist %p\n", n); - | ^~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/reader.c:1281:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1281 | CDEBUG(("gencode(%p) rmove\n", p)); - | ^~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' - 942 | #define CDEBUG(x) if (c2debug) printf x - | ^ -../../mip/reader.c:1281:35: note: format string is defined here - 1281 | CDEBUG(("gencode(%p) rmove\n", p)); - | ~^ - | | - | void * -./pftn.c: In function 'tymerge': -../../mip/reader.c:1287:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1287 | CDEBUG(("gencode(%p) retreg\n", p)); - | ^~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' - 942 | #define CDEBUG(x) if (c2debug) printf x - | ^ -../../mip/reader.c:1287:35: note: format string is defined here - 1287 | CDEBUG(("gencode(%p) retreg\n", p)); - | ~^ - | | - | void * -../../mip/reader.c:1299:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1299 | CDEBUG(("gencode(%p) nspec retreg\n", p)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' - 942 | #define CDEBUG(x) if (c2debug) printf x - | ^ -../../mip/reader.c:1299:43: note: format string is defined here - 1299 | CDEBUG(("gencode(%p) nspec retreg\n", p)); - | ~^ - | | - | void * -../../mip/optim2.c: In function 'removephi': -../../mip/optim2.c:1473:41: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] - 1473 | BDEBUG(("removephi: %p in %d",pip,bb->dfnum)); - | ^~~~~~~~~~~~~~~~~~~~~ ~~~ - | | - | struct interpass * -../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' - 42 | #define BDEBUG(x) if (b2debug) printf x - | ^ -../../mip/optim2.c:1473:54: note: format string is defined here - 1473 | BDEBUG(("removephi: %p in %d",pip,bb->dfnum)); - | ~^ - | | +./init.c:714:37: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 714 | printf("scalinit e(%p)\n", q); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../mip/optim2.c:758:51: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct interpass *' [-Wformat=] + 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, + | ~^ + | | + | void * + 759 | bb->first, bb->last); + | ~~~~~~~~~ + | | + | struct interpass * +../../mip/optim2.c:758:59: warning: format '%p' expects argument of type 'void *', but argument 5 has type 'struct interpass *' [-Wformat=] + 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, + | ~^ + | | + | void * + 759 | bb->first, bb->last); + | ~~~~~~~~ + | | + | struct interpass * +./symtabs.c: In function 'hide': +./trees.c: In function 'eprint': +./symtabs.c:357:51: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct symtab *' [-Wformat=] + 357 | printf("\t%s hidden at level %d (%p -> %p)\n", + | ~^ + | | + | void * + 358 | sym->sname, blevel, sym, new); + | ~~~ + | | + | struct symtab * +../../mip/optim2.c:795:58: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] + 795 | printf("Label %d bblock %p\n", i+low, + | ~^ + | | + | void * + 796 | p2e->labinfo.arr[i]); + | ~~~~~~~~~~~~~~~~~~~ + | | + | struct basicblock * +./symtabs.c:357:57: warning: format '%p' expects argument of type 'void *', but argument 5 has type 'struct symtab *' [-Wformat=] + 357 | printf("\t%s hidden at level %d (%p -> %p)\n", + | ~^ + | | + | void * + 358 | sym->sname, blevel, sym, new); + | ~~~ + | | + | struct symtab * +../../mip/reader.c: In function 'geninsn': +./trees.c:1908:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1908 | printf("%p) %s, ", p, copst(p->n_op)); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +./init.c: In function 'endictx': +../../mip/reader.c:810:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 810 | printf("geninsn(%p, %s)\n", p, prcook(cookie)); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +./init.c:891:54: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] + 891 | printf("endinit: restoring ctx pstk %p\n", pstk); + | ~^ ~~~~ + | | | + | | struct instk * | void * -./pftn.c:2140:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 2140 | printf("tymerge(%p,%p)\n", typ, idp); - | ^~~~~~~~~~~~~~~~~~ ~~~ - | | - | NODE * {aka struct node *} -./pftn.c:2140:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 2140 | printf("tymerge(%p,%p)\n", typ, idp); - | ^~~~~~~~~~~~~~~~~~ ~~~ - | | - | NODE * {aka struct node *} -../../mip/reader.c:1304:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1304 | CDEBUG(("gencode(%p) RESC1 retreg\n", p)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} +./trees.c:1914:36: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct symtab *' [-Wformat=] + 1914 | printf(", %p, ", p->n_sp); + | ~^ + | | + | void * +./trees.c:1919:21: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'union dimfun *' [-Wformat=] + 1919 | printf( ", %p, ", p->n_df); + | ~^ + | | + | void * +./init.c: In function 'mkstack': +./init.c:962:35: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 962 | printf("mkstack: %p\n", p); + | ~^ ~ + | | | + | | NODE * {aka struct node *} + | void * +../../mip/reader.c:934:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 934 | printf("geninsn(%p, %s) rv %d\n", p, prcook(cookie), rv); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../mip/reader.c: In function 'ckmove': +./init.c: In function 'asginit': +../../mip/reader.c:981:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 981 | CDEBUG(("rmove: node %p, %s -> %s\n", p, rnames[DECRA(q->n_reg, 0)], + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} ../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' 942 | #define CDEBUG(x) if (c2debug) printf x | ^ -../../mip/reader.c:1304:35: note: format string is defined here - 1304 | CDEBUG(("gencode(%p) RESC1 retreg\n", p)); - | ~^ - | | - | void * -../../mip/optim2.c:1508:65: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] - 1508 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); - | ^~~~~~~~~~~~~~~~~ ~~ - | | - | struct interpass * -../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' - 42 | #define BDEBUG(x) if (b2debug) printf x - | ^ -../../mip/reader.c: In function 'e2print': -../../mip/reader.c:1348:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1348 | printf("%p) %s", p, opst[p->n_op] ); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} ../../mip/regs.c: In function 'addedge_r': -../../mip/optim2.c:1508:68: note: format string is defined here - 1508 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); - | ~^ - | | - | void * +../../mip/reader.c:981:31: note: format string is defined here + 981 | CDEBUG(("rmove: node %p, %s -> %s\n", p, rnames[DECRA(q->n_reg, 0)], + | ~^ + | | + | void * +./init.c:1067:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1067 | printf("asginit %p\n", p); + | ~^ ~ + | | | + | | NODE * {aka struct node *} + | void * ../../mip/regs.c:944:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 944 | RRDEBUG(("addedge_r: node %p regw %p\n", p, w)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -3057,6 +2994,8 @@ | ~^ | | | void * +../../mip/reader.c: In function 'rewrite': +./init.c: In function 'prtstk': ../../mip/regs.c:944:18: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'REGW *' {aka 'struct regw *'} [-Wformat=] 944 | RRDEBUG(("addedge_r: node %p regw %p\n", p, w)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -3070,28 +3009,35 @@ | ~^ | | | void * -../../mip/optim2.c:1532:65: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] - 1532 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); - | ^~~~~~~~~~~~~~~~~ ~~ - | | - | struct interpass * -../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' - 42 | #define BDEBUG(x) if (b2debug) printf x - | ^ +../../mip/optim2.c: In function 'placePhiFunctions': +./init.c:1123:26: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] + 1123 | printf("%p) '%s' ", in, in->in_sym->sname); + | ~^ ~~ + | | | + | void * struct instk * +../../mip/reader.c:1029:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1029 | CDEBUG(("rewrite: %p, reg %s\n", p, + | ^~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' + 942 | #define CDEBUG(x) if (c2debug) printf x + | ^ +../../mip/reader.c:1029:28: note: format string is defined here + 1029 | CDEBUG(("rewrite: %p, reg %s\n", p, + | ~^ + | | + | void * +../../mip/optim2.c:1194:69: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct basicblock *' [-Wformat=] + 1194 | printf("Phi in %d(%d) (%p) for %d\n", + | ~^ + | | + | void * + 1195 | y->dfnum,y->bbnum,y,i+defsites.low); + | ~ + | | + | struct basicblock * ../../mip/regs.c: In function 'setxarg': -../../mip/optim2.c:1532:68: note: format string is defined here - 1532 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); - | ~^ - | | - | void * -../../mip/optim2.c:1570:65: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] - 1570 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); - | ^~~~~~~~~~~~~~~~~ ~~ - | | - | struct interpass * -../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' - 42 | #define BDEBUG(x) if (b2debug) printf x - | ^ ../../mip/regs.c:991:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 991 | RDEBUG(("setxarg %p %s\n", p, p->n_name)); | ^~~~~~~~~~~~~~~~~ ~ @@ -3105,12 +3051,11 @@ | ~^ | | | void * -../../mip/optim2.c:1570:68: note: format string is defined here - 1570 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); - | ~^ - | | - | void * +./main.c: In function 'segvcatch': ../../mip/regs.c: In function 'insnwalk': +./main.c:69:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 69 | (void)write(STDERR_FILENO, buf, strlen(buf)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../mip/regs.c:1074:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1074 | RDEBUG(("insnwalk %p\n", p)); | ^~~~~~~~~~~~~~~ ~ @@ -3124,53 +3069,108 @@ | ~^ | | | void * -In function 'memcpy', - inlined from 'builtin_huge_vall' at ./builtins.c:581:54: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' forming offset [10, 11] is out of the bounds [0, 10] of object 'vLDOUBLE' with type 'const unsigned char[10]' [-Warray-bounds=] - 29 | return __builtin___memcpy_chk (__dest, __src, __len, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 30 | __glibc_objsize0 (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -./builtins.c: In function 'builtin_huge_vall': -./builtins.c:538:28: note: 'vLDOUBLE' declared here - 538 | static const unsigned char vLDOUBLE[] = { 0, 0, 0, 0, 0, 0, 0, 0x80, 0xff, 0x7f }; - | ^~~~~~~~ -../../mip/optim2.c: In function 'printip2': -../../mip/optim2.c:1640:34: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] - 1640 | printf("IP(%d) (%p): ", ip->type, ip); - | ~^ ~~ - | | | - | void * struct interpass * -../../mip/optim2.c:1642:30: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] - 1642 | printf("%s (%p): ", foo[ip->type], ip); - | ~^ ~~ - | | | - | void * struct interpass * -../../mip/optim2.c: In function 'printflowdiagram': -../../mip/optim2.c:1789:46: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] - 1789 | fprintf(flowdiagramfile, "bb%p [shape=record ",bbb); - | ~^ ~~~ - | | | - | void * struct basicblock * -../../mip/optim2.c:1840:54: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] - 1840 | fprintf(flowdiagramfile, "bb%p -> bb%p [color=%s]\n", +../../mip/reader.c: In function 'gencode': +../../mip/optim2.c: In function 'removephi': +../../mip/reader.c:1179:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1179 | CDEBUG(("gencode: node %p\n", p)); + | ^~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' + 942 | #define CDEBUG(x) if (c2debug) printf x + | ^ +../../mip/reader.c:1179:33: note: format string is defined here + 1179 | CDEBUG(("gencode: node %p\n", p)); + | ~^ + | | + | void * +../../mip/optim2.c:1473:41: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] + 1473 | BDEBUG(("removephi: %p in %d",pip,bb->dfnum)); + | ^~~~~~~~~~~~~~~~~~~~~ ~~~ + | | + | struct interpass * +../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' + 42 | #define BDEBUG(x) if (b2debug) printf x + | ^ +../../mip/optim2.c:1473:54: note: format string is defined here + 1473 | BDEBUG(("removephi: %p in %d",pip,bb->dfnum)); | ~^ | | | void * - 1841 | bbb, cn->bblock, color); - | ~~~ - | | - | struct basicblock * -../../mip/optim2.c:1840:62: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct basicblock *' [-Wformat=] - 1840 | fprintf(flowdiagramfile, "bb%p -> bb%p [color=%s]\n", - | ~^ - | | - | void * - 1841 | bbb, cn->bblock, color); - | ~~~~~~~~~~ - | | - | struct basicblock * +../../mip/optim2.c:1508:65: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] + 1508 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); + | ^~~~~~~~~~~~~~~~~ ~~ + | | + | struct interpass * +../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' + 42 | #define BDEBUG(x) if (b2debug) printf x + | ^ +../../mip/reader.c:1267:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1267 | CDEBUG(("gencode(%p) assign nothing\n", p)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' + 942 | #define CDEBUG(x) if (c2debug) printf x + | ^ +../../mip/reader.c:1267:35: note: format string is defined here + 1267 | CDEBUG(("gencode(%p) assign nothing\n", p)); + | ~^ + | | + | void * +../../mip/optim2.c:1508:68: note: format string is defined here + 1508 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); + | ~^ + | | + | void * +../../mip/reader.c:1272:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1272 | CDEBUG(("emitting node %p\n", p)); + | ^~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' + 942 | #define CDEBUG(x) if (c2debug) printf x + | ^ +../../mip/optim2.c:1532:65: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] + 1532 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); + | ^~~~~~~~~~~~~~~~~ ~~ + | | + | struct interpass * +../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' + 42 | #define BDEBUG(x) if (b2debug) printf x + | ^ +../../mip/reader.c:1272:33: note: format string is defined here + 1272 | CDEBUG(("emitting node %p\n", p)); + | ~^ + | | + | void * +../../mip/optim2.c:1532:68: note: format string is defined here + 1532 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); + | ~^ + | | + | void * ../../mip/regs.c: In function 'dce': +../../mip/reader.c:1281:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1281 | CDEBUG(("gencode(%p) rmove\n", p)); + | ^~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' + 942 | #define CDEBUG(x) if (c2debug) printf x + | ^ +../../mip/reader.c:1281:35: note: format string is defined here + 1281 | CDEBUG(("gencode(%p) rmove\n", p)); + | ~^ + | | + | void * +../../mip/optim2.c:1570:65: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] + 1570 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); + | ^~~~~~~~~~~~~~~~~ ~~ + | | + | struct interpass * +../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' + 42 | #define BDEBUG(x) if (b2debug) printf x + | ^ ../../mip/regs.c:1543:26: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3181,11 +3181,17 @@ ../../mip/regs.c:62:49: note: in definition of macro 'BBDEBUG' 62 | #define BBDEBUG(x) if (b2debug > 1) printf x | ^ +../../mip/optim2.c:1570:68: note: format string is defined here + 1570 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); + | ~^ + | | + | void * ../../mip/regs.c:1543:49: note: format string is defined here 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", | ~^ | | | void * +../../mip/optim2.c: In function 'printip2': ../../mip/regs.c:1543:26: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct interpass *' [-Wformat=] 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3196,11 +3202,42 @@ ../../mip/regs.c:62:49: note: in definition of macro 'BBDEBUG' 62 | #define BBDEBUG(x) if (b2debug > 1) printf x | ^ +../../mip/reader.c:1287:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1287 | CDEBUG(("gencode(%p) retreg\n", p)); + | ^~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' + 942 | #define CDEBUG(x) if (c2debug) printf x + | ^ ../../mip/regs.c:1543:57: note: format string is defined here 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", | ~^ | | | void * +../../mip/reader.c:1287:35: note: format string is defined here + 1287 | CDEBUG(("gencode(%p) retreg\n", p)); + | ~^ + | | + | void * +../../mip/optim2.c:1640:34: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] + 1640 | printf("IP(%d) (%p): ", ip->type, ip); + | ~^ ~~ + | | | + | void * struct interpass * +../../mip/optim2.c:1642:30: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] + 1642 | printf("%s (%p): ", foo[ip->type], ip); + | ~^ ~~ + | | | + | void * struct interpass * +../../mip/reader.c:1299:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1299 | CDEBUG(("gencode(%p) nspec retreg\n", p)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' + 942 | #define CDEBUG(x) if (c2debug) printf x + | ^ ../../mip/regs.c:1576:49: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] 1576 | BDEBUG(("bb %d: DCE ip %p deleted\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3211,18 +3248,72 @@ ../../mip/regs.c:61:45: note: in definition of macro 'BDEBUG' 61 | #define BDEBUG(x) if (b2debug) printf x | ^ +../../mip/reader.c:1299:43: note: format string is defined here + 1299 | CDEBUG(("gencode(%p) nspec retreg\n", p)); + | ~^ + | | + | void * ../../mip/regs.c:1576:65: note: format string is defined here 1576 | BDEBUG(("bb %d: DCE ip %p deleted\n", | ~^ | | | void * -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o symtabs.o ./symtabs.c -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./symtabs.c:30: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ +../../mip/optim2.c: In function 'printflowdiagram': +../../mip/reader.c:1304:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1304 | CDEBUG(("gencode(%p) RESC1 retreg\n", p)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' + 942 | #define CDEBUG(x) if (c2debug) printf x + | ^ +../../mip/reader.c:1304:35: note: format string is defined here + 1304 | CDEBUG(("gencode(%p) RESC1 retreg\n", p)); + | ~^ + | | + | void * +../../mip/optim2.c:1789:46: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] + 1789 | fprintf(flowdiagramfile, "bb%p [shape=record ",bbb); + | ~^ ~~~ + | | | + | void * struct basicblock * +../../mip/reader.c: In function 'e2print': +../../mip/reader.c:1348:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1348 | printf("%p) %s", p, opst[p->n_op] ); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../mip/optim2.c:1840:54: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] + 1840 | fprintf(flowdiagramfile, "bb%p -> bb%p [color=%s]\n", + | ~^ + | | + | void * + 1841 | bbb, cn->bblock, color); + | ~~~ + | | + | struct basicblock * +../../mip/optim2.c:1840:62: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct basicblock *' [-Wformat=] + 1840 | fprintf(flowdiagramfile, "bb%p -> bb%p [color=%s]\n", + | ~^ + | | + | void * + 1841 | bbb, cn->bblock, color); + | ~~~~~~~~~~ + | | + | struct basicblock * +In file included from /usr/include/string.h:548, + from ./pass1.h:40: +In function 'memcpy', + inlined from 'builtin_nanx' at ./builtins.c:600:3: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' forming offset [12, 15] is out of the bounds [0, 12] of object 'nLDOUBLE' with type 'const unsigned char[12]' [-Warray-bounds=] + 29 | return __builtin___memcpy_chk (__dest, __src, __len, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 30 | __glibc_objsize0 (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~ +./builtins.c: In function 'builtin_nanx': +./builtins.c:545:28: note: 'nLDOUBLE' declared here + 545 | static const unsigned char nLDOUBLE[] = { 0, 0, 0, 0, 0, 0, 0, 0xc0, 0xff, 0x7f, 0, 0 }; + | ^~~~~~~~ ../../mip/regs.c: In function 'shorttemp': ../../mip/regs.c:2677:17: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 2677 | RDEBUG(("Node %d (%p) to store\n", ASGNUM(w), p)); @@ -3266,72 +3357,17 @@ | ~^ | | | void * -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o table.o ../../arch/amd64/table.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o trees.o ./trees.c -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../arch/amd64/table.c:31: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./trees.c:69: -/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -./symtabs.c: In function 'hide': -./symtabs.c:357:51: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct symtab *' [-Wformat=] - 357 | printf("\t%s hidden at level %d (%p -> %p)\n", - | ~^ - | | - | void * - 358 | sym->sname, blevel, sym, new); - | ~~~ - | | - | struct symtab * -./symtabs.c:357:57: warning: format '%p' expects argument of type 'void *', but argument 5 has type 'struct symtab *' [-Wformat=] - 357 | printf("\t%s hidden at level %d (%p -> %p)\n", - | ~^ - | | - | void * - 358 | sym->sname, blevel, sym, new); - | ~~~ - | | - | struct symtab * -./trees.c: In function 'buildtree': -./trees.c:170:40: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 170 | printf("buildtree(%s, %p, %p)\n", copst(o), l, r); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -./trees.c:170:44: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 170 | printf("buildtree(%s, %p, %p)\n", copst(o), l, r); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -./trees.c: In function 'tymatch': -./trees.c:1530:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1530 | printf("tymatch(%p): ", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -./trees.c: In function 'eprint': -./trees.c:1908:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1908 | printf("%p) %s, ", p, copst(p->n_op)); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -./trees.c:1914:36: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct symtab *' [-Wformat=] - 1914 | printf(", %p, ", p->n_sp); - | ~^ - | | - | void * -./trees.c:1919:21: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'union dimfun *' [-Wformat=] - 1919 | printf( ", %p, ", p->n_df); - | ~^ - | | - | void * +In function 'memcpy', + inlined from 'builtin_huge_vall' at ./builtins.c:581:54: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' forming offset [10, 11] is out of the bounds [0, 10] of object 'vLDOUBLE' with type 'const unsigned char[10]' [-Warray-bounds=] + 29 | return __builtin___memcpy_chk (__dest, __src, __len, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 30 | __glibc_objsize0 (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~ +./builtins.c: In function 'builtin_huge_vall': +./builtins.c:538:28: note: 'vLDOUBLE' declared here + 538 | static const unsigned char vLDOUBLE[] = { 0, 0, 0, 0, 0, 0, 0, 0x80, 0xff, 0x7f }; + | ^~~~~~~~ gcc -Wl,-z,relro -Wl,-z,now builtins.o cgram.o code.o common.o compat.o external.o gcc_compat.o init.o inline.o local.o local2.o main.o cxxcode.o match.o optim.o optim2.o order.o pftn.o reader.o regs.o scan.o stabs.o symtabs.o table.o trees.o -o x86_64-linux-gnu-cxxcom make[3]: Leaving directory '/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/cc/cxxcom' <=== cc/cxxcom @@ -3342,14 +3378,14 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/pcc/ - make -j20 install DESTDIR=/build/reproducible-path/pcc-1.2.0\~DEVEL\+20220331/debian/pcc AM_UPDATE_INFO_DIR=no + make -j42 install DESTDIR=/build/reproducible-path/pcc-1.2.0\~DEVEL\+20220331/debian/pcc AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/pcc-1.2.0~DEVEL+20220331' ===> cc make[2]: Entering directory '/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/cc' -make[2]: warning: -j20 forced in submake: resetting jobserver mode. +make[2]: warning: -j42 forced in submake: resetting jobserver mode. ===> cc/cc make[3]: Entering directory '/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/cc/cc' -make[3]: warning: -j20 forced in submake: resetting jobserver mode. +make[3]: warning: -j42 forced in submake: resetting jobserver mode. test -z "/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin" || mkdir -p "/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin" test -z "/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/share/man/man1" || mkdir -p "/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/share/man/man1" test -z "/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/lib/pcc/x86_64-pc-linux-gnu/1.2.0.DEVEL/include" || mkdir -p "/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/lib/pcc/x86_64-pc-linux-gnu/1.2.0.DEVEL/include" @@ -3358,7 +3394,7 @@ <=== cc/cc ===> cc/cpp make[3]: Entering directory '/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/cc/cpp' -make[3]: warning: -j20 forced in submake: resetting jobserver mode. +make[3]: warning: -j42 forced in submake: resetting jobserver mode. test -z "/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin" || mkdir -p "/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin" /usr/bin/install -c x86_64-linux-gnu-cpp /build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin test -z "/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/share/man/man1" || mkdir -p "/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/share/man/man1" @@ -3367,7 +3403,7 @@ <=== cc/cpp ===> cc/ccom make[3]: Entering directory '/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/cc/ccom' -make[3]: warning: -j20 forced in submake: resetting jobserver mode. +make[3]: warning: -j42 forced in submake: resetting jobserver mode. test -z "/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin" || mkdir -p "/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin" /usr/bin/install -c x86_64-linux-gnu-ccom /build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin /usr/bin/install -c x86_64-linux-gnu-cc2 /build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin @@ -3377,7 +3413,7 @@ <=== cc/ccom ===> cc/cxxcom make[3]: Entering directory '/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/cc/cxxcom' -make[3]: warning: -j20 forced in submake: resetting jobserver mode. +make[3]: warning: -j42 forced in submake: resetting jobserver mode. test -z "/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin" || mkdir -p "/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin" /usr/bin/install -c x86_64-linux-gnu-cxxcom /build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin test -z "/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/share/man/man1" || mkdir -p "/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/share/man/man1" @@ -3432,12 +3468,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2116918/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2116918/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/2395155 and its subdirectories -I: Current time: Fri Feb 28 08:04:55 -12 2025 -I: pbuilder-time-stamp: 1740773095 +I: removing directory /srv/workspace/pbuilder/2116918 and its subdirectories +I: Current time: Fri Apr 3 16:29:18 +14 2026 +I: pbuilder-time-stamp: 1775183358