Date: Thu, 1 Jun 2017 22:59:42 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r319480 - in projects/clang500-import: . bin/dd bin/dd/tests contrib/byacc contrib/byacc/package contrib/byacc/package/debian contrib/byacc/package/pkgsrc contrib/byacc/test/btyacc cont... Message-ID: <201706012259.v51MxgSt084606@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Thu Jun 1 22:59:41 2017 New Revision: 319480 URL: https://svnweb.freebsd.org/changeset/base/319480 Log: Merge ^/head r319251 through r319479. Added: projects/clang500-import/bin/dd/tests/dd2_test.sh - copied unchanged from r319479, head/bin/dd/tests/dd2_test.sh projects/clang500-import/sys/contrib/dev/acpica/common/dmswitch.c - copied unchanged from r319479, head/sys/contrib/dev/acpica/common/dmswitch.c projects/clang500-import/sys/contrib/dev/acpica/components/utilities/utresdecode.c - copied unchanged from r319479, head/sys/contrib/dev/acpica/components/utilities/utresdecode.c projects/clang500-import/sys/mips/conf/std.AR724X - copied unchanged from r319479, head/sys/mips/conf/std.AR724X Deleted: projects/clang500-import/sys/mips/conf/AR724X_BASE Modified: projects/clang500-import/ObsoleteFiles.inc projects/clang500-import/bin/dd/position.c projects/clang500-import/bin/dd/tests/Makefile projects/clang500-import/contrib/byacc/CHANGES projects/clang500-import/contrib/byacc/MANIFEST projects/clang500-import/contrib/byacc/VERSION projects/clang500-import/contrib/byacc/btyaccpar.c projects/clang500-import/contrib/byacc/btyaccpar.skel projects/clang500-import/contrib/byacc/config.guess projects/clang500-import/contrib/byacc/config.sub projects/clang500-import/contrib/byacc/defs.h projects/clang500-import/contrib/byacc/main.c projects/clang500-import/contrib/byacc/output.c projects/clang500-import/contrib/byacc/package/byacc.spec projects/clang500-import/contrib/byacc/package/debian/changelog projects/clang500-import/contrib/byacc/package/mingw-byacc.spec projects/clang500-import/contrib/byacc/package/pkgsrc/Makefile projects/clang500-import/contrib/byacc/test/btyacc/btyacc_calc1.tab.c projects/clang500-import/contrib/byacc/test/btyacc/btyacc_demo.tab.c projects/clang500-import/contrib/byacc/test/btyacc/btyacc_destroy1.tab.c projects/clang500-import/contrib/byacc/test/btyacc/btyacc_destroy2.tab.c projects/clang500-import/contrib/byacc/test/btyacc/btyacc_destroy3.tab.c projects/clang500-import/contrib/byacc/test/btyacc/calc.tab.c projects/clang500-import/contrib/byacc/test/btyacc/calc1.tab.c projects/clang500-import/contrib/byacc/test/btyacc/calc2.tab.c projects/clang500-import/contrib/byacc/test/btyacc/calc3.tab.c projects/clang500-import/contrib/byacc/test/btyacc/code_calc.code.c projects/clang500-import/contrib/byacc/test/btyacc/code_error.code.c projects/clang500-import/contrib/byacc/test/btyacc/empty.tab.c projects/clang500-import/contrib/byacc/test/btyacc/err_inherit3.tab.c projects/clang500-import/contrib/byacc/test/btyacc/err_inherit4.tab.c projects/clang500-import/contrib/byacc/test/btyacc/err_syntax10.tab.c projects/clang500-import/contrib/byacc/test/btyacc/err_syntax11.tab.c projects/clang500-import/contrib/byacc/test/btyacc/err_syntax12.tab.c projects/clang500-import/contrib/byacc/test/btyacc/err_syntax18.tab.c projects/clang500-import/contrib/byacc/test/btyacc/err_syntax20.tab.c projects/clang500-import/contrib/byacc/test/btyacc/error.tab.c projects/clang500-import/contrib/byacc/test/btyacc/expr.oxout.tab.c projects/clang500-import/contrib/byacc/test/btyacc/grammar.tab.c projects/clang500-import/contrib/byacc/test/btyacc/inherit0.tab.c projects/clang500-import/contrib/byacc/test/btyacc/inherit1.tab.c projects/clang500-import/contrib/byacc/test/btyacc/inherit2.tab.c projects/clang500-import/contrib/byacc/test/btyacc/ok_syntax1.tab.c projects/clang500-import/contrib/byacc/test/btyacc/pure_calc.tab.c projects/clang500-import/contrib/byacc/test/btyacc/pure_error.tab.c projects/clang500-import/contrib/byacc/test/btyacc/quote_calc-s.tab.c projects/clang500-import/contrib/byacc/test/btyacc/quote_calc.tab.c projects/clang500-import/contrib/byacc/test/btyacc/quote_calc2-s.tab.c projects/clang500-import/contrib/byacc/test/btyacc/quote_calc2.tab.c projects/clang500-import/contrib/byacc/test/btyacc/quote_calc3-s.tab.c projects/clang500-import/contrib/byacc/test/btyacc/quote_calc3.tab.c projects/clang500-import/contrib/byacc/test/btyacc/quote_calc4-s.tab.c projects/clang500-import/contrib/byacc/test/btyacc/quote_calc4.tab.c projects/clang500-import/contrib/byacc/test/btyacc/rename_debug.c projects/clang500-import/contrib/byacc/test/btyacc/varsyntax_calc1.tab.c projects/clang500-import/contrib/byacc/test/yacc/big_l.output projects/clang500-import/contrib/byacc/test/yacc/calc3.tab.c projects/clang500-import/contrib/byacc/test/yacc/ok_syntax1.tab.c projects/clang500-import/contrib/byacc/test/yacc/pure_calc.tab.c projects/clang500-import/contrib/byacc/test/yacc/pure_error.tab.c projects/clang500-import/contrib/byacc/yaccpar.c projects/clang500-import/contrib/byacc/yaccpar.skel projects/clang500-import/contrib/ipfilter/tools/ippool.c projects/clang500-import/contrib/telnet/telnetd/utility.c projects/clang500-import/etc/rc.d/savecore projects/clang500-import/lib/clang/llvm.build.mk projects/clang500-import/lib/libc/rpc/rpc_generic.c projects/clang500-import/lib/libc/rpc/rpcb_prot.c projects/clang500-import/lib/libc/rpc/rpcb_st_xdr.c projects/clang500-import/lib/libc/xdr/xdr.c projects/clang500-import/lib/libutil/kinfo_getvmobject.c projects/clang500-import/sbin/camcontrol/camcontrol.c projects/clang500-import/sbin/dhclient/parse.c projects/clang500-import/sbin/ipfw/ipfw.8 projects/clang500-import/sbin/mdconfig/mdconfig.8 projects/clang500-import/sbin/mdconfig/mdconfig.c projects/clang500-import/sbin/mount/mount.c projects/clang500-import/share/man/man9/Makefile projects/clang500-import/share/man/man9/getenv.9 projects/clang500-import/share/misc/organization.dot projects/clang500-import/sys/compat/linuxkpi/common/include/linux/file.h projects/clang500-import/sys/compat/linuxkpi/common/include/linux/fs.h projects/clang500-import/sys/compat/linuxkpi/common/include/linux/idr.h projects/clang500-import/sys/compat/linuxkpi/common/include/linux/kthread.h projects/clang500-import/sys/compat/linuxkpi/common/include/linux/mm_types.h projects/clang500-import/sys/compat/linuxkpi/common/include/linux/poll.h projects/clang500-import/sys/compat/linuxkpi/common/include/linux/printk.h projects/clang500-import/sys/compat/linuxkpi/common/src/linux_compat.c projects/clang500-import/sys/compat/linuxkpi/common/src/linux_current.c projects/clang500-import/sys/compat/linuxkpi/common/src/linux_idr.c projects/clang500-import/sys/compat/linuxkpi/common/src/linux_page.c projects/clang500-import/sys/compat/linuxkpi/common/src/linux_rcu.c projects/clang500-import/sys/conf/files projects/clang500-import/sys/contrib/dev/acpica/acpica_prep.sh projects/clang500-import/sys/contrib/dev/acpica/changes.txt projects/clang500-import/sys/contrib/dev/acpica/common/acfileio.c projects/clang500-import/sys/contrib/dev/acpica/common/adfile.c projects/clang500-import/sys/contrib/dev/acpica/common/adisasm.c projects/clang500-import/sys/contrib/dev/acpica/common/adwalk.c projects/clang500-import/sys/contrib/dev/acpica/common/ahids.c projects/clang500-import/sys/contrib/dev/acpica/common/ahpredef.c projects/clang500-import/sys/contrib/dev/acpica/common/ahtable.c projects/clang500-import/sys/contrib/dev/acpica/common/ahuuids.c projects/clang500-import/sys/contrib/dev/acpica/common/dmextern.c projects/clang500-import/sys/contrib/dev/acpica/common/dmrestag.c projects/clang500-import/sys/contrib/dev/acpica/common/dmtable.c projects/clang500-import/sys/contrib/dev/acpica/common/dmtbdump.c projects/clang500-import/sys/contrib/dev/acpica/common/dmtbinfo.c projects/clang500-import/sys/contrib/dev/acpica/compiler/aslascii.c projects/clang500-import/sys/contrib/dev/acpica/compiler/aslcompile.c projects/clang500-import/sys/contrib/dev/acpica/compiler/aslcompiler.h projects/clang500-import/sys/contrib/dev/acpica/compiler/aslcompiler.l projects/clang500-import/sys/contrib/dev/acpica/compiler/asldefine.h projects/clang500-import/sys/contrib/dev/acpica/compiler/aslexternal.c projects/clang500-import/sys/contrib/dev/acpica/compiler/aslglobal.h projects/clang500-import/sys/contrib/dev/acpica/compiler/aslhelp.c projects/clang500-import/sys/contrib/dev/acpica/compiler/aslhelpers.y projects/clang500-import/sys/contrib/dev/acpica/compiler/aslload.c projects/clang500-import/sys/contrib/dev/acpica/compiler/aslmain.c projects/clang500-import/sys/contrib/dev/acpica/compiler/aslmap.c projects/clang500-import/sys/contrib/dev/acpica/compiler/asloffset.c projects/clang500-import/sys/contrib/dev/acpica/compiler/asloptions.c projects/clang500-import/sys/contrib/dev/acpica/compiler/aslparser.y projects/clang500-import/sys/contrib/dev/acpica/compiler/aslresource.c projects/clang500-import/sys/contrib/dev/acpica/compiler/aslresources.y projects/clang500-import/sys/contrib/dev/acpica/compiler/aslrestype2s.c projects/clang500-import/sys/contrib/dev/acpica/compiler/aslrules.y projects/clang500-import/sys/contrib/dev/acpica/compiler/aslstartup.c projects/clang500-import/sys/contrib/dev/acpica/compiler/aslsupport.l projects/clang500-import/sys/contrib/dev/acpica/compiler/asltokens.y projects/clang500-import/sys/contrib/dev/acpica/compiler/asltree.c projects/clang500-import/sys/contrib/dev/acpica/compiler/asltypes.y projects/clang500-import/sys/contrib/dev/acpica/compiler/aslutils.c projects/clang500-import/sys/contrib/dev/acpica/compiler/aslxref.c projects/clang500-import/sys/contrib/dev/acpica/compiler/cvcompiler.c projects/clang500-import/sys/contrib/dev/acpica/compiler/cvdisasm.c projects/clang500-import/sys/contrib/dev/acpica/compiler/cvparser.c projects/clang500-import/sys/contrib/dev/acpica/compiler/dtcompiler.h projects/clang500-import/sys/contrib/dev/acpica/compiler/dtfield.c projects/clang500-import/sys/contrib/dev/acpica/compiler/dttable1.c projects/clang500-import/sys/contrib/dev/acpica/compiler/dttable2.c projects/clang500-import/sys/contrib/dev/acpica/compiler/dttemplate.h projects/clang500-import/sys/contrib/dev/acpica/compiler/dtutils.c projects/clang500-import/sys/contrib/dev/acpica/components/debugger/dbexec.c projects/clang500-import/sys/contrib/dev/acpica/components/debugger/dbobject.c projects/clang500-import/sys/contrib/dev/acpica/components/debugger/dbxface.c projects/clang500-import/sys/contrib/dev/acpica/components/disassembler/dmbuffer.c projects/clang500-import/sys/contrib/dev/acpica/components/disassembler/dmdeferred.c projects/clang500-import/sys/contrib/dev/acpica/components/disassembler/dmopcode.c projects/clang500-import/sys/contrib/dev/acpica/components/disassembler/dmresrc.c projects/clang500-import/sys/contrib/dev/acpica/components/disassembler/dmresrcl2.c projects/clang500-import/sys/contrib/dev/acpica/components/disassembler/dmwalk.c projects/clang500-import/sys/contrib/dev/acpica/components/dispatcher/dsargs.c projects/clang500-import/sys/contrib/dev/acpica/components/dispatcher/dsdebug.c projects/clang500-import/sys/contrib/dev/acpica/components/dispatcher/dsmethod.c projects/clang500-import/sys/contrib/dev/acpica/components/dispatcher/dsopcode.c projects/clang500-import/sys/contrib/dev/acpica/components/dispatcher/dsutils.c projects/clang500-import/sys/contrib/dev/acpica/components/dispatcher/dswexec.c projects/clang500-import/sys/contrib/dev/acpica/components/dispatcher/dswload.c projects/clang500-import/sys/contrib/dev/acpica/components/dispatcher/dswload2.c projects/clang500-import/sys/contrib/dev/acpica/components/events/evxfevnt.c projects/clang500-import/sys/contrib/dev/acpica/components/executer/exdebug.c projects/clang500-import/sys/contrib/dev/acpica/components/executer/exdump.c projects/clang500-import/sys/contrib/dev/acpica/components/executer/exoparg1.c projects/clang500-import/sys/contrib/dev/acpica/components/executer/exresolv.c projects/clang500-import/sys/contrib/dev/acpica/components/namespace/nsaccess.c projects/clang500-import/sys/contrib/dev/acpica/components/namespace/nsnames.c projects/clang500-import/sys/contrib/dev/acpica/components/namespace/nsutils.c projects/clang500-import/sys/contrib/dev/acpica/components/namespace/nsxfeval.c projects/clang500-import/sys/contrib/dev/acpica/components/parser/psobject.c projects/clang500-import/sys/contrib/dev/acpica/components/parser/psopcode.c projects/clang500-import/sys/contrib/dev/acpica/components/parser/psparse.c projects/clang500-import/sys/contrib/dev/acpica/components/resources/rscalc.c projects/clang500-import/sys/contrib/dev/acpica/components/resources/rsdump.c projects/clang500-import/sys/contrib/dev/acpica/components/resources/rsdumpinfo.c projects/clang500-import/sys/contrib/dev/acpica/components/resources/rsinfo.c projects/clang500-import/sys/contrib/dev/acpica/components/resources/rsmisc.c projects/clang500-import/sys/contrib/dev/acpica/components/resources/rsserial.c projects/clang500-import/sys/contrib/dev/acpica/components/tables/tbfadt.c projects/clang500-import/sys/contrib/dev/acpica/components/tables/tbutils.c projects/clang500-import/sys/contrib/dev/acpica/components/utilities/utdecode.c projects/clang500-import/sys/contrib/dev/acpica/components/utilities/utownerid.c projects/clang500-import/sys/contrib/dev/acpica/components/utilities/utresrc.c projects/clang500-import/sys/contrib/dev/acpica/components/utilities/utxfmutex.c projects/clang500-import/sys/contrib/dev/acpica/include/acapps.h projects/clang500-import/sys/contrib/dev/acpica/include/acdisasm.h projects/clang500-import/sys/contrib/dev/acpica/include/acglobal.h projects/clang500-import/sys/contrib/dev/acpica/include/aclocal.h projects/clang500-import/sys/contrib/dev/acpica/include/acopcode.h projects/clang500-import/sys/contrib/dev/acpica/include/acpixf.h projects/clang500-import/sys/contrib/dev/acpica/include/acpredef.h projects/clang500-import/sys/contrib/dev/acpica/include/acresrc.h projects/clang500-import/sys/contrib/dev/acpica/include/acrestyp.h projects/clang500-import/sys/contrib/dev/acpica/include/actbl1.h projects/clang500-import/sys/contrib/dev/acpica/include/actbl2.h projects/clang500-import/sys/contrib/dev/acpica/include/actbl3.h projects/clang500-import/sys/contrib/dev/acpica/include/actypes.h projects/clang500-import/sys/contrib/dev/acpica/include/acutils.h projects/clang500-import/sys/contrib/dev/acpica/include/acuuid.h projects/clang500-import/sys/contrib/dev/acpica/include/amlcode.h projects/clang500-import/sys/contrib/dev/acpica/include/amlresrc.h projects/clang500-import/sys/contrib/dev/acpica/include/platform/acgcc.h projects/clang500-import/sys/contrib/dev/acpica/os_specific/service_layers/osunixxf.c projects/clang500-import/sys/dev/md/md.c projects/clang500-import/sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c projects/clang500-import/sys/dev/mlx4/mlx4_en/mlx4_en_tx.c projects/clang500-import/sys/dev/rtwn/rtl8192c/r92c_tx.c projects/clang500-import/sys/dev/rtwn/rtl8812a/r12a_tx.c projects/clang500-import/sys/dev/sdhci/sdhci.c projects/clang500-import/sys/fs/cd9660/cd9660_vfsops.c projects/clang500-import/sys/fs/cuse/cuse.c projects/clang500-import/sys/fs/nfsclient/nfs_clport.c projects/clang500-import/sys/geom/uzip/g_uzip.c projects/clang500-import/sys/mips/conf/AP91 projects/clang500-import/sys/mips/conf/AP93 projects/clang500-import/sys/mips/conf/ENH200 projects/clang500-import/sys/mips/conf/PICOSTATION_M2HP projects/clang500-import/sys/mips/conf/ROCKET_M2HP projects/clang500-import/sys/mips/conf/WZR-300HP projects/clang500-import/sys/net80211/ieee80211_output.c projects/clang500-import/sys/netinet/tcp_input.c projects/clang500-import/sys/netinet/tcp_stacks/fastpath.c projects/clang500-import/sys/netipsec/key_debug.c projects/clang500-import/sys/rpc/rpc_generic.c projects/clang500-import/sys/rpc/rpcb_clnt.c projects/clang500-import/sys/rpc/rpcb_prot.c projects/clang500-import/sys/sys/mdioctl.h projects/clang500-import/sys/sys/mount.h projects/clang500-import/sys/vm/uma_core.c projects/clang500-import/sys/xdr/xdr.c projects/clang500-import/tests/sys/opencrypto/Makefile projects/clang500-import/tests/sys/opencrypto/cryptodev.py projects/clang500-import/tests/sys/opencrypto/runtests.sh projects/clang500-import/tools/tools/crypto/cryptotest.c projects/clang500-import/usr.bin/mkimg/tests/Makefile projects/clang500-import/usr.bin/mkimg/tests/img-1x1-4096-gpt.qcow.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-1x1-4096-gpt.qcow2.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-1x1-4096-gpt.raw.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-1x1-4096-gpt.vhd.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-1x1-4096-gpt.vhdf.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-1x1-4096-gpt.vmdk.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-1x1-512-gpt.qcow.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-1x1-512-gpt.qcow2.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-1x1-512-gpt.raw.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-1x1-512-gpt.vhd.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-1x1-512-gpt.vhdf.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-1x1-512-gpt.vmdk.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-63x255-4096-gpt.qcow.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-63x255-4096-gpt.qcow2.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-63x255-4096-gpt.raw.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-63x255-4096-gpt.vhd.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-63x255-4096-gpt.vhdf.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-63x255-4096-gpt.vmdk.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-63x255-512-gpt.qcow.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-63x255-512-gpt.qcow2.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-63x255-512-gpt.raw.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-63x255-512-gpt.vhd.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-63x255-512-gpt.vhdf.gz.uu projects/clang500-import/usr.bin/mkimg/tests/img-63x255-512-gpt.vmdk.gz.uu projects/clang500-import/usr.bin/rctl/rctl.8 projects/clang500-import/usr.bin/uname/uname.1 projects/clang500-import/usr.sbin/acpi/acpidb/Makefile projects/clang500-import/usr.sbin/acpi/iasl/Makefile projects/clang500-import/usr.sbin/bootparamd/bootparamd/bootparamd.c projects/clang500-import/usr.sbin/crashinfo/crashinfo.8 projects/clang500-import/usr.sbin/crashinfo/crashinfo.sh projects/clang500-import/usr.sbin/makefs/ffs.c projects/clang500-import/usr.sbin/rpcbind/rpcb_svc_com.c Directory Properties: projects/clang500-import/ (props changed) projects/clang500-import/contrib/byacc/ (props changed) projects/clang500-import/contrib/ipfilter/ (props changed) projects/clang500-import/sys/contrib/dev/acpica/ (props changed) Modified: projects/clang500-import/ObsoleteFiles.inc ============================================================================== --- projects/clang500-import/ObsoleteFiles.inc Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/ObsoleteFiles.inc Thu Jun 1 22:59:41 2017 (r319480) @@ -150,6 +150,11 @@ OLD_FILES+=usr/lib/clang/4.0.0/lib/freebsd/libclang_rt OLD_DIRS+=usr/lib/clang/4.0.0/lib/freebsd OLD_DIRS+=usr/lib/clang/4.0.0/lib OLD_DIRS+=usr/lib/clang/4.0.0 +# 20170601: old libifconfig and libifc +OLD_FILES+=usr/lib/libifc.a +OLD_FILES+=usr/lib/libifc_p.a +OLD_FILES+=usr/lib/libifconfig.a +OLD_FILES+=usr/lib/libifconfig_p.a # 20170529: mount.conf(8) -> mount.conf(5) OLD_FILES+=usr/share/man/man8/mount.conf.8.gz # 20170525: remove misleading template @@ -228,6 +233,9 @@ OLD_FILES+=usr/share/doc/usd/contents.ascii.gz OLD_LIBS+=lib/libzfs.so.2 OLD_LIBS+=usr/lib/libarchive.so.6 OLD_LIBS+=usr/lib/libmilter.so.5 +OLD_LIBS+=usr/lib32/libzfs.so.2 +OLD_LIBS+=usr/lib32/libarchive.so.6 +OLD_LIBS+=usr/lib32/libmilter.so.5 # 20170427: NATM configuration support removed OLD_FILES+=etc/rc.d/atm1 OLD_FILES+=etc/rc.d/atm2 Modified: projects/clang500-import/bin/dd/position.c ============================================================================== --- projects/clang500-import/bin/dd/position.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/bin/dd/position.c Thu Jun 1 22:59:41 2017 (r319480) @@ -70,7 +70,7 @@ seek_offset(IO *io) * * Bail out if the calculation of a file offset would overflow. */ - if ((io->flags & ISCHR) == 0 && n > OFF_MAX / (ssize_t)sz) + if ((io->flags & ISCHR) == 0 && (n < 0 || n > OFF_MAX / (ssize_t)sz)) errx(1, "seek offsets cannot be larger than %jd", (intmax_t)OFF_MAX); else if ((io->flags & ISCHR) != 0 && (uint64_t)n > UINT64_MAX / sz) Modified: projects/clang500-import/bin/dd/tests/Makefile ============================================================================== --- projects/clang500-import/bin/dd/tests/Makefile Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/bin/dd/tests/Makefile Thu Jun 1 22:59:41 2017 (r319480) @@ -1,5 +1,10 @@ # $FreeBSD$ +.include <src.opts.mk> + +.PATH: ${.CURDIR}/.. + +ATF_TESTS_SH= dd2_test NETBSD_ATF_TESTS_SH= dd_test .include <netbsd-tests.test.mk> Copied: projects/clang500-import/bin/dd/tests/dd2_test.sh (from r319479, head/bin/dd/tests/dd2_test.sh) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/clang500-import/bin/dd/tests/dd2_test.sh Thu Jun 1 22:59:41 2017 (r319480, copy of r319479, head/bin/dd/tests/dd2_test.sh) @@ -0,0 +1,50 @@ +# +# Copyright (c) 2017 Spectra Logic Corporation +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS +# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# +# $FreeBSD$ + + +atf_test_case seek_overflow +seek_overflow_head() { + atf_set "descr" "dd(1) should reject too-large seek values" +} +seek_overflow_body() { + touch f.in + # Positive tests + seek=`echo "2^63 / 4096 - 1" | bc` + atf_check -s exit:0 -e ignore dd if=f.in of=f.out bs=4096 seek=$seek + + # Negative tests + seek=`echo "2^63 / 4096" | bc` + atf_check -s not-exit:0 -e match:"seek offsets cannot be larger than" \ + dd if=f.in of=f.out bs=4096 seek=$seek + atf_check -s not-exit:0 -e match:"seek offsets cannot be larger than" \ + dd if=f.in of=f.out bs=4096 seek=-1 +} + +atf_init_test_cases() +{ + atf_add_test_case seek_overflow +} Modified: projects/clang500-import/contrib/byacc/CHANGES ============================================================================== --- projects/clang500-import/contrib/byacc/CHANGES Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/CHANGES Thu Jun 1 22:59:41 2017 (r319480) @@ -1,3 +1,33 @@ +2017-04-30 Thomas E. Dickey <dickey@invisible-island.net> + + * test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, t est/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c, btyaccpar.c, btyaccpar.skel: + fix another uninitialized variable warning in "make check_make" for btyacc + + * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/calc3.tab.c, btyaccpar.c, btyaccpar.skel, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/calc3.tab.c, yaccpar.c, defs.h, yaccpar.skel, output.c: + fix some compiler warnings for "make check_make" by adding section init_vars, + which initializes the body_vars for pure-parser configuration. + +2017-04-30 Tom.Shields + + * output.c: + use YY_NO_LEAKS set in configure --with-no-leaks, in the generated code + +2017-04-30 Julien.Ramseier + + * main.c, test/yacc/big_l.output: + fix typo in unsupported-flag warning message + +2017-04-30 Thomas E. Dickey <dickey@invisible-island.net> + + * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: + bump + +2017-03-18 Thomas E. Dickey <dickey@invisible-island.net> + + * config.sub: 2017-02-07 + + * config.guess: 2017-03-05 + 2017-02-01 Thomas E. Dickey <dickey@invisible-island.net> * test/btyacc/expr.oxout.error, test/btyacc/expr.oxout.output, test/btyacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.h, test/yacc/expr.oxout.error, test/yacc/expr.oxout.output, test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h: Modified: projects/clang500-import/contrib/byacc/MANIFEST ============================================================================== --- projects/clang500-import/contrib/byacc/MANIFEST Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/MANIFEST Thu Jun 1 22:59:41 2017 (r319480) @@ -1,4 +1,4 @@ -MANIFEST for byacc-20170201, version t20170201 +MANIFEST for byacc-20170430, version t20170430 -------------------------------------------------------------------------------- MANIFEST this file ACKNOWLEDGEMENTS original version of byacc - 1993 Modified: projects/clang500-import/contrib/byacc/VERSION ============================================================================== --- projects/clang500-import/contrib/byacc/VERSION Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/VERSION Thu Jun 1 22:59:41 2017 (r319480) @@ -1 +1 @@ -20170201 +20170430 Modified: projects/clang500-import/contrib/byacc/btyaccpar.c ============================================================================== --- projects/clang500-import/contrib/byacc/btyaccpar.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/btyaccpar.c Thu Jun 1 22:59:41 2017 (r319480) @@ -2,7 +2,7 @@ * @Id: skel2c,v 1.4 2016/06/07 00:26:09 tom Exp @ */ -/* @Id: btyaccpar.skel,v 1.5 2016/12/02 22:02:28 tom Exp @ */ +/* @Id: btyaccpar.skel,v 1.6 2017/04/30 23:40:34 tom Exp @ */ #include "defs.h" @@ -449,6 +449,23 @@ const char *const body_2[] = " }", " if (yydebug)", " fprintf(stderr, \"%sdebug[<# of symbols on state stack>]\\n\", YYPREFIX);", + "#endif", + "#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)", + " memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));", + "#endif", + "", + 0 +}; + +const char *const init_vars[] = +{ + " yyerrflag = 0;", + " yychar = 0;", + " memset(&yyval, 0, sizeof(yyval));", + " memset(&yylval, 0, sizeof(yylval));", + "#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)", + " memset(&yyloc, 0, sizeof(yyloc));", + " memset(&yylloc, 0, sizeof(yylloc));", "#endif", "", 0 Modified: projects/clang500-import/contrib/byacc/btyaccpar.skel ============================================================================== --- projects/clang500-import/contrib/byacc/btyaccpar.skel Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/btyaccpar.skel Thu Jun 1 22:59:41 2017 (r319480) @@ -1,4 +1,4 @@ -/* $Id: btyaccpar.skel,v 1.5 2016/12/02 22:02:28 tom Exp $ */ +/* $Id: btyaccpar.skel,v 1.7 2017/05/01 00:13:19 tom Exp $ */ #include "defs.h" @@ -384,6 +384,19 @@ YYPARSE_DECL() } if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); +#endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif + +%% init_vars + yyerrflag = 0; + yychar = 0; + memset(&yyval, 0, sizeof(yyval)); + memset(&yylval, 0, sizeof(yylval)); +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(&yyloc, 0, sizeof(yyloc)); + memset(&yylloc, 0, sizeof(yylloc)); #endif %% body_3 Modified: projects/clang500-import/contrib/byacc/config.guess ============================================================================== --- projects/clang500-import/contrib/byacc/config.guess Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/config.guess Thu Jun 1 22:59:41 2017 (r319480) @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2017 Free Software Foundation, Inc. -timestamp='2017-01-01' +timestamp='2017-03-05' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -837,10 +837,11 @@ EOF UNAME_PROCESSOR=`/usr/bin/uname -p` case ${UNAME_PROCESSOR} in amd64) - echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - *) - echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + UNAME_PROCESSOR=x86_64 ;; + i386) + UNAME_PROCESSOR=i586 ;; esac + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin @@ -1342,6 +1343,9 @@ EOF exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} + exit ;; + NSX-?:NONSTOP_KERNEL:*:*) + echo nsx-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux Modified: projects/clang500-import/contrib/byacc/config.sub ============================================================================== --- projects/clang500-import/contrib/byacc/config.sub Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/config.sub Thu Jun 1 22:59:41 2017 (r319480) @@ -2,7 +2,7 @@ # Configuration validation subroutine script. # Copyright 1992-2017 Free Software Foundation, Inc. -timestamp='2017-01-01' +timestamp='2017-02-07' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -947,6 +947,9 @@ case $basic_machine in ;; nsr-tandem) basic_machine=nsr-tandem + ;; + nsx-tandem) + basic_machine=nsx-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki Modified: projects/clang500-import/contrib/byacc/defs.h ============================================================================== --- projects/clang500-import/contrib/byacc/defs.h Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/defs.h Thu Jun 1 22:59:41 2017 (r319480) @@ -1,4 +1,4 @@ -/* $Id: defs.h,v 1.56 2017/02/02 00:44:38 tom Exp $ */ +/* $Id: defs.h,v 1.57 2017/04/30 23:29:11 tom Exp $ */ #ifdef HAVE_CONFIG_H #include <config.h> @@ -307,6 +307,7 @@ extern const char *const hdr_defs[]; extern const char *const hdr_vars[]; extern const char *const body_1[]; extern const char *const body_vars[]; +extern const char *const init_vars[]; extern const char *const body_2[]; extern const char *const body_3[]; extern const char *const trailer[]; Modified: projects/clang500-import/contrib/byacc/main.c ============================================================================== --- projects/clang500-import/contrib/byacc/main.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/main.c Thu Jun 1 22:59:41 2017 (r319480) @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.59 2017/02/02 00:44:38 tom Exp $ */ +/* $Id: main.c,v 1.60 2017/04/30 20:57:56 Julien.Ramseier Exp $ */ #include <signal.h> #ifndef _WIN32 @@ -266,7 +266,7 @@ setflag(int ch) #if defined(YYBTYACC) locations = 1; #else - unsupported_flag_warning("-B", "reconfigure with --enable-btyacc"); + unsupported_flag_warning("-L", "reconfigure with --enable-btyacc"); #endif break; Modified: projects/clang500-import/contrib/byacc/output.c ============================================================================== --- projects/clang500-import/contrib/byacc/output.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/output.c Thu Jun 1 22:59:41 2017 (r319480) @@ -1,4 +1,4 @@ -/* $Id: output.c,v 1.79 2016/12/02 20:42:38 tom Exp $ */ +/* $Id: output.c,v 1.81 2017/04/30 23:23:32 tom Exp $ */ #include "defs.h" @@ -1584,7 +1584,20 @@ output_pure_parser(FILE * fp) putc_code(fp, '\n'); } +#if defined(YY_NO_LEAKS) static void +output_no_leaks(FILE * fp) +{ + putc_code(fp, '\n'); + + if (fp == code_file) + ++outline; + fputs("#define YY_NO_LEAKS 1\n", fp); + putc_code(fp, '\n'); +} +#endif + +static void output_trailing_text(void) { int c, last; @@ -1985,6 +1998,9 @@ output(void) output_prefix(fp); output_pure_parser(fp); +#if defined(YY_NO_LEAKS) + output_no_leaks(fp); +#endif output_stored_text(fp); output_stype(fp); #if defined(YYBTYACC) @@ -2068,6 +2084,10 @@ output(void) write_section(code_file, body_vars); } write_section(code_file, body_2); + if (pure_parser) + { + write_section(code_file, init_vars); + } #if defined(YYBTYACC) if (initial_action) output_initial_action(); Modified: projects/clang500-import/contrib/byacc/package/byacc.spec ============================================================================== --- projects/clang500-import/contrib/byacc/package/byacc.spec Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/package/byacc.spec Thu Jun 1 22:59:41 2017 (r319480) @@ -1,8 +1,8 @@ Summary: byacc - public domain Berkeley LALR Yacc parser generator %define AppProgram byacc -%define AppVersion 20170201 +%define AppVersion 20170430 %define UseProgram yacc -# $XTermId: byacc.spec,v 1.33 2017/02/01 09:55:04 tom Exp $ +# $XTermId: byacc.spec,v 1.34 2017/04/30 20:55:15 tom Exp $ Name: %{AppProgram} Version: %{AppVersion} Release: 1 Modified: projects/clang500-import/contrib/byacc/package/debian/changelog ============================================================================== --- projects/clang500-import/contrib/byacc/package/debian/changelog Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/package/debian/changelog Thu Jun 1 22:59:41 2017 (r319480) @@ -1,3 +1,9 @@ +byacc (20170430) unstable; urgency=low + + * maintenance updates + + -- Thomas E. Dickey <dickey@invisible-island.net> Sun, 30 Apr 2017 16:55:15 -0400 + byacc (20170201) unstable; urgency=low * maintenance updates Modified: projects/clang500-import/contrib/byacc/package/mingw-byacc.spec ============================================================================== --- projects/clang500-import/contrib/byacc/package/mingw-byacc.spec Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/package/mingw-byacc.spec Thu Jun 1 22:59:41 2017 (r319480) @@ -1,8 +1,8 @@ Summary: byacc - public domain Berkeley LALR Yacc parser generator %define AppProgram byacc -%define AppVersion 20170201 +%define AppVersion 20170430 %define UseProgram yacc -# $XTermId: mingw-byacc.spec,v 1.15 2017/02/01 09:55:04 tom Exp $ +# $XTermId: mingw-byacc.spec,v 1.16 2017/04/30 20:55:15 tom Exp $ Name: %{AppProgram} Version: %{AppVersion} Release: 1 Modified: projects/clang500-import/contrib/byacc/package/pkgsrc/Makefile ============================================================================== --- projects/clang500-import/contrib/byacc/package/pkgsrc/Makefile Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/package/pkgsrc/Makefile Thu Jun 1 22:59:41 2017 (r319480) @@ -1,7 +1,7 @@ # $NetBSD: Makefile,v 1.9 2008/07/24 17:13:00 tonnerre Exp $ # -DISTNAME= byacc-20170201 +DISTNAME= byacc-20170430 PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= ftp://invisible-island.net/byacc/ Modified: projects/clang500-import/contrib/byacc/test/btyacc/btyacc_calc1.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/btyacc_calc1.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/btyacc_calc1.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -818,7 +818,19 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif + yyerrflag = 0; + yychar = 0; + memset(&yyval, 0, sizeof(yyval)); + memset(&yylval, 0, sizeof(yylval)); +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(&yyloc, 0, sizeof(yyloc)); + memset(&yylloc, 0, sizeof(yylloc)); +#endif + #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; yyps->save = 0; @@ -1525,7 +1537,7 @@ case 28: yyval.vval = yystack.l_mark[-1].vval; } break; -#line 1529 "btyacc_calc1.tab.c" +#line 1541 "btyacc_calc1.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/btyacc_demo.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/btyacc_demo.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/btyacc_demo.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -1330,6 +1330,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -2103,7 +2106,7 @@ case 59: #line 197 "btyacc_demo.y" { yyval.code = yystack.l_mark[-1].code; } break; -#line 2107 "btyacc_demo.tab.c" +#line 2110 "btyacc_demo.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/btyacc_destroy1.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/btyacc_destroy1.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/btyacc_destroy1.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -662,6 +662,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1225,7 +1228,7 @@ case 9: #line 86 "btyacc_destroy1.y" { yyval.nlist = yystack.l_mark[-5].nlist; } break; -#line 1229 "btyacc_destroy1.tab.c" +#line 1232 "btyacc_destroy1.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/btyacc_destroy2.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/btyacc_destroy2.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/btyacc_destroy2.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -662,6 +662,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1225,7 +1228,7 @@ case 9: #line 86 "btyacc_destroy2.y" { yyval.nlist = yystack.l_mark[-5].nlist; } break; -#line 1229 "btyacc_destroy2.tab.c" +#line 1232 "btyacc_destroy2.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/btyacc_destroy3.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/btyacc_destroy3.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/btyacc_destroy3.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -662,6 +662,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1225,7 +1228,7 @@ case 9: #line 89 "btyacc_destroy3.y" { yyval.nlist = yystack.l_mark[-5].nlist; } break; -#line 1229 "btyacc_destroy3.tab.c" +#line 1232 "btyacc_destroy3.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/calc.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/calc.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/calc.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -657,6 +657,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1231,7 +1234,7 @@ case 18: #line 63 "calc.y" { yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1235 "calc.tab.c" +#line 1238 "calc.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/calc1.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/calc1.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/calc1.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -801,6 +801,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1478,7 +1481,7 @@ case 28: yyval.vval = yystack.l_mark[-1].vval; } break; -#line 1482 "calc1.tab.c" +#line 1485 "calc1.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/calc2.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/calc2.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/calc2.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -670,6 +670,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1244,7 +1247,7 @@ case 18: #line 70 "calc2.y" { yyval = (*base) * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1248 "calc2.tab.c" +#line 1251 "calc2.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/calc3.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/calc3.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/calc3.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -675,7 +675,19 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif + yyerrflag = 0; + yychar = 0; + memset(&yyval, 0, sizeof(yyval)); + memset(&yylval, 0, sizeof(yylval)); +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(&yyloc, 0, sizeof(yyloc)); + memset(&yylloc, 0, sizeof(yylloc)); +#endif + #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; yyps->save = 0; @@ -1249,7 +1261,7 @@ case 18: #line 73 "calc3.y" { yyval = (*base) * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1253 "calc3.tab.c" +#line 1265 "calc3.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/code_calc.code.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/code_calc.code.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/code_calc.code.c Thu Jun 1 22:59:41 2017 (r319480) @@ -530,6 +530,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1104,7 +1107,7 @@ case 18: #line 67 "code_calc.y" { yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1108 "code_calc.code.c" +#line 1111 "code_calc.code.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/code_error.code.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/code_error.code.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/code_error.code.c Thu Jun 1 22:59:41 2017 (r319480) @@ -500,6 +500,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; Modified: projects/clang500-import/contrib/byacc/test/btyacc/empty.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/empty.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/empty.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -519,6 +519,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; Modified: projects/clang500-import/contrib/byacc/test/btyacc/err_inherit3.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/err_inherit3.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/err_inherit3.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -619,6 +619,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1189,7 +1192,7 @@ case 13: #line 75 "err_inherit3.y" { yyval.nlist = yystack.l_mark[0].nlist; } break; -#line 1193 "err_inherit3.tab.c" +#line 1196 "err_inherit3.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/err_inherit4.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/err_inherit4.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/err_inherit4.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -617,6 +617,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1179,7 +1182,7 @@ case 11: #line 77 "err_inherit4.y" { yyval.nlist = yystack.l_mark[0].nlist; yyloc = yystack.p_mark[1]; } break; -#line 1183 "err_inherit4.tab.c" +#line 1186 "err_inherit4.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/err_syntax10.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/err_syntax10.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/err_syntax10.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -518,6 +518,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; Modified: projects/clang500-import/contrib/byacc/test/btyacc/err_syntax11.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/err_syntax11.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/err_syntax11.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -524,6 +524,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; Modified: projects/clang500-import/contrib/byacc/test/btyacc/err_syntax12.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/err_syntax12.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/err_syntax12.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -530,6 +530,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; Modified: projects/clang500-import/contrib/byacc/test/btyacc/err_syntax18.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/err_syntax18.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/err_syntax18.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -527,6 +527,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1045,7 +1048,7 @@ case 1: #line 9 "err_syntax18.y" { yyval = yystack.l_mark[1]; } break; -#line 1049 "err_syntax18.tab.c" +#line 1052 "err_syntax18.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/err_syntax20.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/err_syntax20.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/err_syntax20.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -522,6 +522,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1040,7 +1043,7 @@ case 1: #line 12 "err_syntax20.y" { yystack.l_mark[-1].rechk = 3; } break; -#line 1044 "err_syntax20.tab.c" +#line 1047 "err_syntax20.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/error.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/error.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/error.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -523,6 +523,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; Modified: projects/clang500-import/contrib/byacc/test/btyacc/expr.oxout.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/expr.oxout.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/expr.oxout.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -1943,6 +1943,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -2515,7 +2518,7 @@ case 10: yyyGenIntNode(8,1,0,&yyval.yyyOxAttrbs,&yystack.l_mark[0].yyyOxAttrbs); yyyAdjustINRC(8,1,0,0,&yyval.yyyOxAttrbs,&yystack.l_mark[0].yyyOxAttrbs);}} break; -#line 2519 "expr.oxout.tab.c" +#line 2522 "expr.oxout.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/grammar.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/grammar.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/grammar.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -1496,6 +1496,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -2684,7 +2687,7 @@ case 114: yyval.declarator->func_def = FUNC_ANSI; } break; -#line 2688 "grammar.tab.c" +#line 2691 "grammar.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/inherit0.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/inherit0.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/inherit0.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -542,6 +542,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1100,7 +1103,7 @@ case 11: #line 43 "inherit0.y" { yyval = yystack.l_mark[0]; } break; -#line 1104 "inherit0.tab.c" +#line 1107 "inherit0.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/inherit1.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/inherit1.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/inherit1.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -563,6 +563,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1125,7 +1128,7 @@ case 11: #line 71 "inherit1.y" { yyval.nlist = yystack.l_mark[0].nlist; } break; -#line 1129 "inherit1.tab.c" +#line 1132 "inherit1.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/inherit2.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/inherit2.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/inherit2.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -618,6 +618,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1184,7 +1187,7 @@ case 12: #line 75 "inherit2.y" { yyval.nlist = yystack.l_mark[0].nlist; } break; -#line 1188 "inherit2.tab.c" +#line 1191 "inherit2.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/ok_syntax1.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/ok_syntax1.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/ok_syntax1.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -698,7 +698,19 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif + yyerrflag = 0; + yychar = 0; + memset(&yyval, 0, sizeof(yyval)); + memset(&yylval, 0, sizeof(yylval)); +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(&yyloc, 0, sizeof(yyloc)); + memset(&yylloc, 0, sizeof(yylloc)); +#endif + #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; yyps->save = 0; @@ -1272,7 +1284,7 @@ case 18: #line 101 "ok_syntax1.y" { yyval.ival = (*base) * yystack.l_mark[-1].ival + yystack.l_mark[0].ival; } break; -#line 1276 "ok_syntax1.tab.c" +#line 1288 "ok_syntax1.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/pure_calc.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/pure_calc.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/pure_calc.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -671,7 +671,19 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif + yyerrflag = 0; + yychar = 0; + memset(&yyval, 0, sizeof(yyval)); + memset(&yylval, 0, sizeof(yylval)); +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(&yyloc, 0, sizeof(yyloc)); + memset(&yylloc, 0, sizeof(yylloc)); +#endif + #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; yyps->save = 0; @@ -1245,7 +1257,7 @@ case 18: #line 69 "pure_calc.y" { yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1249 "pure_calc.tab.c" +#line 1261 "pure_calc.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/pure_error.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/pure_error.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/pure_error.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -539,6 +539,18 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif + + yyerrflag = 0; + yychar = 0; + memset(&yyval, 0, sizeof(yyval)); + memset(&yylval, 0, sizeof(yylval)); +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(&yyloc, 0, sizeof(yyloc)); + memset(&yylloc, 0, sizeof(yylloc)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; Modified: projects/clang500-import/contrib/byacc/test/btyacc/quote_calc-s.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/quote_calc-s.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/quote_calc-s.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -675,6 +675,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1249,7 +1252,7 @@ case 18: #line 70 "quote_calc.y" { yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1253 "quote_calc-s.tab.c" +#line 1256 "quote_calc-s.tab.c" default: break; } Modified: projects/clang500-import/contrib/byacc/test/btyacc/quote_calc.tab.c ============================================================================== --- projects/clang500-import/contrib/byacc/test/btyacc/quote_calc.tab.c Thu Jun 1 22:47:02 2017 (r319479) +++ projects/clang500-import/contrib/byacc/test/btyacc/quote_calc.tab.c Thu Jun 1 22:59:41 2017 (r319480) @@ -681,6 +681,9 @@ YYPARSE_DECL() *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706012259.v51MxgSt084606>