Mock Version: 2.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/lpg.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1595235366.589943/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7daw9rd1:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7daw9rd1:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '42eaaa3c68a14b1eb343230507d6c6f6', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1595235366.589943/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7daw9rd1:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/lpg.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1595203200 Wrote: /builddir/build/SRPMS/lpg-2.0.17-32.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/lpg.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1595235366.589943/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7daw9rd1:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7daw9rd1:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6e4d0d930e914e5d8ebf8a4fb20bcba3', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1595235366.589943/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7daw9rd1:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/lpg.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1595203200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.J1ZN1w + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lpg-1.1.0 + /usr/bin/mkdir -p lpg-1.1.0 + cd lpg-1.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + unzip -qq /builddir/build/SOURCES/lpg-java-runtime-src-2.0.17.zip -d lpg-java-runtime + unzip -qq /builddir/build/SOURCES/lpg-generator-cpp-src-2.0.17.zip -d lpg-generator-cpp + unzip -qq /builddir/build/SOURCES/lpg-generator-templates-2.0.17.zip -d lpg-generator-templates + chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd lpg-1.1.0 + /usr/bin/unzip -qq /builddir/build/SOURCES/lpgdistribution-05-16-06.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /builddir/build/SOURCES/lpg-build.xml lpgdistribution/build.xml + cp -p /builddir/build/SOURCES/lpg-manifest.mf lpgdistribution/MANIFEST.MF + echo 'Patch #0 (lpg-bootstrap-target.patch):' Patch #0 (lpg-bootstrap-target.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .orig --fuzz=0 patching file lpg-generator-cpp/src/Makefile Patch #1 (lpg-osgi-jar.patch): + echo 'Patch #1 (lpg-osgi-jar.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .orig --fuzz=0 patching file lpg-java-runtime/META-INF/MANIFEST.MF patching file lpg-java-runtime/exportPlugin.xml + echo 'Patch #2 (lpg-segfault.patch):' Patch #2 (lpg-segfault.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .orig --fuzz=0 patching file lpg-generator-cpp/src/tuple.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xNh1jv + umask 022 + cd /builddir/build/BUILD + cd lpg-1.1.0 + cd lpg-java-runtime + ant -f exportPlugin.xml Buildfile: /builddir/build/BUILD/lpg-1.1.0/lpg-java-runtime/exportPlugin.xml init: javaInit: [echo] Java source compatibility = 1.5 [echo] Java target compatibility = 1.5 build.plugin.jar: [echo] basedir = /builddir/build/BUILD/lpg-1.1.0/lpg-java-runtime [mkdir] Created dir: /builddir/build/BUILD/lpg-1.1.0/lpg-java-runtime/temp [mkdir] Created dir: /builddir/build/BUILD/lpg-1.1.0/lpg-java-runtime/temp/bin [javac] Compiling 49 source files to /builddir/build/BUILD/lpg-1.1.0/lpg-java-runtime/temp/bin [javac] warning: [options] bootstrap class path not set in conjunction with -source 5 [javac] error: Source option 5 is no longer supported. Use 6 or later. [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later. [javac] Compile failed; see the compiler error output for details. [copy] Copying 1 file to /builddir/build/BUILD/lpg-1.1.0/lpg-java-runtime/temp/bin [jar] Building jar: /builddir/build/BUILD/lpg-1.1.0/lpg-java-runtime/lpgruntime.jar BUILD SUCCESSFUL Total time: 0 seconds + cd lpgdistribution + ant Buildfile: /builddir/build/BUILD/lpg-1.1.0/lpgdistribution/build.xml init: all: [echo] basedir = /builddir/build/BUILD/lpg-1.1.0/lpgdistribution [delete] Deleting directory /builddir/build/BUILD/lpg-1.1.0/lpgdistribution/bin [mkdir] Created dir: /builddir/build/BUILD/lpg-1.1.0/lpgdistribution/bin [javac] Compiling 38 source files to /builddir/build/BUILD/lpg-1.1.0/lpgdistribution/bin [javac] warning: [options] bootstrap class path not set in conjunction with -source 8 [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 warning [delete] Deleting: /builddir/build/BUILD/lpg-1.1.0/lpgdistribution/lpgjavaruntime.jar [jar] Building jar: /builddir/build/BUILD/lpg-1.1.0/lpgdistribution/lpgjavaruntime.jar BUILD SUCCESSFUL Total time: 3 seconds + pushd lpg-generator-cpp/src ~/build/BUILD/lpg-1.1.0/lpg-generator-cpp/src ~/build/BUILD/lpg-1.1.0 + make clean install ARCH=linux_x86 'LOCAL_CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow' 'LOCAL_CXXFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow' rm -f core ,* *~ *.bak rm -f *.o gmon.out mon.out TAGS tags g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c CAction.cpp In file included from Action.h:4, from CAction.h:4, from CAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c CTable.cpp In file included from partition.h:3, from CTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c CppAction.cpp In file included from CppAction.h:4, from CppAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c CppTable.cpp In file included from partition.h:3, from CppTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c JavaAction.cpp In file included from JavaAction.cpp:2: NTC.h: In constructor 'NTC::NTC(BoundedArray >&, Array&, Grammar*)': NTC.h:22:33: warning: 'NTC::global_map' will be initialized after [-Wreorder] 22 | BoundedArray< Tuple > &global_map; | ^~~~~~~~~~ NTC.h:21:18: warning: 'Array& NTC::user_specified_null_ast' [-Wreorder] 21 | Array &user_specified_null_ast; | ^~~~~~~~~~~~~~~~~~~~~~~ NTC.h:78:5: warning: when initialized here [-Wreorder] 78 | NTC(BoundedArray< Tuple > &global_map_, Array &user_specified_null_ast_, Grammar *grammar_) | ^~~ In file included from CTC.h:4, from JavaAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': CTC.h:67:72: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSet]': CTC.h:77:58: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from CTC.h:5, from JavaAction.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ In file included from /usr/include/string.h:519, from tuple.h:4, from CTC.h:4, from JavaAction.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps between 1 and 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c JavaTable.cpp In file included from partition.h:3, from JavaTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c LexStream.cpp In file included from util.h:4, from option.h:4, from LexStream.h:7, from LexStream.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c MlAction.cpp In file included from Action.h:4, from MlAction.h:4, from MlAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c MlTable.cpp In file included from partition.h:3, from MlTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c PlxAction.cpp In file included from Action.h:4, from PlxAction.h:4, from PlxAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c PlxTable.cpp In file included from PlxTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c PlxasmAction.cpp In file included from PlxasmAction.h:4, from PlxasmAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c PlxasmTable.cpp In file included from PlxasmTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c XmlAction.cpp In file included from Action.h:4, from XmlAction.h:4, from XmlAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c XmlTable.cpp XmlTable.cpp: In member function 'virtual void XmlTable::PrintTables()': XmlTable.cpp:85:19: warning: variable 'in_symb_info' set but not used [-Wunused-but-set-variable] 85 | *in_symb_info = NULL; | ^~~~~~~~~~~~ In file included from table.h:4, from XmlTable.h:4, from XmlTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c Action.cpp In file included from Action.cpp:1: NTC.h: In constructor 'NTC::NTC(BoundedArray >&, Array&, Grammar*)': NTC.h:22:33: warning: 'NTC::global_map' will be initialized after [-Wreorder] 22 | BoundedArray< Tuple > &global_map; | ^~~~~~~~~~ NTC.h:21:18: warning: 'Array& NTC::user_specified_null_ast' [-Wreorder] 21 | Array &user_specified_null_ast; | ^~~~~~~~~~~~~~~~~~~~~~~ NTC.h:78:5: warning: when initialized here [-Wreorder] 78 | NTC(BoundedArray< Tuple > &global_map_, Array &user_specified_null_ast_, Grammar *grammar_) | ^~~ In file included from NTC.h:4, from Action.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': CTC.h:67:72: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSet]': CTC.h:77:58: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from NTC.h:5, from Action.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ In file included from NTC.h:4, from Action.cpp:1: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSetWithOffset]': LCA.h:71:70: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from NTC.h:5, from Action.cpp:1: set.h:383:7: note: 'class BitSetWithOffset' declared here 383 | class BitSetWithOffset : public BitSet | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from tuple.h:4, from NTC.h:4, from Action.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps between 1 and 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c base.cpp base.cpp: In member function 'void Base::Process()': base.cpp:249:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 249 | if (! generates_string[nt]) | ^ In file included from util.h:4, from option.h:4, from control.h:4, from base.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSet]': base.cpp:30:73: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from base.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ In file included from util.h:4, from option.h:4, from control.h:4, from base.cpp:1: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': base.cpp:38:73: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSetWithOffset]': base.cpp:303:77: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from base.cpp:1: set.h:383:7: note: 'class BitSetWithOffset' declared here 383 | class BitSetWithOffset : public BitSet | ^~~~~~~~~~~~~~~~ In file included from util.h:4, from option.h:4, from control.h:4, from base.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSet]': base.cpp:482:47: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from base.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ In file included from util.h:4, from option.h:4, from control.h:4, from base.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': base.cpp:506:50: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c buffer.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c code.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c control.cpp In file included from util.h:4, from option.h:4, from control.h:4, from control.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c dfa.cpp In file included from util.h:4, from option.h:4, from control.h:4, from dfa.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c diagnose.cpp In file included from util.h:4, from diagnose.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:519, from tuple.h:4, from util.h:4, from diagnose.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps between 1 and 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c dump.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c generator.cpp In file included from generator.h:4, from generator.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSetWithOffset]': generator.cpp:356:53: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from generator.h:5, from generator.cpp:1: set.h:383:7: note: 'class BitSetWithOffset' declared here 383 | class BitSetWithOffset : public BitSet | ^~~~~~~~~~~~~~~~ In file included from generator.h:4, from generator.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSet]': generator.cpp:360:52: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from generator.h:5, from generator.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c grammar.cpp In file included from util.h:4, from option.h:4, from control.h:4, from grammar.cpp:2: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:519, from tuple.h:4, from util.h:4, from option.h:4, from control.h:4, from grammar.cpp:2: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps between 1 and 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c jikespg.cpp jikespg.cpp: In function 'int main(int, char**)': jikespg.cpp:81:22: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] 81 | catch (bad_alloc b) | ^ In file included from symbol.h:4, from jikespg.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c jikespg_act.cpp In file included from util.h:4, from option.h:4, from LexStream.h:7, from Stacks.h:5, from jikespg.g:131, from jikespg_act.cpp:2: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c jikespg_init.cpp In file included from util.h:4, from option.h:4, from LexStream.h:7, from Stacks.h:5, from jikespg.g:131, from jikespg.g:315: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c jikespg_prs.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c option.cpp In file included from util.h:4, from option.h:4, from control.h:4, from option.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:519, from tuple.h:4, from util.h:4, from option.h:4, from control.h:4, from option.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps between 1 and 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c parser.cpp In file included from util.h:4, from option.h:4, from LexStream.h:7, from Stacks.h:5, from jikespg.g:131, from parser.h:5, from parser.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c pda.cpp In file included from util.h:4, from option.h:4, from control.h:4, from pda.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSet]': pda.cpp:99:39: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from pda.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c produce.cpp In file included from util.h:4, from option.h:4, from control.h:4, from produce.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': produce.cpp:34:80: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSetWithOffset]': produce.cpp:35:79: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from produce.cpp:1: set.h:383:7: note: 'class BitSetWithOffset' declared here 383 | class BitSetWithOffset : public BitSet | ^~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c resolve.cpp resolve.cpp: In member function 'void Resolve::process_conflicts(int)': resolve.cpp:658:16: warning: unused variable 'otherEndToken' [-Wunused-variable] 658 | Token *otherEndToken = ls -> GetTokenReference(otherTokenEnd); | ^~~~~~~~~~~~~ In file included from resolve.h:4, from resolve.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:519, from tuple.h:4, from resolve.h:4, from resolve.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps between 1 and 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c scanner.cpp scanner.cpp: In member function 'void Scanner::ClassifySingleQuotedSymbol()': scanner.cpp:1277:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1277 | if (ptr[0] == delimiter) | ^ scanner.cpp: In member function 'void Scanner::ClassifyDoubleQuotedSymbol()': scanner.cpp:1336:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1336 | if (ptr[0] == delimiter) | ^ In file included from util.h:4, from option.h:4, from control.h:4, from scanner.cpp:2: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:519, from tuple.h:4, from util.h:4, from option.h:4, from control.h:4, from scanner.cpp:2: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps between 1 and 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c sp.cpp In file included from util.h:4, from option.h:4, from control.h:4, from sp.h:4, from sp.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': sp.cpp:601:48: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': sp.cpp:604:44: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': sp.cpp:605:47: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c symbol.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c tab.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c table.cpp In file included from table.h:4, from table.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c util.cpp g++ CAction.o CTable.o CppAction.o CppTable.o JavaAction.o JavaTable.o LexStream.o MlAction.o MlTable.o PlxAction.o PlxTable.o PlxasmAction.o PlxasmTable.o XmlAction.o XmlTable.o Action.o base.o buffer.o code.o control.o dfa.o diagnose.o dump.o generator.o grammar.o jikespg.o jikespg_act.o jikespg_init.o jikespg_prs.o option.o parser.o pda.o produce.o resolve.o scanner.o sp.o symbol.o tab.o table.o util.o -o lpg-linux_x86 Installing targets and headers: cp lpg-linux_x86 ..//bin/lpg-linux_x86 + make bootstrap ARCH=linux_x86 ../bin/lpg-linux_x86 jikespg.g IBM LALR Parser Generator Version 2.0.17 (Jul 20 2020) (C) Copyright IBM Corp. 1984, 2006. Options in effect for jikespg.g: ACTION-BLOCK=("jikespg_act.cpp","/.","./") ACTION-BLOCK=("jikespg_init.cpp","/:",":/") ACTION-BLOCK=("jikespg_act.h","/!","!/") AST-DIRECTORY="" AST-TYPE="Ast" NOATTRIBUTES NOAUTOMATIC-AST NOBACKTRACK BYTE CONFLICTS DAT-DIRECTORY="" DAT-FILE="jikespg_dcl.data" DCL-FILE="jikespg_prs.cpp" NODEBUG DEF-FILE="jikespg_def.cpp" NOEDIT ERROR-MAPS ESCAPE='$' EXPORT-TERMINALS=("jikespg_exp.h","","") EXTENDS-PARSETABLE FACTORY="new " FILE-PREFIX="jikespg_" NOFIRST NOFOLLOW NOGLR NOGOTO-DEFAULT GRM-FILE="jikespg.g" IMP-FILE="jikespg_imp.h" INCLUDE-DIRECTORY="" LALR=3 LEGACY NOLIST MARGIN=8 MAX-CASES=1024 NAMES=OPTIMIZED NONT-CHECK OR_MARKER='|' OUT-DIRECTORY="" PACKAGE="" NOPARENT-SAVE NOPARSETABLE-INTERFACES PREFIX="TK_" PRIORITY PROGRAMMING_LANGUAGE=CPP PRS-FILE="jikespg_prs.h" NOQUIET READ-REDUCE REMAP-TERMINALS SCOPES NOSERIALIZE NOSHIFT-DEFAULT NOSINGLE-PRODUCTIONS NOSOFT-KEYWORDS NOSTATES SUFFIX="" SYM-FILE="jikespg_sym.h" TAB-FILE="jikespg.t" TABLE TEMPLATE="" TRACE=CONFLICTS NOVARIABLES NOVERBOSE NOVISITOR VISITOR-TYPE="Visitor" WARNINGS NOXREF jikespg.g:120:5:120:17:3312:3324: Informative: Grammar is LALR(3). Number of Terminals: 37 Number of Nonterminals: 44 Number of Productions: 131 Number of Items: 384 Number of Scopes: 0 Number of States: 83 Number of look-ahead states: 21 Number of Shift actions: 445 Number of Goto actions: 58 Number of Shift/Reduce actions: 224 Number of Goto/Reduce actions: 54 Number of Reduce actions: 1616 Number of Shift-Reduce conflicts: 0 Number of Reduce-Reduce conflicts: 0 Number of entries in base Action Table: 195 Additional space required for compaction of Action Table: 0.5% Number of unique terminal states: 70 Number of Shift actions saved by merging: 105 Number of Conflict points saved by merging: 0 Number of Reduce actions saved by merging: 450 Number of Reduce saved by default: 1165 Number of entries in Terminal Action Table: 656 Additional space required for compaction of Terminal Table: 2.2% Actions in Compressed Tables: Number of Shifts: 445 Number of Shift/Reduces: 119 Number of Look-Ahead Shifts: 21 Number of Gotos: 58 Number of Goto/Reduces: 54 Number of Reduces: 1 Number of Defaults: 59 Parsing Tables storage: Storage required for BASE_CHECK: 327 Bytes Storage required for BASE_ACTION: 656 Bytes Storage required for TERM_CHECK: 708 Bytes Storage required for TERM_ACTION: 1344 Bytes Error maps storage: Storage required for ACTION_SYMBOLS_BASE map: 84 Bytes Storage required for ACTION_SYMBOLS_RANGE map: 155 Bytes Storage required for NACTION_SYMBOLS_BASE map: 84 Bytes Storage required for NACTION_SYMBOLS_RANGE map: 67 Bytes Storage required for TERMINAL_INDEX map: 38 Bytes Storage required for NON_TERMINAL_INDEX map: 46 Bytes Storage required for NAME_START map: 156 Bytes Storage required for STRING_BUFFER map: 780 Bytes rm -f jikespg.l + make clean install ARCH=linux_x86 'LOCAL_CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow' 'LOCAL_CXXFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow' rm -f core ,* *~ *.bak rm -f *.o gmon.out mon.out TAGS tags g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c CAction.cpp In file included from Action.h:4, from CAction.h:4, from CAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c CTable.cpp In file included from partition.h:3, from CTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c CppAction.cpp In file included from CppAction.h:4, from CppAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c CppTable.cpp In file included from partition.h:3, from CppTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c JavaAction.cpp In file included from JavaAction.cpp:2: NTC.h: In constructor 'NTC::NTC(BoundedArray >&, Array&, Grammar*)': NTC.h:22:33: warning: 'NTC::global_map' will be initialized after [-Wreorder] 22 | BoundedArray< Tuple > &global_map; | ^~~~~~~~~~ NTC.h:21:18: warning: 'Array& NTC::user_specified_null_ast' [-Wreorder] 21 | Array &user_specified_null_ast; | ^~~~~~~~~~~~~~~~~~~~~~~ NTC.h:78:5: warning: when initialized here [-Wreorder] 78 | NTC(BoundedArray< Tuple > &global_map_, Array &user_specified_null_ast_, Grammar *grammar_) | ^~~ In file included from CTC.h:4, from JavaAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': CTC.h:67:72: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSet]': CTC.h:77:58: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from CTC.h:5, from JavaAction.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ In file included from /usr/include/string.h:519, from tuple.h:4, from CTC.h:4, from JavaAction.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps between 1 and 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c JavaTable.cpp In file included from partition.h:3, from JavaTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c LexStream.cpp In file included from util.h:4, from option.h:4, from LexStream.h:7, from LexStream.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c MlAction.cpp In file included from Action.h:4, from MlAction.h:4, from MlAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c MlTable.cpp In file included from partition.h:3, from MlTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c PlxAction.cpp In file included from Action.h:4, from PlxAction.h:4, from PlxAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c PlxTable.cpp In file included from PlxTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c PlxasmAction.cpp In file included from PlxasmAction.h:4, from PlxasmAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c PlxasmTable.cpp In file included from PlxasmTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c XmlAction.cpp In file included from Action.h:4, from XmlAction.h:4, from XmlAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c XmlTable.cpp XmlTable.cpp: In member function 'virtual void XmlTable::PrintTables()': XmlTable.cpp:85:19: warning: variable 'in_symb_info' set but not used [-Wunused-but-set-variable] 85 | *in_symb_info = NULL; | ^~~~~~~~~~~~ In file included from table.h:4, from XmlTable.h:4, from XmlTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c Action.cpp In file included from Action.cpp:1: NTC.h: In constructor 'NTC::NTC(BoundedArray >&, Array&, Grammar*)': NTC.h:22:33: warning: 'NTC::global_map' will be initialized after [-Wreorder] 22 | BoundedArray< Tuple > &global_map; | ^~~~~~~~~~ NTC.h:21:18: warning: 'Array& NTC::user_specified_null_ast' [-Wreorder] 21 | Array &user_specified_null_ast; | ^~~~~~~~~~~~~~~~~~~~~~~ NTC.h:78:5: warning: when initialized here [-Wreorder] 78 | NTC(BoundedArray< Tuple > &global_map_, Array &user_specified_null_ast_, Grammar *grammar_) | ^~~ In file included from NTC.h:4, from Action.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': CTC.h:67:72: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSet]': CTC.h:77:58: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from NTC.h:5, from Action.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ In file included from NTC.h:4, from Action.cpp:1: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSetWithOffset]': LCA.h:71:70: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from NTC.h:5, from Action.cpp:1: set.h:383:7: note: 'class BitSetWithOffset' declared here 383 | class BitSetWithOffset : public BitSet | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from tuple.h:4, from NTC.h:4, from Action.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps between 1 and 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c base.cpp base.cpp: In member function 'void Base::Process()': base.cpp:249:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 249 | if (! generates_string[nt]) | ^ In file included from util.h:4, from option.h:4, from control.h:4, from base.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSet]': base.cpp:30:73: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from base.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ In file included from util.h:4, from option.h:4, from control.h:4, from base.cpp:1: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': base.cpp:38:73: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSetWithOffset]': base.cpp:303:77: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from base.cpp:1: set.h:383:7: note: 'class BitSetWithOffset' declared here 383 | class BitSetWithOffset : public BitSet | ^~~~~~~~~~~~~~~~ In file included from util.h:4, from option.h:4, from control.h:4, from base.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSet]': base.cpp:482:47: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from base.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ In file included from util.h:4, from option.h:4, from control.h:4, from base.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': base.cpp:506:50: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c buffer.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c code.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c control.cpp In file included from util.h:4, from option.h:4, from control.h:4, from control.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c dfa.cpp In file included from util.h:4, from option.h:4, from control.h:4, from dfa.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c diagnose.cpp In file included from util.h:4, from diagnose.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:519, from tuple.h:4, from util.h:4, from diagnose.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps between 1 and 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c dump.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c generator.cpp In file included from generator.h:4, from generator.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSetWithOffset]': generator.cpp:356:53: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from generator.h:5, from generator.cpp:1: set.h:383:7: note: 'class BitSetWithOffset' declared here 383 | class BitSetWithOffset : public BitSet | ^~~~~~~~~~~~~~~~ In file included from generator.h:4, from generator.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSet]': generator.cpp:360:52: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from generator.h:5, from generator.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c grammar.cpp In file included from util.h:4, from option.h:4, from control.h:4, from grammar.cpp:2: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:519, from tuple.h:4, from util.h:4, from option.h:4, from control.h:4, from grammar.cpp:2: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps between 1 and 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c jikespg.cpp jikespg.cpp: In function 'int main(int, char**)': jikespg.cpp:81:22: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] 81 | catch (bad_alloc b) | ^ In file included from symbol.h:4, from jikespg.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c jikespg_act.cpp In file included from util.h:4, from option.h:4, from LexStream.h:7, from Stacks.h:5, from jikespg.g:131, from jikespg_act.cpp:2: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c jikespg_init.cpp In file included from util.h:4, from option.h:4, from LexStream.h:7, from Stacks.h:5, from jikespg.g:131, from jikespg.g:315: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c jikespg_prs.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c option.cpp In file included from util.h:4, from option.h:4, from control.h:4, from option.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:519, from tuple.h:4, from util.h:4, from option.h:4, from control.h:4, from option.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps between 1 and 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c parser.cpp In file included from util.h:4, from option.h:4, from LexStream.h:7, from Stacks.h:5, from jikespg.g:131, from parser.h:5, from parser.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c pda.cpp In file included from util.h:4, from option.h:4, from control.h:4, from pda.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSet]': pda.cpp:99:39: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from pda.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c produce.cpp In file included from util.h:4, from option.h:4, from control.h:4, from produce.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': produce.cpp:34:80: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSetWithOffset]': produce.cpp:35:79: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from produce.cpp:1: set.h:383:7: note: 'class BitSetWithOffset' declared here 383 | class BitSetWithOffset : public BitSet | ^~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c resolve.cpp resolve.cpp: In member function 'void Resolve::process_conflicts(int)': resolve.cpp:658:16: warning: unused variable 'otherEndToken' [-Wunused-variable] 658 | Token *otherEndToken = ls -> GetTokenReference(otherTokenEnd); | ^~~~~~~~~~~~~ In file included from resolve.h:4, from resolve.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:519, from tuple.h:4, from resolve.h:4, from resolve.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps between 1 and 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c scanner.cpp scanner.cpp: In member function 'void Scanner::ClassifySingleQuotedSymbol()': scanner.cpp:1277:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1277 | if (ptr[0] == delimiter) | ^ scanner.cpp: In member function 'void Scanner::ClassifyDoubleQuotedSymbol()': scanner.cpp:1336:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1336 | if (ptr[0] == delimiter) | ^ In file included from util.h:4, from option.h:4, from control.h:4, from scanner.cpp:2: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:519, from tuple.h:4, from util.h:4, from option.h:4, from control.h:4, from scanner.cpp:2: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps between 1 and 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c sp.cpp In file included from util.h:4, from option.h:4, from control.h:4, from sp.h:4, from sp.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': sp.cpp:601:48: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': sp.cpp:604:44: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': sp.cpp:605:47: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c symbol.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c tab.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c table.cpp In file included from table.h:4, from table.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-strict-overflow -I../include -c util.cpp g++ CAction.o CTable.o CppAction.o CppTable.o JavaAction.o JavaTable.o LexStream.o MlAction.o MlTable.o PlxAction.o PlxTable.o PlxasmAction.o PlxasmTable.o XmlAction.o XmlTable.o Action.o base.o buffer.o code.o control.o dfa.o diagnose.o dump.o generator.o grammar.o jikespg.o jikespg_act.o jikespg_init.o jikespg_prs.o option.o parser.o pda.o produce.o resolve.o scanner.o sp.o symbol.o tab.o table.o util.o -o lpg-linux_x86 Installing targets and headers: cp lpg-linux_x86 ..//bin/lpg-linux_x86 + popd ~/build/BUILD/lpg-1.1.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.o1YEzw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64 ++ dirname /builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64 + cd lpg-1.1.0 + install -pD -T lpg-generator-cpp/bin/lpg-linux_x86 /builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/bin/lpg + /usr/bin/python3 /usr/share/java-utils/mvn_package.py lpg.runtime:java java + /usr/bin/python3 /usr/share/java-utils/mvn_package.py net.sourceforge.lpg:lpgjavaruntime java-compat + /usr/bin/python3 /usr/share/java-utils/mvn_artifact.py lpg.runtime:java:2.0.17 lpg-java-runtime/lpgruntime.jar + /usr/bin/python3 /usr/share/java-utils/mvn_artifact.py net.sourceforge.lpg:lpgjavaruntime:1.1.0 lpgdistribution/lpgjavaruntime.jar + /usr/bin/python3 /usr/share/java-utils/mvn_file.py lpg.runtime: lpgruntime + /usr/bin/python3 /usr/share/java-utils/mvn_file.py net.sourceforge.lpg: lpgjavaruntime + xmvn-install -R .xmvn-reactor -n lpg -d /builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64 [INFO] Installing artifact lpg.runtime:java:jar:2.0.17 [INFO] Installing artifact net.sourceforge.lpg:lpgjavaruntime:jar:1.1.0 [INFO] Installation successful + jdir=target/site/apidocs + '[' -d .xmvn/apidocs ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/share/licenses + '[' -d target/site/apidocs ']' + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.0.17-32.fc33 --unique-debug-suffix -2.0.17-32.fc33.x86_64 --unique-debug-src-base lpg-2.0.17-32.fc33.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/lpg-1.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/bin/lpg extracting debug info from /builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/bin/lpg original debug info size: 13256kB, size after compression: 10772kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 2942 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: lpg-2.0.17-32.fc33.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tUI9yu + umask 022 + cd /builddir/build/BUILD + cd lpg-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/share/doc/lpg + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/share/doc/lpg + cp -pr lpg-generator-templates/docs/Ast.txt 'lpg-generator-templates/docs/Getting Started with LPG.doc' 'lpg-generator-templates/docs/Getting Started with LPG.pdf' 'lpg-generator-templates/docs/LPG Automatic AST Generation.doc' 'lpg-generator-templates/docs/Using the LALR Parser Generator.doc' 'lpg-generator-templates/docs/Using the LALR Parser Generator.pdf' /builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/share/doc/lpg + RPM_EC=0 ++ jobs -p + exit 0 Provides: lpg = 2.0.17-32.fc33 lpg(x86-64) = 2.0.17-32.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: lpg-java-2.0.17-32.fc33.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XRrB3t + umask 022 + cd /builddir/build/BUILD + cd lpg-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/share/doc/lpg-java + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/share/doc/lpg-java + cp -pr 'lpg-java-runtime/Eclipse Public License - Version 1_0.htm' /builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/share/doc/lpg-java + RPM_EC=0 ++ jobs -p + exit 0 [INFO maven.prov] input: ['/builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/share/maven-metadata/lpg-java.xml'] [INFO maven.prov] mvn(lpg.runtime:java) = 2.0.17 [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/share/java/lpgruntime.jar'] [INFO osgi.prov] osgi(lpg.runtime.java) = 2.0.17 [INFO maven.req] input: ['/builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/share/maven-metadata/lpg-java.xml'] [INFO maven.req] javapackages-filesystem, java-headless [INFO osgi.req] input: ['/builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/share/java/lpgruntime.jar'] Provides: lpg-java = 2.0.17-32.fc33 mvn(lpg.runtime:java) = 2.0.17 osgi(lpg.runtime.java) = 2.0.17 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: java-headless javapackages-filesystem Processing files: lpg-java-compat-1.1.0-32.fc33.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pN6VAv + umask 022 + cd /builddir/build/BUILD + cd lpg-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/share/doc/lpg-java-compat + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/share/doc/lpg-java-compat + cp -pr 'lpg-java-runtime/Eclipse Public License - Version 1_0.htm' /builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/share/doc/lpg-java-compat + RPM_EC=0 ++ jobs -p + exit 0 [INFO maven.prov] input: ['/builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/share/maven-metadata/lpg-java-compat.xml'] [INFO maven.prov] mvn(net.sourceforge.lpg:lpgjavaruntime) = 1.1.0 [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/share/java/lpgjavaruntime.jar'] [INFO osgi.prov] osgi(net.sourceforge.lpg.lpgjavaruntime) = 1.1.0 [INFO maven.req] input: ['/builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/share/maven-metadata/lpg-java-compat.xml'] [INFO maven.req] javapackages-filesystem, java-headless [INFO osgi.req] input: ['/builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64/usr/share/java/lpgjavaruntime.jar'] Provides: lpg-java-compat = 1.1.0-32.fc33 mvn(net.sourceforge.lpg:lpgjavaruntime) = 1.1.0 osgi(net.sourceforge.lpg.lpgjavaruntime) = 1.1.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: java-headless javapackages-filesystem Processing files: lpg-debugsource-2.0.17-32.fc33.x86_64 Provides: lpg-debugsource = 2.0.17-32.fc33 lpg-debugsource(x86-64) = 2.0.17-32.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lpg-debuginfo-2.0.17-32.fc33.x86_64 Provides: debuginfo(build-id) = 0cd7ee6f36f8e540aedd131e4998fbd989857cba lpg-debuginfo = 2.0.17-32.fc33 lpg-debuginfo(x86-64) = 2.0.17-32.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lpg-debugsource(x86-64) = 2.0.17-32.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64 Wrote: /builddir/build/RPMS/lpg-2.0.17-32.fc33.x86_64.rpm Wrote: /builddir/build/RPMS/lpg-debugsource-2.0.17-32.fc33.x86_64.rpm Wrote: /builddir/build/RPMS/lpg-java-compat-1.1.0-32.fc33.noarch.rpm Wrote: /builddir/build/RPMS/lpg-java-2.0.17-32.fc33.noarch.rpm Wrote: /builddir/build/RPMS/lpg-debuginfo-2.0.17-32.fc33.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SVJlut + umask 022 + cd /builddir/build/BUILD + cd lpg-1.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lpg-2.0.17-32.fc33.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0