Executing: uname -s stdout: Linux ================================================================================ ================================================================================ Starting configure run at Thu, 08 Sep 2022 18:30:42 -0600 Configure Options: --configModules=PETSc.Configure --optionsModule=config.compilerOptions --with-cc=mpicc --with-fc=mpif90 --with-cxx=mpicxx --with-clanguage=c --CFLAGS=-O3 --CXXFLAGS=-O3 --FFLAGS=-O3 --with-shared-libraries=0 --with-petsc-arch=gnu_O --with-debugging=0 --with-valgrind=0 --download-parmetis=yes --download-metis=yes --with-mpi=yes --download-fblaslapack=yes --download-mumps=yes --download-scalapack=yes --download-hypre=yes --with-hdf5-fortran-bindings=1 --download-hdf5=yes Working directory: /projects/ADSM/software/petsc-v3.17.2 Machine platform: uname_result(system='Linux', node='boca1', release='3.10.0-1160.66.1.1chaos.ch6.x86_64', version='#1 SMP Fri Jun 3 12:04:08 PDT 2022', machine='x86_64') Python version: 3.9.12 (main, Apr 5 2022, 06:56:58) [GCC 7.5.0] ================================================================================ Environmental variables SNLSITE=nm MANPATH=/opt/openmpi/4.1/gnu/man:/opt/openmpi/4.1/gnu/share/man:/opt/rh/devtoolset-10/root/usr/share/man:/projects/netpub/anaconda3/2022.05/share/man:/usr/share/lmod/lmod/share/man:: HOSTNAME=boca1 GUESTFISH_INIT=\e[1;34m _ModuleTable003_=MDAwMi4wMDAwMDAwMDEuKnpmaW5hbCIsCn0sClsib3Blbm1waS1nbnUiXSA9IHsKZm4gPSAiL29wdC9tb2R1bGVzL21vZHVsZWZpbGVzL29wZW5tcGktZ251LzQuMSIsCmZ1bGxOYW1lID0gIm9wZW5tcGktZ251LzQuMSIsCmxvYWRPcmRlciA9IDMsCnByb3BUID0ge30sCnN0YWNrRGVwdGggPSAwLApzdGF0dXMgPSAiYWN0aXZlIiwKdXNlck5hbWUgPSAib3Blbm1waS1nbnUvNC4xIiwKd1YgPSAiMDAwMDAwMDA0LjAwMDAwMDAwMS4qemZpbmFsIiwKfSwKfSwKbXBhdGhBID0gewoiL3Byb2plY3RzL3NpZXJyYS9hdHRhd2F5L21vZHVsZXMiLCAiL2V0Yy9tb2R1bGVmaWxlcyIsICIvdXNyL3NoYXJlL21vZHVsZWZpbGVzIgosICIvdXNyL3NoYXJlL01vZHVsZXMvbW9kdWxlZmls OMPI_MCA_btl_openib_allow_ib=true INTEL_LICENSE_FILE=/opt/modules/etc/SSNL.lic:/opt/modules/etc/license.client SHELL=/bin/bash TERM=xterm-256color SNLSYSTEM=condo __LMOD_REF_COUNT_MODULEPATH=/projects/sierra/attaway/modules:1;/etc/modulefiles:1;/usr/share/modulefiles:1;/usr/share/Modules/modulefiles:1;/apps/modules/modulefiles-apps:1;/apps/modules/modulefiles:1;/opt/modules/modulefiles:1;/usr/share/modulefiles/Linux:1;/usr/share/modulefiles/Core:1;/usr/share/lmod/lmod/modulefiles/Core:1 HISTSIZE=1000 LMOD_ROOT=/usr/share/lmod WISECONFIGDIR=/usr/share/wise2/ CLICOLOR=1 GNU_INCLUDES=/opt/rh/devtoolset-10/root/usr/include/c++/10 SSH_CLIENT=192.168.25.204 58496 22 MODULEPATH_ROOT=/usr/share/modulefiles PETSC_ARCH=intel_O_openmpi4.0 LMOD_PKG=/usr/share/lmod/lmod QTDIR=/usr/lib64/qt-3.3 QTINC=/usr/lib64/qt-3.3/include LMOD_VERSION=8.6.19 SSH_TTY=/dev/pts/2 QT_GRAPHICSSYSTEM_CHECKED=1 USER=heepark SNLCLUSTER=boca OMPI_MCA_btl_openib_ib_retry_count=7 http_proxy=http://proxy.sandia.gov:80 LD_LIBRARY_PATH=/opt/openmpi/4.1/gnu/lib:/usr/lib64/nvidia:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10 LS_COLORS=rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45: LMOD_sys=Linux PFLOTRAN_DIR=/projects/ADSM/software/pflotran-skybridge GNU_LIBS=/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10 DEFAULT_MODULES_LOADED=1 IPATH_NO_CPUAFFINITY=1 CPATH=/opt/openmpi/4.1/gnu/include _ModuleTable004_=ZXMiLCAiL2FwcHMvbW9kdWxlcy9tb2R1bGVmaWxlcy1hcHBzIiwgIi9hcHBzL21vZHVsZXMvbW9kdWxlZmlsZXMiCiwgIi9vcHQvbW9kdWxlcy9tb2R1bGVmaWxlcyIsICIvdXNyL3NoYXJlL21vZHVsZWZpbGVzL0xpbnV4IiwgIi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvQ29yZSIsICIvdXNyL3NoYXJlL2xtb2QvbG1vZC9tb2R1bGVmaWxlcy9Db3JlIiwKfSwKc3lzdGVtQmFzZU1QQVRIID0gIi9wcm9qZWN0cy9zaWVycmEvYXR0YXdheS9tb2R1bGVzOi9ldGMvbW9kdWxlZmlsZXM6L3Vzci9zaGFyZS9tb2R1bGVmaWxlczovdXNyL3NoYXJlL01vZHVsZXMvbW9kdWxlZmlsZXM6L2FwcHMvbW9kdWxlcy9tb2R1bGVmaWxlcy1hcHBzOi9hcHBzL21vZHVsZXMvbW9kdWxlZmlsZXM6 ftp_proxy=http://proxy.sandia.gov:80 FTP_PROXY=http://user:pass@proxy.sandia.gov:80 LMOD_FAMILY_MPI_VERSION=4.1 GUESTFISH_PS1=\[\e[1;32m\]>\[\e[0;31m\] LSCOLORS=ExFxBxDxCxegedabagacad MPIROOT=/opt/openmpi/4.1/gnu ALL_PROXY=http://user:pass@proxy.sandia.gov:80 PATH=/projects/cmake/toss3/3.22.3/bin:/opt/openmpi/4.1/gnu/bin:/opt/rh/devtoolset-10/root/usr/bin:/projects/netpub/anaconda3/2022.05/bin:/projects/ADSM/software/local/bin:/usr/lib64/qt-3.3/bin:/usr/lpp/mmfs/bin:/opt/ibm/MCStore/bin:/opt/ibm/MCStore/scripts:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/dell/srvadmin/bin:/projects/ADSM/software/pflotran-master-petsc-v3.17.2/src/pflotran MAIL=/var/spool/mail/heepark SRUN_NO_REQUEUE=1 _ModuleTable001_=X01vZHVsZVRhYmxlXyA9IHsKTVR2ZXJzaW9uID0gMywKY19yZWJ1aWxkVGltZSA9IGZhbHNlLApjX3Nob3J0VGltZSA9IGZhbHNlLApkZXB0aFQgPSB7fSwKZmFtaWx5ID0gewptcGkgPSAib3Blbm1waS1nbnUiLAp9LAptVCA9IHsKYW5hY29uZGEzID0gewpmbiA9ICIvYXBwcy9tb2R1bGVzL21vZHVsZWZpbGVzLWFwcHMvYW5hY29uZGEzLzIwMjIuMDUiLApmdWxsTmFtZSA9ICJhbmFjb25kYTMvMjAyMi4wNSIsCmxvYWRPcmRlciA9IDEsCnByb3BUID0ge30sCnN0YWNrRGVwdGggPSAwLApzdGF0dXMgPSAiYWN0aXZlIiwKdXNlck5hbWUgPSAiYW5hY29uZGEzLzIwMjIuMDUiLAp3ViA9ICIwMDAwMDIwMjIuMDAwMDAwMDA1Lip6ZmluYWwiLAp9LApjbWFrZSA9IHsKZm4gPSAi MPI_NAME=openmpi-4.1-gnu rsync_proxy=http://user:pass@proxy.sandia.gov:80 RSYNC_PROXY=http://user:pass@proxy.sandia.gov:80 IPATH_NO_BACKTRACE=1 PWD=/projects/ADSM/software/petsc-v3.17.2 SNLNETWORK=srn _LMFILES_=/apps/modules/modulefiles-apps/anaconda3/2022.05:/opt/modules/modulefiles/gnu/10.2.1:/opt/modules/modulefiles/openmpi-gnu/4.1:/apps/modules/modulefiles/cmake/3.22.3 MPICH_MPI=openmpi-4.1-gnu-4.1.1 LANG=en_US.UTF-8 MODULEPATH=/projects/sierra/attaway/modules:/etc/modulefiles:/usr/share/modulefiles:/usr/share/Modules/modulefiles:/apps/modules/modulefiles-apps:/apps/modules/modulefiles:/opt/modules/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core LOADEDMODULES=anaconda3/2022.05:gnu/10.2.1:openmpi-gnu/4.1:cmake/3.22.3 GUESTFISH_OUTPUT=\e[0m KDEDIRS=/usr _ModuleTable_Sz_=5 LMOD_SYSTEM_NAME=boca _ModuleTable005_=L29wdC9tb2R1bGVzL21vZHVsZWZpbGVzOi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvTGludXg6L3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9Db3JlOi91c3Ivc2hhcmUvbG1vZC9sbW9kL21vZHVsZWZpbGVzL0NvcmUiLAp9Cg== MPI_VERSION=4.1.1 LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod LMOD_CHECK_FOR_VALID_MODULE_FILES=yes SQUEUE_FORMAT=%.10i %.9P %.8j %.8u %.2t %.10M %.6D %R OMPI_MCA_btl_openib_ib_timeout=21 LM_LICENSE_FILE=/opt/modules/etc/SSNL.lic:/opt/modules/etc/license.client PATHSCALE_SUBSCRIPTION_DAEMON=lic-ocf.llnl.gov https_proxy=http://proxy.sandia.gov:80 HTTPS_PROXY=http://user:pass@proxy.sandia.gov:80 HISTCONTROL=ignoredups SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass HOME=/ascldap/users/heepark SHLVL=2 __LMOD_REF_COUNT_PATH=/projects/cmake/toss3/3.22.3/bin:1;/opt/openmpi/4.1/gnu/bin:1;/opt/rh/devtoolset-10/root/usr/bin:1;/projects/netpub/anaconda3/2022.05/bin:1;/projects/ADSM/software/local/bin:1;/usr/lib64/qt-3.3/bin:1;/usr/lpp/mmfs/bin:1;/opt/ibm/MCStore/bin:1;/opt/ibm/MCStore/scripts:1;/usr/local/bin:1;/usr/bin:1;/usr/local/sbin:1;/usr/sbin:1;/sbin:1;/opt/dell/srvadmin/bin:1;/projects/ADSM/software/pflotran-master-petsc-v3.17.2/src/pflotran:1 __LMOD_REF_COUNT_CPATH=/opt/openmpi/4.1/gnu/include:1 SRUN_EXPORT_ENV=ALL _ModuleTable002_=L2FwcHMvbW9kdWxlcy9tb2R1bGVmaWxlcy9jbWFrZS8zLjIyLjMiLApmdWxsTmFtZSA9ICJjbWFrZS8zLjIyLjMiLApsb2FkT3JkZXIgPSA0LApwcm9wVCA9IHt9LApzdGFja0RlcHRoID0gMCwKc3RhdHVzID0gImFjdGl2ZSIsCnVzZXJOYW1lID0gImNtYWtlIiwKd1YgPSAiMDAwMDAwMDAzLjAwMDAwMDAyMi4wMDAwMDAwMDMuKnpmaW5hbCIsCn0sCmdudSA9IHsKZm4gPSAiL29wdC9tb2R1bGVzL21vZHVsZWZpbGVzL2dudS8xMC4yLjEiLApmdWxsTmFtZSA9ICJnbnUvMTAuMi4xIiwKbG9hZE9yZGVyID0gMiwKcHJvcFQgPSB7fSwKc3RhY2tEZXB0aCA9IDAsCnN0YXR1cyA9ICJhY3RpdmUiLAp1c2VyTmFtZSA9ICJnbnUvMTAuMi4xIiwKd1YgPSAiMDAwMDAwMDEwLjAwMDAw MPIHOME=/opt/openmpi/4.1/gnu HTTP_PROXY=http://user:pass@proxy.sandia.gov:80 BASH_ENV=/usr/share/lmod/lmod/init/bash MPI_ROOT=/opt/openmpi/4.1/gnu LOGNAME=heepark CVS_RSH=ssh QTLIB=/usr/lib64/qt-3.3/lib SSH_CONNECTION=192.168.25.204 58496 192.168.24.1 22 XDG_DATA_DIRS=/ascldap/users/heepark/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share MPI_HOME=/opt/openmpi/4.1/gnu MODULESHOME=/usr/share/lmod/lmod __LMOD_REF_COUNT_LD_LIBRARY_PATH=/opt/openmpi/4.1/gnu/lib:1;/usr/lib64/nvidia:1;/opt/rh/devtoolset-10/root/usr/lib64:1;/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10:1 LESSOPEN=||/usr/bin/lesspipe.sh %s LMOD_SETTARG_FULL_SUPPORT=no __LMOD_REF_COUNT_INTEL_LICENSE_FILE=/opt/modules/etc/SSNL.lic:1;/opt/modules/etc/license.client:1 QT_PLUGIN_PATH=/usr/lib64/kde4/plugins:/usr/lib/kde4/plugins LMOD_DIR=/usr/share/lmod/lmod/libexec SBATCH_NO_REQUEUE=1 __LMOD_REF_COUNT_MANPATH=/opt/openmpi/4.1/gnu/man:1;/opt/openmpi/4.1/gnu/share/man:1;/opt/rh/devtoolset-10/root/usr/share/man:1;/projects/netpub/anaconda3/2022.05/share/man:1;/usr/share/lmod/lmod/share/man:1 GUESTFISH_RESTORE=\e[0m PETSC_DIR=/projects/ADSM/software/petsc-v3.17.2 LMOD_FAMILY_MPI=openmpi-gnu OMPI_MCA_btl=openib,vader,self BASH_FUNC_module()=() { local __lmod_my_status; local __lmod_sh_dbg; if [ -z "${LMOD_SH_DBG_ON+x}" ]; then case "$-" in *v*x*) __lmod_sh_dbg='vx' ;; *v*) __lmod_sh_dbg='v' ;; *x*) __lmod_sh_dbg='x' ;; esac; fi; if [ -n "${__lmod_sh_dbg:-}" ]; then set +$__lmod_sh_dbg; echo "Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for Lmod's output" 1>&2; fi; eval "$($LMOD_CMD bash "$@")" && eval $(${LMOD_SETTARG_CMD:-:} -s sh); __lmod_my_status=$?; if [ -n "${__lmod_sh_dbg:-}" ]; then echo "Shell debugging restarted" 1>&2; set -$__lmod_sh_dbg; fi; return $__lmod_my_status } BASH_FUNC_ml()=() { eval "$($LMOD_DIR/ml_cmd "$@")" } _=./config/configure.py Files in path provided by default path /projects/cmake/toss3/3.22.3/bin: ccmake cmake ctest cpack /opt/openmpi/4.1/gnu/bin: profile2mat.pl aggregate_profile.pl ompi-clean mpicxx mpicc ompi-server mpif90 ompi_info ortecc orte-clean mpirun orte-server mpic++ orte-info opal_wrapper mpif77 mpifort orted mpiCC orterun mpiexec /opt/rh/devtoolset-10/root/usr/bin: eu-stack size x86_64-redhat-linux-gcc-10 gstack cg_annotate eu-elfcmp gdbserver cc staprun gcov-tool eu-elfclassify nm dwz dwp operf eu-nm gcc eu-strip gdb debuginfod-find cg_diff op-check-perfevents c++ gcc-ar ld.bfd stapsh annocheck stap-report gprof ltrace strings make ld eu-make-debug-archive addr2line i686-redhat-linux-gcc-10 callgrind_control elfedit eu-ar gcc-nm strace ld.gold eu-findtextrel valgrind-di-server opjitconv eu-ranlib ocount opreport gcc-ranlib opannotate eu-strings eu-elflint parseThat eu-unstrip gfortran ms_print opgprof strip gcov ophelp ranlib stap-merge gmake objdump x86_64-redhat-linux-gcc gcov-dump valgrind-listener ar objcopy eu-readelf eu-elfcompress callgrind_annotate gcore sudo eu-objdump stap-prep valgrind opimport oparchive stap cpp g++ gdb-add-index strace-log-merge eu-size readelf vgdb memstomp pstack stapdyn cg_merge c++filt eu-addr2line x86_64-redhat-linux-c++ x86_64-redhat-linux-g++ as /projects/netpub/anaconda3/2022.05/bin: x86_64-conda-linux-gnu-ld x86_64-conda_cos6-linux-gnu-ld rg brotli bunzip2 bzcat bzcmp bzdiff bzegrep bzfgrep bzgrep bzip2 bzip2recover bzless bzmore acountry adig ahost xmlwf gif2rgb gifbuild gifclrmp giffix giftext giftool derb genbrk gencfu gencnval gendict genrb icu-config icuinfo makeconv pkgdata cjpeg djpeg jpegtran rdjpgcom wrjpgcom JxrDecApp JxrEncApp aec libdeflate-gunzip libdeflate-gzip webpinfo webpmux zopfli zopflipng lz4 lz4c lz4cat unlz4 hydra_nameserver hydra_persist hydra_pmi_proxy parkill captoinfo clear infocmp infotocap ncursesw6-config reset tabs tic toe tput tset onig-config c_rehash openssl patchelf pcre-config pcregrep pcretest lzcat lzcmp lzdiff lzegrep lzfgrep lzgrep lzless lzma lzmadec lzmainfo lzmore unlzma unxz xz xzcat xzcmp xzdec xzdiff xzegrep xzfgrep xzgrep xzless xzmore zfp cbrunsli dbrunsli gapplication gdbus gdbus-codegen gio gio-querymodules glib-compile-resources glib-compile-schemas glib-genmarshal glib-gettextize glib-mkenums gobject-query gresource gsettings gtester gtester-report gif2h5 h52gif h5c++ h5cc h5clear h5copy h5debug h5diff h5dump h5fc h5format_convert h5import h5jam h5ls h5mkgrp h5perf_serial h5redeploy h5repack h5repart h5stat h5unjam h5watch jq idn2 h2load nghttp nghttpd nghttpx libpng-config libpng16-config png-fix-itxt pngfix protoc xml2-config xmlcatalog xmllint sqlite3_analyzer tclsh tclsh8.6 wish wish8.6 curve_keygen unzstd zstd zstdcat zstdgrep zstdless zstdmt dbus-cleanup-sockets dbus-daemon dbus-launch dbus-monitor dbus-run-session dbus-send dbus-test-tool dbus-update-activation-environment dbus-uuidgen freetype-config gst-inspect-1.0 gst-launch-1.0 gst-stats-1.0 gst-typefind-1.0 compile_et gss-client k5srvutil kadmin kdestroy kinit klist kpasswd krb5-config ksu kswitch ktutil kvno sclient sim_client uuclient bsdcat bsdcpio bsdtar fax2ps fax2tiff pal2rgb ppm2tiff raw2tiff tiff2bw tiff2pdf tiff2ps tiff2rgba tiffcmp tiffcp tiffcrop tiffdither tiffdump tiffinfo tiffmedian tiffset tiffsplit xml2-config.bak xslt-config xsltproc sqlite3 dltest isql iusql odbc_config odbcinst slencheck wget fc-cache fc-cat fc-conflist fc-list fc-match fc-pattern fc-query fc-scan fc-validate gst-device-monitor-1.0 gst-discoverer-1.0 gst-play-1.0 jpgicc linkicc psicc tificc transicc curl-config cwebp dwebp gif2webp img2webp opj_compress opj_decompress opj_dump 2to3 2to3-3.9 idle3 idle3.9 pydoc pydoc3 pydoc3.9 python python3 python3-config python3.9 python3.9-config fitscopy fpack funpack imcopy smem chardetect curl cygdb cython cythonize rst2html.py rst2html4.py rst2html5.py rst2latex.py rst2man.py rst2odt.py rst2odt_prepstyles.py rst2pseudoxml.py rst2s5.py rst2xetex.py rst2xml.py rstpep2html.py futurize pasteurize isort-identify-imports jp.py pep8 qdarkstyle qdarkstyle.example qdarkstyle.utils assistant canbusutil designer fixqt4headers.pl lconvert linguist lrelease lupdate moc pixeltool qcollectiongenerator qdbus qdbuscpp2xml qdbusviewer qdbusxml2cpp qdoc qgltf qhelpconverter qhelpgenerator qlalr qmake qml qmlcachegen qmleasing qmlimportscanner qmllint qmlmin qmlplugindump qmlprofiler qmlscene qmltestrunner qscxmlc qt.conf qtattributionsscanner qtdiag qtpaths qtplugininfo qwebengine_convert_dict rcc repc syncqt.pl uic xmlpatterns xmlpatternsvalidator send2trash sip tabulate tqdm runxlrd.py vba_extract.py yapf-diff blackd cph jsonschema jupyter jupyter-migrate jupyter-troubleshoot pylupdate5 pyrcc5 pyuic5 isympy watchmedo wsdump.py markdown_py jupyter-trust f2py f2py3 f2py3.9 pip pip3 py.test pytest ipython ipython3 navigator-updater jupyter-execute epylint pylint pyreverse symilar keyring jupyter-dejavu jupyter-nbconvert cftp ckeygen conch mailmail pyhtmlizer tkconch trial twist twistd jupyter-bundlerextension jupyter-nbextension jupyter-notebook jupyter-serverextension anaconda binstar conda-server activate conda conda-env deactivate colorcet conda-build conda-convert conda-debug conda-develop conda-index conda-inspect conda-metapackage conda-render conda-skeleton anaconda-navigator scrapy spyder bokeh panel imagecodecs numba pycc fits2bitmap fitscheck fitsdiff fitsheader fitsinfo samp_hub showtable volint wcslint matplotlib pt2to3 ptdump ptrepack pttree skivi .scikit-learn-post-link.sh normalizer isort pyjson5 nosetests pkginfo pycodestyle pyflakes pygmentize unidecode wheel yapf automat-visualize autopep8 pybabel black fonttools ttx pyftsubset pyftmerge nltk pydocstyle slugify pyrsa-priv2pub pyrsa-keygen pyrsa-encrypt pyrsa-decrypt pyrsa-sign pyrsa-verify conda-pack flake8 jupyter-kernel jupyter-kernelspec jupyter-run conda-content-trust conda-verify dask-scheduler dask-ssh dask-worker flask qta-browser pylsp jupyter-console jupyter-server jupyter-qtconsole cookiecutter jupyter-nbclassic sphinx-build sphinx-quickstart sphinx-apidoc sphinx-autogen anaconda-project conda-repo conda-token jupyter-lab jupyter-labextension jupyter-labhub jlpm tldextract imageio_download_bin imageio_remove_bin tifffile tiffcomment tiff2fsspec lsm2bin holoviews datashader intake-server intake mpi_eai /projects/ADSM/software/local/bin: hg /usr/lib64/qt-3.3/bin: lrelease qmake findtr qt20fix qm2ts qtrename140 lupdate assistant designer qembed moc uic linguist /usr/lpp/mmfs/bin: mmcallhremote tssnapdir mmcesnfschexport mmdump tsprregister mmfsctl tspcacheutil tscrsnapshot tsrepquota mmpercentencode noobaa.snap.py mmpmon mmcrfileset mmstartpolicy mmcesuserauthcrservice tschdisk perfmon_helper.py mmsdrquery tsprshowfence tsctl mmnfsinit tspreparedisk cnss.snap.py mmobj mmcesfuncs mmdelnsd mmcesblockfuncs .links mmprotocoltrace mmimgrestore mmnfsdown mmcesobjlsstoragepolicy mmdefedquota mmcessmbdelexport tslsfs mmksh mmafmhomeconfig tsdefquotaoff tspcacheevict mmdynamicmap mmcesmonitord tslspdisk mmcesobjlscfg mmlsmgr mmglobfuncs.Linux tssetquota mmsync mmgetconfdata mmcessmbchexport smb.snap.py tsedquota tsrestripefile tsnetverify nfsdebug.snap.py profiles mmadquery mmtrace mmcrfs mmnfstakeover mmperfmon mmlspolicy mmcesmonitor mmcallhome mmvaryonvg tsnsdrediscover tschpolicy mmnfsuninstall mmcesobjcrstoragepolicy ctdb_local_daemons tscheckquota smbcontrol mmdsm mmdelnodeclass msgqueueDaemonManager mmlsnsd mmfsd tsdelrecgroup mmcesobjaccess mmsdrcli tslsdisk tsusercmd mmcessmbcrexport mmdefquotaon mmccrnv mmnfsmonitor kdump-3.10.0-1160.66.1.1chaos.ch6.x86_64 tsauth object.callhome.py mmexpelnode tdbbackup daemonize mmceslog tslsmgr mmfsfuncs.Linux mmnfspreunmount mmsnmpagentd30 tsstarthelper mmunlinkfileset mmcessmbexportacl mmlsqos mmsmbsupportedoptions tslspolicy mmreclaimspace tdbrestore tslsfileset mmdefquotaoff tssbrindex tsreclaimspace mmhelp-apolicy mmchcluster mmafmcoskeys mmmsgqueue mmfileid mmceshdfsfuncs tsexpelnode tsfindname commonsnap.py mmcesuserauthrmservice tsfsck tsremount mmcesmmccrexport tslsrecoverygroupevents mmqos mmdefragfs mmcessmbfuncs mmchconfig tscrrecgroup mmaddcallback tsclone tscreatedir mmlsperfdata mmcesnfscrexport mmunmount mmcesmmcchexport tslssnapshot mmnfsgrace lxtrace-3.10.0-1160.66.1.1chaos.ch6.x86_64 tsapolicy mmlscluster tsprreserve mmdumpfilocks testparm ctdb_diagnostics mmchpolicy mmlssnapshot mmaddnode tsstatus smbget auth.snap.py mmlsconfig tsrestripefs mmhealth mmcesobjpolicyfuncs perf.snap.py mmlsattr tsressnapshot tsdelfs bsshwrap mmumount pymmcesnfslsexport.py tsdbmemleakparse gds.snap.py sshscpwrap mmcesnfsmonitor mmadquery_py3 mmlslicense mmcesnfsdelexport mmcesnetdeladdress mmautoload mmfsadm mmbackupconfig mmrestoreconfig smb_stats_proxy tsadddisk tsfindinode mmsmbman mmcesobjdepstoragepolicy mmglobfuncs tscrvdisk tsfsctl mmnfsinstall tsaddrmap mmchdisk tschfs mmxcp mmdsh mmcheckquota mmnfsquorumloss mmcesnetup tsgskkm mmcesnetdown mmfixcfg tsbuhelper mmwatch smbcquotas mmprodname tsprreadkeys mmquotaoff tsquotaon mmpsnap tslsrecgroup bsshscpwrap core.snap.py pymmcesnfsfuncs.py mmcachectl mmcesnfsloadexport mmclone mmsnmpagentd10 mmexecvfile mmchnode mmgetifconf findsmb tsunmount perfmon.snap.py tslspool mmcrfsc scpwrap tslspool34 tsprclear tsdeldisk mmsdrfsdef mmsysmoncontrol mmdelacl wbinfo cleanupkeystonedb smbclient eventlogadm smbtree tsxattr pdbedit mmquotaon mmcesobjs3 tssbrff mmcesnetworkmonitor net mmlsquota xcputil.sh wftopichk mmcrcluster tskafkaauth mmchnodeclass mmshutdown mmnsddiscover mmsmb tschattr tsextattr mmxargs tsclwatchrules lxtrace sysmon.snap.py mmces mmgensymtable tsdelfileset mmcesnetchaddress mmnfsup tseditacl mmchqos mmafmctl bscpwrap tsprquery mmcesobjaccesslinkfset mmdelsnapshot tspcacheapplysnapdiff mmdelfileset nfs.snap.py mmcesnetlsaddress mmcesobjcrbase tsunlinkfileset tschpdisk mmcesnfsfuncs tscmd ltdbtool mmexectsmcmd mmauditpreunmount mmchlicense mmlsdisk mmremotecluster mmnfs mmcesnfslsexport mmadquery_py2 mmdiag tsrpldisk tslsvdisk mmcesauthfuncs mmlsnodeclass mmnfsfuncs objmetric_count.py network.callhome.py mmyfields tsdelacl mmsysmonc mmafmcmd mmmount ctdb mmauditmount mmcrnsd tschstoragepool mmrcp tsdsh tslsattr tsdelvdisk mmcessmblsconfig mmfsmount dbwrap_tool mmcespnfsip tdbtool mmcesobjchstoragepolicy mmchmgr mmcesobjchcfg mmsetrcmd tsgetscsiinfo mmauth mmchecksubsys sharesec tsqosnice ctdb_stats_proxy mmcesnode auditConsumerManager mmdumpperfdata callhome.snap.py mmblock mmcesuserauthckservice mmcloudfuncs mmcesobjcrring mmsdrrestore wftopics ctdbd_wrapper mmrsh tsdf mmcollectdebugdata mmcesop mmimgbackup tsnsddiscover smbpasswd mmnfscleanup mmaudit tsaddpdisk mmapplypolicy mmnfsnodeback mmremote winbindd tsdbmemleak mmdumpkthreads object.snap.py mmdf tsgetacl mmpercentdecode mmtracectl ess_hal.snap.py mmrestripefs tsdelsnapshot tslsquota mvxattr mmcrnodeclass mmfsenv perfmon.callhome.py mmdelnode mmfsfuncs tsfileid tsdefedquota mmcesnfslscfg tslsqos tslinkfileset rpcclient tsyselect tspcachesnapdiff mmlsfs mmuserauth tschfileset mmcrsnapshot mmdeldisk mmafmcosaccess mmrestripefile tscrfileset tsrecgroupserver mmnfsrecovernode basicsnap.py clstrwatchcallbacks mmcesmmcdelexport mmcessmblsexport mmcmi mmcesservice mmgetstate tsprinquiry tsimgrestore tspmon copyutil tschrecgroup gpfsrunlevel mmcesobjcfgman mmcesobjfuncs mmdspmsg mmbackup tschqos mmjob mmlsfileset mmrpldisk mmlinkfileset mmcesnetmvaddress mmktupgrade msgqueueservicesmonitormanager mmremotefs mmstartup tspcachescan mmlsnode mmlspool mmrefresh mmcesnfschcfg tsbackup33 hadoop.snap.py mmsmbvalidoptions mmchfileset tsquotaoff tsdiag tschpool mmlscallback smbcacls mmcesrecovernode mmrcmd mmrestorefs mmedquota clstrwatchconsumermanager mmstatdcallout tscp mmcesminfuncs tsdefquotaon fab3.snap.py tspcacheu ccrrestore mmsnapdir mmsdrserv mmfsck mmcesloadmonitor tsgnrvdiskfgscrub mmsmbfuncs tsrestorefileset mmcommon mmimportfs tsprreadres mmafmcosctl onnode mmdevdiscover tschcarrier mmafmlocal gui.snap.py mmgskkm runmmfs ctdbd mmlogsort mmputacl mmlockf tspcache mmccr mmchattr tsdelpdisk mmccrmonitor mmchpool ece.callhome.py mmcesuserauthlsservice mmsnmpagentd mmafmcosconfig mmbuildgpl mmqosnice mmlogmsg mmcessmbchconfig tsdbvdisk mmsdrfsdef.Linux tsdefragfs mmlsmount mmgetkafkaspecinfo mmrepquota mmsetquota tschmgr mmmigratefs tsdbfs ntlm_auth tsnsdaccess mmclidecode mmsysmon.py tsprpreemptabort network.snap.py mmcesnetaddaddress mmadddisk mmnetverify smbstatus tscrfs tsputacl tsbackup gpfs.snap mmchnsd tscachectl ces.snap.py mmeditacl tdbdump audit_watch.snap.py mmfs mmcesobjmr mmcloudgateway kdump mmchfs gui.callhome.py mmgetacl mmexportfs mmsdrquerydef mmdelfs mmdelcallback mmafmconfig sshwrap smbd Warning accessing /opt/ibm/MCStore/bin gives errors: [Errno 2] No such file or directory: '/opt/ibm/MCStore/bin' Warning accessing /opt/ibm/MCStore/scripts gives errors: [Errno 2] No such file or directory: '/opt/ibm/MCStore/scripts' /usr/local/bin: clamscan ds-download.sh clamsubmit clamav-config freshclam clambc clamconf clamdscan .gitignore sigtool raftup.sh clamdtop /usr/bin: bdftopcf oscap-chroot bon_csv2txt info pamsharpness dbus-daemon convert grub2-mkfont gkbd-keyboard-display db_tuner pip2.7 cd-create-profile javacc.sh aulast konqueror dbgen.pl karm pnmmontage package-stash-conflicts llvm-stress eu-stack lpq.cups nmapfe pgawk ocs arecord semodule_unpackage canberra-gtk-play resize wordforms tkstool gnatls lchsh wmf2gd optipng gnome-software tftp irsend soelim pwdx kinfocenter resourcedump sdbadmin gtkdoc-fixxref xfce4-popup-applicationsmenu csysdig gendiff su radeapclient ppmntsc gnatprep supervisorctl xfce4-panel hexedit qdbusxml2cpp-qt5 akonadi_imap_resource xdg-user-dirs-gtk-update file-roller lirc-setup wsgen create_makefiles gnomevfs-ls rpmdumpheader samba-regedit ellcc pygmentize tiger-hash btrace symilar-2 xcutsel sushi last qcollectiongenerator kstart sginfo mlxfwstress x86_64 btattach jack_midi_dump on_ac_power policytool myisamchk gsdj whereis osinfo lzma scsi_mandat jcmd rx kdepasswd tkcvs mock libreoffice mate-calc-cmd size skewstats gctags sg_reassign c2ph pnmtoxwd top sphinx-apidoc sjstat purge index_dump exo-open foomatic-ppd-to-xml fc-cat rcc grub2-mkrelpath sg_decode_sense pylupdate4 timeout g-ir-scanner grolj4 ps2pdf13 pamexec db47_load distro_update mysql_convert_table_format mcview gst-inspect scons-time-2.7 csplit pgmmake gvfs-rm psql vidir pkcon pamsharpmap gimp-console cmake3 fakeroot-sysv fig2dev wnckprop zipinfo mkofm ab ktrash jack_latent_client gdk-pixbuf-csource check-binary-files nc rcs gupnp-dlna-ls-profiles-2.0 mformat lockfile kpseaccess wordlist2hunspell rapper system-config-authentication mergelib semodule_link more xx-p4-unmerge nttcp give msgattrib snmpget ldd dbus-uuidgen mate-terminal.wrapper ilbmtoppm metaflac gst-xmllaunch gdmflexiserver filterdiff redis-check-aof yum-builddep pyrsa-keygen transicc2 brltty-install pgmedge pbmtomatrixorbital sgmlnorm xemacs-21.5-b34 cl-dump bashbug kdebugdialog smp_read_gpio pidproxy jack_wait xml_split ansible-console-2 celtenc051 makeobj xgettext tcbtest nbd-trdump bond2team nl-route-list gstack virt-cat roff2dvi ansible-vault-2 infadd verifytree ppmwheel mvnDebug oz-generate-icicle uuclient ebb sanity hipcc jpgicc2 ibdiagui h5dump pkcs1-conv clang-ocl gpg-error-config lsusb.py skinit mac2unix weather lsb_release cancel db47_deadlock mdevices_info pbmtomrf advmng libwmf-config mtp-folders start-pulseaudio-x11 nodeattr cg_annotate vmstat firewall-offline-cmd sinfo foomatic-ppd-options systemd-machine-id-setup pamsistoaglyph zip ppmtoacad svnchangesince ssh-keyscan virtualenv kinit irsimsend quilt ldns-compare-zones xdg-desktop-icon setup-nsssysinit.sh unxz amqp-consume gsdj500 jp.py-2.7 gdiffmk memcached-tool brltty-trtxt dprof2calltree xgamma docbook2man notify-send grub2-mkpasswd-pbkdf2 kuiserver ts rec rpmdev-diff smp_conf_phy_event over pamdepth ulockmgr_server split uuid rpmdev-sha224 abrt-action-notify anytopnm sss_ssh_knownhostsproxy bakefile qhelpgenerator-qt5 rftp scl_enabled gzip qtdiag hddtemp sg_unmap xfce4-session-settings snmptls lsblk xclock fc-validate ppmdmkfont php kpsetool pbmtoibm23xx ls ootags ldapurl db47_archive openipmi_eventd snoopy-test-output zipdetails tgz ddd rpmdev-bumpspec tput vim lneato db_dump185 PKICertImport ppdpo memdiskfind ffcfstress lz adddebug dbus-launch pamfix eu-elfcmp kglobalaccel pk12util akonadi_nepomuk_feeder nvlc system-config-date ps2ascii getfacl scons-2.7 cupstestdsc mtp-albumart systemd-tty-ask-password-agent asciidoc lxc-clone HttpClient setup-nsssysinit resolveip setmetamode groffer pnmsplit irexec rhn_register pwscore mate-system-monitor composite lancelot akonadi_vcarddir_resource imsettings-switch cpanm rpmdev-wipetree cc pgmtolispm dtestsrq slabinfo gvfs-copy yum-debug-restore vte squashfuse ping setfont apu-1-config mailstat ch-build2dir sip yuy2topam oldrdist ptksh advdef radwho db_upgrade gwenview kde4-doxygen.sh crywrap ldclt epylint jlatex2html nepomukindexer radtest virt-inspector koi8rxterm rhino ansible imagefactory htcontext red withsctp padsp-32 nepomukbackup rlog my_print_defaults munge libtoolize xdvipdfmx ppmtopgm abrt-action-perform-ccpp-analysis numademo osgmlnorm ocamldep.byte pbmtoepson texluac xwdtopnm gnome-shell perl5.16.3 unicode_start fixqt4headers.pl llvm-dis hmac256 cimsub zless staprun glxinfo ppmtopi1 modifyrepo opa_osd_dump automake-1.13 libusb-config smp_phy_control pg_controldata lzegrep pamtouil dbscan antlr tex4ht hugectl kapptemplate isutf8 xfrun4 date afm2tfm ppdc gnome-keyring-3 zmore snmptrap kdekillall kjscmd gnome-session-selector xdt-csource libwmf-fontmap dvd+rw-mediainfo scanadf nfs4_setfacl scp xvidtune rename mysqldumpslow gimp-console-2.8 rpmdb kwin groups bno_plot.py schemagen conmon graphml2gv ocamloptp dislocate scp-dbus-service mstregdump virt-builder-repository gtkdoc-mkman gnatlink gifclip cpack svnforwardport ps2ps latex nedit bootctl create_rpm_image modifyrepo_c virt-win-reg os-prober build-classpath sediff analyze llvm-rtdyld fgconsole profiles xev jjtree myisampack ansible-pull-2 nice ibv_devinfo mysql softhsm2-migrate spent exiv2 foomatic-compiledb xlsatoms pl2pm traptoemail defncopy foomatic-ppdfile acyclic gtk3-demo canberra-boot gml2gv rrdcreate sha384sum scrollkeeper-get-toc-from-docpath tar vncpasswd flock qtdoc mkpasswd faked redhat-access-insights migratepages tkjpeg gupnp-dlna-info-2.0 lsmem htxelatex rpcgen nm agentxtrap seq gtkhtml-editor-test pamaddnoise lessecho aws cluster vapigen pambayer smp_discover_list gslj build-progress.sh oggenc dimax_init grub2-fstest smbprint virt-xml-validate msexpand shred mbadblocks mate-screensaver-command gids-tool svnbackport h5cc virtualenv-2.7 ionice mtp-getplaylist clubak mtvtoppm systemd-coredumpctl build-jar-repository pnmpsnr cpanp kiconfinder modutil javac migratecred sg_verify kincidenceeditor infotocap rpmdev-vercmp ssh-keygen realpath dwz mget_temp_ext 7za iasecc-tool rdist rpmdev-packager kfind dwp libart2-config virt-customize virt-install zipnote empathy nttcp-neighbor pkcs15-tool gvimdiff audit2allow mysql_find_rows pnmstitch policyeditor mate-display-properties kvm_stat llvm-ranlib rbox xx-cond-replace xmlto epstopdf rst2s5 wnck-urgency-monitor imsettings-reload kde-cp qemu-sparc64 virt-sysprep smp_conf_route_info expand pnmtorle nodeset dwarfdump operf xinput colord-kde-icc-importer twopi xtrace gtar pg_standby x86_energy_perf_policy auditbeat exempi meinproc4 pidgin htdigest nmcli smidiff nf-exp-list qemu-x86_64 xx-find-grep-sed sg_ses gifrsize tbench_srv nl-addr-delete virt-index-validate editra mdig pamtojpeg2k osx sconsign ci printenv xfce4-notes qemu-ppc64abi32 kill test-moniker grub2-mknetdir nl-tctree-list cervisia pycrust pdfimages pnmnlfilt repoclosure droplang xmms-config nodediag ldns-testns dockerd-current wvdialconf pbmpscale cpuinfo ch-build xxd cd-iccdump servicemenudeinstallation ndptool qdbuscpp2xml-qt5 pdfdetach lxc-console sgmlsasp reposync gnome-control-center lesskey wcgrep hipexamine-perl.sh mdu sputoppm xmgrace pinentry-curses aatest mf-nowin nl-link-name2ifindex hamster look cvsforwardport idle nfs4_editfacl kpartloader nl-addr-add opa_osd_exercise pcprofiledump iperf xsetroot sss_ssh_authorizedkeys qemu-m68k tosspkg nl pnmalias mysql_setpermission virt-pki-validate ib_send_lat luac enca eu-nm vftovp postgres dbilogstrip thor mate-autogen kfontinst db_log_verify sacctmgr rpmdev-md5 corosync-xmlproc sync hipconfig zcat scrollkeeper-update xerces-j2-version isosize ekiga-config-tool ch-dir2squash bzcat uncompress nl-list-caches setfattr glib-compile-resources Xvnc annotate-output diff3 gnatgcc cairo-sphinx afmtodit asciitopgm sesearch sg_safte gst-xmlinspect docker-containerd-shim-current cpanp-run-perl alt-java psset hfi1_eprom meinproc4_simple gcc db4_load metacity gm guile-snarf eu-strip lsscsi cgdb winicontoppm free htmex xfce4-popup-directorymenu mv ppmflash uil sopranod kaccess applyplugin zdiff ksu mode2 mcookie gnomevfs-info diffstat ldms-get-opa-network.sh amqp-publish datacopy pi3topbm ib_write_bw jack_simple_session_client pamtopfm cpansign qmi-network uptime hltest kio_svn_helper preparetips dump2slvl.pl gnome-shell-extension-tool fixdlsrps dltest gettext.sh kbookmarkmerger pylint-gui gpasswd pwdhash pamtosrf indxbib qemu-img qdbus pgmslice nautilus-autorun-software python2.7-config konkret brltty-ctb gcm-picker chronyc kdemangen.pl pdftohtml peekfd mlxfwmanager nspluginscan pavucontrol bd_info gnome-boxes consolehelper-gtk ptlib-config setarch freetype-config smbcontrol blkrawverify machinectl timedatectl futurize-2 kpsewhich wqdump kill_user_processes singularity fakeroot dvired xbmtopbm abrt-action-analyze-vmcore antRun.pl lsattr ps2ps2 kopete_latexconvert.sh genl-ctrl-list grotty wsimport hipconfig.pl list_instances gst-typefind-1.0 pnmfile dvipdft wc gdb radattr gnatname quickstats sort procmail cleanlinks ppmchange scsi_ch_swp rpmdev-sha1 system-config-language gst-inspect-0.10 unbuffer cvscheck png2theora kabc2mutt pydoc systemd-analyze grub2-mklayout pstopnm skummee cmp rst2pseudoxml xkbcomp dmesg rmic sgm_dd mshortname cvs-clean ansible-2 pnmquantall sb mlxmcg otfview python3.4-config sgml2html ocamldep kded4 mvnyjp mp4track redland-db-upgrade postgresql-setup xx-diff-proxy nautilus-desktop krfb kmag readcd ocamlopt.byte gst-feedback scons-configure-cache-v3.1.2-2.7 l2test rpmdev-sha256 winicontopam alsabat pbmmask BtoA sliceprint dmxtodmx jack_multiple_metro rst2xetex liveinst pgmabel merge idlj gdb_backtrace pamtotga lxc-config libbluray_test bon_csv2html pnmnorm llobdstat pgmtopbm blkparse newaliases kleopatra radsqlrelay gif2epsn filebeat qvlc python3.6-config satyr luatex antRun nbd-trplay rpkg pygtk-codegen-2.0 fisql psbook abrt-action-analyze-core texi2any vapigen-0.40 dmxaddscreen pamstretch tsql ausyscall pklogin_finder ndiff ksba-config ident net-info usx2yloader nss-softokn-config pg_basebackup pdf2dsc rpmverify pyalacarte gsl-histogram rrdcached psselect xdvi-xaw qrttoppm native2ascii pdsh nautilus ldns-version luarocks-5.1 sdrcomp mlxvpd mp4trackdump xemacs akonadi_agent_launcher llvm-config-64 mate-keybinding-properties dotlockfile mogrify run-parts basename smiquery akonadi_mixedmaildir_resource sgmlcheck mlx_fpga_ext oLschema2ldif bonobo-activation-run-query mkmanifest mrftopbm sensible-editor gnome-shell-extension-prefs stty.pl traceroute6 pkcs15-crypt iodbctest gftodvi snmpwalk uxterm hipcc_cmake_linker_helper dd snmpdelta sfdp Mail preunzip rhsmcertd mbimcli qemu-arm mfplain mattrib libmikmod-config rarian-sk-update Magick++-config isort kscreen-console rdesktop gjs-console pbmtoplot rasttopnm moc-qt5 pdftex h2xs ldns-revoke erb xclipboard smicache tth-hash cg_diff dumpsexp pbmtodjvurle xfce4-appearance-settings mate-keyboard-properties pod2html ch-fromhost whatsup hipconvertinplace.sh rpmlint sfconv mrsh pbmtolps pasteurize-2 sedismod jbigtopnm ch-run-oci ruby akonadi_davgroupware_resource gview irb fwupdmgr sha512sum raw2gif umbrello DllPlugInTester iperf3 pdfetex xfwm4 git-upload-pack mtp-sendfile fortune sg_dd akonadi_openxchange_resource lxc-monitor sg_referrals asadmin kstartperf llvm-symbolizer ppmcolormask mispipe scl abrt-action-save-package-data gconf-editor xzgrep firewall-config pnmtojbig lli-child-target killall rcp mockchain mysql_upgrade nl-qdisc-add activate-global-python-argcomplete skpush gv2gml ppdhtml mokutil fstopgm aseqnet bggen qcollectiongenerator-qt5 qhelpgenerator op-check-perfevents net-snmp-cert dnie-tool bdsplice umask toe vstp abrt-action-analyze-backtrace clean-binary-files mlxdump_ext diff-jars orc-bugreport ppmmake l2ping rpmdev-setuptree qemu-microblaze VGAuthService linc-cleanup-sockets diffimg x0vncserver sg_senddiag gnome-system-monitor sleep cvsservice konkretreg db4-entities.pl xhost truncate mktexmf xfce4-dict sphinx-quickstart extractbb xx-pyline docker-containerd-shim dropuser supervisord install gvfs-mime mtp-delfile GenIssuerAltNameExt spectool psw evim cmake3-gui osinfo-db-path gpgconf cmuwmtopbm pip3.6 kminspector vorbiscomment gvfs-trash qvoronoi analyseplugin kfilemetadatareader xfce4-power-manager-settings yasm c++ pgmhist chem luarocks-admin-5.1 ccomps phpize ldms-l2_test.sh extract_a52 xmlrpc-c-config script df dist_all gcc-ar checkbashisms grub2-mkrescue true pammixinterlace dtestcm ldapwhoami ld.bfd wmxmms pm designer-qt4 vala-gen-introspect xargs stapsh rhsm-icon gtbl sgmldiff llvm-ar lxc-stop pkla-check-authorization play fc-query gst-launch-1.0 pdfseparate iso-info mate-screensaver vala-0.40 sha1hmac hamster-service kstartupconfig4 xpr xvinfo msgconv git-shell pydoc3.4 btt unexpand m17n-conv ffplay grodvi kabcclient soxi fi_pingpong pamunlookup gwenview_importer msntest has160-hash db_verify ocamlobjinfo ncat mysql_zap dolphin vacuumdb gnomevfs-cat oz-customize dtrace abrt-action-analyze-c namei pnmindex javadoc pamarith hb-view qemu-microblazeel pnmdepth jasper fiascotopnm clear pamdice sg_readcap jstest llstat geoiplookup ib_read_lat rdfgraphisomorphism mate-disk-usage-analyzer pnmtosir qmlplugindump mate-panel-test-applets rhash mxtar slirp4netns bundle_image hivexget netstat isort-2 gsettings-schema-convert spam epylint-2 iowatcher ib_acme mlabel lirc-lsremotes pdbtool 7z db2dvi xfce4-popup-clipman lash_control mysqld_safe lpq hdmv_test fonttosfnt mpris-proxy ldapsearch lirc-init-db fipshmac pnmcat semodule_expand Thunar mkisofs ht db47_printlog imgcmp znew lexgrog db47_stat local-getcert PrettyPrintCrl numad pnmtopclxl dcraw tracepath6 tcamttest gvfs-monitor-dir ciptool cvslastlog i386 find rcsmerge pfbtops jscal-restore ebrowse rctest nf-queue scons-time kmenuedit neato xfig-plain cygdb ldms-py-subset_test.sh rsync column db_stat vobshift wodim cq mkrfc2734 ppmtv coverage2 rescan-scsi-bus.sh osinfo-query gvpr ib_atomic_bw sg_sanitize infocmp nvidia-xconfig amidi octave-cli splslab.py mtp-filetree nf-ct-list konsolekalendar mktextfm c89 fiologparser_hist.py intltool-prepare systemd-detect-virt festival_server_control qemu-ppc64 gnome-documents gtkdoc-mkhtml2 ansible-playbook-2.7 ibus-table-createdb pamtopam pbmto4425 python-argcomplete-tcsh git-upload-archive rarian-sk-get-cl ethcfg ansible-pull opt g32pbm qemu-sh4 lwp-download jp.py-2 jscal-store theora_dump_video xzegrep alsatplg dsktune htlatex xfig-Xaw3d oclock regpatch intltool-merge virt-tail db4_dump db4_checkpoint sandbox nf-exp-add h5diff sechecker mkSimNodeDir mysqlshow blktrace llc ncurses5-config ganesha_stats kjs mate-color-select python3.6m-x86_64-config mcomp xrestop zonetab2pot.py oomath chardetect-3.6 dvi2fax gimptool-2.0 patchwork ispellaff2myspell sconsign-2 xprop tomcat-digest jack_server_control dig akonadi_icaldir_resource gvfs-less zipmerge cfadmin mstdump tcamgr tomcat-tool-wrapper gvfs-info cat compile_et futurize-2.7 pgpring makeglossaries virt-tar-out dvitomp zrun xfdesktop vncviewer uniq a2x ds-logpipe.py otfdump create_cvsignore tmpwatch lpr sview setleds kjotsmigrator xmlpatternsvalidator usleep pnmhisteq pamsummcol mysqladmin pbmtopi3 nc-config rarian-sk-get-content-list sg_write_buffer enscript gtk3-icon-browser scrollkeeper-get-extended-content-list pbmtextps purple-send-async snmpvacm tbl mkafmmap OCSPClient openjade gcalccmd pnmtoddif lli akonadi_pop3_resource bluetooth-sendto mpartition lefty pkcheck scons-v3.1.2-2.7 evince-previewer AtoB gifcomb jq command pee ca-legacy kwrite x11perfcomp nl-monitor xcmap giffix plot-llstat scrollkeeper-get-toc-from-id pyami_sendmail lxc-start pbmtoln03 systemd-firstboot gnome-abrt ch-tar2dir hivexsh srun funzip ldns-rrsig ifne gtk-query-immodules-2.0-64 rdf2dot autoscan ecj join runant.pl kget amuFormat.sh redhat_lsb_init ospent mysqlcheck nl-rule-list authconfig-tui docbook2dvi ts_calibrate printafm ircat sum xbiff pbmtocis pyreverse-2.7 mkfontscale cscope evince tabs linuxdoc tmon roff2x virt-filesystems espdiff mount xx-filter mate-window-properties krdc flint POST readlink pcre2-config envldms.sh troff pamcomp vncconfig s3put oscap-ssh cmtime gnome-session-quit ooffice journalctl event_rpcgen.py texlinks grl-launch-0.3 mstresourcedump pamsumm testlibraw includeres qtplugininfo-qt5 whatis lndir libtool tac libinput-list-devices rawtoppm cvsps docbook2pdf DRMTool fig2ps2tex toc2cddb cd-read sponge texi2html xsubpp chainsaw setfacl gnroff uz oz-cleanup-cache db4_dump185 setcifsacl lsipc virt-clone pkcs11-switch hugeadm mailq cut dynamodb_load qlalr g-ir-inspect mapscrn lzop intltool-update lxc-wait nmtui ddbugtopbm ldmsd_controller sas_disk_blink qemu-sh4eb nl-route-get less check-regexp qemu-s390x gtk3-demo-application amqp-get ocsptool mktexfmt gnatkr winpopup-install ctest3 ksvalidator qemu-alpha renice py.test lsdiff vmware-checkvm cxpm pyinotify llvm-link xsetpointer wxrc pgrep showchar logconv.pl genomewise bmptoppm lirc-make-devinput ncftpls cvsaddcurrentdir fc ospcat lynx lesspipe.sh testparm eps2eps snmpbulkget pcre-config docbook2texi pnmshear jack_load ccache-swig xdvi pgmkernel unpack200 createrepo kreadconfig curl-config mate-about xmode2 stap-report pyrsa-priv2pub estwisedb konsole powernow-k8-decode smp_conf_zone_man_pass soundstretch ocamlc.opt lsmcli gst-launch pbmtonokia sem mysqlslap gnome-disk-image-mounter llvm-mcmarkup inkscape python2-config mate-system-log obxprop kate dmxreconfig tchmgr scap-as-rpm sg_raw bs2bstream gnome-terminal [ zvbi-chains pylint-2.7 jarsigner flex++ systemd-escape a2ps open loadunimap smp_rep_phy_sata nf-monitor alsamixer itweb-settings.itweb display gemtopnm ansible-galaxy-2 pbmupc ppmspread mlxgearbox s2p caca-config printf sensors-conf-convert hsdb rdma_xclient grub2-kbdcomp rdfpipe pbmtogem scrollkeeper-uninstall sg_rmsn smp_rep_general turbostat postgresql-check-db-dir pod2text ppmtomitsu rst2latex psfaddtable audit2why gtk-encode-symbolic-svg route53 fio-genzipf comm osqueryctl mtoolstest akonadi_mailtransport_dummy_resource purple-client-example genpng pnmpaste mate-typing-monitor gpg-zip forward-journald ch-ssh rmid cpupower unopkg hotshot2calltree perf kalarm lz4 ldms-py-syslog.sh gprof img2py tce-rpm svnlastchange rarian-sk-config ldappasswd dist_local pinky reset smbget pmap vmware-hgfsclient pgmtofs ncgen3 docbook2rtf Xdmx system-config-kdump nuttcp mysqlimport mergerepo_c ldms-manpatch.sh ipmi_ui kcminit_startup orbit2-config yum bg nvidia-cuda-mps-control svnserve ch-checkns dstat svnadmin xfreerdp xml_spellcheck text2gif wx-config gsoelim ekiga-helper take aria_ftdump edid-decode gnomevfs-copy kgpgconf itstool purple-send pyalamode lex isdv4-serial-inputattach qconvex xpath jscal ch-pull2dir gcr-viewer grolbp pgmtost4 apropos paplay qemu-system-mips64el pwhich pnmtofits rpmdev-sum latrace-ctl klist nvidia-smi pth-config mk4ht pfbtopfa ptar fixpsditps od gv-update-userconfig mtools py.test-2.7 spd-say marco nns db_deadlock ppmtopict source-highlight-settings ppmrough grub2-mkimage xemacs-nox-21.5-b34 runtest qmake-qt4 syndaemon pnmscalefixed CMCRequest qhelpconverter pbmtpg splitdiff pamstack compare setup-ssh-keys soffice mmroff detect_ppa fio-verify-state dshbak giftopnm mrlogin man2html ldns-zsplit gst-feedback-0.10 pic2tpic wxrc-2.8 allcm mmc-tool pbr-3.6 stund tnameserv gs pic irsimreceive gftype collateindex.pl trust fixuifiles ustr-import mckey gvfs-cat kdesu playwave cd-info tcttest snice scsi_start xfdashboard-settings sz rsyslog-recover-qi.pl jack_net_slave radclient kompare taglib-config jack_lsp verify_blkparse mutt rmiregistry show-installed sg_read_long ControlPanel xx-encrypted sexp-conv ri flux mate-at-properties ifnames ogg123 mtp-albums jfr dracut anaconda-disable-nm-ibft-plugin itrace pcdovtoppm ltrace nekohtml-filter qhull pamsplit irxevent crlutil gnome-weather mixartloader brltty linux64 xml2pot pacat f2py.numpy javaws.itweb giftext guild yum-config-manager kmmatch unshar pax11publish rpm p11tool ansible-doc-2 createdir esd-config xsltproc vimdot xmodmap ximtoppm cpio gnutls-cli-debug whoami mp4subtitle states smbspool mlxconfig orbit-idl-2 ksplashqml mtp-tracks cupstestppd smp_rep_phy_err_log irpty abrt-cli dvipdfmx isc-config.sh tig p7tool gvgen devdump pcxtoppm who ping6 applydeltarpm xxdiff pinentry-gtk-2 ppmtomap cifsdd xdg-email wget gnutls-cli db47_hotbackup mremote dtplite lustre_req_history g-ir-doc-tool sg_sat_set_features ksvgtopng unix2dos ppmtosixel xfontsel akonadi_rds gcc44 h5copy akonadi_kabc_resource aplaymidi gpgme-config gsnd jar composeglyphs memcached install-catalog pamx editdiff strings pamoil spice-vdagent combinedeltarpm hipdemangleatp pamtable ffprobe rsh chvt regshell splint mtp-emptyfolders db47_verify jemalloc.sh upower grub2-editenv nmblookup smp_rep_zone_man_pass scrollkeeper-rebuilddb gsftopk osinfo-detect kde_generate_export_header pg_dumpall cisco-decrypt img2xpm TokenInfo Rscript ch-builder2tar zipgrep pronto2lirc abrt-dump-xorg ldms-csv-anonymize gtkdoc-mkpdf oxygen-shadow-demo neotoppm chcon wayland-scanner unwrapdiff pod2latex xload trace-cmd gnome-contacts kross irman2lirc desktop-file-validate cgexec createdb pbmtoatk rct msgcmp 2to3-3 krdb pyrsa-sign sensible-browser ibv_xsrq_pingpong appletviewer rmail ansible-runner-2.7 foomatic-rip rhsm-debug needs-restarting qtpaths idn make dump2psl.pl gpgv gcm-calibrate ts_print_raw ldns-read-zone xsane virt-viewer gifasm shell-quote certtool xrefresh ld fftwl-wisdom whatsdown mate-mouse-properties elinks rdistd gendesc ts_harvest systemctl package-cleanup amixer llvm-mc bundler gnomevfs-monitor qemu-ga abrt-action-list-dsos nl-class-list gnatmake igawk qhelpconverter-qt5 show-changed-rco giffiltr fixkdeincludes khotnewstuff-upload vxloader icotool roff2html wvunpack c99 pamtodjvurle h2ph gvfs-open delv ppmtotga sensible-pager zenmap-root intltoolize eu-make-debug-archive card_eventmgr pgmoil llvm-tblgen mlxlink_ext preconv give-assist fgrep mdel abrt-action-install-debuginfo addr2line ps2pdf12 gouldtoppm ps2pdfwr hostnamectl diffpp xmms kibitz dbiprof mstmcra ibdiagpath keyctl addftinfo kpsereadlink pyvenv-3.4 rarian-sk-migrate xv mlxdump ltop nop pamrgbatopng akonaditray build-classpath-directory cd-fix-profile ldns-test-edns setpin gtk-query-settings smbencrypt gnome-disks mib2c pkill mate-panel-screenshot ant xmessage mate-calculator pf2afm lzcat chsh identify pbmtocmuwm tclsh pyshell sha256sum busctl sfinfo tcumttest scl_source lp.cups rvi opa_osd_query_many oowriter lxc-unfreeze wmf2fig iusql dvipdf nfs4_getfacl scsi_satl svnrevertlast fmt unzip huge_page_setup_helper.py RunSimTest config_data lsns jsadebugd newgidmap smbcquotas manpage-alert mate-search-tool htop lz4cat radcrypt pnmmercator gex gnome-help pathfix.py auvirt targetctl inputattach xvminitoppm saytime ziptorrent xfd kgpg envsubst xfce4-clipman h5ls dropdb system-config-users chattr h5fc po2xml podman sg_requests ibus-setup genisoimage ppmlabel vdcomp json-glib-format mlxcables_ext nepomukservicestub mst watchgnupg ktimer ch-convert ppmtobmp gcm-inspect db47_checkpoint g-ir-compiler sasl2-sample-server stream ijsgutenprint.5.2 ppmtogif guestmount irtext2udp uudecode updmap fold repotrack getkeycodes jack_test debuginfo-install user-data wqdump_ext texhash kmixctrl jack_unload xx-hg-merge firewall-cmd ppmtopuzz nenscript allneeded dumpiso pkcs15-init xelatex symilar-2.7 read kapplymousetheme sgml2lyx sg_reset akonadi_control msgexec psfstriptable wvdial gnome-calculator ps2pdf14 xdg-settings ksplashx_scale systemd-nspawn tgatoppm grub2-glue-efi pammasksharpen allec tchtest callgrind_control jdeps dos2unix genewise cp catchsegv whirlpool-hash elfedit ncftp ocamlyacc hamster-windows-service createuser ibis gpm-root scrollkeeper-extract urlgrabber fsview xdg-user-dirs-update lwp-dump minicom snmpinform xfig fmtutil-sys mstflint gtk-demo vsyasm lpoptions nodedown ldms-csv-export-sos ocamlc virtualenv-2 insights-client telepathy-gabble-xmpp-console westcos-tool lxc-create redhat-support-tool openbox pamtohdiff sg_start sjobexitmod iecset llvm-cov cvsaskpass ppmhist test geqn dist_cmp mountpoint systemd-cat fio-dedupe mknod hg-ssh xwd tmux pnmtorast refer bashbug-64 unlink mlxreg nl-cls-list mvn eu-ar ppmtorgb3 pgmminkowski mysql_plugin docker-ctr-current autoreconf ldms-plugins.sh gdb_backtrace.cmds rgb3toppm healthcheck thunar lualatex mate-screensaver-preferences pstex2eps nccopy pnmpad easy_install-2.7 ctags jconsole h5repart unlz4 texi2dvi4a2ps bluedevil-wizard pnmtile pgpewrap md5sum fftw-wisdom-to-conf show_job_memory_usage processcsv.py yacc pdftexi2dvi recountdiff dhcping okteta sg_rbuf bzgrep gcc-nm softhsm2-pk11install irtestcase system-config-firewall ocamlmktop findsmb python3.6 xfce4-keyboard-settings dbus-run-session pdftotext chage ibus-daemon sendiso mcheck mptopdf sprof h5mkgrp interdiff pylint-gui-2 sqlog msgcomm gnatclean iptc dfu-tool recode sg_sat_phy_event hipconvertinplace-perl.sh xmlsec1 lscpu gtkdoc-depscan lzcmp grep-changelog fc-conflist mrd ocamllex.opt gimp-2.8 mencvcd icu-config rsvg-view-3 xfce4-clipman-settings kmix vimtutor scrollkeeper-config system-config-abrt akonadi_nepomuktag_resource word-list-compress doxygen dnsdomainname gvfs-move gvfs-mount fc-pattern passmass mkdir mtp-trexist infotopam tapestat mtp-playlists initdb osinfo-db-export page_owner_sort smp_phy_test linguist-qt5 zvbi-atsc-cc checkpolicy dmxinfo ansible-playbook-2 pnmcrop dmxaddinput irrecord a2x.py kwikdisk ibv_rc_pingpong nl-neigh-list thinkjettopbm python3.4m-x86_64-config scons-configure-cache mkindex kpsestat openlmi-doc-class2uml strace complete-ant-cmd.pl pdiff db_checkpoint systemd-inhibit vmware-vgauth-cmd formail cd-paranoia smp_zone_activate mpage xmltoman pod2man sdp_long_message makedb ldns-keyfetcher akonadiserver slogin epydocgui softhsm2-dump-file vlc etags sdparm designer-qt5 fakeroot-tcp prezip pbmtext jack_connect unpigz pnmhistmap qcatool2 pgmtosbig chacl mysqld_multi mstfwmanager pamenlarge ldmsctl_args3 ncftpspooler ibmssh snmptranslate servicemenuinstallation tcldocstrip nvidia-persistenced msginit gmplayer ld.gold javap targetclid nl-class-add mate-control-center gtkdoc-scangobj mstfwreset pbmtoybm gphoto2-config eu-findtextrel abrt-action-generate-backtrace xdt-commit parec ansible-console-2.7 pampop9 qdoc3 spctoppm kcachegrind fixwpps mp4chaps jack_simple_client brltty-config swappo h5jam generate_randfile ldns-mx myisamlog wmf2eps yuvsplittoppm rsearch kbdinfo mktemp time smtpd.py users cvs wbinfo strigger smp_rep_phy_event pamslice virt-copy-out pyvenv system-config-printer-applet stunbdc kbuildsycoca4 smbclient eqn sha384hmac rsvg-convert readnsstate abrt-action-analyze-ccpp-local kde4-config psicc2 phar.phar jpeg2ktopam evolution qemu-system-mipsel avstopam X sessreg scons linkicc2 bzless smbtree pamundice sadf nf-ct-add kmailservice gnome-doc-prepare psidtopgm akregatorstorageexporter yelp-check xfce4-taskmanager mdatopbm resolve_stack_dump ppmtouil pyvenv-3.6 opa_osd_load hsqldbRunUtil pamtopnm xvfb-run w chardetect-3.4 ppmforge pdbedit ppdi xfce4-display-settings unalias pbmtowbmp oprofiled rpm2cpio fixwfwps xflock4 sslget fc-cache-64 python ffserver btrecord lfs rpmsign vncserver_wrapper ldms_ibnet_schema_name yes gnatxref foomatic-searchprinter paps oz-install sctp_status zipcloak python3.4 db_hotbackup sg_map find-repos-of-install dbus-binding-tool pdfjadetex linux-boot-prober clpi_dump rcopy import lxc-freeze workmanir ppmcie pkg-config gst-typefind pasteurize ppmddumpfont unlzma akonadictl gnome-keyring jack_midisine xx-cvs-diff uic3 cdda2wav ppmtolj eyuvtoppm lconvert-qt5 sg_write_long perlivp valgrind-di-server theora_player resizecons g++44 abrt-action-trim-files db_printlog ibdmtr mmove pnmtopng CMCEnroll gnatfind squid-migrate-conf.py net mst_ib_add smistrip Xnest reporter-print sconsign-v3.1.2-2.7 ts_print sg_copy_results winpr-makecert numastat gvfs-mkdir dynamodb_dump pamflip estwise json_verify pktogf dbufstat.py crontab update-ca-trust iptables-xml svndumpfilter pdfmom bdftruncate aulastlog rarian-sk-gen-uuid gnomevfs-mv gst-launch-0.10 xfce4-popup-hamstermenu qemu-ppc scap-workbench pammosaicknit nm-online vacuumlo gifpos python3.4m pnmtoplainpnm psmerge xcursorgen mate-doc-common pixeltool mstfwtrace opa_osd_perf pwmake clibrary2 sha1sum systemd-notify mib2c-update ghostview hugeedit pamcut rst2man opjitconv pamvalidate policyeditor.itweb opcontrol apr-1-config hunspell rarian-sk-rebuild newaliases.postfix rocminfo gtf tex mate-font-viewer inst ldns-walk h52gif gimp drill sg_sat_identify python-config bluemoon m4 pv pamtosvg gropdf ansible-galaxy mate-terminal vm-support redis-cli tcfmgr xfdesktop-settings du lcov kill_instance gst-typefind-0.10 pruneemptydirs tpmtool nl-route-delete ggz-config grilo-test-ui-0.3 lash_synth nl-classid-lookup lwp-mirror smp_rep_phy_event_list msgfilter khotnewstuff4 fc-scan dbus-update-activation-environment zsoelim otftobdf lss3 go sudoedit pngtopnm vimx mshowfat pamshadedrelief gnome-screenshot eu-ranlib jack_evmon ssh-add ocount mpost ldapmodify opreport ln jsonpointer kcolorchooser xzcat ppmtopjxl abrt-action-generate-core-backtrace lxc-snapshot repomanage system-config-keyboard pnminterp plasma-dataengine-depextractor scandeps.pl ksh93 genresscript kcookiejar4 showrgb src-hilite-lesspipe.sh pldd smp_rep_zone_perm_tbl x11perf edac-util scrollkeeper-get-content-list iceauth vmhgfs-fuse stdbuf display-coords fros espeak rcsdiff xdelta3 enchant pbmpage ffmvforce instperf nodeup scsi_logging_level anaconda-cleanup pyrsa-decrypt-bigfile-2 pamtooctaveimg pixeltool-qt5 hpcups-update-ppds pamtofits fdp snmpusm cheatmake kioclient gcc-ranlib scontrol accountwizard xfce4-mime-settings httexi rstpep2html kalarmautostart genfio stunnel marco-message xvpictoppm opannotate oggdec unmunge pywrap ansible-galaxy-2.7 ocamlcp.opt xcam xfce4-about linguist-qt4 systemd-cgtop sm_notify.ganesha iptab rmdir openipmicmd xauth xslt-config gpg-connect-agent pyrsa-verify-2 kactivitymanagerd authconfig-gtk lastb qemu-i386 growisofs smidump xconsole ph list_titles xerces-j2-constants yelp pbmtosunicon msgfmt.py mkinitrd reindexdb oid2name cimprovider gnome-session-properties taskset nl-link-stats slabtop eu-strings snmp-bridge-mib fprintd-enroll mako-render guile-config view pdffonts xjc dehtmldiff nl-addr-list repl-monitor passwd GenExtKeyUsage lirc-config-tool gnome-character-map systemd-run sh kquitapp ppmdim jobs kconfig_compiler4 gnatchop fc-cache chcat advzip secon ppdmerge gifspnge findmnt pygettext.py iostat modello pdf2ps paperconf colormgr struct2osd.sh eu-elflint kwalletmanager vipe xsetwacom thumbpdf mate-session vcut xfce4-mouse-settings nl-link-ifindex2name autom4te oocalc ocamlmklib.byte ldms_dstat_schema_name xf86gammacfg echo_supervisord_conf vlock slptool pamlookup pgbench kmod ps pg_test_fsync vmmouse_detect collectl unmunch gjs post-grohtml yelp-build vmware-namespace-cmd nuxwdog genewisedb mkfontdir hesinfo pnmsmooth keytool sphinx-autogen pnmnoraw mlxphyburn sg_rtpg aria_chk cython3.6 psmandup ppmquantall mate-thumbnail-font timed-read makedeltarpm qemu-io ldms-py-varset.sh imagefactoryd dapltest tee links tftopl exo-desktop-item-edit ppmtoilbm meld xfce4-accessibility-settings fprintd-delete gvfs-tree spdsend scrub lsdate lftpget get_clientids gpfs.ganesha.nfsd cryptoflex-tool ldns-dpa gifcolor ipa dbus-monitor rawtopgm ksystemlog ganesha_conf mate-desktop-item-edit virsh sldtoppm nepomuk2-rcgen gracebat logview jpegtopnm powerman get_module tred db4_hotbackup fuse-overlayfs lprm.cups zipcmp croco-0.6-config smp_rep_broadcast amqp-delete-queue nnsd mobj_dump nepomukserver pnmtopnm xmkmf pki rev pango-view colmux mysql_waitpid makedepend pulseaudio luarocks-admin sbcast nspluginviewer ppmtoapplevol sgml2info ksmserver koji pnminvert jstatd msgcat mf pylint-2 optimizegraphics system-config-printer apol opa_osd_query disable-paste qemu-or32 latrace ts_test luarocks cxxmetric pbmtoxbm sgml2txt certmaster-getcert jstack conmen rpmls ncftpbookmarks op2calltree pamperspective montage mst_cable icu-config-64 hostname ldapadd iodbctestw opencv_haartraining pactl sbcinfo logfactor5 uncompface chmod mate-network-properties colrm parecord w3m vimdiff vinagre ncftpbatch ppmfade seahorse activation-client svngettags sim_client initex perltidy bundle bs2bconvert lzless aasavefont abrt-action-check-oops-for-hw-error PKCS12Export esdcompat knotify4 centrino-decode spell mofcomp udaddy hzip bluedevil-monolithic stress-ng ldns-resolver ldns-zcat sgml2rtf ttmkfdir tcbmttest spax lispmtopgm pnmtosgi nl-link-list dnal MagickWand-config dvipng pasteurize-2.7 ppmnorm pbmtopk grn mate-default-applications-properties ipmish mysql_tzinfo_to_sql memprof2calltree getconf gif2rgb a52dec qemu-nbd pamstretch-gen radlast xmlcatalog dvips dmxrminput hciconfig ib_read_bw sgather remote-viewer showkey osbs tset sctp_test geninfo xdriinfo mysqltest readom ktimetracker gnome-keyring-daemon pnmarith fetchmail buildah mandb signver ktraderclient msgfmt bind9-config fftest sgmlwhich plasma-windowed pkttyagent xminicom cvsrevertlast grap2graph pamfunc pm-is-supported plasma-overlay kcmshell4 ibnlparse xbrlapi msgmerge virt-format bluedevil-sendfile valac-0.40 apxs ipcs expect xml2po metricbeat zcmp pbmtopgm svnrdump dvilualatex radzap wait Xephyr h5c++-64 xdg-icon-resource wall virt-edit ksverdiff vmware-rpctool ftp-rfc pcsc-spy ptked mate-dictionary eu-unstrip qemu-mips tkdiff mlxi2c pbmtozinc virt-resize llvm-readobj gitk pip-3.6 pfmtopam clhsdb vmware-toolbox-cmd virt-manager ngettext glib-mkenums tzselect genhtml gif2x11 dcgmproftester10 gdm-screenshot sunicontopnm pampick ytasm gifcompose pdftocairo vncserver rrdcgi kpasswd utmpdump mkdirhier oxygen-demo docker-storage-setup virt-builder empathy-debugger sg_get_config ppmshadow gnat nvidia-modprobe scanimage mousetweaks automake mkocp sg_read sgmlpre mtp-getfile rtf2rtf js pylint-gui-2.7 hciattach ccmakedep gst-inspect-1.0 alias pbmtobbnbg llvm-as dijkstra kcheckrunning synclient lastcomm systemd-cgls mwm gfortran setvtrgb baobab ocamlbyteinfo test_ppa klipper octave guile-tools gnome-shell-perf-tool snmpnetstat gdbus-codegen mstconfig fftwf-wisdom fprintd-verify autoupdate sed symlinks pathchk cwutil faked-tcp sg_prevent ldns-dane g-ir-generate lxc-destroy mtp-thumb errno afs5log emacs krunner qemu-system-arm elbadmin ansible-doc ms_print dvd+rw-format fix-include.sh combinediff gegl inkview docker fc-match lupdate-qt4 tty scons-time-2 virtfs-proxy-helper ppmtopcx nfsiostat-sysstat pitchplay findcode.sh jack_samplerate fusermount which odbcinst mstmtserver imgtoppm sg_luns mmd thunar-settings festival_client gtkdoc-check glade-previewer fixscribeps pbmtox10bm faked-sysv git-receive-pack lxc-attach gpic ansible-config devhelp man xx-svn-diff pdftoppm precat raw gcm-import foomatic-combo-xml text2wave guile tdspool plasma-remote-helper setkeycodes pkcs11_listcerts xfdashboard dbwrap_tool akonadi_agent_server bison instance_events tctmgr httxt2dbm fixcvsdiff snmpconf combine vi nroff helpviewer openpgp-tool sha512hmac json_reformat locate dircolors ansible-console akonadi_invitations_agent mp4info gettext zf gifovly prtstat kwriteconfig openvt fixfmps checkmk spottopgm ghostscript lchfn scsi-rescan mysql_install_db kaddressbook package_crystalsvg dbiproxy dumpkeys copybw appstream-compose intel-gen4asm reporter-upload ed easy_install-3.6 WebKitWebDriver speech-dispatcher compface ooimpress lsusb ktelnetservice rdma_server opgprof mtserver sasl2-sample-client sepolgen-ifgen svnlook octave-3.8.2 noncvslist sepolicy parallel texlua ipmicmd snmpset rngtest dconf jdb hpijs ldif moc-qt4 seff dirname ppmtoxpm ibv_asyncwatch subscription-manager-gui gtk-builder-convert tcptraceroute execstack pltotf epstool yuvtoppm ppmtopj escputil update-patterndb pambackground patch abrt-action-analyze-xorg oxygen-gtk-demo pyrsa-priv2pub-2 scrollkeeper-get-index-from-docpath startkde mysqlbug jack_transport gdk-pixbuf-thumbnailer coredumpctl gtk-launch llvm-extract connection_recovery gnomevfs-rm sharesec seahorse-daemon vlc-wrapper gconf-merge-tree showmesh texconfig-sys ch-pull2tar virt-tar-in rpmdev-sort pip-3 rlm_ippool_tool aafire winpopup-send file dvdrecord gtester-report qemu-mips64 rpminfo prove systool fwtrace pstoimg crc32 llvm-bcanalyzer grace_period pamwipeout mc-tool sbigtopgm sg_read_buffer zipsplit mdeltree aec pygtk-demo rdate gvpack run-with-aspell pyrsa-encrypt gtkdoc-mkdb sim_lsmplugin alsaucm snmpdf memusagestat xlsclients roff2text serialver oxygen-settings gst-xmllaunch-0.10 gnutls-serv gucharmap db4_verify icontopbm kdialog cpack3 abs2rel grl-inspect-0.3 nproc bsqldb pflags strip sg_format mailx gpg2 db4_archive rpmdev-newinit luit javaws zfgrep gindxbib gcov rmail.postfix jtexexpand mate-calc pnmquant gtkdoc-mkhtml mysql_config pamditherbw glib-config pphs xfce4-sensors xulrunner openipmish aspell pbmtomacp sg_write_same mcdiff mtp-connect timed-run gnuplot-wx mock-parse-buildlog makeindex ksflatten sstat xfce4-popup-whiskermenu rst2xml mp4extract opensc-explorer k5srvutil pgmmedian pc1toppm gvfs-rename smp_zone_lock smbpasswd sgml2latex cgset reporter-ureport ipcrm magnet-link shuf sg_vpd ipcmk nasm distro jack_freewheel aconvert uuencode pamtompfont roqet bc libwacom-list-local-devices sxpm kdumpctl updatedb lpstat xfce4-notes-settings jw rping xeyes gvfs-save yelp-new pbmto10x dviluatex mate-session-save xwininfo repquota firefox gtk-builder-tool stapbpf nss-util-config cdda-player ophelp xserver-sdk-abi-requires cksum pr bmptopnm mft jing GET xrdb pamon DcgmProfTesterKernels.ptx qemu-sparc32plus nl-util-addr extractrc python3.6m guile2-tools pdflatex nosetests-2.7 ranlib revpath ibdev2netdev ptx replace squeue chrt sgp_dd zenity groff xfwm4-tweaks-settings oobase qdbus-qt5 ppmglobe nl-link-set mtp-files checkXML unix2mac smbtar sg_modes ppmtoeyuv isovfy consolehelper gnome-autogen.sh lscgroup easy_install alacarte seaudit logger ior-decode-2 abrt-action-save-kernel-data tcatest rdma_client sconsign-2.7 glxinfo64 txtconv mate-appearance-properties sbcdec clibrary tcbmgr xml-xread fc-list fi_strerror systemd-ask-password oil-bugreport dvipdfm co db_recover nl-cls-add nail zforce domainname traceroute nv-hostengine virt-alignment-scan stedump pi1toppm net-snmp-config symilar kde-mv ocamllex.byte bzdiff pkcs11-tool shar mcat stap-merge octave-cli-3.8.2 tree zegrep itweb-settings xlsfonts gneqn gifinto nl-list-sockets cvslastchange pamchannel showconsolefont proxy pg_test_timing teamdctl irw salloc rumakeindex report-cli sdiag llvm-config osqueryi checkmodule recode-sr-latin virt-df latex2html xmag opensc-tool gmake eject celtdec051 sshare fdf2fit xfce4-notifyd-config php-cgi pckt_drop lprsetup.sh mcopy nosetests xetex jack_midiseq teamd lircrcd arecordmidi aplay lkbib chmem sensors mvxattr rpmspec gnudoit mp4file simpdftex rz krandom.kss roff2ps etex zgenhostid mlxlink scons-time-v3.1.2-2.7 xzdec nmon pngtopam systemd-loginctl mc-wait-for-name libpng15-config sgmlspl kres-migrator tracker cvsblame csv2rdf teckit_compile cvlc mtp-hotplug rdfs2dot fixwwps boltctl srftopam includemocs netaddr korganizer abrt-action-analyze-oops enconv rocgdb lzmainfo llvm-diff corelist kruler createrepo_c flac CRMFPopClient systemd-sysv-convert pktopbm abrt-action-analyze-vulnerability qttracereplay wbemexec ekiga padsp httex dbus-test-tool runscript smp_ena_dis_zoning gatttool cimcli chrpath cluset cython redis-benchmark extractres f95 bunzip2 hipify-cmakefile ib_send_bw pprof xz tracepath yum-debug-dump xwud oscap hcitool subsearch dvd-ram-control objdump db47_recover sbatch tic units_cur ptargrep wdctl sg_compare_and_write ocaml kolourpaint checksctp ps4pdf roff2pdf tbench xmlif cpan getcifsacl kbdrate jstat id localedef divx2svcd rcc-qt5 qemu-cris revoker easy_install-3.4 kswitch isort-2.7 wbmptopbm isodebug xfce4-settings-editor gvim ganesha_mgr oscap-docker openal-info pg_restore update-desktop-database virt-copy-in riostream pnmflip ppmtoyuvsplit dmxwininfo nss-config solid-action-desktop-gen rst2odt neon-config manweb egrep python3.6m-config eog gnome-session grepdiff nm-connection-editor ldns-notify mate-invest-chart x86_64-redhat-linux-gcc setup kdeinit4_shutdown jack_netsource cgget lrelease-qt4 jack_iodelay akonadi_kdeaccounts_resource htdbm url_handler.sh ldapexop smilint vptovf gnomevfs-df mlxtrace nf-log xdmxconfig sg_wr_mode ocamlprof.opt tailf rpcclient regdiff gresource raidz_test cd-it8 ibv_srq_pingpong grub2-render-label ocamllex lrelease-qt5 ucmatose mc ppmpat mp4art rst2odt_prepstyles ocamlobjinfo.opt gvimtutor sha224sum svn create_svnignore pbm2ppa startx pgmnorm alsaunmute omshell xmlpatterns sndfile-resample docker-current arch ipptool mate-panel iconv gifflip attr ppmtospu get-versions zsh animate zeisstopnm orca calcbpp virtuoso-t sg_map26 pyrsa-decrypt-2 im-chooser xvattr mysql_secure_installation mev ppmtoneo mate-power-preferences scsi_ready lxc-usernsexec onto2vocabularyclass unoconv foomatic-configure scancel ansible-2.7 systemd-hwdb encode_keychange nagiostats kshell4 snmpgetnext cimmof pgmdeshadow kpsewhere pyrsa-sign-2 rm docbook2txt setterm alsa-delay autoheader smp_discover kde4 swatch taskadmin gtroff lstopo gost-hash lfs_migrate runant.py rebuild-jar-repository aseqdump shellcheck i2c newuidmap dtestx xfce4-session ldapdelete flatpak db4_upgrade jsonschema xkill jp.py docbook2ps db_replicate fmtutil fixps pynche ksystraycmd pinfo resourceparse hipcc.pl sg_ident userformat qdbuscpp2xml rpmdev-rmdevelrpms grub2-menulst2cfg grep ncftpget rarian-sk-preinstall ppmrelief qemu-unicore32 nedit-client ldms-py-rename.sh update-gtk-immodules mate-cpufreq-selector xml-resolver pistool texconfig lzfgrep gtk-config pip hpcdtoppm akonadi_birthdays_resource wish ipmilan db_archive ldms-sensors-config gnome-session-inhibit captoinfo sg_scan llvm-size lxc-checkconfig ooviewdoc rpmquery svnversions tcsh perldoc knotes ocamlcp.byte servertool mx-create-image-cache msql2mysql pidstat qemu-aarch64 octave-config-3.8.2 newgrp aclocal-1.13 cmsutil fiologparser.py gsf h5debug cue2toc pbmtoppa system-config-selinux pinentry jhat gtk-query-immodules-3.0-64 qemu-mipsn32 octave-config echo pbmtoascii mate-power-manager MagickCore-config nvidia-settings scrollkeeper-gen-seriesid snmpstatus nohup setsid xdg-user-dir pamdeinterlace axfer convcal lpstat.cups csh kmail-migrator screen postmaster systemd-stdio-bridge pbmtog3 tifftopnm mtp-sendtr macptopbm qt3to4 qemu-armeb nttcp-neighbor-alt gftopk ksnapshot mstcongestion guards pre-grohtml gst-stats-1.0 gtkdoc-rebase Magick-config pstruct gsl-randist virt-rescue reporter-rhtsupport runcon emacs-24.3-nox htmltree sha256hmac gifclrmp report-gtk xzfgrep ef playmus valgrind-listener pdfunite pkcs11_eventmgr pg_archivecleanup cups-config pack200 link el4-rpmlint coverage-2.7 openbox-session mpls_dump g3cat abrt-merge-pstoreoops flipdiff jack_bufsize run-singularity scrollkeeper-install pamtopng dcgmi udevadm perror ppmtoascii docbook2tex pamedge nspr-config ps_mem ctest cdrdao nph kbd_mode perlthanks xx-sql-schemas ar gnome-tweaks pbmtopsg3 dot2gxl kfile4 sql docbook2html dvigif conman sox plymouth mlxuptime gsl-config kwatchgnupg intltool-extract texindex rb gvmap.sh mysqlbinlog catman oldfind lua gss-client hb-ot-shape-closure pinentry-gtk hg tload pyrsa-encrypt-bigfile-2 qdbusxml2cpp ncursesw5-config ffmpeg mstop mdir ksh ktutil pnmscale ipcalc xfce4-screenshooter startxfce4 rlogin-cwd epsffit cameratopam theora_encode cheese snmptest prune base64 htpasswd xzless epylint-2.7 pk11install jjs softhsm2-util mysqldump xdg-desktop-menu rediff cal ansible-vault-2.7 ipa-getcert GenSubjectAltNameExt ac phar nslookup objcopy kopete ex kblankscrn.kss updmap-sys cvt openlmi-mof-register gpgme-config.x86_64 odbc_config eu-readelf arc_summary.py IBMgtSim aserver mail zenheiset mstmread rarian-sk-get-extended-content-list ocamlprof gedit eqn2graph calibrate_ppa ksplashsimple bibtex aainfo rstream mkhybrid redis-check-rdb cgcreate pamtilt nl-qdisc-list rrdupdate byacc xsetmode dcgmproftester11 aconnect sbcenc ldms-meminfo.sh create-jar-links tcucodec xdg-screensaver mate-session-inhibit pg_receivexlog radsniff ppmrainbow rst2html rarian-sk-extract pamtogif ocamlmktop.opt db_dump syncqt.pl 411toppm auks kpsexpand pkidaemon mtp-newfolder kfontview spd-conf psfxtable kde-open gif2h5 pamtotiff eu-elfcompress dvcont svnsync chardetect-3 gunzip lxc-top map_unit qemu-system-mips wmf2svg pkcs11_inspect kdostartupconfig4 lsmd svnintegrate pexec sg tce-yum apirst2html mtp-detect whiptail pnmrotate pod_cover pgmtexture gvfs-ls munch pamtopdbimg mtp-reset ksshell aalib-config ptardiff keyutil nl-qdisc-delete desktop-file-install svnlastlog highlight lwp-request raw_ethernet_lat opax xmllint readmult wvgain nss-policy-check bakefilize java chfn simc_lsmplugin squidclient bdf2gdfont.pl texconfig-dialog virt-diff ps2epsi blkiomon jack_midi_latency_test osinfo-install-script jade mesg kaddressbookmigrator jackd userpasswd virt-host-validate fixpspps dir dm_date atktopbm dba libpng-config mutter yumdownloader genkey python2 plasmapkg hdsploader sysdig-probe-loader ostree git-cvsserver ppmtojpeg sweeper ppmdcfont piv-tool dotty perl ExtJoiner xnmap nsupdate gdb_backtrace-threads.cmds ibdiagnet callgrind_annotate db47_dump gifburst pagesize uname lckdo source-highlight podselect mcd reporter-mailx danetool grefer g3topbm rpmdiff jackrec ispell ncftpput mtp-format khelpcenter softhsm2-keyconv h5perf_serial virt-get-kernel copylat rksh gapplication gpk-log pgmramp lzdiff fi_info semodule_deps sane-find-scanner rdfproc unflatten ppmtoterm mate-session-properties gcore kuiviewer rcsclean diff pip2 xmbind bonobo-browser ospam etags.xemacs ldms_local_opa2test.sh makekdewidgets4 libieee1284_test sqliterepo_c fftw-wisdom jack_metro pango-list makeinfo report-newt cardos-tool fusermount3 gdk-pixbuf-query-loaders-64 swig mlxcables msghack sudo konsoleprofile psktool kfmclient xml_grep tificc2 ocamldebug gnome-clocks ipmi_sim curve_keygen pwd fprintd-list kde-systemsettings-tree.py fake_recall abrt-action-analyze-python mmldif lslocks pbmtolj python3-config enchant-lsmod pip3 ocamlobjinfo.byte xdg-mime tcfmttest ppm3d repo-rss smp_rep_exp_route_tbl sg_inq macho-dump ksysguard libgnutls-config pbmtoescp2 ppmtoarbtxt gnome-thumbnail-font ssh-copy-id fio2gnuplot zenmap rgb2gif nttcp-spam mkhtmlindex redhat-access-gui zgrep festival_server dot bhquery ul iso-read vmtoolsd certwatch xrced gio-querymodules-64 winpr-hash vmware-user-suid-wrapper cifscreds aws_completer udpong pnmtops inotifywait numactl ldns-keygen mren db2rtf arcstat.py pbmtomgr gpk-prefs psresize cifsiostat libguestfs-test-tool rpmdev-extract xfwm4-settings sh5util mkluatexfontdb ansible-playbook pamscale pnmtopalm pgmmorphconv fs_mark dm_zdump nl-neightbl-list virt-make-fs ibmsquit xfsettingsd pyrsa-decrypt-bigfile gphoto2-port-config alsa_in pltek pbmclean install-printerdriver libIDL-config-2 ecpg mate-screenshot gtester pylint instmodsh h5cc-64 scsi_stop mpstat squashfuse_ll tctmttest smbcacls sdl-config vdir login hpftodit getent toc2cue amqp-declare-queue gc xfce4-popup-windowmenu ansible-inventory gnome-system-log mate-volume-control fig2ps2tex.sh cvtsudoers hostid ppmdither pyrcc4 grops rad_counter cd msggrep sg_get_lba_status pbmreduce autopoint speaker-test abrt-dump-oops pdfroff pyreverse-2 lslogins mpaste rarian-sk-get-scripts ansible-connection runc ppmtoppm opencv_traincascade umount eu-objdump repl-monitor.pl glib-compile-schemas affixcompress rarian-sk-install ldns-nsec3-hash fltk-config fixnt glib-gettextize ssh nepomukcleaner qtattributionsscanner onsgmls abrt-handle-upload akonadi_nntp_resource gsf-vba-dump rocm-smi xx-svn-review svn-clean mlxmdio xml_pp aria_dump_log ncgen subscription-manager gio watch javah virt-log mktexlsr pbmtomda smp_zone_unlock stap-prep ocamlc.byte sx acpi_listen xml2-config corosync-blackbox col isoinfo ldns-update findmissingcrystal xfce4-appfinder coverage grub2-file pbmlife pamtowinicon ccmake ssh-agent xterm scons-2 cvsbug xmvn-builddep gr2fonttest mget_temp certutil sedispol xsettings-kde ldmsd-wrapper.sh sg_sync h5redeploy mm2gv cppunit-config sattach pdbimgtopam ibus db2ps gnome-doc-tool jack_disconnect wmf2x brltty-ttb extcheck totem-video-thumbnailer valac gifwedge imginfo pll-ldms-static-test.sh egk-tool pamfixtrunc msguniq mtrace msv bugpoint nonsvnlist grub2-syslinux2cfg ldns-signzone cdda2ogg pgmtopgm pbmtogo pam-panel-icon el5-rpmlint logname gem xfce4-terminal gxl2gv amstex purple-url-handler create_yum_image logresolve kunittestmodrunner head hcidump nisdomainname gpgsplit rpmdev-cksum cpan2dist xzcmp cythonize3.6 valgrind factor pbmtoicon xorg-x11-fonts-update-dirs checkisomd5 opencv_performance xdg-open l4p-tmpl cpp2html finduncodep.sh lxc-info gpk-update-viewer bash zvbi-ntsc-cc seinfo clusterdb xx-match msgen rpmdev-checksig pbmminkowski gtk3-widget-factory kdestroy opencv_createsamples xmlwf libnetcfg osage aria_pack pgmtoppm pkcs11_setup rocprof whois isql opimport gnome-dictionary mktexpk skill gnomevfs-mkdir futurize panelctl locale nl-link-release brushtopbm getafm hivexml evince-thumbnailer nmtui-connect xlogo sg_test_rwbuf kmtrace getcert kdedoc libglade-convert pamgauss pamrubber makeg container-storage-setup xdpyinfo kdf vdltodmx osinfo-db-validate mtp-newplaylist akonadi_maildispatcher_agent kwalletd ansible-runner-2 authconfig typelib-dump gvmap mysqlhotcopy ldapmodrdn localectl ppmtoyuv lp_solve rpmgraph cvsbackport loadkeys svnversion python3 efikeygen CMCResponse tr jack_cpu_load berkeley_db47_svc ppmdist dialog vmware-xferlogs cancel.cups expr sc-hsm-tool appstream-util sreport nettle-hash icuinfo colcrt xx-cvs-revcmp autoconf Wand-config abrt-applet hb-shape xemacs-script lashd quakestat mk_cmds jack_zombie systemsettings fltk-config-x86_64 CMCSharedToken kde4-menu chown pspell-config xinit nvidia-init ldmsd-check-env lssubsys gsettings write gifhisto qmake-qt5 exo-preferred-applications totem xstdcmap ppmdraw systemd-tmpfiles uic-qt4 dbus-send pnmgamma loggen jack_monitor_client showimage bakefile_gen psed nl-neigh-delete sirtopnm pyrsa-decrypt getfattr flite_time h5unjam dmxresize ipcount nl-cls-delete bzmore db_load findcon flex cdparanoia analog perlbug isohybrid festival minfo idiag-socket-details rletopnm manpath jscpucfg display-buttons smp_zoned_broadcast mtype qt-faststart sfconvert ocamloptp.opt report ksysguardd jack_cpu osinfo-db-import pod2texi pg_config ldms-ibnet-sampler-gen hipexamine.sh sudoreplay pstree.x11 ds-replcheck nl-pktloc-lookup pgmbentley pktype sopranocmd ch-builder2squash abrt-watch-log gdlib-config hangul solterm oparchive ansible-runner guestunmount nettle-lfib-stream pkmon godoc piconv xrandr ocamlopt.opt glxgears llvm-nm sepolgen akregator pamendian update_walltime ppmshift osqueryd gnome-text-editor kdeinit4_wrapper jack_net_master s3 metacity-message repo-graph pnmtojpeg gsbj irdb-get foomatic-perl-data pinentry-qt ocamlprof.byte chgrp osbs-2.7 smixlate getopt mp4tags kvno systemd-path ppmmix w3mman virt-sparsify pgmnoise gpg-error ldns-gen-zone jwhois xdpr false rrdinfo virt-xml kdelnk2desktop.py ascii-xfr create_makefile fg selfsign-getcert pamtoavs ccmake3 hivexregedit pampaintspill cgsnapshot lsyncd ocamlmktop.byte mysqld_safe_helper mlxfwstress_ext qdelaunay grog pyrsa-encrypt-2 pyrsa-encrypt-bigfile lookbib db47_upgrade snmpbulkwalk gfortran44 rmcp_ping net-snmp-create-v3-user pamthreshold mzip tcftest unzipsfx ppmtoicr irpipe lpr.cups png2mng.pl nl-link-enslave sfv-hash tail rdoc foomatic-printjob stap getopts pg_ctl osql glib-genmarshal gslp svn-foreign advpng find2perl jack_session_notify sdptool mstvpd gpgv2 json_pp split2po ldns-key2ds ybmtopbm xmltex rarian-example mrcp dc vtysh python2.7 qemu-mipsn32el pesign-client lppasswd dist2 llvm-objdump xx-svn-resolve cd-drive gnome-font-viewer smail db4_deadlock pamfile mcedit nvidia-sleep.sh lz4c sccmap texi2dvi Xorg lash_panel geoipupdate kernel-install ppmtowinicon ocamloptp.byte ldns-chaos mbim-network mstprivhost innochecksum smp_rep_route_info jps distro_version gofmt img2png xzmore ovis-roll-over.py ch-run gsound-play ical2vcal secret-tool memusage sqlite3 mywcid.pl kwrapper4 rcsfreeze orbd python3.4m-config extresso openlmi-doc-class2rst sg_read_block_limits xfce4-settings-manager cpp rpmbuild pdftops hman createlang pyuic4 ocamlmklib.opt czmq_makecert btmon gccmakedep skopeo mplayer cpulimit mturk mkoctfile-3.8.2 pkla-admin-identities freebcp rocm_agent_enumerator nf-exp-delete mkoctfile reporter-bugzilla fio_generate_plots gznbd g++ smp_rep_manufacturer asciidoc.py sotruss akonadi_microblog_resource migspeed ncdump btreplay mergerepo gsettings-data-convert ocamlrun kcalc selinux-polgengui hipify-perl ldnsd t4ht jack_thru bzip2recover ibv_devices leaftoppm PKCS10Client pacmd extractattr minit virt-top wrestool gdb-add-index quota gimptool wlfreerdp supermin5 snmptable cvsversion systemd-delta ocamlopt rfcomm st4topgm qemu-mips64el wavpack strace-log-merge pdcp implantisomd5 mate-notification-properties setpriv ipcalc-color ogginfo pamrecolor scsi_readcap guestfish sg_turs eu-size ipmitool ibv_ud_pingpong cddb_query memhog jinfo qemu-mipsel myisam_ftdump ppmtoleaf sepolgen-ifgen-attr-helper lxc-cgroup update-mime-database HEAD pbmtoepsi dvd+rw-booktype scrollkeeper-preinstall gtkdoc-scan touch plasma-netbook select-editor usb-devices fetch_file pchrt ib_atomic_lat ppmbrighten licensecheck ark gconftool-2 ibdmchk pkexec lmutil rubibtex nmap sg_xcopy repstopdf gettextize testgdbm nvidia-cuda-mps-server readelf sg_persist env svgtopam g-ir-annotation-tool dhcpclient cygdb3.6 gnome-open htxetex sftp inotifywatch kcminit vgdb tcutest targetcli sg_rdac icedax sctp_darn yum-groups-manager solid-hardware gifinfo deallocvt rpmdev-sha512 prezip-bin mouse-test fio_jsonplus_clat2csv sg_emc_trespass virt-ls ksshaskpass imsettings-list lsinitrd dgawk fio ppmquant dbus-cleanup-sockets git jpstoimg mate-wm pod2usage userinfo krb5-config pnm2ppa rvlc pprof2calltree tclsh8.5 kuser alsa_out find-jar teamnl paste gemtopbm prlimit Xvfb sgitopnm mpconsole rnano scrollkeeper-get-cl midentify pygobject-codegen-2.0 libtar memstomp page sdp_run_test rlogin pydoc3.6 geoiplookup6 mlxreg_ext ldns-verify-zone chronic psnup gnuclient 2to3 wish8.5 pdfxmltex rpmdev-newspec qmicli unix-lpr.sh tchmttest pstree gzexe xfce4-power-manager 2to3-3.6 ppmcolors vmware-user mlxpci unshare mclasserase chardetect uic-qt5 pgmenhance vala-gen-introspect-0.40 setserial keditbookmarks gcov44 mlx_fpga xset sane-config shasum p11-kit pnmtotiffcmyk pnmcolormap pstack circo keyrand clush cmake imsettings-info mate-about-me jack_alias lash_simple_client nsenter palmtopnm gnatbind glacier nl-class-delete gpk-application gdk-pixbuf-pixdata transfig sdiff automoc4 ntlm_auth intel-gen4disasm epydoc ogonkify stat rxe_cfg redis-sentinel foomatic-datafile mt kcharselect lupdate-qt5 distro_list xml_merge stapdyn bccmd pamtoxvmini xmlmantohtml lxc-execute imake xkibitz pcap-config uuidgen cg_merge db4_sql ibdmsh mysqlaccess AuditVerify rpmkeys oscap-vm rview podchecker emacsclient xfce4-popup-notes lzmadec ps2pdf lxc-autostart rdma_xserver zxcvbn emacs-24.3 gvfs-monitor-file openssl mlxburn nmtui-hostname nsgmls lp PrettyPrintCert texexpand mgrtopbm nl-fib-lookup gtk-update-icon-cache cl-dump.pl system-config-firewall-tui pjtoppm sg_stpg cpuid pbmtoptx qdoc gvfs-set-attribute remunge cabrip texi2pdf msgunfmt rrdtool smp_conf_zone_phy_info bioradtopgm desktop-file-edit usbhid-dump aria_read_log osbs-2 kbackgroundsnapshot card ksplashx smp_rep_self_conf_stat mailq.postfix h5stat niceload ocamlcp guile2 ndisasm ssltap ansible-vault kmimetypefinder lzmore glade pstops cimmofl jadetex c++filt nping extend_dmalloc colorsvn pnmenlarge icon2gif gxl2dot psfgettable fio-btrace2fio openoffice.org dockerd ldmsd-pre-systemd.rpmsave ldmsd-pre-systemd gpgparsemail pswdb pamtohtmltbl pnmconvol sacct linux32 otflist db4_recover h5import nautilus-sendto gdbus inimf mate-power-statistics udisksctl curl nepomuk-rcgen xfce4-session-logout kdeinit4 smp_conf_zone_perm_tbl mstmwrite mkfifo qmlviewer pamstereogram verve-focus lconvert pyreverse ibtopodiff libinput-debug-events pnmcomp gpg launch_instance eidenv bsqlodbc jrunscript nepomuk-simpleresource-rcgen imlib2-config chmorph net-snmp-config-x86_64 fipscheck akonadi_kcal_resource numa-maps gtkdocize h5c++ pamcrater gifbg cdrecord fitstopnm xx-rename plasma-desktop rpmdev-sha384 indent smp_write_gpio stty db47_codegen xml-xparse virt-who pbmmake nano sar jmap xfwm4-workspace-settings sysdig semodule_package pyrsa-keygen-2 neqn mft_uninstall.sh smbstatus hostlist nbd-server lxc-unshare lzgrep usermount ocamlmklib pax sg_opcodes numfmt pigz nnslog autoexpect gifrotat scons-configure-cache-2 sprio conjure pesign opensc-asn1 xdt-autogen mlxtrace_ext redis-server dbench gv2gxl pg_dump gnome-session-custom-session syslinux empathy-accounts ibv_uc_pingpong smp_conf_general pango-querymodules-64 dist_bootstrap infokey cups-calibrate db2pdf lastlog pnmmargin eu-addr2line pychecker cscope-indexer ldapcompare pywbemcli flint_ext chmextract nl-route-add virt-who-password sphinx-build grub2-mkstandalone mmount okular countquant x86_64-redhat-linux-c++ KRATool hipstopgm docker-containerd-current xemacs-nox repoquery f2py raw_ethernet_bw hunzip mcra jvmjar oabextract gaim pamgradient lftp db2html fribidi jjdoc korgac gethostip h5fc-64 urlview cgdelete sshpass pdfinfo pic2graph escp2topbm mlxfwreset html2ps fixtpps pydoc3 pnmcut ansible-doc-2.7 qemu-system-mips64 gsf-office-thumbnailer java2html vmware-vmblock-fuse qhalf pamseq mstarchive x86_64-redhat-linux-g++ setxkbmap ifdata shcomp etags.emacs alsaloop csslint-0.6 testrb scriptreplay sgml2xml regtree pyrsa-verify plistutil loginctl dtest pnmremap libgcrypt-config smime_keys sg_logs mlxprivhost pgmcrater fallocate nmtui-edit akonadi2xml finger mate-volume-control-applet repodiff ucs2any dmxrmscreen mysql_fix_extensions qepdvcd rvim ntpstat lash_save_button mmcli cgclassify gifinter rlatopam io-watchdog json-glib-validate mencoder xfce4-mixer cistopbm vala lpunlock bcomps db4_printlog nl-neigh-add h5repack grub2-script-check hex2hcd oddjob_request akonadi_localbookmarks_resource pnmtofiasco nepomukcontroller db4_stat gst-xmlinspect-0.10 ptaskset R units tuna tsort host gcm-viewer charmap setlayout crash ldms-static-test.sh isodump purple-remote oodraw nvidia-debugdump xpmtoppm python-argcomplete-check-easy-install-script compress pg_resetxlog makealias unicode_stop hexdump listplugins pywxrc vulkaninfo pasuspender pnmtotiff ansible-pull-2.7 libinput ed2k-link qemu-sparc dvd2divxscript scsi_temperature awk pkaction ffset sound_dump gnuplot CMCRevoke flite gif2ps ocamldep.opt lprm aclocal bzip2 nepomukpimindexerutility netkey-tool gvcolor scons-configure-cache-2.7 scrontab gobject-query ypdomainname rpdcp gv llvm-dwarfdump kadmin distro_diff splain xzdiff nvidia-bug-report.sh as kpsepath glookbib register-python-argcomplete gawk a2p jack_showtime gencat supermin-helper ib_write_lat docker-containerd xdelta ldms-pedigree xfconf-query bluetoothctl keditfiletype demangle ndctl bzcmp gpg-agent tfmtodit brasero hdifftopam /usr/local/sbin: clamd .gitignore clamonacc /usr/sbin: opagetvf e4defrag lshw debugfs gpm pki-server opahfirev ocft sfdisk ether-wake db2ldif.pl upgradednformat blkdeactivate ldev opahostadmin slurmdbd tuned-adm vgextend rhnreg_ks vgreduce raddebug sync-node smpdump cifs.upcall ras-mc-ctl iprinit iconvconfig era_invalidate opacheckload import_keys agetty pam_tally2 dbmon.sh portrelease opafabricinfo makedumpfile system-config-authentication strfile slurmctld cfenvd mkhomedir_helper hypervfcopyd lc_lvm osmtest opaxmlfilter pppoe-connect gencert selinux_restorecon mount.nfs perfquery btrfs-find-root mkfs.xfs grub2-get-kernel-settings opaextractperf dhclient-script check_wiring_peloton.pl opaportinfo vgscan era_check ipmi-locate fcnsq semanage opaextractlids groupadd foomatic-fix-xml cfkey hddtemp upgradedb ovis_json_test rpc.mountd lr_reader selinuxenabled setpci llog_reader vipw conntrackd resize2fs sysctl xfce4-kiosk-query mountstats blkid mk-diskful dftest rhn_register opascpall mklost+found showmount ipmipower zhack saslauthd gss-server ctrlaltdel foomatic-nonumericalids useradd devlink ipmi-pet cbq verify-db.pl sln logwatch ldattach arping selinuxconlist iptables biosdecode lpinfo pppoe-setup opasaquery dmeventd pcs pppstats ip6tables saslpasswd2 certmonger ibhosts lpc perfmon.pl alsabat-test.sh vgck apachectl logrotate alternatives hugepages-ctl thin_ls btrfs-select-super rdisc ibcreateswitchmap.sh dump_mfts.sh ipmi-fru thin_rmap hprest ntsysv pef-config vgcreate delpart fuser grpconv attrd_updater extlinux findfs unstr pcscd bak2db.pl ibqueryerrors xtables-multi telinit alsa-info groupmod grpck ntp-keygen corosync-cmapctl tunefs.lustre lflush pppoe-server nisserver-plugin-defs lvmconf slattach lvmsar restart-dirsrv ibtranslatename testsaslauthd firewalld smtp-sink e2fsck cleanallruv.pl crm_node llverdev halt cache_repair avcstat genl-ctrl-list pki-upgrade anaconda addgnupghome try-from lusermod xfs_bmap lhsmtool_posix ldif2db.pl arp pvs usn-tombstone-cleanup.pl pm-suspend-hybrid simple_rdma iptables-restore genl opachassisanalysis runuser liveinst groupdel chronyd snoopy-enable opafabricanalysis mkfs.ext2 opapaquery birdc pppoe iscsiuio ll_decode_linkea crm_standby grub2-set-default ss pethtool myclass setup-ds.pl tc syscfg lvmdiskscan lgroupmod genhomedircon lustre_quota_summary setcap getc_putc poweroff genhostid lvremove db2bak.pl bridge diodshowmount fsck.xfs rpc.idmapd crm_mon ipmimonitoring tshark fipvlan biosdevname cimprovagt route ModemManager zramctl sendmail db2bak consoletype mkdosfs rtacct pvscan allow_hosts nl-qdisc-add ibtracert applygnupgdefaults vgimport nft parted ns-newpwpolicy.pl lustre_start ntpdate pwmconfig in.mrlogind sshd faillock iw iwgetid lmtsh lnewusers lvscan ns-inactivate.pl nfsdcltrack routel lsof autrace zfsobj2fid ipmi-sensors qlogic-get-guids.exp ldmsaggctl selabel_partial_match cracklib-format profile-switches.pl isdct dioddate grub2-macbless aureport opareport opensm abrt-dbus lustre_routes_conversion bak2db alsa-info.sh opaesmanalysis cerebro-stat dump_lfts.sh semodule dn2rdn lvreduce cimtrust create_dhcpd.conf PIUHostlist.pm mount.cifs alsactl nscd iprsos l_getidentity routerstat tracepath6 ifstat reboot lldpad autogpfsc.pl stinit dump-utmp rpcbind prelink pxe-config modprobe grub2-rpm-sort kexec lpurge opafmconfigcheck plmpower pam_console_apply mpathconf adsl-start cupsreject ipmievd nbd-client mungekey automount ipmi-console accessdb xfs_metadump wrmsr ripd lfts_sort.pl skdump radvdump radvd lgroupdel rpc.gssd tmpwatch e2undo diod chpasswd ipmiconsole vgchange lvresize crm_diff mk-isoimage-oneSIS mkfs.cramfs dhcpd cache_check lvconvert insmod pwr partx brctl mkswap mii-diag ibccquery powermand authconfig-tui ownership kpartx postalias addpart crmadmin ripngd fsck.ext4 radmin lvdisplay rngd opagenesmchassis luseradd tcpdmatch pvck sm-notify update-pciids cfservd memtest-setup badblocks rmcp-ping zic callback radiusd gfs2_edit dm_dso_reg_tool ibgetname lnstat xfsrestore pppdump xfs_estimate mate-power-backlight-helper opaswenableall isaset lnet conntrack opaxmlindent fsck.fat mkfs.minix lid mate-system-log pvresize start-dirsrv tomcat rtmon opafirmware opaxlattopology adcli sensors-detect era_dump lirc-lsplugins db2index ipa-certupdate cfenvgraph visudo ipmaddr btrfs-map-logical diodls lircd latencytop-tui snoopy-disable rmt ntpq msrsave glocktop foomatic-preferred-driver cimserver ns-slapd xfce4-pm-helper dumpe2fs cgconfigparser powertop httppower qb-blackbox lpmove wpa_passphrase ntptime mkbootdisk aukspriv blkdiscard grub2-probe gdm pm-suspend fixup-linkedattrs.pl tcpd fcoemon stop-dirsrv vgmerge weak-modules iscsid avahi-daemon cfagent e2label dmfilemapd dracut stonith_admin multipathd pacemaker_remoted pkispawn isisd postfix lvmsadc ipa-client-automount uuserver partprobe opadownloadall ping6 xfs_rtcp suffix2instance smartctl routef lc_hb corosync-notifyd lircd-uinput ibrouters audisp-remote abrtd cupsaddsmb fancontrol opafmconfigpp redfishpower sa rtpr corosync-cpgtool cupsdisable consl iscsi-iname rdistd nl-class-list cfrun opahostsmanalysis nstat smtp-source sim_server ipmi-dcmi opaverifyhosts ibnodesinmcast repupgrade capinfos yumdb exportfs cupsd pwck glibc_post_upgrade.x86_64 lpadmin ctstat iptstate umount.nfs4 lc_md ns-accountstatus.pl copy-rootfs opatop opaextractstat xinetd auksdrenewer iptunnel opaextracterror zstreamdump saquery cups-genppdupdate ipset pm-utils-bugreport-info.sh dkms iwconfig paperconfig spice-vdagentd randpkt rdma-ndd shorewall setenforce usbmuxd iwspy min-nbd-client voltaire-get-guids.exp fsfreeze cache_dump opaallanalysis cgrulesengd vgremove sosreport bmc-config nvme syslog-ng-ctl restoreconfig nl-cls-list reordercap ds_systemd_ask_password_acl saned in.tftpd fdformat ntpd crm_attribute vgsplit crm_ticket service slurmd fsadm lshowmount dump_fts latencytop ibtraceroute new-memtest-pkg swaplabel acpid pppoe-relay ifrename auditd lldptool ausearch blkmapd smpquery lmtmetric iotop create_auto.direct splat cache_writeback lgroupadd vdptool sgpio pppoe-status ibacm bmc-device mii-tool killall5 lustre_routes_config gfs2_jadd ledmon opaswdisableall rasdaemon nl-class-add ifcfg abrt-configuration groupmems fcgistarter rtkitctl cfshow sys-unconfig ppp-watch tcpslice eventlogadm btrfs-image mount.fuse3 dumpcap cups-genppd.5.2 opafindgood ldif2db hwclock db2index.pl opaenableports netperf_test ibnetdiscover munged avahi-autoipd tickadj zpool ipmi-detect cimreparchive fsck.zfs ldms_ls in.authd grubby cerebro-admin pidof iscsistart keytab-client srp_daemon.sh rdma zed lmtinit shutdown update-smart-drivedb setfiles opagenswitches mergecap iconvconfig.i686 grub2-bios-setup iblinkinfo iftop fcoeadm mount.nfs4 nl-classid-lookup oddjobd isadump nmbd xfs_repair e2freefrag msr-cpuid capsh pppoe-sniff sendmail.postfix system-config-keyboard fdisk lpc.cups grub2-reboot iwlist ibping lvmdump opacaptureall authconfig-gtk vgcfgbackup clock postqueue usermod rmmod ibgraphfabric diodcat ibtrackerrors portreserve mcstransd era_restore cifs.idmap ospfd btrfs grub2-install multipath pwhistory_helper lvm crm_resource mpathpersist fping6 opacapture rhn-profile-sync dhcrelay kpatch selabel_lookup_best_match sestatus conmand ldev2pcs mdadm vmcore-dmesg opareports opasmaquery smc ldap-agent ntpdc irqbalance mkfs.lustre db2ldif eapol_test nfct opalinkanalysis opaextractbadlinks mkdict ibgetlid e2image ibportstate matchpathcon build-locale-archive wipefs thin_repair nl-link-list check_serial_console logsave newusers start-statd opaledports rhn_check ifenslave rdump vgconvert virt-what pvchange auditctl grub2-setpassword sysrq_reboot vlvindex mkfs.gfs2 srp_daemon thin_check lsmod syslog-ng sqlog-db-util ns-activate.pl unsquashfs xfs_info bird accept update-node opasetupssh vpddecode ifconfig btrfs-convert vpnc-disconnect thin_restore xfs_admin sgdisk fsck init.lxc pvmove rc.preinit lvmpolld babeld umount.nfs netscsid pppoe-stop btrfsck cerebrod ipmi-pef-config ibidsverify.pl crm_error postconf pam_timestamp_check btrfs-zero-log zcav regdbdump ibstatus opaportconfig usb_modeswitch clockdiff opachassisadmin subscription-manager-gui swapoff rpcdebug in.mrshd postlock plipconfig pflogsumm lustre_rmmod dmstats sulogin installkernel anacron rdma_cm_query SCELNX_64 opatmmtool chcpu lspci init adsl-stop opapingall cibadmin .ldms-wrapper pki-server-nuxwdog zfs snmppower load_policy dosfsck lvextend dnsmasq unix_update ipmi-oem xfs_ncheck getenforce crda request-key tcpdump spacewalk-channel vgmknodes ospf6d intel-microcode2ucode htcacheclean opagetvf_env pppd corosync zvbid reject croute criu dmsetup virtlockd lvchange pvremove ds_selinux_port_query lc_net seaudit fsck.ext3 nl-cls-add lctl xfs_logprint rawshark smbios-get-ut-data convertcfg vgrename ib_burn_fw fstrim status-dirsrv abrt-install-ccpp-hook pvdisplay slurmstepd blockdev hypervkvpd efibootmgr sshd-keygen xfpm-power-backlight-helper postmap iwpriv pki-server-upgrade afulnx_64 ds_selinux_enabled ibhcacounters snmpd rsyslogd check_qos_router_settings.sh cimconfig tcsd fsck.vfat plymouth-set-default-theme swapon checkrad lvmconfig vgcfgrestore runlevel grub2-ofpathname srp_sm_helper pkidestroy lc_modprobe runscript pppoe-discovery getpcaps ksmtuned syspurpose tracepath dcbtool opaextractstat2 xfsinvutil ibstat mgetty mount.fuse opaextractsellinks cgdisk lircmd mkdumprd cracklib-packer opafastfabric userhelper safe_finger setup fsck.btrfs vgexport forceservices nagios mkfs t1libconfig run_srp_daemon ipmi-ping netreport lc_mon selabel_digest lnetctl vpcd pwunconv raid-check opafmcmd ibcheckfabric fence_powerman tuned iscsiadm ipa-rmkeytab switch_root vigr fcping opauploadall llsom_sync luserdel opa2rm rpc.statd cimauth fsck.minix ipmi-raw adduser restorecond getcap opaexpandfile lpasswd fcrls ibroute mate-display-properties-install-systemwide ldif2ldap iprdbg lc_servip suexec pifconfig PIUTranslate.pm ldmsd_stream_publish syntax-validate.pl mksquashfs ibaddr vpnc sminfo grpunconv udevadm sktest dbverify sysrq_poweroff gutenprint-foomaticppdupdate libvirtd ipa-join opadisablehosts pm-hibernate editcap ldlm_debug_upcall opainfo xfs_freeze sefcontext_compile sss_cache foomatic-getpjloptions opashowmc arpd lokkit grub2-mkconfig fstab-decode pvcreate sysinfo nl-qdisc-list birdcl qshape cupsaccept fixparts fxload pivot_root smbios-sys-info-lite create-cracklib-dict chat ipmi-chassis crm_report zinject nl-qdisc-delete ipmi-sensors-config ipmi-config rdmsr xfs_quota chkconfig gdisk iprupdate lst dmraid migrate-ds.pl mount.diod pdata_tools mkfs.msdos opapmaquery remove-ds.pl fixfiles cracklib-check opaextractmissinglinks gfs2_convert ip6tables-restore packer wpa_supplicant hypervvssd crm_verify foomatic-printermap-to-gutenprint-xml unbound-anchor cracklib-unpacker voltaire-create-switch-map.pl smartd realm lvmetad fsck.gfs2 check_wiring_coastal.pl corosync-cfgtool nameif rpc.nfsd mdmon rtcwake modinfo mkfs.fat foomatic-replaceoldprinterids abrt-harvest-vmcore tunegfs2 opaextractlink xfs_growfs kacpimon cfetool iprconfig postsuper ldms-netlink-notifier ldmsctl foomatic-addpjloptions ip6tables-save ipmi-chassis-config ibccconfig cronjob audispd ifdown btrfs-debug-tree oparesolvehfiport restorecon subscription-manager abrt-auto-reporting httpd vendstat xfs_fsr selabel_lookup bgpd opaxmlextract sushell dtop update-alternatives fsck.cramfs thin_metadata_size opafmconfigdiff ldconfig pacemakerd mkfs.vfat slurm_topology gfs2_grow opashowallports lc_cluman new-kernel-pkg fping key.dns_resolver dosfslabel redhat_lsb_trigger.x86_64 autogpfsd.pl sldd.sh ilorest lchage fsck.msdos aide lvcreate thin_dump cupsfilter ipmi-power authconfig ipa-getkeytab rrestore gfs2_withdraw_helper cfetoolgraph flashupdt uuidd cgdcbxd cfdisk cache_restore xfsdump virtlogd qlogic-create-switch-map.pl vgs ibnodes mk-sysimage ledctl nfsstat vgdisplay pwconv llverfs pluginviewer crm_failcount nl-cls-delete fatlabel iprdump monitor opafmcmdall smbios-state-byte-ctl augenrules ztest ipsec text2pcap opasorthosts nl-pktloc-lookup getsebool lvrename opagenchassis ifup opadisableports losetup chgpasswd iwevent bonobo-activation-sysconf opacabletest llnl-ldapotp-pam-testApp postkick zdb saveconfig vconfig abrt-harvest-pstoreoops restore dhclient ibbouncelinks.pl xfs_mkfile usb_modeswitch_dispatcher check_lft_balance.pl mke2fs rtstat ibgetgid usernetctl resizepart handle-sshpw ibswitches readprofile setsebool via_regs_dump opacmdall cfexecd abrt-server ibsrpdm fixup-memberof.pl xfs_db ldmsd_stream_subscribe mkfs.ext3 dump-acct thin_delta ebtables mkfs.btrfs dmraid.static chroot edac-ctl xfs_io ko2iblnd-probe ibfindnodesusing.pl llogcolor foomatic-extract-text rmcpping schema-reload.pl filefrag glibc_post_upgrade.i686 accton crm_master ipmi-sel hponcfg ipa-client-install myprops zebra dump audispd-zos-remote hdparm crond dmidecode lvs nl-class-delete ipmidetect hardlink corosync-keygen ethtool smbios-upflag-ctl auksd cgclear ldms-aggd zdump lustre_rsync selinuxexeccon btrfstune userdel ipmiping dmevent_tool opaswitchadmin postlog rotatelogs lhbadm iconvconfig.x86_64 mount.zfs iptables-save bmc-info fsck.ext2 squid ebtables-restore ibsysstat NetworkManager postcat pm-powersave mkfs.ext4 ip pppoe-start rpcinfo nologin tune2fs sasldblistusers2 unix_chkpwd crm_shadow ebtables-save sssd ll_decode_filter_fid mcelog plymouthd nfsidmap bonnie++ depmod ibcacheedit ldmsd xfs_copy nttcp_test getc_putc_helper cupsenable nss_pcache wpa_cli vgimportclone sasl2-shared-mechlist cacertdir_rehash lockdev mount.lustre foomatic-cleanupdrivers setregdomain rhn-channel lircd-setup osd_login l_tunedisk foomatic-kitload make_interfaces cache_metadata_size grub2-sparc64-setup cups-browsed snmptrapd install-info wireshark xfs_mdrestore umount.udisks2 ibcheckverbs opaxmlgenerate rhnsd diodload iso8601 cryptsetup yum-complete-transaction llnl-ldapotp-auth-client crm_simulate mk-initramfs-oneSIS gssproxy thin_trim zpios sbd corosync-quorumtool nfsiostat postmulti mtr postdrop smbd selinuxdefcon cupsctl /sbin: opagetvf e4defrag lshw debugfs gpm pki-server opahfirev ocft sfdisk ether-wake db2ldif.pl upgradednformat blkdeactivate ldev opahostadmin slurmdbd tuned-adm vgextend rhnreg_ks vgreduce raddebug sync-node smpdump cifs.upcall ras-mc-ctl iprinit iconvconfig era_invalidate opacheckload import_keys agetty pam_tally2 dbmon.sh portrelease opafabricinfo makedumpfile system-config-authentication strfile slurmctld cfenvd mkhomedir_helper hypervfcopyd lc_lvm osmtest opaxmlfilter pppoe-connect gencert selinux_restorecon mount.nfs perfquery btrfs-find-root mkfs.xfs grub2-get-kernel-settings opaextractperf dhclient-script check_wiring_peloton.pl opaportinfo vgscan era_check ipmi-locate fcnsq semanage opaextractlids groupadd foomatic-fix-xml cfkey hddtemp upgradedb ovis_json_test rpc.mountd lr_reader selinuxenabled setpci llog_reader vipw conntrackd resize2fs sysctl xfce4-kiosk-query mountstats blkid mk-diskful dftest rhn_register opascpall mklost+found showmount ipmipower zhack saslauthd gss-server ctrlaltdel foomatic-nonumericalids useradd devlink ipmi-pet cbq verify-db.pl sln logwatch ldattach arping selinuxconlist iptables biosdecode lpinfo pppoe-setup opasaquery dmeventd pcs pppstats ip6tables saslpasswd2 certmonger ibhosts lpc perfmon.pl alsabat-test.sh vgck apachectl logrotate alternatives hugepages-ctl thin_ls btrfs-select-super rdisc ibcreateswitchmap.sh dump_mfts.sh ipmi-fru thin_rmap hprest ntsysv pef-config vgcreate delpart fuser grpconv attrd_updater extlinux findfs unstr pcscd bak2db.pl ibqueryerrors xtables-multi telinit alsa-info groupmod grpck ntp-keygen corosync-cmapctl tunefs.lustre lflush pppoe-server nisserver-plugin-defs lvmconf slattach lvmsar restart-dirsrv ibtranslatename testsaslauthd firewalld smtp-sink e2fsck cleanallruv.pl crm_node llverdev halt cache_repair avcstat genl-ctrl-list pki-upgrade anaconda addgnupghome try-from lusermod xfs_bmap lhsmtool_posix ldif2db.pl arp pvs usn-tombstone-cleanup.pl pm-suspend-hybrid simple_rdma iptables-restore genl opachassisanalysis runuser liveinst groupdel chronyd snoopy-enable opafabricanalysis mkfs.ext2 opapaquery birdc pppoe iscsiuio ll_decode_linkea crm_standby grub2-set-default ss pethtool myclass setup-ds.pl tc syscfg lvmdiskscan lgroupmod genhomedircon lustre_quota_summary setcap getc_putc poweroff genhostid lvremove db2bak.pl bridge diodshowmount fsck.xfs rpc.idmapd crm_mon ipmimonitoring tshark fipvlan biosdevname cimprovagt route ModemManager zramctl sendmail db2bak consoletype mkdosfs rtacct pvscan allow_hosts nl-qdisc-add ibtracert applygnupgdefaults vgimport nft parted ns-newpwpolicy.pl lustre_start ntpdate pwmconfig in.mrlogind sshd faillock iw iwgetid lmtsh lnewusers lvscan ns-inactivate.pl nfsdcltrack routel lsof autrace zfsobj2fid ipmi-sensors qlogic-get-guids.exp ldmsaggctl selabel_partial_match cracklib-format profile-switches.pl isdct dioddate grub2-macbless aureport opareport opensm abrt-dbus lustre_routes_conversion bak2db alsa-info.sh opaesmanalysis cerebro-stat dump_lfts.sh semodule dn2rdn lvreduce cimtrust create_dhcpd.conf PIUHostlist.pm mount.cifs alsactl nscd iprsos l_getidentity routerstat tracepath6 ifstat reboot lldpad autogpfsc.pl stinit dump-utmp rpcbind prelink pxe-config modprobe grub2-rpm-sort kexec lpurge opafmconfigcheck plmpower pam_console_apply mpathconf adsl-start cupsreject ipmievd nbd-client mungekey automount ipmi-console accessdb xfs_metadump wrmsr ripd lfts_sort.pl skdump radvdump radvd lgroupdel rpc.gssd tmpwatch e2undo diod chpasswd ipmiconsole vgchange lvresize crm_diff mk-isoimage-oneSIS mkfs.cramfs dhcpd cache_check lvconvert insmod pwr partx brctl mkswap mii-diag ibccquery powermand authconfig-tui ownership kpartx postalias addpart crmadmin ripngd fsck.ext4 radmin lvdisplay rngd opagenesmchassis luseradd tcpdmatch pvck sm-notify update-pciids cfservd memtest-setup badblocks rmcp-ping zic callback radiusd gfs2_edit dm_dso_reg_tool ibgetname lnstat xfsrestore pppdump xfs_estimate mate-power-backlight-helper opaswenableall isaset lnet conntrack opaxmlindent fsck.fat mkfs.minix lid mate-system-log pvresize start-dirsrv tomcat rtmon opafirmware opaxlattopology adcli sensors-detect era_dump lirc-lsplugins db2index ipa-certupdate cfenvgraph visudo ipmaddr btrfs-map-logical diodls lircd latencytop-tui snoopy-disable rmt ntpq msrsave glocktop foomatic-preferred-driver cimserver ns-slapd xfce4-pm-helper dumpe2fs cgconfigparser powertop httppower qb-blackbox lpmove wpa_passphrase ntptime mkbootdisk aukspriv blkdiscard grub2-probe gdm pm-suspend fixup-linkedattrs.pl tcpd fcoemon stop-dirsrv vgmerge weak-modules iscsid avahi-daemon cfagent e2label dmfilemapd dracut stonith_admin multipathd pacemaker_remoted pkispawn isisd postfix lvmsadc ipa-client-automount uuserver partprobe opadownloadall ping6 xfs_rtcp suffix2instance smartctl routef lc_hb corosync-notifyd lircd-uinput ibrouters audisp-remote abrtd cupsaddsmb fancontrol opafmconfigpp redfishpower sa rtpr corosync-cpgtool cupsdisable consl iscsi-iname rdistd nl-class-list cfrun opahostsmanalysis nstat smtp-source sim_server ipmi-dcmi opaverifyhosts ibnodesinmcast repupgrade capinfos yumdb exportfs cupsd pwck glibc_post_upgrade.x86_64 lpadmin ctstat iptstate umount.nfs4 lc_md ns-accountstatus.pl copy-rootfs opatop opaextractstat xinetd auksdrenewer iptunnel opaextracterror zstreamdump saquery cups-genppdupdate ipset pm-utils-bugreport-info.sh dkms iwconfig paperconfig spice-vdagentd randpkt rdma-ndd shorewall setenforce usbmuxd iwspy min-nbd-client voltaire-get-guids.exp fsfreeze cache_dump opaallanalysis cgrulesengd vgremove sosreport bmc-config nvme syslog-ng-ctl restoreconfig nl-cls-list reordercap ds_systemd_ask_password_acl saned in.tftpd fdformat ntpd crm_attribute vgsplit crm_ticket service slurmd fsadm lshowmount dump_fts latencytop ibtraceroute new-memtest-pkg swaplabel acpid pppoe-relay ifrename auditd lldptool ausearch blkmapd smpquery lmtmetric iotop create_auto.direct splat cache_writeback lgroupadd vdptool sgpio pppoe-status ibacm bmc-device mii-tool killall5 lustre_routes_config gfs2_jadd ledmon opaswdisableall rasdaemon nl-class-add ifcfg abrt-configuration groupmems fcgistarter rtkitctl cfshow sys-unconfig ppp-watch tcpslice eventlogadm btrfs-image mount.fuse3 dumpcap cups-genppd.5.2 opafindgood ldif2db hwclock db2index.pl opaenableports netperf_test ibnetdiscover munged avahi-autoipd tickadj zpool ipmi-detect cimreparchive fsck.zfs ldms_ls in.authd grubby cerebro-admin pidof iscsistart keytab-client srp_daemon.sh rdma zed lmtinit shutdown update-smart-drivedb setfiles opagenswitches mergecap iconvconfig.i686 grub2-bios-setup iblinkinfo iftop fcoeadm mount.nfs4 nl-classid-lookup oddjobd isadump nmbd xfs_repair e2freefrag msr-cpuid capsh pppoe-sniff sendmail.postfix system-config-keyboard fdisk lpc.cups grub2-reboot iwlist ibping lvmdump opacaptureall authconfig-gtk vgcfgbackup clock postqueue usermod rmmod ibgraphfabric diodcat ibtrackerrors portreserve mcstransd era_restore cifs.idmap ospfd btrfs grub2-install multipath pwhistory_helper lvm crm_resource mpathpersist fping6 opacapture rhn-profile-sync dhcrelay kpatch selabel_lookup_best_match sestatus conmand ldev2pcs mdadm vmcore-dmesg opareports opasmaquery smc ldap-agent ntpdc irqbalance mkfs.lustre db2ldif eapol_test nfct opalinkanalysis opaextractbadlinks mkdict ibgetlid e2image ibportstate matchpathcon build-locale-archive wipefs thin_repair nl-link-list check_serial_console logsave newusers start-statd opaledports rhn_check ifenslave rdump vgconvert virt-what pvchange auditctl grub2-setpassword sysrq_reboot vlvindex mkfs.gfs2 srp_daemon thin_check lsmod syslog-ng sqlog-db-util ns-activate.pl unsquashfs xfs_info bird accept update-node opasetupssh vpddecode ifconfig btrfs-convert vpnc-disconnect thin_restore xfs_admin sgdisk fsck init.lxc pvmove rc.preinit lvmpolld babeld umount.nfs netscsid pppoe-stop btrfsck cerebrod ipmi-pef-config ibidsverify.pl crm_error postconf pam_timestamp_check btrfs-zero-log zcav regdbdump ibstatus opaportconfig usb_modeswitch clockdiff opachassisadmin subscription-manager-gui swapoff rpcdebug in.mrshd postlock plipconfig pflogsumm lustre_rmmod dmstats sulogin installkernel anacron rdma_cm_query SCELNX_64 opatmmtool chcpu lspci init adsl-stop opapingall cibadmin .ldms-wrapper pki-server-nuxwdog zfs snmppower load_policy dosfsck lvextend dnsmasq unix_update ipmi-oem xfs_ncheck getenforce crda request-key tcpdump spacewalk-channel vgmknodes ospf6d intel-microcode2ucode htcacheclean opagetvf_env pppd corosync zvbid reject croute criu dmsetup virtlockd lvchange pvremove ds_selinux_port_query lc_net seaudit fsck.ext3 nl-cls-add lctl xfs_logprint rawshark smbios-get-ut-data convertcfg vgrename ib_burn_fw fstrim status-dirsrv abrt-install-ccpp-hook pvdisplay slurmstepd blockdev hypervkvpd efibootmgr sshd-keygen xfpm-power-backlight-helper postmap iwpriv pki-server-upgrade afulnx_64 ds_selinux_enabled ibhcacounters snmpd rsyslogd check_qos_router_settings.sh cimconfig tcsd fsck.vfat plymouth-set-default-theme swapon checkrad lvmconfig vgcfgrestore runlevel grub2-ofpathname srp_sm_helper pkidestroy lc_modprobe runscript pppoe-discovery getpcaps ksmtuned syspurpose tracepath dcbtool opaextractstat2 xfsinvutil ibstat mgetty mount.fuse opaextractsellinks cgdisk lircmd mkdumprd cracklib-packer opafastfabric userhelper safe_finger setup fsck.btrfs vgexport forceservices nagios mkfs t1libconfig run_srp_daemon ipmi-ping netreport lc_mon selabel_digest lnetctl vpcd pwunconv raid-check opafmcmd ibcheckfabric fence_powerman tuned iscsiadm ipa-rmkeytab switch_root vigr fcping opauploadall llsom_sync luserdel opa2rm rpc.statd cimauth fsck.minix ipmi-raw adduser restorecond getcap opaexpandfile lpasswd fcrls ibroute mate-display-properties-install-systemwide ldif2ldap iprdbg lc_servip suexec pifconfig PIUTranslate.pm ldmsd_stream_publish syntax-validate.pl mksquashfs ibaddr vpnc sminfo grpunconv udevadm sktest dbverify sysrq_poweroff gutenprint-foomaticppdupdate libvirtd ipa-join opadisablehosts pm-hibernate editcap ldlm_debug_upcall opainfo xfs_freeze sefcontext_compile sss_cache foomatic-getpjloptions opashowmc arpd lokkit grub2-mkconfig fstab-decode pvcreate sysinfo nl-qdisc-list birdcl qshape cupsaccept fixparts fxload pivot_root smbios-sys-info-lite create-cracklib-dict chat ipmi-chassis crm_report zinject nl-qdisc-delete ipmi-sensors-config ipmi-config rdmsr xfs_quota chkconfig gdisk iprupdate lst dmraid migrate-ds.pl mount.diod pdata_tools mkfs.msdos opapmaquery remove-ds.pl fixfiles cracklib-check opaextractmissinglinks gfs2_convert ip6tables-restore packer wpa_supplicant hypervvssd crm_verify foomatic-printermap-to-gutenprint-xml unbound-anchor cracklib-unpacker voltaire-create-switch-map.pl smartd realm lvmetad fsck.gfs2 check_wiring_coastal.pl corosync-cfgtool nameif rpc.nfsd mdmon rtcwake modinfo mkfs.fat foomatic-replaceoldprinterids abrt-harvest-vmcore tunegfs2 opaextractlink xfs_growfs kacpimon cfetool iprconfig postsuper ldms-netlink-notifier ldmsctl foomatic-addpjloptions ip6tables-save ipmi-chassis-config ibccconfig cronjob audispd ifdown btrfs-debug-tree oparesolvehfiport restorecon subscription-manager abrt-auto-reporting httpd vendstat xfs_fsr selabel_lookup bgpd opaxmlextract sushell dtop update-alternatives fsck.cramfs thin_metadata_size opafmconfigdiff ldconfig pacemakerd mkfs.vfat slurm_topology gfs2_grow opashowallports lc_cluman new-kernel-pkg fping key.dns_resolver dosfslabel redhat_lsb_trigger.x86_64 autogpfsd.pl sldd.sh ilorest lchage fsck.msdos aide lvcreate thin_dump cupsfilter ipmi-power authconfig ipa-getkeytab rrestore gfs2_withdraw_helper cfetoolgraph flashupdt uuidd cgdcbxd cfdisk cache_restore xfsdump virtlogd qlogic-create-switch-map.pl vgs ibnodes mk-sysimage ledctl nfsstat vgdisplay pwconv llverfs pluginviewer crm_failcount nl-cls-delete fatlabel iprdump monitor opafmcmdall smbios-state-byte-ctl augenrules ztest ipsec text2pcap opasorthosts nl-pktloc-lookup getsebool lvrename opagenchassis ifup opadisableports losetup chgpasswd iwevent bonobo-activation-sysconf opacabletest llnl-ldapotp-pam-testApp postkick zdb saveconfig vconfig abrt-harvest-pstoreoops restore dhclient ibbouncelinks.pl xfs_mkfile usb_modeswitch_dispatcher check_lft_balance.pl mke2fs rtstat ibgetgid usernetctl resizepart handle-sshpw ibswitches readprofile setsebool via_regs_dump opacmdall cfexecd abrt-server ibsrpdm fixup-memberof.pl xfs_db ldmsd_stream_subscribe mkfs.ext3 dump-acct thin_delta ebtables mkfs.btrfs dmraid.static chroot edac-ctl xfs_io ko2iblnd-probe ibfindnodesusing.pl llogcolor foomatic-extract-text rmcpping schema-reload.pl filefrag glibc_post_upgrade.i686 accton crm_master ipmi-sel hponcfg ipa-client-install myprops zebra dump audispd-zos-remote hdparm crond dmidecode lvs nl-class-delete ipmidetect hardlink corosync-keygen ethtool smbios-upflag-ctl auksd cgclear ldms-aggd zdump lustre_rsync selinuxexeccon btrfstune userdel ipmiping dmevent_tool opaswitchadmin postlog rotatelogs lhbadm iconvconfig.x86_64 mount.zfs iptables-save bmc-info fsck.ext2 squid ebtables-restore ibsysstat NetworkManager postcat pm-powersave mkfs.ext4 ip pppoe-start rpcinfo nologin tune2fs sasldblistusers2 unix_chkpwd crm_shadow ebtables-save sssd ll_decode_filter_fid mcelog plymouthd nfsidmap bonnie++ depmod ibcacheedit ldmsd xfs_copy nttcp_test getc_putc_helper cupsenable nss_pcache wpa_cli vgimportclone sasl2-shared-mechlist cacertdir_rehash lockdev mount.lustre foomatic-cleanupdrivers setregdomain rhn-channel lircd-setup osd_login l_tunedisk foomatic-kitload make_interfaces cache_metadata_size grub2-sparc64-setup cups-browsed snmptrapd install-info wireshark xfs_mdrestore umount.udisks2 ibcheckverbs opaxmlgenerate rhnsd diodload iso8601 cryptsetup yum-complete-transaction llnl-ldapotp-auth-client crm_simulate mk-initramfs-oneSIS gssproxy thin_trim zpios sbd corosync-quorumtool nfsiostat postmulti mtr postdrop smbd selinuxdefcon cupsctl /opt/dell/srvadmin/bin: racadm5 racvmcli5 racvmcli4 idracadm7 racsvm racadm4 /projects/ADSM/software/pflotran-master-petsc-v3.17.2/src/pflotran: .deprecated README README_TAU README_unstructured.txt auxiliary.F90 block_solve.F90 block_tridiag.F90 characteristic_curves.F90 characteristic_curves_base.F90 characteristic_curves_common.F90 characteristic_curves_loop_invariant.F90 characteristic_curves_thermal.F90 characteristic_curves_wipp.F90 characteristic_curves_wipp_invariant.F90 checkpoint.F90 co2_span_wagner.F90 co2_span_wagner_spline.F90 co2_sw.F90 co2_sw_rtsafe.F90 co2eos.F90 communicator_aux.F90 communicator_base.F90 communicator_structured.F90 communicator_unstructured.F90 condition.F90 condition_control.F90 connection.F90 convergence.F90 coupler.F90 data_mediator.F90 data_mediator_base.F90 data_mediator_dataset.F90 data_mediator_vec.F90 dataset.F90 dataset_ascii.F90 dataset_base.F90 dataset_common_hdf5.F90 dataset_global_hdf5.F90 dataset_gridded_hdf5.F90 dataset_map_hdf5.F90 debug.F90 discretization.F90 dm_kludge.F90 driver.F90 eos.F90 eos_database.F90 eos_gas.F90 eos_water.F90 ert.F90 ert_aux.F90 factory_forward.F90 factory_geomechanics.F90 factory_pflotran.F90 factory_subsurface.F90 field.F90 fluid.F90 gas_eos_mod.F90 gauss.F90 general.F90 general_aux.F90 general_common.F90 general_derivative.F90 generic.F90 geomech_grid.F90 geomech_grid_aux.F90 geomechanics_auxiliary.F90 geomechanics_condition.F90 geomechanics_coupler.F90 geomechanics_debug.F90 geomechanics_discretization.F90 geomechanics_field.F90 geomechanics_force.F90 geomechanics_global.F90 geomechanics_global_aux.F90 geomechanics_material.F90 geomechanics_patch.F90 geomechanics_realization.F90 geomechanics_region.F90 geomechanics_regression.F90 geomechanics_strata.F90 geomechanics_subsurface_properties.F90 geometry.F90 global.F90 global_aux.F90 grid.F90 grid_structured.F90 grid_unstructured.F90 grid_unstructured_aux.F90 grid_unstructured_cell.F90 grid_unstructured_explicit.F90 grid_unstructured_polyhedra.F90 hdf5.F90 hdf5_aux.F90 hydrate.F90 hydrate_aux.F90 hydrate_common.F90 hydrostatic.F90 init_common.F90 init_subsurface.F90 init_subsurface_flow.F90 init_subsurface_geophysics.F90 init_subsurface_transport.F90 inlinesurface.F90 inlinesurface_aux.F90 integral_flux.F90 inversion_aux.F90 inversion_base.F90 inversion_ert.F90 inversion_measurement_aux.F90 inversion_parameter.F90 inversion_subsurface.F90 inversion_tao.F90 inversion_ts_aux.F90 inversion_zflow.F90 kdtree.F90 logging.F90 lookup_table.F90 makefile material.F90 material_aux.F90 material_transform.F90 matrix_block_aux.F90 matrix_buffer.F90 matrix_zeroing.F90 mphase.F90 mphase_aux.F90 mphase_pckr_mod.F90 multisimulation.F90 nw_transport.F90 nw_transport_aux.F90 nw_transport_equilibrium.F90 observation.F90 option.F90 option_flow.F90 option_geophysics.F90 option_inversion.F90 option_transport.F90 output.F90 output_aux.F90 output_common.F90 output_ekg.F90 output_geomechanics.F90 output_hdf5.F90 output_obs_h5.F90 output_observation.F90 output_tecplot.F90 output_vtk.F90 patch.F90 petsc_utility.F90 pflotran-provenance.py pflotran.F90 pflotran_constants.F90 pflotran_dependencies.txt pflotran_derivative.F90 pflotran_no_provenance.F90 pflotran_object_files.txt pflotran_rxn.F90 pm_auxiliary.F90 pm_base.F90 pm_base_pointer.F90 pm_ert.F90 pm_general.F90 pm_geomechanics_force.F90 pm_hydrate.F90 pm_inversion.F90 pm_material_transform.F90 pm_mphase.F90 pm_nwt.F90 pm_osrt.F90 pm_pnf.F90 pm_richards.F90 pm_richards_ts.F90 pm_rt.F90 pm_subsurface_flow.F90 pm_th.F90 pm_th_ts.F90 pm_ufd_biosphere.F90 pm_ufd_decay.F90 pm_waste_form.F90 pm_well.F90 pm_wipp_flow.F90 pm_wipp_srcsink.F90 pm_zflow.F90 pmc_base.F90 pmc_general.F90 pmc_geomechanics.F90 pmc_geophysics.F90 pmc_linear.F90 pmc_subsurface.F90 pmc_subsurface_osrt.F90 pmc_third_party.F90 pnf.F90 pnf_aux.F90 preconditioner_cpr.F90 reaction.F90 reaction_aux.F90 reaction_base.F90 reaction_clm.F90 reaction_database.F90 reaction_database_aux.F90 reaction_database_hpt.F90 reaction_gas.F90 reaction_gas_aux.F90 reaction_immobile.F90 reaction_immobile_aux.F90 reaction_isotherm.F90 reaction_isotherm_aux.F90 reaction_microbial.F90 reaction_microbial_aux.F90 reaction_mineral.F90 reaction_mineral_aux.F90 reaction_redox.F90 reaction_sandbox.F90 reaction_sandbox_base.F90 reaction_sandbox_bioTH.F90 reaction_sandbox_biohill.F90 reaction_sandbox_clm_cn.F90 reaction_sandbox_example.F90 reaction_sandbox_flexbiohill.F90 reaction_sandbox_gas.F90 reaction_sandbox_pnnl_N.F90 reaction_sandbox_pnnl_cyber.F90 reaction_sandbox_simple.F90 reaction_sandbox_ufd_wp.F90 reaction_solid_solution.F90 reaction_solid_solution_aux.F90 reaction_surf_complex.F90 reaction_surf_complex_aux.F90 reactive_transport.F90 reactive_transport_aux.F90 realization_base.F90 realization_subsurface.F90 region.F90 regression.F90 richards.F90 richards_aux.F90 richards_common.F90 saturation_function.F90 secondary_continuum.F90 secondary_continuum_aux.F90 shape_function.F90 simulation_aux.F90 simulation_base.F90 simulation_geomechanics.F90 simulation_inverse.F90 simulation_multirealization.F90 simulation_subsurface.F90 solver.F90 solver_cpr.F90 spline.F90 srcsink_sandbox.F90 srcsink_sandbox_base.F90 srcsink_sandbox_downreg.F90 srcsink_sandbox_mass_rate.F90 srcsink_sandbox_wipp_gas.F90 srcsink_sandbox_wipp_well.F90 strata.F90 string.F90 survey.F90 th.F90 th_aux.F90 time_storage.F90 timer.F90 timestepper_KSP.F90 timestepper_SNES.F90 timestepper_TS.F90 timestepper_base.F90 timestepper_steady.F90 transport.F90 transport_constraint.F90 transport_constraint_base.F90 transport_constraint_nwt.F90 transport_constraint_rt.F90 units.F90 unittests upwind_direction.F90 utility.F90 variables.F90 waypoint.F90 wipp.F90 wipp_flow.F90 wipp_flow_aux.F90 wipp_flow_common.F90 wipp_flow_derivative.F90 zflow.F90 zflow_aux.F90 zflow_common.F90 make_pflotran.sh pflotran_provenance.F90 variables.o reaction_base.o block_solve.o timer.o pflotran_constants.o communicator_aux.o kdtree.o variables_module.mod pflotran_provenance.o reaction_base_module.mod pflotran_provenance_module.mod timer_class.mod communicator_aux_module.mod block_solve_module.mod pflotran_constants_module.mod option_geophysics.o option_inversion.o spline.o option_transport.o logging.o driver.o option_flow.o petsc_utility.o geomechanics_field.o gas_eos_mod.o field.o spline_module.mod option_inversion_module.mod option_geophysics_module.mod option_transport_module.mod logging_module.mod option_flow_module.mod driver_module.mod gas_eos_module.mod string.o geomechanics_field_module.mod petsc_utility_module.mod field_module.mod string_module.mod co2_span_wagner_spline.o option.o co2_span_wagner_spline_module.mod option_module.mod kdtree_module.mod generic.o generic_module.mod upwind_direction.o simulation_aux.o units.o time_storage.o output_aux.o upwind_direction_module.mod preconditioner_cpr.o simulation_aux_module.mod units_module.mod output_aux_module.mod time_storage_module.mod cpr_preconditioner_module.mod input_aux.o input_aux_module.mod output_ekg.o output_ekg_module.mod inversion_base.o geomechanics_material.o fluid.o hdf5_aux.o geomechanics_debug.o geometry.o debug.o utility.o characteristic_curves_thermal.o solver_cpr.o fluid_module.mod geomechanics_debug_module.mod geomechanics_material_module.mod inversion_base_class.mod debug_module.mod geometry_module.mod utility_module.mod solver_cpr_module.mod characteristic_curves_thermal_module.mod solver.o material_aux.o connection.o co2_sw_rtsafe.o matrix_block_aux.o global_aux.o reaction_isotherm_aux.o reaction_database_aux.o matrix_zeroing.o waypoint.o co2eos.o dataset_base.o integral_flux.o inversion_measurement_aux.o geomechanics_global_aux.o lookup_table.o grid_unstructured_cell.o saturation_function.o block_tridiag.o co2_sw_rtsafe_module.mod connection_module.mod reaction_isotherm_aux_module.mod matrix_zeroing_module.mod global_aux_module.mod matrix_block_aux_module.mod material_aux_module.mod reaction_database_aux_module.mod block_tridiag_module.mod geomechanics_global_aux_module.mod co2eos_module.mod waypoint_module.mod dataset_base_class.mod integral_flux_module.mod inversion_measurement_aux_module.mod grid_unstructured_cell_module.mod saturation_function_module.mod lookup_table_module.mod co2_span_wagner.o nw_transport_aux.o co2_span_wagner_module.mod nw_transport_aux_module.mod geomechanics_auxiliary.o geomechanics_auxiliary_module.mod hdf5_aux_module.mod inversion_ts_aux.o solver_module.mod inversion_parameter.o characteristic_curves_base.o grid_structured.o material_transform.o inversion_ts_aux_module.mod inversion_parameter_module.mod characteristic_curves_base_module.mod dataset_ascii.o gauss.o geomechanics_region.o dataset_ascii_class.mod grid_unstructured_aux.o gauss_module.mod geomechanics_region_module.mod material_transform_module.mod reaction_mineral_aux.o reaction_surf_complex_aux.o reaction_microbial_aux.o reaction_gas_aux.o reaction_immobile_aux.o grid_structured_module.mod reaction_microbial_aux_module.mod reaction_surface_complexation_aux_module.mod reaction_gas_aux_module.mod reaction_mineral_aux_module.mod reaction_immobile_aux_module.mod characteristic_curves_wipp_invariant.o inversion_aux.o characteristic_curves_wipp_invariant_module.mod grid_unstructured_aux_module.mod inversion_aux_module.mod dataset_common_hdf5.o geomechanics_strata.o geomechanics_strata_module.mod dataset_common_hdf5_class.mod characteristic_curves_common.o inlinesurface_aux.o transport_constraint_base.o inlinesurface_aux_module.mod reaction_solid_solution_aux.o transport_constraint_base_module.mod reaction_solid_soln_aux_module.mod shape_function.o inlinesurface.o geomech_grid_aux.o transport_constraint.o transport_constraint_nwt.o shape_function_module.mod reaction_aux.o transport_constraint_module.mod inlinesurface_module.mod transport_constraint_nwt_module.mod geomechanics_grid_aux_module.mod dataset_gridded_hdf5.o dataset_map_hdf5.o reaction_aux_module.mod dataset_gridded_hdf5_class.mod dataset_map_hdf5_class.mod nw_transport_equilibrium.o nwt_equilibrium_module.mod co2_sw.o co2_sw_module.mod eos_database.o eos_database_module.mod characteristic_curves_common_module.mod dm_kludge.o grid_unstructured_explicit.o geomech_grid.o reactive_transport_aux.o grid_unstructured.o dm_kludge_module.mod reactive_transport_aux_module.mod geomechanics_grid_module.mod grid_unstructured_explicit_module.mod communicator_base.o dataset_global_hdf5.o communicator_base_class.mod region.o dataset_global_hdf5_class.mod region_module.mod grid_unstructured_module.mod communicator_structured.o communicator_structured_class.mod data_mediator_base.o dataset.o data_mediator_base_class.mod characteristic_curves_loop_invariant.o characteristic_curves_wipp.o dataset_module.mod characteristic_curves_loop_invariant_module.mod data_mediator.o data_mediator_vec.o data_mediator_vec_class.mod data_mediator_module.mod eos_water.o eos_water_module.mod observation.o observation_module.mod transport_constraint_rt.o reaction_sandbox_base.o secondary_continuum_aux.o reaction_redox.o reaction_immobile.o reaction_microbial.o reaction_isotherm.o reaction_surf_complex.o reaction_mineral.o transport.o reaction_clm.o secondary_continuum_aux_module.mod reaction_redox_module.mod reaction_isotherm_module.mod transport_constraint_rt_module.mod reaction_microbial_module.mod clm_rxn_base_class.mod reaction_immobile_module.mod characteristic_curves_wipp_module.mod reaction_sandbox_base_class.mod reaction_surface_complexation_module.mod clm_rxn_common_module.mod reaction_mineral_module.mod transport_module.mod geomechanics_discretization.o clm_rxn_decomp_class.mod reaction_sandbox_calcite.o reaction_sandbox_biohill.o reaction_sandbox_bioTH.o reaction_sandbox_clm_cn.o reaction_sandbox_pnnl_lambda.o reaction_sandbox_simple.o reaction_sandbox_ufd_wp.o reaction_sandbox_example.o reaction_sandbox_pnnl_cyber.o geomechanics_discretization_module.mod reaction_sandbox_gas.o reaction_sandbox_biohill_class.mod reaction_sandbox_simple_class.mod reaction_sandbox_example_class.mod reaction_sandbox_lambda_class.mod reaction_sandbox_ufd_wp_class.mod reaction_sandbox_bioth_class.mod reaction_sandbox_clm_cn_class.mod reaction_sandbox_gas_class.mod reaction_sandbox_calcite_class.mod reaction_sandbox_cyber_class.mod clm_rxn_plantn_class.mod reaction_sandbox_flexbiohill.o clm_rxn_nitr_class.mod reaction_sand_flexbiohill_class.mod clm_rxn_deni_class.mod clm_rxn_module.mod reaction_gas.o eos_gas.o reaction_gas_module.mod eos_gas_module.mod wipp.o characteristic_curves.o fracture_module.mod reaction_sandbox.o creep_closure_module.mod characteristic_curves_module.mod klinkenberg_module.mod wipp_module.mod wipp_characteristic_curve_module.mod eos.o reaction_sandbox_module.mod eos_module.mod reaction_solid_solution.o reaction_solid_solution_module.mod communicator_unstructured.o grid_unstructured_polyhedra.o communicator_unstructured_class.mod grid_unstructured_polyhedra_module.mod reaction.o wipp_flow_aux.o pnf_aux.o th_aux.o zflow_aux.o general_aux.o hydrate_aux.o pnf_aux_module.mod zflow_aux_module.mod wipp_flow_aux_module.mod general_aux_module.mod th_aux_module.mod hydrate_aux_module.mod zflow_common.o zflow_common_module.mod grid.o reaction_module.mod wipp_flow_common.o wipp_flow_common_module.mod grid_module.mod condition.o condition_module.mod survey.o geomechanics_subsurface_properties.o srcsink_sandbox_base.o matrix_buffer.o discretization.o convergence.o survey_module.mod matrix_buffer_module.mod srcsink_sandbox_base_class.mod geomechanics_subsurface_properties_module.mod discretization_module.mod srcsink_sandbox_wipp_well.o srcsink_sandbox_mass_rate.o srcsink_sandbox_wipp_gas.o srcsink_sandbox_wipp_well_class.mod srcsink_sandbox_wipp_gas_class.mod srcsink_sandbox_mass_rate_class.mod material.o richards_aux.o material_module.mod richards_aux_module.mod ert_aux.o ert_aux_module.mod convergence_module.mod richards_common.o data_mediator_dataset.o data_mediator_dataset_class.mod richards_common_module.mod mphase_pckr_mod.o strata.o strata_module.mod mphase_pckr_module.mod mphase_aux.o mphase_aux_module.mod auxiliary.o auxiliary_module.mod srcsink_sandbox_downreg.o geomechanics_condition.o coupler.o geomechanics_condition_module.mod coupler_module.mod srcsink_sandbox_downreg_class.mod srcsink_sandbox.o srcsink_sandbox_module.mod hydrostatic.o hydrate_common.o general_common.o hydrostatic_module.mod hydrate_common_module.mod general_common_module.mod geomechanics_coupler.o geomechanics_coupler_module.mod geomechanics_patch.o geomechanics_patch_module.mod reaction_database.o patch.o general_derivative.o reaction_database_module.mod general_derivative_module.mod patch_module.mod realization_base.o realization_base_class.mod pm_base.o realization_subsurface.o pm_base_class.mod pm_base_pointer.o pm_base_pointer_module.mod realization_subsurface_class.mod hdf5.o pm_ufd_biosphere.o pm_inversion.o pnf.o ert.o zflow.o hydrate.o geomechanics_realization.o richards.o nw_transport.o secondary_continuum.o pm_well.o pm_inversion_class.mod pm_ufd_biosphere_class.mod ert_module.mod pm_well_class.mod geomechanics_realization_class.mod init_subsurface_geophysics.o pm_ert.o init_subsurface_geop_module.mod secondary_continuum_module.mod hdf5_module.mod geomechanics_global.o geomechanics_force.o pm_ert_class.mod geomechanics_global_module.mod pnf_module.mod init_subsurface.o pm_material_transform.o output_common.o pm_wipp_srcsink.o pm_material_transform_class.mod nw_transport_module.mod pm_wipp_srcsink_class.mod zflow_module.mod init_subsurface_module.mod hydrate_module.mod output_common_module.mod pm_auxiliary.o pm_auxiliary_class.mod output_obs_h5.o output_vtk.o global.o output_tecplot.o output_hdf5.o output_vtk_module.mod output_obs_h5_module.mod geomechanics_force_module.mod global_module.mod richards_module.mod checkpoint.o pm_ufd_decay.o pm_ufd_decay_class.mod mphase.o th.o wipp_flow.o checkpoint_module.mod output_hdf5_module.mod output_tecplot_module.mod pm_nwt.o pm_waste_form.o pm_nwt_class.mod output_geomechanics.o general.o reactive_transport.o pm_waste_form_class.mod output_geomechanics_module.mod pm_geomechanics_force.o reaction_database_hpt.o reaction_database_hpt_module.mod mphase_module.mod pm_geomechanics_force_class.mod wipp_flow_module.mod general_module.mod th_module.mod reactive_transport_module.mod output_observation.o condition_control.o condition_control_module.mod init_subsurface_transport.o pm_subsurface_flow.o pm_rt.o init_subsurface_tran_module.mod pm_subsurface_flow_class.mod pm_mphase.o pm_th.o pm_richards.o pm_pnf.o pm_hydrate.o pm_zflow.o pm_general.o pm_wipp_flow.o pm_mphase_class.mod output_observation_module.mod pm_richards_class.mod pm_th_class.mod pm_pnf_class.mod pm_richards_ts.o pm_hydrate_class.mod pm_zflow_class.mod pm_th_ts.o pm_general_class.mod pm_richards_ts_class.mod pm_th_ts_class.mod pm_wipp_flow_class.mod pm_rt_class.mod output.o pm_osrt.o pm_osrt_class.mod output_module.mod simulation_base.o timestepper_base.o init_common.o simulation_base_class.mod init_common_module.mod timestepper_base_class.mod pmc_base.o timestepper_TS.o timestepper_KSP.o timestepper_SNES.o timestepper_ts_class.mod timestepper_ksp_class.mod timestepper_snes_class.mod pmc_base_class.mod regression.o timestepper_steady.o regression_module.mod pmc_general.o pmc_third_party.o timestepper_steady_class.mod pmc_third_party_class.mod pmc_geophysics.o geomechanics_regression.o pmc_geomechanics.o pmc_general_class.mod geomechanics_regression_module.mod pmc_geomechanics_class.mod pmc_subsurface.o pmc_geophysics_class.mod pmc_subsurface_class.mod simulation_subsurface.o pmc_subsurface_osrt.o pmc_linear.o pmc_linear_class.mod pmc_subsurface_osrt_class.mod simulation_subsurface_class.mod init_subsurface_flow.o simulation_geomechanics.o simulation_geomechanics_class.mod init_subsurface_flow_module.mod factory_subsurface.o factory_subsurface_module.mod factory_geomechanics.o factory_geomechanics_module.mod factory_forward.o factory_forward_module.mod simulation_multirealization.o simulation_multirealization_class.mod inversion_subsurface.o inversion_subsurface_class.mod inversion_ert.o inversion_tao.o inversion_zflow.o inversion_tao_class.mod inversion_zflow_class.mod inversion_ert_class.mod simulation_inverse.o reaction_sandbox_pnnl_lambda.F90 simulation_inverse_class.mod factory_pflotran.o input_aux.F90 reaction_sandbox_calcite.F90 factory_pflotran_module.mod pflotran.o pflotran ============================================================================================= TESTING: configureExternalPackagesDir from config.framework(config/BuildSystem/config/framework.py:1038) serialEvaluation: initial cxxDialectRanges ('c++11', 'c++17') serialEvaluation: new cxxDialectRanges ('c++11', 'c++17') child config.utilities.macosFirewall took 0.000002 seconds ============================================================================================= TESTING: configureDebuggers from config.utilities.debuggers(config/BuildSystem/config/utilities/debuggers.py:21) Find a default debugger and determine its arguments Executing: uname -s stdout: Linux Checking for program /projects/cmake/toss3/3.22.3/bin/gdb...not found Checking for program /opt/openmpi/4.1/gnu/bin/gdb...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/gdb...found Defined make macro "GDB" to "/opt/rh/devtoolset-10/root/usr/bin/gdb" Defined "USE_DEBUGGER" to ""gdb"" Executing: uname -s stdout: Linux Defined make macro "DSYMUTIL" to "true" Executing: uname -s stdout: Linux child config.utilities.debuggers took 0.017774 seconds ============================================================================================= TESTING: configureDirectories from PETSc.options.petscdir(config/PETSc/options/petscdir.py:22) Checks PETSC_DIR and sets if not set PETSC_VERSION_RELEASE of 1 indicates the code is from a release branch or a branch created from a release branch. Version Information: #define PETSC_VERSION_RELEASE 1 #define PETSC_VERSION_MAJOR 3 #define PETSC_VERSION_MINOR 17 #define PETSC_VERSION_SUBMINOR 2 #define PETSC_VERSION_DATE "unknown" #define PETSC_VERSION_GIT "unknown" #define PETSC_VERSION_DATE_GIT "unknown" #define PETSC_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_ PETSC_VERSION_EQ #define PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ child PETSc.options.petscdir took 0.004211 seconds ============================================================================================= TESTING: getDatafilespath from PETSc.options.dataFilesPath(config/PETSc/options/dataFilesPath.py:29) Checks what DATAFILESPATH should be child PETSc.options.dataFilesPath took 0.001847 seconds ============================================================================================= TESTING: configureGit from config.sourceControl(config/BuildSystem/config/sourceControl.py:24) Find the Git executable Checking for program /projects/cmake/toss3/3.22.3/bin/git...not found Checking for program /opt/openmpi/4.1/gnu/bin/git...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/git...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/git...not found Checking for program /projects/ADSM/software/local/bin/git...not found Checking for program /usr/lib64/qt-3.3/bin/git...not found Checking for program /usr/lpp/mmfs/bin/git...not found Checking for program /opt/ibm/MCStore/bin/git...not found Checking for program /opt/ibm/MCStore/scripts/git...not found Checking for program /usr/local/bin/git...not found Checking for program /usr/bin/git...found Defined make macro "GIT" to "git" Executing: git --version stdout: git version 2.30.1 ============================================================================================= TESTING: configureMercurial from config.sourceControl(config/BuildSystem/config/sourceControl.py:35) Find the Mercurial executable Checking for program /projects/cmake/toss3/3.22.3/bin/hg...not found Checking for program /opt/openmpi/4.1/gnu/bin/hg...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/hg...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/hg...not found Checking for program /projects/ADSM/software/local/bin/hg...found Defined make macro "HG" to "hg" Executing: hg version -q child config.sourceControl took 0.892720 seconds ============================================================================================= TESTING: configureInstallationMethod from PETSc.options.petscclone(config/PETSc/options/petscclone.py:20) lib/petsc/bin/maint exists. This appears to be a repository clone .git directory exists Executing: ['git', 'describe', '--match=v*'] stdout: v3.17.2 Executing: ['git', 'log', '-1', '--pretty=format:%H'] stdout: 32a6fd01d7fb36b1152385c35cce4c3e6cd97b6e Executing: ['git', 'log', '-1', '--pretty=format:%ci'] stdout: 2022-06-02 20:01:53 -0500 Executing: ['git', 'rev-parse', '--abbrev-ref', 'HEAD'] stdout: HEAD Defined "VERSION_GIT" to ""v3.17.2"" Defined "VERSION_DATE_GIT" to ""2022-06-02 20:01:53 -0500"" Defined "VERSION_BRANCH_GIT" to ""HEAD"" child PETSc.options.petscclone took 0.066065 seconds ============================================================================================= TESTING: setNativeArchitecture from PETSc.options.arch(config/PETSc/options/arch.py:31) ============================================================================================= TESTING: configureArchitecture from PETSc.options.arch(config/PETSc/options/arch.py:43) Checks PETSC_ARCH and sets if not set configure hash file: gnu_O/lib/petsc/conf/configure-hash does not match, need to run configure Setting hashfile: gnu_O/lib/petsc/conf/configure-hash Deleting configure hash file: gnu_O/lib/petsc/conf/configure-hash Deleted configure hash file: gnu_O/lib/petsc/conf/configure-hash child PETSc.options.arch took 0.303691 seconds ============================================================================================= TESTING: setInstallDir from PETSc.options.installDir(config/PETSc/options/installDir.py:32) setup installDir to either prefix or if that is not set to PETSC_DIR/PETSC_ARCH Defined make macro "PREFIXDIR" to "/projects/ADSM/software/petsc-v3.17.2/gnu_O" ============================================================================================= TESTING: saveReconfigure from PETSc.options.installDir(config/PETSc/options/installDir.py:76) ============================================================================================= TESTING: cleanConfDir from PETSc.options.installDir(config/PETSc/options/installDir.py:69) ============================================================================================= TESTING: configureInstallDir from PETSc.options.installDir(config/PETSc/options/installDir.py:53) Makes installDir subdirectories if it does not exist for both prefix install location and PETSc work install location Changed persistence directory to /projects/ADSM/software/petsc-v3.17.2/gnu_O/lib/petsc/conf ============================================================================================= TESTING: restoreReconfigure from PETSc.options.installDir(config/PETSc/options/installDir.py:89) child PETSc.options.installDir took 0.002518 seconds ============================================================================================= TESTING: setExternalPackagesDir from PETSc.options.externalpackagesdir(config/PETSc/options/externalpackagesdir.py:15) ============================================================================================= TESTING: cleanExternalpackagesDir from PETSc.options.externalpackagesdir(config/PETSc/options/externalpackagesdir.py:22) child PETSc.options.externalpackagesdir took 0.000800 seconds ============================================================================================= TESTING: configureCLanguage from PETSc.options.languages(config/PETSc/options/languages.py:27) Choose whether to compile the PETSc library using a C or C++ compiler C language is C Defined "CLANGUAGE_C" to "1" Defined make macro "CLANGUAGE" to "C" child PETSc.options.languages took 0.001149 seconds ============================================================================================= TESTING: resetEnvCompilers from config.setCompilers(config/BuildSystem/config/setCompilers.py:2585) ============================================================================================= TESTING: checkEnvCompilers from config.setCompilers(config/BuildSystem/config/setCompilers.py:2601) ============================================================================================= TESTING: checkMPICompilerOverride from config.setCompilers(config/BuildSystem/config/setCompilers.py:2555) Check if --with-mpi-dir is used along with CC CXX or FC compiler options. This usually prevents mpi compilers from being used - so issue a warning ============================================================================================= TESTING: requireMpiLdPath from config.setCompilers(config/BuildSystem/config/setCompilers.py:2576) OpenMPI wrappers require LD_LIBRARY_PATH set ============================================================================================= TESTING: checkInitialFlags from config.setCompilers(config/BuildSystem/config/setCompilers.py:663) Initialize the compiler and linker flags Initialized CFLAGS to -O3 Initialized CFLAGS to -O3 Initialized LDFLAGS to Initialized CUDAFLAGS to Initialized CUDAFLAGS to Initialized LDFLAGS to Initialized HIPFLAGS to Initialized HIPFLAGS to Initialized LDFLAGS to Initialized SYCLFLAGS to Initialized SYCLFLAGS to Initialized LDFLAGS to Initialized CXXFLAGS to -O3 Initialized CXX_CXXFLAGS to Initialized LDFLAGS to Initialized FFLAGS to -O3 Initialized FFLAGS to -O3 Initialized LDFLAGS to Initialized CPPFLAGS to Initialized FPPFLAGS to Initialized CUDAPPFLAGS to -Wno-deprecated-gpu-targets Initialized CXXPPFLAGS to Initialized HIPPPFLAGS to Initialized SYCLPPFLAGS to Initialized CC_LINKER_FLAGS to [] Initialized CXX_LINKER_FLAGS to [] Initialized FC_LINKER_FLAGS to [] Initialized CUDAC_LINKER_FLAGS to [] Initialized HIPC_LINKER_FLAGS to [] Initialized SYCLC_LINKER_FLAGS to [] Initialized sharedLibraryFlags to [] Initialized dynamicLibraryFlags to [] ============================================================================================= TESTING: checkCCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:1276) Locate a functional C compiler Checking for program /projects/cmake/toss3/3.22.3/bin/mpicc...not found Checking for program /opt/openmpi/4.1/gnu/bin/mpicc...found Defined make macro "CC" to "mpicc" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status: ======== Checking running linked program ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o Testing executable /tmp/petsc-iuu41q9r/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-iuu41q9r/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-iuu41q9r/config.setCompilers/conftest Executing: mpicc --version stdout: gcc (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Executing: mpicc -v | head -n 20 Since MPI c compiler starts with mpi, force searches for other compilers to only look for MPI compilers ============================================================================================= TESTING: checkCPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:1319) Locate a functional C preprocessor Checking for program /projects/cmake/toss3/3.22.3/bin/mpicc...not found Checking for program /opt/openmpi/4.1/gnu/bin/mpicc...found Defined make macro "CPP" to "mpicc -E" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : ============================================================================================= TESTING: checkCxxCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:1625) Locate a functional Cxx compiler Checking for program /projects/cmake/toss3/3.22.3/bin/mpicxx...not found Checking for program /opt/openmpi/4.1/gnu/bin/mpicxx...found Defined make macro "CXX" to "mpicxx" ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicxx -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicxx -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status: ======== Checking running linked program ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicxx -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o Testing executable /tmp/petsc-iuu41q9r/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-iuu41q9r/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-iuu41q9r/config.setCompilers/conftest Executing: mpicxx --version stdout: g++ (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:687) Set the host compiler (HC) of the device compiler (DC) to the HC unless the DC already explicitly sets its HC. This may be needed if the default HC used by the DC is ancient and PETSc uses a different HC (e.g., through --with-cxx=...). Executing: mpicxx --help | head -n 20 stdout: Usage: g++ [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler ============================================================================================= TESTING: checkCxxDialect from config.setCompilers(config/BuildSystem/config/setCompilers.py:709) Determine the CXX dialect supported by the compiler (language) [and correspoding compiler option - if any]. isGNUish indicates if the compiler is gnu compliant (i.e. clang). -with--dialect can take options: auto: use highest supported dialect configure can determine [[c|gnu][xx|++]]20: not yet supported [[c|gnu][xx|++]]17: gnu++17 or c++17 [[c|gnu][xx|++]]14: gnu++14 or c++14 [[c|gnu][xx|++]]11: gnu++11 or c++11 0: disable CxxDialect check and use compiler default On return this function sets the following values: - if needed, appends the relevant CXX dialect flag to compiler flags - self.cxxDialectRange = (minSupportedDialect,maxSupportedDialect) (e.g. ('c++11','c++14')) - self.addDefine('HAVE_{LANG}_DIALECT_CXX{DIALECT_NUM}',1) for every supported dialect - self.lang+'dialect' = 'c++'+maxDialectNumber (e.g. 'c++14') but ONLY if the user specifically requests a dialect version, otherwise this is not set Raises a config.base.ConfigureSetupError if: - The user has set both the --with-dialect=[...] configure options and -std=[...] in their compiler flags - The combination of specifically requested packages cannnot all be compiled with the same flag - An unknown C++ dialect is provided The config.base.ConfigureSetupErrors are NOT meant to be caught, as they are fatal errors on part of the user Raises a RuntimeError (which may be caught) if: - The compiler does not support at minimum -std=c++11 checkCxxDialect: checking C++ dialect version for language "CXX" using compiler "mpicxx" checkCxxDialect: PETSc believes compiler (mpicxx) IS gnu-ish checkCxxDialect: PETSc believes that we have NOT processed mpicxx before checkCxxDialect: configure option after sanitization: --with-cxx-dialect=AUTO checkCxxDialect: dialect AUTO has been NOT explicitly selected for CXX checkCxxDialect: Have potential flag pool: - -std=gnu++17 - -std=c++17 - -std=gnu++14 - -std=c++14 - -std=gnu++11 - -std=c++11 checkCxxDialect: checking CXX 17 for cxx with -std=gnu++17 Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" // c++11 includes #include #include #include #include template void ignore(const T&) { } // silence unused variable warnings class valClass { public: int i; valClass() { i = 3; } valClass(int x) : i(x) { } }; class MoveSemantics { std::unique_ptr _member; public: MoveSemantics(int val = 4) : _member(new valClass(val)) { } MoveSemantics& operator=(MoveSemantics &&other) noexcept = default; }; template constexpr T Cubed( T x ) { return x*x*x; } auto trailing(int x) -> int { return x+2; } enum class Shapes : int {SQUARE,CIRCLE}; template struct Tuple { }; using PetscErrorCode = int; // c++14 includes #include template constexpr T pi = T(3.1415926535897932385L); // variable template // c++17 includes #include #include #include #include [[nodiscard]] int nodiscardFunc() { return 0; } struct S2 { // static inline member variables since c++17 static inline int var = 8675309; void f(int i); }; void S2::f(int i) { // until c++17: Error: invalid syntax // since c++17: OK: captures the enclosing S2 by copy auto lmbd = [=, *this] { std::cout << i << " " << this->var << std::endl; }; lmbd(); } int main() { // c++11 body valClass cls = valClass(); // value initialization int i = cls.i; // i is not declared const const int& rci = i; // but rci is const_cast(rci) = 4; constexpr int big_value = 1234; decltype(big_value) ierr = big_value; auto ret = trailing(ierr); MoveSemantics bob; MoveSemantics alice; alice = std::move(bob);ignore(alice); Tuple<> t0;ignore(t0); Tuple t1;ignore(t1); Tuple t2;ignore(t2); std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); std::cout << x << ret << std::endl; // c++14 body auto ptr = std::make_unique(); *ptr = 1; std::cout << pi << std::endl; constexpr const std::complex const_i(0.0,1.0); auto lambda = [](auto x, auto y) { return x + y; }; std::cout << lambda(3,4) << std::real(const_i) << std::endl; // c++17 body std::variant v,w; v = 42; // v contains int int ivar = std::get(v); w = std::get<0>(v); // same effect as the previous line w = v; // same effect as the previous line S2 foo; foo.f(ivar); if constexpr (std::is_arithmetic_v) std::cout << "c++17" << std::endl; typedef std::integral_constant squareShape; // static_assert with no message since c++17 static_assert(std::is_same_v); auto val = nodiscardFunc();ignore(val); ; return 0; } Output from compiling with -std=gnu++17 Added Cxx compiler flag -std=gnu++17 checkCxxDialect: success using -std=gnu++17 for Cxx dialect C++17, set new cxxDialectRange: ('c++11', 'c++17') Defined "HAVE_CXX_DIALECT_CXX11" to "1" Defined "HAVE_CXX_DIALECT_CXX14" to "1" Defined "HAVE_CXX_DIALECT_CXX17" to "1" ============================================================================================= TESTING: checkCxxPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:1662) Locate a functional Cxx preprocessor Checking for program /projects/cmake/toss3/3.22.3/bin/mpicxx...not found Checking for program /opt/openmpi/4.1/gnu/bin/mpicxx...found Defined make macro "CXXPP" to "mpicxx -E" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicxx -E -I/tmp/petsc-iuu41q9r/config.setCompilers /tmp/petsc-iuu41q9r/config.setCompilers/conftest.cc Preprocess output before filtering: : Preprocess output after filtering: : ============================================================================================= TESTING: checkCUDACompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:1355) Locate a functional CUDA compiler Checking for program /projects/cmake/toss3/3.22.3/bin/nvcc...not found Checking for program /opt/openmpi/4.1/gnu/bin/nvcc...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/nvcc...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/nvcc...not found Checking for program /projects/ADSM/software/local/bin/nvcc...not found Checking for program /usr/lib64/qt-3.3/bin/nvcc...not found Checking for program /usr/lpp/mmfs/bin/nvcc...not found Checking for program /opt/ibm/MCStore/bin/nvcc...not found Checking for program /opt/ibm/MCStore/scripts/nvcc...not found Checking for program /usr/local/bin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /usr/local/sbin/nvcc...not found Checking for program /usr/sbin/nvcc...not found Checking for program /sbin/nvcc...not found Checking for program /opt/dell/srvadmin/bin/nvcc...not found Checking for program /projects/ADSM/software/pflotran-master-petsc-v3.17.2/src/pflotran/nvcc...not found Checking for program /projects/ADSM/software/petsc-v3.17.2/lib/petsc/bin/win32fe/nvcc...not found Checking for program /Developer/NVIDIA/CUDA-6.5/bin/nvcc...not found Checking for program /projects/ADSM/software/petsc-v3.17.2/lib/petsc/bin/win32fe/nvcc...not found Unable to find programs: ['nvcc'] in listing of the specific search path: ['/Developer/NVIDIA/CUDA-6.5/bin'] Warning accessing /Developer/NVIDIA/CUDA-6.5/bin gives errors: [Errno 2] No such file or directory: '/Developer/NVIDIA/CUDA-6.5/bin' Checking for program /usr/local/cuda/bin/nvcc...not found Checking for program /projects/ADSM/software/petsc-v3.17.2/lib/petsc/bin/win32fe/nvcc...not found Unable to find programs: ['nvcc'] in listing of the specific search path: ['/usr/local/cuda/bin'] Warning accessing /usr/local/cuda/bin gives errors: [Errno 2] No such file or directory: '/usr/local/cuda/bin' ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:687) Set the host compiler (HC) of the device compiler (DC) to the HC unless the DC already explicitly sets its HC. This may be needed if the default HC used by the DC is ancient and PETSc uses a different HC (e.g., through --with-cxx=...). checkDeviceHostCompiler: checking CUDA accepts host compiler mpicxx ============================================================================================= TESTING: checkHIPCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:1425) Locate a functional HIP compiler Checking for program /projects/cmake/toss3/3.22.3/bin/hipcc...not found Checking for program /opt/openmpi/4.1/gnu/bin/hipcc...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/hipcc...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/hipcc...not found Checking for program /projects/ADSM/software/local/bin/hipcc...not found Checking for program /usr/lib64/qt-3.3/bin/hipcc...not found Checking for program /usr/lpp/mmfs/bin/hipcc...not found Checking for program /opt/ibm/MCStore/bin/hipcc...not found Checking for program /opt/ibm/MCStore/scripts/hipcc...not found Checking for program /usr/local/bin/hipcc...not found Checking for program /usr/bin/hipcc...found Defined make macro "HIPC" to "hipcc" ===== Checking compiler Executing: hipcc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers /tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: stderr: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: hipcc --version stdout: HIP version: 5.1.20531-cacfa990 AMD clang version 14.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-5.1.0 22114 5cba46feb6af367b1cafaa183ec42dbfb8207b14) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-5.1.0/llvm/bin ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:687) Set the host compiler (HC) of the device compiler (DC) to the HC unless the DC already explicitly sets its HC. This may be needed if the default HC used by the DC is ancient and PETSc uses a different HC (e.g., through --with-cxx=...). Executing: hipcc --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: clang-14 [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --amdgpu-arch-tool= Tool used for detecting AMD GPU arch in the system. --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|sarif-html|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -byteswapio Swap byte-order for unformatted input/output -B Search $prefix/$triple-$file and $prefix$file for executables, libraries, includes, and data files used by the compiler. $prefix may or may not be a directory -b Pass -b to the linker on AIX (only). -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. Executing: hipcc --help | head -n 500 Detected CLANG compiler ============================================================================================= TESTING: checkCxxDialect from config.setCompilers(config/BuildSystem/config/setCompilers.py:709) Determine the CXX dialect supported by the compiler (language) [and correspoding compiler option - if any]. isGNUish indicates if the compiler is gnu compliant (i.e. clang). -with--dialect can take options: auto: use highest supported dialect configure can determine [[c|gnu][xx|++]]20: not yet supported [[c|gnu][xx|++]]17: gnu++17 or c++17 [[c|gnu][xx|++]]14: gnu++14 or c++14 [[c|gnu][xx|++]]11: gnu++11 or c++11 0: disable CxxDialect check and use compiler default On return this function sets the following values: - if needed, appends the relevant CXX dialect flag to compiler flags - self.cxxDialectRange = (minSupportedDialect,maxSupportedDialect) (e.g. ('c++11','c++14')) - self.addDefine('HAVE_{LANG}_DIALECT_CXX{DIALECT_NUM}',1) for every supported dialect - self.lang+'dialect' = 'c++'+maxDialectNumber (e.g. 'c++14') but ONLY if the user specifically requests a dialect version, otherwise this is not set Raises a config.base.ConfigureSetupError if: - The user has set both the --with-dialect=[...] configure options and -std=[...] in their compiler flags - The combination of specifically requested packages cannnot all be compiled with the same flag - An unknown C++ dialect is provided The config.base.ConfigureSetupErrors are NOT meant to be caught, as they are fatal errors on part of the user Raises a RuntimeError (which may be caught) if: - The compiler does not support at minimum -std=c++11 checkCxxDialect: checking C++ dialect version for language "HIP" using compiler "hipcc" checkCxxDialect: PETSc believes compiler (hipcc) IS gnu-ish checkCxxDialect: PETSc believes that we have NOT processed hipcc before checkCxxDialect: configure option after sanitization: --with-hip-dialect=AUTO checkCxxDialect: dialect AUTO has been NOT explicitly selected for HIP checkCxxDialect: Have potential flag pool: - -std=gnu++17 - -std=c++17 - -std=gnu++14 - -std=c++14 - -std=gnu++11 - -std=c++11 checkCxxDialect: checking CXX 17 for hip with -std=gnu++17 Executing: hipcc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -std=gnu++17 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: stderr: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Source: #include "confdefs.h" #include "conffix.h" // c++11 includes #include #include #include #include template void ignore(const T&) { } // silence unused variable warnings class valClass { public: int i; valClass() { i = 3; } valClass(int x) : i(x) { } }; class MoveSemantics { std::unique_ptr _member; public: MoveSemantics(int val = 4) : _member(new valClass(val)) { } MoveSemantics& operator=(MoveSemantics &&other) noexcept = default; }; template constexpr T Cubed( T x ) { return x*x*x; } auto trailing(int x) -> int { return x+2; } enum class Shapes : int {SQUARE,CIRCLE}; template struct Tuple { }; using PetscErrorCode = int; // c++14 includes #include template constexpr T pi = T(3.1415926535897932385L); // variable template // c++17 includes #include #include #include #include [[nodiscard]] int nodiscardFunc() { return 0; } struct S2 { // static inline member variables since c++17 static inline int var = 8675309; void f(int i); }; void S2::f(int i) { // until c++17: Error: invalid syntax // since c++17: OK: captures the enclosing S2 by copy auto lmbd = [=, *this] { std::cout << i << " " << this->var << std::endl; }; lmbd(); } int main() { // c++11 body valClass cls = valClass(); // value initialization int i = cls.i; // i is not declared const const int& rci = i; // but rci is const_cast(rci) = 4; constexpr int big_value = 1234; decltype(big_value) ierr = big_value; auto ret = trailing(ierr); MoveSemantics bob; MoveSemantics alice; alice = std::move(bob);ignore(alice); Tuple<> t0;ignore(t0); Tuple t1;ignore(t1); Tuple t2;ignore(t2); std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); std::cout << x << ret << std::endl; // c++14 body auto ptr = std::make_unique(); *ptr = 1; std::cout << pi << std::endl; constexpr const std::complex const_i(0.0,1.0); auto lambda = [](auto x, auto y) { return x + y; }; std::cout << lambda(3,4) << std::real(const_i) << std::endl; // c++17 body std::variant v,w; v = 42; // v contains int int ivar = std::get(v); w = std::get<0>(v); // same effect as the previous line w = v; // same effect as the previous line S2 foo; foo.f(ivar); if constexpr (std::is_arithmetic_v) std::cout << "c++17" << std::endl; typedef std::integral_constant squareShape; // static_assert with no message since c++17 static_assert(std::is_same_v); auto val = nodiscardFunc();ignore(val); ; return 0; } Output from compiling with -std=gnu++17 Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Added HIP compiler flag -std=gnu++17 checkCxxDialect: success using -std=gnu++17 for HIP dialect C++17, set new cxxDialectRange: ('c++11', 'c++17') Defined "HAVE_HIP_DIALECT_CXX11" to "1" Defined "HAVE_HIP_DIALECT_CXX14" to "1" Defined "HAVE_HIP_DIALECT_CXX17" to "1" ============================================================================================= TESTING: checkHIPPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:1464) Locate a functional HIP preprocessor Checking for program /projects/cmake/toss3/3.22.3/bin/hipcc...not found Checking for program /opt/openmpi/4.1/gnu/bin/hipcc...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/hipcc...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/hipcc...not found Checking for program /projects/ADSM/software/local/bin/hipcc...not found Checking for program /usr/lib64/qt-3.3/bin/hipcc...not found Checking for program /usr/lpp/mmfs/bin/hipcc...not found Checking for program /opt/ibm/MCStore/bin/hipcc...not found Checking for program /opt/ibm/MCStore/scripts/hipcc...not found Checking for program /usr/local/bin/hipcc...not found Checking for program /usr/bin/hipcc...found Defined make macro "HIPPP" to "hipcc -E" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include __global__ void testFunction() {return;}; Executing: hipcc -E -I/tmp/petsc-iuu41q9r/config.setCompilers /tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp Possible ERROR while running preprocessor: stdout: // __CLANG_OFFLOAD_BUNDLE____START__ hip-amdgcn-amd-amdhsa-gfx803 # 1 "/tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp" # 1 "" 1 # 1 "" 3 # 745 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 1 3 # 33 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 3 extern "C" { __attribute__((__visibility__("default"))) __attribute__((weak)) __attribute__((noreturn)) __attribute__((device)) void __cxa_pure_virtual(void) { __builtin_trap(); } __attribute__((__visibility__("default"))) __attribute__((weak)) __attribute__((noreturn)) __attribute__((device)) void __cxa_deleted_virtual(void) { __builtin_trap(); } } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++config.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 4 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++config.h" 2 3 # 2361 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++config.h" 3 namespace std { typedef long unsigned int size_t; typedef long int ptrdiff_t; typedef decltype(nullptr) nullptr_t; } # 2621 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++config.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/os_defines.h" 1 3 # 39 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/os_defines.h" 3 # 1 "/usr/include/features.h" 1 3 4 # 345 "/usr/include/features.h" 3 4 # 1 "/usr/include/stdc-predef.h" 1 3 4 # 346 "/usr/include/features.h" 2 3 4 # 375 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 392 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 393 "/usr/include/sys/cdefs.h" 2 3 4 # 376 "/usr/include/features.h" 2 3 4 # 399 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 11 "/usr/include/gnu/stubs.h" 2 3 4 # 400 "/usr/include/features.h" 2 3 4 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/os_defines.h" 2 3 # 2622 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++config.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/cpu_defines.h" 1 3 # 2625 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++config.h" 2 3 # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cpp_type_traits.h" 1 3 # 36 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cpp_type_traits.h" 3 # 67 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cpp_type_traits.h" 3 extern "C++" { namespace std __attribute__ ((__visibility__ ("default"))) { struct __true_type { }; struct __false_type { }; template struct __truth_type { typedef __false_type __type; }; template<> struct __truth_type { typedef __true_type __type; }; template struct __traitor { enum { __value = bool(_Sp::__value) || bool(_Tp::__value) }; typedef typename __truth_type<__value>::__type __type; }; template struct __are_same { enum { __value = 0 }; typedef __false_type __type; }; template struct __are_same<_Tp, _Tp> { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_void { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_void { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_integer { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; # 184 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cpp_type_traits.h" 3 template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; # 287 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cpp_type_traits.h" 3 template struct __is_floating { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_floating { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_floating { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_floating { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_pointer { enum { __value = 0 }; typedef __false_type __type; }; template struct __is_pointer<_Tp*> { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_arithmetic : public __traitor<__is_integer<_Tp>, __is_floating<_Tp> > { }; template struct __is_scalar : public __traitor<__is_arithmetic<_Tp>, __is_pointer<_Tp> > { }; template struct __is_char { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_char { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_char { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_byte { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_byte { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_byte { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_byte { enum { __value = 1 }; typedef __true_type __type; }; # 423 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cpp_type_traits.h" 3 template struct iterator_traits; template struct __is_nonvolatile_trivially_copyable { enum { __value = __is_trivially_copyable(_Tp) }; }; template struct __is_nonvolatile_trivially_copyable { enum { __value = 0 }; }; template struct __memcpyable { enum { __value = 0 }; }; template struct __memcpyable<_Tp*, _Tp*> : __is_nonvolatile_trivially_copyable<_Tp> { }; template struct __memcpyable<_Tp*, const _Tp*> : __is_nonvolatile_trivially_copyable<_Tp> { }; template struct __memcmpable { enum { __value = 0 }; }; template struct __memcmpable<_Tp*, _Tp*> : __is_nonvolatile_trivially_copyable<_Tp> { }; template struct __memcmpable : __is_nonvolatile_trivially_copyable<_Tp> { }; template struct __memcmpable<_Tp*, const _Tp*> : __is_nonvolatile_trivially_copyable<_Tp> { }; template::__value> struct __is_memcmp_ordered { static const bool __value = _Tp(-1) > _Tp(1); }; template struct __is_memcmp_ordered<_Tp, false> { static const bool __value = false; }; template struct __is_memcmp_ordered_with { static const bool __value = __is_memcmp_ordered<_Tp>::__value && __is_memcmp_ordered<_Up>::__value; }; template struct __is_memcmp_ordered_with<_Tp, _Up, false> { static const bool __value = false; }; # 532 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cpp_type_traits.h" 3 template struct __is_move_iterator { enum { __value = 0 }; typedef __false_type __type; }; template inline _Iterator __miter_base(_Iterator __it) { return __it; } } } # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/type_traits.h" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/type_traits.h" 3 extern "C++" { namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { template struct __enable_if { }; template struct __enable_if { typedef _Tp __type; }; template struct __conditional_type { typedef _Iftrue __type; }; template struct __conditional_type { typedef _Iffalse __type; }; template struct __add_unsigned { private: typedef __enable_if::__value, _Tp> __if_type; public: typedef typename __if_type::__type __type; }; template<> struct __add_unsigned { typedef unsigned char __type; }; template<> struct __add_unsigned { typedef unsigned char __type; }; template<> struct __add_unsigned { typedef unsigned short __type; }; template<> struct __add_unsigned { typedef unsigned int __type; }; template<> struct __add_unsigned { typedef unsigned long __type; }; template<> struct __add_unsigned { typedef unsigned long long __type; }; template<> struct __add_unsigned; template<> struct __add_unsigned; template struct __remove_unsigned { private: typedef __enable_if::__value, _Tp> __if_type; public: typedef typename __if_type::__type __type; }; template<> struct __remove_unsigned { typedef signed char __type; }; template<> struct __remove_unsigned { typedef signed char __type; }; template<> struct __remove_unsigned { typedef short __type; }; template<> struct __remove_unsigned { typedef int __type; }; template<> struct __remove_unsigned { typedef long __type; }; template<> struct __remove_unsigned { typedef long long __type; }; template<> struct __remove_unsigned; template<> struct __remove_unsigned; template inline bool __is_null_pointer(_Type* __ptr) { return __ptr == 0; } template inline bool __is_null_pointer(_Type) { return false; } inline bool __is_null_pointer(std::nullptr_t) { return true; } template::__value> struct __promote { typedef double __type; }; template struct __promote<_Tp, false> { }; template<> struct __promote { typedef long double __type; }; template<> struct __promote { typedef double __type; }; template<> struct __promote { typedef float __type; }; template::__type, typename _Up2 = typename __promote<_Up>::__type> struct __promote_2 { typedef __typeof__(_Tp2() + _Up2()) __type; }; template::__type, typename _Up2 = typename __promote<_Up>::__type, typename _Vp2 = typename __promote<_Vp>::__type> struct __promote_3 { typedef __typeof__(_Tp2() + _Up2() + _Vp2()) __type; }; template::__type, typename _Up2 = typename __promote<_Up>::__type, typename _Vp2 = typename __promote<_Vp>::__type, typename _Wp2 = typename __promote<_Wp>::__type> struct __promote_4 { typedef __typeof__(_Tp2() + _Up2() + _Vp2() + _Wp2()) __type; }; } } # 44 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 2 3 # 1 "/usr/include/math.h" 1 3 4 # 29 "/usr/include/math.h" 3 4 extern "C" { # 1 "/usr/include/bits/huge_val.h" 1 3 4 # 34 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/huge_valf.h" 1 3 4 # 36 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/huge_vall.h" 1 3 4 # 37 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/inf.h" 1 3 4 # 40 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/nan.h" 1 3 4 # 43 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/mathdef.h" 1 3 4 # 28 "/usr/include/bits/mathdef.h" 3 4 typedef float float_t; typedef double double_t; # 47 "/usr/include/math.h" 2 3 4 # 70 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 54 "/usr/include/bits/mathcalls.h" 3 4 extern double acos (double __x) throw (); extern double __acos (double __x) throw (); extern double asin (double __x) throw (); extern double __asin (double __x) throw (); extern double atan (double __x) throw (); extern double __atan (double __x) throw (); extern double atan2 (double __y, double __x) throw (); extern double __atan2 (double __y, double __x) throw (); extern double cos (double __x) throw (); extern double __cos (double __x) throw (); extern double sin (double __x) throw (); extern double __sin (double __x) throw (); extern double tan (double __x) throw (); extern double __tan (double __x) throw (); extern double cosh (double __x) throw (); extern double __cosh (double __x) throw (); extern double sinh (double __x) throw (); extern double __sinh (double __x) throw (); extern double tanh (double __x) throw (); extern double __tanh (double __x) throw (); extern void sincos (double __x, double *__sinx, double *__cosx) throw (); extern void __sincos (double __x, double *__sinx, double *__cosx) throw (); extern double acosh (double __x) throw (); extern double __acosh (double __x) throw (); extern double asinh (double __x) throw (); extern double __asinh (double __x) throw (); extern double atanh (double __x) throw (); extern double __atanh (double __x) throw (); extern double exp (double __x) throw (); extern double __exp (double __x) throw (); extern double frexp (double __x, int *__exponent) throw (); extern double __frexp (double __x, int *__exponent) throw (); extern double ldexp (double __x, int __exponent) throw (); extern double __ldexp (double __x, int __exponent) throw (); extern double log (double __x) throw (); extern double __log (double __x) throw (); extern double log10 (double __x) throw (); extern double __log10 (double __x) throw (); extern double modf (double __x, double *__iptr) throw (); extern double __modf (double __x, double *__iptr) throw () __attribute__ ((__nonnull__ (2))); extern double exp10 (double __x) throw (); extern double __exp10 (double __x) throw (); extern double pow10 (double __x) throw (); extern double __pow10 (double __x) throw (); extern double expm1 (double __x) throw (); extern double __expm1 (double __x) throw (); extern double log1p (double __x) throw (); extern double __log1p (double __x) throw (); extern double logb (double __x) throw (); extern double __logb (double __x) throw (); extern double exp2 (double __x) throw (); extern double __exp2 (double __x) throw (); extern double log2 (double __x) throw (); extern double __log2 (double __x) throw (); # 154 "/usr/include/bits/mathcalls.h" 3 4 extern double pow (double __x, double __y) throw (); extern double __pow (double __x, double __y) throw (); extern double sqrt (double __x) throw (); extern double __sqrt (double __x) throw (); extern double hypot (double __x, double __y) throw (); extern double __hypot (double __x, double __y) throw (); extern double cbrt (double __x) throw (); extern double __cbrt (double __x) throw (); # 179 "/usr/include/bits/mathcalls.h" 3 4 extern double ceil (double __x) throw () __attribute__ ((__const__)); extern double __ceil (double __x) throw () __attribute__ ((__const__)); extern double fabs (double __x) throw () __attribute__ ((__const__)); extern double __fabs (double __x) throw () __attribute__ ((__const__)); extern double floor (double __x) throw () __attribute__ ((__const__)); extern double __floor (double __x) throw () __attribute__ ((__const__)); extern double fmod (double __x, double __y) throw (); extern double __fmod (double __x, double __y) throw (); extern int __isinf (double __value) throw () __attribute__ ((__const__)); extern int __finite (double __value) throw () __attribute__ ((__const__)); extern int isinf (double __value) throw () __attribute__ ((__const__)); extern int finite (double __value) throw () __attribute__ ((__const__)); extern double drem (double __x, double __y) throw (); extern double __drem (double __x, double __y) throw (); extern double significand (double __x) throw (); extern double __significand (double __x) throw (); extern double copysign (double __x, double __y) throw () __attribute__ ((__const__)); extern double __copysign (double __x, double __y) throw () __attribute__ ((__const__)); extern double nan (const char *__tagb) throw () __attribute__ ((__const__)); extern double __nan (const char *__tagb) throw () __attribute__ ((__const__)); extern int __isnan (double __value) throw () __attribute__ ((__const__)); extern int isnan (double __value) throw () __attribute__ ((__const__)); extern double j0 (double) throw (); extern double __j0 (double) throw (); extern double j1 (double) throw (); extern double __j1 (double) throw (); extern double jn (int, double) throw (); extern double __jn (int, double) throw (); extern double y0 (double) throw (); extern double __y0 (double) throw (); extern double y1 (double) throw (); extern double __y1 (double) throw (); extern double yn (int, double) throw (); extern double __yn (int, double) throw (); extern double erf (double) throw (); extern double __erf (double) throw (); extern double erfc (double) throw (); extern double __erfc (double) throw (); extern double lgamma (double) throw (); extern double __lgamma (double) throw (); extern double tgamma (double) throw (); extern double __tgamma (double) throw (); extern double gamma (double) throw (); extern double __gamma (double) throw (); extern double lgamma_r (double, int *__signgamp) throw (); extern double __lgamma_r (double, int *__signgamp) throw (); extern double rint (double __x) throw (); extern double __rint (double __x) throw (); extern double nextafter (double __x, double __y) throw () __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) throw () __attribute__ ((__const__)); extern double nexttoward (double __x, long double __y) throw () __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) throw () __attribute__ ((__const__)); extern double remainder (double __x, double __y) throw (); extern double __remainder (double __x, double __y) throw (); extern double scalbn (double __x, int __n) throw (); extern double __scalbn (double __x, int __n) throw (); extern int ilogb (double __x) throw (); extern int __ilogb (double __x) throw (); extern double scalbln (double __x, long int __n) throw (); extern double __scalbln (double __x, long int __n) throw (); extern double nearbyint (double __x) throw (); extern double __nearbyint (double __x) throw (); extern double round (double __x) throw () __attribute__ ((__const__)); extern double __round (double __x) throw () __attribute__ ((__const__)); extern double trunc (double __x) throw () __attribute__ ((__const__)); extern double __trunc (double __x) throw () __attribute__ ((__const__)); extern double remquo (double __x, double __y, int *__quo) throw (); extern double __remquo (double __x, double __y, int *__quo) throw (); extern long int lrint (double __x) throw (); extern long int __lrint (double __x) throw (); extern long long int llrint (double __x) throw (); extern long long int __llrint (double __x) throw (); extern long int lround (double __x) throw (); extern long int __lround (double __x) throw (); extern long long int llround (double __x) throw (); extern long long int __llround (double __x) throw (); extern double fdim (double __x, double __y) throw (); extern double __fdim (double __x, double __y) throw (); extern double fmax (double __x, double __y) throw () __attribute__ ((__const__)); extern double __fmax (double __x, double __y) throw () __attribute__ ((__const__)); extern double fmin (double __x, double __y) throw () __attribute__ ((__const__)); extern double __fmin (double __x, double __y) throw () __attribute__ ((__const__)); extern int __fpclassify (double __value) throw () __attribute__ ((__const__)); extern int __signbit (double __value) throw () __attribute__ ((__const__)); extern double fma (double __x, double __y, double __z) throw (); extern double __fma (double __x, double __y, double __z) throw (); # 364 "/usr/include/bits/mathcalls.h" 3 4 extern double scalb (double __x, double __n) throw (); extern double __scalb (double __x, double __n) throw (); # 71 "/usr/include/math.h" 2 3 4 # 89 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 54 "/usr/include/bits/mathcalls.h" 3 4 extern float acosf (float __x) throw (); extern float __acosf (float __x) throw (); extern float asinf (float __x) throw (); extern float __asinf (float __x) throw (); extern float atanf (float __x) throw (); extern float __atanf (float __x) throw (); extern float atan2f (float __y, float __x) throw (); extern float __atan2f (float __y, float __x) throw (); extern float cosf (float __x) throw (); extern float __cosf (float __x) throw (); extern float sinf (float __x) throw (); extern float __sinf (float __x) throw (); extern float tanf (float __x) throw (); extern float __tanf (float __x) throw (); extern float coshf (float __x) throw (); extern float __coshf (float __x) throw (); extern float sinhf (float __x) throw (); extern float __sinhf (float __x) throw (); extern float tanhf (float __x) throw (); extern float __tanhf (float __x) throw (); extern void sincosf (float __x, float *__sinx, float *__cosx) throw (); extern void __sincosf (float __x, float *__sinx, float *__cosx) throw (); extern float acoshf (float __x) throw (); extern float __acoshf (float __x) throw (); extern float asinhf (float __x) throw (); extern float __asinhf (float __x) throw (); extern float atanhf (float __x) throw (); extern float __atanhf (float __x) throw (); extern float expf (float __x) throw (); extern float __expf (float __x) throw (); extern float frexpf (float __x, int *__exponent) throw (); extern float __frexpf (float __x, int *__exponent) throw (); extern float ldexpf (float __x, int __exponent) throw (); extern float __ldexpf (float __x, int __exponent) throw (); extern float logf (float __x) throw (); extern float __logf (float __x) throw (); extern float log10f (float __x) throw (); extern float __log10f (float __x) throw (); extern float modff (float __x, float *__iptr) throw (); extern float __modff (float __x, float *__iptr) throw () __attribute__ ((__nonnull__ (2))); extern float exp10f (float __x) throw (); extern float __exp10f (float __x) throw (); extern float pow10f (float __x) throw (); extern float __pow10f (float __x) throw (); extern float expm1f (float __x) throw (); extern float __expm1f (float __x) throw (); extern float log1pf (float __x) throw (); extern float __log1pf (float __x) throw (); extern float logbf (float __x) throw (); extern float __logbf (float __x) throw (); extern float exp2f (float __x) throw (); extern float __exp2f (float __x) throw (); extern float log2f (float __x) throw (); extern float __log2f (float __x) throw (); # 154 "/usr/include/bits/mathcalls.h" 3 4 extern float powf (float __x, float __y) throw (); extern float __powf (float __x, float __y) throw (); extern float sqrtf (float __x) throw (); extern float __sqrtf (float __x) throw (); extern float hypotf (float __x, float __y) throw (); extern float __hypotf (float __x, float __y) throw (); extern float cbrtf (float __x) throw (); extern float __cbrtf (float __x) throw (); # 179 "/usr/include/bits/mathcalls.h" 3 4 extern float ceilf (float __x) throw () __attribute__ ((__const__)); extern float __ceilf (float __x) throw () __attribute__ ((__const__)); extern float fabsf (float __x) throw () __attribute__ ((__const__)); extern float __fabsf (float __x) throw () __attribute__ ((__const__)); extern float floorf (float __x) throw () __attribute__ ((__const__)); extern float __floorf (float __x) throw () __attribute__ ((__const__)); extern float fmodf (float __x, float __y) throw (); extern float __fmodf (float __x, float __y) throw (); extern int __isinff (float __value) throw () __attribute__ ((__const__)); extern int __finitef (float __value) throw () __attribute__ ((__const__)); extern int isinff (float __value) throw () __attribute__ ((__const__)); extern int finitef (float __value) throw () __attribute__ ((__const__)); extern float dremf (float __x, float __y) throw (); extern float __dremf (float __x, float __y) throw (); extern float significandf (float __x) throw (); extern float __significandf (float __x) throw (); extern float copysignf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) throw () __attribute__ ((__const__)); extern float nanf (const char *__tagb) throw () __attribute__ ((__const__)); extern float __nanf (const char *__tagb) throw () __attribute__ ((__const__)); extern int __isnanf (float __value) throw () __attribute__ ((__const__)); extern int isnanf (float __value) throw () __attribute__ ((__const__)); extern float j0f (float) throw (); extern float __j0f (float) throw (); extern float j1f (float) throw (); extern float __j1f (float) throw (); extern float jnf (int, float) throw (); extern float __jnf (int, float) throw (); extern float y0f (float) throw (); extern float __y0f (float) throw (); extern float y1f (float) throw (); extern float __y1f (float) throw (); extern float ynf (int, float) throw (); extern float __ynf (int, float) throw (); extern float erff (float) throw (); extern float __erff (float) throw (); extern float erfcf (float) throw (); extern float __erfcf (float) throw (); extern float lgammaf (float) throw (); extern float __lgammaf (float) throw (); extern float tgammaf (float) throw (); extern float __tgammaf (float) throw (); extern float gammaf (float) throw (); extern float __gammaf (float) throw (); extern float lgammaf_r (float, int *__signgamp) throw (); extern float __lgammaf_r (float, int *__signgamp) throw (); extern float rintf (float __x) throw (); extern float __rintf (float __x) throw (); extern float nextafterf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) throw () __attribute__ ((__const__)); extern float nexttowardf (float __x, long double __y) throw () __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) throw () __attribute__ ((__const__)); extern float remainderf (float __x, float __y) throw (); extern float __remainderf (float __x, float __y) throw (); extern float scalbnf (float __x, int __n) throw (); extern float __scalbnf (float __x, int __n) throw (); extern int ilogbf (float __x) throw (); extern int __ilogbf (float __x) throw (); extern float scalblnf (float __x, long int __n) throw (); extern float __scalblnf (float __x, long int __n) throw (); extern float nearbyintf (float __x) throw (); extern float __nearbyintf (float __x) throw (); extern float roundf (float __x) throw () __attribute__ ((__const__)); extern float __roundf (float __x) throw () __attribute__ ((__const__)); extern float truncf (float __x) throw () __attribute__ ((__const__)); extern float __truncf (float __x) throw () __attribute__ ((__const__)); extern float remquof (float __x, float __y, int *__quo) throw (); extern float __remquof (float __x, float __y, int *__quo) throw (); extern long int lrintf (float __x) throw (); extern long int __lrintf (float __x) throw (); extern long long int llrintf (float __x) throw (); extern long long int __llrintf (float __x) throw (); extern long int lroundf (float __x) throw (); extern long int __lroundf (float __x) throw (); extern long long int llroundf (float __x) throw (); extern long long int __llroundf (float __x) throw (); extern float fdimf (float __x, float __y) throw (); extern float __fdimf (float __x, float __y) throw (); extern float fmaxf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __fmaxf (float __x, float __y) throw () __attribute__ ((__const__)); extern float fminf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __fminf (float __x, float __y) throw () __attribute__ ((__const__)); extern int __fpclassifyf (float __value) throw () __attribute__ ((__const__)); extern int __signbitf (float __value) throw () __attribute__ ((__const__)); extern float fmaf (float __x, float __y, float __z) throw (); extern float __fmaf (float __x, float __y, float __z) throw (); # 364 "/usr/include/bits/mathcalls.h" 3 4 extern float scalbf (float __x, float __n) throw (); extern float __scalbf (float __x, float __n) throw (); # 90 "/usr/include/math.h" 2 3 4 # 133 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 54 "/usr/include/bits/mathcalls.h" 3 4 extern long double acosl (long double __x) throw (); extern long double __acosl (long double __x) throw (); extern long double asinl (long double __x) throw (); extern long double __asinl (long double __x) throw (); extern long double atanl (long double __x) throw (); extern long double __atanl (long double __x) throw (); extern long double atan2l (long double __y, long double __x) throw (); extern long double __atan2l (long double __y, long double __x) throw (); extern long double cosl (long double __x) throw (); extern long double __cosl (long double __x) throw (); extern long double sinl (long double __x) throw (); extern long double __sinl (long double __x) throw (); extern long double tanl (long double __x) throw (); extern long double __tanl (long double __x) throw (); extern long double coshl (long double __x) throw (); extern long double __coshl (long double __x) throw (); extern long double sinhl (long double __x) throw (); extern long double __sinhl (long double __x) throw (); extern long double tanhl (long double __x) throw (); extern long double __tanhl (long double __x) throw (); extern void sincosl (long double __x, long double *__sinx, long double *__cosx) throw (); extern void __sincosl (long double __x, long double *__sinx, long double *__cosx) throw (); extern long double acoshl (long double __x) throw (); extern long double __acoshl (long double __x) throw (); extern long double asinhl (long double __x) throw (); extern long double __asinhl (long double __x) throw (); extern long double atanhl (long double __x) throw (); extern long double __atanhl (long double __x) throw (); extern long double expl (long double __x) throw (); extern long double __expl (long double __x) throw (); extern long double frexpl (long double __x, int *__exponent) throw (); extern long double __frexpl (long double __x, int *__exponent) throw (); extern long double ldexpl (long double __x, int __exponent) throw (); extern long double __ldexpl (long double __x, int __exponent) throw (); extern long double logl (long double __x) throw (); extern long double __logl (long double __x) throw (); extern long double log10l (long double __x) throw (); extern long double __log10l (long double __x) throw (); extern long double modfl (long double __x, long double *__iptr) throw (); extern long double __modfl (long double __x, long double *__iptr) throw () __attribute__ ((__nonnull__ (2))); extern long double exp10l (long double __x) throw (); extern long double __exp10l (long double __x) throw (); extern long double pow10l (long double __x) throw (); extern long double __pow10l (long double __x) throw (); extern long double expm1l (long double __x) throw (); extern long double __expm1l (long double __x) throw (); extern long double log1pl (long double __x) throw (); extern long double __log1pl (long double __x) throw (); extern long double logbl (long double __x) throw (); extern long double __logbl (long double __x) throw (); extern long double exp2l (long double __x) throw (); extern long double __exp2l (long double __x) throw (); extern long double log2l (long double __x) throw (); extern long double __log2l (long double __x) throw (); # 154 "/usr/include/bits/mathcalls.h" 3 4 extern long double powl (long double __x, long double __y) throw (); extern long double __powl (long double __x, long double __y) throw (); extern long double sqrtl (long double __x) throw (); extern long double __sqrtl (long double __x) throw (); extern long double hypotl (long double __x, long double __y) throw (); extern long double __hypotl (long double __x, long double __y) throw (); extern long double cbrtl (long double __x) throw (); extern long double __cbrtl (long double __x) throw (); # 179 "/usr/include/bits/mathcalls.h" 3 4 extern long double ceill (long double __x) throw () __attribute__ ((__const__)); extern long double __ceill (long double __x) throw () __attribute__ ((__const__)); extern long double fabsl (long double __x) throw () __attribute__ ((__const__)); extern long double __fabsl (long double __x) throw () __attribute__ ((__const__)); extern long double floorl (long double __x) throw () __attribute__ ((__const__)); extern long double __floorl (long double __x) throw () __attribute__ ((__const__)); extern long double fmodl (long double __x, long double __y) throw (); extern long double __fmodl (long double __x, long double __y) throw (); extern int __isinfl (long double __value) throw () __attribute__ ((__const__)); extern int __finitel (long double __value) throw () __attribute__ ((__const__)); extern int isinfl (long double __value) throw () __attribute__ ((__const__)); extern int finitel (long double __value) throw () __attribute__ ((__const__)); extern long double dreml (long double __x, long double __y) throw (); extern long double __dreml (long double __x, long double __y) throw (); extern long double significandl (long double __x) throw (); extern long double __significandl (long double __x) throw (); extern long double copysignl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double nanl (const char *__tagb) throw () __attribute__ ((__const__)); extern long double __nanl (const char *__tagb) throw () __attribute__ ((__const__)); extern int __isnanl (long double __value) throw () __attribute__ ((__const__)); extern int isnanl (long double __value) throw () __attribute__ ((__const__)); extern long double j0l (long double) throw (); extern long double __j0l (long double) throw (); extern long double j1l (long double) throw (); extern long double __j1l (long double) throw (); extern long double jnl (int, long double) throw (); extern long double __jnl (int, long double) throw (); extern long double y0l (long double) throw (); extern long double __y0l (long double) throw (); extern long double y1l (long double) throw (); extern long double __y1l (long double) throw (); extern long double ynl (int, long double) throw (); extern long double __ynl (int, long double) throw (); extern long double erfl (long double) throw (); extern long double __erfl (long double) throw (); extern long double erfcl (long double) throw (); extern long double __erfcl (long double) throw (); extern long double lgammal (long double) throw (); extern long double __lgammal (long double) throw (); extern long double tgammal (long double) throw (); extern long double __tgammal (long double) throw (); extern long double gammal (long double) throw (); extern long double __gammal (long double) throw (); extern long double lgammal_r (long double, int *__signgamp) throw (); extern long double __lgammal_r (long double, int *__signgamp) throw (); extern long double rintl (long double __x) throw (); extern long double __rintl (long double __x) throw (); extern long double nextafterl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double nexttowardl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double remainderl (long double __x, long double __y) throw (); extern long double __remainderl (long double __x, long double __y) throw (); extern long double scalbnl (long double __x, int __n) throw (); extern long double __scalbnl (long double __x, int __n) throw (); extern int ilogbl (long double __x) throw (); extern int __ilogbl (long double __x) throw (); extern long double scalblnl (long double __x, long int __n) throw (); extern long double __scalblnl (long double __x, long int __n) throw (); extern long double nearbyintl (long double __x) throw (); extern long double __nearbyintl (long double __x) throw (); extern long double roundl (long double __x) throw () __attribute__ ((__const__)); extern long double __roundl (long double __x) throw () __attribute__ ((__const__)); extern long double truncl (long double __x) throw () __attribute__ ((__const__)); extern long double __truncl (long double __x) throw () __attribute__ ((__const__)); extern long double remquol (long double __x, long double __y, int *__quo) throw (); extern long double __remquol (long double __x, long double __y, int *__quo) throw (); extern long int lrintl (long double __x) throw (); extern long int __lrintl (long double __x) throw (); extern long long int llrintl (long double __x) throw (); extern long long int __llrintl (long double __x) throw (); extern long int lroundl (long double __x) throw (); extern long int __lroundl (long double __x) throw (); extern long long int llroundl (long double __x) throw (); extern long long int __llroundl (long double __x) throw (); extern long double fdiml (long double __x, long double __y) throw (); extern long double __fdiml (long double __x, long double __y) throw (); extern long double fmaxl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __fmaxl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double fminl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __fminl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern int __fpclassifyl (long double __value) throw () __attribute__ ((__const__)); extern int __signbitl (long double __value) throw () __attribute__ ((__const__)); extern long double fmal (long double __x, long double __y, long double __z) throw (); extern long double __fmal (long double __x, long double __y, long double __z) throw (); # 364 "/usr/include/bits/mathcalls.h" 3 4 extern long double scalbl (long double __x, long double __n) throw (); extern long double __scalbl (long double __x, long double __n) throw (); # 134 "/usr/include/math.h" 2 3 4 # 149 "/usr/include/math.h" 3 4 extern int signgam; # 190 "/usr/include/math.h" 3 4 enum { FP_NAN = 0, FP_INFINITE = 1, FP_ZERO = 2, FP_SUBNORMAL = 3, FP_NORMAL = 4 }; # 288 "/usr/include/math.h" 3 4 typedef enum { _IEEE_ = -1, _SVID_, _XOPEN_, _POSIX_, _ISOC_ } _LIB_VERSION_TYPE; extern _LIB_VERSION_TYPE _LIB_VERSION; # 311 "/usr/include/math.h" 3 4 struct __exception { int type; char *name; double arg1; double arg2; double retval; }; extern int matherr (struct __exception *__exc) throw (); # 413 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathinline.h" 1 3 4 # 126 "/usr/include/bits/mathinline.h" 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) int __signbitf (float __x) throw () { int __m; __asm ("pmovmskb %1, %0" : "=r" (__m) : "x" (__x)); return (__m & 0x8) != 0; } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) int __signbit (double __x) throw () { int __m; __asm ("pmovmskb %1, %0" : "=r" (__m) : "x" (__x)); return (__m & 0x80) != 0; } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) int __signbitl (long double __x) throw () { __extension__ union { long double __l; int __i[3]; } __u = { __l: __x }; return (__u.__i[2] & 0x8000) != 0; } # 414 "/usr/include/math.h" 2 3 4 # 475 "/usr/include/math.h" 3 4 } # 46 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/std_abs.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/std_abs.h" 3 # 1 "/usr/include/stdlib.h" 1 3 4 # 32 "/usr/include/stdlib.h" 3 4 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 4 # 46 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 33 "/usr/include/stdlib.h" 2 3 4 extern "C" { # 1 "/usr/include/bits/waitflags.h" 1 3 4 # 42 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/bits/waitstatus.h" 1 3 4 # 64 "/usr/include/bits/waitstatus.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 36 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 2 3 4 # 60 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 27 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 27 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 28 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 130 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 131 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 28 "/usr/include/bits/byteswap.h" 2 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 1 "/usr/include/bits/byteswap-16.h" 1 3 4 # 36 "/usr/include/bits/byteswap.h" 2 3 4 # 61 "/usr/include/endian.h" 2 3 4 # 65 "/usr/include/bits/waitstatus.h" 2 3 4 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; } __wait_stopped; }; # 43 "/usr/include/stdlib.h" 2 3 4 # 97 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 139 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) throw () ; extern double atof (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); # 235 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/xlocale.h" 1 3 4 # 27 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 236 "/usr/include/stdlib.h" 2 3 4 extern long int strtol_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); extern unsigned long int strtoul_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); __extension__ extern long long int strtoll_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); __extension__ extern unsigned long long int strtoull_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); extern double strtod_l (const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); extern float strtof_l (const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); extern long double strtold_l (const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); extern __inline __attribute__ ((__gnu_inline__)) int atoi (const char *__nptr) throw () { return (int) strtol (__nptr, (char **) __null, 10); } extern __inline __attribute__ ((__gnu_inline__)) long int atol (const char *__nptr) throw () { return strtol (__nptr, (char **) __null, 10); } __extension__ extern __inline __attribute__ ((__gnu_inline__)) long long int atoll (const char *__nptr) throw () { return strtoll (__nptr, (char **) __null, 10); } # 305 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) throw () ; extern long int a64l (const char *__s) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/sys/types.h" 1 3 4 # 27 "/usr/include/sys/types.h" 3 4 extern "C" { typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; typedef __ino64_t ino64_t; typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; typedef __off64_t off64_t; typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 132 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 59 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 75 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 91 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 103 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 133 "/usr/include/sys/types.h" 2 3 4 typedef __useconds_t useconds_t; typedef __suseconds_t suseconds_t; # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 4 # 147 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 194 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 219 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 30 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 22 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 23 "/usr/include/bits/select.h" 2 3 4 # 31 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 23 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 44 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 30 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 46 "/usr/include/sys/select.h" 2 3 4 typedef long int __fd_mask; # 64 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 96 "/usr/include/sys/select.h" 3 4 extern "C" { # 106 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 118 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 131 "/usr/include/sys/select.h" 3 4 } # 220 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 29 "/usr/include/sys/sysmacros.h" 3 4 extern "C" { __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) throw () __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) throw () __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int gnu_dev_major (unsigned long long int __dev) throw () { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int gnu_dev_minor (unsigned long long int __dev) throw () { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } } # 223 "/usr/include/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 262 "/usr/include/sys/types.h" 3 4 typedef __blkcnt64_t blkcnt64_t; typedef __fsblkcnt64_t fsblkcnt64_t; typedef __fsfilcnt64_t fsfilcnt64_t; # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 21 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 60 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 90 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; short __spins; short __elision; __pthread_list_t __list; # 125 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 212 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 } # 315 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) throw (); extern void srandom (unsigned int __seed) throw (); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) throw () __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) throw () __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) throw () __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) throw () __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) throw (); extern void srand (unsigned int __seed) throw (); extern int rand_r (unsigned int *__seed) throw (); extern double drand48 (void) throw (); extern double erand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) throw (); extern long int nrand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) throw (); extern long int jrand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) throw (); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) throw () __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) throw () __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); # 465 "/usr/include/stdlib.h" 3 4 extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) throw () __attribute__ ((__malloc__)) ; # 479 "/usr/include/stdlib.h" 3 4 extern void *realloc (void *__ptr, size_t __size) throw () __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) throw (); extern void cfree (void *__ptr) throw (); # 1 "/usr/include/alloca.h" 1 3 4 # 24 "/usr/include/alloca.h" 3 4 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 4 # 25 "/usr/include/alloca.h" 2 3 4 extern "C" { extern void *alloca (size_t __size) throw (); } # 492 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) throw () __attribute__ ((__nonnull__ (1))) ; extern void *aligned_alloc (size_t __alignment, size_t __size) throw () __attribute__ ((__malloc__, __alloc_size__ (2))); extern void abort (void) throw () __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) throw () __attribute__ ((__nonnull__ (1))); extern "C++" int at_quick_exit (void (*__func) (void)) throw () __asm ("at_quick_exit") __attribute__ ((__nonnull__ (1))); # 534 "/usr/include/stdlib.h" 3 4 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) throw () __attribute__ ((__nonnull__ (1))); extern void exit (int __status) throw () __attribute__ ((__noreturn__)); extern void quick_exit (int __status) throw () __attribute__ ((__noreturn__)); extern void _Exit (int __status) throw () __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern char *secure_getenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern int putenv (char *__string) throw () __attribute__ ((__nonnull__ (1))); extern int setenv (const char *__name, const char *__value, int __replace) throw () __attribute__ ((__nonnull__ (2))); extern int unsetenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))); extern int clearenv (void) throw (); # 605 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) throw () __attribute__ ((__nonnull__ (1))); # 619 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 629 "/usr/include/stdlib.h" 3 4 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ; # 641 "/usr/include/stdlib.h" 3 4 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 651 "/usr/include/stdlib.h" 3 4 extern int mkstemps64 (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 662 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ; # 673 "/usr/include/stdlib.h" 3 4 extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; # 683 "/usr/include/stdlib.h" 3 4 extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; # 693 "/usr/include/stdlib.h" 3 4 extern int mkostemps (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; # 705 "/usr/include/stdlib.h" 3 4 extern int mkostemps64 (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; # 716 "/usr/include/stdlib.h" 3 4 extern int system (const char *__command) ; extern char *canonicalize_file_name (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; # 733 "/usr/include/stdlib.h" 3 4 extern char *realpath (const char *__restrict __name, char *__restrict __resolved) throw () ; typedef int (*__compar_fn_t) (const void *, const void *); typedef __compar_fn_t comparison_fn_t; typedef int (*__compar_d_fn_t) (const void *, const void *, void *); extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern void qsort_r (void *__base, size_t __nmemb, size_t __size, __compar_d_fn_t __compar, void *__arg) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) throw () __attribute__ ((__const__)) ; extern long int labs (long int __x) throw () __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) throw () __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) throw () __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) throw () __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) throw () __attribute__ ((__const__)) ; # 807 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) throw () __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) throw () __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (const char *__s, size_t __n) throw () ; extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) throw () ; extern int wctomb (char *__s, wchar_t __wchar) throw () ; extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) throw (); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) throw (); # 884 "/usr/include/stdlib.h" 3 4 extern int rpmatch (const char *__response) throw () __attribute__ ((__nonnull__ (1))) ; # 895 "/usr/include/stdlib.h" 3 4 extern int getsubopt (char **__restrict __optionp, char *const *__restrict __tokens, char **__restrict __valuep) throw () __attribute__ ((__nonnull__ (1, 2, 3))) ; extern void setkey (const char *__key) throw () __attribute__ ((__nonnull__ (1))); extern int posix_openpt (int __oflag) ; extern int grantpt (int __fd) throw (); extern int unlockpt (int __fd) throw (); extern char *ptsname (int __fd) throw () ; extern int ptsname_r (int __fd, char *__buf, size_t __buflen) throw () __attribute__ ((__nonnull__ (2))); extern int getpt (void); extern int getloadavg (double __loadavg[], int __nelem) throw () __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/bits/stdlib-float.h" 1 3 4 # 25 "/usr/include/bits/stdlib-float.h" 3 4 extern __inline __attribute__ ((__gnu_inline__)) double atof (const char *__nptr) throw () { return strtod (__nptr, (char **) __null); } # 952 "/usr/include/stdlib.h" 2 3 4 # 964 "/usr/include/stdlib.h" 3 4 } # 39 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/std_abs.h" 2 3 extern "C++" { namespace std __attribute__ ((__visibility__ ("default"))) { using ::abs; inline long abs(long __i) { return __builtin_labs(__i); } inline long long abs(long long __x) { return __builtin_llabs (__x); } # 70 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/std_abs.h" 3 inline constexpr double abs(double __x) { return __builtin_fabs(__x); } inline constexpr float abs(float __x) { return __builtin_fabsf(__x); } inline constexpr long double abs(long double __x) { return __builtin_fabsl(__x); } # 108 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/std_abs.h" 3 } } # 48 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 2 3 # 77 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 3 extern "C++" { namespace std __attribute__ ((__visibility__ ("default"))) { using ::acos; inline constexpr float acos(float __x) { return __builtin_acosf(__x); } inline constexpr long double acos(long double __x) { return __builtin_acosl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type acos(_Tp __x) { return __builtin_acos(__x); } using ::asin; inline constexpr float asin(float __x) { return __builtin_asinf(__x); } inline constexpr long double asin(long double __x) { return __builtin_asinl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type asin(_Tp __x) { return __builtin_asin(__x); } using ::atan; inline constexpr float atan(float __x) { return __builtin_atanf(__x); } inline constexpr long double atan(long double __x) { return __builtin_atanl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type atan(_Tp __x) { return __builtin_atan(__x); } using ::atan2; inline constexpr float atan2(float __y, float __x) { return __builtin_atan2f(__y, __x); } inline constexpr long double atan2(long double __y, long double __x) { return __builtin_atan2l(__y, __x); } template inline constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type atan2(_Tp __y, _Up __x) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return atan2(__type(__y), __type(__x)); } using ::ceil; inline constexpr float ceil(float __x) { return __builtin_ceilf(__x); } inline constexpr long double ceil(long double __x) { return __builtin_ceill(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type ceil(_Tp __x) { return __builtin_ceil(__x); } using ::cos; inline constexpr float cos(float __x) { return __builtin_cosf(__x); } inline constexpr long double cos(long double __x) { return __builtin_cosl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type cos(_Tp __x) { return __builtin_cos(__x); } using ::cosh; inline constexpr float cosh(float __x) { return __builtin_coshf(__x); } inline constexpr long double cosh(long double __x) { return __builtin_coshl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type cosh(_Tp __x) { return __builtin_cosh(__x); } using ::exp; inline constexpr float exp(float __x) { return __builtin_expf(__x); } inline constexpr long double exp(long double __x) { return __builtin_expl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type exp(_Tp __x) { return __builtin_exp(__x); } using ::fabs; inline constexpr float fabs(float __x) { return __builtin_fabsf(__x); } inline constexpr long double fabs(long double __x) { return __builtin_fabsl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type fabs(_Tp __x) { return __builtin_fabs(__x); } using ::floor; inline constexpr float floor(float __x) { return __builtin_floorf(__x); } inline constexpr long double floor(long double __x) { return __builtin_floorl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type floor(_Tp __x) { return __builtin_floor(__x); } using ::fmod; inline constexpr float fmod(float __x, float __y) { return __builtin_fmodf(__x, __y); } inline constexpr long double fmod(long double __x, long double __y) { return __builtin_fmodl(__x, __y); } template inline constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type fmod(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return fmod(__type(__x), __type(__y)); } using ::frexp; inline float frexp(float __x, int* __exp) { return __builtin_frexpf(__x, __exp); } inline long double frexp(long double __x, int* __exp) { return __builtin_frexpl(__x, __exp); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type frexp(_Tp __x, int* __exp) { return __builtin_frexp(__x, __exp); } using ::ldexp; inline constexpr float ldexp(float __x, int __exp) { return __builtin_ldexpf(__x, __exp); } inline constexpr long double ldexp(long double __x, int __exp) { return __builtin_ldexpl(__x, __exp); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type ldexp(_Tp __x, int __exp) { return __builtin_ldexp(__x, __exp); } using ::log; inline constexpr float log(float __x) { return __builtin_logf(__x); } inline constexpr long double log(long double __x) { return __builtin_logl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type log(_Tp __x) { return __builtin_log(__x); } using ::log10; inline constexpr float log10(float __x) { return __builtin_log10f(__x); } inline constexpr long double log10(long double __x) { return __builtin_log10l(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type log10(_Tp __x) { return __builtin_log10(__x); } using ::modf; inline float modf(float __x, float* __iptr) { return __builtin_modff(__x, __iptr); } inline long double modf(long double __x, long double* __iptr) { return __builtin_modfl(__x, __iptr); } using ::pow; inline constexpr float pow(float __x, float __y) { return __builtin_powf(__x, __y); } inline constexpr long double pow(long double __x, long double __y) { return __builtin_powl(__x, __y); } # 412 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 3 template inline constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type pow(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return pow(__type(__x), __type(__y)); } using ::sin; inline constexpr float sin(float __x) { return __builtin_sinf(__x); } inline constexpr long double sin(long double __x) { return __builtin_sinl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type sin(_Tp __x) { return __builtin_sin(__x); } using ::sinh; inline constexpr float sinh(float __x) { return __builtin_sinhf(__x); } inline constexpr long double sinh(long double __x) { return __builtin_sinhl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type sinh(_Tp __x) { return __builtin_sinh(__x); } using ::sqrt; inline constexpr float sqrt(float __x) { return __builtin_sqrtf(__x); } inline constexpr long double sqrt(long double __x) { return __builtin_sqrtl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type sqrt(_Tp __x) { return __builtin_sqrt(__x); } using ::tan; inline constexpr float tan(float __x) { return __builtin_tanf(__x); } inline constexpr long double tan(long double __x) { return __builtin_tanl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type tan(_Tp __x) { return __builtin_tan(__x); } using ::tanh; inline constexpr float tanh(float __x) { return __builtin_tanhf(__x); } inline constexpr long double tanh(long double __x) { return __builtin_tanhl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type tanh(_Tp __x) { return __builtin_tanh(__x); } # 536 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 3 constexpr int fpclassify(float __x) { return __builtin_fpclassify(0, 1, 4, 3, 2, __x); } constexpr int fpclassify(double __x) { return __builtin_fpclassify(0, 1, 4, 3, 2, __x); } constexpr int fpclassify(long double __x) { return __builtin_fpclassify(0, 1, 4, 3, 2, __x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, int>::__type fpclassify(_Tp __x) { return __x != 0 ? 4 : 2; } constexpr bool isfinite(float __x) { return __builtin_isfinite(__x); } constexpr bool isfinite(double __x) { return __builtin_isfinite(__x); } constexpr bool isfinite(long double __x) { return __builtin_isfinite(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, bool>::__type isfinite(_Tp __x) { return true; } constexpr bool isinf(float __x) { return __builtin_isinf(__x); } using ::isinf; constexpr bool isinf(long double __x) { return __builtin_isinf(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, bool>::__type isinf(_Tp __x) { return false; } constexpr bool isnan(float __x) { return __builtin_isnan(__x); } using ::isnan; constexpr bool isnan(long double __x) { return __builtin_isnan(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, bool>::__type isnan(_Tp __x) { return false; } constexpr bool isnormal(float __x) { return __builtin_isnormal(__x); } constexpr bool isnormal(double __x) { return __builtin_isnormal(__x); } constexpr bool isnormal(long double __x) { return __builtin_isnormal(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, bool>::__type isnormal(_Tp __x) { return __x != 0 ? true : false; } constexpr bool signbit(float __x) { return __builtin_signbit(__x); } constexpr bool signbit(double __x) { return __builtin_signbit(__x); } constexpr bool signbit(long double __x) { return __builtin_signbit(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, bool>::__type signbit(_Tp __x) { return __x < 0 ? true : false; } constexpr bool isgreater(float __x, float __y) { return __builtin_isgreater(__x, __y); } constexpr bool isgreater(double __x, double __y) { return __builtin_isgreater(__x, __y); } constexpr bool isgreater(long double __x, long double __y) { return __builtin_isgreater(__x, __y); } template constexpr typename __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value && __is_arithmetic<_Up>::__value), bool>::__type isgreater(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return __builtin_isgreater(__type(__x), __type(__y)); } constexpr bool isgreaterequal(float __x, float __y) { return __builtin_isgreaterequal(__x, __y); } constexpr bool isgreaterequal(double __x, double __y) { return __builtin_isgreaterequal(__x, __y); } constexpr bool isgreaterequal(long double __x, long double __y) { return __builtin_isgreaterequal(__x, __y); } template constexpr typename __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value && __is_arithmetic<_Up>::__value), bool>::__type isgreaterequal(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return __builtin_isgreaterequal(__type(__x), __type(__y)); } constexpr bool isless(float __x, float __y) { return __builtin_isless(__x, __y); } constexpr bool isless(double __x, double __y) { return __builtin_isless(__x, __y); } constexpr bool isless(long double __x, long double __y) { return __builtin_isless(__x, __y); } template constexpr typename __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value && __is_arithmetic<_Up>::__value), bool>::__type isless(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return __builtin_isless(__type(__x), __type(__y)); } constexpr bool islessequal(float __x, float __y) { return __builtin_islessequal(__x, __y); } constexpr bool islessequal(double __x, double __y) { return __builtin_islessequal(__x, __y); } constexpr bool islessequal(long double __x, long double __y) { return __builtin_islessequal(__x, __y); } template constexpr typename __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value && __is_arithmetic<_Up>::__value), bool>::__type islessequal(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return __builtin_islessequal(__type(__x), __type(__y)); } constexpr bool islessgreater(float __x, float __y) { return __builtin_islessgreater(__x, __y); } constexpr bool islessgreater(double __x, double __y) { return __builtin_islessgreater(__x, __y); } constexpr bool islessgreater(long double __x, long double __y) { return __builtin_islessgreater(__x, __y); } template constexpr typename __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value && __is_arithmetic<_Up>::__value), bool>::__type islessgreater(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return __builtin_islessgreater(__type(__x), __type(__y)); } constexpr bool isunordered(float __x, float __y) { return __builtin_isunordered(__x, __y); } constexpr bool isunordered(double __x, double __y) { return __builtin_isunordered(__x, __y); } constexpr bool isunordered(long double __x, long double __y) { return __builtin_isunordered(__x, __y); } template constexpr typename __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value && __is_arithmetic<_Up>::__value), bool>::__type isunordered(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return __builtin_isunordered(__type(__x), __type(__y)); } # 1065 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 3 using ::double_t; using ::float_t; using ::acosh; using ::acoshf; using ::acoshl; using ::asinh; using ::asinhf; using ::asinhl; using ::atanh; using ::atanhf; using ::atanhl; using ::cbrt; using ::cbrtf; using ::cbrtl; using ::copysign; using ::copysignf; using ::copysignl; using ::erf; using ::erff; using ::erfl; using ::erfc; using ::erfcf; using ::erfcl; using ::exp2; using ::exp2f; using ::exp2l; using ::expm1; using ::expm1f; using ::expm1l; using ::fdim; using ::fdimf; using ::fdiml; using ::fma; using ::fmaf; using ::fmal; using ::fmax; using ::fmaxf; using ::fmaxl; using ::fmin; using ::fminf; using ::fminl; using ::hypot; using ::hypotf; using ::hypotl; using ::ilogb; using ::ilogbf; using ::ilogbl; using ::lgamma; using ::lgammaf; using ::lgammal; using ::llrint; using ::llrintf; using ::llrintl; using ::llround; using ::llroundf; using ::llroundl; using ::log1p; using ::log1pf; using ::log1pl; using ::log2; using ::log2f; using ::log2l; using ::logb; using ::logbf; using ::logbl; using ::lrint; using ::lrintf; using ::lrintl; using ::lround; using ::lroundf; using ::lroundl; using ::nan; using ::nanf; using ::nanl; using ::nearbyint; using ::nearbyintf; using ::nearbyintl; using ::nextafter; using ::nextafterf; using ::nextafterl; using ::nexttoward; using ::nexttowardf; using ::nexttowardl; using ::remainder; using ::remainderf; using ::remainderl; using ::remquo; using ::remquof; using ::remquol; using ::rint; using ::rintf; using ::rintl; using ::round; using ::roundf; using ::roundl; using ::scalbln; using ::scalblnf; using ::scalblnl; using ::scalbn; using ::scalbnf; using ::scalbnl; using ::tgamma; using ::tgammaf; using ::tgammal; using ::trunc; using ::truncf; using ::truncl; constexpr float acosh(float __x) { return __builtin_acoshf(__x); } constexpr long double acosh(long double __x) { return __builtin_acoshl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type acosh(_Tp __x) { return __builtin_acosh(__x); } constexpr float asinh(float __x) { return __builtin_asinhf(__x); } constexpr long double asinh(long double __x) { return __builtin_asinhl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type asinh(_Tp __x) { return __builtin_asinh(__x); } constexpr float atanh(float __x) { return __builtin_atanhf(__x); } constexpr long double atanh(long double __x) { return __builtin_atanhl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type atanh(_Tp __x) { return __builtin_atanh(__x); } constexpr float cbrt(float __x) { return __builtin_cbrtf(__x); } constexpr long double cbrt(long double __x) { return __builtin_cbrtl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type cbrt(_Tp __x) { return __builtin_cbrt(__x); } constexpr float copysign(float __x, float __y) { return __builtin_copysignf(__x, __y); } constexpr long double copysign(long double __x, long double __y) { return __builtin_copysignl(__x, __y); } template constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type copysign(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return copysign(__type(__x), __type(__y)); } constexpr float erf(float __x) { return __builtin_erff(__x); } constexpr long double erf(long double __x) { return __builtin_erfl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type erf(_Tp __x) { return __builtin_erf(__x); } constexpr float erfc(float __x) { return __builtin_erfcf(__x); } constexpr long double erfc(long double __x) { return __builtin_erfcl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type erfc(_Tp __x) { return __builtin_erfc(__x); } constexpr float exp2(float __x) { return __builtin_exp2f(__x); } constexpr long double exp2(long double __x) { return __builtin_exp2l(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type exp2(_Tp __x) { return __builtin_exp2(__x); } constexpr float expm1(float __x) { return __builtin_expm1f(__x); } constexpr long double expm1(long double __x) { return __builtin_expm1l(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type expm1(_Tp __x) { return __builtin_expm1(__x); } constexpr float fdim(float __x, float __y) { return __builtin_fdimf(__x, __y); } constexpr long double fdim(long double __x, long double __y) { return __builtin_fdiml(__x, __y); } template constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type fdim(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return fdim(__type(__x), __type(__y)); } constexpr float fma(float __x, float __y, float __z) { return __builtin_fmaf(__x, __y, __z); } constexpr long double fma(long double __x, long double __y, long double __z) { return __builtin_fmal(__x, __y, __z); } template constexpr typename __gnu_cxx::__promote_3<_Tp, _Up, _Vp>::__type fma(_Tp __x, _Up __y, _Vp __z) { typedef typename __gnu_cxx::__promote_3<_Tp, _Up, _Vp>::__type __type; return fma(__type(__x), __type(__y), __type(__z)); } constexpr float fmax(float __x, float __y) { return __builtin_fmaxf(__x, __y); } constexpr long double fmax(long double __x, long double __y) { return __builtin_fmaxl(__x, __y); } template constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type fmax(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return fmax(__type(__x), __type(__y)); } constexpr float fmin(float __x, float __y) { return __builtin_fminf(__x, __y); } constexpr long double fmin(long double __x, long double __y) { return __builtin_fminl(__x, __y); } template constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type fmin(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return fmin(__type(__x), __type(__y)); } constexpr float hypot(float __x, float __y) { return __builtin_hypotf(__x, __y); } constexpr long double hypot(long double __x, long double __y) { return __builtin_hypotl(__x, __y); } template constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type hypot(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return hypot(__type(__x), __type(__y)); } constexpr int ilogb(float __x) { return __builtin_ilogbf(__x); } constexpr int ilogb(long double __x) { return __builtin_ilogbl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, int>::__type ilogb(_Tp __x) { return __builtin_ilogb(__x); } constexpr float lgamma(float __x) { return __builtin_lgammaf(__x); } constexpr long double lgamma(long double __x) { return __builtin_lgammal(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type lgamma(_Tp __x) { return __builtin_lgamma(__x); } constexpr long long llrint(float __x) { return __builtin_llrintf(__x); } constexpr long long llrint(long double __x) { return __builtin_llrintl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, long long>::__type llrint(_Tp __x) { return __builtin_llrint(__x); } constexpr long long llround(float __x) { return __builtin_llroundf(__x); } constexpr long long llround(long double __x) { return __builtin_llroundl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, long long>::__type llround(_Tp __x) { return __builtin_llround(__x); } constexpr float log1p(float __x) { return __builtin_log1pf(__x); } constexpr long double log1p(long double __x) { return __builtin_log1pl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type log1p(_Tp __x) { return __builtin_log1p(__x); } constexpr float log2(float __x) { return __builtin_log2f(__x); } constexpr long double log2(long double __x) { return __builtin_log2l(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type log2(_Tp __x) { return __builtin_log2(__x); } constexpr float logb(float __x) { return __builtin_logbf(__x); } constexpr long double logb(long double __x) { return __builtin_logbl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type logb(_Tp __x) { return __builtin_logb(__x); } constexpr long lrint(float __x) { return __builtin_lrintf(__x); } constexpr long lrint(long double __x) { return __builtin_lrintl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, long>::__type lrint(_Tp __x) { return __builtin_lrint(__x); } constexpr long lround(float __x) { return __builtin_lroundf(__x); } constexpr long lround(long double __x) { return __builtin_lroundl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, long>::__type lround(_Tp __x) { return __builtin_lround(__x); } constexpr float nearbyint(float __x) { return __builtin_nearbyintf(__x); } constexpr long double nearbyint(long double __x) { return __builtin_nearbyintl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type nearbyint(_Tp __x) { return __builtin_nearbyint(__x); } constexpr float nextafter(float __x, float __y) { return __builtin_nextafterf(__x, __y); } constexpr long double nextafter(long double __x, long double __y) { return __builtin_nextafterl(__x, __y); } template constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type nextafter(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return nextafter(__type(__x), __type(__y)); } constexpr float nexttoward(float __x, long double __y) { return __builtin_nexttowardf(__x, __y); } constexpr long double nexttoward(long double __x, long double __y) { return __builtin_nexttowardl(__x, __y); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type nexttoward(_Tp __x, long double __y) { return __builtin_nexttoward(__x, __y); } constexpr float remainder(float __x, float __y) { return __builtin_remainderf(__x, __y); } constexpr long double remainder(long double __x, long double __y) { return __builtin_remainderl(__x, __y); } template constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type remainder(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return remainder(__type(__x), __type(__y)); } inline float remquo(float __x, float __y, int* __pquo) { return __builtin_remquof(__x, __y, __pquo); } inline long double remquo(long double __x, long double __y, int* __pquo) { return __builtin_remquol(__x, __y, __pquo); } template inline typename __gnu_cxx::__promote_2<_Tp, _Up>::__type remquo(_Tp __x, _Up __y, int* __pquo) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return remquo(__type(__x), __type(__y), __pquo); } constexpr float rint(float __x) { return __builtin_rintf(__x); } constexpr long double rint(long double __x) { return __builtin_rintl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type rint(_Tp __x) { return __builtin_rint(__x); } constexpr float round(float __x) { return __builtin_roundf(__x); } constexpr long double round(long double __x) { return __builtin_roundl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type round(_Tp __x) { return __builtin_round(__x); } constexpr float scalbln(float __x, long __ex) { return __builtin_scalblnf(__x, __ex); } constexpr long double scalbln(long double __x, long __ex) { return __builtin_scalblnl(__x, __ex); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type scalbln(_Tp __x, long __ex) { return __builtin_scalbln(__x, __ex); } constexpr float scalbn(float __x, int __ex) { return __builtin_scalbnf(__x, __ex); } constexpr long double scalbn(long double __x, int __ex) { return __builtin_scalbnl(__x, __ex); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type scalbn(_Tp __x, int __ex) { return __builtin_scalbn(__x, __ex); } constexpr float tgamma(float __x) { return __builtin_tgammaf(__x); } constexpr long double tgamma(long double __x) { return __builtin_tgammal(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type tgamma(_Tp __x) { return __builtin_tgamma(__x); } constexpr float trunc(float __x) { return __builtin_truncf(__x); } constexpr long double trunc(long double __x) { return __builtin_truncl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type trunc(_Tp __x) { return __builtin_trunc(__x); } # 1924 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 3 } } # 51 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 3 # 121 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 3 extern "C++" { namespace std __attribute__ ((__visibility__ ("default"))) { using ::div_t; using ::ldiv_t; using ::abort; using ::atexit; using ::at_quick_exit; using ::atof; using ::atoi; using ::atol; using ::bsearch; using ::calloc; using ::div; using ::exit; using ::free; using ::getenv; using ::labs; using ::ldiv; using ::malloc; using ::mblen; using ::mbstowcs; using ::mbtowc; using ::qsort; using ::quick_exit; using ::rand; using ::realloc; using ::srand; using ::strtod; using ::strtol; using ::strtoul; using ::system; using ::wcstombs; using ::wctomb; inline ldiv_t div(long __i, long __j) { return ldiv(__i, __j); } } # 195 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { using ::lldiv_t; using ::_Exit; using ::llabs; inline lldiv_t div(long long __n, long long __d) { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } using ::lldiv; # 227 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 3 using ::atoll; using ::strtoll; using ::strtoull; using ::strtof; using ::strtold; } namespace std { using ::__gnu_cxx::lldiv_t; using ::__gnu_cxx::_Exit; using ::__gnu_cxx::llabs; using ::__gnu_cxx::div; using ::__gnu_cxx::lldiv; using ::__gnu_cxx::atoll; using ::__gnu_cxx::strtof; using ::__gnu_cxx::strtoll; using ::__gnu_cxx::strtoull; using ::__gnu_cxx::strtold; } } # 52 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/stdlib.h" 1 3 # 36 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/stdlib.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/stdlib.h" 2 3 using std::abort; using std::atexit; using std::exit; using std::at_quick_exit; using std::quick_exit; using std::div_t; using std::ldiv_t; using std::abs; using std::atof; using std::atoi; using std::atol; using std::bsearch; using std::calloc; using std::div; using std::free; using std::getenv; using std::labs; using std::ldiv; using std::malloc; using std::mblen; using std::mbstowcs; using std::mbtowc; using std::qsort; using std::rand; using std::realloc; using std::srand; using std::strtod; using std::strtol; using std::strtoul; using std::system; using std::wcstombs; using std::wctomb; # 53 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 2 3 # 71 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 3 typedef long unsigned int __hip_size_t; extern "C" { # 87 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 3 __attribute__((weak)) inline __attribute__((device)) void *malloc(__hip_size_t __size) { __builtin_trap(); return (void *)0; } __attribute__((weak)) inline __attribute__((device)) void *free(void *__ptr) { __builtin_trap(); return (void *)0; } } # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h" 1 3 # 14 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h" 3 extern "C" { __attribute__((device)) __attribute__((const)) float __ocml_acos_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_acosh_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_asin_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_asinh_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_atan2_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_atan_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_atanh_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_cbrt_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_ceil_f32(float); __attribute__((device)) __attribute__((const)) __attribute__((device)) float __ocml_copysign_f32(float, float); __attribute__((device)) float __ocml_cos_f32(float); __attribute__((device)) float __ocml_native_cos_f32(float); __attribute__((device)) __attribute__((pure)) __attribute__((device)) float __ocml_cosh_f32(float); __attribute__((device)) float __ocml_cospi_f32(float); __attribute__((device)) float __ocml_i0_f32(float); __attribute__((device)) float __ocml_i1_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_erfc_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_erfcinv_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_erfcx_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_erf_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_erfinv_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_exp10_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_native_exp10_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_exp2_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_exp_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_native_exp_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_expm1_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_fabs_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_fdim_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_floor_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_fma_f32(float, float, float); __attribute__((device)) __attribute__((const)) float __ocml_fmax_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_fmin_f32(float, float); __attribute__((device)) __attribute__((const)) __attribute__((device)) float __ocml_fmod_f32(float, float); __attribute__((device)) float __ocml_frexp_f32(float, __attribute__((address_space(5))) int *); __attribute__((device)) __attribute__((const)) float __ocml_hypot_f32(float, float); __attribute__((device)) __attribute__((const)) int __ocml_ilogb_f32(float); __attribute__((device)) __attribute__((const)) int __ocml_isfinite_f32(float); __attribute__((device)) __attribute__((const)) int __ocml_isinf_f32(float); __attribute__((device)) __attribute__((const)) int __ocml_isnan_f32(float); __attribute__((device)) float __ocml_j0_f32(float); __attribute__((device)) float __ocml_j1_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_ldexp_f32(float, int); __attribute__((device)) float __ocml_lgamma_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_log10_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_native_log10_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_log1p_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_log2_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_native_log2_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_logb_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_log_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_native_log_f32(float); __attribute__((device)) float __ocml_modf_f32(float, __attribute__((address_space(5))) float *); __attribute__((device)) __attribute__((const)) float __ocml_nearbyint_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_nextafter_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_len3_f32(float, float, float); __attribute__((device)) __attribute__((const)) float __ocml_len4_f32(float, float, float, float); __attribute__((device)) __attribute__((pure)) float __ocml_ncdf_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_ncdfinv_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_pow_f32(float, float); __attribute__((device)) __attribute__((pure)) float __ocml_pown_f32(float, int); __attribute__((device)) __attribute__((pure)) float __ocml_rcbrt_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_remainder_f32(float, float); __attribute__((device)) float __ocml_remquo_f32(float, float, __attribute__((address_space(5))) int *); __attribute__((device)) __attribute__((const)) float __ocml_rhypot_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_rint_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_rlen3_f32(float, float, float); __attribute__((device)) __attribute__((const)) float __ocml_rlen4_f32(float, float, float, float); __attribute__((device)) __attribute__((const)) float __ocml_round_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_rsqrt_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_scalb_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_scalbn_f32(float, int); __attribute__((device)) __attribute__((const)) int __ocml_signbit_f32(float); __attribute__((device)) float __ocml_sincos_f32(float, __attribute__((address_space(5))) float *); __attribute__((device)) float __ocml_sincospi_f32(float, __attribute__((address_space(5))) float *); __attribute__((device)) float __ocml_sin_f32(float); __attribute__((device)) float __ocml_native_sin_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_sinh_f32(float); __attribute__((device)) float __ocml_sinpi_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_sqrt_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_native_sqrt_f32(float); __attribute__((device)) float __ocml_tan_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_tanh_f32(float); __attribute__((device)) float __ocml_tgamma_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_trunc_f32(float); __attribute__((device)) float __ocml_y0_f32(float); __attribute__((device)) float __ocml_y1_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_add_rte_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_add_rtn_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_add_rtp_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_add_rtz_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_sub_rte_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_sub_rtn_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_sub_rtp_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_sub_rtz_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_mul_rte_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_mul_rtn_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_mul_rtp_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_mul_rtz_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_div_rte_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_div_rtn_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_div_rtp_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_div_rtz_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_sqrt_rte_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_sqrt_rtn_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_sqrt_rtp_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_sqrt_rtz_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_fma_rte_f32(float, float, float); __attribute__((device)) __attribute__((const)) float __ocml_fma_rtn_f32(float, float, float); __attribute__((device)) __attribute__((const)) float __ocml_fma_rtp_f32(float, float, float); __attribute__((device)) __attribute__((const)) float __ocml_fma_rtz_f32(float, float, float); __attribute__((device)) inline __attribute__((const)) float __llvm_amdgcn_cos_f32(float __x) { return __builtin_amdgcn_cosf(__x); } __attribute__((device)) inline __attribute__((const)) float __llvm_amdgcn_rcp_f32(float __x) { return __builtin_amdgcn_rcpf(__x); } __attribute__((device)) inline __attribute__((const)) float __llvm_amdgcn_rsq_f32(float __x) { return __builtin_amdgcn_rsqf(__x); } __attribute__((device)) inline __attribute__((const)) float __llvm_amdgcn_sin_f32(float __x) { return __builtin_amdgcn_sinf(__x); } __attribute__((device)) __attribute__((const)) double __ocml_acos_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_acosh_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_asin_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_asinh_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_atan2_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_atan_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_atanh_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_cbrt_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_ceil_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_copysign_f64(double, double); __attribute__((device)) double __ocml_cos_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_cosh_f64(double); __attribute__((device)) double __ocml_cospi_f64(double); __attribute__((device)) double __ocml_i0_f64(double); __attribute__((device)) double __ocml_i1_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_erfc_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_erfcinv_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_erfcx_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_erf_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_erfinv_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_exp10_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_exp2_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_exp_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_expm1_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_fabs_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_fdim_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_floor_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_fma_f64(double, double, double); __attribute__((device)) __attribute__((const)) double __ocml_fmax_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_fmin_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_fmod_f64(double, double); __attribute__((device)) double __ocml_frexp_f64(double, __attribute__((address_space(5))) int *); __attribute__((device)) __attribute__((const)) double __ocml_hypot_f64(double, double); __attribute__((device)) __attribute__((const)) int __ocml_ilogb_f64(double); __attribute__((device)) __attribute__((const)) int __ocml_isfinite_f64(double); __attribute__((device)) __attribute__((const)) int __ocml_isinf_f64(double); __attribute__((device)) __attribute__((const)) int __ocml_isnan_f64(double); __attribute__((device)) double __ocml_j0_f64(double); __attribute__((device)) double __ocml_j1_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_ldexp_f64(double, int); __attribute__((device)) double __ocml_lgamma_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_log10_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_log1p_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_log2_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_logb_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_log_f64(double); __attribute__((device)) double __ocml_modf_f64(double, __attribute__((address_space(5))) double *); __attribute__((device)) __attribute__((const)) double __ocml_nearbyint_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_nextafter_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_len3_f64(double, double, double); __attribute__((device)) __attribute__((const)) double __ocml_len4_f64(double, double, double, double); __attribute__((device)) __attribute__((pure)) double __ocml_ncdf_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_ncdfinv_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_pow_f64(double, double); __attribute__((device)) __attribute__((pure)) double __ocml_pown_f64(double, int); __attribute__((device)) __attribute__((pure)) double __ocml_rcbrt_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_remainder_f64(double, double); __attribute__((device)) double __ocml_remquo_f64(double, double, __attribute__((address_space(5))) int *); __attribute__((device)) __attribute__((const)) double __ocml_rhypot_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_rint_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_rlen3_f64(double, double, double); __attribute__((device)) __attribute__((const)) double __ocml_rlen4_f64(double, double, double, double); __attribute__((device)) __attribute__((const)) double __ocml_round_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_rsqrt_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_scalb_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_scalbn_f64(double, int); __attribute__((device)) __attribute__((const)) int __ocml_signbit_f64(double); __attribute__((device)) double __ocml_sincos_f64(double, __attribute__((address_space(5))) double *); __attribute__((device)) double __ocml_sincospi_f64(double, __attribute__((address_space(5))) double *); __attribute__((device)) double __ocml_sin_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_sinh_f64(double); __attribute__((device)) double __ocml_sinpi_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_sqrt_f64(double); __attribute__((device)) double __ocml_tan_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_tanh_f64(double); __attribute__((device)) double __ocml_tgamma_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_trunc_f64(double); __attribute__((device)) double __ocml_y0_f64(double); __attribute__((device)) double __ocml_y1_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_add_rte_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_add_rtn_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_add_rtp_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_add_rtz_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_sub_rte_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_sub_rtn_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_sub_rtp_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_sub_rtz_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_mul_rte_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_mul_rtn_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_mul_rtp_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_mul_rtz_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_div_rte_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_div_rtn_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_div_rtp_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_div_rtz_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_sqrt_rte_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_sqrt_rtn_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_sqrt_rtp_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_sqrt_rtz_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_fma_rte_f64(double, double, double); __attribute__((device)) __attribute__((const)) double __ocml_fma_rtn_f64(double, double, double); __attribute__((device)) __attribute__((const)) double __ocml_fma_rtp_f64(double, double, double); __attribute__((device)) __attribute__((const)) double __ocml_fma_rtz_f64(double, double, double); __attribute__((device)) inline __attribute__((const)) double __llvm_amdgcn_rcp_f64(double __x) { return __builtin_amdgcn_rcp(__x); } __attribute__((device)) inline __attribute__((const)) double __llvm_amdgcn_rsq_f64(double __x) { return __builtin_amdgcn_rsq(__x); } __attribute__((device)) __attribute__((const)) _Float16 __ocml_ceil_f16(_Float16); __attribute__((device)) _Float16 __ocml_cos_f16(_Float16); __attribute__((device)) __attribute__((pure)) _Float16 __ocml_exp_f16(_Float16); __attribute__((device)) __attribute__((pure)) _Float16 __ocml_exp10_f16(_Float16); __attribute__((device)) __attribute__((pure)) _Float16 __ocml_exp2_f16(_Float16); __attribute__((device)) __attribute__((const)) _Float16 __ocml_floor_f16(_Float16); __attribute__((device)) __attribute__((const)) _Float16 __ocml_fma_f16(_Float16, _Float16, _Float16); __attribute__((device)) __attribute__((const)) _Float16 __ocml_fabs_f16(_Float16); __attribute__((device)) __attribute__((const)) int __ocml_isinf_f16(_Float16); __attribute__((device)) __attribute__((const)) int __ocml_isnan_f16(_Float16); __attribute__((device)) __attribute__((pure)) _Float16 __ocml_log_f16(_Float16); __attribute__((device)) __attribute__((pure)) _Float16 __ocml_log10_f16(_Float16); __attribute__((device)) __attribute__((pure)) _Float16 __ocml_log2_f16(_Float16); __attribute__((device)) __attribute__((const)) _Float16 __llvm_amdgcn_rcp_f16(_Float16); __attribute__((device)) __attribute__((const)) _Float16 __ocml_rint_f16(_Float16); __attribute__((device)) __attribute__((const)) _Float16 __ocml_rsqrt_f16(_Float16); __attribute__((device)) _Float16 __ocml_sin_f16(_Float16); __attribute__((device)) __attribute__((const)) _Float16 __ocml_sqrt_f16(_Float16); __attribute__((device)) __attribute__((const)) _Float16 __ocml_trunc_f16(_Float16); __attribute__((device)) __attribute__((pure)) _Float16 __ocml_pown_f16(_Float16, int); typedef _Float16 __2f16 __attribute__((ext_vector_type(2))); typedef short __2i16 __attribute__((ext_vector_type(2))); __attribute__((device)) __attribute__((const)) float __ockl_fdot2(__2f16 a, __2f16 b, float c, bool s); __attribute__((device)) __attribute__((const)) __2f16 __ocml_ceil_2f16(__2f16); __attribute__((device)) __attribute__((const)) __2f16 __ocml_fabs_2f16(__2f16); __attribute__((device)) __2f16 __ocml_cos_2f16(__2f16); __attribute__((device)) __attribute__((pure)) __2f16 __ocml_exp_2f16(__2f16); __attribute__((device)) __attribute__((pure)) __2f16 __ocml_exp10_2f16(__2f16); __attribute__((device)) __attribute__((pure)) __2f16 __ocml_exp2_2f16(__2f16); __attribute__((device)) __attribute__((const)) __2f16 __ocml_floor_2f16(__2f16); __attribute__((device)) __attribute__((const)) __2f16 __ocml_fma_2f16(__2f16, __2f16, __2f16); __attribute__((device)) __attribute__((const)) __2i16 __ocml_isinf_2f16(__2f16); __attribute__((device)) __attribute__((const)) __2i16 __ocml_isnan_2f16(__2f16); __attribute__((device)) __attribute__((pure)) __2f16 __ocml_log_2f16(__2f16); __attribute__((device)) __attribute__((pure)) __2f16 __ocml_log10_2f16(__2f16); __attribute__((device)) __attribute__((pure)) __2f16 __ocml_log2_2f16(__2f16); __attribute__((device)) inline __2f16 __llvm_amdgcn_rcp_2f16(__2f16 __x) { return (__2f16)(__llvm_amdgcn_rcp_f16(__x.x), __llvm_amdgcn_rcp_f16(__x.y)); } __attribute__((device)) __attribute__((const)) __2f16 __ocml_rint_2f16(__2f16); __attribute__((device)) __attribute__((const)) __2f16 __ocml_rsqrt_2f16(__2f16); __attribute__((device)) __2f16 __ocml_sin_2f16(__2f16); __attribute__((device)) __attribute__((const)) __2f16 __ocml_sqrt_2f16(__2f16); __attribute__((device)) __attribute__((const)) __2f16 __ocml_trunc_2f16(__2f16); __attribute__((device)) __attribute__((const)) __2f16 __ocml_pown_2f16(__2f16, __2i16); } # 102 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 2 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 1 3 # 18 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm" 1 3 # 55 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/algorithm" 1 3 # 59 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/algorithm" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 1 3 # 59 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 3 # 69 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_relops.h" 1 3 # 67 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_relops.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { namespace rel_ops { # 85 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_relops.h" 3 template inline bool operator!=(const _Tp& __x, const _Tp& __y) { return !(__x == __y); } # 98 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_relops.h" 3 template inline bool operator>(const _Tp& __x, const _Tp& __y) { return __y < __x; } # 111 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_relops.h" 3 template inline bool operator<=(const _Tp& __x, const _Tp& __y) { return !(__y < __x); } # 124 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_relops.h" 3 template inline bool operator>=(const _Tp& __x, const _Tp& __y) { return !(__x < __y); } } } # 70 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 1 3 # 59 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/move.h" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/move.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template inline constexpr _Tp* __addressof(_Tp& __r) noexcept { return __builtin_addressof(__r); } } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 56 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct integral_constant { static constexpr _Tp value = __v; typedef _Tp value_type; typedef integral_constant<_Tp, __v> type; constexpr operator value_type() const noexcept { return value; } }; template constexpr _Tp integral_constant<_Tp, __v>::value; typedef integral_constant true_type; typedef integral_constant false_type; template using __bool_constant = integral_constant; # 91 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct conditional; template struct __type_identity { using type = _Type; }; template using __type_identity_t = typename __type_identity<_Tp>::type; template struct __or_; template<> struct __or_<> : public false_type { }; template struct __or_<_B1> : public _B1 { }; template struct __or_<_B1, _B2> : public conditional<_B1::value, _B1, _B2>::type { }; template struct __or_<_B1, _B2, _B3, _Bn...> : public conditional<_B1::value, _B1, __or_<_B2, _B3, _Bn...>>::type { }; template struct __and_; template<> struct __and_<> : public true_type { }; template struct __and_<_B1> : public _B1 { }; template struct __and_<_B1, _B2> : public conditional<_B1::value, _B2, _B1>::type { }; template struct __and_<_B1, _B2, _B3, _Bn...> : public conditional<_B1::value, __and_<_B2, _B3, _Bn...>, _B1>::type { }; template struct __not_ : public __bool_constant { }; # 188 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct is_reference; template struct is_function; template struct is_void; template struct __is_array_unknown_bounds; template constexpr true_type __is_complete_or_unbounded(__type_identity<_Tp>) { return {}; } template constexpr typename __or_< is_reference<_NestedType>, is_function<_NestedType>, is_void<_NestedType>, __is_array_unknown_bounds<_NestedType> >::type __is_complete_or_unbounded(_TypeIdentity) { return {}; } template struct __success_type { typedef _Tp type; }; struct __failure_type { }; template struct remove_cv; template using __remove_cv_t = typename remove_cv<_Tp>::type; template struct is_const; template struct __is_void_helper : public false_type { }; template<> struct __is_void_helper : public true_type { }; template struct is_void : public __is_void_helper<__remove_cv_t<_Tp>>::type { }; template struct __is_integral_helper : public false_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; # 284 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; # 364 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct is_integral : public __is_integral_helper<__remove_cv_t<_Tp>>::type { }; template struct __is_floating_point_helper : public false_type { }; template<> struct __is_floating_point_helper : public true_type { }; template<> struct __is_floating_point_helper : public true_type { }; template<> struct __is_floating_point_helper : public true_type { }; # 392 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct is_floating_point : public __is_floating_point_helper<__remove_cv_t<_Tp>>::type { }; template struct is_array : public false_type { }; template struct is_array<_Tp[_Size]> : public true_type { }; template struct is_array<_Tp[]> : public true_type { }; template struct __is_pointer_helper : public false_type { }; template struct __is_pointer_helper<_Tp*> : public true_type { }; template struct is_pointer : public __is_pointer_helper<__remove_cv_t<_Tp>>::type { }; template struct is_lvalue_reference : public false_type { }; template struct is_lvalue_reference<_Tp&> : public true_type { }; template struct is_rvalue_reference : public false_type { }; template struct is_rvalue_reference<_Tp&&> : public true_type { }; template struct __is_member_object_pointer_helper : public false_type { }; template struct __is_member_object_pointer_helper<_Tp _Cp::*> : public __not_>::type { }; template struct is_member_object_pointer : public __is_member_object_pointer_helper<__remove_cv_t<_Tp>>::type { }; template struct __is_member_function_pointer_helper : public false_type { }; template struct __is_member_function_pointer_helper<_Tp _Cp::*> : public is_function<_Tp>::type { }; template struct is_member_function_pointer : public __is_member_function_pointer_helper<__remove_cv_t<_Tp>>::type { }; template struct is_enum : public integral_constant { }; template struct is_union : public integral_constant { }; template struct is_class : public integral_constant { }; template struct is_function : public __bool_constant::value> { }; template struct is_function<_Tp&> : public false_type { }; template struct is_function<_Tp&&> : public false_type { }; template struct __is_null_pointer_helper : public false_type { }; template<> struct __is_null_pointer_helper : public true_type { }; template struct is_null_pointer : public __is_null_pointer_helper<__remove_cv_t<_Tp>>::type { }; template struct __is_nullptr_t : public is_null_pointer<_Tp> { } __attribute__ ((__deprecated__ ("use '" "std::is_null_pointer" "' instead"))); template struct is_reference : public __or_, is_rvalue_reference<_Tp>>::type { }; template struct is_arithmetic : public __or_, is_floating_point<_Tp>>::type { }; template struct is_fundamental : public __or_, is_void<_Tp>, is_null_pointer<_Tp>>::type { }; template struct is_object : public __not_<__or_, is_reference<_Tp>, is_void<_Tp>>>::type { }; template struct is_member_pointer; template struct is_scalar : public __or_, is_enum<_Tp>, is_pointer<_Tp>, is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type { }; template struct is_compound : public __not_>::type { }; template struct __is_member_pointer_helper : public false_type { }; template struct __is_member_pointer_helper<_Tp _Cp::*> : public true_type { }; template struct is_member_pointer : public __is_member_pointer_helper<__remove_cv_t<_Tp>>::type { }; template struct is_same; template using __is_one_of = __or_...>; template using __is_signed_integer = __is_one_of<__remove_cv_t<_Tp>, signed char, signed short, signed int, signed long, signed long long # 604 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 >; template using __is_unsigned_integer = __is_one_of<__remove_cv_t<_Tp>, unsigned char, unsigned short, unsigned int, unsigned long, unsigned long long # 623 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 >; template using __is_standard_integer = __or_<__is_signed_integer<_Tp>, __is_unsigned_integer<_Tp>>; template using __void_t = void; template struct __is_referenceable : public false_type { }; template struct __is_referenceable<_Tp, __void_t<_Tp&>> : public true_type { }; template struct is_const : public false_type { }; template struct is_const<_Tp const> : public true_type { }; template struct is_volatile : public false_type { }; template struct is_volatile<_Tp volatile> : public true_type { }; template struct is_trivial : public integral_constant { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_trivially_copyable : public integral_constant { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_standard_layout : public integral_constant { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_pod : public integral_constant { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_literal_type : public integral_constant { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_empty : public integral_constant { }; template struct is_polymorphic : public integral_constant { }; # 735 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct is_abstract : public integral_constant { }; template::value> struct __is_signed_helper : public false_type { }; template struct __is_signed_helper<_Tp, true> : public integral_constant { }; template struct is_signed : public __is_signed_helper<_Tp>::type { }; template struct is_unsigned : public __and_, __not_>> { }; # 770 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template _Up __declval(int); template _Tp __declval(long); template auto declval() noexcept -> decltype(__declval<_Tp>(0)); template struct extent; template struct remove_all_extents; template struct __is_array_known_bounds : public integral_constant::value > 0)> { }; template struct __is_array_unknown_bounds : public __and_, __not_>> { }; struct __do_is_destructible_impl { template().~_Tp())> static true_type __test(int); template static false_type __test(...); }; template struct __is_destructible_impl : public __do_is_destructible_impl { typedef decltype(__test<_Tp>(0)) type; }; template, __is_array_unknown_bounds<_Tp>, is_function<_Tp>>::value, bool = __or_, is_scalar<_Tp>>::value> struct __is_destructible_safe; template struct __is_destructible_safe<_Tp, false, false> : public __is_destructible_impl::type>::type { }; template struct __is_destructible_safe<_Tp, true, false> : public false_type { }; template struct __is_destructible_safe<_Tp, false, true> : public true_type { }; template struct is_destructible : public __is_destructible_safe<_Tp>::type { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; struct __do_is_nt_destructible_impl { template static __bool_constant().~_Tp())> __test(int); template static false_type __test(...); }; template struct __is_nt_destructible_impl : public __do_is_nt_destructible_impl { typedef decltype(__test<_Tp>(0)) type; }; template, __is_array_unknown_bounds<_Tp>, is_function<_Tp>>::value, bool = __or_, is_scalar<_Tp>>::value> struct __is_nt_destructible_safe; template struct __is_nt_destructible_safe<_Tp, false, false> : public __is_nt_destructible_impl::type>::type { }; template struct __is_nt_destructible_safe<_Tp, true, false> : public false_type { }; template struct __is_nt_destructible_safe<_Tp, false, true> : public true_type { }; template struct is_nothrow_destructible : public __is_nt_destructible_safe<_Tp>::type { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct __is_constructible_impl : public __bool_constant<__is_constructible(_Tp, _Args...)> { }; template struct is_constructible : public __is_constructible_impl<_Tp, _Args...> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_default_constructible : public __is_constructible_impl<_Tp>::type { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_copy_constructible_impl; template struct __is_copy_constructible_impl<_Tp, false> : public false_type { }; template struct __is_copy_constructible_impl<_Tp, true> : public __is_constructible_impl<_Tp, const _Tp&> { }; template struct is_copy_constructible : public __is_copy_constructible_impl<_Tp> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_move_constructible_impl; template struct __is_move_constructible_impl<_Tp, false> : public false_type { }; template struct __is_move_constructible_impl<_Tp, true> : public __is_constructible_impl<_Tp, _Tp&&> { }; template struct is_move_constructible : public __is_move_constructible_impl<_Tp> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct __is_nt_constructible_impl : public false_type { }; template struct __is_nt_constructible_impl : public __bool_constant()...))> { }; template struct __is_nt_constructible_impl : public __bool_constant(std::declval<_Arg>()))> { }; template struct __is_nt_constructible_impl : public __bool_constant { }; template struct __is_nt_constructible_impl : public __bool_constant::type())> { }; # 1001 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template using __is_nothrow_constructible_impl = __is_nt_constructible_impl<__is_constructible(_Tp, _Args...), _Tp, _Args...>; template struct is_nothrow_constructible : public __is_nothrow_constructible_impl<_Tp, _Args...>::type { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_nothrow_default_constructible : public __is_nothrow_constructible_impl<_Tp>::type { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_nothrow_copy_constructible_impl; template struct __is_nothrow_copy_constructible_impl<_Tp, false> : public false_type { }; template struct __is_nothrow_copy_constructible_impl<_Tp, true> : public __is_nothrow_constructible_impl<_Tp, const _Tp&> { }; template struct is_nothrow_copy_constructible : public __is_nothrow_copy_constructible_impl<_Tp>::type { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_nothrow_move_constructible_impl; template struct __is_nothrow_move_constructible_impl<_Tp, false> : public false_type { }; template struct __is_nothrow_move_constructible_impl<_Tp, true> : public __is_nothrow_constructible_impl<_Tp, _Tp&&> { }; template struct is_nothrow_move_constructible : public __is_nothrow_move_constructible_impl<_Tp>::type { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_assignable : public __bool_constant<__is_assignable(_Tp, _Up)> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_copy_assignable_impl; template struct __is_copy_assignable_impl<_Tp, false> : public false_type { }; template struct __is_copy_assignable_impl<_Tp, true> : public __bool_constant<__is_assignable(_Tp&, const _Tp&)> { }; template struct is_copy_assignable : public __is_copy_assignable_impl<_Tp>::type { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_move_assignable_impl; template struct __is_move_assignable_impl<_Tp, false> : public false_type { }; template struct __is_move_assignable_impl<_Tp, true> : public __bool_constant<__is_assignable(_Tp&, _Tp&&)> { }; template struct is_move_assignable : public __is_move_assignable_impl<_Tp>::type { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct __is_nt_assignable_impl : public integral_constant() = declval<_Up>())> { }; template struct __is_nothrow_assignable_impl : public __and_<__bool_constant<__is_assignable(_Tp, _Up)>, __is_nt_assignable_impl<_Tp, _Up>> { }; template struct is_nothrow_assignable : public __is_nothrow_assignable_impl<_Tp, _Up> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_nt_copy_assignable_impl; template struct __is_nt_copy_assignable_impl<_Tp, false> : public false_type { }; template struct __is_nt_copy_assignable_impl<_Tp, true> : public __is_nothrow_assignable_impl<_Tp&, const _Tp&> { }; template struct is_nothrow_copy_assignable : public __is_nt_copy_assignable_impl<_Tp> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_nt_move_assignable_impl; template struct __is_nt_move_assignable_impl<_Tp, false> : public false_type { }; template struct __is_nt_move_assignable_impl<_Tp, true> : public __is_nothrow_assignable_impl<_Tp&, _Tp&&> { }; template struct is_nothrow_move_assignable : public __is_nt_move_assignable_impl<_Tp> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_trivially_constructible : public __bool_constant<__is_trivially_constructible(_Tp, _Args...)> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_trivially_default_constructible : public __bool_constant<__is_trivially_constructible(_Tp)> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; struct __do_is_implicitly_default_constructible_impl { template static void __helper(const _Tp&); template static true_type __test(const _Tp&, decltype(__helper({}))* = 0); static false_type __test(...); }; template struct __is_implicitly_default_constructible_impl : public __do_is_implicitly_default_constructible_impl { typedef decltype(__test(declval<_Tp>())) type; }; template struct __is_implicitly_default_constructible_safe : public __is_implicitly_default_constructible_impl<_Tp>::type { }; template struct __is_implicitly_default_constructible : public __and_<__is_constructible_impl<_Tp>, __is_implicitly_default_constructible_safe<_Tp>> { }; template::value> struct __is_trivially_copy_constructible_impl; template struct __is_trivially_copy_constructible_impl<_Tp, false> : public false_type { }; template struct __is_trivially_copy_constructible_impl<_Tp, true> : public __and_<__is_copy_constructible_impl<_Tp>, integral_constant> { }; template struct is_trivially_copy_constructible : public __is_trivially_copy_constructible_impl<_Tp> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_trivially_move_constructible_impl; template struct __is_trivially_move_constructible_impl<_Tp, false> : public false_type { }; template struct __is_trivially_move_constructible_impl<_Tp, true> : public __and_<__is_move_constructible_impl<_Tp>, integral_constant> { }; template struct is_trivially_move_constructible : public __is_trivially_move_constructible_impl<_Tp> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_trivially_assignable : public __bool_constant<__is_trivially_assignable(_Tp, _Up)> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_trivially_copy_assignable_impl; template struct __is_trivially_copy_assignable_impl<_Tp, false> : public false_type { }; template struct __is_trivially_copy_assignable_impl<_Tp, true> : public __bool_constant<__is_trivially_assignable(_Tp&, const _Tp&)> { }; template struct is_trivially_copy_assignable : public __is_trivially_copy_assignable_impl<_Tp> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_trivially_move_assignable_impl; template struct __is_trivially_move_assignable_impl<_Tp, false> : public false_type { }; template struct __is_trivially_move_assignable_impl<_Tp, true> : public __bool_constant<__is_trivially_assignable(_Tp&, _Tp&&)> { }; template struct is_trivially_move_assignable : public __is_trivially_move_assignable_impl<_Tp> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_trivially_destructible : public __and_<__is_destructible_safe<_Tp>, __bool_constant<__has_trivial_destructor(_Tp)>> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct has_virtual_destructor : public integral_constant { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct alignment_of : public integral_constant { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct rank : public integral_constant { }; template struct rank<_Tp[_Size]> : public integral_constant::value> { }; template struct rank<_Tp[]> : public integral_constant::value> { }; template struct extent : public integral_constant { }; template struct extent<_Tp[_Size], _Uint> : public integral_constant::value> { }; template struct extent<_Tp[], _Uint> : public integral_constant::value> { }; template struct is_same : public integral_constant { }; # 1410 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct is_base_of : public integral_constant { }; template, is_function<_To>, is_array<_To>>::value> struct __is_convertible_helper { typedef typename is_void<_To>::type type; }; #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wctor-dtor-privacy" template class __is_convertible_helper<_From, _To, false> { template static void __test_aux(_To1) noexcept; template(std::declval<_From1>()))> static true_type __test(int); template static false_type __test(...); public: typedef decltype(__test<_From, _To>(0)) type; }; #pragma GCC diagnostic pop template struct is_convertible : public __is_convertible_helper<_From, _To>::type { }; template using __is_array_convertible = is_convertible<_FromElementType(*)[], _ToElementType(*)[]>; template, is_function<_To>, is_array<_To>>::value> struct __is_nt_convertible_helper : is_void<_To> { }; #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wctor-dtor-privacy" template class __is_nt_convertible_helper<_From, _To, false> { template static void __test_aux(_To1) noexcept; template static __bool_constant(std::declval<_From1>()))> __test(int); template static false_type __test(...); public: using type = decltype(__test<_From, _To>(0)); }; #pragma GCC diagnostic pop template struct __is_nothrow_convertible : public __is_nt_convertible_helper<_From, _To>::type { }; # 1508 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct remove_const { typedef _Tp type; }; template struct remove_const<_Tp const> { typedef _Tp type; }; template struct remove_volatile { typedef _Tp type; }; template struct remove_volatile<_Tp volatile> { typedef _Tp type; }; template struct remove_cv { using type = _Tp; }; template struct remove_cv { using type = _Tp; }; template struct remove_cv { using type = _Tp; }; template struct remove_cv { using type = _Tp; }; template struct add_const { typedef _Tp const type; }; template struct add_volatile { typedef _Tp volatile type; }; template struct add_cv { typedef typename add_const::type>::type type; }; # 1592 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct remove_reference { typedef _Tp type; }; template struct remove_reference<_Tp&> { typedef _Tp type; }; template struct remove_reference<_Tp&&> { typedef _Tp type; }; template::value> struct __add_lvalue_reference_helper { typedef _Tp type; }; template struct __add_lvalue_reference_helper<_Tp, true> { typedef _Tp& type; }; template struct add_lvalue_reference : public __add_lvalue_reference_helper<_Tp> { }; template::value> struct __add_rvalue_reference_helper { typedef _Tp type; }; template struct __add_rvalue_reference_helper<_Tp, true> { typedef _Tp&& type; }; template struct add_rvalue_reference : public __add_rvalue_reference_helper<_Tp> { }; # 1649 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct __cv_selector; template struct __cv_selector<_Unqualified, false, false> { typedef _Unqualified __type; }; template struct __cv_selector<_Unqualified, false, true> { typedef volatile _Unqualified __type; }; template struct __cv_selector<_Unqualified, true, false> { typedef const _Unqualified __type; }; template struct __cv_selector<_Unqualified, true, true> { typedef const volatile _Unqualified __type; }; template::value, bool _IsVol = is_volatile<_Qualified>::value> class __match_cv_qualifiers { typedef __cv_selector<_Unqualified, _IsConst, _IsVol> __match; public: typedef typename __match::__type __type; }; template struct __make_unsigned { typedef _Tp __type; }; template<> struct __make_unsigned { typedef unsigned char __type; }; template<> struct __make_unsigned { typedef unsigned char __type; }; template<> struct __make_unsigned { typedef unsigned short __type; }; template<> struct __make_unsigned { typedef unsigned int __type; }; template<> struct __make_unsigned { typedef unsigned long __type; }; template<> struct __make_unsigned { typedef unsigned long long __type; }; # 1730 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template::value, bool _IsEnum = is_enum<_Tp>::value> class __make_unsigned_selector; template class __make_unsigned_selector<_Tp, true, false> { using __unsigned_type = typename __make_unsigned<__remove_cv_t<_Tp>>::__type; public: using __type = typename __match_cv_qualifiers<_Tp, __unsigned_type>::__type; }; class __make_unsigned_selector_base { protected: template struct _List { }; template struct _List<_Tp, _Up...> : _List<_Up...> { static constexpr size_t __size = sizeof(_Tp); }; template struct __select; template struct __select<_Sz, _List<_Uint, _UInts...>, true> { using __type = _Uint; }; template struct __select<_Sz, _List<_Uint, _UInts...>, false> : __select<_Sz, _List<_UInts...>> { }; }; template class __make_unsigned_selector<_Tp, false, true> : __make_unsigned_selector_base { using _UInts = _List; using __unsigned_type = typename __select::__type; public: using __type = typename __match_cv_qualifiers<_Tp, __unsigned_type>::__type; }; template<> struct __make_unsigned { using __type = typename __make_unsigned_selector::__type; }; # 1806 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template<> struct __make_unsigned { using __type = typename __make_unsigned_selector::__type; }; template<> struct __make_unsigned { using __type = typename __make_unsigned_selector::__type; }; template struct make_unsigned { typedef typename __make_unsigned_selector<_Tp>::__type type; }; template<> struct make_unsigned; template struct __make_signed { typedef _Tp __type; }; template<> struct __make_signed { typedef signed char __type; }; template<> struct __make_signed { typedef signed char __type; }; template<> struct __make_signed { typedef signed short __type; }; template<> struct __make_signed { typedef signed int __type; }; template<> struct __make_signed { typedef signed long __type; }; template<> struct __make_signed { typedef signed long long __type; }; # 1884 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template::value, bool _IsEnum = is_enum<_Tp>::value> class __make_signed_selector; template class __make_signed_selector<_Tp, true, false> { using __signed_type = typename __make_signed<__remove_cv_t<_Tp>>::__type; public: using __type = typename __match_cv_qualifiers<_Tp, __signed_type>::__type; }; template class __make_signed_selector<_Tp, false, true> { typedef typename __make_unsigned_selector<_Tp>::__type __unsigned_type; public: typedef typename __make_signed_selector<__unsigned_type>::__type __type; }; template<> struct __make_signed { using __type = typename __make_signed_selector::__type; }; # 1932 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template<> struct __make_signed { using __type = typename __make_signed_selector::__type; }; template<> struct __make_signed { using __type = typename __make_signed_selector::__type; }; template struct make_signed { typedef typename __make_signed_selector<_Tp>::__type type; }; template<> struct make_signed; # 1971 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct remove_extent { typedef _Tp type; }; template struct remove_extent<_Tp[_Size]> { typedef _Tp type; }; template struct remove_extent<_Tp[]> { typedef _Tp type; }; template struct remove_all_extents { typedef _Tp type; }; template struct remove_all_extents<_Tp[_Size]> { typedef typename remove_all_extents<_Tp>::type type; }; template struct remove_all_extents<_Tp[]> { typedef typename remove_all_extents<_Tp>::type type; }; # 2008 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct __remove_pointer_helper { typedef _Tp type; }; template struct __remove_pointer_helper<_Tp, _Up*> { typedef _Up type; }; template struct remove_pointer : public __remove_pointer_helper<_Tp, __remove_cv_t<_Tp>> { }; template, is_void<_Tp>>::value> struct __add_pointer_helper { typedef _Tp type; }; template struct __add_pointer_helper<_Tp, true> { typedef typename remove_reference<_Tp>::type* type; }; template struct add_pointer : public __add_pointer_helper<_Tp> { }; # 2047 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct __aligned_storage_msa { union __type { unsigned char __data[_Len]; struct __attribute__((__aligned__)) { } __align; }; }; # 2067 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template::__type)> struct aligned_storage { union type { unsigned char __data[_Len]; struct __attribute__((__aligned__((_Align)))) { } __align; }; }; template struct __strictest_alignment { static const size_t _S_alignment = 0; static const size_t _S_size = 0; }; template struct __strictest_alignment<_Tp, _Types...> { static const size_t _S_alignment = alignof(_Tp) > __strictest_alignment<_Types...>::_S_alignment ? alignof(_Tp) : __strictest_alignment<_Types...>::_S_alignment; static const size_t _S_size = sizeof(_Tp) > __strictest_alignment<_Types...>::_S_size ? sizeof(_Tp) : __strictest_alignment<_Types...>::_S_size; }; # 2106 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct aligned_union { private: static_assert(sizeof...(_Types) != 0, "At least one type is required"); using __strictest = __strictest_alignment<_Types...>; static const size_t _S_len = _Len > __strictest::_S_size ? _Len : __strictest::_S_size; public: static const size_t alignment_value = __strictest::_S_alignment; typedef typename aligned_storage<_S_len, alignment_value>::type type; }; template const size_t aligned_union<_Len, _Types...>::alignment_value; template::value, bool _IsFunction = is_function<_Up>::value> struct __decay_selector; template struct __decay_selector<_Up, false, false> { typedef __remove_cv_t<_Up> __type; }; template struct __decay_selector<_Up, true, false> { typedef typename remove_extent<_Up>::type* __type; }; template struct __decay_selector<_Up, false, true> { typedef typename add_pointer<_Up>::type __type; }; template class decay { typedef typename remove_reference<_Tp>::type __remove_type; public: typedef typename __decay_selector<__remove_type>::__type type; }; template using __decay_t = typename decay<_Tp>::type; template class reference_wrapper; template struct __strip_reference_wrapper { typedef _Tp __type; }; template struct __strip_reference_wrapper > { typedef _Tp& __type; }; template using __decay_and_strip = __strip_reference_wrapper<__decay_t<_Tp>>; template struct enable_if { }; template struct enable_if { typedef _Tp type; }; template using __enable_if_t = typename enable_if<_Cond, _Tp>::type; template using _Require = __enable_if_t<__and_<_Cond...>::value>; template struct conditional { typedef _Iftrue type; }; template struct conditional { typedef _Iffalse type; }; template using __remove_cvref_t = typename remove_cv::type>::type; template struct common_type; struct __do_common_type_impl { template using __cond_t = decltype(true ? std::declval<_Tp>() : std::declval<_Up>()); template static __success_type<__decay_t<__cond_t<_Tp, _Up>>> _S_test(int); # 2239 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template static __failure_type _S_test_2(...); template static decltype(_S_test_2<_Tp, _Up>(0)) _S_test(...); }; template<> struct common_type<> { }; template struct common_type<_Tp0> : public common_type<_Tp0, _Tp0> { }; template, typename _Dp2 = __decay_t<_Tp2>> struct __common_type_impl { using type = common_type<_Dp1, _Dp2>; }; template struct __common_type_impl<_Tp1, _Tp2, _Tp1, _Tp2> : private __do_common_type_impl { using type = decltype(_S_test<_Tp1, _Tp2>(0)); }; template struct common_type<_Tp1, _Tp2> : public __common_type_impl<_Tp1, _Tp2>::type { }; template struct __common_type_pack { }; template struct __common_type_fold; template struct common_type<_Tp1, _Tp2, _Rp...> : public __common_type_fold, __common_type_pack<_Rp...>> { }; template struct __common_type_fold<_CTp, __common_type_pack<_Rp...>, __void_t> : public common_type { }; template struct __common_type_fold<_CTp, _Rp, void> { }; template::value> struct __underlying_type_impl { using type = __underlying_type(_Tp); }; template struct __underlying_type_impl<_Tp, false> { }; template struct underlying_type : public __underlying_type_impl<_Tp> { }; template struct __declval_protector { static const bool __stop = false; }; template auto declval() noexcept -> decltype(__declval<_Tp>(0)) { static_assert(__declval_protector<_Tp>::__stop, "declval() must not be used!"); return __declval<_Tp>(0); } template class result_of; struct __invoke_memfun_ref { }; struct __invoke_memfun_deref { }; struct __invoke_memobj_ref { }; struct __invoke_memobj_deref { }; struct __invoke_other { }; template struct __result_of_success : __success_type<_Tp> { using __invoke_type = _Tag; }; struct __result_of_memfun_ref_impl { template static __result_of_success().*std::declval<_Fp>())(std::declval<_Args>()...) ), __invoke_memfun_ref> _S_test(int); template static __failure_type _S_test(...); }; template struct __result_of_memfun_ref : private __result_of_memfun_ref_impl { typedef decltype(_S_test<_MemPtr, _Arg, _Args...>(0)) type; }; struct __result_of_memfun_deref_impl { template static __result_of_success()).*std::declval<_Fp>())(std::declval<_Args>()...) ), __invoke_memfun_deref> _S_test(int); template static __failure_type _S_test(...); }; template struct __result_of_memfun_deref : private __result_of_memfun_deref_impl { typedef decltype(_S_test<_MemPtr, _Arg, _Args...>(0)) type; }; struct __result_of_memobj_ref_impl { template static __result_of_success().*std::declval<_Fp>() ), __invoke_memobj_ref> _S_test(int); template static __failure_type _S_test(...); }; template struct __result_of_memobj_ref : private __result_of_memobj_ref_impl { typedef decltype(_S_test<_MemPtr, _Arg>(0)) type; }; struct __result_of_memobj_deref_impl { template static __result_of_success()).*std::declval<_Fp>() ), __invoke_memobj_deref> _S_test(int); template static __failure_type _S_test(...); }; template struct __result_of_memobj_deref : private __result_of_memobj_deref_impl { typedef decltype(_S_test<_MemPtr, _Arg>(0)) type; }; template struct __result_of_memobj; template struct __result_of_memobj<_Res _Class::*, _Arg> { typedef __remove_cvref_t<_Arg> _Argval; typedef _Res _Class::* _MemPtr; typedef typename conditional<__or_, is_base_of<_Class, _Argval>>::value, __result_of_memobj_ref<_MemPtr, _Arg>, __result_of_memobj_deref<_MemPtr, _Arg> >::type::type type; }; template struct __result_of_memfun; template struct __result_of_memfun<_Res _Class::*, _Arg, _Args...> { typedef typename remove_reference<_Arg>::type _Argval; typedef _Res _Class::* _MemPtr; typedef typename conditional::value, __result_of_memfun_ref<_MemPtr, _Arg, _Args...>, __result_of_memfun_deref<_MemPtr, _Arg, _Args...> >::type::type type; }; template> struct __inv_unwrap { using type = _Tp; }; template struct __inv_unwrap<_Tp, reference_wrapper<_Up>> { using type = _Up&; }; template struct __result_of_impl { typedef __failure_type type; }; template struct __result_of_impl : public __result_of_memobj<__decay_t<_MemPtr>, typename __inv_unwrap<_Arg>::type> { }; template struct __result_of_impl : public __result_of_memfun<__decay_t<_MemPtr>, typename __inv_unwrap<_Arg>::type, _Args...> { }; struct __result_of_other_impl { template static __result_of_success()(std::declval<_Args>()...) ), __invoke_other> _S_test(int); template static __failure_type _S_test(...); }; template struct __result_of_impl : private __result_of_other_impl { typedef decltype(_S_test<_Functor, _ArgTypes...>(0)) type; }; template struct __invoke_result : public __result_of_impl< is_member_object_pointer< typename remove_reference<_Functor>::type >::value, is_member_function_pointer< typename remove_reference<_Functor>::type >::value, _Functor, _ArgTypes... >::type { }; template struct result_of<_Functor(_ArgTypes...)> : public __invoke_result<_Functor, _ArgTypes...> { }; # 2580 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template class _Op, typename... _Args> struct __detector { using value_t = false_type; using type = _Default; }; template class _Op, typename... _Args> struct __detector<_Default, __void_t<_Op<_Args...>>, _Op, _Args...> { using value_t = true_type; using type = _Op<_Args...>; }; template class _Op, typename... _Args> using __detected_or = __detector<_Default, void, _Op, _Args...>; template class _Op, typename... _Args> using __detected_or_t = typename __detected_or<_Default, _Op, _Args...>::type; # 2624 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct __is_swappable; template struct __is_nothrow_swappable; template class tuple; template struct __is_tuple_like_impl : false_type { }; template struct __is_tuple_like_impl> : true_type { }; template struct __is_tuple_like : public __is_tuple_like_impl<__remove_cvref_t<_Tp>>::type { }; template inline _Require<__not_<__is_tuple_like<_Tp>>, is_move_constructible<_Tp>, is_move_assignable<_Tp>> swap(_Tp&, _Tp&) noexcept(__and_, is_nothrow_move_assignable<_Tp>>::value); template inline __enable_if_t<__is_swappable<_Tp>::value> swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm]) noexcept(__is_nothrow_swappable<_Tp>::value); namespace __swappable_details { using std::swap; struct __do_is_swappable_impl { template(), std::declval<_Tp&>()))> static true_type __test(int); template static false_type __test(...); }; struct __do_is_nothrow_swappable_impl { template static __bool_constant< noexcept(swap(std::declval<_Tp&>(), std::declval<_Tp&>())) > __test(int); template static false_type __test(...); }; } template struct __is_swappable_impl : public __swappable_details::__do_is_swappable_impl { typedef decltype(__test<_Tp>(0)) type; }; template struct __is_nothrow_swappable_impl : public __swappable_details::__do_is_nothrow_swappable_impl { typedef decltype(__test<_Tp>(0)) type; }; template struct __is_swappable : public __is_swappable_impl<_Tp>::type { }; template struct __is_nothrow_swappable : public __is_nothrow_swappable_impl<_Tp>::type { }; # 2837 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template::value, typename = void> struct __is_invocable_impl : false_type { }; template struct __is_invocable_impl<_Result, _Ret, true, __void_t> : true_type { }; #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wctor-dtor-privacy" template struct __is_invocable_impl<_Result, _Ret, false, __void_t> { private: static typename _Result::type _S_get(); template static void _S_conv(_Tp); template(_S_get()))> static true_type _S_test(int); template static false_type _S_test(...); public: using type = decltype(_S_test<_Ret>(1)); }; #pragma GCC diagnostic pop template struct __is_invocable : __is_invocable_impl<__invoke_result<_Fn, _ArgTypes...>, void>::type { }; template constexpr bool __call_is_nt(__invoke_memfun_ref) { using _Up = typename __inv_unwrap<_Tp>::type; return noexcept((std::declval<_Up>().*std::declval<_Fn>())( std::declval<_Args>()...)); } template constexpr bool __call_is_nt(__invoke_memfun_deref) { return noexcept(((*std::declval<_Tp>()).*std::declval<_Fn>())( std::declval<_Args>()...)); } template constexpr bool __call_is_nt(__invoke_memobj_ref) { using _Up = typename __inv_unwrap<_Tp>::type; return noexcept(std::declval<_Up>().*std::declval<_Fn>()); } template constexpr bool __call_is_nt(__invoke_memobj_deref) { return noexcept((*std::declval<_Tp>()).*std::declval<_Fn>()); } template constexpr bool __call_is_nt(__invoke_other) { return noexcept(std::declval<_Fn>()(std::declval<_Args>()...)); } template struct __call_is_nothrow : __bool_constant< std::__call_is_nt<_Fn, _Args...>(typename _Result::__invoke_type{}) > { }; template using __call_is_nothrow_ = __call_is_nothrow<__invoke_result<_Fn, _Args...>, _Fn, _Args...>; template struct __is_nothrow_invocable : __and_<__is_invocable<_Fn, _Args...>, __call_is_nothrow_<_Fn, _Args...>>::type { }; #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wctor-dtor-privacy" struct __nonesuchbase {}; struct __nonesuch : private __nonesuchbase { ~__nonesuch() = delete; __nonesuch(__nonesuch const&) = delete; void operator=(__nonesuch const&) = delete; }; #pragma GCC diagnostic pop # 3456 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 } # 58 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/move.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 74 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/move.h" 3 template constexpr _Tp&& forward(typename std::remove_reference<_Tp>::type& __t) noexcept { return static_cast<_Tp&&>(__t); } template constexpr _Tp&& forward(typename std::remove_reference<_Tp>::type&& __t) noexcept { static_assert(!std::is_lvalue_reference<_Tp>::value, "template argument" " substituting _Tp is an lvalue reference type"); return static_cast<_Tp&&>(__t); } template constexpr typename std::remove_reference<_Tp>::type&& move(_Tp&& __t) noexcept { return static_cast::type&&>(__t); } template struct __move_if_noexcept_cond : public __and_<__not_>, is_copy_constructible<_Tp>>::type { }; # 118 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/move.h" 3 template constexpr typename conditional<__move_if_noexcept_cond<_Tp>::value, const _Tp&, _Tp&&>::type move_if_noexcept(_Tp& __x) noexcept { return std::move(__x); } # 138 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/move.h" 3 template inline _Tp* addressof(_Tp& __r) noexcept { return std::__addressof(__r); } template const _Tp* addressof(const _Tp&&) = delete; template inline _Tp __exchange(_Tp& __obj, _Up&& __new_val) { _Tp __old_val = std::move(__obj); __obj = std::forward<_Up>(__new_val); return __old_val; } # 179 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/move.h" 3 template inline typename enable_if<__and_<__not_<__is_tuple_like<_Tp>>, is_move_constructible<_Tp>, is_move_assignable<_Tp>>::value>::type swap(_Tp& __a, _Tp& __b) noexcept(__and_, is_nothrow_move_assignable<_Tp>>::value) { _Tp __tmp = std::move(__a); __a = std::move(__b); __b = std::move(__tmp); } template inline typename enable_if<__is_swappable<_Tp>::value>::type swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm]) noexcept(__is_nothrow_swappable<_Tp>::value) { for (size_t __n = 0; __n < _Nm; ++__n) swap(__a[__n], __b[__n]); } } # 60 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 2 3 # 69 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 80 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 struct piecewise_construct_t { explicit piecewise_construct_t() = default; }; constexpr piecewise_construct_t piecewise_construct = piecewise_construct_t(); template class tuple; template struct _Index_tuple; template struct _PCC { template static constexpr bool _ConstructiblePair() { return __and_, is_constructible<_T2, const _U2&>>::value; } template static constexpr bool _ImplicitlyConvertiblePair() { return __and_, is_convertible>::value; } template static constexpr bool _MoveConstructiblePair() { return __and_, is_constructible<_T2, _U2&&>>::value; } template static constexpr bool _ImplicitlyMoveConvertiblePair() { return __and_, is_convertible<_U2&&, _T2>>::value; } template static constexpr bool _CopyMovePair() { using __do_converts = __and_, is_convertible<_U2&&, _T2>>; using __converts = typename conditional<__implicit, __do_converts, __not_<__do_converts>>::type; return __and_, is_constructible<_T2, _U2&&>, __converts >::value; } template static constexpr bool _MoveCopyPair() { using __do_converts = __and_, is_convertible>; using __converts = typename conditional<__implicit, __do_converts, __not_<__do_converts>>::type; return __and_, is_constructible<_T2, const _U2&&>, __converts >::value; } }; template struct _PCC { template static constexpr bool _ConstructiblePair() { return false; } template static constexpr bool _ImplicitlyConvertiblePair() { return false; } template static constexpr bool _MoveConstructiblePair() { return false; } template static constexpr bool _ImplicitlyMoveConvertiblePair() { return false; } }; template class __pair_base { template friend struct pair; __pair_base() = default; ~__pair_base() = default; __pair_base(const __pair_base&) = default; __pair_base& operator=(const __pair_base&) = delete; }; # 210 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 template struct pair : private __pair_base<_T1, _T2> { typedef _T1 first_type; typedef _T2 second_type; _T1 first; _T2 second; template , __is_implicitly_default_constructible<_U2>> ::value, bool>::type = true> constexpr pair() : first(), second() { } template , is_default_constructible<_U2>, __not_< __and_<__is_implicitly_default_constructible<_U1>, __is_implicitly_default_constructible<_U2>>>> ::value, bool>::type = false> explicit constexpr pair() : first(), second() { } # 256 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 using _PCCP = _PCC; template() && _PCCP::template _ImplicitlyConvertiblePair<_U1, _U2>(), bool>::type=true> constexpr pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) { } template() && !_PCCP::template _ImplicitlyConvertiblePair<_U1, _U2>(), bool>::type=false> explicit constexpr pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) { } # 288 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 template using _PCCFP = _PCC::value || !is_same<_T2, _U2>::value, _T1, _T2>; template::template _ConstructiblePair<_U1, _U2>() && _PCCFP<_U1, _U2>::template _ImplicitlyConvertiblePair<_U1, _U2>(), bool>::type=true> constexpr pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) { } template::template _ConstructiblePair<_U1, _U2>() && !_PCCFP<_U1, _U2>::template _ImplicitlyConvertiblePair<_U1, _U2>(), bool>::type=false> explicit constexpr pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) { } constexpr pair(const pair&) = default; constexpr pair(pair&&) = default; template(), bool>::type=true> constexpr pair(_U1&& __x, const _T2& __y) : first(std::forward<_U1>(__x)), second(__y) { } template(), bool>::type=false> explicit constexpr pair(_U1&& __x, const _T2& __y) : first(std::forward<_U1>(__x)), second(__y) { } template(), bool>::type=true> constexpr pair(const _T1& __x, _U2&& __y) : first(__x), second(std::forward<_U2>(__y)) { } template(), bool>::type=false> explicit pair(const _T1& __x, _U2&& __y) : first(__x), second(std::forward<_U2>(__y)) { } template() && _PCCP::template _ImplicitlyMoveConvertiblePair<_U1, _U2>(), bool>::type=true> constexpr pair(_U1&& __x, _U2&& __y) : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { } template() && !_PCCP::template _ImplicitlyMoveConvertiblePair<_U1, _U2>(), bool>::type=false> explicit constexpr pair(_U1&& __x, _U2&& __y) : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { } template::template _MoveConstructiblePair<_U1, _U2>() && _PCCFP<_U1, _U2>::template _ImplicitlyMoveConvertiblePair<_U1, _U2>(), bool>::type=true> constexpr pair(pair<_U1, _U2>&& __p) : first(std::forward<_U1>(__p.first)), second(std::forward<_U2>(__p.second)) { } template::template _MoveConstructiblePair<_U1, _U2>() && !_PCCFP<_U1, _U2>::template _ImplicitlyMoveConvertiblePair<_U1, _U2>(), bool>::type=false> explicit constexpr pair(pair<_U1, _U2>&& __p) : first(std::forward<_U1>(__p.first)), second(std::forward<_U2>(__p.second)) { } template pair(piecewise_construct_t, tuple<_Args1...>, tuple<_Args2...>); pair& operator=(typename conditional< __and_, is_copy_assignable<_T2>>::value, const pair&, const __nonesuch&>::type __p) { first = __p.first; second = __p.second; return *this; } pair& operator=(typename conditional< __and_, is_move_assignable<_T2>>::value, pair&&, __nonesuch&&>::type __p) noexcept(__and_, is_nothrow_move_assignable<_T2>>::value) { first = std::forward(__p.first); second = std::forward(__p.second); return *this; } template typename enable_if<__and_, is_assignable<_T2&, const _U2&>>::value, pair&>::type operator=(const pair<_U1, _U2>& __p) { first = __p.first; second = __p.second; return *this; } template typename enable_if<__and_, is_assignable<_T2&, _U2&&>>::value, pair&>::type operator=(pair<_U1, _U2>&& __p) { first = std::forward<_U1>(__p.first); second = std::forward<_U2>(__p.second); return *this; } void swap(pair& __p) noexcept(__and_<__is_nothrow_swappable<_T1>, __is_nothrow_swappable<_T2>>::value) { using std::swap; swap(first, __p.first); swap(second, __p.second); } private: template pair(tuple<_Args1...>&, tuple<_Args2...>&, _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>); }; # 464 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 template inline constexpr bool operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { return __x.first == __y.first && __x.second == __y.second; } # 487 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 template inline constexpr bool operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { return __x.first < __y.first || (!(__y.first < __x.first) && __x.second < __y.second); } template inline constexpr bool operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { return !(__x == __y); } template inline constexpr bool operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { return __y < __x; } template inline constexpr bool operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { return !(__y < __x); } template inline constexpr bool operator>=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { return !(__x < __y); } # 524 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 template inline void swap(pair<_T1, _T2>& __x, pair<_T1, _T2>& __y) noexcept(noexcept(__x.swap(__y))) { __x.swap(__y); } # 564 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 template constexpr pair::__type, typename __decay_and_strip<_T2>::__type> make_pair(_T1&& __x, _T2&& __y) { typedef typename __decay_and_strip<_T1>::__type __ds_type1; typedef typename __decay_and_strip<_T2>::__type __ds_type2; typedef pair<__ds_type1, __ds_type2> __pair_type; return __pair_type(std::forward<_T1>(__x), std::forward<_T2>(__y)); } # 584 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 } # 71 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/initializer_list" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/initializer_list" 3 #pragma GCC visibility push(default) namespace std { template class initializer_list { public: typedef _E value_type; typedef const _E& reference; typedef const _E& const_reference; typedef size_t size_type; typedef const _E* iterator; typedef const _E* const_iterator; private: iterator _M_array; size_type _M_len; constexpr initializer_list(const_iterator __a, size_type __l) : _M_array(__a), _M_len(__l) { } public: constexpr initializer_list() noexcept : _M_array(0), _M_len(0) { } constexpr size_type size() const noexcept { return _M_len; } constexpr const_iterator begin() const noexcept { return _M_array; } constexpr const_iterator end() const noexcept { return begin() + size(); } }; template constexpr const _Tp* begin(initializer_list<_Tp> __ils) noexcept { return __ils.begin(); } template constexpr const _Tp* end(initializer_list<_Tp> __ils) noexcept { return __ils.end(); } } #pragma GCC visibility pop # 77 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template struct tuple_size; template::type, typename = typename enable_if::value>::type, size_t = tuple_size<_Tp>::value> using __enable_if_has_tuple_size = _Tp; template struct tuple_size> : public tuple_size<_Tp> { }; template struct tuple_size> : public tuple_size<_Tp> { }; template struct tuple_size> : public tuple_size<_Tp> { }; template struct tuple_element; template using __tuple_element_t = typename tuple_element<__i, _Tp>::type; template struct tuple_element<__i, const _Tp> { typedef typename add_const<__tuple_element_t<__i, _Tp>>::type type; }; template struct tuple_element<__i, volatile _Tp> { typedef typename add_volatile<__tuple_element_t<__i, _Tp>>::type type; }; template struct tuple_element<__i, const volatile _Tp> { typedef typename add_cv<__tuple_element_t<__i, _Tp>>::type type; }; # 151 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 3 template struct __is_tuple_like_impl> : true_type { }; template struct tuple_size> : public integral_constant { }; template struct tuple_element<0, std::pair<_Tp1, _Tp2>> { typedef _Tp1 type; }; template struct tuple_element<1, std::pair<_Tp1, _Tp2>> { typedef _Tp2 type; }; template struct __pair_get; template<> struct __pair_get<0> { template static constexpr _Tp1& __get(std::pair<_Tp1, _Tp2>& __pair) noexcept { return __pair.first; } template static constexpr _Tp1&& __move_get(std::pair<_Tp1, _Tp2>&& __pair) noexcept { return std::forward<_Tp1>(__pair.first); } template static constexpr const _Tp1& __const_get(const std::pair<_Tp1, _Tp2>& __pair) noexcept { return __pair.first; } template static constexpr const _Tp1&& __const_move_get(const std::pair<_Tp1, _Tp2>&& __pair) noexcept { return std::forward(__pair.first); } }; template<> struct __pair_get<1> { template static constexpr _Tp2& __get(std::pair<_Tp1, _Tp2>& __pair) noexcept { return __pair.second; } template static constexpr _Tp2&& __move_get(std::pair<_Tp1, _Tp2>&& __pair) noexcept { return std::forward<_Tp2>(__pair.second); } template static constexpr const _Tp2& __const_get(const std::pair<_Tp1, _Tp2>& __pair) noexcept { return __pair.second; } template static constexpr const _Tp2&& __const_move_get(const std::pair<_Tp1, _Tp2>&& __pair) noexcept { return std::forward(__pair.second); } }; template constexpr typename tuple_element<_Int, std::pair<_Tp1, _Tp2>>::type& get(std::pair<_Tp1, _Tp2>& __in) noexcept { return __pair_get<_Int>::__get(__in); } template constexpr typename tuple_element<_Int, std::pair<_Tp1, _Tp2>>::type&& get(std::pair<_Tp1, _Tp2>&& __in) noexcept { return __pair_get<_Int>::__move_get(std::move(__in)); } template constexpr const typename tuple_element<_Int, std::pair<_Tp1, _Tp2>>::type& get(const std::pair<_Tp1, _Tp2>& __in) noexcept { return __pair_get<_Int>::__const_get(__in); } template constexpr const typename tuple_element<_Int, std::pair<_Tp1, _Tp2>>::type&& get(const std::pair<_Tp1, _Tp2>&& __in) noexcept { return __pair_get<_Int>::__const_move_get(std::move(__in)); } # 298 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 3 template struct _Index_tuple { }; # 307 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 3 template struct _Build_index_tuple { template using _IdxTuple = _Index_tuple<_Indices...>; using __type = __make_integer_seq<_IdxTuple, size_t, _Num>; }; # 474 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 3 } # 61 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/algorithm" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 1 3 # 60 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/functexcept.h" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/functexcept.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception_defines.h" 1 3 # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/functexcept.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { void __throw_bad_exception(void) __attribute__((__noreturn__)); void __throw_bad_alloc(void) __attribute__((__noreturn__)); void __throw_bad_cast(void) __attribute__((__noreturn__)); void __throw_bad_typeid(void) __attribute__((__noreturn__)); void __throw_logic_error(const char*) __attribute__((__noreturn__)); void __throw_domain_error(const char*) __attribute__((__noreturn__)); void __throw_invalid_argument(const char*) __attribute__((__noreturn__)); void __throw_length_error(const char*) __attribute__((__noreturn__)); void __throw_out_of_range(const char*) __attribute__((__noreturn__)); void __throw_out_of_range_fmt(const char*, ...) __attribute__((__noreturn__)) __attribute__((__format__(__gnu_printf__, 1, 2))); void __throw_runtime_error(const char*) __attribute__((__noreturn__)); void __throw_range_error(const char*) __attribute__((__noreturn__)); void __throw_overflow_error(const char*) __attribute__((__noreturn__)); void __throw_underflow_error(const char*) __attribute__((__noreturn__)); void __throw_ios_failure(const char*) __attribute__((__noreturn__)); void __throw_ios_failure(const char*, int) __attribute__((__noreturn__)); void __throw_system_error(int) __attribute__((__noreturn__)); void __throw_future_error(int) __attribute__((__noreturn__)); void __throw_bad_function_call() __attribute__((__noreturn__)); } # 61 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/numeric_traits.h" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/numeric_traits.h" 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { # 50 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/numeric_traits.h" 3 template struct __is_integer_nonstrict : public std::__is_integer<_Tp> { using std::__is_integer<_Tp>::__value; enum { __width = __value ? sizeof(_Tp) * 8 : 0 }; }; template struct __numeric_traits_integer { static_assert(__is_integer_nonstrict<_Value>::__value, "invalid specialization"); static const bool __is_signed = (_Value)(-1) < 0; static const int __digits = __is_integer_nonstrict<_Value>::__width - __is_signed; static const _Value __max = __is_signed ? (((((_Value)1 << (__digits - 1)) - 1) << 1) + 1) : ~(_Value)0; static const _Value __min = __is_signed ? -__max - 1 : (_Value)0; }; template const _Value __numeric_traits_integer<_Value>::__min; template const _Value __numeric_traits_integer<_Value>::__max; template const bool __numeric_traits_integer<_Value>::__is_signed; template const int __numeric_traits_integer<_Value>::__digits; # 128 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/numeric_traits.h" 3 template<> struct __is_integer_nonstrict<__int128> { enum { __value = 1 }; typedef std::__true_type __type; enum { __width = 128 }; }; template<> struct __is_integer_nonstrict { enum { __value = 1 }; typedef std::__true_type __type; enum { __width = 128 }; }; template using __int_traits = __numeric_traits_integer<_Tp>; # 155 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/numeric_traits.h" 3 template struct __numeric_traits_floating { static const int __max_digits10 = (2 + (std::__are_same<_Value, float>::__value ? 24 : std::__are_same<_Value, double>::__value ? 53 : 53) * 643L / 2136); static const bool __is_signed = true; static const int __digits10 = (std::__are_same<_Value, float>::__value ? 6 : std::__are_same<_Value, double>::__value ? 15 : 15); static const int __max_exponent10 = (std::__are_same<_Value, float>::__value ? 38 : std::__are_same<_Value, double>::__value ? 308 : 308); }; template const int __numeric_traits_floating<_Value>::__max_digits10; template const bool __numeric_traits_floating<_Value>::__is_signed; template const int __numeric_traits_floating<_Value>::__digits10; template const int __numeric_traits_floating<_Value>::__max_exponent10; template struct __numeric_traits : public __conditional_type<__is_integer_nonstrict<_Value>::__value, __numeric_traits_integer<_Value>, __numeric_traits_floating<_Value> >::__type { }; } # 64 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_types.h" 1 3 # 63 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_types.h" 3 # 74 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_types.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 93 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_types.h" 3 struct input_iterator_tag { }; struct output_iterator_tag { }; struct forward_iterator_tag : public input_iterator_tag { }; struct bidirectional_iterator_tag : public forward_iterator_tag { }; struct random_access_iterator_tag : public bidirectional_iterator_tag { }; # 125 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_types.h" 3 template struct iterator { typedef _Category iterator_category; typedef _Tp value_type; typedef _Distance difference_type; typedef _Pointer pointer; typedef _Reference reference; }; # 149 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_types.h" 3 template struct iterator_traits; template> struct __iterator_traits { }; template struct __iterator_traits<_Iterator, __void_t> { typedef typename _Iterator::iterator_category iterator_category; typedef typename _Iterator::value_type value_type; typedef typename _Iterator::difference_type difference_type; typedef typename _Iterator::pointer pointer; typedef typename _Iterator::reference reference; }; template struct iterator_traits : public __iterator_traits<_Iterator> { }; # 209 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_types.h" 3 template struct iterator_traits<_Tp*> { typedef random_access_iterator_tag iterator_category; typedef _Tp value_type; typedef ptrdiff_t difference_type; typedef _Tp* pointer; typedef _Tp& reference; }; template struct iterator_traits { typedef random_access_iterator_tag iterator_category; typedef _Tp value_type; typedef ptrdiff_t difference_type; typedef const _Tp* pointer; typedef const _Tp& reference; }; template inline constexpr typename iterator_traits<_Iter>::iterator_category __iterator_category(const _Iter&) { return typename iterator_traits<_Iter>::iterator_category(); } template using __iterator_category_t = typename iterator_traits<_Iter>::iterator_category; template using _RequireInputIter = __enable_if_t, input_iterator_tag>::value>; template> struct __is_random_access_iter : is_base_of { typedef is_base_of _Base; enum { __value = _Base::value }; }; # 269 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_types.h" 3 } # 66 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_funcs.h" 1 3 # 63 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_funcs.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/concept_check.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/concept_check.h" 3 # 65 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_funcs.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/debug/assertions.h" 1 3 # 66 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_funcs.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template struct _List_iterator; template struct _List_const_iterator; template inline typename iterator_traits<_InputIterator>::difference_type __distance(_InputIterator __first, _InputIterator __last, input_iterator_tag) { typename iterator_traits<_InputIterator>::difference_type __n = 0; while (__first != __last) { ++__first; ++__n; } return __n; } template inline typename iterator_traits<_RandomAccessIterator>::difference_type __distance(_RandomAccessIterator __first, _RandomAccessIterator __last, random_access_iterator_tag) { return __last - __first; } # 135 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_funcs.h" 3 template inline typename iterator_traits<_InputIterator>::difference_type distance(_InputIterator __first, _InputIterator __last) { return std::__distance(__first, __last, std::__iterator_category(__first)); } template inline void __advance(_InputIterator& __i, _Distance __n, input_iterator_tag) { ; while (__n--) ++__i; } template inline void __advance(_BidirectionalIterator& __i, _Distance __n, bidirectional_iterator_tag) { if (__n > 0) while (__n--) ++__i; else while (__n++) --__i; } template inline void __advance(_RandomAccessIterator& __i, _Distance __n, random_access_iterator_tag) { if (__builtin_constant_p(__n) && __n == 1) ++__i; else if (__builtin_constant_p(__n) && __n == -1) --__i; else __i += __n; } # 200 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_funcs.h" 3 template inline void advance(_InputIterator& __i, _Distance __n) { typename iterator_traits<_InputIterator>::difference_type __d = __n; std::__advance(__i, __d, std::__iterator_category(__i)); } template inline _InputIterator next(_InputIterator __x, typename iterator_traits<_InputIterator>::difference_type __n = 1) { std::advance(__x, __n); return __x; } template inline _BidirectionalIterator prev(_BidirectionalIterator __x, typename iterator_traits<_BidirectionalIterator>::difference_type __n = 1) { std::advance(__x, -__n); return __x; } } # 67 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 1 3 # 66 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ptr_traits.h" 1 3 # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ptr_traits.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { class __undefined; template struct __get_first_arg { using type = __undefined; }; template class _Template, typename _Tp, typename... _Types> struct __get_first_arg<_Template<_Tp, _Types...>> { using type = _Tp; }; template using __get_first_arg_t = typename __get_first_arg<_Tp>::type; template struct __replace_first_arg { }; template class _Template, typename _Up, typename _Tp, typename... _Types> struct __replace_first_arg<_Template<_Tp, _Types...>, _Up> { using type = _Template<_Up, _Types...>; }; template using __replace_first_arg_t = typename __replace_first_arg<_Tp, _Up>::type; template using __make_not_void = typename conditional::value, __undefined, _Tp>::type; template struct pointer_traits { private: template using __element_type = typename _Tp::element_type; template using __difference_type = typename _Tp::difference_type; template struct __rebind : __replace_first_arg<_Tp, _Up> { }; template struct __rebind<_Tp, _Up, __void_t>> { using type = typename _Tp::template rebind<_Up>; }; public: using pointer = _Ptr; using element_type = __detected_or_t<__get_first_arg_t<_Ptr>, __element_type, _Ptr>; using difference_type = __detected_or_t; template using rebind = typename __rebind<_Ptr, _Up>::type; static _Ptr pointer_to(__make_not_void& __e) { return _Ptr::pointer_to(__e); } static_assert(!is_same::value, "pointer type defines element_type or is like SomePointer"); }; template struct pointer_traits<_Tp*> { typedef _Tp* pointer; typedef _Tp element_type; typedef ptrdiff_t difference_type; template using rebind = _Up*; static pointer pointer_to(__make_not_void& __r) noexcept { return std::addressof(__r); } }; template using __ptr_rebind = typename pointer_traits<_Ptr>::template rebind<_Tp>; template constexpr _Tp* __to_address(_Tp* __ptr) noexcept { static_assert(!std::is_function<_Tp>::value, "not a function pointer"); return __ptr; } template constexpr typename std::pointer_traits<_Ptr>::element_type* __to_address(const _Ptr& __ptr) { return std::__to_address(__ptr.operator->()); } # 211 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ptr_traits.h" 3 } # 67 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 2 3 # 85 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 124 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template class reverse_iterator : public iterator::iterator_category, typename iterator_traits<_Iterator>::value_type, typename iterator_traits<_Iterator>::difference_type, typename iterator_traits<_Iterator>::pointer, typename iterator_traits<_Iterator>::reference> { protected: _Iterator current; typedef iterator_traits<_Iterator> __traits_type; public: typedef _Iterator iterator_type; typedef typename __traits_type::difference_type difference_type; typedef typename __traits_type::pointer pointer; typedef typename __traits_type::reference reference; # 161 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 reverse_iterator() : current() { } explicit reverse_iterator(iterator_type __x) : current(__x) { } reverse_iterator(const reverse_iterator& __x) : current(__x.current) { } reverse_iterator& operator=(const reverse_iterator&) = default; template reverse_iterator(const reverse_iterator<_Iter>& __x) : current(__x.base()) { } iterator_type base() const { return current; } # 206 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 reference operator*() const { _Iterator __tmp = current; return *--__tmp; } pointer operator->() const { _Iterator __tmp = current; --__tmp; return _S_to_pointer(__tmp); } reverse_iterator& operator++() { --current; return *this; } reverse_iterator operator++(int) { reverse_iterator __tmp = *this; --current; return __tmp; } reverse_iterator& operator--() { ++current; return *this; } reverse_iterator operator--(int) { reverse_iterator __tmp = *this; ++current; return __tmp; } reverse_iterator operator+(difference_type __n) const { return reverse_iterator(current - __n); } reverse_iterator& operator+=(difference_type __n) { current -= __n; return *this; } reverse_iterator operator-(difference_type __n) const { return reverse_iterator(current + __n); } reverse_iterator& operator-=(difference_type __n) { current += __n; return *this; } reference operator[](difference_type __n) const { return *(*this + __n); } # 360 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 private: template static _Tp* _S_to_pointer(_Tp* __p) { return __p; } template static pointer _S_to_pointer(_Tp __t) { return __t.operator->(); } }; # 383 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template inline bool operator==(const reverse_iterator<_Iterator>& __x, const reverse_iterator<_Iterator>& __y) { return __x.base() == __y.base(); } template inline bool operator<(const reverse_iterator<_Iterator>& __x, const reverse_iterator<_Iterator>& __y) { return __y.base() < __x.base(); } template inline bool operator!=(const reverse_iterator<_Iterator>& __x, const reverse_iterator<_Iterator>& __y) { return !(__x == __y); } template inline bool operator>(const reverse_iterator<_Iterator>& __x, const reverse_iterator<_Iterator>& __y) { return __y < __x; } template inline bool operator<=(const reverse_iterator<_Iterator>& __x, const reverse_iterator<_Iterator>& __y) { return !(__y < __x); } template inline bool operator>=(const reverse_iterator<_Iterator>& __x, const reverse_iterator<_Iterator>& __y) { return !(__x < __y); } template inline bool operator==(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) { return __x.base() == __y.base(); } template inline bool operator<(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) { return __y.base() < __x.base(); } template inline bool operator!=(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) { return !(__x == __y); } template inline bool operator>(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) { return __y < __x; } template inline bool operator<=(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) { return !(__y < __x); } template inline bool operator>=(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) { return !(__x < __y); } # 523 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template inline auto operator-(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) -> decltype(__y.base() - __x.base()) { return __y.base() - __x.base(); } template inline reverse_iterator<_Iterator> operator+(typename reverse_iterator<_Iterator>::difference_type __n, const reverse_iterator<_Iterator>& __x) { return reverse_iterator<_Iterator>(__x.base() - __n); } template inline reverse_iterator<_Iterator> __make_reverse_iterator(_Iterator __i) { return reverse_iterator<_Iterator>(__i); } # 564 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template auto __niter_base(reverse_iterator<_Iterator> __it) -> decltype(__make_reverse_iterator(__niter_base(__it.base()))) { return __make_reverse_iterator(__niter_base(__it.base())); } template struct __is_move_iterator > : __is_move_iterator<_Iterator> { }; template auto __miter_base(reverse_iterator<_Iterator> __it) -> decltype(__make_reverse_iterator(__miter_base(__it.base()))) { return __make_reverse_iterator(__miter_base(__it.base())); } # 595 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template class back_insert_iterator : public iterator { protected: _Container* container; public: typedef _Container container_type; explicit back_insert_iterator(_Container& __x) : container(std::__addressof(__x)) { } # 636 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 back_insert_iterator& operator=(const typename _Container::value_type& __value) { container->push_back(__value); return *this; } back_insert_iterator& operator=(typename _Container::value_type&& __value) { container->push_back(std::move(__value)); return *this; } back_insert_iterator& operator*() { return *this; } back_insert_iterator& operator++() { return *this; } back_insert_iterator operator++(int) { return *this; } }; # 682 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template inline back_insert_iterator<_Container> back_inserter(_Container& __x) { return back_insert_iterator<_Container>(__x); } # 698 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template class front_insert_iterator : public iterator { protected: _Container* container; public: typedef _Container container_type; explicit front_insert_iterator(_Container& __x) : container(std::__addressof(__x)) { } # 739 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 front_insert_iterator& operator=(const typename _Container::value_type& __value) { container->push_front(__value); return *this; } front_insert_iterator& operator=(typename _Container::value_type&& __value) { container->push_front(std::move(__value)); return *this; } front_insert_iterator& operator*() { return *this; } front_insert_iterator& operator++() { return *this; } front_insert_iterator operator++(int) { return *this; } }; # 785 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template inline front_insert_iterator<_Container> front_inserter(_Container& __x) { return front_insert_iterator<_Container>(__x); } # 805 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template class insert_iterator : public iterator { typedef typename _Container::iterator _Iter; protected: _Container* container; _Iter iter; public: typedef _Container container_type; # 838 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 insert_iterator(_Container& __x, _Iter __i) : container(std::__addressof(__x)), iter(__i) {} # 874 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 insert_iterator& operator=(const typename _Container::value_type& __value) { iter = container->insert(iter, __value); ++iter; return *this; } insert_iterator& operator=(typename _Container::value_type&& __value) { iter = container->insert(iter, std::move(__value)); ++iter; return *this; } insert_iterator& operator*() { return *this; } insert_iterator& operator++() { return *this; } insert_iterator& operator++(int) { return *this; } }; # 929 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template inline insert_iterator<_Container> inserter(_Container& __x, _Iterator __i) { return insert_iterator<_Container>(__x, typename _Container::iterator(__i)); } } namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { # 954 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template class __normal_iterator { protected: _Iterator _M_current; typedef std::iterator_traits<_Iterator> __traits_type; public: typedef _Iterator iterator_type; typedef typename __traits_type::iterator_category iterator_category; typedef typename __traits_type::value_type value_type; typedef typename __traits_type::difference_type difference_type; typedef typename __traits_type::reference reference; typedef typename __traits_type::pointer pointer; constexpr __normal_iterator() noexcept : _M_current(_Iterator()) { } explicit __normal_iterator(const _Iterator& __i) noexcept : _M_current(__i) { } template __normal_iterator(const __normal_iterator<_Iter, typename __enable_if< (std::__are_same<_Iter, typename _Container::pointer>::__value), _Container>::__type>& __i) noexcept : _M_current(__i.base()) { } reference operator*() const noexcept { return *_M_current; } pointer operator->() const noexcept { return _M_current; } __normal_iterator& operator++() noexcept { ++_M_current; return *this; } __normal_iterator operator++(int) noexcept { return __normal_iterator(_M_current++); } __normal_iterator& operator--() noexcept { --_M_current; return *this; } __normal_iterator operator--(int) noexcept { return __normal_iterator(_M_current--); } reference operator[](difference_type __n) const noexcept { return _M_current[__n]; } __normal_iterator& operator+=(difference_type __n) noexcept { _M_current += __n; return *this; } __normal_iterator operator+(difference_type __n) const noexcept { return __normal_iterator(_M_current + __n); } __normal_iterator& operator-=(difference_type __n) noexcept { _M_current -= __n; return *this; } __normal_iterator operator-(difference_type __n) const noexcept { return __normal_iterator(_M_current - __n); } const _Iterator& base() const noexcept { return _M_current; } }; # 1086 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template inline bool operator==(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept { return __lhs.base() == __rhs.base(); } template inline bool operator==(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() == __rhs.base(); } template inline bool operator!=(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept { return __lhs.base() != __rhs.base(); } template inline bool operator!=(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() != __rhs.base(); } template inline bool operator<(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept { return __lhs.base() < __rhs.base(); } template inline bool operator<(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() < __rhs.base(); } template inline bool operator>(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept { return __lhs.base() > __rhs.base(); } template inline bool operator>(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() > __rhs.base(); } template inline bool operator<=(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept { return __lhs.base() <= __rhs.base(); } template inline bool operator<=(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() <= __rhs.base(); } template inline bool operator>=(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept { return __lhs.base() >= __rhs.base(); } template inline bool operator>=(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() >= __rhs.base(); } template inline auto operator-(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept -> decltype(__lhs.base() - __rhs.base()) { return __lhs.base() - __rhs.base(); } template inline typename __normal_iterator<_Iterator, _Container>::difference_type operator-(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() - __rhs.base(); } template inline __normal_iterator<_Iterator, _Container> operator+(typename __normal_iterator<_Iterator, _Container>::difference_type __n, const __normal_iterator<_Iterator, _Container>& __i) noexcept { return __normal_iterator<_Iterator, _Container>(__i.base() + __n); } } namespace std __attribute__ ((__visibility__ ("default"))) { template _Iterator __niter_base(__gnu_cxx::__normal_iterator<_Iterator, _Container> __it) noexcept(std::is_nothrow_copy_constructible<_Iterator>::value) { return __it.base(); } # 1285 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template class move_iterator { _Iterator _M_current; using __traits_type = iterator_traits<_Iterator>; using __base_ref = typename __traits_type::reference; public: using iterator_type = _Iterator; # 1309 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 typedef typename __traits_type::iterator_category iterator_category; typedef typename __traits_type::value_type value_type; typedef typename __traits_type::difference_type difference_type; typedef _Iterator pointer; typedef typename conditional::value, typename remove_reference<__base_ref>::type&&, __base_ref>::type reference; move_iterator() : _M_current() { } explicit move_iterator(iterator_type __i) : _M_current(std::move(__i)) { } template move_iterator(const move_iterator<_Iter>& __i) : _M_current(__i.base()) { } iterator_type base() const { return _M_current; } # 1351 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 reference operator*() const { return static_cast(*_M_current); } pointer operator->() const { return _M_current; } move_iterator& operator++() { ++_M_current; return *this; } move_iterator operator++(int) { move_iterator __tmp = *this; ++_M_current; return __tmp; } move_iterator& operator--() { --_M_current; return *this; } move_iterator operator--(int) { move_iterator __tmp = *this; --_M_current; return __tmp; } move_iterator operator+(difference_type __n) const { return move_iterator(_M_current + __n); } move_iterator& operator+=(difference_type __n) { _M_current += __n; return *this; } move_iterator operator-(difference_type __n) const { return move_iterator(_M_current - __n); } move_iterator& operator-=(difference_type __n) { _M_current -= __n; return *this; } reference operator[](difference_type __n) const { return std::move(_M_current[__n]); } # 1456 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 }; template inline bool operator==(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) { return __x.base() == __y.base(); } # 1475 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template inline bool operator!=(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) { return !(__x == __y); } template inline bool operator<(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) { return __x.base() < __y.base(); } template inline bool operator<=(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) { return !(__y < __x); } template inline bool operator>(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) { return __y < __x; } template inline bool operator>=(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) { return !(__x < __y); } # 1526 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template inline bool operator==(const move_iterator<_Iterator>& __x, const move_iterator<_Iterator>& __y) { return __x.base() == __y.base(); } template inline bool operator!=(const move_iterator<_Iterator>& __x, const move_iterator<_Iterator>& __y) { return !(__x == __y); } template inline bool operator<(const move_iterator<_Iterator>& __x, const move_iterator<_Iterator>& __y) { return __x.base() < __y.base(); } template inline bool operator<=(const move_iterator<_Iterator>& __x, const move_iterator<_Iterator>& __y) { return !(__y < __x); } template inline bool operator>(const move_iterator<_Iterator>& __x, const move_iterator<_Iterator>& __y) { return __y < __x; } template inline bool operator>=(const move_iterator<_Iterator>& __x, const move_iterator<_Iterator>& __y) { return !(__x < __y); } template inline auto operator-(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) -> decltype(__x.base() - __y.base()) { return __x.base() - __y.base(); } template inline move_iterator<_Iterator> operator+(typename move_iterator<_Iterator>::difference_type __n, const move_iterator<_Iterator>& __x) { return __x + __n; } template inline move_iterator<_Iterator> make_move_iterator(_Iterator __i) { return move_iterator<_Iterator>(std::move(__i)); } template::value_type>::value, _Iterator, move_iterator<_Iterator>>::type> inline _ReturnType __make_move_if_noexcept_iterator(_Iterator __i) { return _ReturnType(__i); } template::value, const _Tp*, move_iterator<_Tp*>>::type> inline _ReturnType __make_move_if_noexcept_iterator(_Tp* __i) { return _ReturnType(__i); } # 2183 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template auto __niter_base(move_iterator<_Iterator> __it) -> decltype(make_move_iterator(__niter_base(__it.base()))) { return make_move_iterator(__niter_base(__it.base())); } template struct __is_move_iterator > { enum { __value = 1 }; typedef __true_type __type; }; template auto __miter_base(move_iterator<_Iterator> __it) -> decltype(__miter_base(__it.base())) { return __miter_base(__it.base()); } # 2231 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 } # 68 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/debug/debug.h" 1 3 # 48 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/debug/debug.h" 3 namespace std { namespace __debug { } } namespace __gnu_debug { using namespace std::__debug; template struct _Safe_iterator; } # 70 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/predefined_ops.h" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/predefined_ops.h" 3 namespace __gnu_cxx { namespace __ops { struct _Iter_less_iter { template bool operator()(_Iterator1 __it1, _Iterator2 __it2) const { return *__it1 < *__it2; } }; inline _Iter_less_iter __iter_less_iter() { return _Iter_less_iter(); } struct _Iter_less_val { constexpr _Iter_less_val() = default; explicit _Iter_less_val(_Iter_less_iter) { } template bool operator()(_Iterator __it, _Value& __val) const { return *__it < __val; } }; inline _Iter_less_val __iter_less_val() { return _Iter_less_val(); } inline _Iter_less_val __iter_comp_val(_Iter_less_iter) { return _Iter_less_val(); } struct _Val_less_iter { constexpr _Val_less_iter() = default; explicit _Val_less_iter(_Iter_less_iter) { } template bool operator()(_Value& __val, _Iterator __it) const { return __val < *__it; } }; inline _Val_less_iter __val_less_iter() { return _Val_less_iter(); } inline _Val_less_iter __val_comp_iter(_Iter_less_iter) { return _Val_less_iter(); } struct _Iter_equal_to_iter { template bool operator()(_Iterator1 __it1, _Iterator2 __it2) const { return *__it1 == *__it2; } }; inline _Iter_equal_to_iter __iter_equal_to_iter() { return _Iter_equal_to_iter(); } struct _Iter_equal_to_val { template bool operator()(_Iterator __it, _Value& __val) const { return *__it == __val; } }; inline _Iter_equal_to_val __iter_equal_to_val() { return _Iter_equal_to_val(); } inline _Iter_equal_to_val __iter_comp_val(_Iter_equal_to_iter) { return _Iter_equal_to_val(); } template struct _Iter_comp_iter { _Compare _M_comp; explicit _Iter_comp_iter(_Compare __comp) : _M_comp(std::move(__comp)) { } template bool operator()(_Iterator1 __it1, _Iterator2 __it2) { return bool(_M_comp(*__it1, *__it2)); } }; template inline _Iter_comp_iter<_Compare> __iter_comp_iter(_Compare __comp) { return _Iter_comp_iter<_Compare>(std::move(__comp)); } template struct _Iter_comp_val { _Compare _M_comp; explicit _Iter_comp_val(_Compare __comp) : _M_comp(std::move(__comp)) { } explicit _Iter_comp_val(const _Iter_comp_iter<_Compare>& __comp) : _M_comp(__comp._M_comp) { } explicit _Iter_comp_val(_Iter_comp_iter<_Compare>&& __comp) : _M_comp(std::move(__comp._M_comp)) { } template bool operator()(_Iterator __it, _Value& __val) { return bool(_M_comp(*__it, __val)); } }; template inline _Iter_comp_val<_Compare> __iter_comp_val(_Compare __comp) { return _Iter_comp_val<_Compare>(std::move(__comp)); } template inline _Iter_comp_val<_Compare> __iter_comp_val(_Iter_comp_iter<_Compare> __comp) { return _Iter_comp_val<_Compare>(std::move(__comp)); } template struct _Val_comp_iter { _Compare _M_comp; explicit _Val_comp_iter(_Compare __comp) : _M_comp(std::move(__comp)) { } explicit _Val_comp_iter(const _Iter_comp_iter<_Compare>& __comp) : _M_comp(__comp._M_comp) { } explicit _Val_comp_iter(_Iter_comp_iter<_Compare>&& __comp) : _M_comp(std::move(__comp._M_comp)) { } template bool operator()(_Value& __val, _Iterator __it) { return bool(_M_comp(__val, *__it)); } }; template inline _Val_comp_iter<_Compare> __val_comp_iter(_Compare __comp) { return _Val_comp_iter<_Compare>(std::move(__comp)); } template inline _Val_comp_iter<_Compare> __val_comp_iter(_Iter_comp_iter<_Compare> __comp) { return _Val_comp_iter<_Compare>(std::move(__comp)); } template struct _Iter_equals_val { _Value& _M_value; explicit _Iter_equals_val(_Value& __value) : _M_value(__value) { } template bool operator()(_Iterator __it) { return *__it == _M_value; } }; template inline _Iter_equals_val<_Value> __iter_equals_val(_Value& __val) { return _Iter_equals_val<_Value>(__val); } template struct _Iter_equals_iter { _Iterator1 _M_it1; explicit _Iter_equals_iter(_Iterator1 __it1) : _M_it1(__it1) { } template bool operator()(_Iterator2 __it2) { return *__it2 == *_M_it1; } }; template inline _Iter_equals_iter<_Iterator> __iter_comp_iter(_Iter_equal_to_iter, _Iterator __it) { return _Iter_equals_iter<_Iterator>(__it); } template struct _Iter_pred { _Predicate _M_pred; explicit _Iter_pred(_Predicate __pred) : _M_pred(std::move(__pred)) { } template bool operator()(_Iterator __it) { return bool(_M_pred(*__it)); } }; template inline _Iter_pred<_Predicate> __pred_iter(_Predicate __pred) { return _Iter_pred<_Predicate>(std::move(__pred)); } template struct _Iter_comp_to_val { _Compare _M_comp; _Value& _M_value; _Iter_comp_to_val(_Compare __comp, _Value& __value) : _M_comp(std::move(__comp)), _M_value(__value) { } template bool operator()(_Iterator __it) { return bool(_M_comp(*__it, _M_value)); } }; template _Iter_comp_to_val<_Compare, _Value> __iter_comp_val(_Compare __comp, _Value &__val) { return _Iter_comp_to_val<_Compare, _Value>(std::move(__comp), __val); } template struct _Iter_comp_to_iter { _Compare _M_comp; _Iterator1 _M_it1; _Iter_comp_to_iter(_Compare __comp, _Iterator1 __it1) : _M_comp(std::move(__comp)), _M_it1(__it1) { } template bool operator()(_Iterator2 __it2) { return bool(_M_comp(*__it2, *_M_it1)); } }; template inline _Iter_comp_to_iter<_Compare, _Iterator> __iter_comp_iter(_Iter_comp_iter<_Compare> __comp, _Iterator __it) { return _Iter_comp_to_iter<_Compare, _Iterator>( std::move(__comp._M_comp), __it); } template struct _Iter_negate { _Predicate _M_pred; explicit _Iter_negate(_Predicate __pred) : _M_pred(std::move(__pred)) { } template bool operator()(_Iterator __it) { return !bool(_M_pred(*__it)); } }; template inline _Iter_negate<_Predicate> __negate(_Iter_pred<_Predicate> __pred) { return _Iter_negate<_Predicate>(std::move(__pred._M_pred)); } } } # 72 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template inline int __memcmp(const _Tp* __first1, const _Up* __first2, size_t __num) { static_assert(sizeof(_Tp) == sizeof(_Up), "can be compared with memcmp"); # 105 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 return __builtin_memcmp(__first1, __first2, sizeof(_Tp) * __num); } # 149 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline void iter_swap(_ForwardIterator1 __a, _ForwardIterator2 __b) { # 182 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 swap(*__a, *__b); } # 198 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template _ForwardIterator2 swap_ranges(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2) { ; for (; __first1 != __last1; ++__first1, (void)++__first2) std::iter_swap(__first1, __first2); return __first2; } # 227 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline const _Tp& min(const _Tp& __a, const _Tp& __b) { if (__b < __a) return __b; return __a; } # 251 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline const _Tp& max(const _Tp& __a, const _Tp& __b) { if (__a < __b) return __b; return __a; } # 275 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline const _Tp& min(const _Tp& __a, const _Tp& __b, _Compare __comp) { if (__comp(__b, __a)) return __b; return __a; } # 297 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline const _Tp& max(const _Tp& __a, const _Tp& __b, _Compare __comp) { if (__comp(__a, __b)) return __b; return __a; } template inline _Iterator __niter_base(_Iterator __it) noexcept(std::is_nothrow_copy_constructible<_Iterator>::value) { return __it; } template inline _From __niter_wrap(_From __from, _To __res) { return __from + (__res - std::__niter_base(__from)); } template inline _Iterator __niter_wrap(const _Iterator&, _Iterator __res) { return __res; } template struct __copy_move { template static _OI __copy_m(_II __first, _II __last, _OI __result) { for (; __first != __last; ++__result, (void)++__first) *__result = *__first; return __result; } }; template struct __copy_move { template static _OI __copy_m(_II __first, _II __last, _OI __result) { for (; __first != __last; ++__result, (void)++__first) *__result = std::move(*__first); return __result; } }; template<> struct __copy_move { template static _OI __copy_m(_II __first, _II __last, _OI __result) { typedef typename iterator_traits<_II>::difference_type _Distance; for(_Distance __n = __last - __first; __n > 0; --__n) { *__result = *__first; ++__first; ++__result; } return __result; } }; template<> struct __copy_move { template static _OI __copy_m(_II __first, _II __last, _OI __result) { typedef typename iterator_traits<_II>::difference_type _Distance; for(_Distance __n = __last - __first; __n > 0; --__n) { *__result = std::move(*__first); ++__first; ++__result; } return __result; } }; template struct __copy_move<_IsMove, true, random_access_iterator_tag> { template static _Tp* __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result) { using __assignable = conditional<_IsMove, is_move_assignable<_Tp>, is_copy_assignable<_Tp>>; static_assert( __assignable::type::value, "type is not assignable" ); const ptrdiff_t _Num = __last - __first; if (_Num) __builtin_memmove(__result, __first, sizeof(_Tp) * _Num); return __result + _Num; } }; template struct char_traits; template class istreambuf_iterator; template class ostreambuf_iterator; template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, ostreambuf_iterator<_CharT, char_traits<_CharT> > >::__type __copy_move_a2(_CharT*, _CharT*, ostreambuf_iterator<_CharT, char_traits<_CharT> >); template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, ostreambuf_iterator<_CharT, char_traits<_CharT> > >::__type __copy_move_a2(const _CharT*, const _CharT*, ostreambuf_iterator<_CharT, char_traits<_CharT> >); template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, _CharT*>::__type __copy_move_a2(istreambuf_iterator<_CharT, char_traits<_CharT> >, istreambuf_iterator<_CharT, char_traits<_CharT> >, _CharT*); template inline _OI __copy_move_a2(_II __first, _II __last, _OI __result) { typedef typename iterator_traits<_II>::iterator_category _Category; return std::__copy_move<_IsMove, __memcpyable<_OI, _II>::__value, _Category>::__copy_m(__first, __last, __result); } template struct _Deque_iterator; template _OI __copy_move_a1(std::_Deque_iterator<_Tp, _Ref, _Ptr>, std::_Deque_iterator<_Tp, _Ref, _Ptr>, _OI); template std::_Deque_iterator<_OTp, _OTp&, _OTp*> __copy_move_a1(std::_Deque_iterator<_ITp, _IRef, _IPtr>, std::_Deque_iterator<_ITp, _IRef, _IPtr>, std::_Deque_iterator<_OTp, _OTp&, _OTp*>); template typename __gnu_cxx::__enable_if< __is_random_access_iter<_II>::__value, std::_Deque_iterator<_Tp, _Tp&, _Tp*> >::__type __copy_move_a1(_II, _II, std::_Deque_iterator<_Tp, _Tp&, _Tp*>); template inline _OI __copy_move_a1(_II __first, _II __last, _OI __result) { return std::__copy_move_a2<_IsMove>(__first, __last, __result); } template inline _OI __copy_move_a(_II __first, _II __last, _OI __result) { return std::__niter_wrap(__result, std::__copy_move_a1<_IsMove>(std::__niter_base(__first), std::__niter_base(__last), std::__niter_base(__result))); } template _OI __copy_move_a(const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&, const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&, _OI); template __gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat> __copy_move_a(_II, _II, const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&); template ::__gnu_debug::_Safe_iterator<_OIte, _OSeq, _OCat> __copy_move_a(const ::__gnu_debug::_Safe_iterator<_IIte, _ISeq, _ICat>&, const ::__gnu_debug::_Safe_iterator<_IIte, _ISeq, _ICat>&, const ::__gnu_debug::_Safe_iterator<_OIte, _OSeq, _OCat>&); # 557 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline _OI copy(_II __first, _II __last, _OI __result) { ; return std::__copy_move_a<__is_move_iterator<_II>::__value> (std::__miter_base(__first), std::__miter_base(__last), __result); } # 590 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline _OI move(_II __first, _II __last, _OI __result) { ; return std::__copy_move_a(std::__miter_base(__first), std::__miter_base(__last), __result); } template struct __copy_move_backward { template static _BI2 __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result) { while (__first != __last) *--__result = *--__last; return __result; } }; template struct __copy_move_backward { template static _BI2 __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result) { while (__first != __last) *--__result = std::move(*--__last); return __result; } }; template<> struct __copy_move_backward { template static _BI2 __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result) { typename iterator_traits<_BI1>::difference_type __n = __last - __first; for (; __n > 0; --__n) *--__result = *--__last; return __result; } }; template<> struct __copy_move_backward { template static _BI2 __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result) { typename iterator_traits<_BI1>::difference_type __n = __last - __first; for (; __n > 0; --__n) *--__result = std::move(*--__last); return __result; } }; template struct __copy_move_backward<_IsMove, true, random_access_iterator_tag> { template static _Tp* __copy_move_b(const _Tp* __first, const _Tp* __last, _Tp* __result) { using __assignable = conditional<_IsMove, is_move_assignable<_Tp>, is_copy_assignable<_Tp>>; static_assert( __assignable::type::value, "type is not assignable" ); const ptrdiff_t _Num = __last - __first; if (_Num) __builtin_memmove(__result - _Num, __first, sizeof(_Tp) * _Num); return __result - _Num; } }; template inline _BI2 __copy_move_backward_a2(_BI1 __first, _BI1 __last, _BI2 __result) { typedef typename iterator_traits<_BI1>::iterator_category _Category; return std::__copy_move_backward<_IsMove, __memcpyable<_BI2, _BI1>::__value, _Category>::__copy_move_b(__first, __last, __result); } template inline _BI2 __copy_move_backward_a1(_BI1 __first, _BI1 __last, _BI2 __result) { return std::__copy_move_backward_a2<_IsMove>(__first, __last, __result); } template _OI __copy_move_backward_a1(std::_Deque_iterator<_Tp, _Ref, _Ptr>, std::_Deque_iterator<_Tp, _Ref, _Ptr>, _OI); template std::_Deque_iterator<_OTp, _OTp&, _OTp*> __copy_move_backward_a1( std::_Deque_iterator<_ITp, _IRef, _IPtr>, std::_Deque_iterator<_ITp, _IRef, _IPtr>, std::_Deque_iterator<_OTp, _OTp&, _OTp*>); template typename __gnu_cxx::__enable_if< __is_random_access_iter<_II>::__value, std::_Deque_iterator<_Tp, _Tp&, _Tp*> >::__type __copy_move_backward_a1(_II, _II, std::_Deque_iterator<_Tp, _Tp&, _Tp*>); template inline _OI __copy_move_backward_a(_II __first, _II __last, _OI __result) { return std::__niter_wrap(__result, std::__copy_move_backward_a1<_IsMove> (std::__niter_base(__first), std::__niter_base(__last), std::__niter_base(__result))); } template _OI __copy_move_backward_a( const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&, const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&, _OI); template __gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat> __copy_move_backward_a(_II, _II, const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&); template ::__gnu_debug::_Safe_iterator<_OIte, _OSeq, _OCat> __copy_move_backward_a( const ::__gnu_debug::_Safe_iterator<_IIte, _ISeq, _ICat>&, const ::__gnu_debug::_Safe_iterator<_IIte, _ISeq, _ICat>&, const ::__gnu_debug::_Safe_iterator<_OIte, _OSeq, _OCat>&); # 794 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline _BI2 copy_backward(_BI1 __first, _BI1 __last, _BI2 __result) { ; return std::__copy_move_backward_a<__is_move_iterator<_BI1>::__value> (std::__miter_base(__first), std::__miter_base(__last), __result); } # 830 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline _BI2 move_backward(_BI1 __first, _BI1 __last, _BI2 __result) { ; return std::__copy_move_backward_a(std::__miter_base(__first), std::__miter_base(__last), __result); } template inline typename __gnu_cxx::__enable_if::__value, void>::__type __fill_a1(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) { for (; __first != __last; ++__first) *__first = __value; } template inline typename __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, void>::__type __fill_a1(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) { const _Tp __tmp = __value; for (; __first != __last; ++__first) *__first = __tmp; } template inline typename __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, void>::__type __fill_a1(_Tp* __first, _Tp* __last, const _Tp& __c) { const _Tp __tmp = __c; # 892 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 if (const size_t __len = __last - __first) __builtin_memset(__first, static_cast(__tmp), __len); } template inline void __fill_a1(::__gnu_cxx::__normal_iterator<_Ite, _Cont> __first, ::__gnu_cxx::__normal_iterator<_Ite, _Cont> __last, const _Tp& __value) { std::__fill_a1(__first.base(), __last.base(), __value); } template void __fill_a1(const std::_Deque_iterator<_Tp, _Tp&, _Tp*>&, const std::_Deque_iterator<_Tp, _Tp&, _Tp*>&, const _VTp&); template inline void __fill_a(_FIte __first, _FIte __last, const _Tp& __value) { std::__fill_a1(__first, __last, __value); } template void __fill_a(const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&, const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&, const _Tp&); # 934 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline void fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) { ; std::__fill_a(__first, __last, __value); } inline constexpr int __size_to_integer(int __n) { return __n; } inline constexpr unsigned __size_to_integer(unsigned __n) { return __n; } inline constexpr long __size_to_integer(long __n) { return __n; } inline constexpr unsigned long __size_to_integer(unsigned long __n) { return __n; } inline constexpr long long __size_to_integer(long long __n) { return __n; } inline constexpr unsigned long long __size_to_integer(unsigned long long __n) { return __n; } # 986 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 inline constexpr long long __size_to_integer(float __n) { return __n; } inline constexpr long long __size_to_integer(double __n) { return __n; } inline constexpr long long __size_to_integer(long double __n) { return __n; } template inline typename __gnu_cxx::__enable_if::__value, _OutputIterator>::__type __fill_n_a1(_OutputIterator __first, _Size __n, const _Tp& __value) { for (; __n > 0; --__n, (void) ++__first) *__first = __value; return __first; } template inline typename __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, _OutputIterator>::__type __fill_n_a1(_OutputIterator __first, _Size __n, const _Tp& __value) { const _Tp __tmp = __value; for (; __n > 0; --__n, (void) ++__first) *__first = __tmp; return __first; } template ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat> __fill_n_a(const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>& __first, _Size __n, const _Tp& __value, std::input_iterator_tag); template inline _OutputIterator __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value, std::output_iterator_tag) { static_assert(is_integral<_Size>{}, "fill_n must pass integral size"); return __fill_n_a1(__first, __n, __value); } template inline _OutputIterator __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value, std::input_iterator_tag) { static_assert(is_integral<_Size>{}, "fill_n must pass integral size"); return __fill_n_a1(__first, __n, __value); } template inline _OutputIterator __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value, std::random_access_iterator_tag) { static_assert(is_integral<_Size>{}, "fill_n must pass integral size"); if (__n <= 0) return __first; ; std::__fill_a(__first, __first + __n, __value); return __first + __n; } # 1086 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline _OI fill_n(_OI __first, _Size __n, const _Tp& __value) { return std::__fill_n_a(__first, std::__size_to_integer(__n), __value, std::__iterator_category(__first)); } template struct __equal { template static bool equal(_II1 __first1, _II1 __last1, _II2 __first2) { for (; __first1 != __last1; ++__first1, (void) ++__first2) if (!(*__first1 == *__first2)) return false; return true; } }; template<> struct __equal { template static bool equal(const _Tp* __first1, const _Tp* __last1, const _Tp* __first2) { if (const size_t __len = (__last1 - __first1)) return !std::__memcmp(__first1, __first2, __len); return true; } }; template typename __gnu_cxx::__enable_if< __is_random_access_iter<_II>::__value, bool>::__type __equal_aux1(std::_Deque_iterator<_Tp, _Ref, _Ptr>, std::_Deque_iterator<_Tp, _Ref, _Ptr>, _II); template bool __equal_aux1(std::_Deque_iterator<_Tp1, _Ref1, _Ptr1>, std::_Deque_iterator<_Tp1, _Ref1, _Ptr1>, std::_Deque_iterator<_Tp2, _Ref2, _Ptr2>); template typename __gnu_cxx::__enable_if< __is_random_access_iter<_II>::__value, bool>::__type __equal_aux1(_II, _II, std::_Deque_iterator<_Tp, _Ref, _Ptr>); template inline bool __equal_aux1(_II1 __first1, _II1 __last1, _II2 __first2) { typedef typename iterator_traits<_II1>::value_type _ValueType1; const bool __simple = ((__is_integer<_ValueType1>::__value || __is_pointer<_ValueType1>::__value) && __memcmpable<_II1, _II2>::__value); return std::__equal<__simple>::equal(__first1, __last1, __first2); } template inline bool __equal_aux(_II1 __first1, _II1 __last1, _II2 __first2) { return std::__equal_aux1(std::__niter_base(__first1), std::__niter_base(__last1), std::__niter_base(__first2)); } template bool __equal_aux(const ::__gnu_debug::_Safe_iterator<_II1, _Seq1, _Cat1>&, const ::__gnu_debug::_Safe_iterator<_II1, _Seq1, _Cat1>&, _II2); template bool __equal_aux(_II1, _II1, const ::__gnu_debug::_Safe_iterator<_II2, _Seq2, _Cat2>&); template bool __equal_aux(const ::__gnu_debug::_Safe_iterator<_II1, _Seq1, _Cat1>&, const ::__gnu_debug::_Safe_iterator<_II1, _Seq1, _Cat1>&, const ::__gnu_debug::_Safe_iterator<_II2, _Seq2, _Cat2>&); template struct __lc_rai { template static _II1 __newlast1(_II1, _II1 __last1, _II2, _II2) { return __last1; } template static bool __cnd2(_II __first, _II __last) { return __first != __last; } }; template<> struct __lc_rai { template static _RAI1 __newlast1(_RAI1 __first1, _RAI1 __last1, _RAI2 __first2, _RAI2 __last2) { const typename iterator_traits<_RAI1>::difference_type __diff1 = __last1 - __first1; const typename iterator_traits<_RAI2>::difference_type __diff2 = __last2 - __first2; return __diff2 < __diff1 ? __first1 + __diff2 : __last1; } template static bool __cnd2(_RAI, _RAI) { return true; } }; template bool __lexicographical_compare_impl(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2, _Compare __comp) { typedef typename iterator_traits<_II1>::iterator_category _Category1; typedef typename iterator_traits<_II2>::iterator_category _Category2; typedef std::__lc_rai<_Category1, _Category2> __rai_type; __last1 = __rai_type::__newlast1(__first1, __last1, __first2, __last2); for (; __first1 != __last1 && __rai_type::__cnd2(__first2, __last2); ++__first1, (void)++__first2) { if (__comp(__first1, __first2)) return true; if (__comp(__first2, __first1)) return false; } return __first1 == __last1 && __first2 != __last2; } template struct __lexicographical_compare { template static bool __lc(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2) { using __gnu_cxx::__ops::__iter_less_iter; return std::__lexicographical_compare_impl(__first1, __last1, __first2, __last2, __iter_less_iter()); } }; template<> struct __lexicographical_compare { template static bool __lc(const _Tp* __first1, const _Tp* __last1, const _Up* __first2, const _Up* __last2) { const size_t __len1 = __last1 - __first1; const size_t __len2 = __last2 - __first2; if (const size_t __len = std::min(__len1, __len2)) if (int __result = std::__memcmp(__first1, __first2, __len)) return __result < 0; return __len1 < __len2; } }; template inline bool __lexicographical_compare_aux(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2) { typedef typename iterator_traits<_II1>::value_type _ValueType1; typedef typename iterator_traits<_II2>::value_type _ValueType2; const bool __simple = (__is_memcmp_ordered_with<_ValueType1, _ValueType2>::__value && __is_pointer<_II1>::__value && __is_pointer<_II2>::__value ); return std::__lexicographical_compare<__simple>::__lc(__first1, __last1, __first2, __last2); } template _ForwardIterator __lower_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val, _Compare __comp) { typedef typename iterator_traits<_ForwardIterator>::difference_type _DistanceType; _DistanceType __len = std::distance(__first, __last); while (__len > 0) { _DistanceType __half = __len >> 1; _ForwardIterator __middle = __first; std::advance(__middle, __half); if (__comp(__middle, __val)) { __first = __middle; ++__first; __len = __len - __half - 1; } else __len = __half; } return __first; } # 1345 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline _ForwardIterator lower_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val) { ; return std::__lower_bound(__first, __last, __val, __gnu_cxx::__ops::__iter_less_val()); } inline constexpr int __lg(int __n) { return (int)sizeof(int) * 8 - 1 - __builtin_clz(__n); } inline constexpr unsigned __lg(unsigned __n) { return (int)sizeof(int) * 8 - 1 - __builtin_clz(__n); } inline constexpr long __lg(long __n) { return (int)sizeof(long) * 8 - 1 - __builtin_clzl(__n); } inline constexpr unsigned long __lg(unsigned long __n) { return (int)sizeof(long) * 8 - 1 - __builtin_clzl(__n); } inline constexpr long long __lg(long long __n) { return (int)sizeof(long long) * 8 - 1 - __builtin_clzll(__n); } inline constexpr unsigned long long __lg(unsigned long long __n) { return (int)sizeof(long long) * 8 - 1 - __builtin_clzll(__n); } # 1401 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline bool equal(_II1 __first1, _II1 __last1, _II2 __first2) { ; return std::__equal_aux(__first1, __last1, __first2); } # 1432 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline bool equal(_IIter1 __first1, _IIter1 __last1, _IIter2 __first2, _BinaryPredicate __binary_pred) { ; for (; __first1 != __last1; ++__first1, (void)++__first2) if (!bool(__binary_pred(*__first1, *__first2))) return false; return true; } template inline bool __equal4(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2) { using _RATag = random_access_iterator_tag; using _Cat1 = typename iterator_traits<_II1>::iterator_category; using _Cat2 = typename iterator_traits<_II2>::iterator_category; using _RAIters = __and_, is_same<_Cat2, _RATag>>; if (_RAIters()) { auto __d1 = std::distance(__first1, __last1); auto __d2 = std::distance(__first2, __last2); if (__d1 != __d2) return false; return std::equal(__first1, __last1, __first2); } for (; __first1 != __last1 && __first2 != __last2; ++__first1, (void)++__first2) if (!(*__first1 == *__first2)) return false; return __first1 == __last1 && __first2 == __last2; } template inline bool __equal4(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2, _BinaryPredicate __binary_pred) { using _RATag = random_access_iterator_tag; using _Cat1 = typename iterator_traits<_II1>::iterator_category; using _Cat2 = typename iterator_traits<_II2>::iterator_category; using _RAIters = __and_, is_same<_Cat2, _RATag>>; if (_RAIters()) { auto __d1 = std::distance(__first1, __last1); auto __d2 = std::distance(__first2, __last2); if (__d1 != __d2) return false; return std::equal(__first1, __last1, __first2, __binary_pred); } for (; __first1 != __last1 && __first2 != __last2; ++__first1, (void)++__first2) if (!bool(__binary_pred(*__first1, *__first2))) return false; return __first1 == __last1 && __first2 == __last2; } # 1587 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline bool lexicographical_compare(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2) { # 1602 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 ; ; return std::__lexicographical_compare_aux(std::__niter_base(__first1), std::__niter_base(__last1), std::__niter_base(__first2), std::__niter_base(__last2)); } # 1624 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline bool lexicographical_compare(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2, _Compare __comp) { ; ; return std::__lexicographical_compare_impl (__first1, __last1, __first2, __last2, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } # 1737 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template pair<_InputIterator1, _InputIterator2> __mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _BinaryPredicate __binary_pred) { while (__first1 != __last1 && __binary_pred(__first1, __first2)) { ++__first1; ++__first2; } return pair<_InputIterator1, _InputIterator2>(__first1, __first2); } # 1765 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline pair<_InputIterator1, _InputIterator2> mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2) { ; return std::__mismatch(__first1, __last1, __first2, __gnu_cxx::__ops::__iter_equal_to_iter()); } # 1799 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline pair<_InputIterator1, _InputIterator2> mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _BinaryPredicate __binary_pred) { ; return std::__mismatch(__first1, __last1, __first2, __gnu_cxx::__ops::__iter_comp_iter(__binary_pred)); } # 1906 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline _InputIterator __find_if(_InputIterator __first, _InputIterator __last, _Predicate __pred, input_iterator_tag) { while (__first != __last && !__pred(__first)) ++__first; return __first; } template _RandomAccessIterator __find_if(_RandomAccessIterator __first, _RandomAccessIterator __last, _Predicate __pred, random_access_iterator_tag) { typename iterator_traits<_RandomAccessIterator>::difference_type __trip_count = (__last - __first) >> 2; for (; __trip_count > 0; --__trip_count) { if (__pred(__first)) return __first; ++__first; if (__pred(__first)) return __first; ++__first; if (__pred(__first)) return __first; ++__first; if (__pred(__first)) return __first; ++__first; } switch (__last - __first) { case 3: if (__pred(__first)) return __first; ++__first; case 2: if (__pred(__first)) return __first; ++__first; case 1: if (__pred(__first)) return __first; ++__first; case 0: default: return __last; } } template inline _Iterator __find_if(_Iterator __first, _Iterator __last, _Predicate __pred) { return __find_if(__first, __last, __pred, std::__iterator_category(__first)); } template typename iterator_traits<_InputIterator>::difference_type __count_if(_InputIterator __first, _InputIterator __last, _Predicate __pred) { typename iterator_traits<_InputIterator>::difference_type __n = 0; for (; __first != __last; ++__first) if (__pred(__first)) ++__n; return __n; } template bool __is_permutation(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2, _BinaryPredicate __pred) { for (; __first1 != __last1; ++__first1, (void)++__first2) if (!__pred(__first1, __first2)) break; if (__first1 == __last1) return true; _ForwardIterator2 __last2 = __first2; std::advance(__last2, std::distance(__first1, __last1)); for (_ForwardIterator1 __scan = __first1; __scan != __last1; ++__scan) { if (__scan != std::__find_if(__first1, __scan, __gnu_cxx::__ops::__iter_comp_iter(__pred, __scan))) continue; auto __matches = std::__count_if(__first2, __last2, __gnu_cxx::__ops::__iter_comp_iter(__pred, __scan)); if (0 == __matches || std::__count_if(__scan, __last1, __gnu_cxx::__ops::__iter_comp_iter(__pred, __scan)) != __matches) return false; } return true; } # 2041 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline bool is_permutation(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2) { ; return std::__is_permutation(__first1, __last1, __first2, __gnu_cxx::__ops::__iter_equal_to_iter()); } } # 62 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/algorithm" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 1 3 # 59 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 3 # 60 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/algorithmfwd.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/algorithmfwd.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 199 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/algorithmfwd.h" 3 template bool all_of(_IIter, _IIter, _Predicate); template bool any_of(_IIter, _IIter, _Predicate); template bool binary_search(_FIter, _FIter, const _Tp&); template bool binary_search(_FIter, _FIter, const _Tp&, _Compare); # 232 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/algorithmfwd.h" 3 template _OIter copy(_IIter, _IIter, _OIter); template _BIter2 copy_backward(_BIter1, _BIter1, _BIter2); template _OIter copy_if(_IIter, _IIter, _OIter, _Predicate); template _OIter copy_n(_IIter, _Size, _OIter); template pair<_FIter, _FIter> equal_range(_FIter, _FIter, const _Tp&); template pair<_FIter, _FIter> equal_range(_FIter, _FIter, const _Tp&, _Compare); template void fill(_FIter, _FIter, const _Tp&); template _OIter fill_n(_OIter, _Size, const _Tp&); template _FIter1 find_end(_FIter1, _FIter1, _FIter2, _FIter2); template _FIter1 find_end(_FIter1, _FIter1, _FIter2, _FIter2, _BinaryPredicate); template _IIter find_if_not(_IIter, _IIter, _Predicate); template bool includes(_IIter1, _IIter1, _IIter2, _IIter2); template bool includes(_IIter1, _IIter1, _IIter2, _IIter2, _Compare); template void inplace_merge(_BIter, _BIter, _BIter); template void inplace_merge(_BIter, _BIter, _BIter, _Compare); template bool is_heap(_RAIter, _RAIter); template bool is_heap(_RAIter, _RAIter, _Compare); template _RAIter is_heap_until(_RAIter, _RAIter); template _RAIter is_heap_until(_RAIter, _RAIter, _Compare); template bool is_partitioned(_IIter, _IIter, _Predicate); template bool is_permutation(_FIter1, _FIter1, _FIter2); template bool is_permutation(_FIter1, _FIter1, _FIter2, _BinaryPredicate); template bool is_sorted(_FIter, _FIter); template bool is_sorted(_FIter, _FIter, _Compare); template _FIter is_sorted_until(_FIter, _FIter); template _FIter is_sorted_until(_FIter, _FIter, _Compare); template void iter_swap(_FIter1, _FIter2); template _FIter lower_bound(_FIter, _FIter, const _Tp&); template _FIter lower_bound(_FIter, _FIter, const _Tp&, _Compare); template void make_heap(_RAIter, _RAIter); template void make_heap(_RAIter, _RAIter, _Compare); template const _Tp& max(const _Tp&, const _Tp&); template const _Tp& max(const _Tp&, const _Tp&, _Compare); template const _Tp& min(const _Tp&, const _Tp&); template const _Tp& min(const _Tp&, const _Tp&, _Compare); template pair minmax(const _Tp&, const _Tp&); template pair minmax(const _Tp&, const _Tp&, _Compare); template pair<_FIter, _FIter> minmax_element(_FIter, _FIter); template pair<_FIter, _FIter> minmax_element(_FIter, _FIter, _Compare); template _Tp min(initializer_list<_Tp>); template _Tp min(initializer_list<_Tp>, _Compare); template _Tp max(initializer_list<_Tp>); template _Tp max(initializer_list<_Tp>, _Compare); template pair<_Tp, _Tp> minmax(initializer_list<_Tp>); template pair<_Tp, _Tp> minmax(initializer_list<_Tp>, _Compare); template bool next_permutation(_BIter, _BIter); template bool next_permutation(_BIter, _BIter, _Compare); template bool none_of(_IIter, _IIter, _Predicate); template _RAIter partial_sort_copy(_IIter, _IIter, _RAIter, _RAIter); template _RAIter partial_sort_copy(_IIter, _IIter, _RAIter, _RAIter, _Compare); template pair<_OIter1, _OIter2> partition_copy(_IIter, _IIter, _OIter1, _OIter2, _Predicate); template _FIter partition_point(_FIter, _FIter, _Predicate); template void pop_heap(_RAIter, _RAIter); template void pop_heap(_RAIter, _RAIter, _Compare); template bool prev_permutation(_BIter, _BIter); template bool prev_permutation(_BIter, _BIter, _Compare); template void push_heap(_RAIter, _RAIter); template void push_heap(_RAIter, _RAIter, _Compare); template _FIter remove(_FIter, _FIter, const _Tp&); template _FIter remove_if(_FIter, _FIter, _Predicate); template _OIter remove_copy(_IIter, _IIter, _OIter, const _Tp&); template _OIter remove_copy_if(_IIter, _IIter, _OIter, _Predicate); template _OIter replace_copy(_IIter, _IIter, _OIter, const _Tp&, const _Tp&); template _OIter replace_copy_if(_Iter, _Iter, _OIter, _Predicate, const _Tp&); template void reverse(_BIter, _BIter); template _OIter reverse_copy(_BIter, _BIter, _OIter); inline namespace _V2 { template _FIter rotate(_FIter, _FIter, _FIter); } template _OIter rotate_copy(_FIter, _FIter, _FIter, _OIter); # 625 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/algorithmfwd.h" 3 template void shuffle(_RAIter, _RAIter, _UGenerator&&); template void sort_heap(_RAIter, _RAIter); template void sort_heap(_RAIter, _RAIter, _Compare); template _BIter stable_partition(_BIter, _BIter, _Predicate); # 658 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/algorithmfwd.h" 3 template _FIter2 swap_ranges(_FIter1, _FIter1, _FIter2); template _FIter unique(_FIter, _FIter); template _FIter unique(_FIter, _FIter, _BinaryPredicate); template _FIter upper_bound(_FIter, _FIter, const _Tp&); template _FIter upper_bound(_FIter, _FIter, const _Tp&, _Compare); template _FIter adjacent_find(_FIter, _FIter); template _FIter adjacent_find(_FIter, _FIter, _BinaryPredicate); template typename iterator_traits<_IIter>::difference_type count(_IIter, _IIter, const _Tp&); template typename iterator_traits<_IIter>::difference_type count_if(_IIter, _IIter, _Predicate); template bool equal(_IIter1, _IIter1, _IIter2); template bool equal(_IIter1, _IIter1, _IIter2, _BinaryPredicate); template _IIter find(_IIter, _IIter, const _Tp&); template _FIter1 find_first_of(_FIter1, _FIter1, _FIter2, _FIter2); template _FIter1 find_first_of(_FIter1, _FIter1, _FIter2, _FIter2, _BinaryPredicate); template _IIter find_if(_IIter, _IIter, _Predicate); template _Funct for_each(_IIter, _IIter, _Funct); template void generate(_FIter, _FIter, _Generator); template _OIter generate_n(_OIter, _Size, _Generator); template bool lexicographical_compare(_IIter1, _IIter1, _IIter2, _IIter2); template bool lexicographical_compare(_IIter1, _IIter1, _IIter2, _IIter2, _Compare); template _FIter max_element(_FIter, _FIter); template _FIter max_element(_FIter, _FIter, _Compare); template _OIter merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter); template _OIter merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare); template _FIter min_element(_FIter, _FIter); template _FIter min_element(_FIter, _FIter, _Compare); template pair<_IIter1, _IIter2> mismatch(_IIter1, _IIter1, _IIter2); template pair<_IIter1, _IIter2> mismatch(_IIter1, _IIter1, _IIter2, _BinaryPredicate); template void nth_element(_RAIter, _RAIter, _RAIter); template void nth_element(_RAIter, _RAIter, _RAIter, _Compare); template void partial_sort(_RAIter, _RAIter, _RAIter); template void partial_sort(_RAIter, _RAIter, _RAIter, _Compare); template _BIter partition(_BIter, _BIter, _Predicate); template void random_shuffle(_RAIter, _RAIter); template void random_shuffle(_RAIter, _RAIter, _Generator&&); template void replace(_FIter, _FIter, const _Tp&, const _Tp&); template void replace_if(_FIter, _FIter, _Predicate, const _Tp&); template _FIter1 search(_FIter1, _FIter1, _FIter2, _FIter2); template _FIter1 search(_FIter1, _FIter1, _FIter2, _FIter2, _BinaryPredicate); template _FIter search_n(_FIter, _FIter, _Size, const _Tp&); template _FIter search_n(_FIter, _FIter, _Size, const _Tp&, _BinaryPredicate); template _OIter set_difference(_IIter1, _IIter1, _IIter2, _IIter2, _OIter); template _OIter set_difference(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare); template _OIter set_intersection(_IIter1, _IIter1, _IIter2, _IIter2, _OIter); template _OIter set_intersection(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare); template _OIter set_symmetric_difference(_IIter1, _IIter1, _IIter2, _IIter2, _OIter); template _OIter set_symmetric_difference(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare); template _OIter set_union(_IIter1, _IIter1, _IIter2, _IIter2, _OIter); template _OIter set_union(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare); template void sort(_RAIter, _RAIter); template void sort(_RAIter, _RAIter, _Compare); template void stable_sort(_RAIter, _RAIter); template void stable_sort(_RAIter, _RAIter, _Compare); template _OIter transform(_IIter, _IIter, _OIter, _UnaryOperation); template _OIter transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation); template _OIter unique_copy(_IIter, _IIter, _OIter); template _OIter unique_copy(_IIter, _IIter, _OIter, _BinaryPredicate); } # 61 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 1 3 # 62 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template _Distance __is_heap_until(_RandomAccessIterator __first, _Distance __n, _Compare& __comp) { _Distance __parent = 0; for (_Distance __child = 1; __child < __n; ++__child) { if (__comp(__first + __parent, __first + __child)) return __child; if ((__child & 1) == 0) ++__parent; } return __n; } template inline bool __is_heap(_RandomAccessIterator __first, _Distance __n) { __gnu_cxx::__ops::_Iter_less_iter __comp; return std::__is_heap_until(__first, __n, __comp) == __n; } template inline bool __is_heap(_RandomAccessIterator __first, _Compare __comp, _Distance __n) { typedef __decltype(__comp) _Cmp; __gnu_cxx::__ops::_Iter_comp_iter<_Cmp> __cmp(std::move(__comp)); return std::__is_heap_until(__first, __n, __cmp) == __n; } template inline bool __is_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) { return std::__is_heap(__first, std::distance(__first, __last)); } template inline bool __is_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { return std::__is_heap(__first, std::move(__comp), std::distance(__first, __last)); } template void __push_heap(_RandomAccessIterator __first, _Distance __holeIndex, _Distance __topIndex, _Tp __value, _Compare& __comp) { _Distance __parent = (__holeIndex - 1) / 2; while (__holeIndex > __topIndex && __comp(__first + __parent, __value)) { *(__first + __holeIndex) = std::move(*(__first + __parent)); __holeIndex = __parent; __parent = (__holeIndex - 1) / 2; } *(__first + __holeIndex) = std::move(__value); } # 158 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline void push_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) { typedef typename iterator_traits<_RandomAccessIterator>::value_type _ValueType; typedef typename iterator_traits<_RandomAccessIterator>::difference_type _DistanceType; ; ; ; __gnu_cxx::__ops::_Iter_less_val __comp; _ValueType __value = std::move(*(__last - 1)); std::__push_heap(__first, _DistanceType((__last - __first) - 1), _DistanceType(0), std::move(__value), __comp); } # 194 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline void push_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { typedef typename iterator_traits<_RandomAccessIterator>::value_type _ValueType; typedef typename iterator_traits<_RandomAccessIterator>::difference_type _DistanceType; ; ; ; __decltype(__gnu_cxx::__ops::__iter_comp_val(std::move(__comp))) __cmp(std::move(__comp)); _ValueType __value = std::move(*(__last - 1)); std::__push_heap(__first, _DistanceType((__last - __first) - 1), _DistanceType(0), std::move(__value), __cmp); } template void __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, _Distance __len, _Tp __value, _Compare __comp) { const _Distance __topIndex = __holeIndex; _Distance __secondChild = __holeIndex; while (__secondChild < (__len - 1) / 2) { __secondChild = 2 * (__secondChild + 1); if (__comp(__first + __secondChild, __first + (__secondChild - 1))) __secondChild--; *(__first + __holeIndex) = std::move(*(__first + __secondChild)); __holeIndex = __secondChild; } if ((__len & 1) == 0 && __secondChild == (__len - 2) / 2) { __secondChild = 2 * (__secondChild + 1); *(__first + __holeIndex) = std::move(*(__first + (__secondChild - 1))); __holeIndex = __secondChild - 1; } __decltype(__gnu_cxx::__ops::__iter_comp_val(std::move(__comp))) __cmp(std::move(__comp)); std::__push_heap(__first, __holeIndex, __topIndex, std::move(__value), __cmp); } template inline void __pop_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _RandomAccessIterator __result, _Compare& __comp) { typedef typename iterator_traits<_RandomAccessIterator>::value_type _ValueType; typedef typename iterator_traits<_RandomAccessIterator>::difference_type _DistanceType; _ValueType __value = std::move(*__result); *__result = std::move(*__first); std::__adjust_heap(__first, _DistanceType(0), _DistanceType(__last - __first), std::move(__value), __comp); } # 279 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline void pop_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) { ; ; ; ; if (__last - __first > 1) { --__last; __gnu_cxx::__ops::_Iter_less_iter __comp; std::__pop_heap(__first, __last, __last, __comp); } } # 313 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline void pop_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { ; ; ; ; if (__last - __first > 1) { typedef __decltype(__comp) _Cmp; __gnu_cxx::__ops::_Iter_comp_iter<_Cmp> __cmp(std::move(__comp)); --__last; std::__pop_heap(__first, __last, __last, __cmp); } } template void __make_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare& __comp) { typedef typename iterator_traits<_RandomAccessIterator>::value_type _ValueType; typedef typename iterator_traits<_RandomAccessIterator>::difference_type _DistanceType; if (__last - __first < 2) return; const _DistanceType __len = __last - __first; _DistanceType __parent = (__len - 2) / 2; while (true) { _ValueType __value = std::move(*(__first + __parent)); std::__adjust_heap(__first, __parent, __len, std::move(__value), __comp); if (__parent == 0) return; __parent--; } } # 371 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline void make_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) { ; ; __gnu_cxx::__ops::_Iter_less_iter __comp; std::__make_heap(__first, __last, __comp); } # 398 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline void make_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { ; ; typedef __decltype(__comp) _Cmp; __gnu_cxx::__ops::_Iter_comp_iter<_Cmp> __cmp(std::move(__comp)); std::__make_heap(__first, __last, __cmp); } template void __sort_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare& __comp) { while (__last - __first > 1) { --__last; std::__pop_heap(__first, __last, __last, __comp); } } # 436 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline void sort_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) { ; ; ; __gnu_cxx::__ops::_Iter_less_iter __comp; std::__sort_heap(__first, __last, __comp); } # 464 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline void sort_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { ; ; ; typedef __decltype(__comp) _Cmp; __gnu_cxx::__ops::_Iter_comp_iter<_Cmp> __cmp(std::move(__comp)); std::__sort_heap(__first, __last, __cmp); } # 493 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline _RandomAccessIterator is_heap_until(_RandomAccessIterator __first, _RandomAccessIterator __last) { ; ; __gnu_cxx::__ops::_Iter_less_iter __comp; return __first + std::__is_heap_until(__first, std::distance(__first, __last), __comp); } # 522 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline _RandomAccessIterator is_heap_until(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { ; ; typedef __decltype(__comp) _Cmp; __gnu_cxx::__ops::_Iter_comp_iter<_Cmp> __cmp(std::move(__comp)); return __first + std::__is_heap_until(__first, std::distance(__first, __last), __cmp); } # 547 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline bool is_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) { return std::is_heap_until(__first, __last) == __last; } # 561 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline bool is_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { ; ; const auto __dist = std::distance(__first, __last); typedef __decltype(__comp) _Cmp; __gnu_cxx::__ops::_Iter_comp_iter<_Cmp> __cmp(std::move(__comp)); return std::__is_heap_until(__first, __dist, __cmp) == __dist; } } # 62 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_tempbuf.h" 1 3 # 60 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_tempbuf.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_construct.h" 1 3 # 59 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_construct.h" 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/new" 1 3 # 27 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/new" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/new" 1 3 # 39 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/new" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/exception" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/exception" 3 #pragma GCC visibility push(default) # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception.h" 1 3 # 35 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception.h" 3 #pragma GCC visibility push(default) extern "C++" { namespace std { # 60 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception.h" 3 class exception { public: exception() noexcept { } virtual ~exception() noexcept; exception(const exception&) = default; exception& operator=(const exception&) = default; exception(exception&&) = default; exception& operator=(exception&&) = default; virtual const char* what() const noexcept; }; } } #pragma GCC visibility pop # 39 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/exception" 2 3 extern "C++" { namespace std { class bad_exception : public exception { public: bad_exception() noexcept { } virtual ~bad_exception() noexcept; virtual const char* what() const noexcept; }; typedef void (*terminate_handler) (); typedef void (*unexpected_handler) (); terminate_handler set_terminate(terminate_handler) noexcept; terminate_handler get_terminate() noexcept; void terminate() noexcept __attribute__ ((__noreturn__)); unexpected_handler set_unexpected(unexpected_handler) noexcept; unexpected_handler get_unexpected() noexcept; void unexpected() __attribute__ ((__noreturn__)); # 106 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/exception" 3 bool uncaught_exception() noexcept __attribute__ ((__pure__)); # 115 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/exception" 3 } namespace __gnu_cxx { # 137 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/exception" 3 void __verbose_terminate_handler(); } } #pragma GCC visibility pop # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception_ptr.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception_ptr.h" 3 #pragma GCC visibility push(default) # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cxxabi_init_exception.h" 1 3 # 35 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cxxabi_init_exception.h" 3 #pragma GCC visibility push(default) # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 # 35 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 3 typedef long int ptrdiff_t; # 102 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h" 1 3 # 19 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h" 3 typedef struct { long long __clang_max_align_nonce1 __attribute__((__aligned__(__alignof__(long long)))); long double __clang_max_align_nonce2 __attribute__((__aligned__(__alignof__(long double)))); } max_align_t; # 103 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 2 3 # 39 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cxxabi_init_exception.h" 2 3 # 50 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cxxabi_init_exception.h" 3 namespace std { class type_info; } namespace __cxxabiv1 { struct __cxa_refcounted_exception; extern "C" { void* __cxa_allocate_exception(size_t) noexcept; void __cxa_free_exception(void*) noexcept; __cxa_refcounted_exception* __cxa_init_primary_exception(void *object, std::type_info *tinfo, void ( *dest) (void *)) noexcept; } } #pragma GCC visibility pop # 39 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception_ptr.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/typeinfo" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/typeinfo" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/hash_bytes.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/hash_bytes.h" 3 namespace std { size_t _Hash_bytes(const void* __ptr, size_t __len, size_t __seed); size_t _Fnv_hash_bytes(const void* __ptr, size_t __len, size_t __seed); } # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/typeinfo" 2 3 #pragma GCC visibility push(default) extern "C++" { namespace __cxxabiv1 { class __class_type_info; } # 80 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/typeinfo" 3 namespace std { class type_info { public: virtual ~type_info(); const char* name() const noexcept { return __name[0] == '*' ? __name + 1 : __name; } # 115 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/typeinfo" 3 bool before(const type_info& __arg) const noexcept { return (__name[0] == '*' && __arg.__name[0] == '*') ? __name < __arg.__name : __builtin_strcmp (__name, __arg.__name) < 0; } bool operator==(const type_info& __arg) const noexcept { return ((__name == __arg.__name) || (__name[0] != '*' && __builtin_strcmp (__name, __arg.__name) == 0)); } # 138 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/typeinfo" 3 bool operator!=(const type_info& __arg) const noexcept { return !operator==(__arg); } size_t hash_code() const noexcept { return _Hash_bytes(name(), __builtin_strlen(name()), static_cast(0xc70f6907UL)); } virtual bool __is_pointer_p() const; virtual bool __is_function_p() const; virtual bool __do_catch(const type_info *__thr_type, void **__thr_obj, unsigned __outer) const; virtual bool __do_upcast(const __cxxabiv1::__class_type_info *__target, void **__obj_ptr) const; protected: const char *__name; explicit type_info(const char *__n): __name(__n) { } private: type_info& operator=(const type_info&); type_info(const type_info&); }; class bad_cast : public exception { public: bad_cast() noexcept { } virtual ~bad_cast() noexcept; virtual const char* what() const noexcept; }; class bad_typeid : public exception { public: bad_typeid () noexcept { } virtual ~bad_typeid() noexcept; virtual const char* what() const noexcept; }; } } #pragma GCC visibility pop # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception_ptr.h" 2 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/new" 1 3 # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception_ptr.h" 2 3 extern "C++" { namespace std { class type_info; namespace __exception_ptr { class exception_ptr; } using __exception_ptr::exception_ptr; exception_ptr current_exception() noexcept; template exception_ptr make_exception_ptr(_Ex) noexcept; void rethrow_exception(exception_ptr) __attribute__ ((__noreturn__)); namespace __exception_ptr { using std::rethrow_exception; class exception_ptr { void* _M_exception_object; explicit exception_ptr(void* __e) noexcept; void _M_addref() noexcept; void _M_release() noexcept; void *_M_get() const noexcept __attribute__ ((__pure__)); friend exception_ptr std::current_exception() noexcept; friend void std::rethrow_exception(exception_ptr); template friend exception_ptr std::make_exception_ptr(_Ex) noexcept; public: exception_ptr() noexcept; exception_ptr(const exception_ptr&) noexcept; exception_ptr(nullptr_t) noexcept : _M_exception_object(0) { } exception_ptr(exception_ptr&& __o) noexcept : _M_exception_object(__o._M_exception_object) { __o._M_exception_object = 0; } # 118 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception_ptr.h" 3 exception_ptr& operator=(const exception_ptr&) noexcept; exception_ptr& operator=(exception_ptr&& __o) noexcept { exception_ptr(static_cast(__o)).swap(*this); return *this; } ~exception_ptr() noexcept; void swap(exception_ptr&) noexcept; # 145 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception_ptr.h" 3 explicit operator bool() const { return _M_exception_object; } friend bool operator==(const exception_ptr&, const exception_ptr&) noexcept __attribute__ ((__pure__)); const class std::type_info* __cxa_exception_type() const noexcept __attribute__ ((__pure__)); }; bool operator==(const exception_ptr&, const exception_ptr&) noexcept __attribute__ ((__pure__)); bool operator!=(const exception_ptr&, const exception_ptr&) noexcept __attribute__ ((__pure__)); inline void swap(exception_ptr& __lhs, exception_ptr& __rhs) { __lhs.swap(__rhs); } template inline void __dest_thunk(void* __x) { static_cast<_Ex*>(__x)->~_Ex(); } } template exception_ptr make_exception_ptr(_Ex __ex) noexcept { void* __e = __cxxabiv1::__cxa_allocate_exception(sizeof(_Ex)); (void) __cxxabiv1::__cxa_init_primary_exception( __e, const_cast(&typeid(__ex)), __exception_ptr::__dest_thunk<_Ex>); try { ::new (__e) _Ex(__ex); return exception_ptr(__e); } catch(...) { __cxxabiv1::__cxa_free_exception(__e); return current_exception(); } # 215 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception_ptr.h" 3 } } } #pragma GCC visibility pop # 148 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/exception" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/nested_exception.h" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/nested_exception.h" 3 #pragma GCC visibility push(default) extern "C++" { namespace std { class nested_exception { exception_ptr _M_ptr; public: nested_exception() noexcept : _M_ptr(current_exception()) { } nested_exception(const nested_exception&) noexcept = default; nested_exception& operator=(const nested_exception&) noexcept = default; virtual ~nested_exception() noexcept; [[noreturn]] void rethrow_nested() const { if (_M_ptr) rethrow_exception(_M_ptr); std::terminate(); } exception_ptr nested_ptr() const noexcept { return _M_ptr; } }; template struct _Nested_exception : public _Except, public nested_exception { explicit _Nested_exception(const _Except& __ex) : _Except(__ex) { } explicit _Nested_exception(_Except&& __ex) : _Except(static_cast<_Except&&>(__ex)) { } }; template [[noreturn]] inline void __throw_with_nested_impl(_Tp&& __t, true_type) { using _Up = typename remove_reference<_Tp>::type; throw _Nested_exception<_Up>{std::forward<_Tp>(__t)}; } template [[noreturn]] inline void __throw_with_nested_impl(_Tp&& __t, false_type) { throw std::forward<_Tp>(__t); } template [[noreturn]] inline void throw_with_nested(_Tp&& __t) { using _Up = typename decay<_Tp>::type; using _CopyConstructible = __and_, is_move_constructible<_Up>>; static_assert(_CopyConstructible::value, "throw_with_nested argument must be CopyConstructible"); using __nest = __and_, __bool_constant, __not_>>; std::__throw_with_nested_impl(std::forward<_Tp>(__t), __nest{}); } template using __rethrow_if_nested_cond = typename enable_if< __and_, __or_<__not_>, is_convertible<_Tp*, nested_exception*>>>::value >::type; template inline __rethrow_if_nested_cond<_Ex> __rethrow_if_nested_impl(const _Ex* __ptr) { if (auto __ne_ptr = dynamic_cast(__ptr)) __ne_ptr->rethrow_nested(); } inline void __rethrow_if_nested_impl(const void*) { } template inline void rethrow_if_nested(const _Ex& __ex) { std::__rethrow_if_nested_impl(std::__addressof(__ex)); } } } #pragma GCC visibility pop # 149 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/exception" 2 3 # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/new" 2 3 #pragma GCC visibility push(default) extern "C++" { namespace std { class bad_alloc : public exception { public: bad_alloc() throw() { } bad_alloc(const bad_alloc&) = default; bad_alloc& operator=(const bad_alloc&) = default; virtual ~bad_alloc() throw(); virtual const char* what() const throw(); }; class bad_array_new_length : public bad_alloc { public: bad_array_new_length() throw() { } virtual ~bad_array_new_length() throw(); virtual const char* what() const throw(); }; struct nothrow_t { explicit nothrow_t() = default; }; extern const nothrow_t nothrow; typedef void (*new_handler)(); new_handler set_new_handler(new_handler) throw(); new_handler get_new_handler() noexcept; } # 126 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/new" 3 void* operator new(std::size_t) __attribute__((__externally_visible__)); void* operator new[](std::size_t) __attribute__((__externally_visible__)); void operator delete(void*) noexcept __attribute__((__externally_visible__)); void operator delete[](void*) noexcept __attribute__((__externally_visible__)); void* operator new(std::size_t, const std::nothrow_t&) noexcept __attribute__((__externally_visible__, __malloc__)); void* operator new[](std::size_t, const std::nothrow_t&) noexcept __attribute__((__externally_visible__, __malloc__)); void operator delete(void*, const std::nothrow_t&) noexcept __attribute__((__externally_visible__)); void operator delete[](void*, const std::nothrow_t&) noexcept __attribute__((__externally_visible__)); # 174 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/new" 3 inline void* operator new(std::size_t, void* __p) noexcept { return __p; } inline void* operator new[](std::size_t, void* __p) noexcept { return __p; } inline void operator delete (void*, void*) noexcept { } inline void operator delete[](void*, void*) noexcept { } } # 230 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/new" 3 #pragma GCC visibility pop # 28 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/new" 2 3 # 44 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/new" 3 __attribute__((device)) inline void *operator new(long unsigned int size) { if (size == 0) { size = 1; } return ::malloc(size); } __attribute__((device)) inline void *operator new(long unsigned int size, const std::nothrow_t &) noexcept { return ::operator new(size); } __attribute__((device)) inline void *operator new[](long unsigned int size) { return ::operator new(size); } __attribute__((device)) inline void *operator new[](long unsigned int size, const std::nothrow_t &) { return ::operator new(size); } __attribute__((device)) inline void operator delete(void* ptr) noexcept { if (ptr) { ::free(ptr); } } __attribute__((device)) inline void operator delete(void *ptr, const std::nothrow_t &) noexcept { ::operator delete(ptr); } __attribute__((device)) inline void operator delete[](void* ptr) noexcept { ::operator delete(ptr); } __attribute__((device)) inline void operator delete[](void *ptr, const std::nothrow_t &) noexcept { ::operator delete(ptr); } # 94 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/new" 3 __attribute__((device)) inline void *operator new(long unsigned int, void *__ptr) noexcept { return __ptr; } __attribute__((device)) inline void *operator new[](long unsigned int, void *__ptr) noexcept { return __ptr; } __attribute__((device)) inline void operator delete(void *, void *) noexcept {} __attribute__((device)) inline void operator delete[](void *, void *) noexcept {} # 60 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_construct.h" 2 3 # 73 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_construct.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 106 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_construct.h" 3 template inline void _Construct(_Tp* __p, _Args&&... __args) { ::new(static_cast(__p)) _Tp(std::forward<_Args>(__args)...); } # 121 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_construct.h" 3 template inline void _Construct_novalue(_T1* __p) { ::new(static_cast(__p)) _T1; } template void _Destroy(_ForwardIterator __first, _ForwardIterator __last); template inline void _Destroy(_Tp* __pointer) { __pointer->~_Tp(); } template struct _Destroy_aux { template static void __destroy(_ForwardIterator __first, _ForwardIterator __last) { for (; __first != __last; ++__first) std::_Destroy(std::__addressof(*__first)); } }; template<> struct _Destroy_aux { template static void __destroy(_ForwardIterator, _ForwardIterator) { } }; template inline void _Destroy(_ForwardIterator __first, _ForwardIterator __last) { typedef typename iterator_traits<_ForwardIterator>::value_type _Value_type; static_assert(is_destructible<_Value_type>::value, "value type is destructible"); std::_Destroy_aux<__has_trivial_destructor(_Value_type)>:: __destroy(__first, __last); } template struct _Destroy_n_aux { template static _ForwardIterator __destroy_n(_ForwardIterator __first, _Size __count) { for (; __count > 0; (void)++__first, --__count) std::_Destroy(std::__addressof(*__first)); return __first; } }; template<> struct _Destroy_n_aux { template static _ForwardIterator __destroy_n(_ForwardIterator __first, _Size __count) { std::advance(__first, __count); return __first; } }; template inline _ForwardIterator _Destroy_n(_ForwardIterator __first, _Size __count) { typedef typename iterator_traits<_ForwardIterator>::value_type _Value_type; static_assert(is_destructible<_Value_type>::value, "value type is destructible"); return std::_Destroy_n_aux<__has_trivial_destructor(_Value_type)>:: __destroy_n(__first, __count); } # 254 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_construct.h" 3 } # 61 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_tempbuf.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { namespace __detail { template inline void __return_temporary_buffer(_Tp* __p, size_t __len __attribute__((__unused__))) { ::operator delete(__p); } } # 98 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_tempbuf.h" 3 template pair<_Tp*, ptrdiff_t> get_temporary_buffer(ptrdiff_t __len) noexcept { const ptrdiff_t __max = __gnu_cxx::__numeric_traits::__max / sizeof(_Tp); if (__len > __max) __len = __max; while (__len > 0) { _Tp* __tmp = static_cast<_Tp*>(::operator new(__len * sizeof(_Tp), std::nothrow)); if (__tmp != 0) return std::pair<_Tp*, ptrdiff_t>(__tmp, __len); __len /= 2; } return std::pair<_Tp*, ptrdiff_t>(static_cast<_Tp*>(0), 0); } # 125 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_tempbuf.h" 3 template inline void return_temporary_buffer(_Tp* __p) { ::operator delete(__p); } template class _Temporary_buffer { public: typedef _Tp value_type; typedef value_type* pointer; typedef pointer iterator; typedef ptrdiff_t size_type; protected: size_type _M_original_len; size_type _M_len; pointer _M_buffer; public: size_type size() const { return _M_len; } size_type requested_size() const { return _M_original_len; } iterator begin() { return _M_buffer; } iterator end() { return _M_buffer + _M_len; } _Temporary_buffer(_ForwardIterator __seed, size_type __original_len); ~_Temporary_buffer() { std::_Destroy(_M_buffer, _M_buffer + _M_len); std::__detail::__return_temporary_buffer(_M_buffer, _M_len); } private: _Temporary_buffer(const _Temporary_buffer&); void operator=(const _Temporary_buffer&); }; template struct __uninitialized_construct_buf_dispatch { template static void __ucr(_Pointer __first, _Pointer __last, _ForwardIterator __seed) { if (__first == __last) return; _Pointer __cur = __first; try { std::_Construct(std::__addressof(*__first), std::move(*__seed)); _Pointer __prev = __cur; ++__cur; for(; __cur != __last; ++__cur, ++__prev) std::_Construct(std::__addressof(*__cur), std::move(*__prev)); *__seed = std::move(*__prev); } catch(...) { std::_Destroy(__first, __cur); throw; } } }; template<> struct __uninitialized_construct_buf_dispatch { template static void __ucr(_Pointer, _Pointer, _ForwardIterator) { } }; # 243 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_tempbuf.h" 3 template inline void __uninitialized_construct_buf(_Pointer __first, _Pointer __last, _ForwardIterator __seed) { typedef typename std::iterator_traits<_Pointer>::value_type _ValueType; std::__uninitialized_construct_buf_dispatch< __has_trivial_constructor(_ValueType)>:: __ucr(__first, __last, __seed); } template _Temporary_buffer<_ForwardIterator, _Tp>:: _Temporary_buffer(_ForwardIterator __seed, size_type __original_len) : _M_original_len(__original_len), _M_len(0), _M_buffer(0) { std::pair __p( std::get_temporary_buffer(_M_original_len)); if (__p.first) { try { std::__uninitialized_construct_buf(__p.first, __p.first + __p.second, __seed); _M_buffer = __p.first; _M_len = __p.second; } catch(...) { std::__detail::__return_temporary_buffer(__p.first, __p.second); throw; } } } } # 63 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/uniform_int_dist.h" 1 3 # 35 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/uniform_int_dist.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 1 3 # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 3 # 158 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 3 namespace std __attribute__ ((__visibility__ ("default"))) { enum float_round_style { round_indeterminate = -1, round_toward_zero = 0, round_to_nearest = 1, round_toward_infinity = 2, round_toward_neg_infinity = 3 }; enum float_denorm_style { denorm_indeterminate = -1, denorm_absent = 0, denorm_present = 1 }; # 202 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 3 struct __numeric_limits_base { static constexpr bool is_specialized = false; static constexpr int digits = 0; static constexpr int digits10 = 0; static constexpr int max_digits10 = 0; static constexpr bool is_signed = false; static constexpr bool is_integer = false; static constexpr bool is_exact = false; static constexpr int radix = 0; static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr bool is_iec559 = false; static constexpr bool is_bounded = false; # 288 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 3 static constexpr bool is_modulo = false; static constexpr bool traps = false; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; # 311 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 3 template struct numeric_limits : public __numeric_limits_base { static constexpr _Tp min() noexcept { return _Tp(); } static constexpr _Tp max() noexcept { return _Tp(); } static constexpr _Tp lowest() noexcept { return _Tp(); } static constexpr _Tp epsilon() noexcept { return _Tp(); } static constexpr _Tp round_error() noexcept { return _Tp(); } static constexpr _Tp infinity() noexcept { return _Tp(); } static constexpr _Tp quiet_NaN() noexcept { return _Tp(); } static constexpr _Tp signaling_NaN() noexcept { return _Tp(); } static constexpr _Tp denorm_min() noexcept { return _Tp(); } }; template struct numeric_limits : public numeric_limits<_Tp> { }; template struct numeric_limits : public numeric_limits<_Tp> { }; template struct numeric_limits : public numeric_limits<_Tp> { }; # 383 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 3 template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr bool min() noexcept { return false; } static constexpr bool max() noexcept { return true; } static constexpr bool lowest() noexcept { return min(); } static constexpr int digits = 1; static constexpr int digits10 = 0; static constexpr int max_digits10 = 0; static constexpr bool is_signed = false; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr bool epsilon() noexcept { return false; } static constexpr bool round_error() noexcept { return false; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr bool infinity() noexcept { return false; } static constexpr bool quiet_NaN() noexcept { return false; } static constexpr bool signaling_NaN() noexcept { return false; } static constexpr bool denorm_min() noexcept { return false; } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr char min() noexcept { return (((char)(-1) < 0) ? -(((char)(-1) < 0) ? (((((char)1 << ((sizeof(char) * 8 - ((char)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char)0) - 1 : (char)0); } static constexpr char max() noexcept { return (((char)(-1) < 0) ? (((((char)1 << ((sizeof(char) * 8 - ((char)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char)0); } static constexpr char lowest() noexcept { return min(); } static constexpr int digits = (sizeof(char) * 8 - ((char)(-1) < 0)); static constexpr int digits10 = ((sizeof(char) * 8 - ((char)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = ((char)(-1) < 0); static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr char epsilon() noexcept { return 0; } static constexpr char round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr char infinity() noexcept { return char(); } static constexpr char quiet_NaN() noexcept { return char(); } static constexpr char signaling_NaN() noexcept { return char(); } static constexpr char denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = !is_signed; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr signed char min() noexcept { return -127 - 1; } static constexpr signed char max() noexcept { return 127; } static constexpr signed char lowest() noexcept { return min(); } static constexpr int digits = (sizeof(signed char) * 8 - ((signed char)(-1) < 0)); static constexpr int digits10 = ((sizeof(signed char) * 8 - ((signed char)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = true; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr signed char epsilon() noexcept { return 0; } static constexpr signed char round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr signed char infinity() noexcept { return static_cast(0); } static constexpr signed char quiet_NaN() noexcept { return static_cast(0); } static constexpr signed char signaling_NaN() noexcept { return static_cast(0); } static constexpr signed char denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr unsigned char min() noexcept { return 0; } static constexpr unsigned char max() noexcept { return 127 * 2U + 1; } static constexpr unsigned char lowest() noexcept { return min(); } static constexpr int digits = (sizeof(unsigned char) * 8 - ((unsigned char)(-1) < 0)); static constexpr int digits10 = ((sizeof(unsigned char) * 8 - ((unsigned char)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = false; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr unsigned char epsilon() noexcept { return 0; } static constexpr unsigned char round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr unsigned char infinity() noexcept { return static_cast(0); } static constexpr unsigned char quiet_NaN() noexcept { return static_cast(0); } static constexpr unsigned char signaling_NaN() noexcept { return static_cast(0); } static constexpr unsigned char denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = true; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr wchar_t min() noexcept { return (((wchar_t)(-1) < 0) ? -(((wchar_t)(-1) < 0) ? (((((wchar_t)1 << ((sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(wchar_t)0) - 1 : (wchar_t)0); } static constexpr wchar_t max() noexcept { return (((wchar_t)(-1) < 0) ? (((((wchar_t)1 << ((sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(wchar_t)0); } static constexpr wchar_t lowest() noexcept { return min(); } static constexpr int digits = (sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0)); static constexpr int digits10 = ((sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = ((wchar_t)(-1) < 0); static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr wchar_t epsilon() noexcept { return 0; } static constexpr wchar_t round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr wchar_t infinity() noexcept { return wchar_t(); } static constexpr wchar_t quiet_NaN() noexcept { return wchar_t(); } static constexpr wchar_t signaling_NaN() noexcept { return wchar_t(); } static constexpr wchar_t denorm_min() noexcept { return wchar_t(); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = !is_signed; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; # 796 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 3 template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr char16_t min() noexcept { return (((char16_t)(-1) < 0) ? -(((char16_t)(-1) < 0) ? (((((char16_t)1 << ((sizeof(char16_t) * 8 - ((char16_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char16_t)0) - 1 : (char16_t)0); } static constexpr char16_t max() noexcept { return (((char16_t)(-1) < 0) ? (((((char16_t)1 << ((sizeof(char16_t) * 8 - ((char16_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char16_t)0); } static constexpr char16_t lowest() noexcept { return min(); } static constexpr int digits = (sizeof(char16_t) * 8 - ((char16_t)(-1) < 0)); static constexpr int digits10 = ((sizeof(char16_t) * 8 - ((char16_t)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = ((char16_t)(-1) < 0); static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr char16_t epsilon() noexcept { return 0; } static constexpr char16_t round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr char16_t infinity() noexcept { return char16_t(); } static constexpr char16_t quiet_NaN() noexcept { return char16_t(); } static constexpr char16_t signaling_NaN() noexcept { return char16_t(); } static constexpr char16_t denorm_min() noexcept { return char16_t(); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = !is_signed; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr char32_t min() noexcept { return (((char32_t)(-1) < 0) ? -(((char32_t)(-1) < 0) ? (((((char32_t)1 << ((sizeof(char32_t) * 8 - ((char32_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char32_t)0) - 1 : (char32_t)0); } static constexpr char32_t max() noexcept { return (((char32_t)(-1) < 0) ? (((((char32_t)1 << ((sizeof(char32_t) * 8 - ((char32_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char32_t)0); } static constexpr char32_t lowest() noexcept { return min(); } static constexpr int digits = (sizeof(char32_t) * 8 - ((char32_t)(-1) < 0)); static constexpr int digits10 = ((sizeof(char32_t) * 8 - ((char32_t)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = ((char32_t)(-1) < 0); static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr char32_t epsilon() noexcept { return 0; } static constexpr char32_t round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr char32_t infinity() noexcept { return char32_t(); } static constexpr char32_t quiet_NaN() noexcept { return char32_t(); } static constexpr char32_t signaling_NaN() noexcept { return char32_t(); } static constexpr char32_t denorm_min() noexcept { return char32_t(); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = !is_signed; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr short min() noexcept { return -32767 - 1; } static constexpr short max() noexcept { return 32767; } static constexpr short lowest() noexcept { return min(); } static constexpr int digits = (sizeof(short) * 8 - ((short)(-1) < 0)); static constexpr int digits10 = ((sizeof(short) * 8 - ((short)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = true; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr short epsilon() noexcept { return 0; } static constexpr short round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr short infinity() noexcept { return short(); } static constexpr short quiet_NaN() noexcept { return short(); } static constexpr short signaling_NaN() noexcept { return short(); } static constexpr short denorm_min() noexcept { return short(); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr unsigned short min() noexcept { return 0; } static constexpr unsigned short max() noexcept { return 32767 * 2U + 1; } static constexpr unsigned short lowest() noexcept { return min(); } static constexpr int digits = (sizeof(unsigned short) * 8 - ((unsigned short)(-1) < 0)); static constexpr int digits10 = ((sizeof(unsigned short) * 8 - ((unsigned short)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = false; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr unsigned short epsilon() noexcept { return 0; } static constexpr unsigned short round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr unsigned short infinity() noexcept { return static_cast(0); } static constexpr unsigned short quiet_NaN() noexcept { return static_cast(0); } static constexpr unsigned short signaling_NaN() noexcept { return static_cast(0); } static constexpr unsigned short denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = true; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr int min() noexcept { return -2147483647 - 1; } static constexpr int max() noexcept { return 2147483647; } static constexpr int lowest() noexcept { return min(); } static constexpr int digits = (sizeof(int) * 8 - ((int)(-1) < 0)); static constexpr int digits10 = ((sizeof(int) * 8 - ((int)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = true; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr int epsilon() noexcept { return 0; } static constexpr int round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr int infinity() noexcept { return static_cast(0); } static constexpr int quiet_NaN() noexcept { return static_cast(0); } static constexpr int signaling_NaN() noexcept { return static_cast(0); } static constexpr int denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr unsigned int min() noexcept { return 0; } static constexpr unsigned int max() noexcept { return 2147483647 * 2U + 1; } static constexpr unsigned int lowest() noexcept { return min(); } static constexpr int digits = (sizeof(unsigned int) * 8 - ((unsigned int)(-1) < 0)); static constexpr int digits10 = ((sizeof(unsigned int) * 8 - ((unsigned int)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = false; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr unsigned int epsilon() noexcept { return 0; } static constexpr unsigned int round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr unsigned int infinity() noexcept { return static_cast(0); } static constexpr unsigned int quiet_NaN() noexcept { return static_cast(0); } static constexpr unsigned int signaling_NaN() noexcept { return static_cast(0); } static constexpr unsigned int denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = true; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr long min() noexcept { return -9223372036854775807L - 1; } static constexpr long max() noexcept { return 9223372036854775807L; } static constexpr long lowest() noexcept { return min(); } static constexpr int digits = (sizeof(long) * 8 - ((long)(-1) < 0)); static constexpr int digits10 = ((sizeof(long) * 8 - ((long)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = true; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr long epsilon() noexcept { return 0; } static constexpr long round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr long infinity() noexcept { return static_cast(0); } static constexpr long quiet_NaN() noexcept { return static_cast(0); } static constexpr long signaling_NaN() noexcept { return static_cast(0); } static constexpr long denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr unsigned long min() noexcept { return 0; } static constexpr unsigned long max() noexcept { return 9223372036854775807L * 2UL + 1; } static constexpr unsigned long lowest() noexcept { return min(); } static constexpr int digits = (sizeof(unsigned long) * 8 - ((unsigned long)(-1) < 0)); static constexpr int digits10 = ((sizeof(unsigned long) * 8 - ((unsigned long)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = false; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr unsigned long epsilon() noexcept { return 0; } static constexpr unsigned long round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr unsigned long infinity() noexcept { return static_cast(0); } static constexpr unsigned long quiet_NaN() noexcept { return static_cast(0); } static constexpr unsigned long signaling_NaN() noexcept { return static_cast(0); } static constexpr unsigned long denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = true; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr long long min() noexcept { return -9223372036854775807LL - 1; } static constexpr long long max() noexcept { return 9223372036854775807LL; } static constexpr long long lowest() noexcept { return min(); } static constexpr int digits = (sizeof(long long) * 8 - ((long long)(-1) < 0)); static constexpr int digits10 = ((sizeof(long long) * 8 - ((long long)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = true; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr long long epsilon() noexcept { return 0; } static constexpr long long round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr long long infinity() noexcept { return static_cast(0); } static constexpr long long quiet_NaN() noexcept { return static_cast(0); } static constexpr long long signaling_NaN() noexcept { return static_cast(0); } static constexpr long long denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr unsigned long long min() noexcept { return 0; } static constexpr unsigned long long max() noexcept { return 9223372036854775807LL * 2ULL + 1; } static constexpr unsigned long long lowest() noexcept { return min(); } static constexpr int digits = (sizeof(unsigned long long) * 8 - ((unsigned long long)(-1) < 0)); static constexpr int digits10 = ((sizeof(unsigned long long) * 8 - ((unsigned long long)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = false; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr unsigned long long epsilon() noexcept { return 0; } static constexpr unsigned long long round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr unsigned long long infinity() noexcept { return static_cast(0); } static constexpr unsigned long long quiet_NaN() noexcept { return static_cast(0); } static constexpr unsigned long long signaling_NaN() noexcept { return static_cast(0); } static constexpr unsigned long long denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = true; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; # 1652 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 3 template<> struct numeric_limits<__int128> { static constexpr bool is_specialized = true; static constexpr __int128 min() noexcept { return (((__int128)(-1) < 0) ? -(((__int128)(-1) < 0) ? (((((__int128)1 << ((128 - ((__int128)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(__int128)0) - 1 : (__int128)0); } static constexpr __int128 max() noexcept { return (((__int128)(-1) < 0) ? (((((__int128)1 << ((128 - ((__int128)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(__int128)0); } static constexpr int digits = 128 - 1; static constexpr int digits10 = (128 - 1) * 643L / 2136; static constexpr bool is_signed = true; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr __int128 epsilon() noexcept { return 0; } static constexpr __int128 round_error() noexcept { return 0; } static constexpr __int128 lowest() noexcept { return min(); } static constexpr int max_digits10 = 0; static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr __int128 infinity() noexcept { return static_cast<__int128>(0); } static constexpr __int128 quiet_NaN() noexcept { return static_cast<__int128>(0); } static constexpr __int128 signaling_NaN() noexcept { return static_cast<__int128>(0); } static constexpr __int128 denorm_min() noexcept { return static_cast<__int128>(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr unsigned __int128 min() noexcept { return 0; } static constexpr unsigned __int128 max() noexcept { return (((unsigned __int128)(-1) < 0) ? (((((unsigned __int128)1 << ((128 - ((unsigned __int128)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(unsigned __int128)0); } static constexpr unsigned __int128 lowest() noexcept { return min(); } static constexpr int max_digits10 = 0; static constexpr int digits = 128; static constexpr int digits10 = 128 * 643L / 2136; static constexpr bool is_signed = false; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr unsigned __int128 epsilon() noexcept { return 0; } static constexpr unsigned __int128 round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr unsigned __int128 infinity() noexcept { return static_cast(0); } static constexpr unsigned __int128 quiet_NaN() noexcept { return static_cast(0); } static constexpr unsigned __int128 signaling_NaN() noexcept { return static_cast(0); } static constexpr unsigned __int128 denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = true; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; # 1663 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 3 template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr float min() noexcept { return 1.17549435e-38F; } static constexpr float max() noexcept { return 3.40282347e+38F; } static constexpr float lowest() noexcept { return -3.40282347e+38F; } static constexpr int digits = 24; static constexpr int digits10 = 6; static constexpr int max_digits10 = (2 + (24) * 643L / 2136); static constexpr bool is_signed = true; static constexpr bool is_integer = false; static constexpr bool is_exact = false; static constexpr int radix = 2; static constexpr float epsilon() noexcept { return 1.19209290e-7F; } static constexpr float round_error() noexcept { return 0.5F; } static constexpr int min_exponent = (-125); static constexpr int min_exponent10 = (-37); static constexpr int max_exponent = 128; static constexpr int max_exponent10 = 38; static constexpr bool has_infinity = 1; static constexpr bool has_quiet_NaN = 1; static constexpr bool has_signaling_NaN = has_quiet_NaN; static constexpr float_denorm_style has_denorm = bool(1) ? denorm_present : denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr float infinity() noexcept { return __builtin_huge_valf(); } static constexpr float quiet_NaN() noexcept { return __builtin_nanf(""); } static constexpr float signaling_NaN() noexcept { return __builtin_nansf(""); } static constexpr float denorm_min() noexcept { return 1.40129846e-45F; } static constexpr bool is_iec559 = has_infinity && has_quiet_NaN && has_denorm == denorm_present; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = false; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_to_nearest; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr double min() noexcept { return 2.2250738585072014e-308; } static constexpr double max() noexcept { return 1.7976931348623157e+308; } static constexpr double lowest() noexcept { return -1.7976931348623157e+308; } static constexpr int digits = 53; static constexpr int digits10 = 15; static constexpr int max_digits10 = (2 + (53) * 643L / 2136); static constexpr bool is_signed = true; static constexpr bool is_integer = false; static constexpr bool is_exact = false; static constexpr int radix = 2; static constexpr double epsilon() noexcept { return 2.2204460492503131e-16; } static constexpr double round_error() noexcept { return 0.5; } static constexpr int min_exponent = (-1021); static constexpr int min_exponent10 = (-307); static constexpr int max_exponent = 1024; static constexpr int max_exponent10 = 308; static constexpr bool has_infinity = 1; static constexpr bool has_quiet_NaN = 1; static constexpr bool has_signaling_NaN = has_quiet_NaN; static constexpr float_denorm_style has_denorm = bool(1) ? denorm_present : denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr double infinity() noexcept { return __builtin_huge_val(); } static constexpr double quiet_NaN() noexcept { return __builtin_nan(""); } static constexpr double signaling_NaN() noexcept { return __builtin_nans(""); } static constexpr double denorm_min() noexcept { return 4.9406564584124654e-324; } static constexpr bool is_iec559 = has_infinity && has_quiet_NaN && has_denorm == denorm_present; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = false; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_to_nearest; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr long double min() noexcept { return 2.2250738585072014e-308L; } static constexpr long double max() noexcept { return 1.7976931348623157e+308L; } static constexpr long double lowest() noexcept { return -1.7976931348623157e+308L; } static constexpr int digits = 53; static constexpr int digits10 = 15; static constexpr int max_digits10 = (2 + (53) * 643L / 2136); static constexpr bool is_signed = true; static constexpr bool is_integer = false; static constexpr bool is_exact = false; static constexpr int radix = 2; static constexpr long double epsilon() noexcept { return 2.2204460492503131e-16L; } static constexpr long double round_error() noexcept { return 0.5L; } static constexpr int min_exponent = (-1021); static constexpr int min_exponent10 = (-307); static constexpr int max_exponent = 1024; static constexpr int max_exponent10 = 308; static constexpr bool has_infinity = 1; static constexpr bool has_quiet_NaN = 1; static constexpr bool has_signaling_NaN = has_quiet_NaN; static constexpr float_denorm_style has_denorm = bool(1) ? denorm_present : denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr long double infinity() noexcept { return __builtin_huge_vall(); } static constexpr long double quiet_NaN() noexcept { return __builtin_nanl(""); } static constexpr long double signaling_NaN() noexcept { return __builtin_nansl(""); } static constexpr long double denorm_min() noexcept { return 4.9406564584124654e-324L; } static constexpr bool is_iec559 = has_infinity && has_quiet_NaN && has_denorm == denorm_present; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = false; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_to_nearest; }; } # 36 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/uniform_int_dist.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 57 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/uniform_int_dist.h" 3 namespace __detail { template inline bool _Power_of_2(_Tp __x) { return ((__x - 1) & __x) == 0; } } template class uniform_int_distribution { static_assert(std::is_integral<_IntType>::value, "template argument must be an integral type"); public: typedef _IntType result_type; struct param_type { typedef uniform_int_distribution<_IntType> distribution_type; param_type() : param_type(0) { } explicit param_type(_IntType __a, _IntType __b = numeric_limits<_IntType>::max()) : _M_a(__a), _M_b(__b) { ; } result_type a() const { return _M_a; } result_type b() const { return _M_b; } friend bool operator==(const param_type& __p1, const param_type& __p2) { return __p1._M_a == __p2._M_a && __p1._M_b == __p2._M_b; } friend bool operator!=(const param_type& __p1, const param_type& __p2) { return !(__p1 == __p2); } private: _IntType _M_a; _IntType _M_b; }; public: uniform_int_distribution() : uniform_int_distribution(0) { } explicit uniform_int_distribution(_IntType __a, _IntType __b = numeric_limits<_IntType>::max()) : _M_param(__a, __b) { } explicit uniform_int_distribution(const param_type& __p) : _M_param(__p) { } void reset() { } result_type a() const { return _M_param.a(); } result_type b() const { return _M_param.b(); } param_type param() const { return _M_param; } void param(const param_type& __param) { _M_param = __param; } result_type min() const { return this->a(); } result_type max() const { return this->b(); } template result_type operator()(_UniformRandomNumberGenerator& __urng) { return this->operator()(__urng, _M_param); } template result_type operator()(_UniformRandomNumberGenerator& __urng, const param_type& __p); template void __generate(_ForwardIterator __f, _ForwardIterator __t, _UniformRandomNumberGenerator& __urng) { this->__generate(__f, __t, __urng, _M_param); } template void __generate(_ForwardIterator __f, _ForwardIterator __t, _UniformRandomNumberGenerator& __urng, const param_type& __p) { this->__generate_impl(__f, __t, __urng, __p); } template void __generate(result_type* __f, result_type* __t, _UniformRandomNumberGenerator& __urng, const param_type& __p) { this->__generate_impl(__f, __t, __urng, __p); } friend bool operator==(const uniform_int_distribution& __d1, const uniform_int_distribution& __d2) { return __d1._M_param == __d2._M_param; } private: template void __generate_impl(_ForwardIterator __f, _ForwardIterator __t, _UniformRandomNumberGenerator& __urng, const param_type& __p); param_type _M_param; }; template template typename uniform_int_distribution<_IntType>::result_type uniform_int_distribution<_IntType>:: operator()(_UniformRandomNumberGenerator& __urng, const param_type& __param) { typedef typename _UniformRandomNumberGenerator::result_type _Gresult_type; typedef typename std::make_unsigned::type __utype; typedef typename std::common_type<_Gresult_type, __utype>::type __uctype; const __uctype __urngmin = __urng.min(); const __uctype __urngmax = __urng.max(); const __uctype __urngrange = __urngmax - __urngmin; const __uctype __urange = __uctype(__param.b()) - __uctype(__param.a()); __uctype __ret; if (__urngrange > __urange) { const __uctype __uerange = __urange + 1; const __uctype __scaling = __urngrange / __uerange; const __uctype __past = __uerange * __scaling; do __ret = __uctype(__urng()) - __urngmin; while (__ret >= __past); __ret /= __scaling; } else if (__urngrange < __urange) { # 287 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/uniform_int_dist.h" 3 __uctype __tmp; do { const __uctype __uerngrange = __urngrange + 1; __tmp = (__uerngrange * operator() (__urng, param_type(0, __urange / __uerngrange))); __ret = __tmp + (__uctype(__urng()) - __urngmin); } while (__ret > __urange || __ret < __tmp); } else __ret = __uctype(__urng()) - __urngmin; return __ret + __param.a(); } template template void uniform_int_distribution<_IntType>:: __generate_impl(_ForwardIterator __f, _ForwardIterator __t, _UniformRandomNumberGenerator& __urng, const param_type& __param) { typedef typename _UniformRandomNumberGenerator::result_type _Gresult_type; typedef typename std::make_unsigned::type __utype; typedef typename std::common_type<_Gresult_type, __utype>::type __uctype; const __uctype __urngmin = __urng.min(); const __uctype __urngmax = __urng.max(); const __uctype __urngrange = __urngmax - __urngmin; const __uctype __urange = __uctype(__param.b()) - __uctype(__param.a()); __uctype __ret; if (__urngrange > __urange) { if (__detail::_Power_of_2(__urngrange + 1) && __detail::_Power_of_2(__urange + 1)) { while (__f != __t) { __ret = __uctype(__urng()) - __urngmin; *__f++ = (__ret & __urange) + __param.a(); } } else { const __uctype __uerange = __urange + 1; const __uctype __scaling = __urngrange / __uerange; const __uctype __past = __uerange * __scaling; while (__f != __t) { do __ret = __uctype(__urng()) - __urngmin; while (__ret >= __past); *__f++ = __ret / __scaling + __param.a(); } } } else if (__urngrange < __urange) { # 371 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/uniform_int_dist.h" 3 __uctype __tmp; while (__f != __t) { do { const __uctype __uerngrange = __urngrange + 1; __tmp = (__uerngrange * operator() (__urng, param_type(0, __urange / __uerngrange))); __ret = __tmp + (__uctype(__urng()) - __urngmin); } while (__ret > __urange || __ret < __tmp); *__f++ = __ret; } } else while (__f != __t) *__f++ = __uctype(__urng()) - __urngmin + __param.a(); } } # 67 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template void __move_median_to_first(_Iterator __result,_Iterator __a, _Iterator __b, _Iterator __c, _Compare __comp) { if (__comp(__a, __b)) { if (__comp(__b, __c)) std::iter_swap(__result, __b); else if (__comp(__a, __c)) std::iter_swap(__result, __c); else std::iter_swap(__result, __a); } else if (__comp(__a, __c)) std::iter_swap(__result, __a); else if (__comp(__b, __c)) std::iter_swap(__result, __c); else std::iter_swap(__result, __b); } template inline _InputIterator __find_if_not(_InputIterator __first, _InputIterator __last, _Predicate __pred) { return std::__find_if(__first, __last, __gnu_cxx::__ops::__negate(__pred), std::__iterator_category(__first)); } template _InputIterator __find_if_not_n(_InputIterator __first, _Distance& __len, _Predicate __pred) { for (; __len; --__len, (void) ++__first) if (!__pred(__first)) break; return __first; } # 138 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _ForwardIterator1 __search(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2, _ForwardIterator2 __last2, _BinaryPredicate __predicate) { if (__first1 == __last1 || __first2 == __last2) return __first1; _ForwardIterator2 __p1(__first2); if (++__p1 == __last2) return std::__find_if(__first1, __last1, __gnu_cxx::__ops::__iter_comp_iter(__predicate, __first2)); _ForwardIterator1 __current = __first1; for (;;) { __first1 = std::__find_if(__first1, __last1, __gnu_cxx::__ops::__iter_comp_iter(__predicate, __first2)); if (__first1 == __last1) return __last1; _ForwardIterator2 __p = __p1; __current = __first1; if (++__current == __last1) return __last1; while (__predicate(__current, __p)) { if (++__p == __last2) return __first1; if (++__current == __last1) return __last1; } ++__first1; } return __first1; } template _ForwardIterator __search_n_aux(_ForwardIterator __first, _ForwardIterator __last, _Integer __count, _UnaryPredicate __unary_pred, std::forward_iterator_tag) { __first = std::__find_if(__first, __last, __unary_pred); while (__first != __last) { typename iterator_traits<_ForwardIterator>::difference_type __n = __count; _ForwardIterator __i = __first; ++__i; while (__i != __last && __n != 1 && __unary_pred(__i)) { ++__i; --__n; } if (__n == 1) return __first; if (__i == __last) return __last; __first = std::__find_if(++__i, __last, __unary_pred); } return __last; } template _RandomAccessIter __search_n_aux(_RandomAccessIter __first, _RandomAccessIter __last, _Integer __count, _UnaryPredicate __unary_pred, std::random_access_iterator_tag) { typedef typename std::iterator_traits<_RandomAccessIter>::difference_type _DistanceType; _DistanceType __tailSize = __last - __first; _DistanceType __remainder = __count; while (__remainder <= __tailSize) { __first += __remainder; __tailSize -= __remainder; _RandomAccessIter __backTrack = __first; while (__unary_pred(--__backTrack)) { if (--__remainder == 0) return (__first - __count); } __remainder = __count + 1 - (__first - __backTrack); } return __last; } template _ForwardIterator __search_n(_ForwardIterator __first, _ForwardIterator __last, _Integer __count, _UnaryPredicate __unary_pred) { if (__count <= 0) return __first; if (__count == 1) return std::__find_if(__first, __last, __unary_pred); return std::__search_n_aux(__first, __last, __count, __unary_pred, std::__iterator_category(__first)); } template _ForwardIterator1 __find_end(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2, _ForwardIterator2 __last2, forward_iterator_tag, forward_iterator_tag, _BinaryPredicate __comp) { if (__first2 == __last2) return __last1; _ForwardIterator1 __result = __last1; while (1) { _ForwardIterator1 __new_result = std::__search(__first1, __last1, __first2, __last2, __comp); if (__new_result == __last1) return __result; else { __result = __new_result; __first1 = __new_result; ++__first1; } } } template _BidirectionalIterator1 __find_end(_BidirectionalIterator1 __first1, _BidirectionalIterator1 __last1, _BidirectionalIterator2 __first2, _BidirectionalIterator2 __last2, bidirectional_iterator_tag, bidirectional_iterator_tag, _BinaryPredicate __comp) { typedef reverse_iterator<_BidirectionalIterator1> _RevIterator1; typedef reverse_iterator<_BidirectionalIterator2> _RevIterator2; _RevIterator1 __rlast1(__first1); _RevIterator2 __rlast2(__first2); _RevIterator1 __rresult = std::__search(_RevIterator1(__last1), __rlast1, _RevIterator2(__last2), __rlast2, __comp); if (__rresult == __rlast1) return __last1; else { _BidirectionalIterator1 __result = __rresult.base(); std::advance(__result, -std::distance(__first2, __last2)); return __result; } } # 364 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator1 find_end(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2, _ForwardIterator2 __last2) { ; ; return std::__find_end(__first1, __last1, __first2, __last2, std::__iterator_category(__first1), std::__iterator_category(__first2), __gnu_cxx::__ops::__iter_equal_to_iter()); } # 413 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator1 find_end(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2, _ForwardIterator2 __last2, _BinaryPredicate __comp) { ; ; return std::__find_end(__first1, __last1, __first2, __last2, std::__iterator_category(__first1), std::__iterator_category(__first2), __gnu_cxx::__ops::__iter_comp_iter(__comp)); } # 449 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool all_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) { return __last == std::find_if_not(__first, __last, __pred); } # 467 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool none_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) { return __last == std::find_if(__first, __last, __pred); } # 486 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) { return !std::none_of(__first, __last, __pred); } # 502 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _InputIterator find_if_not(_InputIterator __first, _InputIterator __last, _Predicate __pred) { ; return std::__find_if_not(__first, __last, __gnu_cxx::__ops::__pred_iter(__pred)); } # 527 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool is_partitioned(_InputIterator __first, _InputIterator __last, _Predicate __pred) { __first = std::find_if_not(__first, __last, __pred); if (__first == __last) return true; ++__first; return std::none_of(__first, __last, __pred); } # 549 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _ForwardIterator partition_point(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) { ; typedef typename iterator_traits<_ForwardIterator>::difference_type _DistanceType; _DistanceType __len = std::distance(__first, __last); while (__len > 0) { _DistanceType __half = __len >> 1; _ForwardIterator __middle = __first; std::advance(__middle, __half); if (__pred(*__middle)) { __first = __middle; ++__first; __len = __len - __half - 1; } else __len = __half; } return __first; } template _OutputIterator __remove_copy_if(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Predicate __pred) { for (; __first != __last; ++__first) if (!__pred(__first)) { *__result = *__first; ++__result; } return __result; } # 616 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator remove_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, const _Tp& __value) { ; return std::__remove_copy_if(__first, __last, __result, __gnu_cxx::__ops::__iter_equals_val(__value)); } # 649 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator remove_copy_if(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Predicate __pred) { ; return std::__remove_copy_if(__first, __last, __result, __gnu_cxx::__ops::__pred_iter(__pred)); } # 684 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _OutputIterator copy_if(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Predicate __pred) { ; for (; __first != __last; ++__first) if (__pred(*__first)) { *__result = *__first; ++__result; } return __result; } template _OutputIterator __copy_n_a(_InputIterator __first, _Size __n, _OutputIterator __result) { if (__n > 0) { while (true) { *__result = *__first; ++__result; if (--__n > 0) ++__first; else break; } } return __result; } template __enable_if_t<__is_char<_CharT>::__value, _CharT*> __copy_n_a(istreambuf_iterator<_CharT, char_traits<_CharT>>, _Size, _CharT*); template _OutputIterator __copy_n(_InputIterator __first, _Size __n, _OutputIterator __result, input_iterator_tag) { return std::__niter_wrap(__result, __copy_n_a(__first, __n, std::__niter_base(__result))); } template inline _OutputIterator __copy_n(_RandomAccessIterator __first, _Size __n, _OutputIterator __result, random_access_iterator_tag) { return std::copy(__first, __first + __n, __result); } # 765 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator copy_n(_InputIterator __first, _Size __n, _OutputIterator __result) { ; ; return std::__copy_n(__first, __n, __result, std::__iterator_category(__first)); } # 796 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template pair<_OutputIterator1, _OutputIterator2> partition_copy(_InputIterator __first, _InputIterator __last, _OutputIterator1 __out_true, _OutputIterator2 __out_false, _Predicate __pred) { # 812 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; for (; __first != __last; ++__first) if (__pred(*__first)) { *__out_true = *__first; ++__out_true; } else { *__out_false = *__first; ++__out_false; } return pair<_OutputIterator1, _OutputIterator2>(__out_true, __out_false); } template _ForwardIterator __remove_if(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) { __first = std::__find_if(__first, __last, __pred); if (__first == __last) return __first; _ForwardIterator __result = __first; ++__first; for (; __first != __last; ++__first) if (!__pred(__first)) { *__result = std::move(*__first); ++__result; } return __result; } # 867 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator remove(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) { ; return std::__remove_if(__first, __last, __gnu_cxx::__ops::__iter_equals_val(__value)); } # 901 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator remove_if(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) { ; return std::__remove_if(__first, __last, __gnu_cxx::__ops::__pred_iter(__pred)); } template _ForwardIterator __adjacent_find(_ForwardIterator __first, _ForwardIterator __last, _BinaryPredicate __binary_pred) { if (__first == __last) return __last; _ForwardIterator __next = __first; while (++__next != __last) { if (__binary_pred(__first, __next)) return __first; __first = __next; } return __last; } template _ForwardIterator __unique(_ForwardIterator __first, _ForwardIterator __last, _BinaryPredicate __binary_pred) { __first = std::__adjacent_find(__first, __last, __binary_pred); if (__first == __last) return __last; _ForwardIterator __dest = __first; ++__first; while (++__first != __last) if (!__binary_pred(__dest, __first)) *++__dest = std::move(*__first); return ++__dest; } # 970 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator unique(_ForwardIterator __first, _ForwardIterator __last) { ; return std::__unique(__first, __last, __gnu_cxx::__ops::__iter_equal_to_iter()); } # 1001 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator unique(_ForwardIterator __first, _ForwardIterator __last, _BinaryPredicate __binary_pred) { ; return std::__unique(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__binary_pred)); } template _OutputIterator __unique_copy(_ForwardIterator __first, _ForwardIterator __last, _OutputIterator __result, _BinaryPredicate __binary_pred, forward_iterator_tag, output_iterator_tag) { _ForwardIterator __next = __first; *__result = *__first; while (++__next != __last) if (!__binary_pred(__first, __next)) { __first = __next; *++__result = *__first; } return ++__result; } template _OutputIterator __unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __binary_pred, input_iterator_tag, output_iterator_tag) { typename iterator_traits<_InputIterator>::value_type __value = *__first; __decltype(__gnu_cxx::__ops::__iter_comp_val(__binary_pred)) __rebound_pred = __gnu_cxx::__ops::__iter_comp_val(__binary_pred); *__result = __value; while (++__first != __last) if (!__rebound_pred(__first, __value)) { __value = *__first; *++__result = __value; } return ++__result; } template _ForwardIterator __unique_copy(_InputIterator __first, _InputIterator __last, _ForwardIterator __result, _BinaryPredicate __binary_pred, input_iterator_tag, forward_iterator_tag) { *__result = *__first; while (++__first != __last) if (!__binary_pred(__result, __first)) *++__result = *__first; return ++__result; } template void __reverse(_BidirectionalIterator __first, _BidirectionalIterator __last, bidirectional_iterator_tag) { while (true) if (__first == __last || __first == --__last) return; else { std::iter_swap(__first, __last); ++__first; } } template void __reverse(_RandomAccessIterator __first, _RandomAccessIterator __last, random_access_iterator_tag) { if (__first == __last) return; --__last; while (__first < __last) { std::iter_swap(__first, __last); ++__first; --__last; } } # 1162 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void reverse(_BidirectionalIterator __first, _BidirectionalIterator __last) { ; std::__reverse(__first, __last, std::__iterator_category(__first)); } # 1190 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _OutputIterator reverse_copy(_BidirectionalIterator __first, _BidirectionalIterator __last, _OutputIterator __result) { ; while (__first != __last) { --__last; *__result = *__last; ++__result; } return __result; } template _EuclideanRingElement __gcd(_EuclideanRingElement __m, _EuclideanRingElement __n) { while (__n != 0) { _EuclideanRingElement __t = __m % __n; __m = __n; __n = __t; } return __m; } inline namespace _V2 { template _ForwardIterator __rotate(_ForwardIterator __first, _ForwardIterator __middle, _ForwardIterator __last, forward_iterator_tag) { if (__first == __middle) return __last; else if (__last == __middle) return __first; _ForwardIterator __first2 = __middle; do { std::iter_swap(__first, __first2); ++__first; ++__first2; if (__first == __middle) __middle = __first2; } while (__first2 != __last); _ForwardIterator __ret = __first; __first2 = __middle; while (__first2 != __last) { std::iter_swap(__first, __first2); ++__first; ++__first2; if (__first == __middle) __middle = __first2; else if (__first2 == __last) __first2 = __middle; } return __ret; } template _BidirectionalIterator __rotate(_BidirectionalIterator __first, _BidirectionalIterator __middle, _BidirectionalIterator __last, bidirectional_iterator_tag) { if (__first == __middle) return __last; else if (__last == __middle) return __first; std::__reverse(__first, __middle, bidirectional_iterator_tag()); std::__reverse(__middle, __last, bidirectional_iterator_tag()); while (__first != __middle && __middle != __last) { std::iter_swap(__first, --__last); ++__first; } if (__first == __middle) { std::__reverse(__middle, __last, bidirectional_iterator_tag()); return __last; } else { std::__reverse(__first, __middle, bidirectional_iterator_tag()); return __first; } } template _RandomAccessIterator __rotate(_RandomAccessIterator __first, _RandomAccessIterator __middle, _RandomAccessIterator __last, random_access_iterator_tag) { if (__first == __middle) return __last; else if (__last == __middle) return __first; typedef typename iterator_traits<_RandomAccessIterator>::difference_type _Distance; typedef typename iterator_traits<_RandomAccessIterator>::value_type _ValueType; _Distance __n = __last - __first; _Distance __k = __middle - __first; if (__k == __n - __k) { std::swap_ranges(__first, __middle, __middle); return __middle; } _RandomAccessIterator __p = __first; _RandomAccessIterator __ret = __first + (__last - __middle); for (;;) { if (__k < __n - __k) { if (__is_pod(_ValueType) && __k == 1) { _ValueType __t = std::move(*__p); std::move(__p + 1, __p + __n, __p); *(__p + __n - 1) = std::move(__t); return __ret; } _RandomAccessIterator __q = __p + __k; for (_Distance __i = 0; __i < __n - __k; ++ __i) { std::iter_swap(__p, __q); ++__p; ++__q; } __n %= __k; if (__n == 0) return __ret; std::swap(__n, __k); __k = __n - __k; } else { __k = __n - __k; if (__is_pod(_ValueType) && __k == 1) { _ValueType __t = std::move(*(__p + __n - 1)); std::move_backward(__p, __p + __n - 1, __p + __n); *__p = std::move(__t); return __ret; } _RandomAccessIterator __q = __p + __n; __p = __q - __k; for (_Distance __i = 0; __i < __n - __k; ++ __i) { --__p; --__q; std::iter_swap(__p, __q); } __n %= __k; if (__n == 0) return __ret; std::swap(__n, __k); } } } # 1422 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator rotate(_ForwardIterator __first, _ForwardIterator __middle, _ForwardIterator __last) { ; ; return std::__rotate(__first, __middle, __last, std::__iterator_category(__first)); } } # 1460 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator rotate_copy(_ForwardIterator __first, _ForwardIterator __middle, _ForwardIterator __last, _OutputIterator __result) { ; ; return std::copy(__first, __middle, std::copy(__middle, __last, __result)); } template _ForwardIterator __partition(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred, forward_iterator_tag) { if (__first == __last) return __first; while (__pred(*__first)) if (++__first == __last) return __first; _ForwardIterator __next = __first; while (++__next != __last) if (__pred(*__next)) { std::iter_swap(__first, __next); ++__first; } return __first; } template _BidirectionalIterator __partition(_BidirectionalIterator __first, _BidirectionalIterator __last, _Predicate __pred, bidirectional_iterator_tag) { while (true) { while (true) if (__first == __last) return __first; else if (__pred(*__first)) ++__first; else break; --__last; while (true) if (__first == __last) return __first; else if (!bool(__pred(*__last))) --__last; else break; std::iter_swap(__first, __last); ++__first; } } # 1540 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _ForwardIterator __stable_partition_adaptive(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred, _Distance __len, _Pointer __buffer, _Distance __buffer_size) { if (__len == 1) return __first; if (__len <= __buffer_size) { _ForwardIterator __result1 = __first; _Pointer __result2 = __buffer; *__result2 = std::move(*__first); ++__result2; ++__first; for (; __first != __last; ++__first) if (__pred(__first)) { *__result1 = std::move(*__first); ++__result1; } else { *__result2 = std::move(*__first); ++__result2; } std::move(__buffer, __result2, __result1); return __result1; } _ForwardIterator __middle = __first; std::advance(__middle, __len / 2); _ForwardIterator __left_split = std::__stable_partition_adaptive(__first, __middle, __pred, __len / 2, __buffer, __buffer_size); _Distance __right_len = __len - __len / 2; _ForwardIterator __right_split = std::__find_if_not_n(__middle, __right_len, __pred); if (__right_len) __right_split = std::__stable_partition_adaptive(__right_split, __last, __pred, __right_len, __buffer, __buffer_size); return std::rotate(__left_split, __middle, __right_split); } template _ForwardIterator __stable_partition(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) { __first = std::__find_if_not(__first, __last, __pred); if (__first == __last) return __first; typedef typename iterator_traits<_ForwardIterator>::value_type _ValueType; typedef typename iterator_traits<_ForwardIterator>::difference_type _DistanceType; _Temporary_buffer<_ForwardIterator, _ValueType> __buf(__first, std::distance(__first, __last)); return std::__stable_partition_adaptive(__first, __last, __pred, _DistanceType(__buf.requested_size()), __buf.begin(), _DistanceType(__buf.size())); } # 1642 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator stable_partition(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) { ; return std::__stable_partition(__first, __last, __gnu_cxx::__ops::__pred_iter(__pred)); } template void __heap_select(_RandomAccessIterator __first, _RandomAccessIterator __middle, _RandomAccessIterator __last, _Compare __comp) { std::__make_heap(__first, __middle, __comp); for (_RandomAccessIterator __i = __middle; __i < __last; ++__i) if (__comp(__i, __first)) std::__pop_heap(__first, __middle, __i, __comp); } template _RandomAccessIterator __partial_sort_copy(_InputIterator __first, _InputIterator __last, _RandomAccessIterator __result_first, _RandomAccessIterator __result_last, _Compare __comp) { typedef typename iterator_traits<_InputIterator>::value_type _InputValueType; typedef iterator_traits<_RandomAccessIterator> _RItTraits; typedef typename _RItTraits::difference_type _DistanceType; if (__result_first == __result_last) return __result_last; _RandomAccessIterator __result_real_last = __result_first; while (__first != __last && __result_real_last != __result_last) { *__result_real_last = *__first; ++__result_real_last; ++__first; } std::__make_heap(__result_first, __result_real_last, __comp); while (__first != __last) { if (__comp(__first, __result_first)) std::__adjust_heap(__result_first, _DistanceType(0), _DistanceType(__result_real_last - __result_first), _InputValueType(*__first), __comp); ++__first; } std::__sort_heap(__result_first, __result_real_last, __comp); return __result_real_last; } # 1730 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _RandomAccessIterator partial_sort_copy(_InputIterator __first, _InputIterator __last, _RandomAccessIterator __result_first, _RandomAccessIterator __result_last) { # 1751 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; return std::__partial_sort_copy(__first, __last, __result_first, __result_last, __gnu_cxx::__ops::__iter_less_iter()); } # 1780 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _RandomAccessIterator partial_sort_copy(_InputIterator __first, _InputIterator __last, _RandomAccessIterator __result_first, _RandomAccessIterator __result_last, _Compare __comp) { # 1806 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; return std::__partial_sort_copy(__first, __last, __result_first, __result_last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template void __unguarded_linear_insert(_RandomAccessIterator __last, _Compare __comp) { typename iterator_traits<_RandomAccessIterator>::value_type __val = std::move(*__last); _RandomAccessIterator __next = __last; --__next; while (__comp(__val, __next)) { *__last = std::move(*__next); __last = __next; --__next; } *__last = std::move(__val); } template void __insertion_sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { if (__first == __last) return; for (_RandomAccessIterator __i = __first + 1; __i != __last; ++__i) { if (__comp(__i, __first)) { typename iterator_traits<_RandomAccessIterator>::value_type __val = std::move(*__i); std::move_backward(__first, __i, __i + 1); *__first = std::move(__val); } else std::__unguarded_linear_insert(__i, __gnu_cxx::__ops::__val_comp_iter(__comp)); } } template inline void __unguarded_insertion_sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { for (_RandomAccessIterator __i = __first; __i != __last; ++__i) std::__unguarded_linear_insert(__i, __gnu_cxx::__ops::__val_comp_iter(__comp)); } enum { _S_threshold = 16 }; template void __final_insertion_sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { if (__last - __first > int(_S_threshold)) { std::__insertion_sort(__first, __first + int(_S_threshold), __comp); std::__unguarded_insertion_sort(__first + int(_S_threshold), __last, __comp); } else std::__insertion_sort(__first, __last, __comp); } template _RandomAccessIterator __unguarded_partition(_RandomAccessIterator __first, _RandomAccessIterator __last, _RandomAccessIterator __pivot, _Compare __comp) { while (true) { while (__comp(__first, __pivot)) ++__first; --__last; while (__comp(__pivot, __last)) --__last; if (!(__first < __last)) return __first; std::iter_swap(__first, __last); ++__first; } } template inline _RandomAccessIterator __unguarded_partition_pivot(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { _RandomAccessIterator __mid = __first + (__last - __first) / 2; std::__move_median_to_first(__first, __first + 1, __mid, __last - 1, __comp); return std::__unguarded_partition(__first + 1, __last, __first, __comp); } template inline void __partial_sort(_RandomAccessIterator __first, _RandomAccessIterator __middle, _RandomAccessIterator __last, _Compare __comp) { std::__heap_select(__first, __middle, __last, __comp); std::__sort_heap(__first, __middle, __comp); } template void __introsort_loop(_RandomAccessIterator __first, _RandomAccessIterator __last, _Size __depth_limit, _Compare __comp) { while (__last - __first > int(_S_threshold)) { if (__depth_limit == 0) { std::__partial_sort(__first, __last, __last, __comp); return; } --__depth_limit; _RandomAccessIterator __cut = std::__unguarded_partition_pivot(__first, __last, __comp); std::__introsort_loop(__cut, __last, __depth_limit, __comp); __last = __cut; } } template inline void __sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { if (__first != __last) { std::__introsort_loop(__first, __last, std::__lg(__last - __first) * 2, __comp); std::__final_insertion_sort(__first, __last, __comp); } } template void __introselect(_RandomAccessIterator __first, _RandomAccessIterator __nth, _RandomAccessIterator __last, _Size __depth_limit, _Compare __comp) { while (__last - __first > 3) { if (__depth_limit == 0) { std::__heap_select(__first, __nth + 1, __last, __comp); std::iter_swap(__first, __nth); return; } --__depth_limit; _RandomAccessIterator __cut = std::__unguarded_partition_pivot(__first, __last, __comp); if (__cut <= __nth) __first = __cut; else __last = __cut; } std::__insertion_sort(__first, __last, __comp); } # 2028 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator lower_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val, _Compare __comp) { ; return std::__lower_bound(__first, __last, __val, __gnu_cxx::__ops::__iter_comp_val(__comp)); } template _ForwardIterator __upper_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val, _Compare __comp) { typedef typename iterator_traits<_ForwardIterator>::difference_type _DistanceType; _DistanceType __len = std::distance(__first, __last); while (__len > 0) { _DistanceType __half = __len >> 1; _ForwardIterator __middle = __first; std::advance(__middle, __half); if (__comp(__val, __middle)) __len = __half; else { __first = __middle; ++__first; __len = __len - __half - 1; } } return __first; } # 2084 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator upper_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val) { ; return std::__upper_bound(__first, __last, __val, __gnu_cxx::__ops::__val_less_iter()); } # 2115 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator upper_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val, _Compare __comp) { ; return std::__upper_bound(__first, __last, __val, __gnu_cxx::__ops::__val_comp_iter(__comp)); } template pair<_ForwardIterator, _ForwardIterator> __equal_range(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val, _CompareItTp __comp_it_val, _CompareTpIt __comp_val_it) { typedef typename iterator_traits<_ForwardIterator>::difference_type _DistanceType; _DistanceType __len = std::distance(__first, __last); while (__len > 0) { _DistanceType __half = __len >> 1; _ForwardIterator __middle = __first; std::advance(__middle, __half); if (__comp_it_val(__middle, __val)) { __first = __middle; ++__first; __len = __len - __half - 1; } else if (__comp_val_it(__val, __middle)) __len = __half; else { _ForwardIterator __left = std::__lower_bound(__first, __middle, __val, __comp_it_val); std::advance(__first, __len); _ForwardIterator __right = std::__upper_bound(++__middle, __first, __val, __comp_val_it); return pair<_ForwardIterator, _ForwardIterator>(__left, __right); } } return pair<_ForwardIterator, _ForwardIterator>(__first, __first); } # 2188 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline pair<_ForwardIterator, _ForwardIterator> equal_range(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val) { ; ; return std::__equal_range(__first, __last, __val, __gnu_cxx::__ops::__iter_less_val(), __gnu_cxx::__ops::__val_less_iter()); } # 2225 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline pair<_ForwardIterator, _ForwardIterator> equal_range(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val, _Compare __comp) { ; ; return std::__equal_range(__first, __last, __val, __gnu_cxx::__ops::__iter_comp_val(__comp), __gnu_cxx::__ops::__val_comp_iter(__comp)); } # 2259 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template bool binary_search(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val) { ; ; _ForwardIterator __i = std::__lower_bound(__first, __last, __val, __gnu_cxx::__ops::__iter_less_val()); return __i != __last && !(__val < *__i); } # 2293 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template bool binary_search(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val, _Compare __comp) { ; ; _ForwardIterator __i = std::__lower_bound(__first, __last, __val, __gnu_cxx::__ops::__iter_comp_val(__comp)); return __i != __last && !bool(__comp(__val, *__i)); } template void __move_merge_adaptive(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { while (__first1 != __last1 && __first2 != __last2) { if (__comp(__first2, __first1)) { *__result = std::move(*__first2); ++__first2; } else { *__result = std::move(*__first1); ++__first1; } ++__result; } if (__first1 != __last1) std::move(__first1, __last1, __result); } template void __move_merge_adaptive_backward(_BidirectionalIterator1 __first1, _BidirectionalIterator1 __last1, _BidirectionalIterator2 __first2, _BidirectionalIterator2 __last2, _BidirectionalIterator3 __result, _Compare __comp) { if (__first1 == __last1) { std::move_backward(__first2, __last2, __result); return; } else if (__first2 == __last2) return; --__last1; --__last2; while (true) { if (__comp(__last2, __last1)) { *--__result = std::move(*__last1); if (__first1 == __last1) { std::move_backward(__first2, ++__last2, __result); return; } --__last1; } else { *--__result = std::move(*__last2); if (__first2 == __last2) return; --__last2; } } } template _BidirectionalIterator1 __rotate_adaptive(_BidirectionalIterator1 __first, _BidirectionalIterator1 __middle, _BidirectionalIterator1 __last, _Distance __len1, _Distance __len2, _BidirectionalIterator2 __buffer, _Distance __buffer_size) { _BidirectionalIterator2 __buffer_end; if (__len1 > __len2 && __len2 <= __buffer_size) { if (__len2) { __buffer_end = std::move(__middle, __last, __buffer); std::move_backward(__first, __middle, __last); return std::move(__buffer, __buffer_end, __first); } else return __first; } else if (__len1 <= __buffer_size) { if (__len1) { __buffer_end = std::move(__first, __middle, __buffer); std::move(__middle, __last, __first); return std::move_backward(__buffer, __buffer_end, __last); } else return __last; } else return std::rotate(__first, __middle, __last); } template void __merge_adaptive(_BidirectionalIterator __first, _BidirectionalIterator __middle, _BidirectionalIterator __last, _Distance __len1, _Distance __len2, _Pointer __buffer, _Distance __buffer_size, _Compare __comp) { if (__len1 <= __len2 && __len1 <= __buffer_size) { _Pointer __buffer_end = std::move(__first, __middle, __buffer); std::__move_merge_adaptive(__buffer, __buffer_end, __middle, __last, __first, __comp); } else if (__len2 <= __buffer_size) { _Pointer __buffer_end = std::move(__middle, __last, __buffer); std::__move_merge_adaptive_backward(__first, __middle, __buffer, __buffer_end, __last, __comp); } else { _BidirectionalIterator __first_cut = __first; _BidirectionalIterator __second_cut = __middle; _Distance __len11 = 0; _Distance __len22 = 0; if (__len1 > __len2) { __len11 = __len1 / 2; std::advance(__first_cut, __len11); __second_cut = std::__lower_bound(__middle, __last, *__first_cut, __gnu_cxx::__ops::__iter_comp_val(__comp)); __len22 = std::distance(__middle, __second_cut); } else { __len22 = __len2 / 2; std::advance(__second_cut, __len22); __first_cut = std::__upper_bound(__first, __middle, *__second_cut, __gnu_cxx::__ops::__val_comp_iter(__comp)); __len11 = std::distance(__first, __first_cut); } _BidirectionalIterator __new_middle = std::__rotate_adaptive(__first_cut, __middle, __second_cut, __len1 - __len11, __len22, __buffer, __buffer_size); std::__merge_adaptive(__first, __first_cut, __new_middle, __len11, __len22, __buffer, __buffer_size, __comp); std::__merge_adaptive(__new_middle, __second_cut, __last, __len1 - __len11, __len2 - __len22, __buffer, __buffer_size, __comp); } } template void __merge_without_buffer(_BidirectionalIterator __first, _BidirectionalIterator __middle, _BidirectionalIterator __last, _Distance __len1, _Distance __len2, _Compare __comp) { if (__len1 == 0 || __len2 == 0) return; if (__len1 + __len2 == 2) { if (__comp(__middle, __first)) std::iter_swap(__first, __middle); return; } _BidirectionalIterator __first_cut = __first; _BidirectionalIterator __second_cut = __middle; _Distance __len11 = 0; _Distance __len22 = 0; if (__len1 > __len2) { __len11 = __len1 / 2; std::advance(__first_cut, __len11); __second_cut = std::__lower_bound(__middle, __last, *__first_cut, __gnu_cxx::__ops::__iter_comp_val(__comp)); __len22 = std::distance(__middle, __second_cut); } else { __len22 = __len2 / 2; std::advance(__second_cut, __len22); __first_cut = std::__upper_bound(__first, __middle, *__second_cut, __gnu_cxx::__ops::__val_comp_iter(__comp)); __len11 = std::distance(__first, __first_cut); } _BidirectionalIterator __new_middle = std::rotate(__first_cut, __middle, __second_cut); std::__merge_without_buffer(__first, __first_cut, __new_middle, __len11, __len22, __comp); std::__merge_without_buffer(__new_middle, __second_cut, __last, __len1 - __len11, __len2 - __len22, __comp); } template void __inplace_merge(_BidirectionalIterator __first, _BidirectionalIterator __middle, _BidirectionalIterator __last, _Compare __comp) { typedef typename iterator_traits<_BidirectionalIterator>::value_type _ValueType; typedef typename iterator_traits<_BidirectionalIterator>::difference_type _DistanceType; if (__first == __middle || __middle == __last) return; const _DistanceType __len1 = std::distance(__first, __middle); const _DistanceType __len2 = std::distance(__middle, __last); typedef _Temporary_buffer<_BidirectionalIterator, _ValueType> _TmpBuf; _TmpBuf __buf(__first, __len1 + __len2); if (__buf.begin() == 0) std::__merge_without_buffer (__first, __middle, __last, __len1, __len2, __comp); else std::__merge_adaptive (__first, __middle, __last, __len1, __len2, __buf.begin(), _DistanceType(__buf.size()), __comp); } # 2583 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void inplace_merge(_BidirectionalIterator __first, _BidirectionalIterator __middle, _BidirectionalIterator __last) { ; ; ; std::__inplace_merge(__first, __middle, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 2624 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void inplace_merge(_BidirectionalIterator __first, _BidirectionalIterator __middle, _BidirectionalIterator __last, _Compare __comp) { ; ; ; std::__inplace_merge(__first, __middle, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template _OutputIterator __move_merge(_InputIterator __first1, _InputIterator __last1, _InputIterator __first2, _InputIterator __last2, _OutputIterator __result, _Compare __comp) { while (__first1 != __last1 && __first2 != __last2) { if (__comp(__first2, __first1)) { *__result = std::move(*__first2); ++__first2; } else { *__result = std::move(*__first1); ++__first1; } ++__result; } return std::move(__first2, __last2, std::move(__first1, __last1, __result)); } template void __merge_sort_loop(_RandomAccessIterator1 __first, _RandomAccessIterator1 __last, _RandomAccessIterator2 __result, _Distance __step_size, _Compare __comp) { const _Distance __two_step = 2 * __step_size; while (__last - __first >= __two_step) { __result = std::__move_merge(__first, __first + __step_size, __first + __step_size, __first + __two_step, __result, __comp); __first += __two_step; } __step_size = std::min(_Distance(__last - __first), __step_size); std::__move_merge(__first, __first + __step_size, __first + __step_size, __last, __result, __comp); } template void __chunk_insertion_sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Distance __chunk_size, _Compare __comp) { while (__last - __first >= __chunk_size) { std::__insertion_sort(__first, __first + __chunk_size, __comp); __first += __chunk_size; } std::__insertion_sort(__first, __last, __comp); } enum { _S_chunk_size = 7 }; template void __merge_sort_with_buffer(_RandomAccessIterator __first, _RandomAccessIterator __last, _Pointer __buffer, _Compare __comp) { typedef typename iterator_traits<_RandomAccessIterator>::difference_type _Distance; const _Distance __len = __last - __first; const _Pointer __buffer_last = __buffer + __len; _Distance __step_size = _S_chunk_size; std::__chunk_insertion_sort(__first, __last, __step_size, __comp); while (__step_size < __len) { std::__merge_sort_loop(__first, __last, __buffer, __step_size, __comp); __step_size *= 2; std::__merge_sort_loop(__buffer, __buffer_last, __first, __step_size, __comp); __step_size *= 2; } } template void __stable_sort_adaptive(_RandomAccessIterator __first, _RandomAccessIterator __last, _Pointer __buffer, _Distance __buffer_size, _Compare __comp) { const _Distance __len = (__last - __first + 1) / 2; const _RandomAccessIterator __middle = __first + __len; if (__len > __buffer_size) { std::__stable_sort_adaptive(__first, __middle, __buffer, __buffer_size, __comp); std::__stable_sort_adaptive(__middle, __last, __buffer, __buffer_size, __comp); } else { std::__merge_sort_with_buffer(__first, __middle, __buffer, __comp); std::__merge_sort_with_buffer(__middle, __last, __buffer, __comp); } std::__merge_adaptive(__first, __middle, __last, _Distance(__middle - __first), _Distance(__last - __middle), __buffer, __buffer_size, __comp); } template void __inplace_stable_sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { if (__last - __first < 15) { std::__insertion_sort(__first, __last, __comp); return; } _RandomAccessIterator __middle = __first + (__last - __first) / 2; std::__inplace_stable_sort(__first, __middle, __comp); std::__inplace_stable_sort(__middle, __last, __comp); std::__merge_without_buffer(__first, __middle, __last, __middle - __first, __last - __middle, __comp); } # 2797 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template bool __includes(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _Compare __comp) { while (__first1 != __last1 && __first2 != __last2) if (__comp(__first2, __first1)) return false; else if (__comp(__first1, __first2)) ++__first1; else { ++__first1; ++__first2; } return __first2 == __last2; } # 2837 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool includes(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2) { # 2852 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__includes(__first1, __last1, __first2, __last2, __gnu_cxx::__ops::__iter_less_iter()); } # 2882 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool includes(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _Compare __comp) { # 2899 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__includes(__first1, __last1, __first2, __last2, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } # 2918 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template bool __next_permutation(_BidirectionalIterator __first, _BidirectionalIterator __last, _Compare __comp) { if (__first == __last) return false; _BidirectionalIterator __i = __first; ++__i; if (__i == __last) return false; __i = __last; --__i; for(;;) { _BidirectionalIterator __ii = __i; --__i; if (__comp(__i, __ii)) { _BidirectionalIterator __j = __last; while (!__comp(__i, --__j)) {} std::iter_swap(__i, __j); std::__reverse(__ii, __last, std::__iterator_category(__first)); return true; } if (__i == __first) { std::__reverse(__first, __last, std::__iterator_category(__first)); return false; } } } # 2968 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool next_permutation(_BidirectionalIterator __first, _BidirectionalIterator __last) { ; ; return std::__next_permutation (__first, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 3001 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool next_permutation(_BidirectionalIterator __first, _BidirectionalIterator __last, _Compare __comp) { ; ; return std::__next_permutation (__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template bool __prev_permutation(_BidirectionalIterator __first, _BidirectionalIterator __last, _Compare __comp) { if (__first == __last) return false; _BidirectionalIterator __i = __first; ++__i; if (__i == __last) return false; __i = __last; --__i; for(;;) { _BidirectionalIterator __ii = __i; --__i; if (__comp(__ii, __i)) { _BidirectionalIterator __j = __last; while (!__comp(--__j, __i)) {} std::iter_swap(__i, __j); std::__reverse(__ii, __last, std::__iterator_category(__first)); return true; } if (__i == __first) { std::__reverse(__first, __last, std::__iterator_category(__first)); return false; } } } # 3071 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool prev_permutation(_BidirectionalIterator __first, _BidirectionalIterator __last) { ; ; return std::__prev_permutation(__first, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 3104 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool prev_permutation(_BidirectionalIterator __first, _BidirectionalIterator __last, _Compare __comp) { ; ; return std::__prev_permutation(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template _OutputIterator __replace_copy_if(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Predicate __pred, const _Tp& __new_value) { for (; __first != __last; ++__first, (void)++__result) if (__pred(__first)) *__result = __new_value; else *__result = *__first; return __result; } # 3156 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator replace_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, const _Tp& __old_value, const _Tp& __new_value) { ; return std::__replace_copy_if(__first, __last, __result, __gnu_cxx::__ops::__iter_equals_val(__old_value), __new_value); } # 3191 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator replace_copy_if(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Predicate __pred, const _Tp& __new_value) { ; return std::__replace_copy_if(__first, __last, __result, __gnu_cxx::__ops::__pred_iter(__pred), __new_value); } # 3220 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool is_sorted(_ForwardIterator __first, _ForwardIterator __last) { return std::is_sorted_until(__first, __last) == __last; } # 3235 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool is_sorted(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) { return std::is_sorted_until(__first, __last, __comp) == __last; } template _ForwardIterator __is_sorted_until(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) { if (__first == __last) return __last; _ForwardIterator __next = __first; for (++__next; __next != __last; __first = __next, (void)++__next) if (__comp(__next, __first)) return __next; return __next; } # 3266 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator is_sorted_until(_ForwardIterator __first, _ForwardIterator __last) { ; ; return std::__is_sorted_until(__first, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 3291 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator is_sorted_until(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) { ; ; return std::__is_sorted_until(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } # 3317 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline pair minmax(const _Tp& __a, const _Tp& __b) { return __b < __a ? pair(__b, __a) : pair(__a, __b); } # 3338 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline pair minmax(const _Tp& __a, const _Tp& __b, _Compare __comp) { return __comp(__b, __a) ? pair(__b, __a) : pair(__a, __b); } template pair<_ForwardIterator, _ForwardIterator> __minmax_element(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) { _ForwardIterator __next = __first; if (__first == __last || ++__next == __last) return std::make_pair(__first, __first); _ForwardIterator __min{}, __max{}; if (__comp(__next, __first)) { __min = __next; __max = __first; } else { __min = __first; __max = __next; } __first = __next; ++__first; while (__first != __last) { __next = __first; if (++__next == __last) { if (__comp(__first, __min)) __min = __first; else if (!__comp(__first, __max)) __max = __first; break; } if (__comp(__next, __first)) { if (__comp(__next, __min)) __min = __next; if (!__comp(__first, __max)) __max = __first; } else { if (__comp(__first, __min)) __min = __first; if (!__comp(__next, __max)) __max = __next; } __first = __next; ++__first; } return std::make_pair(__min, __max); } # 3418 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline pair<_ForwardIterator, _ForwardIterator> minmax_element(_ForwardIterator __first, _ForwardIterator __last) { ; ; return std::__minmax_element(__first, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 3446 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline pair<_ForwardIterator, _ForwardIterator> minmax_element(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) { ; ; return std::__minmax_element(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template inline _Tp min(initializer_list<_Tp> __l) { return *std::min_element(__l.begin(), __l.end()); } template inline _Tp min(initializer_list<_Tp> __l, _Compare __comp) { return *std::min_element(__l.begin(), __l.end(), __comp); } template inline _Tp max(initializer_list<_Tp> __l) { return *std::max_element(__l.begin(), __l.end()); } template inline _Tp max(initializer_list<_Tp> __l, _Compare __comp) { return *std::max_element(__l.begin(), __l.end(), __comp); } template inline pair<_Tp, _Tp> minmax(initializer_list<_Tp> __l) { pair __p = std::minmax_element(__l.begin(), __l.end()); return std::make_pair(*__p.first, *__p.second); } template inline pair<_Tp, _Tp> minmax(initializer_list<_Tp> __l, _Compare __comp) { pair __p = std::minmax_element(__l.begin(), __l.end(), __comp); return std::make_pair(*__p.first, *__p.second); } # 3523 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool is_permutation(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2, _BinaryPredicate __pred) { ; return std::__is_permutation(__first1, __last1, __first2, __gnu_cxx::__ops::__iter_comp_iter(__pred)); } # 3723 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template pair<_IntType, _IntType> __gen_two_uniform_ints(_IntType __b0, _IntType __b1, _UniformRandomBitGenerator&& __g) { _IntType __x = uniform_int_distribution<_IntType>{0, (__b0 * __b1) - 1}(__g); return std::make_pair(__x / __b1, __x % __b1); } # 3745 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template void shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last, _UniformRandomNumberGenerator&& __g) { ; if (__first == __last) return; typedef typename iterator_traits<_RandomAccessIterator>::difference_type _DistanceType; typedef typename std::make_unsigned<_DistanceType>::type __ud_type; typedef typename std::uniform_int_distribution<__ud_type> __distr_type; typedef typename __distr_type::param_type __p_type; typedef typename remove_reference<_UniformRandomNumberGenerator>::type _Gen; typedef typename common_type::type __uc_type; const __uc_type __urngrange = __g.max() - __g.min(); const __uc_type __urange = __uc_type(__last - __first); if (__urngrange / __urange >= __urange) { _RandomAccessIterator __i = __first + 1; if ((__urange % 2) == 0) { __distr_type __d{0, 1}; std::iter_swap(__i++, __first + __d(__g)); } while (__i != __last) { const __uc_type __swap_range = __uc_type(__i - __first) + 1; const pair<__uc_type, __uc_type> __pospos = __gen_two_uniform_ints(__swap_range, __swap_range + 1, __g); std::iter_swap(__i++, __first + __pospos.first); std::iter_swap(__i++, __first + __pospos.second); } return; } __distr_type __d; for (_RandomAccessIterator __i = __first + 1; __i != __last; ++__i) std::iter_swap(__i, __first + __d(__g, __p_type(0, __i - __first))); } # 3830 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _Function for_each(_InputIterator __first, _InputIterator __last, _Function __f) { ; for (; __first != __last; ++__first) __f(*__first); return __f; } # 3892 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _InputIterator find(_InputIterator __first, _InputIterator __last, const _Tp& __val) { ; return std::__find_if(__first, __last, __gnu_cxx::__ops::__iter_equals_val(__val)); } # 3917 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _InputIterator find_if(_InputIterator __first, _InputIterator __last, _Predicate __pred) { ; return std::__find_if(__first, __last, __gnu_cxx::__ops::__pred_iter(__pred)); } # 3949 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _InputIterator find_first_of(_InputIterator __first1, _InputIterator __last1, _ForwardIterator __first2, _ForwardIterator __last2) { ; ; for (; __first1 != __last1; ++__first1) for (_ForwardIterator __iter = __first2; __iter != __last2; ++__iter) if (*__first1 == *__iter) return __first1; return __last1; } # 3990 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _InputIterator find_first_of(_InputIterator __first1, _InputIterator __last1, _ForwardIterator __first2, _ForwardIterator __last2, _BinaryPredicate __comp) { ; ; for (; __first1 != __last1; ++__first1) for (_ForwardIterator __iter = __first2; __iter != __last2; ++__iter) if (__comp(*__first1, *__iter)) return __first1; return __last1; } # 4023 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator adjacent_find(_ForwardIterator __first, _ForwardIterator __last) { ; return std::__adjacent_find(__first, __last, __gnu_cxx::__ops::__iter_equal_to_iter()); } # 4049 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator adjacent_find(_ForwardIterator __first, _ForwardIterator __last, _BinaryPredicate __binary_pred) { ; return std::__adjacent_find(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__binary_pred)); } # 4075 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline typename iterator_traits<_InputIterator>::difference_type count(_InputIterator __first, _InputIterator __last, const _Tp& __value) { ; return std::__count_if(__first, __last, __gnu_cxx::__ops::__iter_equals_val(__value)); } # 4099 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline typename iterator_traits<_InputIterator>::difference_type count_if(_InputIterator __first, _InputIterator __last, _Predicate __pred) { ; return std::__count_if(__first, __last, __gnu_cxx::__ops::__pred_iter(__pred)); } # 4140 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator1 search(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2, _ForwardIterator2 __last2) { ; ; return std::__search(__first1, __last1, __first2, __last2, __gnu_cxx::__ops::__iter_equal_to_iter()); } # 4180 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator1 search(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2, _ForwardIterator2 __last2, _BinaryPredicate __predicate) { ; ; return std::__search(__first1, __last1, __first2, __last2, __gnu_cxx::__ops::__iter_comp_iter(__predicate)); } # 4216 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator search_n(_ForwardIterator __first, _ForwardIterator __last, _Integer __count, const _Tp& __val) { ; return std::__search_n(__first, __last, __count, __gnu_cxx::__ops::__iter_equals_val(__val)); } # 4250 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator search_n(_ForwardIterator __first, _ForwardIterator __last, _Integer __count, const _Tp& __val, _BinaryPredicate __binary_pred) { ; return std::__search_n(__first, __last, __count, __gnu_cxx::__ops::__iter_comp_val(__binary_pred, __val)); } # 4300 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _OutputIterator transform(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _UnaryOperation __unary_op) { ; for (; __first != __last; ++__first, (void)++__result) *__result = __unary_op(*__first); return __result; } # 4338 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _OutputIterator transform(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _OutputIterator __result, _BinaryOperation __binary_op) { ; for (; __first1 != __last1; ++__first1, (void)++__first2, ++__result) *__result = __binary_op(*__first1, *__first2); return __result; } # 4372 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template void replace(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __old_value, const _Tp& __new_value) { ; for (; __first != __last; ++__first) if (*__first == __old_value) *__first = __new_value; } # 4405 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template void replace_if(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred, const _Tp& __new_value) { ; for (; __first != __last; ++__first) if (__pred(*__first)) *__first = __new_value; } # 4438 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template void generate(_ForwardIterator __first, _ForwardIterator __last, _Generator __gen) { ; for (; __first != __last; ++__first) *__first = __gen(); } # 4472 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _OutputIterator generate_n(_OutputIterator __first, _Size __n, _Generator __gen) { typedef __decltype(std::__size_to_integer(__n)) _IntSize; for (_IntSize __niter = std::__size_to_integer(__n); __niter > 0; --__niter, (void) ++__first) *__first = __gen(); return __first; } # 4510 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result) { ; if (__first == __last) return __result; return std::__unique_copy(__first, __last, __result, __gnu_cxx::__ops::__iter_equal_to_iter(), std::__iterator_category(__first), std::__iterator_category(__result)); } # 4551 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __binary_pred) { ; if (__first == __last) return __result; return std::__unique_copy(__first, __last, __result, __gnu_cxx::__ops::__iter_comp_iter(__binary_pred), std::__iterator_category(__first), std::__iterator_category(__result)); } # 4585 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void random_shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last) { ; if (__first != __last) for (_RandomAccessIterator __i = __first + 1; __i != __last; ++__i) { _RandomAccessIterator __j = __first + std::rand() % ((__i - __first) + 1); if (__i != __j) std::iter_swap(__i, __j); } } # 4620 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template void random_shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last, _RandomNumberGenerator&& __rand) { ; if (__first == __last) return; for (_RandomAccessIterator __i = __first + 1; __i != __last; ++__i) { _RandomAccessIterator __j = __first + __rand((__i - __first) + 1); if (__i != __j) std::iter_swap(__i, __j); } } # 4660 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator partition(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) { ; return std::__partition(__first, __last, __pred, std::__iterator_category(__first)); } # 4694 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void partial_sort(_RandomAccessIterator __first, _RandomAccessIterator __middle, _RandomAccessIterator __last) { ; ; ; std::__partial_sort(__first, __middle, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 4733 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void partial_sort(_RandomAccessIterator __first, _RandomAccessIterator __middle, _RandomAccessIterator __last, _Compare __comp) { ; ; ; std::__partial_sort(__first, __middle, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } # 4770 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void nth_element(_RandomAccessIterator __first, _RandomAccessIterator __nth, _RandomAccessIterator __last) { ; ; ; if (__first == __last || __nth == __last) return; std::__introselect(__first, __nth, __last, std::__lg(__last - __first) * 2, __gnu_cxx::__ops::__iter_less_iter()); } # 4810 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void nth_element(_RandomAccessIterator __first, _RandomAccessIterator __nth, _RandomAccessIterator __last, _Compare __comp) { ; ; ; if (__first == __last || __nth == __last) return; std::__introselect(__first, __nth, __last, std::__lg(__last - __first) * 2, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } # 4848 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void sort(_RandomAccessIterator __first, _RandomAccessIterator __last) { ; ; std::__sort(__first, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 4879 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { ; ; std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template _OutputIterator __merge(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { while (__first1 != __last1 && __first2 != __last2) { if (__comp(__first2, __first1)) { *__result = *__first2; ++__first2; } else { *__result = *__first1; ++__first1; } ++__result; } return std::copy(__first2, __last2, std::copy(__first1, __last1, __result)); } # 4942 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator merge(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result) { # 4960 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__merge(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_less_iter()); } # 4993 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator merge(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { # 5011 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__merge(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template inline void __stable_sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { typedef typename iterator_traits<_RandomAccessIterator>::value_type _ValueType; typedef typename iterator_traits<_RandomAccessIterator>::difference_type _DistanceType; typedef _Temporary_buffer<_RandomAccessIterator, _ValueType> _TmpBuf; _TmpBuf __buf(__first, std::distance(__first, __last)); if (__buf.begin() == 0) std::__inplace_stable_sort(__first, __last, __comp); else std::__stable_sort_adaptive(__first, __last, __buf.begin(), _DistanceType(__buf.size()), __comp); } # 5058 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void stable_sort(_RandomAccessIterator __first, _RandomAccessIterator __last) { ; ; std::__stable_sort(__first, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 5092 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void stable_sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { ; ; std::__stable_sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template _OutputIterator __set_union(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { while (__first1 != __last1 && __first2 != __last2) { if (__comp(__first1, __first2)) { *__result = *__first1; ++__first1; } else if (__comp(__first2, __first1)) { *__result = *__first2; ++__first2; } else { *__result = *__first1; ++__first1; ++__first2; } ++__result; } return std::copy(__first2, __last2, std::copy(__first1, __last1, __result)); } # 5162 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator set_union(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result) { # 5183 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__set_union(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_less_iter()); } # 5213 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator set_union(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { # 5234 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__set_union(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template _OutputIterator __set_intersection(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { while (__first1 != __last1 && __first2 != __last2) if (__comp(__first1, __first2)) ++__first1; else if (__comp(__first2, __first1)) ++__first2; else { *__result = *__first1; ++__first1; ++__first2; ++__result; } return __result; } # 5286 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator set_intersection(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result) { # 5305 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__set_intersection(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_less_iter()); } # 5336 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator set_intersection(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { # 5355 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__set_intersection(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template _OutputIterator __set_difference(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { while (__first1 != __last1 && __first2 != __last2) if (__comp(__first1, __first2)) { *__result = *__first1; ++__first1; ++__result; } else if (__comp(__first2, __first1)) ++__first2; else { ++__first1; ++__first2; } return std::copy(__first1, __last1, __result); } # 5411 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator set_difference(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result) { # 5430 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__set_difference(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_less_iter()); } # 5463 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator set_difference(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { # 5482 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__set_difference(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template _OutputIterator __set_symmetric_difference(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { while (__first1 != __last1 && __first2 != __last2) if (__comp(__first1, __first2)) { *__result = *__first1; ++__first1; ++__result; } else if (__comp(__first2, __first1)) { *__result = *__first2; ++__first2; ++__result; } else { ++__first1; ++__first2; } return std::copy(__first2, __last2, std::copy(__first1, __last1, __result)); } # 5544 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator set_symmetric_difference(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result) { # 5565 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__set_symmetric_difference(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_less_iter()); } # 5596 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator set_symmetric_difference(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { # 5618 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__set_symmetric_difference(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template _ForwardIterator __min_element(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) { if (__first == __last) return __first; _ForwardIterator __result = __first; while (++__first != __last) if (__comp(__first, __result)) __result = __first; return __result; } # 5650 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _ForwardIterator inline min_element(_ForwardIterator __first, _ForwardIterator __last) { ; ; return std::__min_element(__first, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 5675 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator min_element(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) { ; ; return std::__min_element(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template _ForwardIterator __max_element(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) { if (__first == __last) return __first; _ForwardIterator __result = __first; while (++__first != __last) if (__comp(__result, __first)) __result = __first; return __result; } # 5714 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator max_element(_ForwardIterator __first, _ForwardIterator __last) { ; ; return std::__max_element(__first, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 5739 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator max_element(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) { ; ; return std::__max_element(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } # 5887 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 } # 63 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/algorithm" 2 3 # 56 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm" 2 3 namespace std { # 77 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm" 3 template __attribute__((enable_if(true, ""))) inline __attribute__((host)) __attribute__((device)) const __T & max(const __T &__a, const __T &__b, __Cmp __cmp) { return __cmp(__a, __b) ? __b : __a; } template __attribute__((enable_if(true, ""))) inline __attribute__((host)) __attribute__((device)) const __T & max(const __T &__a, const __T &__b) { return __a < __b ? __b : __a; } template __attribute__((enable_if(true, ""))) inline __attribute__((host)) __attribute__((device)) const __T & min(const __T &__a, const __T &__b, __Cmp __cmp) { return __cmp(__b, __a) ? __b : __a; } template __attribute__((enable_if(true, ""))) inline __attribute__((host)) __attribute__((device)) const __T & min(const __T &__a, const __T &__b) { return __a < __b ? __a : __b; } # 113 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm" 3 } # 19 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 2 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/limits.h" 1 3 # 21 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/limits.h" 3 # 1 "/usr/include/limits.h" 1 3 4 # 144 "/usr/include/limits.h" 3 4 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4 # 160 "/usr/include/bits/posix1_lim.h" 3 4 # 1 "/usr/include/bits/local_lim.h" 1 3 4 # 38 "/usr/include/bits/local_lim.h" 3 4 # 1 "/usr/include/linux/limits.h" 1 3 4 # 39 "/usr/include/bits/local_lim.h" 2 3 4 # 161 "/usr/include/bits/posix1_lim.h" 2 3 4 # 145 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4 # 149 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/bits/xopen_lim.h" 1 3 4 # 33 "/usr/include/bits/xopen_lim.h" 3 4 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 # 34 "/usr/include/bits/xopen_lim.h" 2 3 4 # 153 "/usr/include/limits.h" 2 3 4 # 22 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/limits.h" 2 3 # 21 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 2 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stdint.h" 1 3 # 52 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stdint.h" 3 # 1 "/usr/include/stdint.h" 1 3 4 # 26 "/usr/include/stdint.h" 3 4 # 1 "/usr/include/bits/wchar.h" 1 3 4 # 22 "/usr/include/bits/wchar.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 23 "/usr/include/bits/wchar.h" 2 3 4 # 27 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 28 "/usr/include/stdint.h" 2 3 4 # 48 "/usr/include/stdint.h" 3 4 typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; typedef unsigned long int uint64_t; # 65 "/usr/include/stdint.h" 3 4 typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; typedef long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; typedef unsigned long int uint_least64_t; # 90 "/usr/include/stdint.h" 3 4 typedef signed char int_fast8_t; typedef long int int_fast16_t; typedef long int int_fast32_t; typedef long int int_fast64_t; # 103 "/usr/include/stdint.h" 3 4 typedef unsigned char uint_fast8_t; typedef unsigned long int uint_fast16_t; typedef unsigned long int uint_fast32_t; typedef unsigned long int uint_fast64_t; # 119 "/usr/include/stdint.h" 3 4 typedef long int intptr_t; typedef unsigned long int uintptr_t; # 134 "/usr/include/stdint.h" 3 4 typedef long int intmax_t; typedef unsigned long int uintmax_t; # 53 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stdint.h" 2 3 # 22 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 2 3 # 94 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) uint64_t __make_mantissa_base8(const char *__tagp) { uint64_t __r = 0; while (__tagp) { char __tmp = *__tagp; if (__tmp >= '0' && __tmp <= '7') __r = (__r * 8u) + __tmp - '0'; else return 0; ++__tagp; } return __r; } static __attribute__((device)) inline __attribute__((always_inline)) uint64_t __make_mantissa_base10(const char *__tagp) { uint64_t __r = 0; while (__tagp) { char __tmp = *__tagp; if (__tmp >= '0' && __tmp <= '9') __r = (__r * 10u) + __tmp - '0'; else return 0; ++__tagp; } return __r; } static __attribute__((device)) inline __attribute__((always_inline)) uint64_t __make_mantissa_base16(const char *__tagp) { uint64_t __r = 0; while (__tagp) { char __tmp = *__tagp; if (__tmp >= '0' && __tmp <= '9') __r = (__r * 16u) + __tmp - '0'; else if (__tmp >= 'a' && __tmp <= 'f') __r = (__r * 16u) + __tmp - 'a' + 10; else if (__tmp >= 'A' && __tmp <= 'F') __r = (__r * 16u) + __tmp - 'A' + 10; else return 0; ++__tagp; } return __r; } static __attribute__((device)) inline __attribute__((always_inline)) uint64_t __make_mantissa(const char *__tagp) { if (!__tagp) return 0u; if (*__tagp == '0') { ++__tagp; if (*__tagp == 'x' || *__tagp == 'X') return __make_mantissa_base16(__tagp); else return __make_mantissa_base8(__tagp); } return __make_mantissa_base10(__tagp); } static __attribute__((device)) inline __attribute__((always_inline)) int abs(int __x) { int __sgn = __x >> (sizeof(int) * 8 - 1); return (__x ^ __sgn) - __sgn; } static __attribute__((device)) inline __attribute__((always_inline)) long labs(long __x) { long __sgn = __x >> (sizeof(long) * 8 - 1); return (__x ^ __sgn) - __sgn; } static __attribute__((device)) inline __attribute__((always_inline)) long long llabs(long long __x) { long long __sgn = __x >> (sizeof(long long) * 8 - 1); return (__x ^ __sgn) - __sgn; } static __attribute__((device)) inline __attribute__((always_inline)) float acosf(float __x) { return __ocml_acos_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float acoshf(float __x) { return __ocml_acosh_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float asinf(float __x) { return __ocml_asin_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float asinhf(float __x) { return __ocml_asinh_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float atan2f(float __x, float __y) { return __ocml_atan2_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float atanf(float __x) { return __ocml_atan_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float atanhf(float __x) { return __ocml_atanh_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float cbrtf(float __x) { return __ocml_cbrt_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float ceilf(float __x) { return __ocml_ceil_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float copysignf(float __x, float __y) { return __ocml_copysign_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float cosf(float __x) { return __ocml_cos_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float coshf(float __x) { return __ocml_cosh_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float cospif(float __x) { return __ocml_cospi_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float cyl_bessel_i0f(float __x) { return __ocml_i0_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float cyl_bessel_i1f(float __x) { return __ocml_i1_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float erfcf(float __x) { return __ocml_erfc_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float erfcinvf(float __x) { return __ocml_erfcinv_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float erfcxf(float __x) { return __ocml_erfcx_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float erff(float __x) { return __ocml_erf_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float erfinvf(float __x) { return __ocml_erfinv_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float exp10f(float __x) { return __ocml_exp10_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float exp2f(float __x) { return __ocml_exp2_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float expf(float __x) { return __ocml_exp_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float expm1f(float __x) { return __ocml_expm1_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float fabsf(float __x) { return __ocml_fabs_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float fdimf(float __x, float __y) { return __ocml_fdim_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float fdividef(float __x, float __y) { return __x / __y; } static __attribute__((device)) inline __attribute__((always_inline)) float floorf(float __x) { return __ocml_floor_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float fmaf(float __x, float __y, float __z) { return __ocml_fma_f32(__x, __y, __z); } static __attribute__((device)) inline __attribute__((always_inline)) float fmaxf(float __x, float __y) { return __ocml_fmax_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float fminf(float __x, float __y) { return __ocml_fmin_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float fmodf(float __x, float __y) { return __ocml_fmod_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float frexpf(float __x, int *__nptr) { int __tmp; float __r = __ocml_frexp_f32(__x, (__attribute__((address_space(5))) int *)&__tmp); *__nptr = __tmp; return __r; } static __attribute__((device)) inline __attribute__((always_inline)) float hypotf(float __x, float __y) { return __ocml_hypot_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) int ilogbf(float __x) { return __ocml_ilogb_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool __finitef(float __x) { return __ocml_isfinite_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool __isinff(float __x) { return __ocml_isinf_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool __isnanf(float __x) { return __ocml_isnan_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float j0f(float __x) { return __ocml_j0_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float j1f(float __x) { return __ocml_j1_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float jnf(int __n, float __x) { if (__n == 0) return j0f(__x); if (__n == 1) return j1f(__x); float __x0 = j0f(__x); float __x1 = j1f(__x); for (int __i = 1; __i < __n; ++__i) { float __x2 = (2 * __i) / __x * __x1 - __x0; __x0 = __x1; __x1 = __x2; } return __x1; } static __attribute__((device)) inline __attribute__((always_inline)) float ldexpf(float __x, int __e) { return __ocml_ldexp_f32(__x, __e); } static __attribute__((device)) inline __attribute__((always_inline)) float lgammaf(float __x) { return __ocml_lgamma_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long long int llrintf(float __x) { return __ocml_rint_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long long int llroundf(float __x) { return __ocml_round_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float log10f(float __x) { return __ocml_log10_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float log1pf(float __x) { return __ocml_log1p_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float log2f(float __x) { return __ocml_log2_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float log2fi(int __x) { return __ocml_log2_f32((float) __x); } static __attribute__((device)) inline __attribute__((always_inline)) float logbf(float __x) { return __ocml_logb_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float logf(float __x) { return __ocml_log_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long int lrintf(float __x) { return __ocml_rint_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long int lroundf(float __x) { return __ocml_round_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float modff(float __x, float *__iptr) { float __tmp; float __r = __ocml_modf_f32(__x, (__attribute__((address_space(5))) float *)&__tmp); *__iptr = __tmp; return __r; } static __attribute__((device)) inline __attribute__((always_inline)) float nanf(const char *__tagp) { union { float val; struct ieee_float { unsigned int mantissa : 22; unsigned int quiet : 1; unsigned int exponent : 8; unsigned int sign : 1; } bits; } __tmp; static_assert((sizeof(__tmp.val)) == (sizeof(__tmp.bits)), ""); __tmp.bits.sign = 0u; __tmp.bits.exponent = ~0u; __tmp.bits.quiet = 1u; __tmp.bits.mantissa = __make_mantissa(__tagp); return __tmp.val; } static __attribute__((device)) inline __attribute__((always_inline)) float nearbyintf(float __x) { return __ocml_nearbyint_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float nextafterf(float __x, float __y) { return __ocml_nextafter_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float norm3df(float __x, float __y, float __z) { return __ocml_len3_f32(__x, __y, __z); } static __attribute__((device)) inline __attribute__((always_inline)) float norm4df(float __x, float __y, float __z, float __w) { return __ocml_len4_f32(__x, __y, __z, __w); } static __attribute__((device)) inline __attribute__((always_inline)) float normcdff(float __x) { return __ocml_ncdf_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float normcdfinvf(float __x) { return __ocml_ncdfinv_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float normf(int __dim, const float *__a) { float __r = 0; while (__dim--) { __r += __a[0] * __a[0]; ++__a; } return __ocml_sqrt_f32(__r); } static __attribute__((device)) inline __attribute__((always_inline)) float powf(float __x, float __y) { return __ocml_pow_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float powif(float __x, int __y) { return __ocml_pown_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) int powii(int __base, int __exp) { if (__exp < 0 ) return -1; int __result = 1; for (;;) { if (__exp & 1) __result *= __base; __exp >>= 1; if (!__exp) break; __base *= __base; } return __result; } static __attribute__((device)) inline __attribute__((always_inline)) float rcbrtf(float __x) { return __ocml_rcbrt_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float remainderf(float __x, float __y) { return __ocml_remainder_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float remquof(float __x, float __y, int *__quo) { int __tmp; float __r = __ocml_remquo_f32( __x, __y, (__attribute__((address_space(5))) int *)&__tmp); *__quo = __tmp; return __r; } static __attribute__((device)) inline __attribute__((always_inline)) float rhypotf(float __x, float __y) { return __ocml_rhypot_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float rintf(float __x) { return __ocml_rint_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float rnorm3df(float __x, float __y, float __z) { return __ocml_rlen3_f32(__x, __y, __z); } static __attribute__((device)) inline __attribute__((always_inline)) float rnorm4df(float __x, float __y, float __z, float __w) { return __ocml_rlen4_f32(__x, __y, __z, __w); } static __attribute__((device)) inline __attribute__((always_inline)) float rnormf(int __dim, const float *__a) { float __r = 0; while (__dim--) { __r += __a[0] * __a[0]; ++__a; } return __ocml_rsqrt_f32(__r); } static __attribute__((device)) inline __attribute__((always_inline)) float roundf(float __x) { return __ocml_round_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float rsqrtf(float __x) { return __ocml_rsqrt_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float scalblnf(float __x, long int __n) { return (__n < 2147483647) ? __ocml_scalbn_f32(__x, __n) : __ocml_scalb_f32(__x, __n); } static __attribute__((device)) inline __attribute__((always_inline)) float scalbnf(float __x, int __n) { return __ocml_scalbn_f32(__x, __n); } static __attribute__((device)) inline __attribute__((always_inline)) bool __signbitf(float __x) { return __ocml_signbit_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) void sincosf(float __x, float *__sinptr, float *__cosptr) { float __tmp; *__sinptr = __ocml_sincos_f32(__x, (__attribute__((address_space(5))) float *)&__tmp); *__cosptr = __tmp; } static __attribute__((device)) inline __attribute__((always_inline)) void sincospif(float __x, float *__sinptr, float *__cosptr) { float __tmp; *__sinptr = __ocml_sincospi_f32( __x, (__attribute__((address_space(5))) float *)&__tmp); *__cosptr = __tmp; } static __attribute__((device)) inline __attribute__((always_inline)) float sinf(float __x) { return __ocml_sin_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float sinhf(float __x) { return __ocml_sinh_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float sinpif(float __x) { return __ocml_sinpi_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float sqrtf(float __x) { return __ocml_sqrt_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float tanf(float __x) { return __ocml_tan_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float tanhf(float __x) { return __ocml_tanh_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float tgammaf(float __x) { return __ocml_tgamma_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float truncf(float __x) { return __ocml_trunc_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float y0f(float __x) { return __ocml_y0_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float y1f(float __x) { return __ocml_y1_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float ynf(int __n, float __x) { if (__n == 0) return y0f(__x); if (__n == 1) return y1f(__x); float __x0 = y0f(__x); float __x1 = y1f(__x); for (int __i = 1; __i < __n; ++__i) { float __x2 = (2 * __i) / __x * __x1 - __x0; __x0 = __x1; __x1 = __x2; } return __x1; } static __attribute__((device)) inline __attribute__((always_inline)) float __cosf(float __x) { return __ocml_native_cos_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float __exp10f(float __x) { return __ocml_native_exp10_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float __expf(float __x) { return __ocml_native_exp_f32(__x); } # 650 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) float __fadd_rn(float __x, float __y) { return __x + __y; } # 664 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) float __fdiv_rn(float __x, float __y) { return __x / __y; } static __attribute__((device)) inline __attribute__((always_inline)) float __fdividef(float __x, float __y) { return __x / __y; } # 689 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) float __fmaf_rn(float __x, float __y, float __z) { return __ocml_fma_f32(__x, __y, __z); } # 705 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) float __fmul_rn(float __x, float __y) { return __x * __y; } # 719 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) float __frcp_rn(float __x) { return 1.0f / __x; } static __attribute__((device)) inline __attribute__((always_inline)) float __frsqrt_rn(float __x) { return __llvm_amdgcn_rsq_f32(__x); } # 736 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) float __fsqrt_rn(float __x) { return __ocml_native_sqrt_f32(__x); } # 750 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) float __fsub_rn(float __x, float __y) { return __x - __y; } static __attribute__((device)) inline __attribute__((always_inline)) float __log10f(float __x) { return __ocml_native_log10_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float __log2f(float __x) { return __ocml_native_log2_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float __logf(float __x) { return __ocml_native_log_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float __powf(float __x, float __y) { return __ocml_pow_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float __saturatef(float __x) { return (__x < 0) ? 0 : ((__x > 1) ? 1 : __x); } static __attribute__((device)) inline __attribute__((always_inline)) void __sincosf(float __x, float *__sinptr, float *__cosptr) { *__sinptr = __ocml_native_sin_f32(__x); *__cosptr = __ocml_native_cos_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float __sinf(float __x) { return __ocml_native_sin_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float __tanf(float __x) { return __ocml_tan_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double acos(double __x) { return __ocml_acos_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double acosh(double __x) { return __ocml_acosh_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double asin(double __x) { return __ocml_asin_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double asinh(double __x) { return __ocml_asinh_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double atan(double __x) { return __ocml_atan_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double atan2(double __x, double __y) { return __ocml_atan2_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double atanh(double __x) { return __ocml_atanh_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double cbrt(double __x) { return __ocml_cbrt_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double ceil(double __x) { return __ocml_ceil_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double copysign(double __x, double __y) { return __ocml_copysign_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double cos(double __x) { return __ocml_cos_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double cosh(double __x) { return __ocml_cosh_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double cospi(double __x) { return __ocml_cospi_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double cyl_bessel_i0(double __x) { return __ocml_i0_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double cyl_bessel_i1(double __x) { return __ocml_i1_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double erf(double __x) { return __ocml_erf_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double erfc(double __x) { return __ocml_erfc_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double erfcinv(double __x) { return __ocml_erfcinv_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double erfcx(double __x) { return __ocml_erfcx_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double erfinv(double __x) { return __ocml_erfinv_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double exp(double __x) { return __ocml_exp_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double exp10(double __x) { return __ocml_exp10_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double exp2(double __x) { return __ocml_exp2_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double expm1(double __x) { return __ocml_expm1_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double fabs(double __x) { return __ocml_fabs_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double fdim(double __x, double __y) { return __ocml_fdim_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double floor(double __x) { return __ocml_floor_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double fma(double __x, double __y, double __z) { return __ocml_fma_f64(__x, __y, __z); } static __attribute__((device)) inline __attribute__((always_inline)) double fmax(double __x, double __y) { return __ocml_fmax_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double fmin(double __x, double __y) { return __ocml_fmin_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double fmod(double __x, double __y) { return __ocml_fmod_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double frexp(double __x, int *__nptr) { int __tmp; double __r = __ocml_frexp_f64(__x, (__attribute__((address_space(5))) int *)&__tmp); *__nptr = __tmp; return __r; } static __attribute__((device)) inline __attribute__((always_inline)) double hypot(double __x, double __y) { return __ocml_hypot_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) int ilogb(double __x) { return __ocml_ilogb_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool __finite(double __x) { return __ocml_isfinite_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool __isinf(double __x) { return __ocml_isinf_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool __isnan(double __x) { return __ocml_isnan_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double j0(double __x) { return __ocml_j0_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double j1(double __x) { return __ocml_j1_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double jn(int __n, double __x) { if (__n == 0) return j0(__x); if (__n == 1) return j1(__x); double __x0 = j0(__x); double __x1 = j1(__x); for (int __i = 1; __i < __n; ++__i) { double __x2 = (2 * __i) / __x * __x1 - __x0; __x0 = __x1; __x1 = __x2; } return __x1; } static __attribute__((device)) inline __attribute__((always_inline)) double ldexp(double __x, int __e) { return __ocml_ldexp_f64(__x, __e); } static __attribute__((device)) inline __attribute__((always_inline)) double lgamma(double __x) { return __ocml_lgamma_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long long int llrint(double __x) { return __ocml_rint_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long long int llround(double __x) { return __ocml_round_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double log(double __x) { return __ocml_log_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double log10(double __x) { return __ocml_log10_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double log1p(double __x) { return __ocml_log1p_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double log2(double __x) { return __ocml_log2_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double logb(double __x) { return __ocml_logb_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long int lrint(double __x) { return __ocml_rint_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long int lround(double __x) { return __ocml_round_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double modf(double __x, double *__iptr) { double __tmp; double __r = __ocml_modf_f64(__x, (__attribute__((address_space(5))) double *)&__tmp); *__iptr = __tmp; return __r; } static __attribute__((device)) inline __attribute__((always_inline)) double nan(const char *__tagp) { union { double val; struct ieee_double { uint64_t mantissa : 51; uint32_t quiet : 1; uint32_t exponent : 11; uint32_t sign : 1; } bits; } __tmp; static_assert((sizeof(__tmp.val)) == (sizeof(__tmp.bits)), ""); __tmp.bits.sign = 0u; __tmp.bits.exponent = ~0u; __tmp.bits.quiet = 1u; __tmp.bits.mantissa = __make_mantissa(__tagp); return __tmp.val; } static __attribute__((device)) inline __attribute__((always_inline)) double nearbyint(double __x) { return __ocml_nearbyint_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double nextafter(double __x, double __y) { return __ocml_nextafter_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double norm(int __dim, const double *__a) { double __r = 0; while (__dim--) { __r += __a[0] * __a[0]; ++__a; } return __ocml_sqrt_f64(__r); } static __attribute__((device)) inline __attribute__((always_inline)) double norm3d(double __x, double __y, double __z) { return __ocml_len3_f64(__x, __y, __z); } static __attribute__((device)) inline __attribute__((always_inline)) double norm4d(double __x, double __y, double __z, double __w) { return __ocml_len4_f64(__x, __y, __z, __w); } static __attribute__((device)) inline __attribute__((always_inline)) double normcdf(double __x) { return __ocml_ncdf_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double normcdfinv(double __x) { return __ocml_ncdfinv_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double pow(double __x, double __y) { return __ocml_pow_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double powi(double __x, int __y) { return __ocml_pown_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double rcbrt(double __x) { return __ocml_rcbrt_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double remainder(double __x, double __y) { return __ocml_remainder_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double remquo(double __x, double __y, int *__quo) { int __tmp; double __r = __ocml_remquo_f64( __x, __y, (__attribute__((address_space(5))) int *)&__tmp); *__quo = __tmp; return __r; } static __attribute__((device)) inline __attribute__((always_inline)) double rhypot(double __x, double __y) { return __ocml_rhypot_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double rint(double __x) { return __ocml_rint_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double rnorm(int __dim, const double *__a) { double __r = 0; while (__dim--) { __r += __a[0] * __a[0]; ++__a; } return __ocml_rsqrt_f64(__r); } static __attribute__((device)) inline __attribute__((always_inline)) double rnorm3d(double __x, double __y, double __z) { return __ocml_rlen3_f64(__x, __y, __z); } static __attribute__((device)) inline __attribute__((always_inline)) double rnorm4d(double __x, double __y, double __z, double __w) { return __ocml_rlen4_f64(__x, __y, __z, __w); } static __attribute__((device)) inline __attribute__((always_inline)) double round(double __x) { return __ocml_round_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double rsqrt(double __x) { return __ocml_rsqrt_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double scalbln(double __x, long int __n) { return (__n < 2147483647) ? __ocml_scalbn_f64(__x, __n) : __ocml_scalb_f64(__x, __n); } static __attribute__((device)) inline __attribute__((always_inline)) double scalbn(double __x, int __n) { return __ocml_scalbn_f64(__x, __n); } static __attribute__((device)) inline __attribute__((always_inline)) bool __signbit(double __x) { return __ocml_signbit_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double sin(double __x) { return __ocml_sin_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) void sincos(double __x, double *__sinptr, double *__cosptr) { double __tmp; *__sinptr = __ocml_sincos_f64( __x, (__attribute__((address_space(5))) double *)&__tmp); *__cosptr = __tmp; } static __attribute__((device)) inline __attribute__((always_inline)) void sincospi(double __x, double *__sinptr, double *__cosptr) { double __tmp; *__sinptr = __ocml_sincospi_f64( __x, (__attribute__((address_space(5))) double *)&__tmp); *__cosptr = __tmp; } static __attribute__((device)) inline __attribute__((always_inline)) double sinh(double __x) { return __ocml_sinh_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double sinpi(double __x) { return __ocml_sinpi_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double sqrt(double __x) { return __ocml_sqrt_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double tan(double __x) { return __ocml_tan_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double tanh(double __x) { return __ocml_tanh_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double tgamma(double __x) { return __ocml_tgamma_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double trunc(double __x) { return __ocml_trunc_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double y0(double __x) { return __ocml_y0_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double y1(double __x) { return __ocml_y1_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double yn(int __n, double __x) { if (__n == 0) return y0(__x); if (__n == 1) return y1(__x); double __x0 = y0(__x); double __x1 = y1(__x); for (int __i = 1; __i < __n; ++__i) { double __x2 = (2 * __i) / __x * __x1 - __x0; __x0 = __x1; __x1 = __x2; } return __x1; } # 1233 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) double __dadd_rn(double __x, double __y) { return __x + __y; } # 1255 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) double __ddiv_rn(double __x, double __y) { return __x / __y; } # 1277 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) double __dmul_rn(double __x, double __y) { return __x * __y; } # 1291 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) double __drcp_rn(double __x) { return 1.0 / __x; } # 1305 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) double __dsqrt_rn(double __x) { return __ocml_sqrt_f64(__x); } # 1327 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) double __dsub_rn(double __x, double __y) { return __x - __y; } # 1349 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) double __fma_rn(double __x, double __y, double __z) { return __ocml_fma_f64(__x, __y, __z); } # 1368 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 template static __attribute__((device)) inline __attribute__((always_inline)) T min(T __arg1, T __arg2) { return (__arg1 < __arg2) ? __arg1 : __arg2; } template static __attribute__((device)) inline __attribute__((always_inline)) T max(T __arg1, T __arg2) { return (__arg1 > __arg2) ? __arg1 : __arg2; } static __attribute__((device)) inline __attribute__((always_inline)) int min(int __arg1, int __arg2) { return (__arg1 < __arg2) ? __arg1 : __arg2; } static __attribute__((device)) inline __attribute__((always_inline)) int max(int __arg1, int __arg2) { return (__arg1 > __arg2) ? __arg1 : __arg2; } static __attribute__((device)) inline __attribute__((always_inline)) float max(float __x, float __y) { return fmaxf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double max(double __x, double __y) { return fmax(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float min(float __x, float __y) { return fminf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double min(double __x, double __y) { return fmin(__x, __y); } __attribute__((host)) inline static int min(int __arg1, int __arg2) { return std::min(__arg1, __arg2); } __attribute__((host)) inline static int max(int __arg1, int __arg2) { return std::max(__arg1, __arg2); } # 103 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 2 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h" 1 3 # 26 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h" 3 static __inline__ __attribute__((always_inline)) __attribute__((device)) long abs(long); static __inline__ __attribute__((always_inline)) __attribute__((device)) long long abs(long long); static __inline__ __attribute__((always_inline)) __attribute__((device)) double abs(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float abs(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) int abs(int); static __inline__ __attribute__((always_inline)) __attribute__((device)) double acos(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float acos(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double acosh(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float acosh(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double asin(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float asin(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double asinh(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float asinh(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double atan2(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float atan2(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double atan(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float atan(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double atanh(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float atanh(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double cbrt(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float cbrt(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double ceil(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float ceil(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double copysign(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float copysign(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double cos(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float cos(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double cosh(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float cosh(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double erfc(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float erfc(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double erf(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float erf(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double exp2(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float exp2(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double exp(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float exp(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double expm1(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float expm1(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double fabs(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float fabs(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double fdim(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float fdim(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double floor(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float floor(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double fma(double, double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float fma(float, float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double fmax(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float fmax(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double fmin(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float fmin(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double fmod(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float fmod(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) int fpclassify(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) int fpclassify(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double frexp(double, int *); static __inline__ __attribute__((always_inline)) __attribute__((device)) float frexp(float, int *); static __inline__ __attribute__((always_inline)) __attribute__((device)) double hypot(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float hypot(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) int ilogb(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) int ilogb(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isfinite(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isfinite(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isgreater(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isgreaterequal(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isgreaterequal(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isgreater(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isinf(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isinf(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isless(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool islessequal(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool islessequal(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isless(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool islessgreater(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool islessgreater(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isnan(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isnan(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isnormal(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isnormal(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isunordered(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isunordered(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) long labs(long); static __inline__ __attribute__((always_inline)) __attribute__((device)) double ldexp(double, int); static __inline__ __attribute__((always_inline)) __attribute__((device)) float ldexp(float, int); static __inline__ __attribute__((always_inline)) __attribute__((device)) double lgamma(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float lgamma(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) long long llabs(long long); static __inline__ __attribute__((always_inline)) __attribute__((device)) long long llrint(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) long long llrint(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double log10(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float log10(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double log1p(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float log1p(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double log2(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float log2(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double logb(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float logb(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double log(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float log(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) long lrint(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) long lrint(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) long lround(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) long lround(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) long long llround(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double modf(double, double *); static __inline__ __attribute__((always_inline)) __attribute__((device)) float modf(float, float *); static __inline__ __attribute__((always_inline)) __attribute__((device)) double nan(const char *); static __inline__ __attribute__((always_inline)) __attribute__((device)) float nanf(const char *); static __inline__ __attribute__((always_inline)) __attribute__((device)) double nearbyint(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float nearbyint(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double nextafter(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float nextafter(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double pow(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) double pow(double, int); static __inline__ __attribute__((always_inline)) __attribute__((device)) float pow(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) float pow(float, int); static __inline__ __attribute__((always_inline)) __attribute__((device)) double remainder(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float remainder(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double remquo(double, double, int *); static __inline__ __attribute__((always_inline)) __attribute__((device)) float remquo(float, float, int *); static __inline__ __attribute__((always_inline)) __attribute__((device)) double rint(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float rint(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double round(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float round(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double scalbln(double, long); static __inline__ __attribute__((always_inline)) __attribute__((device)) float scalbln(float, long); static __inline__ __attribute__((always_inline)) __attribute__((device)) double scalbn(double, int); static __inline__ __attribute__((always_inline)) __attribute__((device)) float scalbn(float, int); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool signbit(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool signbit(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double sin(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float sin(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double sinh(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float sinh(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double sqrt(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float sqrt(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double tan(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float tan(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double tanh(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float tanh(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double tgamma(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float tgamma(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double trunc(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float trunc(float); # 194 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h" 3 namespace std { using ::abs; using ::acos; using ::acosh; using ::asin; using ::asinh; using ::atan; using ::atan2; using ::atanh; using ::cbrt; using ::ceil; using ::copysign; using ::cos; using ::cosh; using ::erf; using ::erfc; using ::exp; using ::exp2; using ::expm1; using ::fabs; using ::fdim; using ::floor; using ::fma; using ::fmax; using ::fmin; using ::fmod; using ::fpclassify; using ::frexp; using ::hypot; using ::ilogb; using ::isfinite; using ::isgreater; using ::isgreaterequal; using ::isinf; using ::isless; using ::islessequal; using ::islessgreater; using ::isnan; using ::isnormal; using ::isunordered; using ::labs; using ::ldexp; using ::lgamma; using ::llabs; using ::llrint; using ::log; using ::log10; using ::log1p; using ::log2; using ::logb; using ::lrint; using ::lround; using ::llround; using ::modf; using ::nan; using ::nanf; using ::nearbyint; using ::nextafter; using ::pow; using ::remainder; using ::remquo; using ::rint; using ::round; using ::scalbln; using ::scalbn; using ::signbit; using ::sin; using ::sinh; using ::sqrt; using ::tan; using ::tanh; using ::tgamma; using ::trunc; } # 108 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 2 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 1 3 # 41 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) double abs(double __x) { return ::fabs(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float abs(float __x) { return ::fabsf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long long abs(long long __n) { return ::llabs(__n); } static __attribute__((device)) inline __attribute__((always_inline)) long abs(long __n) { return ::labs(__n); } static __attribute__((device)) inline __attribute__((always_inline)) float fma(float __x, float __y, float __z) { return ::fmaf(__x, __y, __z); } static __attribute__((device)) inline __attribute__((always_inline)) int fpclassify(float __x) { return __builtin_fpclassify(0, 1, 4, 3, 2, __x); } static __attribute__((device)) inline __attribute__((always_inline)) int fpclassify(double __x) { return __builtin_fpclassify(0, 1, 4, 3, 2, __x); } static __attribute__((device)) inline __attribute__((always_inline)) float frexp(float __arg, int *__exp) { return ::frexpf(__arg, __exp); } # 93 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) bool isinf(float __x) { return ::__isinff(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool isinf(double __x) { return ::__isinf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool isfinite(float __x) { return ::__finitef(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool isfinite(double __x) { return ::__finite(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool isnan(float __x) { return ::__isnanf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool isnan(double __x) { return ::__isnan(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool isgreater(float __x, float __y) { return __builtin_isgreater(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool isgreater(double __x, double __y) { return __builtin_isgreater(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool isgreaterequal(float __x, float __y) { return __builtin_isgreaterequal(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool isgreaterequal(double __x, double __y) { return __builtin_isgreaterequal(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool isless(float __x, float __y) { return __builtin_isless(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool isless(double __x, double __y) { return __builtin_isless(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool islessequal(float __x, float __y) { return __builtin_islessequal(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool islessequal(double __x, double __y) { return __builtin_islessequal(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool islessgreater(float __x, float __y) { return __builtin_islessgreater(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool islessgreater(double __x, double __y) { return __builtin_islessgreater(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool isnormal(float __x) { return __builtin_isnormal(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool isnormal(double __x) { return __builtin_isnormal(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool isunordered(float __x, float __y) { return __builtin_isunordered(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool isunordered(double __x, double __y) { return __builtin_isunordered(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float modf(float __x, float *__iptr) { return ::modff(__x, __iptr); } static __attribute__((device)) inline __attribute__((always_inline)) float pow(float __base, int __iexp) { return ::powif(__base, __iexp); } static __attribute__((device)) inline __attribute__((always_inline)) double pow(double __base, int __iexp) { return ::powi(__base, __iexp); } static __attribute__((device)) inline __attribute__((always_inline)) float remquo(float __x, float __y, int *__quo) { return ::remquof(__x, __y, __quo); } static __attribute__((device)) inline __attribute__((always_inline)) float scalbln(float __x, long int __n) { return ::scalblnf(__x, __n); } static __attribute__((device)) inline __attribute__((always_inline)) bool signbit(float __x) { return ::__signbitf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool signbit(double __x) { return ::__signbit(__x); } static __attribute__((device)) inline __attribute__((always_inline)) _Float16 fma(_Float16 __x, _Float16 __y, _Float16 __z) { return __ocml_fma_f16(__x, __y, __z); } static __attribute__((device)) inline __attribute__((always_inline)) _Float16 pow(_Float16 __base, int __iexp) { return __ocml_pown_f16(__base, __iexp); } # 202 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) float acos(float __x) { return acosf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float acosh(float __x) { return acoshf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float asin(float __x) { return asinf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float asinh(float __x) { return asinhf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float atan(float __x) { return atanf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float atan2(float __x, float __y) { return atan2f(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float atanh(float __x) { return atanhf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float cbrt(float __x) { return cbrtf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float ceil(float __x) { return ceilf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float copysign(float __x, float __y) { return copysignf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float cos(float __x) { return cosf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float cosh(float __x) { return coshf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float erf(float __x) { return erff(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float erfc(float __x) { return erfcf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float exp(float __x) { return expf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float exp2(float __x) { return exp2f(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float expm1(float __x) { return expm1f(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float fabs(float __x) { return fabsf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float fdim(float __x, float __y) { return fdimf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float floor(float __x) { return floorf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float fmax(float __x, float __y) { return fmaxf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float fmin(float __x, float __y) { return fminf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float fmod(float __x, float __y) { return fmodf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float hypot(float __x, float __y) { return hypotf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) int ilogb(float __x) { return ilogbf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float ldexp(float __x, int __y) { return ldexpf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float lgamma(float __x) { return lgammaf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float log(float __x) { return logf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float log10(float __x) { return log10f(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float log1p(float __x) { return log1pf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float log2(float __x) { return log2f(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float logb(float __x) { return logbf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long long llrint(float __x) { return llrintf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long long llround(float __x) { return llroundf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long lrint(float __x) { return lrintf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long lround(float __x) { return lroundf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float nearbyint(float __x) { return nearbyintf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float nextafter(float __x, float __y) { return nextafterf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float pow(float __x, float __y) { return powf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float remainder(float __x, float __y) { return remainderf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float rint(float __x) { return rintf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float round(float __x) { return roundf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float scalbn(float __x, int __y) { return scalbnf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float sin(float __x) { return sinf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float sinh(float __x) { return sinhf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float sqrt(float __x) { return sqrtf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float tan(float __x) { return tanf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float tanh(float __x) { return tanhf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float tgamma(float __x) { return tgammaf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float trunc(float __x) { return truncf(__x); } # 265 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 3 template struct __hip_enable_if {}; template struct __hip_enable_if { typedef __T type; }; namespace __hip { template struct is_integral { enum { value = 0 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template struct is_arithmetic { enum { value = 0 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; struct true_type { static const __attribute__((constant)) bool value = true; }; struct false_type { static const __attribute__((constant)) bool value = false; }; template struct is_same : public false_type {}; template struct is_same<__T, __T> : public true_type {}; template struct add_rvalue_reference { typedef __T &&type; }; template typename add_rvalue_reference<__T>::type declval(); template struct __numeric_type { static void __test(...); static _Float16 __test(_Float16); static float __test(float); static double __test(char); static double __test(int); static double __test(unsigned); static double __test(long); static double __test(unsigned long); static double __test(long long); static double __test(unsigned long long); static double __test(double); static double __test(long double); typedef decltype(__test(declval<_Tp>())) type; static const bool value = !is_same::value; }; template <> struct __numeric_type { static const bool value = true; }; template ::value &&__numeric_type<_A2>::value &&__numeric_type<_A3>::value> class __promote_imp { public: static const bool value = false; }; template class __promote_imp<_A1, _A2, _A3, true> { private: typedef typename __promote_imp<_A1>::type __type1; typedef typename __promote_imp<_A2>::type __type2; typedef typename __promote_imp<_A3>::type __type3; public: typedef decltype(__type1() + __type2() + __type3()) type; static const bool value = true; }; template class __promote_imp<_A1, _A2, void, true> { private: typedef typename __promote_imp<_A1>::type __type1; typedef typename __promote_imp<_A2>::type __type2; public: typedef decltype(__type1() + __type2()) type; static const bool value = true; }; template class __promote_imp<_A1, void, void, true> { public: typedef typename __numeric_type<_A1>::type type; static const bool value = true; }; template class __promote : public __promote_imp<_A1, _A2, _A3> {}; } # 478 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 3 template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type acos(__T __x) { return ::acos((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type acosh(__T __x) { return ::acosh((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type asin(__T __x) { return ::asin((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type asinh(__T __x) { return ::asinh((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type atan(__T __x) { return ::atan((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type atan2(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return atan2((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type atanh(__T __x) { return ::atanh((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type cbrt(__T __x) { return ::cbrt((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type ceil(__T __x) { return ::ceil((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type copysign(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return copysign((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type cos(__T __x) { return ::cos((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type cosh(__T __x) { return ::cosh((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type erf(__T __x) { return ::erf((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type erfc(__T __x) { return ::erfc((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type exp(__T __x) { return ::exp((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type exp2(__T __x) { return ::exp2((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type expm1(__T __x) { return ::expm1((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type fabs(__T __x) { return ::fabs((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type fdim(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return fdim((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type floor(__T __x) { return ::floor((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type fmax(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return fmax((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type fmin(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return fmin((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type fmod(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return fmod((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, int>::type fpclassify(__T __x) { return ::fpclassify((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type hypot(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return hypot((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, int>::type ilogb(__T __x) { return ::ilogb((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, bool>::type isfinite(__T __x) { return ::isfinite((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type isgreater(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return isgreater((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type isgreaterequal(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return isgreaterequal((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, bool>::type isinf(__T __x) { return ::isinf((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type isless(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return isless((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type islessequal(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return islessequal((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type islessgreater(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return islessgreater((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, bool>::type isnan(__T __x) { return ::isnan((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, bool>::type isnormal(__T __x) { return ::isnormal((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type isunordered(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return isunordered((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type lgamma(__T __x) { return ::lgamma((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type log(__T __x) { return ::log((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type log10(__T __x) { return ::log10((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type log1p(__T __x) { return ::log1p((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type log2(__T __x) { return ::log2((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type logb(__T __x) { return ::logb((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, long long>::type llrint(__T __x) { return ::llrint((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, long long>::type llround(__T __x) { return ::llround((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, long>::type lrint(__T __x) { return ::lrint((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, long>::type lround(__T __x) { return ::lround((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type nearbyint(__T __x) { return ::nearbyint((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type nextafter(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return nextafter((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type pow(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return pow((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type remainder(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return remainder((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type rint(__T __x) { return ::rint((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type round(__T __x) { return ::round((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, bool>::type signbit(__T __x) { return ::signbit((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type sin(__T __x) { return ::sin((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type sinh(__T __x) { return ::sinh((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type sqrt(__T __x) { return ::sqrt((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type tan(__T __x) { return ::tan((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type tanh(__T __x) { return ::tanh((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type tgamma(__T __x) { return ::tgamma((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type trunc(__T __x) { return ::trunc((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type max(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return max((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type min(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return min((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value && __hip::is_arithmetic<__T3>::value, typename __hip::__promote<__T1, __T2, __T3>::type>::type fma(__T1 __x, __T2 __y, __T3 __z) { typedef typename __hip::__promote<__T1, __T2, __T3>::type __result_type; return ::fma((__result_type)__x, (__result_type)__y, (__result_type)__z); } # 568 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 3 template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type frexp(__T __x, int *__exp) { return ::frexp((double)__x, __exp); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type ldexp(__T __x, int __exp) { return ::ldexp((double)__x, __exp); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type modf(__T __x, double *__exp) { return ::modf((double)__x, __exp); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type remquo(__T1 __x, __T2 __y, int *__quo) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return ::remquo((__result_type)__x, (__result_type)__y, __quo); } # 610 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 3 template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type scalbln(__T __x, long int __exp) { return ::scalbln((double)__x, __exp); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type scalbn(__T __x, int __exp) { return ::scalbn((double)__x, __exp); } # 640 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 3 namespace std { using ::acos; using ::acosh; using ::asin; using ::asinh; using ::atan; using ::atan2; using ::atanh; using ::cbrt; using ::ceil; using ::copysign; using ::cos; using ::cosh; using ::erf; using ::erfc; using ::exp; using ::exp2; using ::expm1; using ::fabs; using ::fdim; using ::floor; using ::fma; using ::fmax; using ::fmin; using ::fmod; using ::fpclassify; using ::frexp; using ::hypot; using ::ilogb; using ::isfinite; using ::isgreater; using ::isgreaterequal; using ::isless; using ::islessequal; using ::islessgreater; using ::isnormal; using ::isunordered; using ::ldexp; using ::lgamma; using ::llrint; using ::llround; using ::log; using ::log10; using ::log1p; using ::log2; using ::logb; using ::lrint; using ::lround; using ::modf; using ::nearbyint; using ::nextafter; using ::pow; using ::remainder; using ::remquo; using ::rint; using ::round; using ::scalbln; using ::scalbn; using ::signbit; using ::sin; using ::sinh; using ::sqrt; using ::tan; using ::tanh; using ::tgamma; using ::trunc; # 727 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 3 using ::acosf; using ::acoshf; using ::asinf; using ::asinhf; using ::atan2f; using ::atanf; using ::atanhf; using ::cbrtf; using ::ceilf; using ::copysignf; using ::cosf; using ::coshf; using ::erfcf; using ::erff; using ::exp2f; using ::expf; using ::expm1f; using ::fabsf; using ::fdimf; using ::floorf; using ::fmaf; using ::fmaxf; using ::fminf; using ::fmodf; using ::frexpf; using ::hypotf; using ::ilogbf; using ::ldexpf; using ::lgammaf; using ::llrintf; using ::llroundf; using ::log10f; using ::log1pf; using ::log2f; using ::logbf; using ::logf; using ::lrintf; using ::lroundf; using ::modff; using ::nearbyintf; using ::nextafterf; using ::powf; using ::remainderf; using ::remquof; using ::rintf; using ::roundf; using ::scalblnf; using ::scalbnf; using ::sinf; using ::sinhf; using ::sqrtf; using ::tanf; using ::tanhf; using ::tgammaf; using ::truncf; } # 109 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 2 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h" 1 3 # 105 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h" 3 extern "C" { __attribute__((device)) inline double _Complex __muldc3(double __a, double __b, double __c, double __d) { double __ac = __a * __c; double __bd = __b * __d; double __ad = __a * __d; double __bc = __b * __c; double _Complex z; __real__(z) = __ac - __bd; __imag__(z) = __ad + __bc; if (std::isnan(__real__(z)) && std::isnan(__imag__(z))) { int __recalc = 0; if (std::isinf(__a) || std::isinf(__b)) { __a = std::copysign(std::isinf(__a) ? 1 : 0, __a); __b = std::copysign(std::isinf(__b) ? 1 : 0, __b); if (std::isnan(__c)) __c = std::copysign(0, __c); if (std::isnan(__d)) __d = std::copysign(0, __d); __recalc = 1; } if (std::isinf(__c) || std::isinf(__d)) { __c = std::copysign(std::isinf(__c) ? 1 : 0, __c); __d = std::copysign(std::isinf(__d) ? 1 : 0, __d); if (std::isnan(__a)) __a = std::copysign(0, __a); if (std::isnan(__b)) __b = std::copysign(0, __b); __recalc = 1; } if (!__recalc && (std::isinf(__ac) || std::isinf(__bd) || std::isinf(__ad) || std::isinf(__bc))) { if (std::isnan(__a)) __a = std::copysign(0, __a); if (std::isnan(__b)) __b = std::copysign(0, __b); if (std::isnan(__c)) __c = std::copysign(0, __c); if (std::isnan(__d)) __d = std::copysign(0, __d); __recalc = 1; } if (__recalc) { __real__(z) = __builtin_huge_val() * (__a * __c - __b * __d); __imag__(z) = __builtin_huge_val() * (__a * __d + __b * __c); } } return z; } __attribute__((device)) inline float _Complex __mulsc3(float __a, float __b, float __c, float __d) { float __ac = __a * __c; float __bd = __b * __d; float __ad = __a * __d; float __bc = __b * __c; float _Complex z; __real__(z) = __ac - __bd; __imag__(z) = __ad + __bc; if (std::isnan(__real__(z)) && std::isnan(__imag__(z))) { int __recalc = 0; if (std::isinf(__a) || std::isinf(__b)) { __a = std::copysign(std::isinf(__a) ? 1 : 0, __a); __b = std::copysign(std::isinf(__b) ? 1 : 0, __b); if (std::isnan(__c)) __c = std::copysign(0, __c); if (std::isnan(__d)) __d = std::copysign(0, __d); __recalc = 1; } if (std::isinf(__c) || std::isinf(__d)) { __c = std::copysign(std::isinf(__c) ? 1 : 0, __c); __d = std::copysign(std::isinf(__d) ? 1 : 0, __d); if (std::isnan(__a)) __a = std::copysign(0, __a); if (std::isnan(__b)) __b = std::copysign(0, __b); __recalc = 1; } if (!__recalc && (std::isinf(__ac) || std::isinf(__bd) || std::isinf(__ad) || std::isinf(__bc))) { if (std::isnan(__a)) __a = std::copysign(0, __a); if (std::isnan(__b)) __b = std::copysign(0, __b); if (std::isnan(__c)) __c = std::copysign(0, __c); if (std::isnan(__d)) __d = std::copysign(0, __d); __recalc = 1; } if (__recalc) { __real__(z) = __builtin_huge_valf() * (__a * __c - __b * __d); __imag__(z) = __builtin_huge_valf() * (__a * __d + __b * __c); } } return z; } __attribute__((device)) inline double _Complex __divdc3(double __a, double __b, double __c, double __d) { int __ilogbw = 0; double __logbw = std::logb(max(std::abs(__c), std::abs(__d))); if (std::isfinite(__logbw)) { __ilogbw = (int)__logbw; __c = std::scalbn(__c, -__ilogbw); __d = std::scalbn(__d, -__ilogbw); } double __denom = __c * __c + __d * __d; double _Complex z; __real__(z) = std::scalbn((__a * __c + __b * __d) / __denom, -__ilogbw); __imag__(z) = std::scalbn((__b * __c - __a * __d) / __denom, -__ilogbw); if (std::isnan(__real__(z)) && std::isnan(__imag__(z))) { if ((__denom == 0.0) && (!std::isnan(__a) || !std::isnan(__b))) { __real__(z) = std::copysign(__builtin_huge_val(), __c) * __a; __imag__(z) = std::copysign(__builtin_huge_val(), __c) * __b; } else if ((std::isinf(__a) || std::isinf(__b)) && std::isfinite(__c) && std::isfinite(__d)) { __a = std::copysign(std::isinf(__a) ? 1.0 : 0.0, __a); __b = std::copysign(std::isinf(__b) ? 1.0 : 0.0, __b); __real__(z) = __builtin_huge_val() * (__a * __c + __b * __d); __imag__(z) = __builtin_huge_val() * (__b * __c - __a * __d); } else if (std::isinf(__logbw) && __logbw > 0.0 && std::isfinite(__a) && std::isfinite(__b)) { __c = std::copysign(std::isinf(__c) ? 1.0 : 0.0, __c); __d = std::copysign(std::isinf(__d) ? 1.0 : 0.0, __d); __real__(z) = 0.0 * (__a * __c + __b * __d); __imag__(z) = 0.0 * (__b * __c - __a * __d); } } return z; } __attribute__((device)) inline float _Complex __divsc3(float __a, float __b, float __c, float __d) { int __ilogbw = 0; float __logbw = std::logb(max(std::abs(__c), std::abs(__d))); if (std::isfinite(__logbw)) { __ilogbw = (int)__logbw; __c = std::scalbn(__c, -__ilogbw); __d = std::scalbn(__d, -__ilogbw); } float __denom = __c * __c + __d * __d; float _Complex z; __real__(z) = std::scalbn((__a * __c + __b * __d) / __denom, -__ilogbw); __imag__(z) = std::scalbn((__b * __c - __a * __d) / __denom, -__ilogbw); if (std::isnan(__real__(z)) && std::isnan(__imag__(z))) { if ((__denom == 0) && (!std::isnan(__a) || !std::isnan(__b))) { __real__(z) = std::copysign(__builtin_huge_valf(), __c) * __a; __imag__(z) = std::copysign(__builtin_huge_valf(), __c) * __b; } else if ((std::isinf(__a) || std::isinf(__b)) && std::isfinite(__c) && std::isfinite(__d)) { __a = std::copysign(std::isinf(__a) ? 1 : 0, __a); __b = std::copysign(std::isinf(__b) ? 1 : 0, __b); __real__(z) = __builtin_huge_valf() * (__a * __c + __b * __d); __imag__(z) = __builtin_huge_valf() * (__b * __c - __a * __d); } else if (std::isinf(__logbw) && __logbw > 0 && std::isfinite(__a) && std::isfinite(__b)) { __c = std::copysign(std::isinf(__c) ? 1 : 0, __c); __d = std::copysign(std::isinf(__d) ? 1 : 0, __d); __real__(z) = 0 * (__a * __c + __b * __d); __imag__(z) = 0 * (__b * __c - __a * __d); } } return z; } # 308 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h" 3 } # 110 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 2 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex" 1 3 # 35 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/stdexcept" 1 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/stdexcept" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 1 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stringfwd.h" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stringfwd.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/memoryfwd.h" 1 3 # 47 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/memoryfwd.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 63 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/memoryfwd.h" 3 template class allocator; template<> class allocator; template struct uses_allocator; } # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stringfwd.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 52 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stringfwd.h" 3 template struct char_traits; template<> struct char_traits; template<> struct char_traits; template<> struct char_traits; template<> struct char_traits; template, typename _Alloc = allocator<_CharT> > class basic_string; typedef basic_string string; typedef basic_string wstring; # 93 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stringfwd.h" 3 typedef basic_string u16string; typedef basic_string u32string; } # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/postypes.h" 1 3 # 39 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/postypes.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 3 # 1 "/usr/include/wchar.h" 1 3 4 # 36 "/usr/include/wchar.h" 3 4 # 1 "/usr/include/stdio.h" 1 3 4 # 44 "/usr/include/stdio.h" 3 4 struct _IO_FILE; typedef struct _IO_FILE FILE; # 64 "/usr/include/stdio.h" 3 4 typedef struct _IO_FILE __FILE; # 37 "/usr/include/wchar.h" 2 3 4 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stdarg.h" 1 3 4 # 14 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stdarg.h" 3 4 typedef __builtin_va_list va_list; # 32 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 40 "/usr/include/wchar.h" 2 3 4 # 51 "/usr/include/wchar.h" 3 4 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 4 # 116 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 3 4 typedef unsigned int wint_t; # 52 "/usr/include/wchar.h" 2 3 4 # 82 "/usr/include/wchar.h" 3 4 typedef struct { int __count; union { unsigned int __wch; char __wchb[4]; } __value; } __mbstate_t; # 106 "/usr/include/wchar.h" 3 4 typedef __mbstate_t mbstate_t; # 132 "/usr/include/wchar.h" 3 4 extern "C" { struct tm; # 147 "/usr/include/wchar.h" 3 4 extern wchar_t *wcscpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw (); extern wchar_t *wcsncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw (); extern wchar_t *wcscat (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw (); extern wchar_t *wcsncat (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw (); extern int wcscmp (const wchar_t *__s1, const wchar_t *__s2) throw () __attribute__ ((__pure__)); extern int wcsncmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) throw () __attribute__ ((__pure__)); extern int wcscasecmp (const wchar_t *__s1, const wchar_t *__s2) throw (); extern int wcsncasecmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) throw (); extern int wcscasecmp_l (const wchar_t *__s1, const wchar_t *__s2, __locale_t __loc) throw (); extern int wcsncasecmp_l (const wchar_t *__s1, const wchar_t *__s2, size_t __n, __locale_t __loc) throw (); extern int wcscoll (const wchar_t *__s1, const wchar_t *__s2) throw (); extern size_t wcsxfrm (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n) throw (); # 206 "/usr/include/wchar.h" 3 4 extern int wcscoll_l (const wchar_t *__s1, const wchar_t *__s2, __locale_t __loc) throw (); extern size_t wcsxfrm_l (wchar_t *__s1, const wchar_t *__s2, size_t __n, __locale_t __loc) throw (); extern wchar_t *wcsdup (const wchar_t *__s) throw () __attribute__ ((__malloc__)); # 227 "/usr/include/wchar.h" 3 4 extern wchar_t *wcschr (const wchar_t *__wcs, wchar_t __wc) throw () __attribute__ ((__pure__)); # 237 "/usr/include/wchar.h" 3 4 extern wchar_t *wcsrchr (const wchar_t *__wcs, wchar_t __wc) throw () __attribute__ ((__pure__)); extern wchar_t *wcschrnul (const wchar_t *__s, wchar_t __wc) throw () __attribute__ ((__pure__)); extern size_t wcscspn (const wchar_t *__wcs, const wchar_t *__reject) throw () __attribute__ ((__pure__)); extern size_t wcsspn (const wchar_t *__wcs, const wchar_t *__accept) throw () __attribute__ ((__pure__)); # 266 "/usr/include/wchar.h" 3 4 extern wchar_t *wcspbrk (const wchar_t *__wcs, const wchar_t *__accept) throw () __attribute__ ((__pure__)); # 277 "/usr/include/wchar.h" 3 4 extern wchar_t *wcsstr (const wchar_t *__haystack, const wchar_t *__needle) throw () __attribute__ ((__pure__)); extern wchar_t *wcstok (wchar_t *__restrict __s, const wchar_t *__restrict __delim, wchar_t **__restrict __ptr) throw (); extern size_t wcslen (const wchar_t *__s) throw () __attribute__ ((__pure__)); # 299 "/usr/include/wchar.h" 3 4 extern wchar_t *wcswcs (const wchar_t *__haystack, const wchar_t *__needle) throw () __attribute__ ((__pure__)); extern size_t wcsnlen (const wchar_t *__s, size_t __maxlen) throw () __attribute__ ((__pure__)); # 320 "/usr/include/wchar.h" 3 4 extern wchar_t *wmemchr (const wchar_t *__s, wchar_t __c, size_t __n) throw () __attribute__ ((__pure__)); extern int wmemcmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) throw () __attribute__ ((__pure__)); extern wchar_t *wmemcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n) throw (); extern wchar_t *wmemmove (wchar_t *__s1, const wchar_t *__s2, size_t __n) throw (); extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) throw (); extern wchar_t *wmempcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n) throw (); extern wint_t btowc (int __c) throw (); extern int wctob (wint_t __c) throw (); extern int mbsinit (const mbstate_t *__ps) throw () __attribute__ ((__pure__)); extern size_t mbrtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n, mbstate_t *__restrict __p) throw (); extern size_t wcrtomb (char *__restrict __s, wchar_t __wc, mbstate_t *__restrict __ps) throw (); extern size_t __mbrlen (const char *__restrict __s, size_t __n, mbstate_t *__restrict __ps) throw (); extern size_t mbrlen (const char *__restrict __s, size_t __n, mbstate_t *__restrict __ps) throw (); # 386 "/usr/include/wchar.h" 3 4 extern wint_t __btowc_alias (int __c) __asm ("btowc"); extern __inline __attribute__ ((__gnu_inline__)) wint_t btowc (int __c) throw () { return (__builtin_constant_p (__c) && __c >= '\0' && __c <= '\x7f' ? (wint_t) __c : __btowc_alias (__c)); } extern int __wctob_alias (wint_t __c) __asm ("wctob"); extern __inline __attribute__ ((__gnu_inline__)) int wctob (wint_t __wc) throw () { return (__builtin_constant_p (__wc) && __wc >= L'\0' && __wc <= L'\x7f' ? (int) __wc : __wctob_alias (__wc)); } extern __inline __attribute__ ((__gnu_inline__)) size_t mbrlen (const char *__restrict __s, size_t __n, mbstate_t *__restrict __ps) throw () { return (__ps != __null ? mbrtowc (__null, __s, __n, __ps) : __mbrlen (__s, __n, __null)); } extern size_t mbsrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, size_t __len, mbstate_t *__restrict __ps) throw (); extern size_t wcsrtombs (char *__restrict __dst, const wchar_t **__restrict __src, size_t __len, mbstate_t *__restrict __ps) throw (); extern size_t mbsnrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, size_t __nmc, size_t __len, mbstate_t *__restrict __ps) throw (); extern size_t wcsnrtombs (char *__restrict __dst, const wchar_t **__restrict __src, size_t __nwc, size_t __len, mbstate_t *__restrict __ps) throw (); extern int wcwidth (wchar_t __c) throw (); extern int wcswidth (const wchar_t *__s, size_t __n) throw (); extern double wcstod (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr) throw (); extern float wcstof (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr) throw (); extern long double wcstold (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr) throw (); extern long int wcstol (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base) throw (); extern unsigned long int wcstoul (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base) throw (); __extension__ extern long long int wcstoll (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base) throw (); __extension__ extern unsigned long long int wcstoull (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base) throw (); __extension__ extern long long int wcstoq (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base) throw (); __extension__ extern unsigned long long int wcstouq (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base) throw (); # 530 "/usr/include/wchar.h" 3 4 extern long int wcstol_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base, __locale_t __loc) throw (); extern unsigned long int wcstoul_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base, __locale_t __loc) throw (); __extension__ extern long long int wcstoll_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base, __locale_t __loc) throw (); __extension__ extern unsigned long long int wcstoull_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base, __locale_t __loc) throw (); extern double wcstod_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, __locale_t __loc) throw (); extern float wcstof_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, __locale_t __loc) throw (); extern long double wcstold_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, __locale_t __loc) throw (); extern wchar_t *wcpcpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw (); extern wchar_t *wcpncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw (); extern __FILE *open_wmemstream (wchar_t **__bufloc, size_t *__sizeloc) throw (); extern int fwide (__FILE *__fp, int __mode) throw (); extern int fwprintf (__FILE *__restrict __stream, const wchar_t *__restrict __format, ...) ; extern int wprintf (const wchar_t *__restrict __format, ...) ; extern int swprintf (wchar_t *__restrict __s, size_t __n, const wchar_t *__restrict __format, ...) throw () ; extern int vfwprintf (__FILE *__restrict __s, const wchar_t *__restrict __format, __gnuc_va_list __arg) ; extern int vwprintf (const wchar_t *__restrict __format, __gnuc_va_list __arg) ; extern int vswprintf (wchar_t *__restrict __s, size_t __n, const wchar_t *__restrict __format, __gnuc_va_list __arg) throw () ; extern int fwscanf (__FILE *__restrict __stream, const wchar_t *__restrict __format, ...) ; extern int wscanf (const wchar_t *__restrict __format, ...) ; extern int swscanf (const wchar_t *__restrict __s, const wchar_t *__restrict __format, ...) throw () ; # 689 "/usr/include/wchar.h" 3 4 extern int vfwscanf (__FILE *__restrict __s, const wchar_t *__restrict __format, __gnuc_va_list __arg) ; extern int vwscanf (const wchar_t *__restrict __format, __gnuc_va_list __arg) ; extern int vswscanf (const wchar_t *__restrict __s, const wchar_t *__restrict __format, __gnuc_va_list __arg) throw () ; # 745 "/usr/include/wchar.h" 3 4 extern wint_t fgetwc (__FILE *__stream); extern wint_t getwc (__FILE *__stream); extern wint_t getwchar (void); extern wint_t fputwc (wchar_t __wc, __FILE *__stream); extern wint_t putwc (wchar_t __wc, __FILE *__stream); extern wint_t putwchar (wchar_t __wc); extern wchar_t *fgetws (wchar_t *__restrict __ws, int __n, __FILE *__restrict __stream); extern int fputws (const wchar_t *__restrict __ws, __FILE *__restrict __stream); extern wint_t ungetwc (wint_t __wc, __FILE *__stream); # 801 "/usr/include/wchar.h" 3 4 extern wint_t getwc_unlocked (__FILE *__stream); extern wint_t getwchar_unlocked (void); extern wint_t fgetwc_unlocked (__FILE *__stream); extern wint_t fputwc_unlocked (wchar_t __wc, __FILE *__stream); # 827 "/usr/include/wchar.h" 3 4 extern wint_t putwc_unlocked (wchar_t __wc, __FILE *__stream); extern wint_t putwchar_unlocked (wchar_t __wc); # 837 "/usr/include/wchar.h" 3 4 extern wchar_t *fgetws_unlocked (wchar_t *__restrict __ws, int __n, __FILE *__restrict __stream); extern int fputws_unlocked (const wchar_t *__restrict __ws, __FILE *__restrict __stream); extern size_t wcsftime (wchar_t *__restrict __s, size_t __maxsize, const wchar_t *__restrict __format, const struct tm *__restrict __tp) throw (); extern size_t wcsftime_l (wchar_t *__restrict __s, size_t __maxsize, const wchar_t *__restrict __format, const struct tm *__restrict __tp, __locale_t __loc) throw (); # 891 "/usr/include/wchar.h" 3 4 } # 45 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 2 3 # 62 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 3 namespace std { using ::mbstate_t; } # 135 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 3 extern "C++" { namespace std __attribute__ ((__visibility__ ("default"))) { using ::wint_t; using ::btowc; using ::fgetwc; using ::fgetws; using ::fputwc; using ::fputws; using ::fwide; using ::fwprintf; using ::fwscanf; using ::getwc; using ::getwchar; using ::mbrlen; using ::mbrtowc; using ::mbsinit; using ::mbsrtowcs; using ::putwc; using ::putwchar; using ::swprintf; using ::swscanf; using ::ungetwc; using ::vfwprintf; using ::vfwscanf; using ::vswprintf; using ::vswscanf; using ::vwprintf; using ::vwscanf; using ::wcrtomb; using ::wcscat; using ::wcscmp; using ::wcscoll; using ::wcscpy; using ::wcscspn; using ::wcsftime; using ::wcslen; using ::wcsncat; using ::wcsncmp; using ::wcsncpy; using ::wcsrtombs; using ::wcsspn; using ::wcstod; using ::wcstof; using ::wcstok; using ::wcstol; using ::wcstoul; using ::wcsxfrm; using ::wctob; using ::wmemcmp; using ::wmemcpy; using ::wmemmove; using ::wmemset; using ::wprintf; using ::wscanf; using ::wcschr; using ::wcspbrk; using ::wcsrchr; using ::wcsstr; using ::wmemchr; inline wchar_t* wcschr(wchar_t* __p, wchar_t __c) { return wcschr(const_cast(__p), __c); } inline wchar_t* wcspbrk(wchar_t* __s1, const wchar_t* __s2) { return wcspbrk(const_cast(__s1), __s2); } inline wchar_t* wcsrchr(wchar_t* __p, wchar_t __c) { return wcsrchr(const_cast(__p), __c); } inline wchar_t* wcsstr(wchar_t* __s1, const wchar_t* __s2) { return wcsstr(const_cast(__s1), __s2); } inline wchar_t* wmemchr(wchar_t* __p, wchar_t __c, size_t __n) { return wmemchr(const_cast(__p), __c, __n); } } } namespace __gnu_cxx { using ::wcstold; # 260 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 3 using ::wcstoll; using ::wcstoull; } namespace std { using ::__gnu_cxx::wcstold; using ::__gnu_cxx::wcstoll; using ::__gnu_cxx::wcstoull; } # 280 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 3 namespace std { using std::wcstof; using std::vfwscanf; using std::vswscanf; using std::vwscanf; using std::wcstold; using std::wcstoll; using std::wcstoull; } # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/postypes.h" 2 3 # 68 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/postypes.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 88 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/postypes.h" 3 typedef long streamoff; # 98 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/postypes.h" 3 typedef ptrdiff_t streamsize; # 111 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/postypes.h" 3 template class fpos { private: streamoff _M_off; _StateT _M_state; public: fpos() : _M_off(0), _M_state() { } # 133 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/postypes.h" 3 fpos(streamoff __off) : _M_off(__off), _M_state() { } fpos(const fpos&) = default; fpos& operator=(const fpos&) = default; ~fpos() = default; operator streamoff() const { return _M_off; } void state(_StateT __st) { _M_state = __st; } _StateT state() const { return _M_state; } fpos& operator+=(streamoff __off) { _M_off += __off; return *this; } fpos& operator-=(streamoff __off) { _M_off -= __off; return *this; } fpos operator+(streamoff __off) const { fpos __pos(*this); __pos += __off; return __pos; } fpos operator-(streamoff __off) const { fpos __pos(*this); __pos -= __off; return __pos; } streamoff operator-(const fpos& __other) const { return _M_off - __other._M_off; } }; template inline bool operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) { return streamoff(__lhs) == streamoff(__rhs); } template inline bool operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) { return streamoff(__lhs) != streamoff(__rhs); } typedef fpos streampos; typedef fpos wstreampos; # 245 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/postypes.h" 3 typedef fpos u16streampos; typedef fpos u32streampos; } # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 3 # 1 "/usr/include/wchar.h" 1 3 4 # 45 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 2 3 # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 2 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { # 64 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 3 template struct _Char_types { typedef unsigned long int_type; typedef std::streampos pos_type; typedef std::streamoff off_type; typedef std::mbstate_t state_type; }; # 89 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 3 template struct char_traits { typedef _CharT char_type; typedef typename _Char_types<_CharT>::int_type int_type; typedef typename _Char_types<_CharT>::pos_type pos_type; typedef typename _Char_types<_CharT>::off_type off_type; typedef typename _Char_types<_CharT>::state_type state_type; static void assign(char_type& __c1, const char_type& __c2) { __c1 = __c2; } static constexpr bool eq(const char_type& __c1, const char_type& __c2) { return __c1 == __c2; } static constexpr bool lt(const char_type& __c1, const char_type& __c2) { return __c1 < __c2; } static int compare(const char_type* __s1, const char_type* __s2, std::size_t __n); static std::size_t length(const char_type* __s); static const char_type* find(const char_type* __s, std::size_t __n, const char_type& __a); static char_type* move(char_type* __s1, const char_type* __s2, std::size_t __n); static char_type* copy(char_type* __s1, const char_type* __s2, std::size_t __n); static char_type* assign(char_type* __s, std::size_t __n, char_type __a); static constexpr char_type to_char_type(const int_type& __c) { return static_cast(__c); } static constexpr int_type to_int_type(const char_type& __c) { return static_cast(__c); } static constexpr bool eq_int_type(const int_type& __c1, const int_type& __c2) { return __c1 == __c2; } static constexpr int_type eof() { return static_cast(-1); } static constexpr int_type not_eof(const int_type& __c) { return !eq_int_type(__c, eof()) ? __c : to_int_type(char_type()); } }; template int char_traits<_CharT>:: compare(const char_type* __s1, const char_type* __s2, std::size_t __n) { for (std::size_t __i = 0; __i < __n; ++__i) if (lt(__s1[__i], __s2[__i])) return -1; else if (lt(__s2[__i], __s1[__i])) return 1; return 0; } template std::size_t char_traits<_CharT>:: length(const char_type* __p) { std::size_t __i = 0; while (!eq(__p[__i], char_type())) ++__i; return __i; } template const typename char_traits<_CharT>::char_type* char_traits<_CharT>:: find(const char_type* __s, std::size_t __n, const char_type& __a) { for (std::size_t __i = 0; __i < __n; ++__i) if (eq(__s[__i], __a)) return __s + __i; return 0; } template typename char_traits<_CharT>::char_type* char_traits<_CharT>:: move(char_type* __s1, const char_type* __s2, std::size_t __n) { if (__n == 0) return __s1; # 205 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 3 return static_cast<_CharT*>(__builtin_memmove(__s1, __s2, __n * sizeof(char_type))); } template typename char_traits<_CharT>::char_type* char_traits<_CharT>:: copy(char_type* __s1, const char_type* __s2, std::size_t __n) { std::copy(__s2, __s2 + __n, __s1); return __s1; } template typename char_traits<_CharT>::char_type* char_traits<_CharT>:: assign(char_type* __s, std::size_t __n, char_type __a) { std::fill_n(__s, __n, __a); return __s; } } namespace std __attribute__ ((__visibility__ ("default"))) { # 309 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 3 template struct char_traits : public __gnu_cxx::char_traits<_CharT> { }; template<> struct char_traits { typedef char char_type; typedef int int_type; typedef streampos pos_type; typedef streamoff off_type; typedef mbstate_t state_type; static void assign(char_type& __c1, const char_type& __c2) noexcept { __c1 = __c2; } static constexpr bool eq(const char_type& __c1, const char_type& __c2) noexcept { return __c1 == __c2; } static constexpr bool lt(const char_type& __c1, const char_type& __c2) noexcept { return (static_cast(__c1) < static_cast(__c2)); } static int compare(const char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return 0; return __builtin_memcmp(__s1, __s2, __n); } static size_t length(const char_type* __s) { return __builtin_strlen(__s); } static const char_type* find(const char_type* __s, size_t __n, const char_type& __a) { if (__n == 0) return 0; return static_cast(__builtin_memchr(__s, __a, __n)); } static char_type* move(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return static_cast(__builtin_memmove(__s1, __s2, __n)); } static char_type* copy(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return static_cast(__builtin_memcpy(__s1, __s2, __n)); } static char_type* assign(char_type* __s, size_t __n, char_type __a) { if (__n == 0) return __s; return static_cast(__builtin_memset(__s, __a, __n)); } static constexpr char_type to_char_type(const int_type& __c) noexcept { return static_cast(__c); } static constexpr int_type to_int_type(const char_type& __c) noexcept { return static_cast(static_cast(__c)); } static constexpr bool eq_int_type(const int_type& __c1, const int_type& __c2) noexcept { return __c1 == __c2; } static constexpr int_type eof() noexcept { return static_cast(-1); } static constexpr int_type not_eof(const int_type& __c) noexcept { return (__c == eof()) ? 0 : __c; } }; template<> struct char_traits { typedef wchar_t char_type; typedef wint_t int_type; typedef streamoff off_type; typedef wstreampos pos_type; typedef mbstate_t state_type; static void assign(char_type& __c1, const char_type& __c2) noexcept { __c1 = __c2; } static constexpr bool eq(const char_type& __c1, const char_type& __c2) noexcept { return __c1 == __c2; } static constexpr bool lt(const char_type& __c1, const char_type& __c2) noexcept { return __c1 < __c2; } static int compare(const char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return 0; return wmemcmp(__s1, __s2, __n); } static size_t length(const char_type* __s) { return wcslen(__s); } static const char_type* find(const char_type* __s, size_t __n, const char_type& __a) { if (__n == 0) return 0; return wmemchr(__s, __a, __n); } static char_type* move(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return wmemmove(__s1, __s2, __n); } static char_type* copy(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return wmemcpy(__s1, __s2, __n); } static char_type* assign(char_type* __s, size_t __n, char_type __a) { if (__n == 0) return __s; return wmemset(__s, __a, __n); } static constexpr char_type to_char_type(const int_type& __c) noexcept { return char_type(__c); } static constexpr int_type to_int_type(const char_type& __c) noexcept { return int_type(__c); } static constexpr bool eq_int_type(const int_type& __c1, const int_type& __c2) noexcept { return __c1 == __c2; } static constexpr int_type eof() noexcept { return static_cast((0xffffffffu)); } static constexpr int_type not_eof(const int_type& __c) noexcept { return eq_int_type(__c, eof()) ? 0 : __c; } }; # 688 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 3 } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdint" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdint" 3 # 44 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdint" 3 namespace std { using ::int8_t; using ::int16_t; using ::int32_t; using ::int64_t; using ::int_fast8_t; using ::int_fast16_t; using ::int_fast32_t; using ::int_fast64_t; using ::int_least8_t; using ::int_least16_t; using ::int_least32_t; using ::int_least64_t; using ::intmax_t; using ::intptr_t; using ::uint8_t; using ::uint16_t; using ::uint32_t; using ::uint64_t; using ::uint_fast8_t; using ::uint_fast16_t; using ::uint_fast32_t; using ::uint_fast64_t; using ::uint_least8_t; using ::uint_least16_t; using ::uint_least32_t; using ::uint_least64_t; using ::uintmax_t; using ::uintptr_t; } # 693 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template<> struct char_traits { typedef char16_t char_type; typedef uint_least16_t int_type; typedef streamoff off_type; typedef u16streampos pos_type; typedef mbstate_t state_type; static void assign(char_type& __c1, const char_type& __c2) noexcept { __c1 = __c2; } static constexpr bool eq(const char_type& __c1, const char_type& __c2) noexcept { return __c1 == __c2; } static constexpr bool lt(const char_type& __c1, const char_type& __c2) noexcept { return __c1 < __c2; } static int compare(const char_type* __s1, const char_type* __s2, size_t __n) { for (size_t __i = 0; __i < __n; ++__i) if (lt(__s1[__i], __s2[__i])) return -1; else if (lt(__s2[__i], __s1[__i])) return 1; return 0; } static size_t length(const char_type* __s) { size_t __i = 0; while (!eq(__s[__i], char_type())) ++__i; return __i; } static const char_type* find(const char_type* __s, size_t __n, const char_type& __a) { for (size_t __i = 0; __i < __n; ++__i) if (eq(__s[__i], __a)) return __s + __i; return 0; } static char_type* move(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return (static_cast (__builtin_memmove(__s1, __s2, __n * sizeof(char_type)))); } static char_type* copy(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return (static_cast (__builtin_memcpy(__s1, __s2, __n * sizeof(char_type)))); } static char_type* assign(char_type* __s, size_t __n, char_type __a) { for (size_t __i = 0; __i < __n; ++__i) assign(__s[__i], __a); return __s; } static constexpr char_type to_char_type(const int_type& __c) noexcept { return char_type(__c); } static constexpr int_type to_int_type(const char_type& __c) noexcept { return __c == eof() ? int_type(0xfffd) : int_type(__c); } static constexpr bool eq_int_type(const int_type& __c1, const int_type& __c2) noexcept { return __c1 == __c2; } static constexpr int_type eof() noexcept { return static_cast(-1); } static constexpr int_type not_eof(const int_type& __c) noexcept { return eq_int_type(__c, eof()) ? 0 : __c; } }; template<> struct char_traits { typedef char32_t char_type; typedef uint_least32_t int_type; typedef streamoff off_type; typedef u32streampos pos_type; typedef mbstate_t state_type; static void assign(char_type& __c1, const char_type& __c2) noexcept { __c1 = __c2; } static constexpr bool eq(const char_type& __c1, const char_type& __c2) noexcept { return __c1 == __c2; } static constexpr bool lt(const char_type& __c1, const char_type& __c2) noexcept { return __c1 < __c2; } static int compare(const char_type* __s1, const char_type* __s2, size_t __n) { for (size_t __i = 0; __i < __n; ++__i) if (lt(__s1[__i], __s2[__i])) return -1; else if (lt(__s2[__i], __s1[__i])) return 1; return 0; } static size_t length(const char_type* __s) { size_t __i = 0; while (!eq(__s[__i], char_type())) ++__i; return __i; } static const char_type* find(const char_type* __s, size_t __n, const char_type& __a) { for (size_t __i = 0; __i < __n; ++__i) if (eq(__s[__i], __a)) return __s + __i; return 0; } static char_type* move(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return (static_cast (__builtin_memmove(__s1, __s2, __n * sizeof(char_type)))); } static char_type* copy(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return (static_cast (__builtin_memcpy(__s1, __s2, __n * sizeof(char_type)))); } static char_type* assign(char_type* __s, size_t __n, char_type __a) { for (size_t __i = 0; __i < __n; ++__i) assign(__s[__i], __a); return __s; } static constexpr char_type to_char_type(const int_type& __c) noexcept { return char_type(__c); } static constexpr int_type to_int_type(const char_type& __c) noexcept { return int_type(__c); } static constexpr bool eq_int_type(const int_type& __c1, const int_type& __c2) noexcept { return __c1 == __c2; } static constexpr int_type eof() noexcept { return static_cast(-1); } static constexpr int_type not_eof(const int_type& __c) noexcept { return eq_int_type(__c, eof()) ? 0 : __c; } }; # 946 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 3 } # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/allocator.h" 1 3 # 46 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/allocator.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++allocator.h" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++allocator.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/new_allocator.h" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/new_allocator.h" 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { # 54 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/new_allocator.h" 3 template class new_allocator { public: typedef _Tp value_type; typedef std::size_t size_type; typedef std::ptrdiff_t difference_type; typedef _Tp* pointer; typedef const _Tp* const_pointer; typedef _Tp& reference; typedef const _Tp& const_reference; template struct rebind { typedef new_allocator<_Tp1> other; }; typedef std::true_type propagate_on_container_move_assignment; new_allocator() noexcept { } new_allocator(const new_allocator&) noexcept { } template new_allocator(const new_allocator<_Tp1>&) noexcept { } ~new_allocator() noexcept { } pointer address(reference __x) const noexcept { return std::__addressof(__x); } const_pointer address(const_reference __x) const noexcept { return std::__addressof(__x); } _Tp* allocate(size_type __n, const void* = static_cast(0)) { if (__n > this->_M_max_size()) std::__throw_bad_alloc(); # 115 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/new_allocator.h" 3 return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp))); } void deallocate(_Tp* __p, size_type __t) { # 133 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/new_allocator.h" 3 ::operator delete(__p ); } size_type max_size() const noexcept { return _M_max_size(); } template void construct(_Up* __p, _Args&&... __args) noexcept(std::is_nothrow_constructible<_Up, _Args...>::value) { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } template void destroy(_Up* __p) noexcept(std::is_nothrow_destructible<_Up>::value) { __p->~_Up(); } # 169 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/new_allocator.h" 3 template friend bool operator==(const new_allocator&, const new_allocator<_Up>&) noexcept { return true; } template friend bool operator!=(const new_allocator&, const new_allocator<_Up>&) noexcept { return false; } private: constexpr size_type _M_max_size() const noexcept { return std::size_t(9223372036854775807L) / sizeof(_Tp); } }; } # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++allocator.h" 2 3 namespace std { # 47 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++allocator.h" 3 template using __allocator_base = __gnu_cxx::new_allocator<_Tp>; } # 47 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/allocator.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 64 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/allocator.h" 3 template<> class allocator { public: typedef void value_type; typedef size_t size_type; typedef ptrdiff_t difference_type; typedef void* pointer; typedef const void* const_pointer; template struct rebind { typedef allocator<_Tp1> other; }; # 89 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/allocator.h" 3 typedef true_type propagate_on_container_move_assignment; typedef true_type is_always_equal; template void construct(_Up* __p, _Args&&... __args) noexcept(std::is_nothrow_constructible<_Up, _Args...>::value) { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } template void destroy(_Up* __p) noexcept(std::is_nothrow_destructible<_Up>::value) { __p->~_Up(); } }; # 115 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/allocator.h" 3 template class allocator : public __allocator_base<_Tp> { public: typedef _Tp value_type; typedef size_t size_type; typedef ptrdiff_t difference_type; typedef _Tp* pointer; typedef const _Tp* const_pointer; typedef _Tp& reference; typedef const _Tp& const_reference; template struct rebind { typedef allocator<_Tp1> other; }; typedef true_type propagate_on_container_move_assignment; typedef true_type is_always_equal; allocator() noexcept { } allocator(const allocator& __a) noexcept : __allocator_base<_Tp>(__a) { } allocator& operator=(const allocator&) = default; template allocator(const allocator<_Tp1>&) noexcept { } ~allocator() noexcept { } # 191 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/allocator.h" 3 friend bool operator==(const allocator&, const allocator&) noexcept { return true; } friend bool operator!=(const allocator&, const allocator&) noexcept { return false; } }; template inline bool operator==(const allocator<_T1>&, const allocator<_T2>&) noexcept { return true; } template inline bool operator!=(const allocator<_T1>&, const allocator<_T2>&) noexcept { return false; } template class allocator { public: typedef _Tp value_type; template allocator(const allocator<_Up>&) { } }; template class allocator { public: typedef _Tp value_type; template allocator(const allocator<_Up>&) { } }; template class allocator { public: typedef _Tp value_type; template allocator(const allocator<_Up>&) { } }; extern template class allocator; extern template class allocator; template struct __alloc_swap { static void _S_do_it(_Alloc&, _Alloc&) noexcept { } }; template struct __alloc_swap<_Alloc, false> { static void _S_do_it(_Alloc& __one, _Alloc& __two) noexcept { if (__one != __two) swap(__one, __two); } }; template struct __alloc_neq { static bool _S_do_it(const _Alloc&, const _Alloc&) { return false; } }; template struct __alloc_neq<_Alloc, false> { static bool _S_do_it(const _Alloc& __one, const _Alloc& __two) { return __one != __two; } }; template, is_nothrow_move_constructible>::value> struct __shrink_to_fit_aux { static bool _S_do_it(_Tp&) noexcept { return false; } }; template struct __shrink_to_fit_aux<_Tp, true> { static bool _S_do_it(_Tp& __c) noexcept { try { _Tp(__make_move_if_noexcept_iterator(__c.begin()), __make_move_if_noexcept_iterator(__c.end()), __c.get_allocator()).swap(__c); return true; } catch(...) { return false; } } }; } # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/localefwd.h" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/localefwd.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++locale.h" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++locale.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/clocale" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/clocale" 3 # 1 "/usr/include/locale.h" 1 3 4 # 29 "/usr/include/locale.h" 3 4 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 4 # 30 "/usr/include/locale.h" 2 3 4 # 1 "/usr/include/bits/locale.h" 1 3 4 # 31 "/usr/include/locale.h" 2 3 4 extern "C" { # 54 "/usr/include/locale.h" 3 4 struct lconv { char *decimal_point; char *thousands_sep; char *grouping; char *int_curr_symbol; char *currency_symbol; char *mon_decimal_point; char *mon_thousands_sep; char *mon_grouping; char *positive_sign; char *negative_sign; char int_frac_digits; char frac_digits; char p_cs_precedes; char p_sep_by_space; char n_cs_precedes; char n_sep_by_space; char p_sign_posn; char n_sign_posn; char int_p_cs_precedes; char int_p_sep_by_space; char int_n_cs_precedes; char int_n_sep_by_space; char int_p_sign_posn; char int_n_sign_posn; # 121 "/usr/include/locale.h" 3 4 }; extern char *setlocale (int __category, const char *__locale) throw (); extern struct lconv *localeconv (void) throw (); # 152 "/usr/include/locale.h" 3 4 extern __locale_t newlocale (int __category_mask, const char *__locale, __locale_t __base) throw (); # 187 "/usr/include/locale.h" 3 4 extern __locale_t duplocale (__locale_t __dataset) throw (); extern void freelocale (__locale_t __dataset) throw (); extern __locale_t uselocale (__locale_t __dataset) throw (); } # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/clocale" 2 3 namespace std { using ::lconv; using ::setlocale; using ::localeconv; } # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++locale.h" 2 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { extern "C" __typeof(uselocale) __uselocale; } namespace std __attribute__ ((__visibility__ ("default"))) { typedef __locale_t __c_locale; inline int __convert_from_v(const __c_locale& __cloc __attribute__ ((__unused__)), char* __out, const int __size __attribute__ ((__unused__)), const char* __fmt, ...) { __c_locale __old = __gnu_cxx::__uselocale(__cloc); # 88 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++locale.h" 3 __builtin_va_list __args; __builtin_va_start(__args, __fmt); const int __ret = __builtin_vsnprintf(__out, __size, __fmt, __args); __builtin_va_end(__args); __gnu_cxx::__uselocale(__old); return __ret; } } # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/localefwd.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/iosfwd" 1 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/iosfwd" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 74 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/iosfwd" 3 class ios_base; template > class basic_ios; template > class basic_streambuf; template > class basic_istream; template > class basic_ostream; template > class basic_iostream; template, typename _Alloc = allocator<_CharT> > class basic_stringbuf; template, typename _Alloc = allocator<_CharT> > class basic_istringstream; template, typename _Alloc = allocator<_CharT> > class basic_ostringstream; template, typename _Alloc = allocator<_CharT> > class basic_stringstream; template > class basic_filebuf; template > class basic_ifstream; template > class basic_ofstream; template > class basic_fstream; template > class istreambuf_iterator; template > class ostreambuf_iterator; typedef basic_ios ios; typedef basic_streambuf streambuf; typedef basic_istream istream; typedef basic_ostream ostream; typedef basic_iostream iostream; typedef basic_stringbuf stringbuf; typedef basic_istringstream istringstream; typedef basic_ostringstream ostringstream; typedef basic_stringstream stringstream; typedef basic_filebuf filebuf; typedef basic_ifstream ifstream; typedef basic_ofstream ofstream; typedef basic_fstream fstream; typedef basic_ios wios; typedef basic_streambuf wstreambuf; typedef basic_istream wistream; typedef basic_ostream wostream; typedef basic_iostream wiostream; typedef basic_stringbuf wstringbuf; typedef basic_istringstream wistringstream; typedef basic_ostringstream wostringstream; typedef basic_stringstream wstringstream; typedef basic_filebuf wfilebuf; typedef basic_ifstream wifstream; typedef basic_ofstream wofstream; typedef basic_fstream wfstream; } # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/localefwd.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cctype" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cctype" 3 # 1 "/usr/include/ctype.h" 1 3 4 # 29 "/usr/include/ctype.h" 3 4 extern "C" { # 47 "/usr/include/ctype.h" 3 4 enum { _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)), _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)), _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)), _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)), _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)), _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)), _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)), _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)), _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)), _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)), _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)), _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8)) }; # 80 "/usr/include/ctype.h" 3 4 extern const unsigned short int **__ctype_b_loc (void) throw () __attribute__ ((__const__)); extern const __int32_t **__ctype_tolower_loc (void) throw () __attribute__ ((__const__)); extern const __int32_t **__ctype_toupper_loc (void) throw () __attribute__ ((__const__)); # 111 "/usr/include/ctype.h" 3 4 extern int isalnum (int) throw (); extern int isalpha (int) throw (); extern int iscntrl (int) throw (); extern int isdigit (int) throw (); extern int islower (int) throw (); extern int isgraph (int) throw (); extern int isprint (int) throw (); extern int ispunct (int) throw (); extern int isspace (int) throw (); extern int isupper (int) throw (); extern int isxdigit (int) throw (); extern int tolower (int __c) throw (); extern int toupper (int __c) throw (); # 137 "/usr/include/ctype.h" 3 4 extern int isblank (int) throw (); extern int isctype (int __c, int __mask) throw (); extern int isascii (int __c) throw (); extern int toascii (int __c) throw (); extern int _toupper (int) throw (); extern int _tolower (int) throw (); # 272 "/usr/include/ctype.h" 3 4 extern int isalnum_l (int, __locale_t) throw (); extern int isalpha_l (int, __locale_t) throw (); extern int iscntrl_l (int, __locale_t) throw (); extern int isdigit_l (int, __locale_t) throw (); extern int islower_l (int, __locale_t) throw (); extern int isgraph_l (int, __locale_t) throw (); extern int isprint_l (int, __locale_t) throw (); extern int ispunct_l (int, __locale_t) throw (); extern int isspace_l (int, __locale_t) throw (); extern int isupper_l (int, __locale_t) throw (); extern int isxdigit_l (int, __locale_t) throw (); extern int isblank_l (int, __locale_t) throw (); extern int __tolower_l (int __c, __locale_t __l) throw (); extern int tolower_l (int __c, __locale_t __l) throw (); extern int __toupper_l (int __c, __locale_t __l) throw (); extern int toupper_l (int __c, __locale_t __l) throw (); # 348 "/usr/include/ctype.h" 3 4 } # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cctype" 2 3 # 62 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cctype" 3 namespace std { using ::isalnum; using ::isalpha; using ::iscntrl; using ::isdigit; using ::isgraph; using ::islower; using ::isprint; using ::ispunct; using ::isspace; using ::isupper; using ::isxdigit; using ::tolower; using ::toupper; } namespace std { using ::isblank; } # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/localefwd.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 55 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/localefwd.h" 3 class locale; template bool has_facet(const locale&) throw(); template const _Facet& use_facet(const locale&); template bool isspace(_CharT, const locale&); template bool isprint(_CharT, const locale&); template bool iscntrl(_CharT, const locale&); template bool isupper(_CharT, const locale&); template bool islower(_CharT, const locale&); template bool isalpha(_CharT, const locale&); template bool isdigit(_CharT, const locale&); template bool ispunct(_CharT, const locale&); template bool isxdigit(_CharT, const locale&); template bool isalnum(_CharT, const locale&); template bool isgraph(_CharT, const locale&); template bool isblank(_CharT, const locale&); template _CharT toupper(_CharT, const locale&); template _CharT tolower(_CharT, const locale&); class ctype_base; template class ctype; template<> class ctype; template<> class ctype; template class ctype_byname; class codecvt_base; template class codecvt; template<> class codecvt; template<> class codecvt; template<> class codecvt; template<> class codecvt; template class codecvt_byname; template > class num_get; template > class num_put; template class numpunct; template class numpunct_byname; template class collate; template class collate_byname; class time_base; template > class time_get; template > class time_get_byname; template > class time_put; template > class time_put_byname; class money_base; template > class money_get; template > class money_put; template class moneypunct; template class moneypunct_byname; class messages_base; template class messages; template class messages_byname; } # 44 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ostream_insert.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ostream_insert.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cxxabi_forced.h" 1 3 # 35 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cxxabi_forced.h" 3 #pragma GCC visibility push(default) namespace __cxxabiv1 { class __forced_unwind { virtual ~__forced_unwind() throw(); virtual void __pure_dummy() = 0; }; } #pragma GCC visibility pop # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ostream_insert.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template inline void __ostream_write(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s, streamsize __n) { typedef basic_ostream<_CharT, _Traits> __ostream_type; typedef typename __ostream_type::ios_base __ios_base; const streamsize __put = __out.rdbuf()->sputn(__s, __n); if (__put != __n) __out.setstate(__ios_base::badbit); } template inline void __ostream_fill(basic_ostream<_CharT, _Traits>& __out, streamsize __n) { typedef basic_ostream<_CharT, _Traits> __ostream_type; typedef typename __ostream_type::ios_base __ios_base; const _CharT __c = __out.fill(); for (; __n > 0; --__n) { const typename _Traits::int_type __put = __out.rdbuf()->sputc(__c); if (_Traits::eq_int_type(__put, _Traits::eof())) { __out.setstate(__ios_base::badbit); break; } } } template basic_ostream<_CharT, _Traits>& __ostream_insert(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s, streamsize __n) { typedef basic_ostream<_CharT, _Traits> __ostream_type; typedef typename __ostream_type::ios_base __ios_base; typename __ostream_type::sentry __cerb(__out); if (__cerb) { try { const streamsize __w = __out.width(); if (__w > __n) { const bool __left = ((__out.flags() & __ios_base::adjustfield) == __ios_base::left); if (!__left) __ostream_fill(__out, __w - __n); if (__out.good()) __ostream_write(__out, __s, __n); if (__left && __out.good()) __ostream_fill(__out, __w - __n); } else __ostream_write(__out, __s, __n); __out.width(0); } catch(__cxxabiv1::__forced_unwind&) { __out._M_setstate(__ios_base::badbit); throw; } catch(...) { __out._M_setstate(__ios_base::badbit); } } return __out; } extern template ostream& __ostream_insert(ostream&, const char*, streamsize); extern template wostream& __ostream_insert(wostream&, const wchar_t*, streamsize); } # 45 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 1 3 # 63 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 104 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 template struct unary_function { typedef _Arg argument_type; typedef _Result result_type; }; template struct binary_function { typedef _Arg1 first_argument_type; typedef _Arg2 second_argument_type; typedef _Result result_type; }; # 166 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 template struct plus : public binary_function<_Tp, _Tp, _Tp> { _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x + __y; } }; template struct minus : public binary_function<_Tp, _Tp, _Tp> { _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x - __y; } }; template struct multiplies : public binary_function<_Tp, _Tp, _Tp> { _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x * __y; } }; template struct divides : public binary_function<_Tp, _Tp, _Tp> { _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x / __y; } }; template struct modulus : public binary_function<_Tp, _Tp, _Tp> { _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x % __y; } }; template struct negate : public unary_function<_Tp, _Tp> { _Tp operator()(const _Tp& __x) const { return -__x; } }; # 350 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 template struct equal_to : public binary_function<_Tp, _Tp, bool> { bool operator()(const _Tp& __x, const _Tp& __y) const { return __x == __y; } }; template struct not_equal_to : public binary_function<_Tp, _Tp, bool> { bool operator()(const _Tp& __x, const _Tp& __y) const { return __x != __y; } }; template struct greater : public binary_function<_Tp, _Tp, bool> { bool operator()(const _Tp& __x, const _Tp& __y) const { return __x > __y; } }; template struct less : public binary_function<_Tp, _Tp, bool> { bool operator()(const _Tp& __x, const _Tp& __y) const { return __x < __y; } }; template struct greater_equal : public binary_function<_Tp, _Tp, bool> { bool operator()(const _Tp& __x, const _Tp& __y) const { return __x >= __y; } }; template struct less_equal : public binary_function<_Tp, _Tp, bool> { bool operator()(const _Tp& __x, const _Tp& __y) const { return __x <= __y; } }; template struct greater<_Tp*> : public binary_function<_Tp*, _Tp*, bool> { bool operator()(_Tp* __x, _Tp* __y) const noexcept { # 424 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 return (long unsigned int)__x > (long unsigned int)__y; } }; template struct less<_Tp*> : public binary_function<_Tp*, _Tp*, bool> { bool operator()(_Tp* __x, _Tp* __y) const noexcept { # 443 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 return (long unsigned int)__x < (long unsigned int)__y; } }; template struct greater_equal<_Tp*> : public binary_function<_Tp*, _Tp*, bool> { bool operator()(_Tp* __x, _Tp* __y) const noexcept { # 462 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 return (long unsigned int)__x >= (long unsigned int)__y; } }; template struct less_equal<_Tp*> : public binary_function<_Tp*, _Tp*, bool> { bool operator()(_Tp* __x, _Tp* __y) const noexcept { # 481 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 return (long unsigned int)__x <= (long unsigned int)__y; } }; # 785 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 template struct logical_and : public binary_function<_Tp, _Tp, bool> { bool operator()(const _Tp& __x, const _Tp& __y) const { return __x && __y; } }; template struct logical_or : public binary_function<_Tp, _Tp, bool> { bool operator()(const _Tp& __x, const _Tp& __y) const { return __x || __y; } }; template struct logical_not : public unary_function<_Tp, bool> { bool operator()(const _Tp& __x) const { return !__x; } }; # 878 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 template struct bit_and : public binary_function<_Tp, _Tp, _Tp> { _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x & __y; } }; template struct bit_or : public binary_function<_Tp, _Tp, _Tp> { _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x | __y; } }; template struct bit_xor : public binary_function<_Tp, _Tp, _Tp> { _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x ^ __y; } }; template struct bit_not : public unary_function<_Tp, _Tp> { _Tp operator()(const _Tp& __x) const { return ~__x; } }; # 1002 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 template class unary_negate : public unary_function { protected: _Predicate _M_pred; public: explicit unary_negate(const _Predicate& __x) : _M_pred(__x) { } bool operator()(const typename _Predicate::argument_type& __x) const { return !_M_pred(__x); } }; template inline unary_negate<_Predicate> not1(const _Predicate& __pred) { return unary_negate<_Predicate>(__pred); } template class binary_negate : public binary_function { protected: _Predicate _M_pred; public: explicit binary_negate(const _Predicate& __x) : _M_pred(__x) { } bool operator()(const typename _Predicate::first_argument_type& __x, const typename _Predicate::second_argument_type& __y) const { return !_M_pred(__x, __y); } }; template inline binary_negate<_Predicate> not2(const _Predicate& __pred) { return binary_negate<_Predicate>(__pred); } # 1079 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 template class pointer_to_unary_function : public unary_function<_Arg, _Result> { protected: _Result (*_M_ptr)(_Arg); public: pointer_to_unary_function() { } explicit pointer_to_unary_function(_Result (*__x)(_Arg)) : _M_ptr(__x) { } _Result operator()(_Arg __x) const { return _M_ptr(__x); } }; template inline pointer_to_unary_function<_Arg, _Result> ptr_fun(_Result (*__x)(_Arg)) { return pointer_to_unary_function<_Arg, _Result>(__x); } template class pointer_to_binary_function : public binary_function<_Arg1, _Arg2, _Result> { protected: _Result (*_M_ptr)(_Arg1, _Arg2); public: pointer_to_binary_function() { } explicit pointer_to_binary_function(_Result (*__x)(_Arg1, _Arg2)) : _M_ptr(__x) { } _Result operator()(_Arg1 __x, _Arg2 __y) const { return _M_ptr(__x, __y); } }; template inline pointer_to_binary_function<_Arg1, _Arg2, _Result> ptr_fun(_Result (*__x)(_Arg1, _Arg2)) { return pointer_to_binary_function<_Arg1, _Arg2, _Result>(__x); } template struct _Identity : public unary_function<_Tp, _Tp> { _Tp& operator()(_Tp& __x) const { return __x; } const _Tp& operator()(const _Tp& __x) const { return __x; } }; template struct _Identity : _Identity<_Tp> { }; template struct _Select1st : public unary_function<_Pair, typename _Pair::first_type> { typename _Pair::first_type& operator()(_Pair& __x) const { return __x.first; } const typename _Pair::first_type& operator()(const _Pair& __x) const { return __x.first; } template typename _Pair2::first_type& operator()(_Pair2& __x) const { return __x.first; } template const typename _Pair2::first_type& operator()(const _Pair2& __x) const { return __x.first; } }; template struct _Select2nd : public unary_function<_Pair, typename _Pair::second_type> { typename _Pair::second_type& operator()(_Pair& __x) const { return __x.second; } const typename _Pair::second_type& operator()(const _Pair& __x) const { return __x.second; } }; # 1202 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 template class mem_fun_t : public unary_function<_Tp*, _Ret> { public: explicit mem_fun_t(_Ret (_Tp::*__pf)()) : _M_f(__pf) { } _Ret operator()(_Tp* __p) const { return (__p->*_M_f)(); } private: _Ret (_Tp::*_M_f)(); }; template class const_mem_fun_t : public unary_function { public: explicit const_mem_fun_t(_Ret (_Tp::*__pf)() const) : _M_f(__pf) { } _Ret operator()(const _Tp* __p) const { return (__p->*_M_f)(); } private: _Ret (_Tp::*_M_f)() const; }; template class mem_fun_ref_t : public unary_function<_Tp, _Ret> { public: explicit mem_fun_ref_t(_Ret (_Tp::*__pf)()) : _M_f(__pf) { } _Ret operator()(_Tp& __r) const { return (__r.*_M_f)(); } private: _Ret (_Tp::*_M_f)(); }; template class const_mem_fun_ref_t : public unary_function<_Tp, _Ret> { public: explicit const_mem_fun_ref_t(_Ret (_Tp::*__pf)() const) : _M_f(__pf) { } _Ret operator()(const _Tp& __r) const { return (__r.*_M_f)(); } private: _Ret (_Tp::*_M_f)() const; }; template class mem_fun1_t : public binary_function<_Tp*, _Arg, _Ret> { public: explicit mem_fun1_t(_Ret (_Tp::*__pf)(_Arg)) : _M_f(__pf) { } _Ret operator()(_Tp* __p, _Arg __x) const { return (__p->*_M_f)(__x); } private: _Ret (_Tp::*_M_f)(_Arg); }; template class const_mem_fun1_t : public binary_function { public: explicit const_mem_fun1_t(_Ret (_Tp::*__pf)(_Arg) const) : _M_f(__pf) { } _Ret operator()(const _Tp* __p, _Arg __x) const { return (__p->*_M_f)(__x); } private: _Ret (_Tp::*_M_f)(_Arg) const; }; template class mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret> { public: explicit mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg)) : _M_f(__pf) { } _Ret operator()(_Tp& __r, _Arg __x) const { return (__r.*_M_f)(__x); } private: _Ret (_Tp::*_M_f)(_Arg); }; template class const_mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret> { public: explicit const_mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg) const) : _M_f(__pf) { } _Ret operator()(const _Tp& __r, _Arg __x) const { return (__r.*_M_f)(__x); } private: _Ret (_Tp::*_M_f)(_Arg) const; }; template inline mem_fun_t<_Ret, _Tp> mem_fun(_Ret (_Tp::*__f)()) { return mem_fun_t<_Ret, _Tp>(__f); } template inline const_mem_fun_t<_Ret, _Tp> mem_fun(_Ret (_Tp::*__f)() const) { return const_mem_fun_t<_Ret, _Tp>(__f); } template inline mem_fun_ref_t<_Ret, _Tp> mem_fun_ref(_Ret (_Tp::*__f)()) { return mem_fun_ref_t<_Ret, _Tp>(__f); } template inline const_mem_fun_ref_t<_Ret, _Tp> mem_fun_ref(_Ret (_Tp::*__f)() const) { return const_mem_fun_ref_t<_Ret, _Tp>(__f); } template inline mem_fun1_t<_Ret, _Tp, _Arg> mem_fun(_Ret (_Tp::*__f)(_Arg)) { return mem_fun1_t<_Ret, _Tp, _Arg>(__f); } template inline const_mem_fun1_t<_Ret, _Tp, _Arg> mem_fun(_Ret (_Tp::*__f)(_Arg) const) { return const_mem_fun1_t<_Ret, _Tp, _Arg>(__f); } template inline mem_fun1_ref_t<_Ret, _Tp, _Arg> mem_fun_ref(_Ret (_Tp::*__f)(_Arg)) { return mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); } template inline const_mem_fun1_ref_t<_Ret, _Tp, _Arg> mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) { return const_mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); } } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/backward/binders.h" 1 3 # 60 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/backward/binders.h" 3 #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdeprecated-declarations" namespace std __attribute__ ((__visibility__ ("default"))) { # 107 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/backward/binders.h" 3 template class binder1st : public unary_function { protected: _Operation op; typename _Operation::first_argument_type value; public: binder1st(const _Operation& __x, const typename _Operation::first_argument_type& __y) : op(__x), value(__y) { } typename _Operation::result_type operator()(const typename _Operation::second_argument_type& __x) const { return op(value, __x); } typename _Operation::result_type operator()(typename _Operation::second_argument_type& __x) const { return op(value, __x); } } __attribute__ ((__deprecated__)); template inline binder1st<_Operation> bind1st(const _Operation& __fn, const _Tp& __x) { typedef typename _Operation::first_argument_type _Arg1_type; return binder1st<_Operation>(__fn, _Arg1_type(__x)); } template class binder2nd : public unary_function { protected: _Operation op; typename _Operation::second_argument_type value; public: binder2nd(const _Operation& __x, const typename _Operation::second_argument_type& __y) : op(__x), value(__y) { } typename _Operation::result_type operator()(const typename _Operation::first_argument_type& __x) const { return op(__x, value); } typename _Operation::result_type operator()(typename _Operation::first_argument_type& __x) const { return op(__x, value); } } __attribute__ ((__deprecated__)); template inline binder2nd<_Operation> bind2nd(const _Operation& __fn, const _Tp& __x) { typedef typename _Operation::second_argument_type _Arg2_type; return binder2nd<_Operation>(__fn, _Arg2_type(__x)); } } #pragma GCC diagnostic pop # 1393 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 2 3 # 49 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/range_access.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/range_access.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/iterator_concepts.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/iterator_concepts.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/concepts" 1 3 # 36 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/iterator_concepts.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/range_cmp.h" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/iterator_concepts.h" 2 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/range_access.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template inline auto begin(_Container& __cont) -> decltype(__cont.begin()) { return __cont.begin(); } template inline auto begin(const _Container& __cont) -> decltype(__cont.begin()) { return __cont.begin(); } template inline auto end(_Container& __cont) -> decltype(__cont.end()) { return __cont.end(); } template inline auto end(const _Container& __cont) -> decltype(__cont.end()) { return __cont.end(); } template inline _Tp* begin(_Tp (&__arr)[_Nm]) { return __arr; } template inline _Tp* end(_Tp (&__arr)[_Nm]) { return __arr + _Nm; } # 1154 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/range_access.h" 3 } # 55 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/atomicity.h" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/atomicity.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr.h" 1 3 # 30 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr.h" 3 #pragma GCC visibility push(default) # 148 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 1 3 # 35 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 3 # 1 "/usr/include/pthread.h" 1 3 4 # 23 "/usr/include/pthread.h" 3 4 # 1 "/usr/include/sched.h" 1 3 4 # 29 "/usr/include/sched.h" 3 4 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 4 # 30 "/usr/include/sched.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 34 "/usr/include/sched.h" 2 3 4 # 1 "/usr/include/bits/sched.h" 1 3 4 # 73 "/usr/include/bits/sched.h" 3 4 struct sched_param { int __sched_priority; }; extern "C" { extern int clone (int (*__fn) (void *__arg), void *__child_stack, int __flags, void *__arg, ...) throw (); extern int unshare (int __flags) throw (); extern int sched_getcpu (void) throw (); extern int setns (int __fd, int __nstype) throw (); } struct __sched_param { int __sched_priority; }; # 119 "/usr/include/bits/sched.h" 3 4 typedef unsigned long int __cpu_mask; typedef struct { __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; } cpu_set_t; # 202 "/usr/include/bits/sched.h" 3 4 extern "C" { extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp) throw (); extern cpu_set_t *__sched_cpualloc (size_t __count) throw () ; extern void __sched_cpufree (cpu_set_t *__set) throw (); } # 43 "/usr/include/sched.h" 2 3 4 extern "C" { extern int sched_setparam (__pid_t __pid, const struct sched_param *__param) throw (); extern int sched_getparam (__pid_t __pid, struct sched_param *__param) throw (); extern int sched_setscheduler (__pid_t __pid, int __policy, const struct sched_param *__param) throw (); extern int sched_getscheduler (__pid_t __pid) throw (); extern int sched_yield (void) throw (); extern int sched_get_priority_max (int __algorithm) throw (); extern int sched_get_priority_min (int __algorithm) throw (); extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) throw (); # 117 "/usr/include/sched.h" 3 4 extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize, const cpu_set_t *__cpuset) throw (); extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize, cpu_set_t *__cpuset) throw (); } # 24 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 29 "/usr/include/time.h" 3 4 extern "C" { # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 4 # 38 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 88 "/usr/include/bits/time.h" 3 4 # 1 "/usr/include/bits/timex.h" 1 3 4 # 25 "/usr/include/bits/timex.h" 3 4 struct timex { unsigned int modes; __syscall_slong_t offset; __syscall_slong_t freq; __syscall_slong_t maxerror; __syscall_slong_t esterror; int status; __syscall_slong_t constant; __syscall_slong_t precision; __syscall_slong_t tolerance; struct timeval time; __syscall_slong_t tick; __syscall_slong_t ppsfreq; __syscall_slong_t jitter; int shift; __syscall_slong_t stabil; __syscall_slong_t jitcnt; __syscall_slong_t calcnt; __syscall_slong_t errcnt; __syscall_slong_t stbcnt; int tai; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; }; # 89 "/usr/include/bits/time.h" 2 3 4 extern "C" { extern int clock_adjtime (__clockid_t __clock_id, struct timex *__utx) throw (); } # 42 "/usr/include/time.h" 2 3 4 # 133 "/usr/include/time.h" 3 4 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; const char *tm_zone; }; # 161 "/usr/include/time.h" 3 4 struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; # 189 "/usr/include/time.h" 3 4 extern clock_t clock (void) throw (); extern time_t time (time_t *__timer) throw (); extern double difftime (time_t __time1, time_t __time0) throw () __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) throw (); extern size_t strftime (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp) throw (); extern char *strptime (const char *__restrict __s, const char *__restrict __fmt, struct tm *__tp) throw (); extern size_t strftime_l (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp, __locale_t __loc) throw (); extern char *strptime_l (const char *__restrict __s, const char *__restrict __fmt, struct tm *__tp, __locale_t __loc) throw (); extern struct tm *gmtime (const time_t *__timer) throw (); extern struct tm *localtime (const time_t *__timer) throw (); extern struct tm *gmtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) throw (); extern struct tm *localtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) throw (); extern char *asctime (const struct tm *__tp) throw (); extern char *ctime (const time_t *__timer) throw (); extern char *asctime_r (const struct tm *__restrict __tp, char *__restrict __buf) throw (); extern char *ctime_r (const time_t *__restrict __timer, char *__restrict __buf) throw (); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) throw (); extern int daylight; extern long int timezone; extern int stime (const time_t *__when) throw (); # 319 "/usr/include/time.h" 3 4 extern time_t timegm (struct tm *__tp) throw (); extern time_t timelocal (struct tm *__tp) throw (); extern int dysize (int __year) throw () __attribute__ ((__const__)); # 334 "/usr/include/time.h" 3 4 extern int nanosleep (const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) throw (); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) throw (); extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) throw (); extern int clock_nanosleep (clockid_t __clock_id, int __flags, const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) throw (); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) throw (); extern int timer_delete (timer_t __timerid) throw (); extern int timer_settime (timer_t __timerid, int __flags, const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) throw (); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) throw (); extern int timer_getoverrun (timer_t __timerid) throw (); extern int timespec_get (struct timespec *__ts, int __base) throw () __attribute__ ((__nonnull__ (1))); # 403 "/usr/include/time.h" 3 4 extern int getdate_err; # 412 "/usr/include/time.h" 3 4 extern struct tm *getdate (const char *__string); # 426 "/usr/include/time.h" 3 4 extern int getdate_r (const char *__restrict __string, struct tm *__restrict __resbufp); } # 25 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/bits/setjmp.h" 1 3 4 # 26 "/usr/include/bits/setjmp.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 27 "/usr/include/bits/setjmp.h" 2 3 4 typedef long int __jmp_buf[8]; # 28 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/pthread.h" 2 3 4 enum { PTHREAD_CREATE_JOINABLE, PTHREAD_CREATE_DETACHED }; enum { PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_ADAPTIVE_NP , PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP }; enum { PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_STALLED_NP = PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_ROBUST, PTHREAD_MUTEX_ROBUST_NP = PTHREAD_MUTEX_ROBUST }; enum { PTHREAD_PRIO_NONE, PTHREAD_PRIO_INHERIT, PTHREAD_PRIO_PROTECT }; # 116 "/usr/include/pthread.h" 3 4 enum { PTHREAD_RWLOCK_PREFER_READER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP }; # 157 "/usr/include/pthread.h" 3 4 enum { PTHREAD_INHERIT_SCHED, PTHREAD_EXPLICIT_SCHED }; enum { PTHREAD_SCOPE_SYSTEM, PTHREAD_SCOPE_PROCESS }; enum { PTHREAD_PROCESS_PRIVATE, PTHREAD_PROCESS_SHARED }; # 192 "/usr/include/pthread.h" 3 4 struct _pthread_cleanup_buffer { void (*__routine) (void *); void *__arg; int __canceltype; struct _pthread_cleanup_buffer *__prev; }; enum { PTHREAD_CANCEL_ENABLE, PTHREAD_CANCEL_DISABLE }; enum { PTHREAD_CANCEL_DEFERRED, PTHREAD_CANCEL_ASYNCHRONOUS }; # 230 "/usr/include/pthread.h" 3 4 extern "C" { extern int pthread_create (pthread_t *__restrict __newthread, const pthread_attr_t *__restrict __attr, void *(*__start_routine) (void *), void *__restrict __arg) throw () __attribute__ ((__nonnull__ (1, 3))); extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); extern int pthread_join (pthread_t __th, void **__thread_return); extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) throw (); extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return, const struct timespec *__abstime); extern int pthread_detach (pthread_t __th) throw (); extern pthread_t pthread_self (void) throw () __attribute__ ((__const__)); extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) throw () __attribute__ ((__const__)); extern int pthread_attr_init (pthread_attr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_destroy (pthread_attr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getdetachstate (const pthread_attr_t *__attr, int *__detachstate) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, int __detachstate) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getguardsize (const pthread_attr_t *__attr, size_t *__guardsize) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setguardsize (pthread_attr_t *__attr, size_t __guardsize) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getschedparam (const pthread_attr_t *__restrict __attr, struct sched_param *__restrict __param) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, const struct sched_param *__restrict __param) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_getschedpolicy (const pthread_attr_t *__restrict __attr, int *__restrict __policy) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getinheritsched (const pthread_attr_t *__restrict __attr, int *__restrict __inherit) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, int __inherit) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getscope (const pthread_attr_t *__restrict __attr, int *__restrict __scope) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstackaddr (const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr) throw () __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__)); extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, void *__stackaddr) throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)); extern int pthread_attr_getstacksize (const pthread_attr_t *__restrict __attr, size_t *__restrict __stacksize) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setstacksize (pthread_attr_t *__attr, size_t __stacksize) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstack (const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr, size_t *__restrict __stacksize) throw () __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, size_t __stacksize) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr, size_t __cpusetsize, const cpu_set_t *__cpuset) throw () __attribute__ ((__nonnull__ (1, 3))); extern int pthread_attr_getaffinity_np (const pthread_attr_t *__attr, size_t __cpusetsize, cpu_set_t *__cpuset) throw () __attribute__ ((__nonnull__ (1, 3))); extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr) throw () __attribute__ ((__nonnull__ (2))); extern int pthread_setschedparam (pthread_t __target_thread, int __policy, const struct sched_param *__param) throw () __attribute__ ((__nonnull__ (3))); extern int pthread_getschedparam (pthread_t __target_thread, int *__restrict __policy, struct sched_param *__restrict __param) throw () __attribute__ ((__nonnull__ (2, 3))); extern int pthread_setschedprio (pthread_t __target_thread, int __prio) throw (); extern int pthread_getname_np (pthread_t __target_thread, char *__buf, size_t __buflen) throw () __attribute__ ((__nonnull__ (2))); extern int pthread_setname_np (pthread_t __target_thread, const char *__name) throw () __attribute__ ((__nonnull__ (2))); extern int pthread_getconcurrency (void) throw (); extern int pthread_setconcurrency (int __level) throw (); extern int pthread_yield (void) throw (); extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize, const cpu_set_t *__cpuset) throw () __attribute__ ((__nonnull__ (3))); extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize, cpu_set_t *__cpuset) throw () __attribute__ ((__nonnull__ (3))); # 488 "/usr/include/pthread.h" 3 4 extern int pthread_once (pthread_once_t *__once_control, void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2))); # 500 "/usr/include/pthread.h" 3 4 extern int pthread_setcancelstate (int __state, int *__oldstate); extern int pthread_setcanceltype (int __type, int *__oldtype); extern int pthread_cancel (pthread_t __th); extern void pthread_testcancel (void); typedef struct { struct { __jmp_buf __cancel_jmp_buf; int __mask_was_saved; } __cancel_jmp_buf[1]; void *__pad[4]; } __pthread_unwind_buf_t __attribute__ ((__aligned__)); # 534 "/usr/include/pthread.h" 3 4 struct __pthread_cleanup_frame { void (*__cancel_routine) (void *); void *__cancel_arg; int __do_it; int __cancel_type; }; class __pthread_cleanup_class { void (*__cancel_routine) (void *); void *__cancel_arg; int __do_it; int __cancel_type; public: __pthread_cleanup_class (void (*__fct) (void *), void *__arg) : __cancel_routine (__fct), __cancel_arg (__arg), __do_it (1) { } ~__pthread_cleanup_class () { if (__do_it) __cancel_routine (__cancel_arg); } void __setdoit (int __newval) { __do_it = __newval; } void __defer () { pthread_setcanceltype (PTHREAD_CANCEL_DEFERRED, &__cancel_type); } void __restore () const { pthread_setcanceltype (__cancel_type, 0); } }; # 736 "/usr/include/pthread.h" 3 4 struct __jmp_buf_tag; extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) throw (); extern int pthread_mutex_init (pthread_mutex_t *__mutex, const pthread_mutexattr_t *__mutexattr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_lock (pthread_mutex_t *__mutex) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, const struct timespec *__restrict __abstime) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_getprioceiling (const pthread_mutex_t * __restrict __mutex, int *__restrict __prioceiling) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex, int __prioceiling, int *__restrict __old_ceiling) throw () __attribute__ ((__nonnull__ (1, 3))); extern int pthread_mutex_consistent (pthread_mutex_t *__mutex) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex) throw () __attribute__ ((__nonnull__ (1))); # 800 "/usr/include/pthread.h" 3 4 extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getpshared (const pthread_mutexattr_t * __restrict __attr, int *__restrict __pshared) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, int __pshared) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_gettype (const pthread_mutexattr_t *__restrict __attr, int *__restrict __kind) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getprotocol (const pthread_mutexattr_t * __restrict __attr, int *__restrict __protocol) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr, int __protocol) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getprioceiling (const pthread_mutexattr_t * __restrict __attr, int *__restrict __prioceiling) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr, int __prioceiling) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getrobust (const pthread_mutexattr_t *__attr, int *__robustness) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_getrobust_np (const pthread_mutexattr_t *__attr, int *__robustness) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr, int __robustness) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *__attr, int __robustness) throw () __attribute__ ((__nonnull__ (1))); # 882 "/usr/include/pthread.h" 3 4 extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, const pthread_rwlockattr_t *__restrict __attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, const struct timespec *__restrict __abstime) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, const struct timespec *__restrict __abstime) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getpshared (const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pshared) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, int __pshared) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getkind_np (const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pref) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, int __pref) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_cond_init (pthread_cond_t *__restrict __cond, const pthread_condattr_t *__restrict __cond_attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_cond_destroy (pthread_cond_t *__cond) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_cond_signal (pthread_cond_t *__cond) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_cond_broadcast (pthread_cond_t *__cond) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex) __attribute__ ((__nonnull__ (1, 2))); # 994 "/usr/include/pthread.h" 3 4 extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex, const struct timespec *__restrict __abstime) __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_condattr_init (pthread_condattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_destroy (pthread_condattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getpshared (const pthread_condattr_t * __restrict __attr, int *__restrict __pshared) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, int __pshared) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getclock (const pthread_condattr_t * __restrict __attr, __clockid_t *__restrict __clock_id) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setclock (pthread_condattr_t *__attr, __clockid_t __clock_id) throw () __attribute__ ((__nonnull__ (1))); # 1038 "/usr/include/pthread.h" 3 4 extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_spin_destroy (pthread_spinlock_t *__lock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_spin_lock (pthread_spinlock_t *__lock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_spin_trylock (pthread_spinlock_t *__lock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_spin_unlock (pthread_spinlock_t *__lock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, const pthread_barrierattr_t *__restrict __attr, unsigned int __count) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_wait (pthread_barrier_t *__barrier) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_getpshared (const pthread_barrierattr_t * __restrict __attr, int *__restrict __pshared) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, int __pshared) throw () __attribute__ ((__nonnull__ (1))); # 1105 "/usr/include/pthread.h" 3 4 extern int pthread_key_create (pthread_key_t *__key, void (*__destr_function) (void *)) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_key_delete (pthread_key_t __key) throw (); extern void *pthread_getspecific (pthread_key_t __key) throw (); extern int pthread_setspecific (pthread_key_t __key, const void *__pointer) throw () ; extern int pthread_getcpuclockid (pthread_t __thread_id, __clockid_t *__clock_id) throw () __attribute__ ((__nonnull__ (2))); # 1139 "/usr/include/pthread.h" 3 4 extern int pthread_atfork (void (*__prepare) (void), void (*__parent) (void), void (*__child) (void)) throw (); extern __inline __attribute__ ((__gnu_inline__)) int pthread_equal (pthread_t __thread1, pthread_t __thread2) throw () { return __thread1 == __thread2; } } # 36 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 2 3 # 47 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 3 typedef pthread_t __gthread_t; typedef pthread_key_t __gthread_key_t; typedef pthread_once_t __gthread_once_t; typedef pthread_mutex_t __gthread_mutex_t; typedef pthread_mutex_t __gthread_recursive_mutex_t; typedef pthread_cond_t __gthread_cond_t; typedef struct timespec __gthread_time_t; # 102 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 3 static __typeof(pthread_once) __gthrw_pthread_once __attribute__ ((__weakref__("pthread_once"), __copy__ (pthread_once))); static __typeof(pthread_getspecific) __gthrw_pthread_getspecific __attribute__ ((__weakref__("pthread_getspecific"), __copy__ (pthread_getspecific))); static __typeof(pthread_setspecific) __gthrw_pthread_setspecific __attribute__ ((__weakref__("pthread_setspecific"), __copy__ (pthread_setspecific))); static __typeof(pthread_create) __gthrw_pthread_create __attribute__ ((__weakref__("pthread_create"), __copy__ (pthread_create))); static __typeof(pthread_join) __gthrw_pthread_join __attribute__ ((__weakref__("pthread_join"), __copy__ (pthread_join))); static __typeof(pthread_equal) __gthrw_pthread_equal __attribute__ ((__weakref__("pthread_equal"), __copy__ (pthread_equal))); static __typeof(pthread_self) __gthrw_pthread_self __attribute__ ((__weakref__("pthread_self"), __copy__ (pthread_self))); static __typeof(pthread_detach) __gthrw_pthread_detach __attribute__ ((__weakref__("pthread_detach"), __copy__ (pthread_detach))); static __typeof(pthread_cancel) __gthrw_pthread_cancel __attribute__ ((__weakref__("pthread_cancel"), __copy__ (pthread_cancel))); static __typeof(sched_yield) __gthrw_sched_yield __attribute__ ((__weakref__("sched_yield"), __copy__ (sched_yield))); static __typeof(pthread_mutex_lock) __gthrw_pthread_mutex_lock __attribute__ ((__weakref__("pthread_mutex_lock"), __copy__ (pthread_mutex_lock))); static __typeof(pthread_mutex_trylock) __gthrw_pthread_mutex_trylock __attribute__ ((__weakref__("pthread_mutex_trylock"), __copy__ (pthread_mutex_trylock))); static __typeof(pthread_mutex_timedlock) __gthrw_pthread_mutex_timedlock __attribute__ ((__weakref__("pthread_mutex_timedlock"), __copy__ (pthread_mutex_timedlock))); static __typeof(pthread_mutex_unlock) __gthrw_pthread_mutex_unlock __attribute__ ((__weakref__("pthread_mutex_unlock"), __copy__ (pthread_mutex_unlock))); static __typeof(pthread_mutex_init) __gthrw_pthread_mutex_init __attribute__ ((__weakref__("pthread_mutex_init"), __copy__ (pthread_mutex_init))); static __typeof(pthread_mutex_destroy) __gthrw_pthread_mutex_destroy __attribute__ ((__weakref__("pthread_mutex_destroy"), __copy__ (pthread_mutex_destroy))); static __typeof(pthread_cond_init) __gthrw_pthread_cond_init __attribute__ ((__weakref__("pthread_cond_init"), __copy__ (pthread_cond_init))); static __typeof(pthread_cond_broadcast) __gthrw_pthread_cond_broadcast __attribute__ ((__weakref__("pthread_cond_broadcast"), __copy__ (pthread_cond_broadcast))); static __typeof(pthread_cond_signal) __gthrw_pthread_cond_signal __attribute__ ((__weakref__("pthread_cond_signal"), __copy__ (pthread_cond_signal))); static __typeof(pthread_cond_wait) __gthrw_pthread_cond_wait __attribute__ ((__weakref__("pthread_cond_wait"), __copy__ (pthread_cond_wait))); static __typeof(pthread_cond_timedwait) __gthrw_pthread_cond_timedwait __attribute__ ((__weakref__("pthread_cond_timedwait"), __copy__ (pthread_cond_timedwait))); static __typeof(pthread_cond_destroy) __gthrw_pthread_cond_destroy __attribute__ ((__weakref__("pthread_cond_destroy"), __copy__ (pthread_cond_destroy))); static __typeof(pthread_key_create) __gthrw_pthread_key_create __attribute__ ((__weakref__("pthread_key_create"), __copy__ (pthread_key_create))); static __typeof(pthread_key_delete) __gthrw_pthread_key_delete __attribute__ ((__weakref__("pthread_key_delete"), __copy__ (pthread_key_delete))); static __typeof(pthread_mutexattr_init) __gthrw_pthread_mutexattr_init __attribute__ ((__weakref__("pthread_mutexattr_init"), __copy__ (pthread_mutexattr_init))); static __typeof(pthread_mutexattr_settype) __gthrw_pthread_mutexattr_settype __attribute__ ((__weakref__("pthread_mutexattr_settype"), __copy__ (pthread_mutexattr_settype))); static __typeof(pthread_mutexattr_destroy) __gthrw_pthread_mutexattr_destroy __attribute__ ((__weakref__("pthread_mutexattr_destroy"), __copy__ (pthread_mutexattr_destroy))); # 237 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 3 static __typeof(pthread_key_create) __gthrw___pthread_key_create __attribute__ ((__weakref__("__pthread_key_create"), __copy__ (pthread_key_create))); # 247 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 3 static inline int __gthread_active_p (void) { static void *const __gthread_active_ptr = __extension__ (void *) &__gthrw___pthread_key_create; return __gthread_active_ptr != 0; } # 659 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 3 static inline int __gthread_create (__gthread_t *__threadid, void *(*__func) (void*), void *__args) { return __gthrw_pthread_create (__threadid, __null, __func, __args); } static inline int __gthread_join (__gthread_t __threadid, void **__value_ptr) { return __gthrw_pthread_join (__threadid, __value_ptr); } static inline int __gthread_detach (__gthread_t __threadid) { return __gthrw_pthread_detach (__threadid); } static inline int __gthread_equal (__gthread_t __t1, __gthread_t __t2) { return __gthrw_pthread_equal (__t1, __t2); } static inline __gthread_t __gthread_self (void) { return __gthrw_pthread_self (); } static inline int __gthread_yield (void) { return __gthrw_sched_yield (); } static inline int __gthread_once (__gthread_once_t *__once, void (*__func) (void)) { if (__gthread_active_p ()) return __gthrw_pthread_once (__once, __func); else return -1; } static inline int __gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) { return __gthrw_pthread_key_create (__key, __dtor); } static inline int __gthread_key_delete (__gthread_key_t __key) { return __gthrw_pthread_key_delete (__key); } static inline void * __gthread_getspecific (__gthread_key_t __key) { return __gthrw_pthread_getspecific (__key); } static inline int __gthread_setspecific (__gthread_key_t __key, const void *__ptr) { return __gthrw_pthread_setspecific (__key, __ptr); } static inline void __gthread_mutex_init_function (__gthread_mutex_t *__mutex) { if (__gthread_active_p ()) __gthrw_pthread_mutex_init (__mutex, __null); } static inline int __gthread_mutex_destroy (__gthread_mutex_t *__mutex) { if (__gthread_active_p ()) return __gthrw_pthread_mutex_destroy (__mutex); else return 0; } static inline int __gthread_mutex_lock (__gthread_mutex_t *__mutex) { if (__gthread_active_p ()) return __gthrw_pthread_mutex_lock (__mutex); else return 0; } static inline int __gthread_mutex_trylock (__gthread_mutex_t *__mutex) { if (__gthread_active_p ()) return __gthrw_pthread_mutex_trylock (__mutex); else return 0; } static inline int __gthread_mutex_timedlock (__gthread_mutex_t *__mutex, const __gthread_time_t *__abs_timeout) { if (__gthread_active_p ()) return __gthrw_pthread_mutex_timedlock (__mutex, __abs_timeout); else return 0; } static inline int __gthread_mutex_unlock (__gthread_mutex_t *__mutex) { if (__gthread_active_p ()) return __gthrw_pthread_mutex_unlock (__mutex); else return 0; } # 808 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 3 static inline int __gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *__mutex) { return __gthread_mutex_lock (__mutex); } static inline int __gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex) { return __gthread_mutex_trylock (__mutex); } static inline int __gthread_recursive_mutex_timedlock (__gthread_recursive_mutex_t *__mutex, const __gthread_time_t *__abs_timeout) { return __gthread_mutex_timedlock (__mutex, __abs_timeout); } static inline int __gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex) { return __gthread_mutex_unlock (__mutex); } static inline int __gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex) { return __gthread_mutex_destroy (__mutex); } # 850 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 3 static inline int __gthread_cond_broadcast (__gthread_cond_t *__cond) { return __gthrw_pthread_cond_broadcast (__cond); } static inline int __gthread_cond_signal (__gthread_cond_t *__cond) { return __gthrw_pthread_cond_signal (__cond); } static inline int __gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) { return __gthrw_pthread_cond_wait (__cond, __mutex); } static inline int __gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, const __gthread_time_t *__abs_timeout) { return __gthrw_pthread_cond_timedwait (__cond, __mutex, __abs_timeout); } static inline int __gthread_cond_wait_recursive (__gthread_cond_t *__cond, __gthread_recursive_mutex_t *__mutex) { return __gthread_cond_wait (__cond, __mutex); } static inline int __gthread_cond_destroy (__gthread_cond_t* __cond) { return __gthrw_pthread_cond_destroy (__cond); } # 149 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr.h" 2 3 #pragma GCC visibility pop # 36 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/atomicity.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/atomic_word.h" 1 3 # 32 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/atomic_word.h" 3 typedef int _Atomic_word; # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/atomicity.h" 2 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { inline _Atomic_word __attribute__((__always_inline__)) __exchange_and_add(volatile _Atomic_word* __mem, int __val) { return __atomic_fetch_add(__mem, __val, 4); } inline void __attribute__((__always_inline__)) __atomic_add(volatile _Atomic_word* __mem, int __val) { __atomic_fetch_add(__mem, __val, 4); } # 64 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/atomicity.h" 3 inline _Atomic_word __attribute__((__always_inline__)) __exchange_and_add_single(_Atomic_word* __mem, int __val) { _Atomic_word __result = *__mem; *__mem += __val; return __result; } inline void __attribute__((__always_inline__)) __atomic_add_single(_Atomic_word* __mem, int __val) { *__mem += __val; } inline _Atomic_word __attribute__ ((__always_inline__)) __exchange_and_add_dispatch(_Atomic_word* __mem, int __val) { if (__gthread_active_p()) return __exchange_and_add(__mem, __val); return __exchange_and_add_single(__mem, __val); } inline void __attribute__ ((__always_inline__)) __atomic_add_dispatch(_Atomic_word* __mem, int __val) { if (__gthread_active_p()) { __atomic_add(__mem, __val); return; } __atomic_add_single(__mem, __val); } } # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/alloc_traits.h" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/alloc_traits.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 1 3 # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { struct __allocator_traits_base { template struct __rebind : __replace_first_arg<_Tp, _Up> { }; template struct __rebind<_Tp, _Up, __void_t::other>> { using type = typename _Tp::template rebind<_Up>::other; }; protected: template using __pointer = typename _Tp::pointer; template using __c_pointer = typename _Tp::const_pointer; template using __v_pointer = typename _Tp::void_pointer; template using __cv_pointer = typename _Tp::const_void_pointer; template using __pocca = typename _Tp::propagate_on_container_copy_assignment; template using __pocma = typename _Tp::propagate_on_container_move_assignment; template using __pocs = typename _Tp::propagate_on_container_swap; template using __equal = typename _Tp::is_always_equal; }; template using __alloc_rebind = typename __allocator_traits_base::template __rebind<_Alloc, _Up>::type; template struct allocator_traits : __allocator_traits_base { typedef _Alloc allocator_type; typedef typename _Alloc::value_type value_type; using pointer = __detected_or_t; private: template class _Func, typename _Tp, typename = void> struct _Ptr { using type = typename pointer_traits::template rebind<_Tp>; }; template class _Func, typename _Tp> struct _Ptr<_Func, _Tp, __void_t<_Func<_Alloc>>> { using type = _Func<_Alloc>; }; template struct _Diff { using type = typename pointer_traits<_PtrT>::difference_type; }; template struct _Diff<_A2, _PtrT, __void_t> { using type = typename _A2::difference_type; }; template struct _Size : make_unsigned<_DiffT> { }; template struct _Size<_A2, _DiffT, __void_t> { using type = typename _A2::size_type; }; public: using const_pointer = typename _Ptr<__c_pointer, const value_type>::type; using void_pointer = typename _Ptr<__v_pointer, void>::type; using const_void_pointer = typename _Ptr<__cv_pointer, const void>::type; using difference_type = typename _Diff<_Alloc, pointer>::type; using size_type = typename _Size<_Alloc, difference_type>::type; using propagate_on_container_copy_assignment = __detected_or_t; using propagate_on_container_move_assignment = __detected_or_t; using propagate_on_container_swap = __detected_or_t; using is_always_equal = __detected_or_t::type, __equal, _Alloc>; template using rebind_alloc = __alloc_rebind<_Alloc, _Tp>; template using rebind_traits = allocator_traits>; private: template static constexpr auto _S_allocate(_Alloc2& __a, size_type __n, const_void_pointer __hint, int) -> decltype(__a.allocate(__n, __hint)) { return __a.allocate(__n, __hint); } template static constexpr pointer _S_allocate(_Alloc2& __a, size_type __n, const_void_pointer, ...) { return __a.allocate(__n); } template struct __construct_helper { template()->construct( std::declval<_Tp*>(), std::declval<_Args>()...))> static true_type __test(int); template static false_type __test(...); using type = decltype(__test<_Alloc>(0)); }; template using __has_construct = typename __construct_helper<_Tp, _Args...>::type; template static _Require<__has_construct<_Tp, _Args...>> _S_construct(_Alloc& __a, _Tp* __p, _Args&&... __args) noexcept(noexcept(__a.construct(__p, std::forward<_Args>(__args)...))) { __a.construct(__p, std::forward<_Args>(__args)...); } template static _Require<__and_<__not_<__has_construct<_Tp, _Args...>>, is_constructible<_Tp, _Args...>>> _S_construct(_Alloc&, _Tp* __p, _Args&&... __args) noexcept(std::is_nothrow_constructible<_Tp, _Args...>::value) { ::new((void*)__p) _Tp(std::forward<_Args>(__args)...); } template static auto _S_destroy(_Alloc2& __a, _Tp* __p, int) noexcept(noexcept(__a.destroy(__p))) -> decltype(__a.destroy(__p)) { __a.destroy(__p); } template static void _S_destroy(_Alloc2&, _Tp* __p, ...) noexcept(std::is_nothrow_destructible<_Tp>::value) { std::_Destroy(__p); } template static constexpr auto _S_max_size(_Alloc2& __a, int) -> decltype(__a.max_size()) { return __a.max_size(); } template static constexpr size_type _S_max_size(_Alloc2&, ...) { return __gnu_cxx::__numeric_traits::__max / sizeof(value_type); } template static constexpr auto _S_select(_Alloc2& __a, int) -> decltype(__a.select_on_container_copy_construction()) { return __a.select_on_container_copy_construction(); } template static constexpr _Alloc2 _S_select(_Alloc2& __a, ...) { return __a; } public: # 312 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 static pointer allocate(_Alloc& __a, size_type __n) { return __a.allocate(__n); } # 327 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 static pointer allocate(_Alloc& __a, size_type __n, const_void_pointer __hint) { return _S_allocate(__a, __n, __hint, 0); } # 339 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 static void deallocate(_Alloc& __a, pointer __p, size_type __n) { __a.deallocate(__p, __n); } # 354 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 template static auto construct(_Alloc& __a, _Tp* __p, _Args&&... __args) noexcept(noexcept(_S_construct(__a, __p, std::forward<_Args>(__args)...))) -> decltype(_S_construct(__a, __p, std::forward<_Args>(__args)...)) { _S_construct(__a, __p, std::forward<_Args>(__args)...); } # 370 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 template static void destroy(_Alloc& __a, _Tp* __p) noexcept(noexcept(_S_destroy(__a, __p, 0))) { _S_destroy(__a, __p, 0); } # 384 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 static size_type max_size(const _Alloc& __a) noexcept { return _S_max_size(__a, 0); } # 396 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 static _Alloc select_on_container_copy_construction(const _Alloc& __rhs) { return _S_select(__rhs, 0); } }; template struct allocator_traits> { using allocator_type = allocator<_Tp>; using value_type = _Tp; using pointer = _Tp*; using const_pointer = const _Tp*; using void_pointer = void*; using const_void_pointer = const void*; using difference_type = std::ptrdiff_t; using size_type = std::size_t; using propagate_on_container_copy_assignment = false_type; using propagate_on_container_move_assignment = true_type; using propagate_on_container_swap = false_type; using is_always_equal = true_type; template using rebind_alloc = allocator<_Up>; template using rebind_traits = allocator_traits>; # 458 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 static pointer allocate(allocator_type& __a, size_type __n) { return __a.allocate(__n); } # 472 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 static pointer allocate(allocator_type& __a, size_type __n, const_void_pointer __hint) { return __a.allocate(__n, __hint); } # 490 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 static void deallocate(allocator_type& __a, pointer __p, size_type __n) { __a.deallocate(__p, __n); } # 505 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 template static void construct(allocator_type& __a __attribute__((__unused__)), _Up* __p, _Args&&... __args) noexcept(std::is_nothrow_constructible<_Up, _Args...>::value) { __a.construct(__p, std::forward<_Args>(__args)...); } # 525 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 template static void destroy(allocator_type& __a __attribute__((__unused__)), _Up* __p) noexcept(is_nothrow_destructible<_Up>::value) { __a.destroy(__p); } static size_type max_size(const allocator_type& __a __attribute__((__unused__))) noexcept { return __a.max_size(); } static allocator_type select_on_container_copy_construction(const allocator_type& __rhs) { return __rhs; } }; template inline void __do_alloc_on_copy(_Alloc& __one, const _Alloc& __two, true_type) { __one = __two; } template inline void __do_alloc_on_copy(_Alloc&, const _Alloc&, false_type) { } template inline void __alloc_on_copy(_Alloc& __one, const _Alloc& __two) { typedef allocator_traits<_Alloc> __traits; typedef typename __traits::propagate_on_container_copy_assignment __pocca; __do_alloc_on_copy(__one, __two, __pocca()); } template constexpr _Alloc __alloc_on_copy(const _Alloc& __a) { typedef allocator_traits<_Alloc> __traits; return __traits::select_on_container_copy_construction(__a); } template inline void __do_alloc_on_move(_Alloc& __one, _Alloc& __two, true_type) { __one = std::move(__two); } template inline void __do_alloc_on_move(_Alloc&, _Alloc&, false_type) { } template inline void __alloc_on_move(_Alloc& __one, _Alloc& __two) { typedef allocator_traits<_Alloc> __traits; typedef typename __traits::propagate_on_container_move_assignment __pocma; __do_alloc_on_move(__one, __two, __pocma()); } template inline void __do_alloc_on_swap(_Alloc& __one, _Alloc& __two, true_type) { using std::swap; swap(__one, __two); } template inline void __do_alloc_on_swap(_Alloc&, _Alloc&, false_type) { } template inline void __alloc_on_swap(_Alloc& __one, _Alloc& __two) { typedef allocator_traits<_Alloc> __traits; typedef typename __traits::propagate_on_container_swap __pocs; __do_alloc_on_swap(__one, __two, __pocs()); } template, typename = void> struct __is_alloc_insertable_impl : false_type { }; template struct __is_alloc_insertable_impl<_Alloc, _Tp, _ValueT, __void_t::construct( std::declval<_Alloc&>(), std::declval<_ValueT*>(), std::declval<_Tp>()))>> : true_type { }; template struct __is_copy_insertable : __is_alloc_insertable_impl<_Alloc, typename _Alloc::value_type const&>::type { }; template struct __is_copy_insertable> : is_copy_constructible<_Tp> { }; template struct __is_move_insertable : __is_alloc_insertable_impl<_Alloc, typename _Alloc::value_type>::type { }; template struct __is_move_insertable> : is_move_constructible<_Tp> { }; template struct __is_allocator : false_type { }; template struct __is_allocator<_Alloc, __void_t().allocate(size_t{}))>> : true_type { }; template using _RequireAllocator = typename enable_if<__is_allocator<_Alloc>::value, _Alloc>::type; template using _RequireNotAllocator = typename enable_if::value, _Alloc>::type; # 719 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 template void _Destroy(_ForwardIterator __first, _ForwardIterator __last, _Allocator& __alloc) { for (; __first != __last; ++__first) allocator_traits<_Allocator>::destroy(__alloc, std::__addressof(*__first)); } template inline void _Destroy(_ForwardIterator __first, _ForwardIterator __last, allocator<_Tp>&) { _Destroy(__first, __last); } } # 35 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/alloc_traits.h" 2 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { template struct __alloc_traits : std::allocator_traits<_Alloc> { typedef _Alloc allocator_type; typedef std::allocator_traits<_Alloc> _Base_type; typedef typename _Base_type::value_type value_type; typedef typename _Base_type::pointer pointer; typedef typename _Base_type::const_pointer const_pointer; typedef typename _Base_type::size_type size_type; typedef typename _Base_type::difference_type difference_type; typedef value_type& reference; typedef const value_type& const_reference; using _Base_type::allocate; using _Base_type::deallocate; using _Base_type::construct; using _Base_type::destroy; using _Base_type::max_size; private: template using __is_custom_pointer = std::__and_, std::__not_>>; public: template static std::__enable_if_t<__is_custom_pointer<_Ptr>::value> construct(_Alloc& __a, _Ptr __p, _Args&&... __args) noexcept(noexcept(_Base_type::construct(__a, std::__to_address(__p), std::forward<_Args>(__args)...))) { _Base_type::construct(__a, std::__to_address(__p), std::forward<_Args>(__args)...); } template static std::__enable_if_t<__is_custom_pointer<_Ptr>::value> destroy(_Alloc& __a, _Ptr __p) noexcept(noexcept(_Base_type::destroy(__a, std::__to_address(__p)))) { _Base_type::destroy(__a, std::__to_address(__p)); } static constexpr _Alloc _S_select_on_copy(const _Alloc& __a) { return _Base_type::select_on_container_copy_construction(__a); } static void _S_on_swap(_Alloc& __a, _Alloc& __b) { std::__alloc_on_swap(__a, __b); } static constexpr bool _S_propagate_on_copy_assign() { return _Base_type::propagate_on_container_copy_assignment::value; } static constexpr bool _S_propagate_on_move_assign() { return _Base_type::propagate_on_container_move_assignment::value; } static constexpr bool _S_propagate_on_swap() { return _Base_type::propagate_on_container_swap::value; } static constexpr bool _S_always_equal() { return _Base_type::is_always_equal::value; } static constexpr bool _S_nothrow_move() { return _S_propagate_on_move_assign() || _S_always_equal(); } template struct rebind { typedef typename _Base_type::template rebind_alloc<_Tp> other; }; # 166 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/alloc_traits.h" 3 }; } # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 2 3 # 52 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 3138 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template class basic_string { typedef typename __gnu_cxx::__alloc_traits<_Alloc>::template rebind<_CharT>::other _CharT_alloc_type; typedef __gnu_cxx::__alloc_traits<_CharT_alloc_type> _CharT_alloc_traits; public: typedef _Traits traits_type; typedef typename _Traits::char_type value_type; typedef _Alloc allocator_type; typedef typename _CharT_alloc_type::size_type size_type; typedef typename _CharT_alloc_type::difference_type difference_type; typedef value_type& reference; typedef const value_type& const_reference; typedef typename _CharT_alloc_traits::pointer pointer; typedef typename _CharT_alloc_traits::const_pointer const_pointer; typedef __gnu_cxx::__normal_iterator iterator; typedef __gnu_cxx::__normal_iterator const_iterator; typedef std::reverse_iterator const_reverse_iterator; typedef std::reverse_iterator reverse_iterator; protected: typedef iterator __const_iterator; private: # 3186 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 struct _Rep_base { size_type _M_length; size_type _M_capacity; _Atomic_word _M_refcount; }; struct _Rep : _Rep_base { typedef typename __gnu_cxx::__alloc_traits<_Alloc>::template rebind::other _Raw_bytes_alloc; # 3212 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 static const size_type _S_max_size; static const _CharT _S_terminal; static size_type _S_empty_rep_storage[]; static _Rep& _S_empty_rep() noexcept { void* __p = reinterpret_cast(&_S_empty_rep_storage); return *reinterpret_cast<_Rep*>(__p); } bool _M_is_leaked() const noexcept { return __atomic_load_n(&this->_M_refcount, 0) < 0; } bool _M_is_shared() const noexcept { return __atomic_load_n(&this->_M_refcount, 2) > 0; } void _M_set_leaked() noexcept { this->_M_refcount = -1; } void _M_set_sharable() noexcept { this->_M_refcount = 0; } void _M_set_length_and_sharable(size_type __n) noexcept { if (__builtin_expect(this != &_S_empty_rep(), false)) { this->_M_set_sharable(); this->_M_length = __n; traits_type::assign(this->_M_refdata()[__n], _S_terminal); } } _CharT* _M_refdata() throw() { return reinterpret_cast<_CharT*>(this + 1); } _CharT* _M_grab(const _Alloc& __alloc1, const _Alloc& __alloc2) { return (!_M_is_leaked() && __alloc1 == __alloc2) ? _M_refcopy() : _M_clone(__alloc1); } static _Rep* _S_create(size_type, size_type, const _Alloc&); void _M_dispose(const _Alloc& __a) noexcept { if (__builtin_expect(this != &_S_empty_rep(), false)) { ; # 3313 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 if (__gnu_cxx::__exchange_and_add_dispatch(&this->_M_refcount, -1) <= 0) { ; _M_destroy(__a); } } } void _M_destroy(const _Alloc&) throw(); _CharT* _M_refcopy() throw() { if (__builtin_expect(this != &_S_empty_rep(), false)) __gnu_cxx::__atomic_add_dispatch(&this->_M_refcount, 1); return _M_refdata(); } _CharT* _M_clone(const _Alloc&, size_type __res = 0); }; struct _Alloc_hider : _Alloc { _Alloc_hider(_CharT* __dat, const _Alloc& __a) noexcept : _Alloc(__a), _M_p(__dat) { } _CharT* _M_p; }; public: static const size_type npos = static_cast(-1); private: mutable _Alloc_hider _M_dataplus; _CharT* _M_data() const noexcept { return _M_dataplus._M_p; } _CharT* _M_data(_CharT* __p) noexcept { return (_M_dataplus._M_p = __p); } _Rep* _M_rep() const noexcept { return &((reinterpret_cast<_Rep*> (_M_data()))[-1]); } iterator _M_ibegin() const noexcept { return iterator(_M_data()); } iterator _M_iend() const noexcept { return iterator(_M_data() + this->size()); } void _M_leak() { if (!_M_rep()->_M_is_leaked()) _M_leak_hard(); } size_type _M_check(size_type __pos, const char* __s) const { if (__pos > this->size()) __throw_out_of_range_fmt(("%s: __pos (which is %zu) > " "this->size() (which is %zu)"), __s, __pos, this->size()); return __pos; } void _M_check_length(size_type __n1, size_type __n2, const char* __s) const { if (this->max_size() - (this->size() - __n1) < __n2) __throw_length_error((__s)); } size_type _M_limit(size_type __pos, size_type __off) const noexcept { const bool __testoff = __off < this->size() - __pos; return __testoff ? __off : this->size() - __pos; } bool _M_disjunct(const _CharT* __s) const noexcept { return (less()(__s, _M_data()) || less()(_M_data() + this->size(), __s)); } static void _M_copy(_CharT* __d, const _CharT* __s, size_type __n) noexcept { if (__n == 1) traits_type::assign(*__d, *__s); else traits_type::copy(__d, __s, __n); } static void _M_move(_CharT* __d, const _CharT* __s, size_type __n) noexcept { if (__n == 1) traits_type::assign(*__d, *__s); else traits_type::move(__d, __s, __n); } static void _M_assign(_CharT* __d, size_type __n, _CharT __c) noexcept { if (__n == 1) traits_type::assign(*__d, __c); else traits_type::assign(__d, __n, __c); } template static void _S_copy_chars(_CharT* __p, _Iterator __k1, _Iterator __k2) { for (; __k1 != __k2; ++__k1, (void)++__p) traits_type::assign(*__p, *__k1); } static void _S_copy_chars(_CharT* __p, iterator __k1, iterator __k2) noexcept { _S_copy_chars(__p, __k1.base(), __k2.base()); } static void _S_copy_chars(_CharT* __p, const_iterator __k1, const_iterator __k2) noexcept { _S_copy_chars(__p, __k1.base(), __k2.base()); } static void _S_copy_chars(_CharT* __p, _CharT* __k1, _CharT* __k2) noexcept { _M_copy(__p, __k1, __k2 - __k1); } static void _S_copy_chars(_CharT* __p, const _CharT* __k1, const _CharT* __k2) noexcept { _M_copy(__p, __k1, __k2 - __k1); } static int _S_compare(size_type __n1, size_type __n2) noexcept { const difference_type __d = difference_type(__n1 - __n2); if (__d > __gnu_cxx::__numeric_traits::__max) return __gnu_cxx::__numeric_traits::__max; else if (__d < __gnu_cxx::__numeric_traits::__min) return __gnu_cxx::__numeric_traits::__min; else return int(__d); } void _M_mutate(size_type __pos, size_type __len1, size_type __len2); void _M_leak_hard(); static _Rep& _S_empty_rep() noexcept { return _Rep::_S_empty_rep(); } # 3538 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 public: basic_string() noexcept : _M_dataplus(_S_empty_rep()._M_refdata(), _Alloc()) { } explicit basic_string(const _Alloc& __a); basic_string(const basic_string& __str); # 3576 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string(const basic_string& __str, size_type __pos, const _Alloc& __a = _Alloc()); basic_string(const basic_string& __str, size_type __pos, size_type __n); basic_string(const basic_string& __str, size_type __pos, size_type __n, const _Alloc& __a); # 3606 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string(const _CharT* __s, size_type __n, const _Alloc& __a = _Alloc()); # 3619 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) : _M_dataplus(_S_construct(__s, __s ? __s + traits_type::length(__s) : __s + npos, __a), __a) { } basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()); # 3640 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string(basic_string&& __str) noexcept : _M_dataplus(std::move(__str._M_dataplus)) { __str._M_data(_S_empty_rep()._M_refdata()); } basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()); basic_string(const basic_string& __str, const _Alloc& __a) : _M_dataplus(__str._M_rep()->_M_grab(__a, __str.get_allocator()), __a) { } basic_string(basic_string&& __str, const _Alloc& __a) : _M_dataplus(__str._M_data(), __a) { if (__a == __str.get_allocator()) { __str._M_data(_S_empty_rep()._M_refdata()); } else _M_dataplus._M_p = _S_construct(__str.begin(), __str.end(), __a); } # 3686 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template basic_string(_InputIterator __beg, _InputIterator __end, const _Alloc& __a = _Alloc()); # 3717 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 ~basic_string() noexcept { _M_rep()->_M_dispose(this->get_allocator()); } basic_string& operator=(const basic_string& __str) { return this->assign(__str); } basic_string& operator=(const _CharT* __s) { return this->assign(__s); } # 3743 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& operator=(_CharT __c) { this->assign(1, __c); return *this; } # 3758 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& operator=(basic_string&& __str) noexcept(allocator_traits<_Alloc>::is_always_equal::value) { this->swap(__str); return *this; } basic_string& operator=(initializer_list<_CharT> __l) { this->assign(__l.begin(), __l.size()); return *this; } # 3802 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 iterator begin() { _M_leak(); return iterator(_M_data()); } const_iterator begin() const noexcept { return const_iterator(_M_data()); } iterator end() { _M_leak(); return iterator(_M_data() + this->size()); } const_iterator end() const noexcept { return const_iterator(_M_data() + this->size()); } reverse_iterator rbegin() { return reverse_iterator(this->end()); } const_reverse_iterator rbegin() const noexcept { return const_reverse_iterator(this->end()); } reverse_iterator rend() { return reverse_iterator(this->begin()); } const_reverse_iterator rend() const noexcept { return const_reverse_iterator(this->begin()); } const_iterator cbegin() const noexcept { return const_iterator(this->_M_data()); } const_iterator cend() const noexcept { return const_iterator(this->_M_data() + this->size()); } const_reverse_iterator crbegin() const noexcept { return const_reverse_iterator(this->end()); } const_reverse_iterator crend() const noexcept { return const_reverse_iterator(this->begin()); } public: size_type size() const noexcept { return _M_rep()->_M_length; } size_type length() const noexcept { return _M_rep()->_M_length; } size_type max_size() const noexcept { return _Rep::_S_max_size; } # 3937 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 void resize(size_type __n, _CharT __c); # 3950 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 void resize(size_type __n) { this->resize(__n, _CharT()); } void shrink_to_fit() noexcept { if (capacity() > size()) { try { reserve(0); } catch(...) { } } } size_type capacity() const noexcept { return _M_rep()->_M_capacity; } # 3996 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 void reserve(size_type __res_arg = 0); void clear() noexcept { if (_M_rep()->_M_is_shared()) { _M_rep()->_M_dispose(this->get_allocator()); _M_data(_S_empty_rep()._M_refdata()); } else _M_rep()->_M_set_length_and_sharable(0); } # 4025 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 bool empty() const noexcept { return this->size() == 0; } # 4040 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 const_reference operator[] (size_type __pos) const noexcept { ; return _M_data()[__pos]; } # 4057 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 reference operator[](size_type __pos) { ; ; _M_leak(); return _M_data()[__pos]; } # 4079 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 const_reference at(size_type __n) const { if (__n >= this->size()) __throw_out_of_range_fmt(("basic_string::at: __n " "(which is %zu) >= this->size() " "(which is %zu)"), __n, this->size()); return _M_data()[__n]; } # 4101 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 reference at(size_type __n) { if (__n >= size()) __throw_out_of_range_fmt(("basic_string::at: __n " "(which is %zu) >= this->size() " "(which is %zu)"), __n, this->size()); _M_leak(); return _M_data()[__n]; } reference front() { ; return operator[](0); } const_reference front() const noexcept { ; return operator[](0); } reference back() { ; return operator[](this->size() - 1); } const_reference back() const noexcept { ; return operator[](this->size() - 1); } # 4165 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& operator+=(const basic_string& __str) { return this->append(__str); } basic_string& operator+=(const _CharT* __s) { return this->append(__s); } basic_string& operator+=(_CharT __c) { this->push_back(__c); return *this; } basic_string& operator+=(initializer_list<_CharT> __l) { return this->append(__l.begin(), __l.size()); } # 4218 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& append(const basic_string& __str); # 4234 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& append(const basic_string& __str, size_type __pos, size_type __n = npos); basic_string& append(const _CharT* __s, size_type __n); basic_string& append(const _CharT* __s) { ; return this->append(__s, traits_type::length(__s)); } # 4266 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& append(size_type __n, _CharT __c); basic_string& append(initializer_list<_CharT> __l) { return this->append(__l.begin(), __l.size()); } # 4288 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template basic_string& append(_InputIterator __first, _InputIterator __last) { return this->replace(_M_iend(), _M_iend(), __first, __last); } # 4330 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 void push_back(_CharT __c) { const size_type __len = 1 + this->size(); if (__len > this->capacity() || _M_rep()->_M_is_shared()) this->reserve(__len); traits_type::assign(_M_data()[this->size()], __c); _M_rep()->_M_set_length_and_sharable(__len); } basic_string& assign(const basic_string& __str); # 4357 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& assign(basic_string&& __str) noexcept(allocator_traits<_Alloc>::is_always_equal::value) { this->swap(__str); return *this; } # 4379 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& assign(const basic_string& __str, size_type __pos, size_type __n = npos) { return this->assign(__str._M_data() + __str._M_check(__pos, "basic_string::assign"), __str._M_limit(__pos, __n)); } # 4395 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& assign(const _CharT* __s, size_type __n); # 4407 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& assign(const _CharT* __s) { ; return this->assign(__s, traits_type::length(__s)); } # 4423 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& assign(size_type __n, _CharT __c) { return _M_replace_aux(size_type(0), this->size(), __n, __c); } # 4435 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template basic_string& assign(_InputIterator __first, _InputIterator __last) { return this->replace(_M_ibegin(), _M_iend(), __first, __last); } basic_string& assign(initializer_list<_CharT> __l) { return this->assign(__l.begin(), __l.size()); } # 4496 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 void insert(iterator __p, size_type __n, _CharT __c) { this->replace(__p, __p, __n, __c); } # 4512 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template void insert(iterator __p, _InputIterator __beg, _InputIterator __end) { this->replace(__p, __p, __beg, __end); } # 4524 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 void insert(iterator __p, initializer_list<_CharT> __l) { ; this->insert(__p - _M_ibegin(), __l.begin(), __l.size()); } # 4544 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& insert(size_type __pos1, const basic_string& __str) { return this->insert(__pos1, __str, size_type(0), __str.size()); } # 4566 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& insert(size_type __pos1, const basic_string& __str, size_type __pos2, size_type __n = npos) { return this->insert(__pos1, __str._M_data() + __str._M_check(__pos2, "basic_string::insert"), __str._M_limit(__pos2, __n)); } # 4589 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& insert(size_type __pos, const _CharT* __s, size_type __n); # 4607 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& insert(size_type __pos, const _CharT* __s) { ; return this->insert(__pos, __s, traits_type::length(__s)); } # 4630 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& insert(size_type __pos, size_type __n, _CharT __c) { return _M_replace_aux(_M_check(__pos, "basic_string::insert"), size_type(0), __n, __c); } # 4648 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 iterator insert(iterator __p, _CharT __c) { ; const size_type __pos = __p - _M_ibegin(); _M_replace_aux(__pos, size_type(0), size_type(1), __c); _M_rep()->_M_set_leaked(); return iterator(_M_data() + __pos); } # 4709 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& erase(size_type __pos = 0, size_type __n = npos) { _M_mutate(_M_check(__pos, "basic_string::erase"), _M_limit(__pos, __n), size_type(0)); return *this; } # 4725 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 iterator erase(iterator __position) { ; const size_type __pos = __position - _M_ibegin(); _M_mutate(__pos, size_type(1), size_type(0)); _M_rep()->_M_set_leaked(); return iterator(_M_data() + __pos); } # 4745 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 iterator erase(iterator __first, iterator __last); void pop_back() { ; erase(size() - 1, 1); } # 4779 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(size_type __pos, size_type __n, const basic_string& __str) { return this->replace(__pos, __n, __str._M_data(), __str.size()); } # 4801 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_type __n2 = npos) { return this->replace(__pos1, __n1, __str._M_data() + __str._M_check(__pos2, "basic_string::replace"), __str._M_limit(__pos2, __n2)); } # 4826 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2); # 4846 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(size_type __pos, size_type __n1, const _CharT* __s) { ; return this->replace(__pos, __n1, __s, traits_type::length(__s)); } # 4870 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) { return _M_replace_aux(_M_check(__pos, "basic_string::replace"), _M_limit(__pos, __n1), __n2, __c); } # 4888 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(iterator __i1, iterator __i2, const basic_string& __str) { return this->replace(__i1, __i2, __str._M_data(), __str.size()); } # 4907 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(iterator __i1, iterator __i2, const _CharT* __s, size_type __n) { ; return this->replace(__i1 - _M_ibegin(), __i2 - __i1, __s, __n); } # 4928 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(iterator __i1, iterator __i2, const _CharT* __s) { ; return this->replace(__i1, __i2, __s, traits_type::length(__s)); } # 4949 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(iterator __i1, iterator __i2, size_type __n, _CharT __c) { ; return _M_replace_aux(__i1 - _M_ibegin(), __i2 - __i1, __n, __c); } # 4972 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template basic_string& replace(iterator __i1, iterator __i2, _InputIterator __k1, _InputIterator __k2) { ; ; typedef typename std::__is_integer<_InputIterator>::__type _Integral; return _M_replace_dispatch(__i1, __i2, __k1, __k2, _Integral()); } basic_string& replace(iterator __i1, iterator __i2, _CharT* __k1, _CharT* __k2) { ; ; return this->replace(__i1 - _M_ibegin(), __i2 - __i1, __k1, __k2 - __k1); } basic_string& replace(iterator __i1, iterator __i2, const _CharT* __k1, const _CharT* __k2) { ; ; return this->replace(__i1 - _M_ibegin(), __i2 - __i1, __k1, __k2 - __k1); } basic_string& replace(iterator __i1, iterator __i2, iterator __k1, iterator __k2) { ; ; return this->replace(__i1 - _M_ibegin(), __i2 - __i1, __k1.base(), __k2 - __k1); } basic_string& replace(iterator __i1, iterator __i2, const_iterator __k1, const_iterator __k2) { ; ; return this->replace(__i1 - _M_ibegin(), __i2 - __i1, __k1.base(), __k2 - __k1); } # 5043 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(iterator __i1, iterator __i2, initializer_list<_CharT> __l) { return this->replace(__i1, __i2, __l.begin(), __l.end()); } # 5103 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 private: template basic_string& _M_replace_dispatch(iterator __i1, iterator __i2, _Integer __n, _Integer __val, __true_type) { return _M_replace_aux(__i1 - _M_ibegin(), __i2 - __i1, __n, __val); } template basic_string& _M_replace_dispatch(iterator __i1, iterator __i2, _InputIterator __k1, _InputIterator __k2, __false_type); basic_string& _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, _CharT __c); basic_string& _M_replace_safe(size_type __pos1, size_type __n1, const _CharT* __s, size_type __n2); template static _CharT* _S_construct_aux(_InIterator __beg, _InIterator __end, const _Alloc& __a, __false_type) { typedef typename iterator_traits<_InIterator>::iterator_category _Tag; return _S_construct(__beg, __end, __a, _Tag()); } template static _CharT* _S_construct_aux(_Integer __beg, _Integer __end, const _Alloc& __a, __true_type) { return _S_construct_aux_2(static_cast(__beg), __end, __a); } static _CharT* _S_construct_aux_2(size_type __req, _CharT __c, const _Alloc& __a) { return _S_construct(__req, __c, __a); } template static _CharT* _S_construct(_InIterator __beg, _InIterator __end, const _Alloc& __a) { typedef typename std::__is_integer<_InIterator>::__type _Integral; return _S_construct_aux(__beg, __end, __a, _Integral()); } template static _CharT* _S_construct(_InIterator __beg, _InIterator __end, const _Alloc& __a, input_iterator_tag); template static _CharT* _S_construct(_FwdIterator __beg, _FwdIterator __end, const _Alloc& __a, forward_iterator_tag); static _CharT* _S_construct(size_type __req, _CharT __c, const _Alloc& __a); public: # 5185 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type copy(_CharT* __s, size_type __n, size_type __pos = 0) const; # 5195 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 void swap(basic_string& __s) noexcept(allocator_traits<_Alloc>::is_always_equal::value); # 5206 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 const _CharT* c_str() const noexcept { return _M_data(); } # 5218 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 const _CharT* data() const noexcept { return _M_data(); } # 5240 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 allocator_type get_allocator() const noexcept { return _M_dataplus; } # 5256 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find(const _CharT* __s, size_type __pos, size_type __n) const noexcept; # 5270 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find(const basic_string& __str, size_type __pos = 0) const noexcept { return this->find(__str.data(), __pos, __str.size()); } # 5285 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find(const _CharT* __s, size_type __pos = 0) const noexcept { ; return this->find(__s, __pos, traits_type::length(__s)); } # 5302 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find(_CharT __c, size_type __pos = 0) const noexcept; # 5332 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type rfind(const basic_string& __str, size_type __pos = npos) const noexcept { return this->rfind(__str.data(), __pos, __str.size()); } # 5349 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type rfind(const _CharT* __s, size_type __pos, size_type __n) const noexcept; # 5363 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type rfind(const _CharT* __s, size_type __pos = npos) const noexcept { ; return this->rfind(__s, __pos, traits_type::length(__s)); } # 5380 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type rfind(_CharT __c, size_type __pos = npos) const noexcept; # 5411 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_first_of(const basic_string& __str, size_type __pos = 0) const noexcept { return this->find_first_of(__str.data(), __pos, __str.size()); } # 5428 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_first_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept; # 5442 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_first_of(const _CharT* __s, size_type __pos = 0) const noexcept { ; return this->find_first_of(__s, __pos, traits_type::length(__s)); } # 5462 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_first_of(_CharT __c, size_type __pos = 0) const noexcept { return this->find(__c, __pos); } # 5495 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_last_of(const basic_string& __str, size_type __pos = npos) const noexcept { return this->find_last_of(__str.data(), __pos, __str.size()); } # 5512 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_last_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept; # 5526 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_last_of(const _CharT* __s, size_type __pos = npos) const noexcept { ; return this->find_last_of(__s, __pos, traits_type::length(__s)); } # 5546 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_last_of(_CharT __c, size_type __pos = npos) const noexcept { return this->rfind(__c, __pos); } # 5578 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_first_not_of(const basic_string& __str, size_type __pos = 0) const noexcept { return this->find_first_not_of(__str.data(), __pos, __str.size()); } # 5595 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept; # 5609 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_first_not_of(const _CharT* __s, size_type __pos = 0) const noexcept { ; return this->find_first_not_of(__s, __pos, traits_type::length(__s)); } # 5627 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_first_not_of(_CharT __c, size_type __pos = 0) const noexcept; # 5660 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_last_not_of(const basic_string& __str, size_type __pos = npos) const noexcept { return this->find_last_not_of(__str.data(), __pos, __str.size()); } # 5677 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept; # 5691 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_last_not_of(const _CharT* __s, size_type __pos = npos) const noexcept { ; return this->find_last_not_of(__s, __pos, traits_type::length(__s)); } # 5709 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_last_not_of(_CharT __c, size_type __pos = npos) const noexcept; # 5743 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string substr(size_type __pos = 0, size_type __n = npos) const { return basic_string(*this, _M_check(__pos, "basic_string::substr"), __n); } # 5762 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 int compare(const basic_string& __str) const { const size_type __size = this->size(); const size_type __osize = __str.size(); const size_type __len = std::min(__size, __osize); int __r = traits_type::compare(_M_data(), __str.data(), __len); if (!__r) __r = _S_compare(__size, __osize); return __r; } # 5855 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 int compare(size_type __pos, size_type __n, const basic_string& __str) const; # 5881 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 int compare(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_type __n2 = npos) const; # 5899 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 int compare(const _CharT* __s) const noexcept; # 5923 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 int compare(size_type __pos, size_type __n1, const _CharT* __s) const; # 5950 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 int compare(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2) const; # 5991 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 }; # 6030 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template basic_string<_CharT, _Traits, _Alloc> operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { basic_string<_CharT, _Traits, _Alloc> __str(__lhs); __str.append(__rhs); return __str; } template basic_string<_CharT,_Traits,_Alloc> operator+(const _CharT* __lhs, const basic_string<_CharT,_Traits,_Alloc>& __rhs); template basic_string<_CharT,_Traits,_Alloc> operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Alloc>& __rhs); template inline basic_string<_CharT, _Traits, _Alloc> operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { basic_string<_CharT, _Traits, _Alloc> __str(__lhs); __str.append(__rhs); return __str; } template inline basic_string<_CharT, _Traits, _Alloc> operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs) { typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef typename __string_type::size_type __size_type; __string_type __str(__lhs); __str.append(__size_type(1), __rhs); return __str; } template inline basic_string<_CharT, _Traits, _Alloc> operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return std::move(__lhs.append(__rhs)); } template inline basic_string<_CharT, _Traits, _Alloc> operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, basic_string<_CharT, _Traits, _Alloc>&& __rhs) { return std::move(__rhs.insert(0, __lhs)); } template inline basic_string<_CharT, _Traits, _Alloc> operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, basic_string<_CharT, _Traits, _Alloc>&& __rhs) { # 6121 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 { const auto __size = __lhs.size() + __rhs.size(); if (__size > __lhs.capacity() && __size <= __rhs.capacity()) return std::move(__rhs.insert(0, __lhs)); } return std::move(__lhs.append(__rhs)); } template inline basic_string<_CharT, _Traits, _Alloc> operator+(const _CharT* __lhs, basic_string<_CharT, _Traits, _Alloc>&& __rhs) { return std::move(__rhs.insert(0, __lhs)); } template inline basic_string<_CharT, _Traits, _Alloc> operator+(_CharT __lhs, basic_string<_CharT, _Traits, _Alloc>&& __rhs) { return std::move(__rhs.insert(0, 1, __lhs)); } template inline basic_string<_CharT, _Traits, _Alloc> operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, const _CharT* __rhs) { return std::move(__lhs.append(__rhs)); } template inline basic_string<_CharT, _Traits, _Alloc> operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, _CharT __rhs) { return std::move(__lhs.append(1, __rhs)); } # 6161 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline bool operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept { return __lhs.compare(__rhs) == 0; } template inline typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, bool>::__type operator==(const basic_string<_CharT>& __lhs, const basic_string<_CharT>& __rhs) noexcept { return (__lhs.size() == __rhs.size() && !std::char_traits<_CharT>::compare(__lhs.data(), __rhs.data(), __lhs.size())); } template inline bool operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { return __lhs.compare(__rhs) == 0; } # 6224 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline bool operator==(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return __rhs.compare(__lhs) == 0; } # 6237 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline bool operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept { return !(__lhs == __rhs); } template inline bool operator!=(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return !(__lhs == __rhs); } template inline bool operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { return !(__lhs == __rhs); } # 6275 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline bool operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept { return __lhs.compare(__rhs) < 0; } template inline bool operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { return __lhs.compare(__rhs) < 0; } template inline bool operator<(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return __rhs.compare(__lhs) > 0; } # 6313 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline bool operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept { return __lhs.compare(__rhs) > 0; } template inline bool operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { return __lhs.compare(__rhs) > 0; } template inline bool operator>(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return __rhs.compare(__lhs) < 0; } # 6351 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline bool operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept { return __lhs.compare(__rhs) <= 0; } template inline bool operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { return __lhs.compare(__rhs) <= 0; } template inline bool operator<=(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return __rhs.compare(__lhs) >= 0; } # 6389 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline bool operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept { return __lhs.compare(__rhs) >= 0; } template inline bool operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { return __lhs.compare(__rhs) >= 0; } template inline bool operator>=(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return __rhs.compare(__lhs) <= 0; } # 6428 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline void swap(basic_string<_CharT, _Traits, _Alloc>& __lhs, basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept(noexcept(__lhs.swap(__rhs))) { __lhs.swap(__rhs); } # 6448 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __is, basic_string<_CharT, _Traits, _Alloc>& __str); template<> basic_istream& operator>>(basic_istream& __is, basic_string& __str); # 6466 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Alloc>& __str) { return __ostream_insert(__os, __str.data(), __str.size()); } # 6489 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template basic_istream<_CharT, _Traits>& getline(basic_istream<_CharT, _Traits>& __is, basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim); # 6506 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline basic_istream<_CharT, _Traits>& getline(basic_istream<_CharT, _Traits>& __is, basic_string<_CharT, _Traits, _Alloc>& __str) { return std::getline(__is, __str, __is.widen('\n')); } template inline basic_istream<_CharT, _Traits>& getline(basic_istream<_CharT, _Traits>&& __is, basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim) { return std::getline(__is, __str, __delim); } template inline basic_istream<_CharT, _Traits>& getline(basic_istream<_CharT, _Traits>&& __is, basic_string<_CharT, _Traits, _Alloc>& __str) { return std::getline(__is, __str); } template<> basic_istream& getline(basic_istream& __in, basic_string& __str, char __delim); template<> basic_istream& getline(basic_istream& __in, basic_string& __str, wchar_t __delim); } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/string_conversions.h" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/string_conversions.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 3 # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/string_conversions.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 3 # 1 "/usr/include/wchar.h" 1 3 4 # 45 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 2 3 # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/string_conversions.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdio" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdio" 3 # 1 "/usr/include/stdio.h" 1 3 4 # 29 "/usr/include/stdio.h" 3 4 extern "C" { # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 4 # 34 "/usr/include/stdio.h" 2 3 4 # 74 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/libio.h" 1 3 4 # 32 "/usr/include/libio.h" 3 4 # 1 "/usr/include/_G_config.h" 1 3 4 # 15 "/usr/include/_G_config.h" 3 4 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 4 # 16 "/usr/include/_G_config.h" 2 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 21 "/usr/include/_G_config.h" 2 3 4 typedef struct { __off_t __pos; __mbstate_t __state; } _G_fpos_t; typedef struct { __off64_t __pos; __mbstate_t __state; } _G_fpos64_t; # 33 "/usr/include/libio.h" 2 3 4 # 145 "/usr/include/libio.h" 3 4 struct _IO_jump_t; struct _IO_FILE; # 155 "/usr/include/libio.h" 3 4 typedef void _IO_lock_t; struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos; # 178 "/usr/include/libio.h" 3 4 }; enum __codecvt_result { __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv }; # 246 "/usr/include/libio.h" 3 4 struct _IO_FILE { int _flags; char* _IO_read_ptr; char* _IO_read_end; char* _IO_read_base; char* _IO_write_base; char* _IO_write_ptr; char* _IO_write_end; char* _IO_buf_base; char* _IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _flags2; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; # 294 "/usr/include/libio.h" 3 4 __off64_t _offset; # 303 "/usr/include/libio.h" 3 4 void *__pad1; void *__pad2; void *__pad3; void *__pad4; size_t __pad5; int _mode; char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; }; struct _IO_FILE_plus; extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_; # 339 "/usr/include/libio.h" 3 4 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); typedef __ssize_t __io_write_fn (void *__cookie, const char *__buf, size_t __n); typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); typedef int __io_close_fn (void *__cookie); typedef __io_read_fn cookie_read_function_t; typedef __io_write_fn cookie_write_function_t; typedef __io_seek_fn cookie_seek_function_t; typedef __io_close_fn cookie_close_function_t; typedef struct { __io_read_fn *read; __io_write_fn *write; __io_seek_fn *seek; __io_close_fn *close; } _IO_cookie_io_functions_t; typedef _IO_cookie_io_functions_t cookie_io_functions_t; struct _IO_cookie_file; extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, void *__cookie, _IO_cookie_io_functions_t __fns); extern "C" { extern int __underflow (_IO_FILE *); extern int __uflow (_IO_FILE *); extern int __overflow (_IO_FILE *, int); # 435 "/usr/include/libio.h" 3 4 extern int _IO_getc (_IO_FILE *__fp); extern int _IO_putc (int __c, _IO_FILE *__fp); extern int _IO_feof (_IO_FILE *__fp) throw (); extern int _IO_ferror (_IO_FILE *__fp) throw (); extern int _IO_peekc_locked (_IO_FILE *__fp); extern void _IO_flockfile (_IO_FILE *) throw (); extern void _IO_funlockfile (_IO_FILE *) throw (); extern int _IO_ftrylockfile (_IO_FILE *) throw (); # 465 "/usr/include/libio.h" 3 4 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, __gnuc_va_list, int *__restrict); extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, __gnuc_va_list); extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); extern void _IO_free_backup_area (_IO_FILE *) throw (); # 527 "/usr/include/libio.h" 3 4 } # 75 "/usr/include/stdio.h" 2 3 4 typedef __gnuc_va_list va_list; # 110 "/usr/include/stdio.h" 3 4 typedef _G_fpos_t fpos_t; typedef _G_fpos64_t fpos64_t; # 164 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 # 165 "/usr/include/stdio.h" 2 3 4 extern struct _IO_FILE *stdin; extern struct _IO_FILE *stdout; extern struct _IO_FILE *stderr; extern int remove (const char *__filename) throw (); extern int rename (const char *__old, const char *__new) throw (); extern int renameat (int __oldfd, const char *__old, int __newfd, const char *__new) throw (); # 195 "/usr/include/stdio.h" 3 4 extern FILE *tmpfile (void) ; # 205 "/usr/include/stdio.h" 3 4 extern FILE *tmpfile64 (void) ; extern char *tmpnam (char *__s) throw () ; extern char *tmpnam_r (char *__s) throw () ; # 227 "/usr/include/stdio.h" 3 4 extern char *tempnam (const char *__dir, const char *__pfx) throw () __attribute__ ((__malloc__)) ; # 237 "/usr/include/stdio.h" 3 4 extern int fclose (FILE *__stream); extern int fflush (FILE *__stream); # 252 "/usr/include/stdio.h" 3 4 extern int fflush_unlocked (FILE *__stream); # 262 "/usr/include/stdio.h" 3 4 extern int fcloseall (void); # 272 "/usr/include/stdio.h" 3 4 extern FILE *fopen (const char *__restrict __filename, const char *__restrict __modes) ; extern FILE *freopen (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) ; # 297 "/usr/include/stdio.h" 3 4 extern FILE *fopen64 (const char *__restrict __filename, const char *__restrict __modes) ; extern FILE *freopen64 (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) ; extern FILE *fdopen (int __fd, const char *__modes) throw () ; extern FILE *fopencookie (void *__restrict __magic_cookie, const char *__restrict __modes, _IO_cookie_io_functions_t __io_funcs) throw () ; extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) throw () ; extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) throw () ; extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) throw (); extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) throw (); extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, size_t __size) throw (); extern void setlinebuf (FILE *__stream) throw (); # 356 "/usr/include/stdio.h" 3 4 extern int fprintf (FILE *__restrict __stream, const char *__restrict __format, ...); extern int printf (const char *__restrict __format, ...); extern int sprintf (char *__restrict __s, const char *__restrict __format, ...) throw (); extern int vfprintf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg); extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); extern int vsprintf (char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) throw (); extern int snprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, ...) throw () __attribute__ ((__format__ (__printf__, 3, 4))); extern int vsnprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, __gnuc_va_list __arg) throw () __attribute__ ((__format__ (__printf__, 3, 0))); extern int vasprintf (char **__restrict __ptr, const char *__restrict __f, __gnuc_va_list __arg) throw () __attribute__ ((__format__ (__printf__, 2, 0))) ; extern int __asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) throw () __attribute__ ((__format__ (__printf__, 2, 3))) ; extern int asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) throw () __attribute__ ((__format__ (__printf__, 2, 3))) ; extern int vdprintf (int __fd, const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 2, 0))); extern int dprintf (int __fd, const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); # 425 "/usr/include/stdio.h" 3 4 extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) ; extern int scanf (const char *__restrict __format, ...) ; extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) throw (); # 471 "/usr/include/stdio.h" 3 4 extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 2, 0))) ; extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 1, 0))) ; extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) throw () __attribute__ ((__format__ (__scanf__, 2, 0))); # 531 "/usr/include/stdio.h" 3 4 extern int fgetc (FILE *__stream); extern int getc (FILE *__stream); extern int getchar (void); # 550 "/usr/include/stdio.h" 3 4 extern int getc_unlocked (FILE *__stream); extern int getchar_unlocked (void); # 561 "/usr/include/stdio.h" 3 4 extern int fgetc_unlocked (FILE *__stream); # 573 "/usr/include/stdio.h" 3 4 extern int fputc (int __c, FILE *__stream); extern int putc (int __c, FILE *__stream); extern int putchar (int __c); # 594 "/usr/include/stdio.h" 3 4 extern int fputc_unlocked (int __c, FILE *__stream); extern int putc_unlocked (int __c, FILE *__stream); extern int putchar_unlocked (int __c); extern int getw (FILE *__stream); extern int putw (int __w, FILE *__stream); # 622 "/usr/include/stdio.h" 3 4 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ; # 638 "/usr/include/stdio.h" 3 4 extern char *gets (char *__s) __attribute__ ((__deprecated__)); # 649 "/usr/include/stdio.h" 3 4 extern char *fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream) ; # 665 "/usr/include/stdio.h" 3 4 extern __ssize_t __getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getline (char **__restrict __lineptr, size_t *__restrict __n, FILE *__restrict __stream) ; # 689 "/usr/include/stdio.h" 3 4 extern int fputs (const char *__restrict __s, FILE *__restrict __stream); extern int puts (const char *__s); extern int ungetc (int __c, FILE *__stream); extern size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s); # 726 "/usr/include/stdio.h" 3 4 extern int fputs_unlocked (const char *__restrict __s, FILE *__restrict __stream); # 737 "/usr/include/stdio.h" 3 4 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); # 749 "/usr/include/stdio.h" 3 4 extern int fseek (FILE *__stream, long int __off, int __whence); extern long int ftell (FILE *__stream) ; extern void rewind (FILE *__stream); # 773 "/usr/include/stdio.h" 3 4 extern int fseeko (FILE *__stream, __off_t __off, int __whence); extern __off_t ftello (FILE *__stream) ; # 798 "/usr/include/stdio.h" 3 4 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); extern int fsetpos (FILE *__stream, const fpos_t *__pos); # 818 "/usr/include/stdio.h" 3 4 extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); extern __off64_t ftello64 (FILE *__stream) ; extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); extern int fsetpos64 (FILE *__stream, const fpos64_t *__pos); extern void clearerr (FILE *__stream) throw (); extern int feof (FILE *__stream) throw () ; extern int ferror (FILE *__stream) throw () ; extern void clearerr_unlocked (FILE *__stream) throw (); extern int feof_unlocked (FILE *__stream) throw () ; extern int ferror_unlocked (FILE *__stream) throw () ; # 846 "/usr/include/stdio.h" 3 4 extern void perror (const char *__s); # 1 "/usr/include/bits/sys_errlist.h" 1 3 4 # 26 "/usr/include/bits/sys_errlist.h" 3 4 extern int sys_nerr; extern const char *const sys_errlist[]; extern int _sys_nerr; extern const char *const _sys_errlist[]; # 854 "/usr/include/stdio.h" 2 3 4 extern int fileno (FILE *__stream) throw () ; extern int fileno_unlocked (FILE *__stream) throw () ; # 873 "/usr/include/stdio.h" 3 4 extern FILE *popen (const char *__command, const char *__modes) ; extern int pclose (FILE *__stream); extern char *ctermid (char *__s) throw (); extern char *cuserid (char *__s); struct obstack; extern int obstack_printf (struct obstack *__restrict __obstack, const char *__restrict __format, ...) throw () __attribute__ ((__format__ (__printf__, 2, 3))); extern int obstack_vprintf (struct obstack *__restrict __obstack, const char *__restrict __format, __gnuc_va_list __args) throw () __attribute__ ((__format__ (__printf__, 2, 0))); extern void flockfile (FILE *__stream) throw (); extern int ftrylockfile (FILE *__stream) throw () ; extern void funlockfile (FILE *__stream) throw (); # 934 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio.h" 1 3 4 # 35 "/usr/include/bits/stdio.h" 3 4 extern __inline __attribute__ ((__gnu_inline__)) int vprintf (const char *__restrict __fmt, __gnuc_va_list __arg) { return vfprintf (stdout, __fmt, __arg); } extern __inline __attribute__ ((__gnu_inline__)) int getchar (void) { return _IO_getc (stdin); } extern __inline __attribute__ ((__gnu_inline__)) int fgetc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline __attribute__ ((__gnu_inline__)) int getc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline __attribute__ ((__gnu_inline__)) int getchar_unlocked (void) { return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); } extern __inline __attribute__ ((__gnu_inline__)) int putchar (int __c) { return _IO_putc (__c, stdout); } extern __inline __attribute__ ((__gnu_inline__)) int fputc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline __attribute__ ((__gnu_inline__)) int putc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline __attribute__ ((__gnu_inline__)) int putchar_unlocked (int __c) { return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); } extern __inline __attribute__ ((__gnu_inline__)) __ssize_t getline (char **__lineptr, size_t *__n, FILE *__stream) { return __getdelim (__lineptr, __n, '\n', __stream); } extern __inline __attribute__ ((__gnu_inline__)) int feof_unlocked (FILE *__stream) throw () { return (((__stream)->_flags & 0x10) != 0); } extern __inline __attribute__ ((__gnu_inline__)) int ferror_unlocked (FILE *__stream) throw () { return (((__stream)->_flags & 0x20) != 0); } # 935 "/usr/include/stdio.h" 2 3 4 } # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdio" 2 3 # 96 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdio" 3 namespace std { using ::FILE; using ::fpos_t; using ::clearerr; using ::fclose; using ::feof; using ::ferror; using ::fflush; using ::fgetc; using ::fgetpos; using ::fgets; using ::fopen; using ::fprintf; using ::fputc; using ::fputs; using ::fread; using ::freopen; using ::fscanf; using ::fseek; using ::fsetpos; using ::ftell; using ::fwrite; using ::getc; using ::getchar; using ::gets; using ::perror; using ::printf; using ::putc; using ::putchar; using ::puts; using ::remove; using ::rename; using ::rewind; using ::scanf; using ::setbuf; using ::setvbuf; using ::sprintf; using ::sscanf; using ::tmpfile; using ::tmpnam; using ::ungetc; using ::vfprintf; using ::vprintf; using ::vsprintf; } # 157 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdio" 3 namespace __gnu_cxx { # 175 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdio" 3 using ::snprintf; using ::vfscanf; using ::vscanf; using ::vsnprintf; using ::vsscanf; } namespace std { using ::__gnu_cxx::snprintf; using ::__gnu_cxx::vfscanf; using ::__gnu_cxx::vscanf; using ::__gnu_cxx::vsnprintf; using ::__gnu_cxx::vsscanf; } # 44 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/string_conversions.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cerrno" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cerrno" 3 # 1 "/usr/include/errno.h" 1 3 4 # 31 "/usr/include/errno.h" 3 4 extern "C" { # 1 "/usr/include/bits/errno.h" 1 3 4 # 24 "/usr/include/bits/errno.h" 3 4 # 1 "/usr/include/linux/errno.h" 1 3 4 # 1 "/usr/include/asm/errno.h" 1 3 4 # 1 "/usr/include/asm-generic/errno.h" 1 3 4 # 1 "/usr/include/asm-generic/errno-base.h" 1 3 4 # 5 "/usr/include/asm-generic/errno.h" 2 3 4 # 2 "/usr/include/asm/errno.h" 2 3 4 # 2 "/usr/include/linux/errno.h" 2 3 4 # 25 "/usr/include/bits/errno.h" 2 3 4 # 50 "/usr/include/bits/errno.h" 3 4 extern int *__errno_location (void) throw () __attribute__ ((__const__)); # 36 "/usr/include/errno.h" 2 3 4 # 54 "/usr/include/errno.h" 3 4 extern char *program_invocation_name, *program_invocation_short_name; } # 68 "/usr/include/errno.h" 3 4 typedef int error_t; # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cerrno" 2 3 # 45 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/string_conversions.h" 2 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { template _Ret __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), const char* __name, const _CharT* __str, std::size_t* __idx, _Base... __base) { _Ret __ret; _CharT* __endptr; struct _Save_errno { _Save_errno() : _M_errno((*__errno_location ())) { (*__errno_location ()) = 0; } ~_Save_errno() { if ((*__errno_location ()) == 0) (*__errno_location ()) = _M_errno; } int _M_errno; } const __save_errno; struct _Range_chk { static bool _S_chk(_TRet, std::false_type) { return false; } static bool _S_chk(_TRet __val, std::true_type) { return __val < _TRet(__numeric_traits::__min) || __val > _TRet(__numeric_traits::__max); } }; const _TRet __tmp = __convf(__str, &__endptr, __base...); if (__endptr == __str) std::__throw_invalid_argument(__name); else if ((*__errno_location ()) == 34 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{})) std::__throw_out_of_range(__name); else __ret = __tmp; if (__idx) *__idx = __endptr - __str; return __ret; } template _String __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, __builtin_va_list), std::size_t __n, const _CharT* __fmt, ...) { _CharT* __s = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __n)); __builtin_va_list __args; __builtin_va_start(__args, __fmt); const int __len = __convf(__s, __n, __fmt, __args); __builtin_va_end(__args); return _String(__s, __s + __len); } } # 6546 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/charconv.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/charconv.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { namespace __detail { template unsigned __to_chars_len(_Tp __value, int __base = 10) noexcept { static_assert(is_integral<_Tp>::value, "implementation bug"); static_assert(is_unsigned<_Tp>::value, "implementation bug"); unsigned __n = 1; const unsigned __b2 = __base * __base; const unsigned __b3 = __b2 * __base; const unsigned long __b4 = __b3 * __base; for (;;) { if (__value < (unsigned)__base) return __n; if (__value < __b2) return __n + 1; if (__value < __b3) return __n + 2; if (__value < __b4) return __n + 3; __value /= __b4; __n += 4; } } template void __to_chars_10_impl(char* __first, unsigned __len, _Tp __val) noexcept { static_assert(is_integral<_Tp>::value, "implementation bug"); static_assert(is_unsigned<_Tp>::value, "implementation bug"); static constexpr char __digits[201] = "0001020304050607080910111213141516171819" "2021222324252627282930313233343536373839" "4041424344454647484950515253545556575859" "6061626364656667686970717273747576777879" "8081828384858687888990919293949596979899"; unsigned __pos = __len - 1; while (__val >= 100) { auto const __num = (__val % 100) * 2; __val /= 100; __first[__pos] = __digits[__num + 1]; __first[__pos - 1] = __digits[__num]; __pos -= 2; } if (__val >= 10) { auto const __num = __val * 2; __first[1] = __digits[__num + 1]; __first[0] = __digits[__num]; } else __first[0] = '0' + __val; } } } # 6547 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { inline int stoi(const string& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::strtol, "stoi", __str.c_str(), __idx, __base); } inline long stol(const string& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::strtol, "stol", __str.c_str(), __idx, __base); } inline unsigned long stoul(const string& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::strtoul, "stoul", __str.c_str(), __idx, __base); } inline long long stoll(const string& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::strtoll, "stoll", __str.c_str(), __idx, __base); } inline unsigned long long stoull(const string& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::strtoull, "stoull", __str.c_str(), __idx, __base); } inline float stof(const string& __str, size_t* __idx = 0) { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); } inline double stod(const string& __str, size_t* __idx = 0) { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); } inline long double stold(const string& __str, size_t* __idx = 0) { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); } inline string to_string(int __val) { const bool __neg = __val < 0; const unsigned __uval = __neg ? (unsigned)~__val + 1u : __val; const auto __len = __detail::__to_chars_len(__uval); string __str(__neg + __len, '-'); __detail::__to_chars_10_impl(&__str[__neg], __len, __uval); return __str; } inline string to_string(unsigned __val) { string __str(__detail::__to_chars_len(__val), '\0'); __detail::__to_chars_10_impl(&__str[0], __str.size(), __val); return __str; } inline string to_string(long __val) { const bool __neg = __val < 0; const unsigned long __uval = __neg ? (unsigned long)~__val + 1ul : __val; const auto __len = __detail::__to_chars_len(__uval); string __str(__neg + __len, '-'); __detail::__to_chars_10_impl(&__str[__neg], __len, __uval); return __str; } inline string to_string(unsigned long __val) { string __str(__detail::__to_chars_len(__val), '\0'); __detail::__to_chars_10_impl(&__str[0], __str.size(), __val); return __str; } inline string to_string(long long __val) { const bool __neg = __val < 0; const unsigned long long __uval = __neg ? (unsigned long long)~__val + 1ull : __val; const auto __len = __detail::__to_chars_len(__uval); string __str(__neg + __len, '-'); __detail::__to_chars_10_impl(&__str[__neg], __len, __uval); return __str; } inline string to_string(unsigned long long __val) { string __str(__detail::__to_chars_len(__val), '\0'); __detail::__to_chars_10_impl(&__str[0], __str.size(), __val); return __str; } inline string to_string(float __val) { const int __n = __gnu_cxx::__numeric_traits::__max_exponent10 + 20; return __gnu_cxx::__to_xstring(&std::vsnprintf, __n, "%f", __val); } inline string to_string(double __val) { const int __n = __gnu_cxx::__numeric_traits::__max_exponent10 + 20; return __gnu_cxx::__to_xstring(&std::vsnprintf, __n, "%f", __val); } inline string to_string(long double __val) { const int __n = __gnu_cxx::__numeric_traits::__max_exponent10 + 20; return __gnu_cxx::__to_xstring(&std::vsnprintf, __n, "%Lf", __val); } inline int stoi(const wstring& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::wcstol, "stoi", __str.c_str(), __idx, __base); } inline long stol(const wstring& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::wcstol, "stol", __str.c_str(), __idx, __base); } inline unsigned long stoul(const wstring& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::wcstoul, "stoul", __str.c_str(), __idx, __base); } inline long long stoll(const wstring& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::wcstoll, "stoll", __str.c_str(), __idx, __base); } inline unsigned long long stoull(const wstring& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::wcstoull, "stoull", __str.c_str(), __idx, __base); } inline float stof(const wstring& __str, size_t* __idx = 0) { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); } inline double stod(const wstring& __str, size_t* __idx = 0) { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); } inline long double stold(const wstring& __str, size_t* __idx = 0) { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); } inline wstring to_wstring(int __val) { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(int), L"%d", __val); } inline wstring to_wstring(unsigned __val) { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(unsigned), L"%u", __val); } inline wstring to_wstring(long __val) { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(long), L"%ld", __val); } inline wstring to_wstring(unsigned long __val) { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(unsigned long), L"%lu", __val); } inline wstring to_wstring(long long __val) { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(long long), L"%lld", __val); } inline wstring to_wstring(unsigned long long __val) { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(unsigned long long), L"%llu", __val); } inline wstring to_wstring(float __val) { const int __n = __gnu_cxx::__numeric_traits::__max_exponent10 + 20; return __gnu_cxx::__to_xstring(&std::vswprintf, __n, L"%f", __val); } inline wstring to_wstring(double __val) { const int __n = __gnu_cxx::__numeric_traits::__max_exponent10 + 20; return __gnu_cxx::__to_xstring(&std::vswprintf, __n, L"%f", __val); } inline wstring to_wstring(long double __val) { const int __n = __gnu_cxx::__numeric_traits::__max_exponent10 + 20; return __gnu_cxx::__to_xstring(&std::vswprintf, __n, L"%Lf", __val); } } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/functional_hash.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/functional_hash.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 49 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/functional_hash.h" 3 template struct __hash_base { typedef _Result result_type ; typedef _Arg argument_type ; }; template struct hash; template struct __poison_hash { static constexpr bool __enable_hash_call = false; private: __poison_hash(__poison_hash&&); ~__poison_hash(); }; template struct __poison_hash<_Tp, __void_t()(declval<_Tp>()))>> { static constexpr bool __enable_hash_call = true; }; template::value> struct __hash_enum { private: __hash_enum(__hash_enum&&); ~__hash_enum(); }; template struct __hash_enum<_Tp, true> : public __hash_base { size_t operator()(_Tp __val) const noexcept { using __type = typename underlying_type<_Tp>::type; return hash<__type>{}(static_cast<__type>(__val)); } }; template struct hash : __hash_enum<_Tp> { }; template struct hash<_Tp*> : public __hash_base { size_t operator()(_Tp* __p) const noexcept { return reinterpret_cast(__p); } }; # 124 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/functional_hash.h" 3 template<> struct hash : public __hash_base { size_t operator()(bool __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(char __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(signed char __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(unsigned char __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(wchar_t __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(char16_t __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(char32_t __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(short __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(int __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(long __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(long long __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(unsigned short __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(unsigned int __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(unsigned long __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(unsigned long long __val) const noexcept { return static_cast(__val); } }; # 192 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/functional_hash.h" 3 struct _Hash_impl { static size_t hash(const void* __ptr, size_t __clength, size_t __seed = static_cast(0xc70f6907UL)) { return _Hash_bytes(__ptr, __clength, __seed); } template static size_t hash(const _Tp& __val) { return hash(&__val, sizeof(__val)); } template static size_t __hash_combine(const _Tp& __val, size_t __hash) { return hash(&__val, sizeof(__val), __hash); } }; struct _Fnv_hash_impl { static size_t hash(const void* __ptr, size_t __clength, size_t __seed = static_cast(2166136261UL)) { return _Fnv_hash_bytes(__ptr, __clength, __seed); } template static size_t hash(const _Tp& __val) { return hash(&__val, sizeof(__val)); } template static size_t __hash_combine(const _Tp& __val, size_t __hash) { return hash(&__val, sizeof(__val), __hash); } }; template<> struct hash : public __hash_base { size_t operator()(float __val) const noexcept { return __val != 0.0f ? std::_Hash_impl::hash(__val) : 0; } }; template<> struct hash : public __hash_base { size_t operator()(double __val) const noexcept { return __val != 0.0 ? std::_Hash_impl::hash(__val) : 0; } }; template<> struct hash : public __hash_base { __attribute__ ((__pure__)) size_t operator()(long double __val) const noexcept; }; # 278 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/functional_hash.h" 3 template struct __is_fast_hash : public std::true_type { }; template<> struct __is_fast_hash> : public std::false_type { }; } # 6798 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template<> struct hash : public __hash_base { size_t operator()(const string& __s) const noexcept { return std::_Hash_impl::hash(__s.data(), __s.length()); } }; template<> struct __is_fast_hash> : std::false_type { }; template<> struct hash : public __hash_base { size_t operator()(const wstring& __s) const noexcept { return std::_Hash_impl::hash(__s.data(), __s.length() * sizeof(wchar_t)); } }; template<> struct __is_fast_hash> : std::false_type { }; # 6856 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template<> struct hash : public __hash_base { size_t operator()(const u16string& __s) const noexcept { return std::_Hash_impl::hash(__s.data(), __s.length() * sizeof(char16_t)); } }; template<> struct __is_fast_hash> : std::false_type { }; template<> struct hash : public __hash_base { size_t operator()(const u32string& __s) const noexcept { return std::_Hash_impl::hash(__s.data(), __s.length() * sizeof(char32_t)); } }; template<> struct __is_fast_hash> : std::false_type { }; # 6947 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 } # 56 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.tcc" 1 3 # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 490 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.tcc" 3 template const typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: _Rep::_S_max_size = (((npos - sizeof(_Rep_base))/sizeof(_CharT)) - 1) / 4; template const _CharT basic_string<_CharT, _Traits, _Alloc>:: _Rep::_S_terminal = _CharT(); template const typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>::npos; template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_empty_rep_storage[ (sizeof(_Rep_base) + sizeof(_CharT) + sizeof(size_type) - 1) / sizeof(size_type)]; template template _CharT* basic_string<_CharT, _Traits, _Alloc>:: _S_construct(_InIterator __beg, _InIterator __end, const _Alloc& __a, input_iterator_tag) { if (__beg == __end && __a == _Alloc()) return _S_empty_rep()._M_refdata(); _CharT __buf[128]; size_type __len = 0; while (__beg != __end && __len < sizeof(__buf) / sizeof(_CharT)) { __buf[__len++] = *__beg; ++__beg; } _Rep* __r = _Rep::_S_create(__len, size_type(0), __a); _M_copy(__r->_M_refdata(), __buf, __len); try { while (__beg != __end) { if (__len == __r->_M_capacity) { _Rep* __another = _Rep::_S_create(__len + 1, __len, __a); _M_copy(__another->_M_refdata(), __r->_M_refdata(), __len); __r->_M_destroy(__a); __r = __another; } __r->_M_refdata()[__len++] = *__beg; ++__beg; } } catch(...) { __r->_M_destroy(__a); throw; } __r->_M_set_length_and_sharable(__len); return __r->_M_refdata(); } template template _CharT* basic_string<_CharT, _Traits, _Alloc>:: _S_construct(_InIterator __beg, _InIterator __end, const _Alloc& __a, forward_iterator_tag) { if (__beg == __end && __a == _Alloc()) return _S_empty_rep()._M_refdata(); if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end) __throw_logic_error(("basic_string::_S_construct null not valid")); const size_type __dnew = static_cast(std::distance(__beg, __end)); _Rep* __r = _Rep::_S_create(__dnew, size_type(0), __a); try { _S_copy_chars(__r->_M_refdata(), __beg, __end); } catch(...) { __r->_M_destroy(__a); throw; } __r->_M_set_length_and_sharable(__dnew); return __r->_M_refdata(); } template _CharT* basic_string<_CharT, _Traits, _Alloc>:: _S_construct(size_type __n, _CharT __c, const _Alloc& __a) { if (__n == 0 && __a == _Alloc()) return _S_empty_rep()._M_refdata(); _Rep* __r = _Rep::_S_create(__n, size_type(0), __a); if (__n) _M_assign(__r->_M_refdata(), __n, __c); __r->_M_set_length_and_sharable(__n); return __r->_M_refdata(); } template basic_string<_CharT, _Traits, _Alloc>:: basic_string(const basic_string& __str) : _M_dataplus(__str._M_rep()->_M_grab(_Alloc(__str.get_allocator()), __str.get_allocator()), __str.get_allocator()) { } template basic_string<_CharT, _Traits, _Alloc>:: basic_string(const _Alloc& __a) : _M_dataplus(_S_construct(size_type(), _CharT(), __a), __a) { } template basic_string<_CharT, _Traits, _Alloc>:: basic_string(const basic_string& __str, size_type __pos, const _Alloc& __a) : _M_dataplus(_S_construct(__str._M_data() + __str._M_check(__pos, "basic_string::basic_string"), __str._M_data() + __str._M_limit(__pos, npos) + __pos, __a), __a) { } template basic_string<_CharT, _Traits, _Alloc>:: basic_string(const basic_string& __str, size_type __pos, size_type __n) : _M_dataplus(_S_construct(__str._M_data() + __str._M_check(__pos, "basic_string::basic_string"), __str._M_data() + __str._M_limit(__pos, __n) + __pos, _Alloc()), _Alloc()) { } template basic_string<_CharT, _Traits, _Alloc>:: basic_string(const basic_string& __str, size_type __pos, size_type __n, const _Alloc& __a) : _M_dataplus(_S_construct(__str._M_data() + __str._M_check(__pos, "basic_string::basic_string"), __str._M_data() + __str._M_limit(__pos, __n) + __pos, __a), __a) { } template basic_string<_CharT, _Traits, _Alloc>:: basic_string(const _CharT* __s, size_type __n, const _Alloc& __a) : _M_dataplus(_S_construct(__s, __s + __n, __a), __a) { } template basic_string<_CharT, _Traits, _Alloc>:: basic_string(size_type __n, _CharT __c, const _Alloc& __a) : _M_dataplus(_S_construct(__n, __c, __a), __a) { } template template basic_string<_CharT, _Traits, _Alloc>:: basic_string(_InputIterator __beg, _InputIterator __end, const _Alloc& __a) : _M_dataplus(_S_construct(__beg, __end, __a), __a) { } template basic_string<_CharT, _Traits, _Alloc>:: basic_string(initializer_list<_CharT> __l, const _Alloc& __a) : _M_dataplus(_S_construct(__l.begin(), __l.end(), __a), __a) { } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: assign(const basic_string& __str) { if (_M_rep() != __str._M_rep()) { const allocator_type __a = this->get_allocator(); _CharT* __tmp = __str._M_rep()->_M_grab(__a, __str.get_allocator()); _M_rep()->_M_dispose(__a); _M_data(__tmp); } return *this; } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: assign(const _CharT* __s, size_type __n) { ; _M_check_length(this->size(), __n, "basic_string::assign"); if (_M_disjunct(__s) || _M_rep()->_M_is_shared()) return _M_replace_safe(size_type(0), this->size(), __s, __n); else { const size_type __pos = __s - _M_data(); if (__pos >= __n) _M_copy(_M_data(), __s, __n); else if (__pos) _M_move(_M_data(), __s, __n); _M_rep()->_M_set_length_and_sharable(__n); return *this; } } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: append(size_type __n, _CharT __c) { if (__n) { _M_check_length(size_type(0), __n, "basic_string::append"); const size_type __len = __n + this->size(); if (__len > this->capacity() || _M_rep()->_M_is_shared()) this->reserve(__len); _M_assign(_M_data() + this->size(), __n, __c); _M_rep()->_M_set_length_and_sharable(__len); } return *this; } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: append(const _CharT* __s, size_type __n) { ; if (__n) { _M_check_length(size_type(0), __n, "basic_string::append"); const size_type __len = __n + this->size(); if (__len > this->capacity() || _M_rep()->_M_is_shared()) { if (_M_disjunct(__s)) this->reserve(__len); else { const size_type __off = __s - _M_data(); this->reserve(__len); __s = _M_data() + __off; } } _M_copy(_M_data() + this->size(), __s, __n); _M_rep()->_M_set_length_and_sharable(__len); } return *this; } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: append(const basic_string& __str) { const size_type __size = __str.size(); if (__size) { const size_type __len = __size + this->size(); if (__len > this->capacity() || _M_rep()->_M_is_shared()) this->reserve(__len); _M_copy(_M_data() + this->size(), __str._M_data(), __size); _M_rep()->_M_set_length_and_sharable(__len); } return *this; } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: append(const basic_string& __str, size_type __pos, size_type __n) { __str._M_check(__pos, "basic_string::append"); __n = __str._M_limit(__pos, __n); if (__n) { const size_type __len = __n + this->size(); if (__len > this->capacity() || _M_rep()->_M_is_shared()) this->reserve(__len); _M_copy(_M_data() + this->size(), __str._M_data() + __pos, __n); _M_rep()->_M_set_length_and_sharable(__len); } return *this; } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: insert(size_type __pos, const _CharT* __s, size_type __n) { ; _M_check(__pos, "basic_string::insert"); _M_check_length(size_type(0), __n, "basic_string::insert"); if (_M_disjunct(__s) || _M_rep()->_M_is_shared()) return _M_replace_safe(__pos, size_type(0), __s, __n); else { const size_type __off = __s - _M_data(); _M_mutate(__pos, 0, __n); __s = _M_data() + __off; _CharT* __p = _M_data() + __pos; if (__s + __n <= __p) _M_copy(__p, __s, __n); else if (__s >= __p) _M_copy(__p, __s + __n, __n); else { const size_type __nleft = __p - __s; _M_copy(__p, __s, __nleft); _M_copy(__p + __nleft, __p + __n, __n - __nleft); } return *this; } } template typename basic_string<_CharT, _Traits, _Alloc>::iterator basic_string<_CharT, _Traits, _Alloc>:: erase(iterator __first, iterator __last) { ; const size_type __size = __last - __first; if (__size) { const size_type __pos = __first - _M_ibegin(); _M_mutate(__pos, __size, size_type(0)); _M_rep()->_M_set_leaked(); return iterator(_M_data() + __pos); } else return __first; } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: replace(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2) { ; _M_check(__pos, "basic_string::replace"); __n1 = _M_limit(__pos, __n1); _M_check_length(__n1, __n2, "basic_string::replace"); bool __left; if (_M_disjunct(__s) || _M_rep()->_M_is_shared()) return _M_replace_safe(__pos, __n1, __s, __n2); else if ((__left = __s + __n2 <= _M_data() + __pos) || _M_data() + __pos + __n1 <= __s) { size_type __off = __s - _M_data(); __left ? __off : (__off += __n2 - __n1); _M_mutate(__pos, __n1, __n2); _M_copy(_M_data() + __pos, _M_data() + __off, __n2); return *this; } else { const basic_string __tmp(__s, __n2); return _M_replace_safe(__pos, __n1, __tmp._M_data(), __n2); } } template void basic_string<_CharT, _Traits, _Alloc>::_Rep:: _M_destroy(const _Alloc& __a) throw () { const size_type __size = sizeof(_Rep_base) + (this->_M_capacity + 1) * sizeof(_CharT); _Raw_bytes_alloc(__a).deallocate(reinterpret_cast(this), __size); } template void basic_string<_CharT, _Traits, _Alloc>:: _M_leak_hard() { if (_M_rep() == &_S_empty_rep()) return; if (_M_rep()->_M_is_shared()) _M_mutate(0, 0, 0); _M_rep()->_M_set_leaked(); } template void basic_string<_CharT, _Traits, _Alloc>:: _M_mutate(size_type __pos, size_type __len1, size_type __len2) { const size_type __old_size = this->size(); const size_type __new_size = __old_size + __len2 - __len1; const size_type __how_much = __old_size - __pos - __len1; if (__new_size > this->capacity() || _M_rep()->_M_is_shared()) { const allocator_type __a = get_allocator(); _Rep* __r = _Rep::_S_create(__new_size, this->capacity(), __a); if (__pos) _M_copy(__r->_M_refdata(), _M_data(), __pos); if (__how_much) _M_copy(__r->_M_refdata() + __pos + __len2, _M_data() + __pos + __len1, __how_much); _M_rep()->_M_dispose(__a); _M_data(__r->_M_refdata()); } else if (__how_much && __len1 != __len2) { _M_move(_M_data() + __pos + __len2, _M_data() + __pos + __len1, __how_much); } _M_rep()->_M_set_length_and_sharable(__new_size); } template void basic_string<_CharT, _Traits, _Alloc>:: reserve(size_type __res) { if (__res != this->capacity() || _M_rep()->_M_is_shared()) { if (__res < this->size()) __res = this->size(); const allocator_type __a = get_allocator(); _CharT* __tmp = _M_rep()->_M_clone(__a, __res - this->size()); _M_rep()->_M_dispose(__a); _M_data(__tmp); } } template void basic_string<_CharT, _Traits, _Alloc>:: swap(basic_string& __s) noexcept(allocator_traits<_Alloc>::is_always_equal::value) { if (_M_rep()->_M_is_leaked()) _M_rep()->_M_set_sharable(); if (__s._M_rep()->_M_is_leaked()) __s._M_rep()->_M_set_sharable(); if (this->get_allocator() == __s.get_allocator()) { _CharT* __tmp = _M_data(); _M_data(__s._M_data()); __s._M_data(__tmp); } else { const basic_string __tmp1(_M_ibegin(), _M_iend(), __s.get_allocator()); const basic_string __tmp2(__s._M_ibegin(), __s._M_iend(), this->get_allocator()); *this = __tmp2; __s = __tmp1; } } template typename basic_string<_CharT, _Traits, _Alloc>::_Rep* basic_string<_CharT, _Traits, _Alloc>::_Rep:: _S_create(size_type __capacity, size_type __old_capacity, const _Alloc& __alloc) { if (__capacity > _S_max_size) __throw_length_error(("basic_string::_S_create")); # 1022 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.tcc" 3 const size_type __pagesize = 4096; const size_type __malloc_header_size = 4 * sizeof(void*); if (__capacity > __old_capacity && __capacity < 2 * __old_capacity) __capacity = 2 * __old_capacity; size_type __size = (__capacity + 1) * sizeof(_CharT) + sizeof(_Rep); const size_type __adj_size = __size + __malloc_header_size; if (__adj_size > __pagesize && __capacity > __old_capacity) { const size_type __extra = __pagesize - __adj_size % __pagesize; __capacity += __extra / sizeof(_CharT); if (__capacity > _S_max_size) __capacity = _S_max_size; __size = (__capacity + 1) * sizeof(_CharT) + sizeof(_Rep); } void* __place = _Raw_bytes_alloc(__alloc).allocate(__size); _Rep *__p = new (__place) _Rep; __p->_M_capacity = __capacity; __p->_M_set_sharable(); return __p; } template _CharT* basic_string<_CharT, _Traits, _Alloc>::_Rep:: _M_clone(const _Alloc& __alloc, size_type __res) { const size_type __requested_cap = this->_M_length + __res; _Rep* __r = _Rep::_S_create(__requested_cap, this->_M_capacity, __alloc); if (this->_M_length) _M_copy(__r->_M_refdata(), _M_refdata(), this->_M_length); __r->_M_set_length_and_sharable(this->_M_length); return __r->_M_refdata(); } template void basic_string<_CharT, _Traits, _Alloc>:: resize(size_type __n, _CharT __c) { const size_type __size = this->size(); _M_check_length(__size, __n, "basic_string::resize"); if (__size < __n) this->append(__n - __size, __c); else if (__n < __size) this->erase(__n); } template template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: _M_replace_dispatch(iterator __i1, iterator __i2, _InputIterator __k1, _InputIterator __k2, __false_type) { const basic_string __s(__k1, __k2); const size_type __n1 = __i2 - __i1; _M_check_length(__n1, __s.size(), "basic_string::_M_replace_dispatch"); return _M_replace_safe(__i1 - _M_ibegin(), __n1, __s._M_data(), __s.size()); } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, _CharT __c) { _M_check_length(__n1, __n2, "basic_string::_M_replace_aux"); _M_mutate(__pos1, __n1, __n2); if (__n2) _M_assign(_M_data() + __pos1, __n2, __c); return *this; } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: _M_replace_safe(size_type __pos1, size_type __n1, const _CharT* __s, size_type __n2) { _M_mutate(__pos1, __n1, __n2); if (__n2) _M_copy(_M_data() + __pos1, __s, __n2); return *this; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: copy(_CharT* __s, size_type __n, size_type __pos) const { _M_check(__pos, "basic_string::copy"); __n = _M_limit(__pos, __n); ; if (__n) _M_copy(__s, _M_data() + __pos, __n); return __n; } template basic_string<_CharT, _Traits, _Alloc> operator+(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { ; typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef typename __string_type::size_type __size_type; typedef typename __gnu_cxx::__alloc_traits<_Alloc>::template rebind<_CharT>::other _Char_alloc_type; typedef __gnu_cxx::__alloc_traits<_Char_alloc_type> _Alloc_traits; const __size_type __len = _Traits::length(__lhs); __string_type __str(_Alloc_traits::_S_select_on_copy( __rhs.get_allocator())); __str.reserve(__len + __rhs.size()); __str.append(__lhs, __len); __str.append(__rhs); return __str; } template basic_string<_CharT, _Traits, _Alloc> operator+(_CharT __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef typename __string_type::size_type __size_type; typedef typename __gnu_cxx::__alloc_traits<_Alloc>::template rebind<_CharT>::other _Char_alloc_type; typedef __gnu_cxx::__alloc_traits<_Char_alloc_type> _Alloc_traits; __string_type __str(_Alloc_traits::_S_select_on_copy( __rhs.get_allocator())); const __size_type __len = __rhs.size(); __str.reserve(__len + 1); __str.append(__size_type(1), __lhs); __str.append(__rhs); return __str; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find(const _CharT* __s, size_type __pos, size_type __n) const noexcept { ; const size_type __size = this->size(); if (__n == 0) return __pos <= __size ? __pos : npos; if (__pos >= __size) return npos; const _CharT __elem0 = __s[0]; const _CharT* const __data = data(); const _CharT* __first = __data + __pos; const _CharT* const __last = __data + __size; size_type __len = __size - __pos; while (__len >= __n) { __first = traits_type::find(__first, __len - __n + 1, __elem0); if (!__first) return npos; if (traits_type::compare(__first, __s, __n) == 0) return __first - __data; __len = __last - ++__first; } return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find(_CharT __c, size_type __pos) const noexcept { size_type __ret = npos; const size_type __size = this->size(); if (__pos < __size) { const _CharT* __data = _M_data(); const size_type __n = __size - __pos; const _CharT* __p = traits_type::find(__data + __pos, __n, __c); if (__p) __ret = __p - __data; } return __ret; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: rfind(const _CharT* __s, size_type __pos, size_type __n) const noexcept { ; const size_type __size = this->size(); if (__n <= __size) { __pos = std::min(size_type(__size - __n), __pos); const _CharT* __data = _M_data(); do { if (traits_type::compare(__data + __pos, __s, __n) == 0) return __pos; } while (__pos-- > 0); } return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: rfind(_CharT __c, size_type __pos) const noexcept { size_type __size = this->size(); if (__size) { if (--__size > __pos) __size = __pos; for (++__size; __size-- > 0; ) if (traits_type::eq(_M_data()[__size], __c)) return __size; } return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find_first_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept { ; for (; __n && __pos < this->size(); ++__pos) { const _CharT* __p = traits_type::find(__s, __n, _M_data()[__pos]); if (__p) return __pos; } return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find_last_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept { ; size_type __size = this->size(); if (__size && __n) { if (--__size > __pos) __size = __pos; do { if (traits_type::find(__s, __n, _M_data()[__size])) return __size; } while (__size-- != 0); } return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept { ; for (; __pos < this->size(); ++__pos) if (!traits_type::find(__s, __n, _M_data()[__pos])) return __pos; return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find_first_not_of(_CharT __c, size_type __pos) const noexcept { for (; __pos < this->size(); ++__pos) if (!traits_type::eq(_M_data()[__pos], __c)) return __pos; return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept { ; size_type __size = this->size(); if (__size) { if (--__size > __pos) __size = __pos; do { if (!traits_type::find(__s, __n, _M_data()[__size])) return __size; } while (__size--); } return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find_last_not_of(_CharT __c, size_type __pos) const noexcept { size_type __size = this->size(); if (__size) { if (--__size > __pos) __size = __pos; do { if (!traits_type::eq(_M_data()[__size], __c)) return __size; } while (__size--); } return npos; } template int basic_string<_CharT, _Traits, _Alloc>:: compare(size_type __pos, size_type __n, const basic_string& __str) const { _M_check(__pos, "basic_string::compare"); __n = _M_limit(__pos, __n); const size_type __osize = __str.size(); const size_type __len = std::min(__n, __osize); int __r = traits_type::compare(_M_data() + __pos, __str.data(), __len); if (!__r) __r = _S_compare(__n, __osize); return __r; } template int basic_string<_CharT, _Traits, _Alloc>:: compare(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_type __n2) const { _M_check(__pos1, "basic_string::compare"); __str._M_check(__pos2, "basic_string::compare"); __n1 = _M_limit(__pos1, __n1); __n2 = __str._M_limit(__pos2, __n2); const size_type __len = std::min(__n1, __n2); int __r = traits_type::compare(_M_data() + __pos1, __str.data() + __pos2, __len); if (!__r) __r = _S_compare(__n1, __n2); return __r; } template int basic_string<_CharT, _Traits, _Alloc>:: compare(const _CharT* __s) const noexcept { ; const size_type __size = this->size(); const size_type __osize = traits_type::length(__s); const size_type __len = std::min(__size, __osize); int __r = traits_type::compare(_M_data(), __s, __len); if (!__r) __r = _S_compare(__size, __osize); return __r; } template int basic_string <_CharT, _Traits, _Alloc>:: compare(size_type __pos, size_type __n1, const _CharT* __s) const { ; _M_check(__pos, "basic_string::compare"); __n1 = _M_limit(__pos, __n1); const size_type __osize = traits_type::length(__s); const size_type __len = std::min(__n1, __osize); int __r = traits_type::compare(_M_data() + __pos, __s, __len); if (!__r) __r = _S_compare(__n1, __osize); return __r; } template int basic_string <_CharT, _Traits, _Alloc>:: compare(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2) const { ; _M_check(__pos, "basic_string::compare"); __n1 = _M_limit(__pos, __n1); const size_type __len = std::min(__n1, __n2); int __r = traits_type::compare(_M_data() + __pos, __s, __len); if (!__r) __r = _S_compare(__n1, __n2); return __r; } template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __in, basic_string<_CharT, _Traits, _Alloc>& __str) { typedef basic_istream<_CharT, _Traits> __istream_type; typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef typename __istream_type::ios_base __ios_base; typedef typename __istream_type::int_type __int_type; typedef typename __string_type::size_type __size_type; typedef ctype<_CharT> __ctype_type; typedef typename __ctype_type::ctype_base __ctype_base; __size_type __extracted = 0; typename __ios_base::iostate __err = __ios_base::goodbit; typename __istream_type::sentry __cerb(__in, false); if (__cerb) { try { __str.erase(); _CharT __buf[128]; __size_type __len = 0; const streamsize __w = __in.width(); const __size_type __n = __w > 0 ? static_cast<__size_type>(__w) : __str.max_size(); const __ctype_type& __ct = use_facet<__ctype_type>(__in.getloc()); const __int_type __eof = _Traits::eof(); __int_type __c = __in.rdbuf()->sgetc(); while (__extracted < __n && !_Traits::eq_int_type(__c, __eof) && !__ct.is(__ctype_base::space, _Traits::to_char_type(__c))) { if (__len == sizeof(__buf) / sizeof(_CharT)) { __str.append(__buf, sizeof(__buf) / sizeof(_CharT)); __len = 0; } __buf[__len++] = _Traits::to_char_type(__c); ++__extracted; __c = __in.rdbuf()->snextc(); } __str.append(__buf, __len); if (_Traits::eq_int_type(__c, __eof)) __err |= __ios_base::eofbit; __in.width(0); } catch(__cxxabiv1::__forced_unwind&) { __in._M_setstate(__ios_base::badbit); throw; } catch(...) { __in._M_setstate(__ios_base::badbit); } } if (!__extracted) __err |= __ios_base::failbit; if (__err) __in.setstate(__err); return __in; } template basic_istream<_CharT, _Traits>& getline(basic_istream<_CharT, _Traits>& __in, basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim) { typedef basic_istream<_CharT, _Traits> __istream_type; typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef typename __istream_type::ios_base __ios_base; typedef typename __istream_type::int_type __int_type; typedef typename __string_type::size_type __size_type; __size_type __extracted = 0; const __size_type __n = __str.max_size(); typename __ios_base::iostate __err = __ios_base::goodbit; typename __istream_type::sentry __cerb(__in, true); if (__cerb) { try { __str.erase(); const __int_type __idelim = _Traits::to_int_type(__delim); const __int_type __eof = _Traits::eof(); __int_type __c = __in.rdbuf()->sgetc(); while (__extracted < __n && !_Traits::eq_int_type(__c, __eof) && !_Traits::eq_int_type(__c, __idelim)) { __str += _Traits::to_char_type(__c); ++__extracted; __c = __in.rdbuf()->snextc(); } if (_Traits::eq_int_type(__c, __eof)) __err |= __ios_base::eofbit; else if (_Traits::eq_int_type(__c, __idelim)) { ++__extracted; __in.rdbuf()->sbumpc(); } else __err |= __ios_base::failbit; } catch(__cxxabiv1::__forced_unwind&) { __in._M_setstate(__ios_base::badbit); throw; } catch(...) { __in._M_setstate(__ios_base::badbit); } } if (!__extracted) __err |= __ios_base::failbit; if (__err) __in.setstate(__err); return __in; } # 1610 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.tcc" 3 extern template class basic_string; extern template basic_istream& operator>>(basic_istream&, string&); extern template basic_ostream& operator<<(basic_ostream&, const string&); extern template basic_istream& getline(basic_istream&, string&, char); extern template basic_istream& getline(basic_istream&, string&); extern template class basic_string; extern template basic_istream& operator>>(basic_istream&, wstring&); extern template basic_ostream& operator<<(basic_ostream&, const wstring&); extern template basic_istream& getline(basic_istream&, wstring&, wchar_t); extern template basic_istream& getline(basic_istream&, wstring&); } # 57 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 2 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/stdexcept" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 99 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/stdexcept" 3 typedef basic_string __sso_string; typedef basic_string __cow_string; # 113 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/stdexcept" 3 class logic_error : public exception { __cow_string _M_msg; public: explicit logic_error(const string& __arg) ; explicit logic_error(const char*) ; logic_error(logic_error&&) noexcept; logic_error& operator=(logic_error&&) noexcept; logic_error(const logic_error&) = default; logic_error& operator=(const logic_error&) = default; virtual ~logic_error() noexcept; virtual const char* what() const noexcept; }; class domain_error : public logic_error { public: explicit domain_error(const string& __arg) ; explicit domain_error(const char*) ; domain_error(const domain_error&) = default; domain_error& operator=(const domain_error&) = default; domain_error(domain_error&&) = default; domain_error& operator=(domain_error&&) = default; virtual ~domain_error() noexcept; }; class invalid_argument : public logic_error { public: explicit invalid_argument(const string& __arg) ; explicit invalid_argument(const char*) ; invalid_argument(const invalid_argument&) = default; invalid_argument& operator=(const invalid_argument&) = default; invalid_argument(invalid_argument&&) = default; invalid_argument& operator=(invalid_argument&&) = default; virtual ~invalid_argument() noexcept; }; class length_error : public logic_error { public: explicit length_error(const string& __arg) ; explicit length_error(const char*) ; length_error(const length_error&) = default; length_error& operator=(const length_error&) = default; length_error(length_error&&) = default; length_error& operator=(length_error&&) = default; virtual ~length_error() noexcept; }; class out_of_range : public logic_error { public: explicit out_of_range(const string& __arg) ; explicit out_of_range(const char*) ; out_of_range(const out_of_range&) = default; out_of_range& operator=(const out_of_range&) = default; out_of_range(out_of_range&&) = default; out_of_range& operator=(out_of_range&&) = default; virtual ~out_of_range() noexcept; }; class runtime_error : public exception { __cow_string _M_msg; public: explicit runtime_error(const string& __arg) ; explicit runtime_error(const char*) ; runtime_error(runtime_error&&) noexcept; runtime_error& operator=(runtime_error&&) noexcept; runtime_error(const runtime_error&) = default; runtime_error& operator=(const runtime_error&) = default; virtual ~runtime_error() noexcept; virtual const char* what() const noexcept; }; class range_error : public runtime_error { public: explicit range_error(const string& __arg) ; explicit range_error(const char*) ; range_error(const range_error&) = default; range_error& operator=(const range_error&) = default; range_error(range_error&&) = default; range_error& operator=(range_error&&) = default; virtual ~range_error() noexcept; }; class overflow_error : public runtime_error { public: explicit overflow_error(const string& __arg) ; explicit overflow_error(const char*) ; overflow_error(const overflow_error&) = default; overflow_error& operator=(const overflow_error&) = default; overflow_error(overflow_error&&) = default; overflow_error& operator=(overflow_error&&) = default; virtual ~overflow_error() noexcept; }; class underflow_error : public runtime_error { public: explicit underflow_error(const string& __arg) ; explicit underflow_error(const char*) ; underflow_error(const underflow_error&) = default; underflow_error& operator=(const underflow_error&) = default; underflow_error(underflow_error&&) = default; underflow_error& operator=(underflow_error&&) = default; virtual ~underflow_error() noexcept; }; } # 36 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 3 # 37 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 1 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 1 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ios" 1 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ios" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 62 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 class locale { public: typedef int category; class facet; class id; class _Impl; friend class facet; friend class _Impl; template friend bool has_facet(const locale&) throw(); template friend const _Facet& use_facet(const locale&); template friend struct __use_cache; # 98 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 static const category none = 0; static const category ctype = 1L << 0; static const category numeric = 1L << 1; static const category collate = 1L << 2; static const category time = 1L << 3; static const category monetary = 1L << 4; static const category messages = 1L << 5; static const category all = (ctype | numeric | collate | time | monetary | messages); # 117 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 locale() throw(); # 126 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 locale(const locale& __other) throw(); # 136 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 explicit locale(const char* __s); # 151 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 locale(const locale& __base, const char* __s, category __cat); # 162 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 explicit locale(const std::string& __s) : locale(__s.c_str()) { } # 177 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 locale(const locale& __base, const std::string& __s, category __cat) : locale(__base, __s.c_str(), __cat) { } # 192 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 locale(const locale& __base, const locale& __add, category __cat); # 205 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 template locale(const locale& __other, _Facet* __f); ~locale() throw(); # 219 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 const locale& operator=(const locale& __other) throw(); # 234 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 template locale combine(const locale& __other) const; string name() const; # 254 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 bool operator==(const locale& __other) const throw(); # 264 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 bool operator!=(const locale& __other) const throw() { return !(this->operator==(__other)); } # 284 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 template bool operator()(const basic_string<_Char, _Traits, _Alloc>& __s1, const basic_string<_Char, _Traits, _Alloc>& __s2) const; # 300 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 static locale global(const locale& __loc); static const locale& classic(); private: _Impl* _M_impl; static _Impl* _S_classic; static _Impl* _S_global; static const char* const* const _S_categories; # 335 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 enum { _S_categories_size = 6 + 6 }; static __gthread_once_t _S_once; explicit locale(_Impl*) throw(); static void _S_initialize(); static void _S_initialize_once() throw(); static category _S_normalize_category(category); void _M_coalesce(const locale& __base, const locale& __add, category __cat); }; # 373 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 class locale::facet { private: friend class locale; friend class locale::_Impl; mutable _Atomic_word _M_refcount; static __c_locale _S_c_locale; static const char _S_c_name[2]; static __gthread_once_t _S_once; static void _S_initialize_once(); protected: # 404 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 explicit facet(size_t __refs = 0) throw() : _M_refcount(__refs ? 1 : 0) { } virtual ~facet(); static void _S_create_c_locale(__c_locale& __cloc, const char* __s, __c_locale __old = 0); static __c_locale _S_clone_c_locale(__c_locale& __cloc) throw(); static void _S_destroy_c_locale(__c_locale& __cloc); static __c_locale _S_lc_ctype_c_locale(__c_locale __cloc, const char* __s); static __c_locale _S_get_c_locale(); __attribute__ ((__const__)) static const char* _S_get_c_name() throw(); # 440 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 facet(const facet&) = delete; facet& operator=(const facet&) = delete; private: void _M_add_reference() const throw() { __gnu_cxx::__atomic_add_dispatch(&_M_refcount, 1); } void _M_remove_reference() const throw() { ; if (__gnu_cxx::__exchange_and_add_dispatch(&_M_refcount, -1) == 1) { ; try { delete this; } catch(...) { } } } const facet* _M_sso_shim(const id*) const; const facet* _M_cow_shim(const id*) const; protected: class __shim; }; # 485 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 class locale::id { private: friend class locale; friend class locale::_Impl; template friend const _Facet& use_facet(const locale&); template friend bool has_facet(const locale&) throw(); mutable size_t _M_index; static _Atomic_word _S_refcount; void operator=(const id&); id(const id&); public: id() { } size_t _M_id() const throw(); }; class locale::_Impl { public: friend class locale; friend class locale::facet; template friend bool has_facet(const locale&) throw(); template friend const _Facet& use_facet(const locale&); template friend struct __use_cache; private: _Atomic_word _M_refcount; const facet** _M_facets; size_t _M_facets_size; const facet** _M_caches; char** _M_names; static const locale::id* const _S_id_ctype[]; static const locale::id* const _S_id_numeric[]; static const locale::id* const _S_id_collate[]; static const locale::id* const _S_id_time[]; static const locale::id* const _S_id_monetary[]; static const locale::id* const _S_id_messages[]; static const locale::id* const* const _S_facet_categories[]; void _M_add_reference() throw() { __gnu_cxx::__atomic_add_dispatch(&_M_refcount, 1); } void _M_remove_reference() throw() { ; if (__gnu_cxx::__exchange_and_add_dispatch(&_M_refcount, -1) == 1) { ; try { delete this; } catch(...) { } } } _Impl(const _Impl&, size_t); _Impl(const char*, size_t); _Impl(size_t) throw(); ~_Impl() throw(); _Impl(const _Impl&); void operator=(const _Impl&); bool _M_check_same_name() { bool __ret = true; if (_M_names[1]) for (size_t __i = 0; __ret && __i < _S_categories_size - 1; ++__i) __ret = __builtin_strcmp(_M_names[__i], _M_names[__i + 1]) == 0; return __ret; } void _M_replace_categories(const _Impl*, category); void _M_replace_category(const _Impl*, const locale::id* const*); void _M_replace_facet(const _Impl*, const locale::id*); void _M_install_facet(const locale::id*, const facet*); template void _M_init_facet(_Facet* __facet) { _M_install_facet(&_Facet::id, __facet); } template void _M_init_facet_unchecked(_Facet* __facet) { __facet->_M_add_reference(); _M_facets[_Facet::id._M_id()] = __facet; } void _M_install_cache(const facet*, size_t); void _M_init_extra(facet**); void _M_init_extra(void*, void*, const char*, const char*); }; # 643 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 template class collate : public locale::facet { public: typedef _CharT char_type; typedef basic_string<_CharT> string_type; protected: __c_locale _M_c_locale_collate; public: static locale::id id; # 670 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 explicit collate(size_t __refs = 0) : facet(__refs), _M_c_locale_collate(_S_get_c_locale()) { } # 684 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 explicit collate(__c_locale __cloc, size_t __refs = 0) : facet(__refs), _M_c_locale_collate(_S_clone_c_locale(__cloc)) { } # 701 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 int compare(const _CharT* __lo1, const _CharT* __hi1, const _CharT* __lo2, const _CharT* __hi2) const { return this->do_compare(__lo1, __hi1, __lo2, __hi2); } # 720 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 string_type transform(const _CharT* __lo, const _CharT* __hi) const { return this->do_transform(__lo, __hi); } # 734 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 long hash(const _CharT* __lo, const _CharT* __hi) const { return this->do_hash(__lo, __hi); } int _M_compare(const _CharT*, const _CharT*) const throw(); size_t _M_transform(_CharT*, const _CharT*, size_t) const throw(); protected: virtual ~collate() { _S_destroy_c_locale(_M_c_locale_collate); } # 763 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 virtual int do_compare(const _CharT* __lo1, const _CharT* __hi1, const _CharT* __lo2, const _CharT* __hi2) const; # 777 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 virtual string_type do_transform(const _CharT* __lo, const _CharT* __hi) const; # 790 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 virtual long do_hash(const _CharT* __lo, const _CharT* __hi) const; }; template locale::id collate<_CharT>::id; template<> int collate::_M_compare(const char*, const char*) const throw(); template<> size_t collate::_M_transform(char*, const char*, size_t) const throw(); template<> int collate::_M_compare(const wchar_t*, const wchar_t*) const throw(); template<> size_t collate::_M_transform(wchar_t*, const wchar_t*, size_t) const throw(); template class collate_byname : public collate<_CharT> { public: typedef _CharT char_type; typedef basic_string<_CharT> string_type; explicit collate_byname(const char* __s, size_t __refs = 0) : collate<_CharT>(__refs) { if (__builtin_strcmp(__s, "C") != 0 && __builtin_strcmp(__s, "POSIX") != 0) { this->_S_destroy_c_locale(this->_M_c_locale_collate); this->_S_create_c_locale(this->_M_c_locale_collate, __s); } } explicit collate_byname(const string& __s, size_t __refs = 0) : collate_byname(__s.c_str(), __refs) { } protected: virtual ~collate_byname() { } }; } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.tcc" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template locale:: locale(const locale& __other, _Facet* __f) { _M_impl = new _Impl(*__other._M_impl, 1); try { _M_impl->_M_install_facet(&_Facet::id, __f); } catch(...) { _M_impl->_M_remove_reference(); throw; } delete [] _M_impl->_M_names[0]; _M_impl->_M_names[0] = 0; } template locale locale:: combine(const locale& __other) const { _Impl* __tmp = new _Impl(*_M_impl, 1); try { __tmp->_M_replace_facet(__other._M_impl, &_Facet::id); } catch(...) { __tmp->_M_remove_reference(); throw; } return locale(__tmp); } template bool locale:: operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1, const basic_string<_CharT, _Traits, _Alloc>& __s2) const { typedef std::collate<_CharT> __collate_type; const __collate_type& __collate = use_facet<__collate_type>(*this); return (__collate.compare(__s1.data(), __s1.data() + __s1.length(), __s2.data(), __s2.data() + __s2.length()) < 0); } # 102 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.tcc" 3 template bool has_facet(const locale& __loc) throw() { const size_t __i = _Facet::id._M_id(); const locale::facet** __facets = __loc._M_impl->_M_facets; return (__i < __loc._M_impl->_M_facets_size && dynamic_cast(__facets[__i])); } # 130 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.tcc" 3 template const _Facet& use_facet(const locale& __loc) { const size_t __i = _Facet::id._M_id(); const locale::facet** __facets = __loc._M_impl->_M_facets; if (__i >= __loc._M_impl->_M_facets_size || !__facets[__i]) __throw_bad_cast(); return dynamic_cast(*__facets[__i]); } template int collate<_CharT>::_M_compare(const _CharT*, const _CharT*) const throw () { return 0; } template size_t collate<_CharT>::_M_transform(_CharT*, const _CharT*, size_t) const throw () { return 0; } template int collate<_CharT>:: do_compare(const _CharT* __lo1, const _CharT* __hi1, const _CharT* __lo2, const _CharT* __hi2) const { const string_type __one(__lo1, __hi1); const string_type __two(__lo2, __hi2); const _CharT* __p = __one.c_str(); const _CharT* __pend = __one.data() + __one.length(); const _CharT* __q = __two.c_str(); const _CharT* __qend = __two.data() + __two.length(); for (;;) { const int __res = _M_compare(__p, __q); if (__res) return __res; __p += char_traits<_CharT>::length(__p); __q += char_traits<_CharT>::length(__q); if (__p == __pend && __q == __qend) return 0; else if (__p == __pend) return -1; else if (__q == __qend) return 1; __p++; __q++; } } template typename collate<_CharT>::string_type collate<_CharT>:: do_transform(const _CharT* __lo, const _CharT* __hi) const { string_type __ret; const string_type __str(__lo, __hi); const _CharT* __p = __str.c_str(); const _CharT* __pend = __str.data() + __str.length(); size_t __len = (__hi - __lo) * 2; _CharT* __c = new _CharT[__len]; try { for (;;) { size_t __res = _M_transform(__c, __p, __len); if (__res >= __len) { __len = __res + 1; delete [] __c, __c = 0; __c = new _CharT[__len]; __res = _M_transform(__c, __p, __len); } __ret.append(__c, __res); __p += char_traits<_CharT>::length(__p); if (__p == __pend) break; __p++; __ret.push_back(_CharT()); } } catch(...) { delete [] __c; throw; } delete [] __c; return __ret; } template long collate<_CharT>:: do_hash(const _CharT* __lo, const _CharT* __hi) const { unsigned long __val = 0; for (; __lo < __hi; ++__lo) __val = *__lo + ((__val << 7) | (__val >> (__gnu_cxx::__numeric_traits:: __digits - 7))); return static_cast(__val); } extern template class collate; extern template class collate_byname; extern template const collate& use_facet >(const locale&); extern template bool has_facet >(const locale&); extern template class collate; extern template class collate_byname; extern template const collate& use_facet >(const locale&); extern template bool has_facet >(const locale&); } # 854 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 2 3 # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/error_constants.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/error_constants.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cerrno" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cerrno" 3 # 1 "/usr/include/errno.h" 1 3 4 # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cerrno" 2 3 # 35 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/error_constants.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { enum class errc { address_family_not_supported = 97, address_in_use = 98, address_not_available = 99, already_connected = 106, argument_list_too_long = 7, argument_out_of_domain = 33, bad_address = 14, bad_file_descriptor = 9, bad_message = 74, broken_pipe = 32, connection_aborted = 103, connection_already_in_progress = 114, connection_refused = 111, connection_reset = 104, cross_device_link = 18, destination_address_required = 89, device_or_resource_busy = 16, directory_not_empty = 39, executable_format_error = 8, file_exists = 17, file_too_large = 27, filename_too_long = 36, function_not_supported = 38, host_unreachable = 113, identifier_removed = 43, illegal_byte_sequence = 84, inappropriate_io_control_operation = 25, interrupted = 4, invalid_argument = 22, invalid_seek = 29, io_error = 5, is_a_directory = 21, message_size = 90, network_down = 100, network_reset = 102, network_unreachable = 101, no_buffer_space = 105, no_child_process = 10, no_link = 67, no_lock_available = 37, no_message_available = 61, no_message = 42, no_protocol_option = 92, no_space_on_device = 28, no_stream_resources = 63, no_such_device_or_address = 6, no_such_device = 19, no_such_file_or_directory = 2, no_such_process = 3, not_a_directory = 20, not_a_socket = 88, not_a_stream = 60, not_connected = 107, not_enough_memory = 12, not_supported = 95, operation_canceled = 125, operation_in_progress = 115, operation_not_permitted = 1, operation_not_supported = 95, operation_would_block = 11, owner_dead = 130, permission_denied = 13, protocol_error = 71, protocol_not_supported = 93, read_only_file_system = 30, resource_deadlock_would_occur = 35, resource_unavailable_try_again = 11, result_out_of_range = 34, state_not_recoverable = 131, stream_timeout = 62, text_file_busy = 26, timed_out = 110, too_many_files_open_in_system = 23, too_many_files_open = 24, too_many_links = 31, too_many_symbolic_link_levels = 40, value_too_large = 75, wrong_protocol_type = 91 }; } # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { class error_code; class error_condition; class system_error; template struct is_error_code_enum : public false_type { }; template struct is_error_condition_enum : public false_type { }; template<> struct is_error_condition_enum : public true_type { }; # 78 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 inline namespace _V2 { # 89 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 class error_category { public: constexpr error_category() noexcept = default; virtual ~error_category(); error_category(const error_category&) = delete; error_category& operator=(const error_category&) = delete; virtual const char* name() const noexcept = 0; # 117 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 virtual string message(int) const = 0; private: virtual __sso_string _M_message(int) const; public: virtual error_condition default_error_condition(int __i) const noexcept; virtual bool equivalent(int __i, const error_condition& __cond) const noexcept; virtual bool equivalent(const error_code& __code, int __i) const noexcept; bool operator==(const error_category& __other) const noexcept { return this == &__other; } bool operator!=(const error_category& __other) const noexcept { return this != &__other; } bool operator<(const error_category& __other) const noexcept { return less()(this, &__other); } }; __attribute__ ((__const__)) const error_category& generic_category() noexcept; __attribute__ ((__const__)) const error_category& system_category() noexcept; } error_code make_error_code(errc) noexcept; # 180 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 struct error_code { error_code() noexcept : _M_value(0), _M_cat(&system_category()) { } error_code(int __v, const error_category& __cat) noexcept : _M_value(__v), _M_cat(&__cat) { } template::value>::type> error_code(_ErrorCodeEnum __e) noexcept { *this = make_error_code(__e); } void assign(int __v, const error_category& __cat) noexcept { _M_value = __v; _M_cat = &__cat; } void clear() noexcept { assign(0, system_category()); } template typename enable_if::value, error_code&>::type operator=(_ErrorCodeEnum __e) noexcept { return *this = make_error_code(__e); } int value() const noexcept { return _M_value; } const error_category& category() const noexcept { return *_M_cat; } error_condition default_error_condition() const noexcept; string message() const { return category().message(value()); } explicit operator bool() const noexcept { return _M_value != 0; } private: int _M_value; const error_category* _M_cat; }; inline error_code make_error_code(errc __e) noexcept { return error_code(static_cast(__e), generic_category()); } # 251 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 inline bool operator<(const error_code& __lhs, const error_code& __rhs) noexcept { return (__lhs.category() < __rhs.category() || (__lhs.category() == __rhs.category() && __lhs.value() < __rhs.value())); } template basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e) { return (__os << __e.category().name() << ':' << __e.value()); } error_condition make_error_condition(errc) noexcept; # 278 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 struct error_condition { error_condition() noexcept : _M_value(0), _M_cat(&generic_category()) { } error_condition(int __v, const error_category& __cat) noexcept : _M_value(__v), _M_cat(&__cat) { } template::value>::type> error_condition(_ErrorConditionEnum __e) noexcept { *this = make_error_condition(__e); } void assign(int __v, const error_category& __cat) noexcept { _M_value = __v; _M_cat = &__cat; } template typename enable_if::value, error_condition&>::type operator=(_ErrorConditionEnum __e) noexcept { return *this = make_error_condition(__e); } void clear() noexcept { assign(0, generic_category()); } int value() const noexcept { return _M_value; } const error_category& category() const noexcept { return *_M_cat; } string message() const { return category().message(value()); } explicit operator bool() const noexcept { return _M_value != 0; } private: int _M_value; const error_category* _M_cat; }; inline error_condition make_error_condition(errc __e) noexcept { return error_condition(static_cast(__e), generic_category()); } inline bool operator==(const error_code& __lhs, const error_code& __rhs) noexcept { return (__lhs.category() == __rhs.category() && __lhs.value() == __rhs.value()); } inline bool operator==(const error_code& __lhs, const error_condition& __rhs) noexcept { return (__lhs.category().equivalent(__lhs.value(), __rhs) || __rhs.category().equivalent(__lhs, __rhs.value())); } inline bool operator==(const error_condition& __lhs, const error_condition& __rhs) noexcept { return (__lhs.category() == __rhs.category() && __lhs.value() == __rhs.value()); } # 378 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 inline bool operator<(const error_condition& __lhs, const error_condition& __rhs) noexcept { return (__lhs.category() < __rhs.category() || (__lhs.category() == __rhs.category() && __lhs.value() < __rhs.value())); } inline bool operator==(const error_condition& __lhs, const error_code& __rhs) noexcept { return (__rhs.category().equivalent(__rhs.value(), __lhs) || __lhs.category().equivalent(__rhs, __lhs.value())); } inline bool operator!=(const error_code& __lhs, const error_code& __rhs) noexcept { return !(__lhs == __rhs); } inline bool operator!=(const error_code& __lhs, const error_condition& __rhs) noexcept { return !(__lhs == __rhs); } inline bool operator!=(const error_condition& __lhs, const error_code& __rhs) noexcept { return !(__lhs == __rhs); } inline bool operator!=(const error_condition& __lhs, const error_condition& __rhs) noexcept { return !(__lhs == __rhs); } # 428 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 class system_error : public std::runtime_error { private: error_code _M_code; public: system_error(error_code __ec = error_code()) : runtime_error(__ec.message()), _M_code(__ec) { } system_error(error_code __ec, const string& __what) : runtime_error(__what + ": " + __ec.message()), _M_code(__ec) { } system_error(error_code __ec, const char* __what) : runtime_error(__what + (": " + __ec.message())), _M_code(__ec) { } system_error(int __v, const error_category& __ecat, const char* __what) : system_error(error_code(__v, __ecat), __what) { } system_error(int __v, const error_category& __ecat) : runtime_error(error_code(__v, __ecat).message()), _M_code(__v, __ecat) { } system_error(int __v, const error_category& __ecat, const string& __what) : runtime_error(__what + ": " + error_code(__v, __ecat).message()), _M_code(__v, __ecat) { } system_error (const system_error &) = default; system_error &operator= (const system_error &) = default; virtual ~system_error() noexcept; const error_code& code() const noexcept { return _M_code; } }; } namespace std __attribute__ ((__visibility__ ("default"))) { template<> struct hash : public __hash_base { size_t operator()(const error_code& __e) const noexcept { const size_t __tmp = std::_Hash_impl::hash(__e.value()); return std::_Hash_impl::__hash_combine(&__e.category(), __tmp); } }; # 509 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 } # 47 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { enum _Ios_Fmtflags { _S_boolalpha = 1L << 0, _S_dec = 1L << 1, _S_fixed = 1L << 2, _S_hex = 1L << 3, _S_internal = 1L << 4, _S_left = 1L << 5, _S_oct = 1L << 6, _S_right = 1L << 7, _S_scientific = 1L << 8, _S_showbase = 1L << 9, _S_showpoint = 1L << 10, _S_showpos = 1L << 11, _S_skipws = 1L << 12, _S_unitbuf = 1L << 13, _S_uppercase = 1L << 14, _S_adjustfield = _S_left | _S_right | _S_internal, _S_basefield = _S_dec | _S_oct | _S_hex, _S_floatfield = _S_scientific | _S_fixed, _S_ios_fmtflags_end = 1L << 16, _S_ios_fmtflags_max = 2147483647, _S_ios_fmtflags_min = ~2147483647 }; inline constexpr _Ios_Fmtflags operator&(_Ios_Fmtflags __a, _Ios_Fmtflags __b) { return _Ios_Fmtflags(static_cast(__a) & static_cast(__b)); } inline constexpr _Ios_Fmtflags operator|(_Ios_Fmtflags __a, _Ios_Fmtflags __b) { return _Ios_Fmtflags(static_cast(__a) | static_cast(__b)); } inline constexpr _Ios_Fmtflags operator^(_Ios_Fmtflags __a, _Ios_Fmtflags __b) { return _Ios_Fmtflags(static_cast(__a) ^ static_cast(__b)); } inline constexpr _Ios_Fmtflags operator~(_Ios_Fmtflags __a) { return _Ios_Fmtflags(~static_cast(__a)); } inline const _Ios_Fmtflags& operator|=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b) { return __a = __a | __b; } inline const _Ios_Fmtflags& operator&=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b) { return __a = __a & __b; } inline const _Ios_Fmtflags& operator^=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b) { return __a = __a ^ __b; } enum _Ios_Openmode { _S_app = 1L << 0, _S_ate = 1L << 1, _S_bin = 1L << 2, _S_in = 1L << 3, _S_out = 1L << 4, _S_trunc = 1L << 5, _S_ios_openmode_end = 1L << 16, _S_ios_openmode_max = 2147483647, _S_ios_openmode_min = ~2147483647 }; inline constexpr _Ios_Openmode operator&(_Ios_Openmode __a, _Ios_Openmode __b) { return _Ios_Openmode(static_cast(__a) & static_cast(__b)); } inline constexpr _Ios_Openmode operator|(_Ios_Openmode __a, _Ios_Openmode __b) { return _Ios_Openmode(static_cast(__a) | static_cast(__b)); } inline constexpr _Ios_Openmode operator^(_Ios_Openmode __a, _Ios_Openmode __b) { return _Ios_Openmode(static_cast(__a) ^ static_cast(__b)); } inline constexpr _Ios_Openmode operator~(_Ios_Openmode __a) { return _Ios_Openmode(~static_cast(__a)); } inline const _Ios_Openmode& operator|=(_Ios_Openmode& __a, _Ios_Openmode __b) { return __a = __a | __b; } inline const _Ios_Openmode& operator&=(_Ios_Openmode& __a, _Ios_Openmode __b) { return __a = __a & __b; } inline const _Ios_Openmode& operator^=(_Ios_Openmode& __a, _Ios_Openmode __b) { return __a = __a ^ __b; } enum _Ios_Iostate { _S_goodbit = 0, _S_badbit = 1L << 0, _S_eofbit = 1L << 1, _S_failbit = 1L << 2, _S_ios_iostate_end = 1L << 16, _S_ios_iostate_max = 2147483647, _S_ios_iostate_min = ~2147483647 }; inline constexpr _Ios_Iostate operator&(_Ios_Iostate __a, _Ios_Iostate __b) { return _Ios_Iostate(static_cast(__a) & static_cast(__b)); } inline constexpr _Ios_Iostate operator|(_Ios_Iostate __a, _Ios_Iostate __b) { return _Ios_Iostate(static_cast(__a) | static_cast(__b)); } inline constexpr _Ios_Iostate operator^(_Ios_Iostate __a, _Ios_Iostate __b) { return _Ios_Iostate(static_cast(__a) ^ static_cast(__b)); } inline constexpr _Ios_Iostate operator~(_Ios_Iostate __a) { return _Ios_Iostate(~static_cast(__a)); } inline const _Ios_Iostate& operator|=(_Ios_Iostate& __a, _Ios_Iostate __b) { return __a = __a | __b; } inline const _Ios_Iostate& operator&=(_Ios_Iostate& __a, _Ios_Iostate __b) { return __a = __a & __b; } inline const _Ios_Iostate& operator^=(_Ios_Iostate& __a, _Ios_Iostate __b) { return __a = __a ^ __b; } enum _Ios_Seekdir { _S_beg = 0, _S_cur = 1, _S_end = 2, _S_ios_seekdir_end = 1L << 16 }; enum class io_errc { stream = 1 }; template <> struct is_error_code_enum : public true_type { }; const error_category& iostream_category() noexcept; inline error_code make_error_code(io_errc __e) noexcept { return error_code(static_cast(__e), iostream_category()); } inline error_condition make_error_condition(io_errc __e) noexcept { return error_condition(static_cast(__e), iostream_category()); } # 228 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 class ios_base { # 246 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 public: # 276 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 class failure : public exception { public: explicit failure(const string& __str) throw(); virtual ~failure() throw(); virtual const char* what() const throw(); explicit failure(const string& __s, const error_code&) noexcept : failure(__s) { } explicit failure(const char* __s, const error_code& = error_code{}) : failure(string(__s)) { } error_code code() const noexcept { return error_code{}; } private: string _M_msg; }; # 341 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 typedef _Ios_Fmtflags fmtflags; static const fmtflags boolalpha = _S_boolalpha; static const fmtflags dec = _S_dec; static const fmtflags fixed = _S_fixed; static const fmtflags hex = _S_hex; static const fmtflags internal = _S_internal; static const fmtflags left = _S_left; static const fmtflags oct = _S_oct; static const fmtflags right = _S_right; static const fmtflags scientific = _S_scientific; static const fmtflags showbase = _S_showbase; static const fmtflags showpoint = _S_showpoint; static const fmtflags showpos = _S_showpos; static const fmtflags skipws = _S_skipws; static const fmtflags unitbuf = _S_unitbuf; static const fmtflags uppercase = _S_uppercase; static const fmtflags adjustfield = _S_adjustfield; static const fmtflags basefield = _S_basefield; static const fmtflags floatfield = _S_floatfield; # 416 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 typedef _Ios_Iostate iostate; static const iostate badbit = _S_badbit; static const iostate eofbit = _S_eofbit; static const iostate failbit = _S_failbit; static const iostate goodbit = _S_goodbit; # 447 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 typedef _Ios_Openmode openmode; static const openmode app = _S_app; static const openmode ate = _S_ate; static const openmode binary = _S_bin; static const openmode in = _S_in; static const openmode out = _S_out; static const openmode trunc = _S_trunc; # 479 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 typedef _Ios_Seekdir seekdir; static const seekdir beg = _S_beg; static const seekdir cur = _S_cur; static const seekdir end = _S_end; typedef int io_state __attribute__ ((__deprecated__ ("use '" "std::iostate" "' instead"))); typedef int open_mode __attribute__ ((__deprecated__ ("use '" "std::openmode" "' instead"))); typedef int seek_dir __attribute__ ((__deprecated__ ("use '" "std::seekdir" "' instead"))); typedef std::streampos streampos __attribute__ ((__deprecated__ ("use '" "std::streampos" "' instead"))); typedef std::streamoff streamoff __attribute__ ((__deprecated__ ("use '" "std::streamoff" "' instead"))); # 512 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 enum event { erase_event, imbue_event, copyfmt_event }; # 529 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 typedef void (*event_callback) (event __e, ios_base& __b, int __i); # 541 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 void register_callback(event_callback __fn, int __index); protected: streamsize _M_precision; streamsize _M_width; fmtflags _M_flags; iostate _M_exception; iostate _M_streambuf_state; struct _Callback_list { _Callback_list* _M_next; ios_base::event_callback _M_fn; int _M_index; _Atomic_word _M_refcount; _Callback_list(ios_base::event_callback __fn, int __index, _Callback_list* __cb) : _M_next(__cb), _M_fn(__fn), _M_index(__index), _M_refcount(0) { } void _M_add_reference() { __gnu_cxx::__atomic_add_dispatch(&_M_refcount, 1); } int _M_remove_reference() { ; int __res = __gnu_cxx::__exchange_and_add_dispatch(&_M_refcount, -1); if (__res == 0) { ; } return __res; } }; _Callback_list* _M_callbacks; void _M_call_callbacks(event __ev) throw(); void _M_dispose_callbacks(void) throw(); struct _Words { void* _M_pword; long _M_iword; _Words() : _M_pword(0), _M_iword(0) { } }; _Words _M_word_zero; enum { _S_local_word_size = 8 }; _Words _M_local_word[_S_local_word_size]; int _M_word_size; _Words* _M_word; _Words& _M_grow_words(int __index, bool __iword); locale _M_ios_locale; void _M_init() throw(); public: class Init { friend class ios_base; public: Init(); ~Init(); Init(const Init&) = default; Init& operator=(const Init&) = default; private: static _Atomic_word _S_refcount; static bool _S_synced_with_stdio; }; fmtflags flags() const { return _M_flags; } # 659 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 fmtflags flags(fmtflags __fmtfl) { fmtflags __old = _M_flags; _M_flags = __fmtfl; return __old; } # 675 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 fmtflags setf(fmtflags __fmtfl) { fmtflags __old = _M_flags; _M_flags |= __fmtfl; return __old; } # 692 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 fmtflags setf(fmtflags __fmtfl, fmtflags __mask) { fmtflags __old = _M_flags; _M_flags &= ~__mask; _M_flags |= (__fmtfl & __mask); return __old; } void unsetf(fmtflags __mask) { _M_flags &= ~__mask; } # 718 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 streamsize precision() const { return _M_precision; } streamsize precision(streamsize __prec) { streamsize __old = _M_precision; _M_precision = __prec; return __old; } streamsize width() const { return _M_width; } streamsize width(streamsize __wide) { streamsize __old = _M_width; _M_width = __wide; return __old; } # 769 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 static bool sync_with_stdio(bool __sync = true); # 781 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 locale imbue(const locale& __loc) throw(); # 792 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 locale getloc() const { return _M_ios_locale; } # 803 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 const locale& _M_getloc() const { return _M_ios_locale; } # 822 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 static int xalloc() throw(); # 838 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 long& iword(int __ix) { _Words& __word = ((unsigned)__ix < (unsigned)_M_word_size) ? _M_word[__ix] : _M_grow_words(__ix, true); return __word._M_iword; } # 859 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 void*& pword(int __ix) { _Words& __word = ((unsigned)__ix < (unsigned)_M_word_size) ? _M_word[__ix] : _M_grow_words(__ix, false); return __word._M_pword; } # 876 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 virtual ~ios_base(); protected: ios_base() throw (); # 890 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 public: ios_base(const ios_base&) = delete; ios_base& operator=(const ios_base&) = delete; protected: void _M_move(ios_base&) noexcept; void _M_swap(ios_base& __rhs) noexcept; }; inline ios_base& boolalpha(ios_base& __base) { __base.setf(ios_base::boolalpha); return __base; } inline ios_base& noboolalpha(ios_base& __base) { __base.unsetf(ios_base::boolalpha); return __base; } inline ios_base& showbase(ios_base& __base) { __base.setf(ios_base::showbase); return __base; } inline ios_base& noshowbase(ios_base& __base) { __base.unsetf(ios_base::showbase); return __base; } inline ios_base& showpoint(ios_base& __base) { __base.setf(ios_base::showpoint); return __base; } inline ios_base& noshowpoint(ios_base& __base) { __base.unsetf(ios_base::showpoint); return __base; } inline ios_base& showpos(ios_base& __base) { __base.setf(ios_base::showpos); return __base; } inline ios_base& noshowpos(ios_base& __base) { __base.unsetf(ios_base::showpos); return __base; } inline ios_base& skipws(ios_base& __base) { __base.setf(ios_base::skipws); return __base; } inline ios_base& noskipws(ios_base& __base) { __base.unsetf(ios_base::skipws); return __base; } inline ios_base& uppercase(ios_base& __base) { __base.setf(ios_base::uppercase); return __base; } inline ios_base& nouppercase(ios_base& __base) { __base.unsetf(ios_base::uppercase); return __base; } inline ios_base& unitbuf(ios_base& __base) { __base.setf(ios_base::unitbuf); return __base; } inline ios_base& nounitbuf(ios_base& __base) { __base.unsetf(ios_base::unitbuf); return __base; } inline ios_base& internal(ios_base& __base) { __base.setf(ios_base::internal, ios_base::adjustfield); return __base; } inline ios_base& left(ios_base& __base) { __base.setf(ios_base::left, ios_base::adjustfield); return __base; } inline ios_base& right(ios_base& __base) { __base.setf(ios_base::right, ios_base::adjustfield); return __base; } inline ios_base& dec(ios_base& __base) { __base.setf(ios_base::dec, ios_base::basefield); return __base; } inline ios_base& hex(ios_base& __base) { __base.setf(ios_base::hex, ios_base::basefield); return __base; } inline ios_base& oct(ios_base& __base) { __base.setf(ios_base::oct, ios_base::basefield); return __base; } inline ios_base& fixed(ios_base& __base) { __base.setf(ios_base::fixed, ios_base::floatfield); return __base; } inline ios_base& scientific(ios_base& __base) { __base.setf(ios_base::scientific, ios_base::floatfield); return __base; } inline ios_base& hexfloat(ios_base& __base) { __base.setf(ios_base::fixed | ios_base::scientific, ios_base::floatfield); return __base; } inline ios_base& defaultfloat(ios_base& __base) { __base.unsetf(ios_base::floatfield); return __base; } } # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ios" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 1 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template streamsize __copy_streambufs_eof(basic_streambuf<_CharT, _Traits>*, basic_streambuf<_CharT, _Traits>*, bool&); # 121 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 template class basic_streambuf { public: typedef _CharT char_type; typedef _Traits traits_type; typedef typename traits_type::int_type int_type; typedef typename traits_type::pos_type pos_type; typedef typename traits_type::off_type off_type; typedef basic_streambuf __streambuf_type; friend class basic_ios; friend class basic_istream; friend class basic_ostream; friend class istreambuf_iterator; friend class ostreambuf_iterator; friend streamsize __copy_streambufs_eof<>(basic_streambuf*, basic_streambuf*, bool&); template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, _CharT2*>::__type __copy_move_a2(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, _CharT2*); template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, istreambuf_iterator<_CharT2> >::__type find(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, const _CharT2&); template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, void>::__type advance(istreambuf_iterator<_CharT2>&, _Distance); template friend basic_istream<_CharT2, _Traits2>& operator>>(basic_istream<_CharT2, _Traits2>&, _CharT2*); template friend basic_istream<_CharT2, _Traits2>& operator>>(basic_istream<_CharT2, _Traits2>&, basic_string<_CharT2, _Traits2, _Alloc>&); template friend basic_istream<_CharT2, _Traits2>& getline(basic_istream<_CharT2, _Traits2>&, basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2); protected: char_type* _M_in_beg; char_type* _M_in_cur; char_type* _M_in_end; char_type* _M_out_beg; char_type* _M_out_cur; char_type* _M_out_end; locale _M_buf_locale; public: virtual ~basic_streambuf() { } # 215 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 locale pubimbue(const locale& __loc) { locale __tmp(this->getloc()); this->imbue(__loc); _M_buf_locale = __loc; return __tmp; } # 232 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 locale getloc() const { return _M_buf_locale; } # 245 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 basic_streambuf* pubsetbuf(char_type* __s, streamsize __n) { return this->setbuf(__s, __n); } # 257 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 pos_type pubseekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode = ios_base::in | ios_base::out) { return this->seekoff(__off, __way, __mode); } # 269 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 pos_type pubseekpos(pos_type __sp, ios_base::openmode __mode = ios_base::in | ios_base::out) { return this->seekpos(__sp, __mode); } int pubsync() { return this->sync(); } # 290 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 streamsize in_avail() { const streamsize __ret = this->egptr() - this->gptr(); return __ret ? __ret : this->showmanyc(); } # 304 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 int_type snextc() { int_type __ret = traits_type::eof(); if (__builtin_expect(!traits_type::eq_int_type(this->sbumpc(), __ret), true)) __ret = this->sgetc(); return __ret; } # 322 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 int_type sbumpc() { int_type __ret; if (__builtin_expect(this->gptr() < this->egptr(), true)) { __ret = traits_type::to_int_type(*this->gptr()); this->gbump(1); } else __ret = this->uflow(); return __ret; } # 344 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 int_type sgetc() { int_type __ret; if (__builtin_expect(this->gptr() < this->egptr(), true)) __ret = traits_type::to_int_type(*this->gptr()); else __ret = this->underflow(); return __ret; } # 363 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 streamsize sgetn(char_type* __s, streamsize __n) { return this->xsgetn(__s, __n); } # 378 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 int_type sputbackc(char_type __c) { int_type __ret; const bool __testpos = this->eback() < this->gptr(); if (__builtin_expect(!__testpos || !traits_type::eq(__c, this->gptr()[-1]), false)) __ret = this->pbackfail(traits_type::to_int_type(__c)); else { this->gbump(-1); __ret = traits_type::to_int_type(*this->gptr()); } return __ret; } # 403 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 int_type sungetc() { int_type __ret; if (__builtin_expect(this->eback() < this->gptr(), true)) { this->gbump(-1); __ret = traits_type::to_int_type(*this->gptr()); } else __ret = this->pbackfail(); return __ret; } # 430 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 int_type sputc(char_type __c) { int_type __ret; if (__builtin_expect(this->pptr() < this->epptr(), true)) { *this->pptr() = __c; this->pbump(1); __ret = traits_type::to_int_type(__c); } else __ret = this->overflow(traits_type::to_int_type(__c)); return __ret; } # 456 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 streamsize sputn(const char_type* __s, streamsize __n) { return this->xsputn(__s, __n); } protected: # 470 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 basic_streambuf() : _M_in_beg(0), _M_in_cur(0), _M_in_end(0), _M_out_beg(0), _M_out_cur(0), _M_out_end(0), _M_buf_locale(locale()) { } # 488 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 char_type* eback() const { return _M_in_beg; } char_type* gptr() const { return _M_in_cur; } char_type* egptr() const { return _M_in_end; } # 504 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 void gbump(int __n) { _M_in_cur += __n; } # 515 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 void setg(char_type* __gbeg, char_type* __gnext, char_type* __gend) { _M_in_beg = __gbeg; _M_in_cur = __gnext; _M_in_end = __gend; } # 535 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 char_type* pbase() const { return _M_out_beg; } char_type* pptr() const { return _M_out_cur; } char_type* epptr() const { return _M_out_end; } # 551 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 void pbump(int __n) { _M_out_cur += __n; } # 561 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 void setp(char_type* __pbeg, char_type* __pend) { _M_out_beg = _M_out_cur = __pbeg; _M_out_end = __pend; } # 582 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual void imbue(const locale& __loc __attribute__ ((__unused__))) { } # 597 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual basic_streambuf* setbuf(char_type*, streamsize) { return this; } # 608 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual pos_type seekoff(off_type, ios_base::seekdir, ios_base::openmode = ios_base::in | ios_base::out) { return pos_type(off_type(-1)); } # 620 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual pos_type seekpos(pos_type, ios_base::openmode = ios_base::in | ios_base::out) { return pos_type(off_type(-1)); } # 633 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual int sync() { return 0; } # 655 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual streamsize showmanyc() { return 0; } # 671 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual streamsize xsgetn(char_type* __s, streamsize __n); # 693 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual int_type underflow() { return traits_type::eof(); } # 706 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual int_type uflow() { int_type __ret = traits_type::eof(); const bool __testeof = traits_type::eq_int_type(this->underflow(), __ret); if (!__testeof) { __ret = traits_type::to_int_type(*this->gptr()); this->gbump(1); } return __ret; } # 730 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual int_type pbackfail(int_type __c __attribute__ ((__unused__)) = traits_type::eof()) { return traits_type::eof(); } # 748 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual streamsize xsputn(const char_type* __s, streamsize __n); # 774 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual int_type overflow(int_type __c __attribute__ ((__unused__)) = traits_type::eof()) { return traits_type::eof(); } public: # 789 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 __attribute__ ((__deprecated__ ("use '" "std::basic_streambuf::sbumpc" "' instead"))) void stossc() { if (this->gptr() < this->egptr()) this->gbump(1); else this->uflow(); } void __safe_gbump(streamsize __n) { _M_in_cur += __n; } void __safe_pbump(streamsize __n) { _M_out_cur += __n; } protected: basic_streambuf(const basic_streambuf&); basic_streambuf& operator=(const basic_streambuf&); void swap(basic_streambuf& __sb) { std::swap(_M_in_beg, __sb._M_in_beg); std::swap(_M_in_cur, __sb._M_in_cur); std::swap(_M_in_end, __sb._M_in_end); std::swap(_M_out_beg, __sb._M_out_beg); std::swap(_M_out_cur, __sb._M_out_cur); std::swap(_M_out_end, __sb._M_out_end); std::swap(_M_buf_locale, __sb._M_buf_locale); } }; template std::basic_streambuf<_CharT, _Traits>:: basic_streambuf(const basic_streambuf&) = default; template std::basic_streambuf<_CharT, _Traits>& std::basic_streambuf<_CharT, _Traits>:: operator=(const basic_streambuf&) = default; template<> streamsize __copy_streambufs_eof(basic_streambuf* __sbin, basic_streambuf* __sbout, bool& __ineof); template<> streamsize __copy_streambufs_eof(basic_streambuf* __sbin, basic_streambuf* __sbout, bool& __ineof); } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/streambuf.tcc" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/streambuf.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template streamsize basic_streambuf<_CharT, _Traits>:: xsgetn(char_type* __s, streamsize __n) { streamsize __ret = 0; while (__ret < __n) { const streamsize __buf_len = this->egptr() - this->gptr(); if (__buf_len) { const streamsize __remaining = __n - __ret; const streamsize __len = std::min(__buf_len, __remaining); traits_type::copy(__s, this->gptr(), __len); __ret += __len; __s += __len; this->__safe_gbump(__len); } if (__ret < __n) { const int_type __c = this->uflow(); if (!traits_type::eq_int_type(__c, traits_type::eof())) { traits_type::assign(*__s++, traits_type::to_char_type(__c)); ++__ret; } else break; } } return __ret; } template streamsize basic_streambuf<_CharT, _Traits>:: xsputn(const char_type* __s, streamsize __n) { streamsize __ret = 0; while (__ret < __n) { const streamsize __buf_len = this->epptr() - this->pptr(); if (__buf_len) { const streamsize __remaining = __n - __ret; const streamsize __len = std::min(__buf_len, __remaining); traits_type::copy(this->pptr(), __s, __len); __ret += __len; __s += __len; this->__safe_pbump(__len); } if (__ret < __n) { int_type __c = this->overflow(traits_type::to_int_type(*__s)); if (!traits_type::eq_int_type(__c, traits_type::eof())) { ++__ret; ++__s; } else break; } } return __ret; } template streamsize __copy_streambufs_eof(basic_streambuf<_CharT, _Traits>* __sbin, basic_streambuf<_CharT, _Traits>* __sbout, bool& __ineof) { streamsize __ret = 0; __ineof = true; typename _Traits::int_type __c = __sbin->sgetc(); while (!_Traits::eq_int_type(__c, _Traits::eof())) { __c = __sbout->sputc(_Traits::to_char_type(__c)); if (_Traits::eq_int_type(__c, _Traits::eof())) { __ineof = false; break; } ++__ret; __c = __sbin->snextc(); } return __ret; } template inline streamsize __copy_streambufs(basic_streambuf<_CharT, _Traits>* __sbin, basic_streambuf<_CharT, _Traits>* __sbout) { bool __ineof; return __copy_streambufs_eof(__sbin, __sbout, __ineof); } extern template class basic_streambuf; extern template streamsize __copy_streambufs(basic_streambuf*, basic_streambuf*); extern template streamsize __copy_streambufs_eof(basic_streambuf*, basic_streambuf*, bool&); extern template class basic_streambuf; extern template streamsize __copy_streambufs(basic_streambuf*, basic_streambuf*); extern template streamsize __copy_streambufs_eof(basic_streambuf*, basic_streambuf*, bool&); } # 861 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 2 3 # 44 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ios" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwctype" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwctype" 3 # 50 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwctype" 3 # 1 "/usr/include/wctype.h" 1 3 4 # 33 "/usr/include/wctype.h" 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 34 "/usr/include/wctype.h" 2 3 4 # 52 "/usr/include/wctype.h" 3 4 typedef unsigned long int wctype_t; # 71 "/usr/include/wctype.h" 3 4 enum { __ISwupper = 0, __ISwlower = 1, __ISwalpha = 2, __ISwdigit = 3, __ISwxdigit = 4, __ISwspace = 5, __ISwprint = 6, __ISwgraph = 7, __ISwblank = 8, __ISwcntrl = 9, __ISwpunct = 10, __ISwalnum = 11, _ISwupper = ((__ISwupper) < 8 ? (int) ((1UL << (__ISwupper)) << 24) : ((__ISwupper) < 16 ? (int) ((1UL << (__ISwupper)) << 8) : ((__ISwupper) < 24 ? (int) ((1UL << (__ISwupper)) >> 8) : (int) ((1UL << (__ISwupper)) >> 24)))), _ISwlower = ((__ISwlower) < 8 ? (int) ((1UL << (__ISwlower)) << 24) : ((__ISwlower) < 16 ? (int) ((1UL << (__ISwlower)) << 8) : ((__ISwlower) < 24 ? (int) ((1UL << (__ISwlower)) >> 8) : (int) ((1UL << (__ISwlower)) >> 24)))), _ISwalpha = ((__ISwalpha) < 8 ? (int) ((1UL << (__ISwalpha)) << 24) : ((__ISwalpha) < 16 ? (int) ((1UL << (__ISwalpha)) << 8) : ((__ISwalpha) < 24 ? (int) ((1UL << (__ISwalpha)) >> 8) : (int) ((1UL << (__ISwalpha)) >> 24)))), _ISwdigit = ((__ISwdigit) < 8 ? (int) ((1UL << (__ISwdigit)) << 24) : ((__ISwdigit) < 16 ? (int) ((1UL << (__ISwdigit)) << 8) : ((__ISwdigit) < 24 ? (int) ((1UL << (__ISwdigit)) >> 8) : (int) ((1UL << (__ISwdigit)) >> 24)))), _ISwxdigit = ((__ISwxdigit) < 8 ? (int) ((1UL << (__ISwxdigit)) << 24) : ((__ISwxdigit) < 16 ? (int) ((1UL << (__ISwxdigit)) << 8) : ((__ISwxdigit) < 24 ? (int) ((1UL << (__ISwxdigit)) >> 8) : (int) ((1UL << (__ISwxdigit)) >> 24)))), _ISwspace = ((__ISwspace) < 8 ? (int) ((1UL << (__ISwspace)) << 24) : ((__ISwspace) < 16 ? (int) ((1UL << (__ISwspace)) << 8) : ((__ISwspace) < 24 ? (int) ((1UL << (__ISwspace)) >> 8) : (int) ((1UL << (__ISwspace)) >> 24)))), _ISwprint = ((__ISwprint) < 8 ? (int) ((1UL << (__ISwprint)) << 24) : ((__ISwprint) < 16 ? (int) ((1UL << (__ISwprint)) << 8) : ((__ISwprint) < 24 ? (int) ((1UL << (__ISwprint)) >> 8) : (int) ((1UL << (__ISwprint)) >> 24)))), _ISwgraph = ((__ISwgraph) < 8 ? (int) ((1UL << (__ISwgraph)) << 24) : ((__ISwgraph) < 16 ? (int) ((1UL << (__ISwgraph)) << 8) : ((__ISwgraph) < 24 ? (int) ((1UL << (__ISwgraph)) >> 8) : (int) ((1UL << (__ISwgraph)) >> 24)))), _ISwblank = ((__ISwblank) < 8 ? (int) ((1UL << (__ISwblank)) << 24) : ((__ISwblank) < 16 ? (int) ((1UL << (__ISwblank)) << 8) : ((__ISwblank) < 24 ? (int) ((1UL << (__ISwblank)) >> 8) : (int) ((1UL << (__ISwblank)) >> 24)))), _ISwcntrl = ((__ISwcntrl) < 8 ? (int) ((1UL << (__ISwcntrl)) << 24) : ((__ISwcntrl) < 16 ? (int) ((1UL << (__ISwcntrl)) << 8) : ((__ISwcntrl) < 24 ? (int) ((1UL << (__ISwcntrl)) >> 8) : (int) ((1UL << (__ISwcntrl)) >> 24)))), _ISwpunct = ((__ISwpunct) < 8 ? (int) ((1UL << (__ISwpunct)) << 24) : ((__ISwpunct) < 16 ? (int) ((1UL << (__ISwpunct)) << 8) : ((__ISwpunct) < 24 ? (int) ((1UL << (__ISwpunct)) >> 8) : (int) ((1UL << (__ISwpunct)) >> 24)))), _ISwalnum = ((__ISwalnum) < 8 ? (int) ((1UL << (__ISwalnum)) << 24) : ((__ISwalnum) < 16 ? (int) ((1UL << (__ISwalnum)) << 8) : ((__ISwalnum) < 24 ? (int) ((1UL << (__ISwalnum)) >> 8) : (int) ((1UL << (__ISwalnum)) >> 24)))) }; extern "C" { # 111 "/usr/include/wctype.h" 3 4 extern int iswalnum (wint_t __wc) throw (); extern int iswalpha (wint_t __wc) throw (); extern int iswcntrl (wint_t __wc) throw (); extern int iswdigit (wint_t __wc) throw (); extern int iswgraph (wint_t __wc) throw (); extern int iswlower (wint_t __wc) throw (); extern int iswprint (wint_t __wc) throw (); extern int iswpunct (wint_t __wc) throw (); extern int iswspace (wint_t __wc) throw (); extern int iswupper (wint_t __wc) throw (); extern int iswxdigit (wint_t __wc) throw (); extern int iswblank (wint_t __wc) throw (); # 171 "/usr/include/wctype.h" 3 4 extern wctype_t wctype (const char *__property) throw (); extern int iswctype (wint_t __wc, wctype_t __desc) throw (); # 186 "/usr/include/wctype.h" 3 4 typedef const __int32_t *wctrans_t; extern wint_t towlower (wint_t __wc) throw (); extern wint_t towupper (wint_t __wc) throw (); } # 213 "/usr/include/wctype.h" 3 4 extern "C" { extern wctrans_t wctrans (const char *__property) throw (); extern wint_t towctrans (wint_t __wc, wctrans_t __desc) throw (); # 230 "/usr/include/wctype.h" 3 4 extern int iswalnum_l (wint_t __wc, __locale_t __locale) throw (); extern int iswalpha_l (wint_t __wc, __locale_t __locale) throw (); extern int iswcntrl_l (wint_t __wc, __locale_t __locale) throw (); extern int iswdigit_l (wint_t __wc, __locale_t __locale) throw (); extern int iswgraph_l (wint_t __wc, __locale_t __locale) throw (); extern int iswlower_l (wint_t __wc, __locale_t __locale) throw (); extern int iswprint_l (wint_t __wc, __locale_t __locale) throw (); extern int iswpunct_l (wint_t __wc, __locale_t __locale) throw (); extern int iswspace_l (wint_t __wc, __locale_t __locale) throw (); extern int iswupper_l (wint_t __wc, __locale_t __locale) throw (); extern int iswxdigit_l (wint_t __wc, __locale_t __locale) throw (); extern int iswblank_l (wint_t __wc, __locale_t __locale) throw (); extern wctype_t wctype_l (const char *__property, __locale_t __locale) throw (); extern int iswctype_l (wint_t __wc, wctype_t __desc, __locale_t __locale) throw (); extern wint_t towlower_l (wint_t __wc, __locale_t __locale) throw (); extern wint_t towupper_l (wint_t __wc, __locale_t __locale) throw (); extern wctrans_t wctrans_l (const char *__property, __locale_t __locale) throw (); extern wint_t towctrans_l (wint_t __wc, wctrans_t __desc, __locale_t __locale) throw (); } # 51 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwctype" 2 3 # 80 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwctype" 3 namespace std { using ::wctrans_t; using ::wctype_t; using ::wint_t; using ::iswalnum; using ::iswalpha; using ::iswblank; using ::iswcntrl; using ::iswctype; using ::iswdigit; using ::iswgraph; using ::iswlower; using ::iswprint; using ::iswpunct; using ::iswspace; using ::iswupper; using ::iswxdigit; using ::towctrans; using ::towlower; using ::towupper; using ::wctrans; using ::wctype; } # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cctype" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cctype" 3 # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/ctype_base.h" 1 3 # 36 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/ctype_base.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { struct ctype_base { typedef const int* __to_type; typedef unsigned short mask; static const mask upper = _ISupper; static const mask lower = _ISlower; static const mask alpha = _ISalpha; static const mask digit = _ISdigit; static const mask xdigit = _ISxdigit; static const mask space = _ISspace; static const mask print = _ISprint; static const mask graph = _ISalpha | _ISdigit | _ISpunct; static const mask cntrl = _IScntrl; static const mask punct = _ISpunct; static const mask alnum = _ISalpha | _ISdigit; static const mask blank = _ISblank; }; } # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/streambuf_iterator.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/streambuf_iterator.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 49 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/streambuf_iterator.h" 3 template class istreambuf_iterator : public iterator { public: # 66 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/streambuf_iterator.h" 3 typedef _CharT char_type; typedef _Traits traits_type; typedef typename _Traits::int_type int_type; typedef basic_streambuf<_CharT, _Traits> streambuf_type; typedef basic_istream<_CharT, _Traits> istream_type; template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, ostreambuf_iterator<_CharT2> >::__type copy(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, ostreambuf_iterator<_CharT2>); template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, _CharT2*>::__type __copy_move_a2(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, _CharT2*); template friend __enable_if_t<__is_char<_CharT2>::__value, _CharT2*> __copy_n_a(istreambuf_iterator<_CharT2>, _Size, _CharT2*); template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, istreambuf_iterator<_CharT2> >::__type find(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, const _CharT2&); template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, void>::__type advance(istreambuf_iterator<_CharT2>&, _Distance); private: mutable streambuf_type* _M_sbuf; int_type _M_c; public: constexpr istreambuf_iterator() noexcept : _M_sbuf(0), _M_c(traits_type::eof()) { } istreambuf_iterator(const istreambuf_iterator&) noexcept = default; ~istreambuf_iterator() = default; istreambuf_iterator(istream_type& __s) noexcept : _M_sbuf(__s.rdbuf()), _M_c(traits_type::eof()) { } istreambuf_iterator(streambuf_type* __s) noexcept : _M_sbuf(__s), _M_c(traits_type::eof()) { } istreambuf_iterator& operator=(const istreambuf_iterator&) noexcept = default; char_type operator*() const { int_type __c = _M_get(); # 157 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/streambuf_iterator.h" 3 return traits_type::to_char_type(__c); } istreambuf_iterator& operator++() { ; _M_sbuf->sbumpc(); _M_c = traits_type::eof(); return *this; } istreambuf_iterator operator++(int) { ; istreambuf_iterator __old = *this; __old._M_c = _M_sbuf->sbumpc(); _M_c = traits_type::eof(); return __old; } bool equal(const istreambuf_iterator& __b) const { return _M_at_eof() == __b._M_at_eof(); } private: int_type _M_get() const { int_type __ret = _M_c; if (_M_sbuf && _S_is_eof(__ret) && _S_is_eof(__ret = _M_sbuf->sgetc())) _M_sbuf = 0; return __ret; } bool _M_at_eof() const { return _S_is_eof(_M_get()); } static bool _S_is_eof(int_type __c) { const int_type __eof = traits_type::eof(); return traits_type::eq_int_type(__c, __eof); } }; template inline bool operator==(const istreambuf_iterator<_CharT, _Traits>& __a, const istreambuf_iterator<_CharT, _Traits>& __b) { return __a.equal(__b); } template inline bool operator!=(const istreambuf_iterator<_CharT, _Traits>& __a, const istreambuf_iterator<_CharT, _Traits>& __b) { return !__a.equal(__b); } template class ostreambuf_iterator : public iterator { public: typedef _CharT char_type; typedef _Traits traits_type; typedef basic_streambuf<_CharT, _Traits> streambuf_type; typedef basic_ostream<_CharT, _Traits> ostream_type; template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, ostreambuf_iterator<_CharT2> >::__type copy(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, ostreambuf_iterator<_CharT2>); private: streambuf_type* _M_sbuf; bool _M_failed; public: # 274 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/streambuf_iterator.h" 3 ostreambuf_iterator(ostream_type& __s) noexcept : _M_sbuf(__s.rdbuf()), _M_failed(!_M_sbuf) { } ostreambuf_iterator(streambuf_type* __s) noexcept : _M_sbuf(__s), _M_failed(!_M_sbuf) { } ostreambuf_iterator& operator=(_CharT __c) { if (!_M_failed && _Traits::eq_int_type(_M_sbuf->sputc(__c), _Traits::eof())) _M_failed = true; return *this; } ostreambuf_iterator& operator*() { return *this; } ostreambuf_iterator& operator++(int) { return *this; } ostreambuf_iterator& operator++() { return *this; } bool failed() const noexcept { return _M_failed; } ostreambuf_iterator& _M_put(const _CharT* __ws, streamsize __len) { if (__builtin_expect(!_M_failed, true) && __builtin_expect(this->_M_sbuf->sputn(__ws, __len) != __len, false)) _M_failed = true; return *this; } }; template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, ostreambuf_iterator<_CharT> >::__type copy(istreambuf_iterator<_CharT> __first, istreambuf_iterator<_CharT> __last, ostreambuf_iterator<_CharT> __result) { if (__first._M_sbuf && !__last._M_sbuf && !__result._M_failed) { bool __ineof; __copy_streambufs_eof(__first._M_sbuf, __result._M_sbuf, __ineof); if (!__ineof) __result._M_failed = true; } return __result; } template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, ostreambuf_iterator<_CharT> >::__type __copy_move_a2(_CharT* __first, _CharT* __last, ostreambuf_iterator<_CharT> __result) { const streamsize __num = __last - __first; if (__num > 0) __result._M_put(__first, __num); return __result; } template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, ostreambuf_iterator<_CharT> >::__type __copy_move_a2(const _CharT* __first, const _CharT* __last, ostreambuf_iterator<_CharT> __result) { const streamsize __num = __last - __first; if (__num > 0) __result._M_put(__first, __num); return __result; } template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, _CharT*>::__type __copy_move_a2(istreambuf_iterator<_CharT> __first, istreambuf_iterator<_CharT> __last, _CharT* __result) { typedef istreambuf_iterator<_CharT> __is_iterator_type; typedef typename __is_iterator_type::traits_type traits_type; typedef typename __is_iterator_type::streambuf_type streambuf_type; typedef typename traits_type::int_type int_type; if (__first._M_sbuf && !__last._M_sbuf) { streambuf_type* __sb = __first._M_sbuf; int_type __c = __sb->sgetc(); while (!traits_type::eq_int_type(__c, traits_type::eof())) { const streamsize __n = __sb->egptr() - __sb->gptr(); if (__n > 1) { traits_type::copy(__result, __sb->gptr(), __n); __sb->__safe_gbump(__n); __result += __n; __c = __sb->underflow(); } else { *__result++ = traits_type::to_char_type(__c); __c = __sb->snextc(); } } } return __result; } template __enable_if_t<__is_char<_CharT>::__value, _CharT*> __copy_n_a(istreambuf_iterator<_CharT> __it, _Size __n, _CharT* __result) { if (__n == 0) return __result; ; _CharT* __beg = __result; __result += __it._M_sbuf->sgetn(__beg, __n); ; return __result; } template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, istreambuf_iterator<_CharT> >::__type find(istreambuf_iterator<_CharT> __first, istreambuf_iterator<_CharT> __last, const _CharT& __val) { typedef istreambuf_iterator<_CharT> __is_iterator_type; typedef typename __is_iterator_type::traits_type traits_type; typedef typename __is_iterator_type::streambuf_type streambuf_type; typedef typename traits_type::int_type int_type; const int_type __eof = traits_type::eof(); if (__first._M_sbuf && !__last._M_sbuf) { const int_type __ival = traits_type::to_int_type(__val); streambuf_type* __sb = __first._M_sbuf; int_type __c = __sb->sgetc(); while (!traits_type::eq_int_type(__c, __eof) && !traits_type::eq_int_type(__c, __ival)) { streamsize __n = __sb->egptr() - __sb->gptr(); if (__n > 1) { const _CharT* __p = traits_type::find(__sb->gptr(), __n, __val); if (__p) __n = __p - __sb->gptr(); __sb->__safe_gbump(__n); __c = __sb->sgetc(); } else __c = __sb->snextc(); } __first._M_c = __eof; } return __first; } template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, void>::__type advance(istreambuf_iterator<_CharT>& __i, _Distance __n) { if (__n == 0) return; ; ; typedef istreambuf_iterator<_CharT> __is_iterator_type; typedef typename __is_iterator_type::traits_type traits_type; typedef typename __is_iterator_type::streambuf_type streambuf_type; typedef typename traits_type::int_type int_type; const int_type __eof = traits_type::eof(); streambuf_type* __sb = __i._M_sbuf; while (__n > 0) { streamsize __size = __sb->egptr() - __sb->gptr(); if (__size > __n) { __sb->__safe_gbump(__n); break; } __sb->__safe_gbump(__size); __n -= __size; if (traits_type::eq_int_type(__sb->underflow(), __eof)) { ; break; } } __i._M_c = __eof; } } # 49 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 71 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 template void __convert_to_v(const char*, _Tp&, ios_base::iostate&, const __c_locale&) throw(); template<> void __convert_to_v(const char*, float&, ios_base::iostate&, const __c_locale&) throw(); template<> void __convert_to_v(const char*, double&, ios_base::iostate&, const __c_locale&) throw(); template<> void __convert_to_v(const char*, long double&, ios_base::iostate&, const __c_locale&) throw(); template struct __pad { static void _S_pad(ios_base& __io, _CharT __fill, _CharT* __news, const _CharT* __olds, streamsize __newlen, streamsize __oldlen); }; template _CharT* __add_grouping(_CharT* __s, _CharT __sep, const char* __gbeg, size_t __gsize, const _CharT* __first, const _CharT* __last); template inline ostreambuf_iterator<_CharT> __write(ostreambuf_iterator<_CharT> __s, const _CharT* __ws, int __len) { __s._M_put(__ws, __len); return __s; } template inline _OutIter __write(_OutIter __s, const _CharT* __ws, int __len) { for (int __j = 0; __j < __len; __j++, ++__s) *__s = __ws[__j]; return __s; } # 149 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 template class __ctype_abstract_base : public locale::facet, public ctype_base { public: typedef _CharT char_type; # 168 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 bool is(mask __m, char_type __c) const { return this->do_is(__m, __c); } # 185 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char_type* is(const char_type *__lo, const char_type *__hi, mask *__vec) const { return this->do_is(__lo, __hi, __vec); } # 201 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char_type* scan_is(mask __m, const char_type* __lo, const char_type* __hi) const { return this->do_scan_is(__m, __lo, __hi); } # 217 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char_type* scan_not(mask __m, const char_type* __lo, const char_type* __hi) const { return this->do_scan_not(__m, __lo, __hi); } # 231 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char_type toupper(char_type __c) const { return this->do_toupper(__c); } # 246 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char_type* toupper(char_type *__lo, const char_type* __hi) const { return this->do_toupper(__lo, __hi); } # 260 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char_type tolower(char_type __c) const { return this->do_tolower(__c); } # 275 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char_type* tolower(char_type* __lo, const char_type* __hi) const { return this->do_tolower(__lo, __hi); } # 292 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char_type widen(char __c) const { return this->do_widen(__c); } # 311 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char* widen(const char* __lo, const char* __hi, char_type* __to) const { return this->do_widen(__lo, __hi, __to); } # 330 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char narrow(char_type __c, char __dfault) const { return this->do_narrow(__c, __dfault); } # 352 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char_type* narrow(const char_type* __lo, const char_type* __hi, char __dfault, char* __to) const { return this->do_narrow(__lo, __hi, __dfault, __to); } protected: explicit __ctype_abstract_base(size_t __refs = 0): facet(__refs) { } virtual ~__ctype_abstract_base() { } # 377 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual bool do_is(mask __m, char_type __c) const = 0; # 396 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_is(const char_type* __lo, const char_type* __hi, mask* __vec) const = 0; # 415 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_scan_is(mask __m, const char_type* __lo, const char_type* __hi) const = 0; # 434 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_scan_not(mask __m, const char_type* __lo, const char_type* __hi) const = 0; # 452 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_toupper(char_type __c) const = 0; # 469 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_toupper(char_type* __lo, const char_type* __hi) const = 0; # 485 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_tolower(char_type __c) const = 0; # 502 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_tolower(char_type* __lo, const char_type* __hi) const = 0; # 521 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_widen(char __c) const = 0; # 542 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char* do_widen(const char* __lo, const char* __hi, char_type* __to) const = 0; # 563 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char do_narrow(char_type __c, char __dfault) const = 0; # 588 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_narrow(const char_type* __lo, const char_type* __hi, char __dfault, char* __to) const = 0; }; # 611 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 template class ctype : public __ctype_abstract_base<_CharT> { public: typedef _CharT char_type; typedef typename __ctype_abstract_base<_CharT>::mask mask; static locale::id id; explicit ctype(size_t __refs = 0) : __ctype_abstract_base<_CharT>(__refs) { } protected: virtual ~ctype(); virtual bool do_is(mask __m, char_type __c) const; virtual const char_type* do_is(const char_type* __lo, const char_type* __hi, mask* __vec) const; virtual const char_type* do_scan_is(mask __m, const char_type* __lo, const char_type* __hi) const; virtual const char_type* do_scan_not(mask __m, const char_type* __lo, const char_type* __hi) const; virtual char_type do_toupper(char_type __c) const; virtual const char_type* do_toupper(char_type* __lo, const char_type* __hi) const; virtual char_type do_tolower(char_type __c) const; virtual const char_type* do_tolower(char_type* __lo, const char_type* __hi) const; virtual char_type do_widen(char __c) const; virtual const char* do_widen(const char* __lo, const char* __hi, char_type* __dest) const; virtual char do_narrow(char_type, char __dfault) const; virtual const char_type* do_narrow(const char_type* __lo, const char_type* __hi, char __dfault, char* __to) const; }; template locale::id ctype<_CharT>::id; # 680 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 template<> class ctype : public locale::facet, public ctype_base { public: typedef char char_type; protected: __c_locale _M_c_locale_ctype; bool _M_del; __to_type _M_toupper; __to_type _M_tolower; const mask* _M_table; mutable char _M_widen_ok; mutable char _M_widen[1 + static_cast(-1)]; mutable char _M_narrow[1 + static_cast(-1)]; mutable char _M_narrow_ok; public: static locale::id id; static const size_t table_size = 1 + static_cast(-1); # 717 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 explicit ctype(const mask* __table = 0, bool __del = false, size_t __refs = 0); # 730 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 explicit ctype(__c_locale __cloc, const mask* __table = 0, bool __del = false, size_t __refs = 0); # 743 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 inline bool is(mask __m, char __c) const; # 758 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 inline const char* is(const char* __lo, const char* __hi, mask* __vec) const; # 772 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 inline const char* scan_is(mask __m, const char* __lo, const char* __hi) const; # 786 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 inline const char* scan_not(mask __m, const char* __lo, const char* __hi) const; # 801 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char_type toupper(char_type __c) const { return this->do_toupper(__c); } # 818 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char_type* toupper(char_type *__lo, const char_type* __hi) const { return this->do_toupper(__lo, __hi); } # 834 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char_type tolower(char_type __c) const { return this->do_tolower(__c); } # 851 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char_type* tolower(char_type* __lo, const char_type* __hi) const { return this->do_tolower(__lo, __hi); } # 871 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char_type widen(char __c) const { if (_M_widen_ok) return _M_widen[static_cast(__c)]; this->_M_widen_init(); return this->do_widen(__c); } # 898 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char* widen(const char* __lo, const char* __hi, char_type* __to) const { if (_M_widen_ok == 1) { if (__builtin_expect(__hi != __lo, true)) __builtin_memcpy(__to, __lo, __hi - __lo); return __hi; } if (!_M_widen_ok) _M_widen_init(); return this->do_widen(__lo, __hi, __to); } # 930 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char narrow(char_type __c, char __dfault) const { if (_M_narrow[static_cast(__c)]) return _M_narrow[static_cast(__c)]; const char __t = do_narrow(__c, __dfault); if (__t != __dfault) _M_narrow[static_cast(__c)] = __t; return __t; } # 963 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char_type* narrow(const char_type* __lo, const char_type* __hi, char __dfault, char* __to) const { if (__builtin_expect(_M_narrow_ok == 1, true)) { if (__builtin_expect(__hi != __lo, true)) __builtin_memcpy(__to, __lo, __hi - __lo); return __hi; } if (!_M_narrow_ok) _M_narrow_init(); return this->do_narrow(__lo, __hi, __dfault, __to); } const mask* table() const throw() { return _M_table; } static const mask* classic_table() throw(); protected: virtual ~ctype(); # 1013 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_toupper(char_type __c) const; # 1030 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_toupper(char_type* __lo, const char_type* __hi) const; # 1046 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_tolower(char_type __c) const; # 1063 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_tolower(char_type* __lo, const char_type* __hi) const; # 1083 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_widen(char __c) const { return __c; } # 1106 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char* do_widen(const char* __lo, const char* __hi, char_type* __to) const { if (__builtin_expect(__hi != __lo, true)) __builtin_memcpy(__to, __lo, __hi - __lo); return __hi; } # 1133 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char do_narrow(char_type __c, char __dfault __attribute__((__unused__))) const { return __c; } # 1159 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_narrow(const char_type* __lo, const char_type* __hi, char __dfault __attribute__((__unused__)), char* __to) const { if (__builtin_expect(__hi != __lo, true)) __builtin_memcpy(__to, __lo, __hi - __lo); return __hi; } private: void _M_narrow_init() const; void _M_widen_init() const; }; # 1185 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 template<> class ctype : public __ctype_abstract_base { public: typedef wchar_t char_type; typedef wctype_t __wmask_type; protected: __c_locale _M_c_locale_ctype; bool _M_narrow_ok; char _M_narrow[128]; wint_t _M_widen[1 + static_cast(-1)]; mask _M_bit[16]; __wmask_type _M_wmask[16]; public: static locale::id id; # 1218 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 explicit ctype(size_t __refs = 0); # 1229 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 explicit ctype(__c_locale __cloc, size_t __refs = 0); protected: __wmask_type _M_convert_to_wmask(const mask __m) const throw(); virtual ~ctype(); # 1253 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual bool do_is(mask __m, char_type __c) const; # 1272 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_is(const char_type* __lo, const char_type* __hi, mask* __vec) const; # 1290 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_scan_is(mask __m, const char_type* __lo, const char_type* __hi) const; # 1308 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_scan_not(mask __m, const char_type* __lo, const char_type* __hi) const; # 1325 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_toupper(char_type __c) const; # 1342 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_toupper(char_type* __lo, const char_type* __hi) const; # 1358 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_tolower(char_type __c) const; # 1375 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_tolower(char_type* __lo, const char_type* __hi) const; # 1395 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_widen(char __c) const; # 1417 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char* do_widen(const char* __lo, const char* __hi, char_type* __to) const; # 1440 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char do_narrow(char_type __c, char __dfault) const; # 1466 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_narrow(const char_type* __lo, const char_type* __hi, char __dfault, char* __to) const; void _M_initialize_ctype() throw(); }; template class ctype_byname : public ctype<_CharT> { public: typedef typename ctype<_CharT>::mask mask; explicit ctype_byname(const char* __s, size_t __refs = 0); explicit ctype_byname(const string& __s, size_t __refs = 0) : ctype_byname(__s.c_str(), __refs) { } protected: virtual ~ctype_byname() { } }; template<> class ctype_byname : public ctype { public: explicit ctype_byname(const char* __s, size_t __refs = 0); explicit ctype_byname(const string& __s, size_t __refs = 0); protected: virtual ~ctype_byname(); }; template<> class ctype_byname : public ctype { public: explicit ctype_byname(const char* __s, size_t __refs = 0); explicit ctype_byname(const string& __s, size_t __refs = 0); protected: virtual ~ctype_byname(); }; } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/ctype_inline.h" 1 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/ctype_inline.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { bool ctype:: is(mask __m, char __c) const { return _M_table[static_cast(__c)] & __m; } const char* ctype:: is(const char* __low, const char* __high, mask* __vec) const { while (__low < __high) *__vec++ = _M_table[static_cast(*__low++)]; return __high; } const char* ctype:: scan_is(mask __m, const char* __low, const char* __high) const { while (__low < __high && !(_M_table[static_cast(*__low)] & __m)) ++__low; return __low; } const char* ctype:: scan_not(mask __m, const char* __low, const char* __high) const { while (__low < __high && (_M_table[static_cast(*__low)] & __m) != 0) ++__low; return __low; } } # 1539 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { class __num_base { public: enum { _S_ominus, _S_oplus, _S_ox, _S_oX, _S_odigits, _S_odigits_end = _S_odigits + 16, _S_oudigits = _S_odigits_end, _S_oudigits_end = _S_oudigits + 16, _S_oe = _S_odigits + 14, _S_oE = _S_oudigits + 14, _S_oend = _S_oudigits_end }; static const char* _S_atoms_out; static const char* _S_atoms_in; enum { _S_iminus, _S_iplus, _S_ix, _S_iX, _S_izero, _S_ie = _S_izero + 14, _S_iE = _S_izero + 20, _S_iend = 26 }; static void _S_format_float(const ios_base& __io, char* __fptr, char __mod) throw(); }; template struct __numpunct_cache : public locale::facet { const char* _M_grouping; size_t _M_grouping_size; bool _M_use_grouping; const _CharT* _M_truename; size_t _M_truename_size; const _CharT* _M_falsename; size_t _M_falsename_size; _CharT _M_decimal_point; _CharT _M_thousands_sep; _CharT _M_atoms_out[__num_base::_S_oend]; _CharT _M_atoms_in[__num_base::_S_iend]; bool _M_allocated; __numpunct_cache(size_t __refs = 0) : facet(__refs), _M_grouping(0), _M_grouping_size(0), _M_use_grouping(false), _M_truename(0), _M_truename_size(0), _M_falsename(0), _M_falsename_size(0), _M_decimal_point(_CharT()), _M_thousands_sep(_CharT()), _M_allocated(false) { } ~__numpunct_cache(); void _M_cache(const locale& __loc); private: __numpunct_cache& operator=(const __numpunct_cache&); explicit __numpunct_cache(const __numpunct_cache&); }; template __numpunct_cache<_CharT>::~__numpunct_cache() { if (_M_allocated) { delete [] _M_grouping; delete [] _M_truename; delete [] _M_falsename; } } # 1669 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 template class numpunct : public locale::facet { public: typedef _CharT char_type; typedef basic_string<_CharT> string_type; typedef __numpunct_cache<_CharT> __cache_type; protected: __cache_type* _M_data; public: static locale::id id; explicit numpunct(size_t __refs = 0) : facet(__refs), _M_data(0) { _M_initialize_numpunct(); } # 1707 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 explicit numpunct(__cache_type* __cache, size_t __refs = 0) : facet(__refs), _M_data(__cache) { _M_initialize_numpunct(); } # 1721 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 explicit numpunct(__c_locale __cloc, size_t __refs = 0) : facet(__refs), _M_data(0) { _M_initialize_numpunct(__cloc); } # 1735 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char_type decimal_point() const { return this->do_decimal_point(); } # 1748 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char_type thousands_sep() const { return this->do_thousands_sep(); } # 1779 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 string grouping() const { return this->do_grouping(); } # 1792 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 string_type truename() const { return this->do_truename(); } # 1805 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 string_type falsename() const { return this->do_falsename(); } protected: virtual ~numpunct(); # 1822 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_decimal_point() const { return _M_data->_M_decimal_point; } # 1834 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_thousands_sep() const { return _M_data->_M_thousands_sep; } # 1847 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual string do_grouping() const { return _M_data->_M_grouping; } # 1860 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual string_type do_truename() const { return _M_data->_M_truename; } # 1873 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual string_type do_falsename() const { return _M_data->_M_falsename; } void _M_initialize_numpunct(__c_locale __cloc = 0); }; template locale::id numpunct<_CharT>::id; template<> numpunct::~numpunct(); template<> void numpunct::_M_initialize_numpunct(__c_locale __cloc); template<> numpunct::~numpunct(); template<> void numpunct::_M_initialize_numpunct(__c_locale __cloc); template class numpunct_byname : public numpunct<_CharT> { public: typedef _CharT char_type; typedef basic_string<_CharT> string_type; explicit numpunct_byname(const char* __s, size_t __refs = 0) : numpunct<_CharT>(__refs) { if (__builtin_strcmp(__s, "C") != 0 && __builtin_strcmp(__s, "POSIX") != 0) { __c_locale __tmp; this->_S_create_c_locale(__tmp, __s); this->_M_initialize_numpunct(__tmp); this->_S_destroy_c_locale(__tmp); } } explicit numpunct_byname(const string& __s, size_t __refs = 0) : numpunct_byname(__s.c_str(), __refs) { } protected: virtual ~numpunct_byname() { } }; # 1951 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 template class num_get : public locale::facet { public: typedef _CharT char_type; typedef _InIter iter_type; static locale::id id; # 1972 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 explicit num_get(size_t __refs = 0) : facet(__refs) { } # 1998 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, bool& __v) const { return this->do_get(__in, __end, __io, __err, __v); } # 2035 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, long& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned short& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned int& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned long& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, long long& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned long long& __v) const { return this->do_get(__in, __end, __io, __err, __v); } # 2095 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, float& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, double& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, long double& __v) const { return this->do_get(__in, __end, __io, __err, __v); } # 2138 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, void*& __v) const { return this->do_get(__in, __end, __io, __err, __v); } protected: virtual ~num_get() { } iter_type _M_extract_float(iter_type, iter_type, ios_base&, ios_base::iostate&, string&) const; template iter_type _M_extract_int(iter_type, iter_type, ios_base&, ios_base::iostate&, _ValueT&) const; template typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, int>::__type _M_find(const _CharT2*, size_t __len, _CharT2 __c) const { int __ret = -1; if (__len <= 10) { if (__c >= _CharT2('0') && __c < _CharT2(_CharT2('0') + __len)) __ret = __c - _CharT2('0'); } else { if (__c >= _CharT2('0') && __c <= _CharT2('9')) __ret = __c - _CharT2('0'); else if (__c >= _CharT2('a') && __c <= _CharT2('f')) __ret = 10 + (__c - _CharT2('a')); else if (__c >= _CharT2('A') && __c <= _CharT2('F')) __ret = 10 + (__c - _CharT2('A')); } return __ret; } template typename __gnu_cxx::__enable_if::__value, int>::__type _M_find(const _CharT2* __zero, size_t __len, _CharT2 __c) const { int __ret = -1; const char_type* __q = char_traits<_CharT2>::find(__zero, __len, __c); if (__q) { __ret = __q - __zero; if (__ret > 15) __ret -= 6; } return __ret; } # 2211 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual iter_type do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, bool&) const; virtual iter_type do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, long& __v) const { return _M_extract_int(__beg, __end, __io, __err, __v); } virtual iter_type do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned short& __v) const { return _M_extract_int(__beg, __end, __io, __err, __v); } virtual iter_type do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned int& __v) const { return _M_extract_int(__beg, __end, __io, __err, __v); } virtual iter_type do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned long& __v) const { return _M_extract_int(__beg, __end, __io, __err, __v); } virtual iter_type do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, long long& __v) const { return _M_extract_int(__beg, __end, __io, __err, __v); } virtual iter_type do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned long long& __v) const { return _M_extract_int(__beg, __end, __io, __err, __v); } virtual iter_type do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, float&) const; virtual iter_type do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, double&) const; virtual iter_type do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, long double&) const; virtual iter_type do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, void*&) const; # 2274 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 }; template locale::id num_get<_CharT, _InIter>::id; # 2292 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 template class num_put : public locale::facet { public: typedef _CharT char_type; typedef _OutIter iter_type; static locale::id id; # 2313 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 explicit num_put(size_t __refs = 0) : facet(__refs) { } # 2331 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 iter_type put(iter_type __s, ios_base& __io, char_type __fill, bool __v) const { return this->do_put(__s, __io, __fill, __v); } # 2373 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 iter_type put(iter_type __s, ios_base& __io, char_type __fill, long __v) const { return this->do_put(__s, __io, __fill, __v); } iter_type put(iter_type __s, ios_base& __io, char_type __fill, unsigned long __v) const { return this->do_put(__s, __io, __fill, __v); } iter_type put(iter_type __s, ios_base& __io, char_type __fill, long long __v) const { return this->do_put(__s, __io, __fill, __v); } iter_type put(iter_type __s, ios_base& __io, char_type __fill, unsigned long long __v) const { return this->do_put(__s, __io, __fill, __v); } # 2436 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 iter_type put(iter_type __s, ios_base& __io, char_type __fill, double __v) const { return this->do_put(__s, __io, __fill, __v); } iter_type put(iter_type __s, ios_base& __io, char_type __fill, long double __v) const { return this->do_put(__s, __io, __fill, __v); } # 2461 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 iter_type put(iter_type __s, ios_base& __io, char_type __fill, const void* __v) const { return this->do_put(__s, __io, __fill, __v); } protected: template iter_type _M_insert_float(iter_type, ios_base& __io, char_type __fill, char __mod, _ValueT __v) const; void _M_group_float(const char* __grouping, size_t __grouping_size, char_type __sep, const char_type* __p, char_type* __new, char_type* __cs, int& __len) const; template iter_type _M_insert_int(iter_type, ios_base& __io, char_type __fill, _ValueT __v) const; void _M_group_int(const char* __grouping, size_t __grouping_size, char_type __sep, ios_base& __io, char_type* __new, char_type* __cs, int& __len) const; void _M_pad(char_type __fill, streamsize __w, ios_base& __io, char_type* __new, const char_type* __cs, int& __len) const; virtual ~num_put() { } # 2509 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual iter_type do_put(iter_type __s, ios_base& __io, char_type __fill, bool __v) const; virtual iter_type do_put(iter_type __s, ios_base& __io, char_type __fill, long __v) const { return _M_insert_int(__s, __io, __fill, __v); } virtual iter_type do_put(iter_type __s, ios_base& __io, char_type __fill, unsigned long __v) const { return _M_insert_int(__s, __io, __fill, __v); } virtual iter_type do_put(iter_type __s, ios_base& __io, char_type __fill, long long __v) const { return _M_insert_int(__s, __io, __fill, __v); } virtual iter_type do_put(iter_type __s, ios_base& __io, char_type __fill, unsigned long long __v) const { return _M_insert_int(__s, __io, __fill, __v); } virtual iter_type do_put(iter_type, ios_base&, char_type, double) const; virtual iter_type do_put(iter_type, ios_base&, char_type, long double) const; virtual iter_type do_put(iter_type, ios_base&, char_type, const void*) const; }; template locale::id num_put<_CharT, _OutIter>::id; # 2567 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 template inline bool isspace(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::space, __c); } template inline bool isprint(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::print, __c); } template inline bool iscntrl(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::cntrl, __c); } template inline bool isupper(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::upper, __c); } template inline bool islower(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::lower, __c); } template inline bool isalpha(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::alpha, __c); } template inline bool isdigit(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::digit, __c); } template inline bool ispunct(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::punct, __c); } template inline bool isxdigit(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::xdigit, __c); } template inline bool isalnum(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::alnum, __c); } template inline bool isgraph(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::graph, __c); } template inline bool isblank(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::blank, __c); } template inline _CharT toupper(_CharT __c, const locale& __loc) { return use_facet >(__loc).toupper(__c); } template inline _CharT tolower(_CharT __c, const locale& __loc) { return use_facet >(__loc).tolower(__c); } } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.tcc" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template struct __use_cache { const _Facet* operator() (const locale& __loc) const; }; template struct __use_cache<__numpunct_cache<_CharT> > { const __numpunct_cache<_CharT>* operator() (const locale& __loc) const { const size_t __i = numpunct<_CharT>::id._M_id(); const locale::facet** __caches = __loc._M_impl->_M_caches; if (!__caches[__i]) { __numpunct_cache<_CharT>* __tmp = 0; try { __tmp = new __numpunct_cache<_CharT>; __tmp->_M_cache(__loc); } catch(...) { delete __tmp; throw; } __loc._M_impl->_M_install_cache(__tmp, __i); } return static_cast*>(__caches[__i]); } }; template void __numpunct_cache<_CharT>::_M_cache(const locale& __loc) { const numpunct<_CharT>& __np = use_facet >(__loc); char* __grouping = 0; _CharT* __truename = 0; _CharT* __falsename = 0; try { const string& __g = __np.grouping(); _M_grouping_size = __g.size(); __grouping = new char[_M_grouping_size]; __g.copy(__grouping, _M_grouping_size); _M_use_grouping = (_M_grouping_size && static_cast(__grouping[0]) > 0 && (__grouping[0] != __gnu_cxx::__numeric_traits::__max)); const basic_string<_CharT>& __tn = __np.truename(); _M_truename_size = __tn.size(); __truename = new _CharT[_M_truename_size]; __tn.copy(__truename, _M_truename_size); const basic_string<_CharT>& __fn = __np.falsename(); _M_falsename_size = __fn.size(); __falsename = new _CharT[_M_falsename_size]; __fn.copy(__falsename, _M_falsename_size); _M_decimal_point = __np.decimal_point(); _M_thousands_sep = __np.thousands_sep(); const ctype<_CharT>& __ct = use_facet >(__loc); __ct.widen(__num_base::_S_atoms_out, __num_base::_S_atoms_out + __num_base::_S_oend, _M_atoms_out); __ct.widen(__num_base::_S_atoms_in, __num_base::_S_atoms_in + __num_base::_S_iend, _M_atoms_in); _M_grouping = __grouping; _M_truename = __truename; _M_falsename = __falsename; _M_allocated = true; } catch(...) { delete [] __grouping; delete [] __truename; delete [] __falsename; throw; } } # 139 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.tcc" 3 __attribute__ ((__pure__)) bool __verify_grouping(const char* __grouping, size_t __grouping_size, const string& __grouping_tmp) throw (); template _InIter num_get<_CharT, _InIter>:: _M_extract_float(_InIter __beg, _InIter __end, ios_base& __io, ios_base::iostate& __err, string& __xtrc) const { typedef char_traits<_CharT> __traits_type; typedef __numpunct_cache<_CharT> __cache_type; __use_cache<__cache_type> __uc; const locale& __loc = __io._M_getloc(); const __cache_type* __lc = __uc(__loc); const _CharT* __lit = __lc->_M_atoms_in; char_type __c = char_type(); bool __testeof = __beg == __end; if (!__testeof) { __c = *__beg; const bool __plus = __c == __lit[__num_base::_S_iplus]; if ((__plus || __c == __lit[__num_base::_S_iminus]) && !(__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) && !(__c == __lc->_M_decimal_point)) { __xtrc += __plus ? '+' : '-'; if (++__beg != __end) __c = *__beg; else __testeof = true; } } bool __found_mantissa = false; int __sep_pos = 0; while (!__testeof) { if ((__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) || __c == __lc->_M_decimal_point) break; else if (__c == __lit[__num_base::_S_izero]) { if (!__found_mantissa) { __xtrc += '0'; __found_mantissa = true; } ++__sep_pos; if (++__beg != __end) __c = *__beg; else __testeof = true; } else break; } bool __found_dec = false; bool __found_sci = false; string __found_grouping; if (__lc->_M_use_grouping) __found_grouping.reserve(32); const char_type* __lit_zero = __lit + __num_base::_S_izero; if (!__lc->_M_allocated) while (!__testeof) { const int __digit = _M_find(__lit_zero, 10, __c); if (__digit != -1) { __xtrc += '0' + __digit; __found_mantissa = true; } else if (__c == __lc->_M_decimal_point && !__found_dec && !__found_sci) { __xtrc += '.'; __found_dec = true; } else if ((__c == __lit[__num_base::_S_ie] || __c == __lit[__num_base::_S_iE]) && !__found_sci && __found_mantissa) { __xtrc += 'e'; __found_sci = true; if (++__beg != __end) { __c = *__beg; const bool __plus = __c == __lit[__num_base::_S_iplus]; if (__plus || __c == __lit[__num_base::_S_iminus]) __xtrc += __plus ? '+' : '-'; else continue; } else { __testeof = true; break; } } else break; if (++__beg != __end) __c = *__beg; else __testeof = true; } else while (!__testeof) { if (__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) { if (!__found_dec && !__found_sci) { if (__sep_pos) { __found_grouping += static_cast(__sep_pos); __sep_pos = 0; } else { __xtrc.clear(); break; } } else break; } else if (__c == __lc->_M_decimal_point) { if (!__found_dec && !__found_sci) { if (__found_grouping.size()) __found_grouping += static_cast(__sep_pos); __xtrc += '.'; __found_dec = true; } else break; } else { const char_type* __q = __traits_type::find(__lit_zero, 10, __c); if (__q) { __xtrc += '0' + (__q - __lit_zero); __found_mantissa = true; ++__sep_pos; } else if ((__c == __lit[__num_base::_S_ie] || __c == __lit[__num_base::_S_iE]) && !__found_sci && __found_mantissa) { if (__found_grouping.size() && !__found_dec) __found_grouping += static_cast(__sep_pos); __xtrc += 'e'; __found_sci = true; if (++__beg != __end) { __c = *__beg; const bool __plus = __c == __lit[__num_base::_S_iplus]; if ((__plus || __c == __lit[__num_base::_S_iminus]) && !(__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) && !(__c == __lc->_M_decimal_point)) __xtrc += __plus ? '+' : '-'; else continue; } else { __testeof = true; break; } } else break; } if (++__beg != __end) __c = *__beg; else __testeof = true; } if (__found_grouping.size()) { if (!__found_dec && !__found_sci) __found_grouping += static_cast(__sep_pos); if (!std::__verify_grouping(__lc->_M_grouping, __lc->_M_grouping_size, __found_grouping)) __err = ios_base::failbit; } return __beg; } template template _InIter num_get<_CharT, _InIter>:: _M_extract_int(_InIter __beg, _InIter __end, ios_base& __io, ios_base::iostate& __err, _ValueT& __v) const { typedef char_traits<_CharT> __traits_type; using __gnu_cxx::__add_unsigned; typedef typename __add_unsigned<_ValueT>::__type __unsigned_type; typedef __numpunct_cache<_CharT> __cache_type; __use_cache<__cache_type> __uc; const locale& __loc = __io._M_getloc(); const __cache_type* __lc = __uc(__loc); const _CharT* __lit = __lc->_M_atoms_in; char_type __c = char_type(); const ios_base::fmtflags __basefield = __io.flags() & ios_base::basefield; const bool __oct = __basefield == ios_base::oct; int __base = __oct ? 8 : (__basefield == ios_base::hex ? 16 : 10); bool __testeof = __beg == __end; bool __negative = false; if (!__testeof) { __c = *__beg; __negative = __c == __lit[__num_base::_S_iminus]; if ((__negative || __c == __lit[__num_base::_S_iplus]) && !(__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) && !(__c == __lc->_M_decimal_point)) { if (++__beg != __end) __c = *__beg; else __testeof = true; } } bool __found_zero = false; int __sep_pos = 0; while (!__testeof) { if ((__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) || __c == __lc->_M_decimal_point) break; else if (__c == __lit[__num_base::_S_izero] && (!__found_zero || __base == 10)) { __found_zero = true; ++__sep_pos; if (__basefield == 0) __base = 8; if (__base == 8) __sep_pos = 0; } else if (__found_zero && (__c == __lit[__num_base::_S_ix] || __c == __lit[__num_base::_S_iX])) { if (__basefield == 0) __base = 16; if (__base == 16) { __found_zero = false; __sep_pos = 0; } else break; } else break; if (++__beg != __end) { __c = *__beg; if (!__found_zero) break; } else __testeof = true; } const size_t __len = (__base == 16 ? __num_base::_S_iend - __num_base::_S_izero : __base); typedef __gnu_cxx::__numeric_traits<_ValueT> __num_traits; string __found_grouping; if (__lc->_M_use_grouping) __found_grouping.reserve(32); bool __testfail = false; bool __testoverflow = false; const __unsigned_type __max = (__negative && __num_traits::__is_signed) ? -static_cast<__unsigned_type>(__num_traits::__min) : __num_traits::__max; const __unsigned_type __smax = __max / __base; __unsigned_type __result = 0; int __digit = 0; const char_type* __lit_zero = __lit + __num_base::_S_izero; if (!__lc->_M_allocated) while (!__testeof) { __digit = _M_find(__lit_zero, __len, __c); if (__digit == -1) break; if (__result > __smax) __testoverflow = true; else { __result *= __base; __testoverflow |= __result > __max - __digit; __result += __digit; ++__sep_pos; } if (++__beg != __end) __c = *__beg; else __testeof = true; } else while (!__testeof) { if (__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) { if (__sep_pos) { __found_grouping += static_cast(__sep_pos); __sep_pos = 0; } else { __testfail = true; break; } } else if (__c == __lc->_M_decimal_point) break; else { const char_type* __q = __traits_type::find(__lit_zero, __len, __c); if (!__q) break; __digit = __q - __lit_zero; if (__digit > 15) __digit -= 6; if (__result > __smax) __testoverflow = true; else { __result *= __base; __testoverflow |= __result > __max - __digit; __result += __digit; ++__sep_pos; } } if (++__beg != __end) __c = *__beg; else __testeof = true; } if (__found_grouping.size()) { __found_grouping += static_cast(__sep_pos); if (!std::__verify_grouping(__lc->_M_grouping, __lc->_M_grouping_size, __found_grouping)) __err = ios_base::failbit; } if ((!__sep_pos && !__found_zero && !__found_grouping.size()) || __testfail) { __v = 0; __err = ios_base::failbit; } else if (__testoverflow) { if (__negative && __num_traits::__is_signed) __v = __num_traits::__min; else __v = __num_traits::__max; __err = ios_base::failbit; } else __v = __negative ? -__result : __result; if (__testeof) __err |= ios_base::eofbit; return __beg; } template _InIter num_get<_CharT, _InIter>:: do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, bool& __v) const { if (!(__io.flags() & ios_base::boolalpha)) { long __l = -1; __beg = _M_extract_int(__beg, __end, __io, __err, __l); if (__l == 0 || __l == 1) __v = bool(__l); else { __v = true; __err = ios_base::failbit; if (__beg == __end) __err |= ios_base::eofbit; } } else { typedef __numpunct_cache<_CharT> __cache_type; __use_cache<__cache_type> __uc; const locale& __loc = __io._M_getloc(); const __cache_type* __lc = __uc(__loc); bool __testf = true; bool __testt = true; bool __donef = __lc->_M_falsename_size == 0; bool __donet = __lc->_M_truename_size == 0; bool __testeof = false; size_t __n = 0; while (!__donef || !__donet) { if (__beg == __end) { __testeof = true; break; } const char_type __c = *__beg; if (!__donef) __testf = __c == __lc->_M_falsename[__n]; if (!__testf && __donet) break; if (!__donet) __testt = __c == __lc->_M_truename[__n]; if (!__testt && __donef) break; if (!__testt && !__testf) break; ++__n; ++__beg; __donef = !__testf || __n >= __lc->_M_falsename_size; __donet = !__testt || __n >= __lc->_M_truename_size; } if (__testf && __n == __lc->_M_falsename_size && __n) { __v = false; if (__testt && __n == __lc->_M_truename_size) __err = ios_base::failbit; else __err = __testeof ? ios_base::eofbit : ios_base::goodbit; } else if (__testt && __n == __lc->_M_truename_size && __n) { __v = true; __err = __testeof ? ios_base::eofbit : ios_base::goodbit; } else { __v = false; __err = ios_base::failbit; if (__testeof) __err |= ios_base::eofbit; } } return __beg; } template _InIter num_get<_CharT, _InIter>:: do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, float& __v) const { string __xtrc; __xtrc.reserve(32); __beg = _M_extract_float(__beg, __end, __io, __err, __xtrc); std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale()); if (__beg == __end) __err |= ios_base::eofbit; return __beg; } template _InIter num_get<_CharT, _InIter>:: do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, double& __v) const { string __xtrc; __xtrc.reserve(32); __beg = _M_extract_float(__beg, __end, __io, __err, __xtrc); std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale()); if (__beg == __end) __err |= ios_base::eofbit; return __beg; } # 735 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.tcc" 3 template _InIter num_get<_CharT, _InIter>:: do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, long double& __v) const { string __xtrc; __xtrc.reserve(32); __beg = _M_extract_float(__beg, __end, __io, __err, __xtrc); std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale()); if (__beg == __end) __err |= ios_base::eofbit; return __beg; } template _InIter num_get<_CharT, _InIter>:: do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, void*& __v) const { typedef ios_base::fmtflags fmtflags; const fmtflags __fmt = __io.flags(); __io.flags((__fmt & ~ios_base::basefield) | ios_base::hex); typedef __gnu_cxx::__conditional_type<(sizeof(void*) <= sizeof(unsigned long)), unsigned long, unsigned long long>::__type _UIntPtrType; _UIntPtrType __ul; __beg = _M_extract_int(__beg, __end, __io, __err, __ul); __io.flags(__fmt); __v = reinterpret_cast(__ul); return __beg; } template void num_put<_CharT, _OutIter>:: _M_pad(_CharT __fill, streamsize __w, ios_base& __io, _CharT* __new, const _CharT* __cs, int& __len) const { __pad<_CharT, char_traits<_CharT> >::_S_pad(__io, __fill, __new, __cs, __w, __len); __len = static_cast(__w); } template int __int_to_char(_CharT* __bufend, _ValueT __v, const _CharT* __lit, ios_base::fmtflags __flags, bool __dec) { _CharT* __buf = __bufend; if (__builtin_expect(__dec, true)) { do { *--__buf = __lit[(__v % 10) + __num_base::_S_odigits]; __v /= 10; } while (__v != 0); } else if ((__flags & ios_base::basefield) == ios_base::oct) { do { *--__buf = __lit[(__v & 0x7) + __num_base::_S_odigits]; __v >>= 3; } while (__v != 0); } else { const bool __uppercase = __flags & ios_base::uppercase; const int __case_offset = __uppercase ? __num_base::_S_oudigits : __num_base::_S_odigits; do { *--__buf = __lit[(__v & 0xf) + __case_offset]; __v >>= 4; } while (__v != 0); } return __bufend - __buf; } template void num_put<_CharT, _OutIter>:: _M_group_int(const char* __grouping, size_t __grouping_size, _CharT __sep, ios_base&, _CharT* __new, _CharT* __cs, int& __len) const { _CharT* __p = std::__add_grouping(__new, __sep, __grouping, __grouping_size, __cs, __cs + __len); __len = __p - __new; } template template _OutIter num_put<_CharT, _OutIter>:: _M_insert_int(_OutIter __s, ios_base& __io, _CharT __fill, _ValueT __v) const { using __gnu_cxx::__add_unsigned; typedef typename __add_unsigned<_ValueT>::__type __unsigned_type; typedef __numpunct_cache<_CharT> __cache_type; __use_cache<__cache_type> __uc; const locale& __loc = __io._M_getloc(); const __cache_type* __lc = __uc(__loc); const _CharT* __lit = __lc->_M_atoms_out; const ios_base::fmtflags __flags = __io.flags(); const int __ilen = 5 * sizeof(_ValueT); _CharT* __cs = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __ilen)); const ios_base::fmtflags __basefield = __flags & ios_base::basefield; const bool __dec = (__basefield != ios_base::oct && __basefield != ios_base::hex); const __unsigned_type __u = ((__v > 0 || !__dec) ? __unsigned_type(__v) : -__unsigned_type(__v)); int __len = __int_to_char(__cs + __ilen, __u, __lit, __flags, __dec); __cs += __ilen - __len; if (__lc->_M_use_grouping) { _CharT* __cs2 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * (__len + 1) * 2)); _M_group_int(__lc->_M_grouping, __lc->_M_grouping_size, __lc->_M_thousands_sep, __io, __cs2 + 2, __cs, __len); __cs = __cs2 + 2; } if (__builtin_expect(__dec, true)) { if (__v >= 0) { if (bool(__flags & ios_base::showpos) && __gnu_cxx::__numeric_traits<_ValueT>::__is_signed) *--__cs = __lit[__num_base::_S_oplus], ++__len; } else *--__cs = __lit[__num_base::_S_ominus], ++__len; } else if (bool(__flags & ios_base::showbase) && __v) { if (__basefield == ios_base::oct) *--__cs = __lit[__num_base::_S_odigits], ++__len; else { const bool __uppercase = __flags & ios_base::uppercase; *--__cs = __lit[__num_base::_S_ox + __uppercase]; *--__cs = __lit[__num_base::_S_odigits]; __len += 2; } } const streamsize __w = __io.width(); if (__w > static_cast(__len)) { _CharT* __cs3 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __w)); _M_pad(__fill, __w, __io, __cs3, __cs, __len); __cs = __cs3; } __io.width(0); return std::__write(__s, __cs, __len); } template void num_put<_CharT, _OutIter>:: _M_group_float(const char* __grouping, size_t __grouping_size, _CharT __sep, const _CharT* __p, _CharT* __new, _CharT* __cs, int& __len) const { const int __declen = __p ? __p - __cs : __len; _CharT* __p2 = std::__add_grouping(__new, __sep, __grouping, __grouping_size, __cs, __cs + __declen); int __newlen = __p2 - __new; if (__p) { char_traits<_CharT>::copy(__p2, __p, __len - __declen); __newlen += __len - __declen; } __len = __newlen; } # 971 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.tcc" 3 template template _OutIter num_put<_CharT, _OutIter>:: _M_insert_float(_OutIter __s, ios_base& __io, _CharT __fill, char __mod, _ValueT __v) const { typedef __numpunct_cache<_CharT> __cache_type; __use_cache<__cache_type> __uc; const locale& __loc = __io._M_getloc(); const __cache_type* __lc = __uc(__loc); const streamsize __prec = __io.precision() < 0 ? 6 : __io.precision(); const int __max_digits = __gnu_cxx::__numeric_traits<_ValueT>::__digits10; int __len; char __fbuf[16]; __num_base::_S_format_float(__io, __fbuf, __mod); const bool __use_prec = (__io.flags() & ios_base::floatfield) != ios_base::floatfield; int __cs_size = __max_digits * 3; char* __cs = static_cast(__builtin_alloca(__cs_size)); if (__use_prec) __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, __fbuf, __prec, __v); else __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, __fbuf, __v); if (__len >= __cs_size) { __cs_size = __len + 1; __cs = static_cast(__builtin_alloca(__cs_size)); if (__use_prec) __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, __fbuf, __prec, __v); else __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, __fbuf, __v); } # 1044 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.tcc" 3 const ctype<_CharT>& __ctype = use_facet >(__loc); _CharT* __ws = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __len)); __ctype.widen(__cs, __cs + __len, __ws); _CharT* __wp = 0; const char* __p = char_traits::find(__cs, __len, '.'); if (__p) { __wp = __ws + (__p - __cs); *__wp = __lc->_M_decimal_point; } if (__lc->_M_use_grouping && (__wp || __len < 3 || (__cs[1] <= '9' && __cs[2] <= '9' && __cs[1] >= '0' && __cs[2] >= '0'))) { _CharT* __ws2 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __len * 2)); streamsize __off = 0; if (__cs[0] == '-' || __cs[0] == '+') { __off = 1; __ws2[0] = __ws[0]; __len -= 1; } _M_group_float(__lc->_M_grouping, __lc->_M_grouping_size, __lc->_M_thousands_sep, __wp, __ws2 + __off, __ws + __off, __len); __len += __off; __ws = __ws2; } const streamsize __w = __io.width(); if (__w > static_cast(__len)) { _CharT* __ws3 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __w)); _M_pad(__fill, __w, __io, __ws3, __ws, __len); __ws = __ws3; } __io.width(0); return std::__write(__s, __ws, __len); } template _OutIter num_put<_CharT, _OutIter>:: do_put(iter_type __s, ios_base& __io, char_type __fill, bool __v) const { const ios_base::fmtflags __flags = __io.flags(); if ((__flags & ios_base::boolalpha) == 0) { const long __l = __v; __s = _M_insert_int(__s, __io, __fill, __l); } else { typedef __numpunct_cache<_CharT> __cache_type; __use_cache<__cache_type> __uc; const locale& __loc = __io._M_getloc(); const __cache_type* __lc = __uc(__loc); const _CharT* __name = __v ? __lc->_M_truename : __lc->_M_falsename; int __len = __v ? __lc->_M_truename_size : __lc->_M_falsename_size; const streamsize __w = __io.width(); if (__w > static_cast(__len)) { const streamsize __plen = __w - __len; _CharT* __ps = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __plen)); char_traits<_CharT>::assign(__ps, __plen, __fill); __io.width(0); if ((__flags & ios_base::adjustfield) == ios_base::left) { __s = std::__write(__s, __name, __len); __s = std::__write(__s, __ps, __plen); } else { __s = std::__write(__s, __ps, __plen); __s = std::__write(__s, __name, __len); } return __s; } __io.width(0); __s = std::__write(__s, __name, __len); } return __s; } template _OutIter num_put<_CharT, _OutIter>:: do_put(iter_type __s, ios_base& __io, char_type __fill, double __v) const { return _M_insert_float(__s, __io, __fill, char(), __v); } # 1169 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.tcc" 3 template _OutIter num_put<_CharT, _OutIter>:: do_put(iter_type __s, ios_base& __io, char_type __fill, long double __v) const { return _M_insert_float(__s, __io, __fill, 'L', __v); } template _OutIter num_put<_CharT, _OutIter>:: do_put(iter_type __s, ios_base& __io, char_type __fill, const void* __v) const { const ios_base::fmtflags __flags = __io.flags(); const ios_base::fmtflags __fmt = ~(ios_base::basefield | ios_base::uppercase); __io.flags((__flags & __fmt) | (ios_base::hex | ios_base::showbase)); typedef __gnu_cxx::__conditional_type<(sizeof(const void*) <= sizeof(unsigned long)), unsigned long, unsigned long long>::__type _UIntPtrType; __s = _M_insert_int(__s, __io, __fill, reinterpret_cast<_UIntPtrType>(__v)); __io.flags(__flags); return __s; } # 1206 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.tcc" 3 template void __pad<_CharT, _Traits>::_S_pad(ios_base& __io, _CharT __fill, _CharT* __news, const _CharT* __olds, streamsize __newlen, streamsize __oldlen) { const size_t __plen = static_cast(__newlen - __oldlen); const ios_base::fmtflags __adjust = __io.flags() & ios_base::adjustfield; if (__adjust == ios_base::left) { _Traits::copy(__news, __olds, __oldlen); _Traits::assign(__news + __oldlen, __plen, __fill); return; } size_t __mod = 0; if (__adjust == ios_base::internal) { const locale& __loc = __io._M_getloc(); const ctype<_CharT>& __ctype = use_facet >(__loc); if (__ctype.widen('-') == __olds[0] || __ctype.widen('+') == __olds[0]) { __news[0] = __olds[0]; __mod = 1; ++__news; } else if (__ctype.widen('0') == __olds[0] && __oldlen > 1 && (__ctype.widen('x') == __olds[1] || __ctype.widen('X') == __olds[1])) { __news[0] = __olds[0]; __news[1] = __olds[1]; __mod = 2; __news += 2; } } _Traits::assign(__news, __plen, __fill); _Traits::copy(__news + __plen, __olds + __mod, __oldlen - __mod); } template _CharT* __add_grouping(_CharT* __s, _CharT __sep, const char* __gbeg, size_t __gsize, const _CharT* __first, const _CharT* __last) { size_t __idx = 0; size_t __ctr = 0; while (__last - __first > __gbeg[__idx] && static_cast(__gbeg[__idx]) > 0 && __gbeg[__idx] != __gnu_cxx::__numeric_traits::__max) { __last -= __gbeg[__idx]; __idx < __gsize - 1 ? ++__idx : ++__ctr; } while (__first != __last) *__s++ = *__first++; while (__ctr--) { *__s++ = __sep; for (char __i = __gbeg[__idx]; __i > 0; --__i) *__s++ = *__first++; } while (__idx--) { *__s++ = __sep; for (char __i = __gbeg[__idx]; __i > 0; --__i) *__s++ = *__first++; } return __s; } extern template class numpunct; extern template class numpunct_byname; extern template class num_get; extern template class num_put; extern template class ctype_byname; extern template const ctype& use_facet >(const locale&); extern template const numpunct& use_facet >(const locale&); extern template const num_put& use_facet >(const locale&); extern template const num_get& use_facet >(const locale&); extern template bool has_facet >(const locale&); extern template bool has_facet >(const locale&); extern template bool has_facet >(const locale&); extern template bool has_facet >(const locale&); extern template class numpunct; extern template class numpunct_byname; extern template class num_get; extern template class num_put; extern template class ctype_byname; extern template const ctype& use_facet >(const locale&); extern template const numpunct& use_facet >(const locale&); extern template const num_put& use_facet >(const locale&); extern template const num_get& use_facet >(const locale&); extern template bool has_facet >(const locale&); extern template bool has_facet >(const locale&); extern template bool has_facet >(const locale&); extern template bool has_facet >(const locale&); } # 2656 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 2 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template inline const _Facet& __check_facet(const _Facet* __f) { if (!__f) __throw_bad_cast(); return *__f; } # 66 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 template class basic_ios : public ios_base { public: typedef _CharT char_type; typedef typename _Traits::int_type int_type; typedef typename _Traits::pos_type pos_type; typedef typename _Traits::off_type off_type; typedef _Traits traits_type; typedef ctype<_CharT> __ctype_type; typedef num_put<_CharT, ostreambuf_iterator<_CharT, _Traits> > __num_put_type; typedef num_get<_CharT, istreambuf_iterator<_CharT, _Traits> > __num_get_type; protected: basic_ostream<_CharT, _Traits>* _M_tie; mutable char_type _M_fill; mutable bool _M_fill_init; basic_streambuf<_CharT, _Traits>* _M_streambuf; const __ctype_type* _M_ctype; const __num_put_type* _M_num_put; const __num_get_type* _M_num_get; public: # 117 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 explicit operator bool() const { return !this->fail(); } bool operator!() const { return this->fail(); } # 136 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 iostate rdstate() const { return _M_streambuf_state; } # 147 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 void clear(iostate __state = goodbit); void setstate(iostate __state) { this->clear(this->rdstate() | __state); } void _M_setstate(iostate __state) { _M_streambuf_state |= __state; if (this->exceptions() & __state) throw; } bool good() const { return this->rdstate() == 0; } bool eof() const { return (this->rdstate() & eofbit) != 0; } # 200 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 bool fail() const { return (this->rdstate() & (badbit | failbit)) != 0; } bool bad() const { return (this->rdstate() & badbit) != 0; } # 221 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 iostate exceptions() const { return _M_exception; } # 256 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 void exceptions(iostate __except) { _M_exception = __except; this->clear(_M_streambuf_state); } explicit basic_ios(basic_streambuf<_CharT, _Traits>* __sb) : ios_base(), _M_tie(0), _M_fill(), _M_fill_init(false), _M_streambuf(0), _M_ctype(0), _M_num_put(0), _M_num_get(0) { this->init(__sb); } virtual ~basic_ios() { } # 294 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 basic_ostream<_CharT, _Traits>* tie() const { return _M_tie; } # 306 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 basic_ostream<_CharT, _Traits>* tie(basic_ostream<_CharT, _Traits>* __tiestr) { basic_ostream<_CharT, _Traits>* __old = _M_tie; _M_tie = __tiestr; return __old; } basic_streambuf<_CharT, _Traits>* rdbuf() const { return _M_streambuf; } # 346 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 basic_streambuf<_CharT, _Traits>* rdbuf(basic_streambuf<_CharT, _Traits>* __sb); # 360 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 basic_ios& copyfmt(const basic_ios& __rhs); char_type fill() const { if (!_M_fill_init) { _M_fill = this->widen(' '); _M_fill_init = true; } return _M_fill; } # 389 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 char_type fill(char_type __ch) { char_type __old = this->fill(); _M_fill = __ch; return __old; } # 409 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 locale imbue(const locale& __loc); # 429 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 char narrow(char_type __c, char __dfault) const { return __check_facet(_M_ctype).narrow(__c, __dfault); } # 448 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 char_type widen(char __c) const { return __check_facet(_M_ctype).widen(__c); } protected: basic_ios() : ios_base(), _M_tie(0), _M_fill(char_type()), _M_fill_init(false), _M_streambuf(0), _M_ctype(0), _M_num_put(0), _M_num_get(0) { } void init(basic_streambuf<_CharT, _Traits>* __sb); basic_ios(const basic_ios&) = delete; basic_ios& operator=(const basic_ios&) = delete; void move(basic_ios& __rhs) { ios_base::_M_move(__rhs); _M_cache_locale(_M_ios_locale); this->tie(__rhs.tie(nullptr)); _M_fill = __rhs._M_fill; _M_fill_init = __rhs._M_fill_init; _M_streambuf = nullptr; } void move(basic_ios&& __rhs) { this->move(__rhs); } void swap(basic_ios& __rhs) noexcept { ios_base::_M_swap(__rhs); _M_cache_locale(_M_ios_locale); __rhs._M_cache_locale(__rhs._M_ios_locale); std::swap(_M_tie, __rhs._M_tie); std::swap(_M_fill, __rhs._M_fill); std::swap(_M_fill_init, __rhs._M_fill_init); } void set_rdbuf(basic_streambuf<_CharT, _Traits>* __sb) { _M_streambuf = __sb; } void _M_cache_locale(const locale& __loc); }; } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.tcc" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template void basic_ios<_CharT, _Traits>::clear(iostate __state) { if (this->rdbuf()) _M_streambuf_state = __state; else _M_streambuf_state = __state | badbit; if (this->exceptions() & this->rdstate()) __throw_ios_failure(("basic_ios::clear")); } template basic_streambuf<_CharT, _Traits>* basic_ios<_CharT, _Traits>::rdbuf(basic_streambuf<_CharT, _Traits>* __sb) { basic_streambuf<_CharT, _Traits>* __old = _M_streambuf; _M_streambuf = __sb; this->clear(); return __old; } template basic_ios<_CharT, _Traits>& basic_ios<_CharT, _Traits>::copyfmt(const basic_ios& __rhs) { if (this != &__rhs) { _Words* __words = (__rhs._M_word_size <= _S_local_word_size) ? _M_local_word : new _Words[__rhs._M_word_size]; _Callback_list* __cb = __rhs._M_callbacks; if (__cb) __cb->_M_add_reference(); _M_call_callbacks(erase_event); if (_M_word != _M_local_word) { delete [] _M_word; _M_word = 0; } _M_dispose_callbacks(); _M_callbacks = __cb; for (int __i = 0; __i < __rhs._M_word_size; ++__i) __words[__i] = __rhs._M_word[__i]; _M_word = __words; _M_word_size = __rhs._M_word_size; this->flags(__rhs.flags()); this->width(__rhs.width()); this->precision(__rhs.precision()); this->tie(__rhs.tie()); this->fill(__rhs.fill()); _M_ios_locale = __rhs.getloc(); _M_cache_locale(_M_ios_locale); _M_call_callbacks(copyfmt_event); this->exceptions(__rhs.exceptions()); } return *this; } template locale basic_ios<_CharT, _Traits>::imbue(const locale& __loc) { locale __old(this->getloc()); ios_base::imbue(__loc); _M_cache_locale(__loc); if (this->rdbuf() != 0) this->rdbuf()->pubimbue(__loc); return __old; } template void basic_ios<_CharT, _Traits>::init(basic_streambuf<_CharT, _Traits>* __sb) { ios_base::_M_init(); _M_cache_locale(_M_ios_locale); # 146 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.tcc" 3 _M_fill = _CharT(); _M_fill_init = false; _M_tie = 0; _M_exception = goodbit; _M_streambuf = __sb; _M_streambuf_state = __sb ? goodbit : badbit; } template void basic_ios<_CharT, _Traits>::_M_cache_locale(const locale& __loc) { if (__builtin_expect(has_facet<__ctype_type>(__loc), true)) _M_ctype = std::__addressof(use_facet<__ctype_type>(__loc)); else _M_ctype = 0; if (__builtin_expect(has_facet<__num_put_type>(__loc), true)) _M_num_put = std::__addressof(use_facet<__num_put_type>(__loc)); else _M_num_put = 0; if (__builtin_expect(has_facet<__num_get_type>(__loc), true)) _M_num_get = std::__addressof(use_facet<__num_get_type>(__loc)); else _M_num_get = 0; } extern template class basic_ios; extern template class basic_ios; } # 517 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 2 3 # 45 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ios" 2 3 # 39 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 1 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 57 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 template class basic_ostream : virtual public basic_ios<_CharT, _Traits> { public: typedef _CharT char_type; typedef typename _Traits::int_type int_type; typedef typename _Traits::pos_type pos_type; typedef typename _Traits::off_type off_type; typedef _Traits traits_type; typedef basic_streambuf<_CharT, _Traits> __streambuf_type; typedef basic_ios<_CharT, _Traits> __ios_type; typedef basic_ostream<_CharT, _Traits> __ostream_type; typedef num_put<_CharT, ostreambuf_iterator<_CharT, _Traits> > __num_put_type; typedef ctype<_CharT> __ctype_type; # 83 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 explicit basic_ostream(__streambuf_type* __sb) { this->init(__sb); } virtual ~basic_ostream() { } class sentry; friend class sentry; # 107 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& operator<<(__ostream_type& (*__pf)(__ostream_type&)) { return __pf(*this); } __ostream_type& operator<<(__ios_type& (*__pf)(__ios_type&)) { __pf(*this); return *this; } __ostream_type& operator<<(ios_base& (*__pf) (ios_base&)) { __pf(*this); return *this; } # 165 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& operator<<(long __n) { return _M_insert(__n); } __ostream_type& operator<<(unsigned long __n) { return _M_insert(__n); } __ostream_type& operator<<(bool __n) { return _M_insert(__n); } __ostream_type& operator<<(short __n); __ostream_type& operator<<(unsigned short __n) { return _M_insert(static_cast(__n)); } __ostream_type& operator<<(int __n); __ostream_type& operator<<(unsigned int __n) { return _M_insert(static_cast(__n)); } __ostream_type& operator<<(long long __n) { return _M_insert(__n); } __ostream_type& operator<<(unsigned long long __n) { return _M_insert(__n); } # 219 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& operator<<(double __f) { return _M_insert(__f); } __ostream_type& operator<<(float __f) { return _M_insert(static_cast(__f)); } __ostream_type& operator<<(long double __f) { return _M_insert(__f); } # 244 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& operator<<(const void* __p) { return _M_insert(__p); } # 275 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& operator<<(__streambuf_type* __sb); # 308 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& put(char_type __c); void _M_write(const char_type* __s, streamsize __n) { const streamsize __put = this->rdbuf()->sputn(__s, __n); if (__put != __n) this->setstate(ios_base::badbit); } # 340 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& write(const char_type* __s, streamsize __n); # 353 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& flush(); # 363 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 pos_type tellp(); # 374 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& seekp(pos_type); # 386 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& seekp(off_type, ios_base::seekdir); protected: basic_ostream() { this->init(0); } basic_ostream(basic_iostream<_CharT, _Traits>&) { } basic_ostream(const basic_ostream&) = delete; basic_ostream(basic_ostream&& __rhs) : __ios_type() { __ios_type::move(__rhs); } basic_ostream& operator=(const basic_ostream&) = delete; basic_ostream& operator=(basic_ostream&& __rhs) { swap(__rhs); return *this; } void swap(basic_ostream& __rhs) { __ios_type::swap(__rhs); } template __ostream_type& _M_insert(_ValueT __v); }; # 431 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 template class basic_ostream<_CharT, _Traits>::sentry { bool _M_ok; basic_ostream<_CharT, _Traits>& _M_os; public: # 450 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 explicit sentry(basic_ostream<_CharT, _Traits>& __os); #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdeprecated-declarations" ~sentry() { if (bool(_M_os.flags() & ios_base::unitbuf) && !uncaught_exception()) { if (_M_os.rdbuf() && _M_os.rdbuf()->pubsync() == -1) _M_os.setstate(ios_base::badbit); } } #pragma GCC diagnostic pop # 482 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 explicit operator bool() const { return _M_ok; } }; # 504 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 template inline basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) { return __ostream_insert(__out, &__c, 1); } template inline basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __out, char __c) { return (__out << __out.widen(__c)); } template inline basic_ostream& operator<<(basic_ostream& __out, char __c) { return __ostream_insert(__out, &__c, 1); } template inline basic_ostream& operator<<(basic_ostream& __out, signed char __c) { return (__out << static_cast(__c)); } template inline basic_ostream& operator<<(basic_ostream& __out, unsigned char __c) { return (__out << static_cast(__c)); } # 587 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 template inline basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) { if (!__s) __out.setstate(ios_base::badbit); else __ostream_insert(__out, __s, static_cast(_Traits::length(__s))); return __out; } template basic_ostream<_CharT, _Traits> & operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s); template inline basic_ostream& operator<<(basic_ostream& __out, const char* __s) { if (!__s) __out.setstate(ios_base::badbit); else __ostream_insert(__out, __s, static_cast(_Traits::length(__s))); return __out; } template inline basic_ostream& operator<<(basic_ostream& __out, const signed char* __s) { return (__out << reinterpret_cast(__s)); } template inline basic_ostream & operator<<(basic_ostream& __out, const unsigned char* __s) { return (__out << reinterpret_cast(__s)); } # 679 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 template inline basic_ostream<_CharT, _Traits>& endl(basic_ostream<_CharT, _Traits>& __os) { return flush(__os.put(__os.widen('\n'))); } # 691 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 template inline basic_ostream<_CharT, _Traits>& ends(basic_ostream<_CharT, _Traits>& __os) { return __os.put(_CharT()); } template inline basic_ostream<_CharT, _Traits>& flush(basic_ostream<_CharT, _Traits>& __os) { return __os.flush(); } template basic_ostream<_Ch, _Up>& __is_convertible_to_basic_ostream_test(basic_ostream<_Ch, _Up>*); template struct __is_convertible_to_basic_ostream_impl { using __ostream_type = void; }; template using __do_is_convertible_to_basic_ostream_impl = decltype(__is_convertible_to_basic_ostream_test (declval::type*>())); template struct __is_convertible_to_basic_ostream_impl <_Tp, __void_t<__do_is_convertible_to_basic_ostream_impl<_Tp>>> { using __ostream_type = __do_is_convertible_to_basic_ostream_impl<_Tp>; }; template struct __is_convertible_to_basic_ostream : __is_convertible_to_basic_ostream_impl<_Tp> { public: using type = __not_::__ostream_type>>; constexpr static bool value = type::value; }; template struct __is_insertable : false_type {}; template struct __is_insertable<_Ostream, _Tp, __void_t() << declval())>> : true_type {}; template using __rvalue_ostream_type = typename __is_convertible_to_basic_ostream< _Ostream>::__ostream_type; # 765 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 template inline typename enable_if<__and_<__not_>, __is_convertible_to_basic_ostream<_Ostream>, __is_insertable< __rvalue_ostream_type<_Ostream>, const _Tp&>>::value, __rvalue_ostream_type<_Ostream>>::type operator<<(_Ostream&& __os, const _Tp& __x) { __rvalue_ostream_type<_Ostream> __ret_os = __os; __ret_os << __x; return __ret_os; } } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ostream.tcc" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ostream.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template basic_ostream<_CharT, _Traits>::sentry:: sentry(basic_ostream<_CharT, _Traits>& __os) : _M_ok(false), _M_os(__os) { if (__os.tie() && __os.good()) __os.tie()->flush(); if (__os.good()) _M_ok = true; else __os.setstate(ios_base::failbit); } template template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: _M_insert(_ValueT __v) { sentry __cerb(*this); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const __num_put_type& __np = __check_facet(this->_M_num_put); if (__np.put(*this, *this, this->fill(), __v).failed()) __err |= ios_base::badbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: operator<<(short __n) { const ios_base::fmtflags __fmt = this->flags() & ios_base::basefield; if (__fmt == ios_base::oct || __fmt == ios_base::hex) return _M_insert(static_cast(static_cast(__n))); else return _M_insert(static_cast(__n)); } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: operator<<(int __n) { const ios_base::fmtflags __fmt = this->flags() & ios_base::basefield; if (__fmt == ios_base::oct || __fmt == ios_base::hex) return _M_insert(static_cast(static_cast(__n))); else return _M_insert(static_cast(__n)); } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: operator<<(__streambuf_type* __sbin) { ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this); if (__cerb && __sbin) { try { if (!__copy_streambufs(__sbin, this->rdbuf())) __err |= ios_base::failbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::failbit); } } else if (!__sbin) __err |= ios_base::badbit; if (__err) this->setstate(__err); return *this; } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: put(char_type __c) { sentry __cerb(*this); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const int_type __put = this->rdbuf()->sputc(__c); if (traits_type::eq_int_type(__put, traits_type::eof())) __err |= ios_base::badbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: write(const _CharT* __s, streamsize __n) { sentry __cerb(*this); if (__cerb) { try { _M_write(__s, __n); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } return *this; } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: flush() { ios_base::iostate __err = ios_base::goodbit; try { if (this->rdbuf() && this->rdbuf()->pubsync() == -1) __err |= ios_base::badbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); return *this; } template typename basic_ostream<_CharT, _Traits>::pos_type basic_ostream<_CharT, _Traits>:: tellp() { pos_type __ret = pos_type(-1); try { if (!this->fail()) __ret = this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::out); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } return __ret; } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: seekp(pos_type __pos) { ios_base::iostate __err = ios_base::goodbit; try { if (!this->fail()) { const pos_type __p = this->rdbuf()->pubseekpos(__pos, ios_base::out); if (__p == pos_type(off_type(-1))) __err |= ios_base::failbit; } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); return *this; } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: seekp(off_type __off, ios_base::seekdir __dir) { ios_base::iostate __err = ios_base::goodbit; try { if (!this->fail()) { const pos_type __p = this->rdbuf()->pubseekoff(__off, __dir, ios_base::out); if (__p == pos_type(off_type(-1))) __err |= ios_base::failbit; } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); return *this; } template basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s) { if (!__s) __out.setstate(ios_base::badbit); else { const size_t __clen = char_traits::length(__s); try { struct __ptr_guard { _CharT *__p; __ptr_guard (_CharT *__ip): __p(__ip) { } ~__ptr_guard() { delete[] __p; } _CharT* __get() { return __p; } } __pg (new _CharT[__clen]); _CharT *__ws = __pg.__get(); for (size_t __i = 0; __i < __clen; ++__i) __ws[__i] = __out.widen(__s[__i]); __ostream_insert(__out, __ws, __clen); } catch(__cxxabiv1::__forced_unwind&) { __out._M_setstate(ios_base::badbit); throw; } catch(...) { __out._M_setstate(ios_base::badbit); } } return __out; } extern template class basic_ostream; extern template ostream& endl(ostream&); extern template ostream& ends(ostream&); extern template ostream& flush(ostream&); extern template ostream& operator<<(ostream&, char); extern template ostream& operator<<(ostream&, unsigned char); extern template ostream& operator<<(ostream&, signed char); extern template ostream& operator<<(ostream&, const char*); extern template ostream& operator<<(ostream&, const unsigned char*); extern template ostream& operator<<(ostream&, const signed char*); extern template ostream& ostream::_M_insert(long); extern template ostream& ostream::_M_insert(unsigned long); extern template ostream& ostream::_M_insert(bool); extern template ostream& ostream::_M_insert(long long); extern template ostream& ostream::_M_insert(unsigned long long); extern template ostream& ostream::_M_insert(double); extern template ostream& ostream::_M_insert(long double); extern template ostream& ostream::_M_insert(const void*); extern template class basic_ostream; extern template wostream& endl(wostream&); extern template wostream& ends(wostream&); extern template wostream& flush(wostream&); extern template wostream& operator<<(wostream&, wchar_t); extern template wostream& operator<<(wostream&, char); extern template wostream& operator<<(wostream&, const wchar_t*); extern template wostream& operator<<(wostream&, const char*); extern template wostream& wostream::_M_insert(long); extern template wostream& wostream::_M_insert(unsigned long); extern template wostream& wostream::_M_insert(bool); extern template wostream& wostream::_M_insert(long long); extern template wostream& wostream::_M_insert(unsigned long long); extern template wostream& wostream::_M_insert(double); extern template wostream& wostream::_M_insert(long double); extern template wostream& wostream::_M_insert(const void*); } # 785 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 2 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 57 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 template class basic_istream : virtual public basic_ios<_CharT, _Traits> { public: typedef _CharT char_type; typedef typename _Traits::int_type int_type; typedef typename _Traits::pos_type pos_type; typedef typename _Traits::off_type off_type; typedef _Traits traits_type; typedef basic_streambuf<_CharT, _Traits> __streambuf_type; typedef basic_ios<_CharT, _Traits> __ios_type; typedef basic_istream<_CharT, _Traits> __istream_type; typedef num_get<_CharT, istreambuf_iterator<_CharT, _Traits> > __num_get_type; typedef ctype<_CharT> __ctype_type; protected: streamsize _M_gcount; public: explicit basic_istream(__streambuf_type* __sb) : _M_gcount(streamsize(0)) { this->init(__sb); } virtual ~basic_istream() { _M_gcount = streamsize(0); } class sentry; friend class sentry; # 119 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& operator>>(__istream_type& (*__pf)(__istream_type&)) { return __pf(*this); } __istream_type& operator>>(__ios_type& (*__pf)(__ios_type&)) { __pf(*this); return *this; } __istream_type& operator>>(ios_base& (*__pf)(ios_base&)) { __pf(*this); return *this; } # 167 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& operator>>(bool& __n) { return _M_extract(__n); } __istream_type& operator>>(short& __n); __istream_type& operator>>(unsigned short& __n) { return _M_extract(__n); } __istream_type& operator>>(int& __n); __istream_type& operator>>(unsigned int& __n) { return _M_extract(__n); } __istream_type& operator>>(long& __n) { return _M_extract(__n); } __istream_type& operator>>(unsigned long& __n) { return _M_extract(__n); } __istream_type& operator>>(long long& __n) { return _M_extract(__n); } __istream_type& operator>>(unsigned long long& __n) { return _M_extract(__n); } # 213 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& operator>>(float& __f) { return _M_extract(__f); } __istream_type& operator>>(double& __f) { return _M_extract(__f); } __istream_type& operator>>(long double& __f) { return _M_extract(__f); } # 234 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& operator>>(void*& __p) { return _M_extract(__p); } # 258 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& operator>>(__streambuf_type* __sb); # 268 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 streamsize gcount() const { return _M_gcount; } # 301 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 int_type get(); # 315 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& get(char_type& __c); # 342 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& get(char_type* __s, streamsize __n, char_type __delim); # 353 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& get(char_type* __s, streamsize __n) { return this->get(__s, __n, this->widen('\n')); } # 376 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& get(__streambuf_type& __sb, char_type __delim); # 386 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& get(__streambuf_type& __sb) { return this->get(__sb, this->widen('\n')); } # 415 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& getline(char_type* __s, streamsize __n, char_type __delim); # 426 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& getline(char_type* __s, streamsize __n) { return this->getline(__s, __n, this->widen('\n')); } # 450 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& ignore(streamsize __n, int_type __delim); __istream_type& ignore(streamsize __n); __istream_type& ignore(); # 467 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 int_type peek(); # 485 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& read(char_type* __s, streamsize __n); # 504 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 streamsize readsome(char_type* __s, streamsize __n); # 521 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& putback(char_type __c); # 537 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& unget(); # 555 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 int sync(); # 570 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 pos_type tellg(); # 585 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& seekg(pos_type); # 601 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& seekg(off_type, ios_base::seekdir); protected: basic_istream() : _M_gcount(streamsize(0)) { this->init(0); } basic_istream(const basic_istream&) = delete; basic_istream(basic_istream&& __rhs) : __ios_type(), _M_gcount(__rhs._M_gcount) { __ios_type::move(__rhs); __rhs._M_gcount = 0; } basic_istream& operator=(const basic_istream&) = delete; basic_istream& operator=(basic_istream&& __rhs) { swap(__rhs); return *this; } void swap(basic_istream& __rhs) { __ios_type::swap(__rhs); std::swap(_M_gcount, __rhs._M_gcount); } template __istream_type& _M_extract(_ValueT& __v); }; template<> basic_istream& basic_istream:: getline(char_type* __s, streamsize __n, char_type __delim); template<> basic_istream& basic_istream:: ignore(streamsize __n); template<> basic_istream& basic_istream:: ignore(streamsize __n, int_type __delim); template<> basic_istream& basic_istream:: getline(char_type* __s, streamsize __n, char_type __delim); template<> basic_istream& basic_istream:: ignore(streamsize __n); template<> basic_istream& basic_istream:: ignore(streamsize __n, int_type __delim); # 685 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 template class basic_istream<_CharT, _Traits>::sentry { bool _M_ok; public: typedef _Traits traits_type; typedef basic_streambuf<_CharT, _Traits> __streambuf_type; typedef basic_istream<_CharT, _Traits> __istream_type; typedef typename __istream_type::__ctype_type __ctype_type; typedef typename _Traits::int_type __int_type; # 721 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 explicit sentry(basic_istream<_CharT, _Traits>& __is, bool __noskipws = false); # 732 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 explicit operator bool() const { return _M_ok; } }; # 750 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c); template inline basic_istream& operator>>(basic_istream& __in, unsigned char& __c) { return (__in >> reinterpret_cast(__c)); } template inline basic_istream& operator>>(basic_istream& __in, signed char& __c) { return (__in >> reinterpret_cast(__c)); } # 792 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s); template<> basic_istream& operator>>(basic_istream& __in, char* __s); template inline basic_istream& operator>>(basic_istream& __in, unsigned char* __s) { return (__in >> reinterpret_cast(__s)); } template inline basic_istream& operator>>(basic_istream& __in, signed char* __s) { return (__in >> reinterpret_cast(__s)); } # 823 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 template class basic_iostream : public basic_istream<_CharT, _Traits>, public basic_ostream<_CharT, _Traits> { public: typedef _CharT char_type; typedef typename _Traits::int_type int_type; typedef typename _Traits::pos_type pos_type; typedef typename _Traits::off_type off_type; typedef _Traits traits_type; typedef basic_istream<_CharT, _Traits> __istream_type; typedef basic_ostream<_CharT, _Traits> __ostream_type; explicit basic_iostream(basic_streambuf<_CharT, _Traits>* __sb) : __istream_type(__sb), __ostream_type(__sb) { } virtual ~basic_iostream() { } protected: basic_iostream() : __istream_type(), __ostream_type() { } basic_iostream(const basic_iostream&) = delete; basic_iostream(basic_iostream&& __rhs) : __istream_type(std::move(__rhs)), __ostream_type(*this) { } basic_iostream& operator=(const basic_iostream&) = delete; basic_iostream& operator=(basic_iostream&& __rhs) { swap(__rhs); return *this; } void swap(basic_iostream& __rhs) { __istream_type::swap(__rhs); } }; # 906 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 template basic_istream<_CharT, _Traits>& ws(basic_istream<_CharT, _Traits>& __is); template basic_istream<_Ch, _Up>& __is_convertible_to_basic_istream_test(basic_istream<_Ch, _Up>*); template struct __is_convertible_to_basic_istream_impl { using __istream_type = void; }; template using __do_is_convertible_to_basic_istream_impl = decltype(__is_convertible_to_basic_istream_test (declval::type*>())); template struct __is_convertible_to_basic_istream_impl <_Tp, __void_t<__do_is_convertible_to_basic_istream_impl<_Tp>>> { using __istream_type = __do_is_convertible_to_basic_istream_impl<_Tp>; }; template struct __is_convertible_to_basic_istream : __is_convertible_to_basic_istream_impl<_Tp> { public: using type = __not_::__istream_type>>; constexpr static bool value = type::value; }; template struct __is_extractable : false_type {}; template struct __is_extractable<_Istream, _Tp, __void_t() >> declval<_Tp>())>> : true_type {}; template using __rvalue_istream_type = typename __is_convertible_to_basic_istream< _Istream>::__istream_type; # 972 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 template inline typename enable_if<__and_<__not_>, __is_convertible_to_basic_istream<_Istream>, __is_extractable< __rvalue_istream_type<_Istream>, _Tp&&>>::value, __rvalue_istream_type<_Istream>>::type operator>>(_Istream&& __is, _Tp&& __x) { __rvalue_istream_type<_Istream> __ret_is = __is; __ret_is >> std::forward<_Tp>(__x); return __ret_is; } } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/istream.tcc" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/istream.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template basic_istream<_CharT, _Traits>::sentry:: sentry(basic_istream<_CharT, _Traits>& __in, bool __noskip) : _M_ok(false) { ios_base::iostate __err = ios_base::goodbit; if (__in.good()) try { if (__in.tie()) __in.tie()->flush(); if (!__noskip && bool(__in.flags() & ios_base::skipws)) { const __int_type __eof = traits_type::eof(); __streambuf_type* __sb = __in.rdbuf(); __int_type __c = __sb->sgetc(); const __ctype_type& __ct = __check_facet(__in._M_ctype); while (!traits_type::eq_int_type(__c, __eof) && __ct.is(ctype_base::space, traits_type::to_char_type(__c))) __c = __sb->snextc(); if (traits_type::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; } } catch(__cxxabiv1::__forced_unwind&) { __in._M_setstate(ios_base::badbit); throw; } catch(...) { __in._M_setstate(ios_base::badbit); } if (__in.good() && __err == ios_base::goodbit) _M_ok = true; else { __err |= ios_base::failbit; __in.setstate(__err); } } template template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: _M_extract(_ValueT& __v) { sentry __cerb(*this, false); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const __num_get_type& __ng = __check_facet(this->_M_num_get); __ng.get(*this, 0, *this, __err, __v); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: operator>>(short& __n) { sentry __cerb(*this, false); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { long __l; const __num_get_type& __ng = __check_facet(this->_M_num_get); __ng.get(*this, 0, *this, __err, __l); if (__l < __gnu_cxx::__numeric_traits::__min) { __err |= ios_base::failbit; __n = __gnu_cxx::__numeric_traits::__min; } else if (__l > __gnu_cxx::__numeric_traits::__max) { __err |= ios_base::failbit; __n = __gnu_cxx::__numeric_traits::__max; } else __n = short(__l); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: operator>>(int& __n) { sentry __cerb(*this, false); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { long __l; const __num_get_type& __ng = __check_facet(this->_M_num_get); __ng.get(*this, 0, *this, __err, __l); if (__l < __gnu_cxx::__numeric_traits::__min) { __err |= ios_base::failbit; __n = __gnu_cxx::__numeric_traits::__min; } else if (__l > __gnu_cxx::__numeric_traits::__max) { __err |= ios_base::failbit; __n = __gnu_cxx::__numeric_traits::__max; } else __n = int(__l); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: operator>>(__streambuf_type* __sbout) { ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this, false); if (__cerb && __sbout) { try { bool __ineof; if (!__copy_streambufs_eof(this->rdbuf(), __sbout, __ineof)) __err |= ios_base::failbit; if (__ineof) __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::failbit); throw; } catch(...) { this->_M_setstate(ios_base::failbit); } } else if (!__sbout) __err |= ios_base::failbit; if (__err) this->setstate(__err); return *this; } template typename basic_istream<_CharT, _Traits>::int_type basic_istream<_CharT, _Traits>:: get(void) { const int_type __eof = traits_type::eof(); int_type __c = __eof; _M_gcount = 0; ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this, true); if (__cerb) { try { __c = this->rdbuf()->sbumpc(); if (!traits_type::eq_int_type(__c, __eof)) _M_gcount = 1; else __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } if (!_M_gcount) __err |= ios_base::failbit; if (__err) this->setstate(__err); return __c; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: get(char_type& __c) { _M_gcount = 0; ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this, true); if (__cerb) { try { const int_type __cb = this->rdbuf()->sbumpc(); if (!traits_type::eq_int_type(__cb, traits_type::eof())) { _M_gcount = 1; __c = traits_type::to_char_type(__cb); } else __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } if (!_M_gcount) __err |= ios_base::failbit; if (__err) this->setstate(__err); return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: get(char_type* __s, streamsize __n, char_type __delim) { _M_gcount = 0; ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this, true); if (__cerb) { try { const int_type __idelim = traits_type::to_int_type(__delim); const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); int_type __c = __sb->sgetc(); while (_M_gcount + 1 < __n && !traits_type::eq_int_type(__c, __eof) && !traits_type::eq_int_type(__c, __idelim)) { *__s++ = traits_type::to_char_type(__c); ++_M_gcount; __c = __sb->snextc(); } if (traits_type::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } if (__n > 0) *__s = char_type(); if (!_M_gcount) __err |= ios_base::failbit; if (__err) this->setstate(__err); return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: get(__streambuf_type& __sb, char_type __delim) { _M_gcount = 0; ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this, true); if (__cerb) { try { const int_type __idelim = traits_type::to_int_type(__delim); const int_type __eof = traits_type::eof(); __streambuf_type* __this_sb = this->rdbuf(); int_type __c = __this_sb->sgetc(); char_type __c2 = traits_type::to_char_type(__c); while (!traits_type::eq_int_type(__c, __eof) && !traits_type::eq_int_type(__c, __idelim) && !traits_type::eq_int_type(__sb.sputc(__c2), __eof)) { ++_M_gcount; __c = __this_sb->snextc(); __c2 = traits_type::to_char_type(__c); } if (traits_type::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } if (!_M_gcount) __err |= ios_base::failbit; if (__err) this->setstate(__err); return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: getline(char_type* __s, streamsize __n, char_type __delim) { _M_gcount = 0; ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this, true); if (__cerb) { try { const int_type __idelim = traits_type::to_int_type(__delim); const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); int_type __c = __sb->sgetc(); while (_M_gcount + 1 < __n && !traits_type::eq_int_type(__c, __eof) && !traits_type::eq_int_type(__c, __idelim)) { *__s++ = traits_type::to_char_type(__c); __c = __sb->snextc(); ++_M_gcount; } if (traits_type::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; else { if (traits_type::eq_int_type(__c, __idelim)) { __sb->sbumpc(); ++_M_gcount; } else __err |= ios_base::failbit; } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } if (__n > 0) *__s = char_type(); if (!_M_gcount) __err |= ios_base::failbit; if (__err) this->setstate(__err); return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: ignore(void) { _M_gcount = 0; sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); if (traits_type::eq_int_type(__sb->sbumpc(), __eof)) __err |= ios_base::eofbit; else _M_gcount = 1; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: ignore(streamsize __n) { _M_gcount = 0; sentry __cerb(*this, true); if (__cerb && __n > 0) { ios_base::iostate __err = ios_base::goodbit; try { const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); int_type __c = __sb->sgetc(); # 521 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/istream.tcc" 3 bool __large_ignore = false; while (true) { while (_M_gcount < __n && !traits_type::eq_int_type(__c, __eof)) { ++_M_gcount; __c = __sb->snextc(); } if (__n == __gnu_cxx::__numeric_traits::__max && !traits_type::eq_int_type(__c, __eof)) { _M_gcount = __gnu_cxx::__numeric_traits::__min; __large_ignore = true; } else break; } if (__large_ignore) _M_gcount = __gnu_cxx::__numeric_traits::__max; if (traits_type::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: ignore(streamsize __n, int_type __delim) { _M_gcount = 0; sentry __cerb(*this, true); if (__cerb && __n > 0) { ios_base::iostate __err = ios_base::goodbit; try { const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); int_type __c = __sb->sgetc(); bool __large_ignore = false; while (true) { while (_M_gcount < __n && !traits_type::eq_int_type(__c, __eof) && !traits_type::eq_int_type(__c, __delim)) { ++_M_gcount; __c = __sb->snextc(); } if (__n == __gnu_cxx::__numeric_traits::__max && !traits_type::eq_int_type(__c, __eof) && !traits_type::eq_int_type(__c, __delim)) { _M_gcount = __gnu_cxx::__numeric_traits::__min; __large_ignore = true; } else break; } if (__large_ignore) _M_gcount = __gnu_cxx::__numeric_traits::__max; if (traits_type::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; else if (traits_type::eq_int_type(__c, __delim)) { if (_M_gcount < __gnu_cxx::__numeric_traits::__max) ++_M_gcount; __sb->sbumpc(); } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template typename basic_istream<_CharT, _Traits>::int_type basic_istream<_CharT, _Traits>:: peek(void) { int_type __c = traits_type::eof(); _M_gcount = 0; sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { __c = this->rdbuf()->sgetc(); if (traits_type::eq_int_type(__c, traits_type::eof())) __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return __c; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: read(char_type* __s, streamsize __n) { _M_gcount = 0; sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { _M_gcount = this->rdbuf()->sgetn(__s, __n); if (_M_gcount != __n) __err |= (ios_base::eofbit | ios_base::failbit); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template streamsize basic_istream<_CharT, _Traits>:: readsome(char_type* __s, streamsize __n) { _M_gcount = 0; sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const streamsize __num = this->rdbuf()->in_avail(); if (__num > 0) _M_gcount = this->rdbuf()->sgetn(__s, std::min(__num, __n)); else if (__num == -1) __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return _M_gcount; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: putback(char_type __c) { _M_gcount = 0; this->clear(this->rdstate() & ~ios_base::eofbit); sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); if (!__sb || traits_type::eq_int_type(__sb->sputbackc(__c), __eof)) __err |= ios_base::badbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: unget(void) { _M_gcount = 0; this->clear(this->rdstate() & ~ios_base::eofbit); sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); if (!__sb || traits_type::eq_int_type(__sb->sungetc(), __eof)) __err |= ios_base::badbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template int basic_istream<_CharT, _Traits>:: sync(void) { int __ret = -1; sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { __streambuf_type* __sb = this->rdbuf(); if (__sb) { if (__sb->pubsync() == -1) __err |= ios_base::badbit; else __ret = 0; } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return __ret; } template typename basic_istream<_CharT, _Traits>::pos_type basic_istream<_CharT, _Traits>:: tellg(void) { pos_type __ret = pos_type(-1); sentry __cerb(*this, true); if (__cerb) { try { if (!this->fail()) __ret = this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::in); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } return __ret; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: seekg(pos_type __pos) { this->clear(this->rdstate() & ~ios_base::eofbit); sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { if (!this->fail()) { const pos_type __p = this->rdbuf()->pubseekpos(__pos, ios_base::in); if (__p == pos_type(off_type(-1))) __err |= ios_base::failbit; } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: seekg(off_type __off, ios_base::seekdir __dir) { this->clear(this->rdstate() & ~ios_base::eofbit); sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { if (!this->fail()) { const pos_type __p = this->rdbuf()->pubseekoff(__off, __dir, ios_base::in); if (__p == pos_type(off_type(-1))) __err |= ios_base::failbit; } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c) { typedef basic_istream<_CharT, _Traits> __istream_type; typedef typename __istream_type::int_type __int_type; typename __istream_type::sentry __cerb(__in, false); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const __int_type __cb = __in.rdbuf()->sbumpc(); if (!_Traits::eq_int_type(__cb, _Traits::eof())) __c = _Traits::to_char_type(__cb); else __err |= (ios_base::eofbit | ios_base::failbit); } catch(__cxxabiv1::__forced_unwind&) { __in._M_setstate(ios_base::badbit); throw; } catch(...) { __in._M_setstate(ios_base::badbit); } if (__err) __in.setstate(__err); } return __in; } template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s) { typedef basic_istream<_CharT, _Traits> __istream_type; typedef basic_streambuf<_CharT, _Traits> __streambuf_type; typedef typename _Traits::int_type int_type; typedef _CharT char_type; typedef ctype<_CharT> __ctype_type; streamsize __extracted = 0; ios_base::iostate __err = ios_base::goodbit; typename __istream_type::sentry __cerb(__in, false); if (__cerb) { try { streamsize __num = __in.width(); if (__num <= 0) __num = __gnu_cxx::__numeric_traits::__max; const __ctype_type& __ct = use_facet<__ctype_type>(__in.getloc()); const int_type __eof = _Traits::eof(); __streambuf_type* __sb = __in.rdbuf(); int_type __c = __sb->sgetc(); while (__extracted < __num - 1 && !_Traits::eq_int_type(__c, __eof) && !__ct.is(ctype_base::space, _Traits::to_char_type(__c))) { *__s++ = _Traits::to_char_type(__c); ++__extracted; __c = __sb->snextc(); } if (_Traits::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; *__s = char_type(); __in.width(0); } catch(__cxxabiv1::__forced_unwind&) { __in._M_setstate(ios_base::badbit); throw; } catch(...) { __in._M_setstate(ios_base::badbit); } } if (!__extracted) __err |= ios_base::failbit; if (__err) __in.setstate(__err); return __in; } template basic_istream<_CharT, _Traits>& ws(basic_istream<_CharT, _Traits>& __in) { typedef basic_istream<_CharT, _Traits> __istream_type; typedef basic_streambuf<_CharT, _Traits> __streambuf_type; typedef typename __istream_type::int_type __int_type; typedef ctype<_CharT> __ctype_type; const __ctype_type& __ct = use_facet<__ctype_type>(__in.getloc()); const __int_type __eof = _Traits::eof(); __streambuf_type* __sb = __in.rdbuf(); __int_type __c = __sb->sgetc(); while (!_Traits::eq_int_type(__c, __eof) && __ct.is(ctype_base::space, _Traits::to_char_type(__c))) __c = __sb->snextc(); if (_Traits::eq_int_type(__c, __eof)) __in.setstate(ios_base::eofbit); return __in; } extern template class basic_istream; extern template istream& ws(istream&); extern template istream& operator>>(istream&, char&); extern template istream& operator>>(istream&, char*); extern template istream& operator>>(istream&, unsigned char&); extern template istream& operator>>(istream&, signed char&); extern template istream& operator>>(istream&, unsigned char*); extern template istream& operator>>(istream&, signed char*); extern template istream& istream::_M_extract(unsigned short&); extern template istream& istream::_M_extract(unsigned int&); extern template istream& istream::_M_extract(long&); extern template istream& istream::_M_extract(unsigned long&); extern template istream& istream::_M_extract(bool&); extern template istream& istream::_M_extract(long long&); extern template istream& istream::_M_extract(unsigned long long&); extern template istream& istream::_M_extract(float&); extern template istream& istream::_M_extract(double&); extern template istream& istream::_M_extract(long double&); extern template istream& istream::_M_extract(void*&); extern template class basic_iostream; extern template class basic_istream; extern template wistream& ws(wistream&); extern template wistream& operator>>(wistream&, wchar_t&); extern template wistream& operator>>(wistream&, wchar_t*); extern template wistream& wistream::_M_extract(unsigned short&); extern template wistream& wistream::_M_extract(unsigned int&); extern template wistream& wistream::_M_extract(long&); extern template wistream& wistream::_M_extract(unsigned long&); extern template wistream& wistream::_M_extract(bool&); extern template wistream& wistream::_M_extract(long long&); extern template wistream& wistream::_M_extract(unsigned long long&); extern template wistream& wistream::_M_extract(float&); extern template wistream& wistream::_M_extract(double&); extern template wistream& wistream::_M_extract(long double&); extern template wistream& wistream::_M_extract(void*&); extern template class basic_iostream; } # 992 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 2 3 # 39 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 64 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 template class basic_stringbuf : public basic_streambuf<_CharT, _Traits> { struct __xfer_bufptrs; public: typedef _CharT char_type; typedef _Traits traits_type; typedef _Alloc allocator_type; typedef typename traits_type::int_type int_type; typedef typename traits_type::pos_type pos_type; typedef typename traits_type::off_type off_type; typedef basic_streambuf __streambuf_type; typedef basic_string __string_type; typedef typename __string_type::size_type __size_type; protected: ios_base::openmode _M_mode; __string_type _M_string; public: # 99 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 basic_stringbuf() : __streambuf_type(), _M_mode(ios_base::in | ios_base::out), _M_string() { } # 110 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 explicit basic_stringbuf(ios_base::openmode __mode) : __streambuf_type(), _M_mode(__mode), _M_string() { } # 123 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 explicit basic_stringbuf(const __string_type& __str, ios_base::openmode __mode = ios_base::in | ios_base::out) : __streambuf_type(), _M_mode(), _M_string(__str.data(), __str.size(), __str.get_allocator()) { _M_stringbuf_init(__mode); } basic_stringbuf(const basic_stringbuf&) = delete; basic_stringbuf(basic_stringbuf&& __rhs) : basic_stringbuf(std::move(__rhs), __xfer_bufptrs(__rhs, this)) { __rhs._M_sync(const_cast(__rhs._M_string.data()), 0, 0); } basic_stringbuf& operator=(const basic_stringbuf&) = delete; basic_stringbuf& operator=(basic_stringbuf&& __rhs) { __xfer_bufptrs __st{__rhs, this}; const __streambuf_type& __base = __rhs; __streambuf_type::operator=(__base); this->pubimbue(__rhs.getloc()); _M_mode = __rhs._M_mode; _M_string = std::move(__rhs._M_string); __rhs._M_sync(const_cast(__rhs._M_string.data()), 0, 0); return *this; } void swap(basic_stringbuf& __rhs) { __xfer_bufptrs __l_st{*this, std::__addressof(__rhs)}; __xfer_bufptrs __r_st{__rhs, this}; __streambuf_type& __base = __rhs; __streambuf_type::swap(__base); __rhs.pubimbue(this->pubimbue(__rhs.getloc())); std::swap(_M_mode, __rhs._M_mode); std::swap(_M_string, __rhs._M_string); } # 177 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 __string_type str() const { __string_type __ret(_M_string.get_allocator()); if (this->pptr()) { if (this->pptr() > this->egptr()) __ret.assign(this->pbase(), this->pptr()); else __ret.assign(this->pbase(), this->egptr()); } else __ret = _M_string; return __ret; } # 201 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 void str(const __string_type& __s) { _M_string.assign(__s.data(), __s.size()); _M_stringbuf_init(_M_mode); } protected: void _M_stringbuf_init(ios_base::openmode __mode) { _M_mode = __mode; __size_type __len = 0; if (_M_mode & (ios_base::ate | ios_base::app)) __len = _M_string.size(); _M_sync(const_cast(_M_string.data()), 0, __len); } virtual streamsize showmanyc() { streamsize __ret = -1; if (_M_mode & ios_base::in) { _M_update_egptr(); __ret = this->egptr() - this->gptr(); } return __ret; } virtual int_type underflow(); virtual int_type pbackfail(int_type __c = traits_type::eof()); virtual int_type overflow(int_type __c = traits_type::eof()); # 254 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 virtual __streambuf_type* setbuf(char_type* __s, streamsize __n) { if (__s && __n >= 0) { _M_string.clear(); _M_sync(__s, __n, 0); } return this; } virtual pos_type seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode = ios_base::in | ios_base::out); virtual pos_type seekpos(pos_type __sp, ios_base::openmode __mode = ios_base::in | ios_base::out); void _M_sync(char_type* __base, __size_type __i, __size_type __o); void _M_update_egptr() { const bool __testin = _M_mode & ios_base::in; if (this->pptr() && this->pptr() > this->egptr()) { if (__testin) this->setg(this->eback(), this->gptr(), this->pptr()); else this->setg(this->pptr(), this->pptr(), this->pptr()); } } void _M_pbump(char_type* __pbeg, char_type* __pend, off_type __off); private: # 360 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 struct __xfer_bufptrs { __xfer_bufptrs(const basic_stringbuf&, basic_stringbuf*) { } }; basic_stringbuf(basic_stringbuf&& __rhs, __xfer_bufptrs&&) : __streambuf_type(static_cast(__rhs)), _M_mode(__rhs._M_mode), _M_string(std::move(__rhs._M_string)) { } }; # 391 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 template class basic_istringstream : public basic_istream<_CharT, _Traits> { public: typedef _CharT char_type; typedef _Traits traits_type; typedef _Alloc allocator_type; typedef typename traits_type::int_type int_type; typedef typename traits_type::pos_type pos_type; typedef typename traits_type::off_type off_type; typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef basic_stringbuf<_CharT, _Traits, _Alloc> __stringbuf_type; typedef basic_istream __istream_type; private: __stringbuf_type _M_stringbuf; public: # 425 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 basic_istringstream() : __istream_type(), _M_stringbuf(ios_base::in) { this->init(&_M_stringbuf); } # 441 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 explicit basic_istringstream(ios_base::openmode __mode) : __istream_type(), _M_stringbuf(__mode | ios_base::in) { this->init(&_M_stringbuf); } # 459 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 explicit basic_istringstream(const __string_type& __str, ios_base::openmode __mode = ios_base::in) : __istream_type(), _M_stringbuf(__str, __mode | ios_base::in) { this->init(&_M_stringbuf); } ~basic_istringstream() { } basic_istringstream(const basic_istringstream&) = delete; basic_istringstream(basic_istringstream&& __rhs) : __istream_type(std::move(__rhs)), _M_stringbuf(std::move(__rhs._M_stringbuf)) { __istream_type::set_rdbuf(&_M_stringbuf); } basic_istringstream& operator=(const basic_istringstream&) = delete; basic_istringstream& operator=(basic_istringstream&& __rhs) { __istream_type::operator=(std::move(__rhs)); _M_stringbuf = std::move(__rhs._M_stringbuf); return *this; } void swap(basic_istringstream& __rhs) { __istream_type::swap(__rhs); _M_stringbuf.swap(__rhs._M_stringbuf); } # 510 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 __stringbuf_type* rdbuf() const { return const_cast<__stringbuf_type*>(&_M_stringbuf); } __string_type str() const { return _M_stringbuf.str(); } void str(const __string_type& __s) { _M_stringbuf.str(__s); } }; # 549 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 template class basic_ostringstream : public basic_ostream<_CharT, _Traits> { public: typedef _CharT char_type; typedef _Traits traits_type; typedef _Alloc allocator_type; typedef typename traits_type::int_type int_type; typedef typename traits_type::pos_type pos_type; typedef typename traits_type::off_type off_type; typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef basic_stringbuf<_CharT, _Traits, _Alloc> __stringbuf_type; typedef basic_ostream __ostream_type; private: __stringbuf_type _M_stringbuf; public: # 583 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 basic_ostringstream() : __ostream_type(), _M_stringbuf(ios_base::out) { this->init(&_M_stringbuf); } # 599 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 explicit basic_ostringstream(ios_base::openmode __mode) : __ostream_type(), _M_stringbuf(__mode | ios_base::out) { this->init(&_M_stringbuf); } # 617 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 explicit basic_ostringstream(const __string_type& __str, ios_base::openmode __mode = ios_base::out) : __ostream_type(), _M_stringbuf(__str, __mode | ios_base::out) { this->init(&_M_stringbuf); } ~basic_ostringstream() { } basic_ostringstream(const basic_ostringstream&) = delete; basic_ostringstream(basic_ostringstream&& __rhs) : __ostream_type(std::move(__rhs)), _M_stringbuf(std::move(__rhs._M_stringbuf)) { __ostream_type::set_rdbuf(&_M_stringbuf); } basic_ostringstream& operator=(const basic_ostringstream&) = delete; basic_ostringstream& operator=(basic_ostringstream&& __rhs) { __ostream_type::operator=(std::move(__rhs)); _M_stringbuf = std::move(__rhs._M_stringbuf); return *this; } void swap(basic_ostringstream& __rhs) { __ostream_type::swap(__rhs); _M_stringbuf.swap(__rhs._M_stringbuf); } # 668 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 __stringbuf_type* rdbuf() const { return const_cast<__stringbuf_type*>(&_M_stringbuf); } __string_type str() const { return _M_stringbuf.str(); } void str(const __string_type& __s) { _M_stringbuf.str(__s); } }; # 707 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 template class basic_stringstream : public basic_iostream<_CharT, _Traits> { public: typedef _CharT char_type; typedef _Traits traits_type; typedef _Alloc allocator_type; typedef typename traits_type::int_type int_type; typedef typename traits_type::pos_type pos_type; typedef typename traits_type::off_type off_type; typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef basic_stringbuf<_CharT, _Traits, _Alloc> __stringbuf_type; typedef basic_iostream __iostream_type; private: __stringbuf_type _M_stringbuf; public: # 741 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 basic_stringstream() : __iostream_type(), _M_stringbuf(ios_base::out | ios_base::in) { this->init(&_M_stringbuf); } # 755 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 explicit basic_stringstream(ios_base::openmode __m) : __iostream_type(), _M_stringbuf(__m) { this->init(&_M_stringbuf); } # 771 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 explicit basic_stringstream(const __string_type& __str, ios_base::openmode __m = ios_base::out | ios_base::in) : __iostream_type(), _M_stringbuf(__str, __m) { this->init(&_M_stringbuf); } ~basic_stringstream() { } basic_stringstream(const basic_stringstream&) = delete; basic_stringstream(basic_stringstream&& __rhs) : __iostream_type(std::move(__rhs)), _M_stringbuf(std::move(__rhs._M_stringbuf)) { __iostream_type::set_rdbuf(&_M_stringbuf); } basic_stringstream& operator=(const basic_stringstream&) = delete; basic_stringstream& operator=(basic_stringstream&& __rhs) { __iostream_type::operator=(std::move(__rhs)); _M_stringbuf = std::move(__rhs._M_stringbuf); return *this; } void swap(basic_stringstream& __rhs) { __iostream_type::swap(__rhs); _M_stringbuf.swap(__rhs._M_stringbuf); } # 822 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 __stringbuf_type* rdbuf() const { return const_cast<__stringbuf_type*>(&_M_stringbuf); } __string_type str() const { return _M_stringbuf.str(); } void str(const __string_type& __s) { _M_stringbuf.str(__s); } }; template inline void swap(basic_stringbuf<_CharT, _Traits, _Allocator>& __x, basic_stringbuf<_CharT, _Traits, _Allocator>& __y) { __x.swap(__y); } template inline void swap(basic_istringstream<_CharT, _Traits, _Allocator>& __x, basic_istringstream<_CharT, _Traits, _Allocator>& __y) { __x.swap(__y); } template inline void swap(basic_ostringstream<_CharT, _Traits, _Allocator>& __x, basic_ostringstream<_CharT, _Traits, _Allocator>& __y) { __x.swap(__y); } template inline void swap(basic_stringstream<_CharT, _Traits, _Allocator>& __x, basic_stringstream<_CharT, _Traits, _Allocator>& __y) { __x.swap(__y); } } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/sstream.tcc" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/sstream.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template typename basic_stringbuf<_CharT, _Traits, _Alloc>::int_type basic_stringbuf<_CharT, _Traits, _Alloc>:: pbackfail(int_type __c) { int_type __ret = traits_type::eof(); if (this->eback() < this->gptr()) { const bool __testeof = traits_type::eq_int_type(__c, __ret); if (!__testeof) { const bool __testeq = traits_type::eq(traits_type:: to_char_type(__c), this->gptr()[-1]); const bool __testout = this->_M_mode & ios_base::out; if (__testeq || __testout) { this->gbump(-1); if (!__testeq) *this->gptr() = traits_type::to_char_type(__c); __ret = __c; } } else { this->gbump(-1); __ret = traits_type::not_eof(__c); } } return __ret; } template typename basic_stringbuf<_CharT, _Traits, _Alloc>::int_type basic_stringbuf<_CharT, _Traits, _Alloc>:: overflow(int_type __c) { const bool __testout = this->_M_mode & ios_base::out; if (__builtin_expect(!__testout, false)) return traits_type::eof(); const bool __testeof = traits_type::eq_int_type(__c, traits_type::eof()); if (__builtin_expect(__testeof, false)) return traits_type::not_eof(__c); const __size_type __capacity = _M_string.capacity(); # 110 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/sstream.tcc" 3 const __size_type __max_size = _M_string.max_size(); const bool __testput = this->pptr() < this->epptr(); if (__builtin_expect(!__testput && __capacity == __max_size, false)) return traits_type::eof(); const char_type __conv = traits_type::to_char_type(__c); if (!__testput) { # 129 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/sstream.tcc" 3 const __size_type __opt_len = std::max(__size_type(2 * __capacity), __size_type(512)); const __size_type __len = std::min(__opt_len, __max_size); __string_type __tmp(_M_string.get_allocator()); __tmp.reserve(__len); if (this->pbase()) __tmp.assign(this->pbase(), this->epptr() - this->pbase()); __tmp.push_back(__conv); _M_string.swap(__tmp); _M_sync(const_cast(_M_string.data()), this->gptr() - this->eback(), this->pptr() - this->pbase()); } else *this->pptr() = __conv; this->pbump(1); return __c; } template typename basic_stringbuf<_CharT, _Traits, _Alloc>::int_type basic_stringbuf<_CharT, _Traits, _Alloc>:: underflow() { int_type __ret = traits_type::eof(); const bool __testin = this->_M_mode & ios_base::in; if (__testin) { _M_update_egptr(); if (this->gptr() < this->egptr()) __ret = traits_type::to_int_type(*this->gptr()); } return __ret; } template typename basic_stringbuf<_CharT, _Traits, _Alloc>::pos_type basic_stringbuf<_CharT, _Traits, _Alloc>:: seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode) { pos_type __ret = pos_type(off_type(-1)); bool __testin = (ios_base::in & this->_M_mode & __mode) != 0; bool __testout = (ios_base::out & this->_M_mode & __mode) != 0; const bool __testboth = __testin && __testout && __way != ios_base::cur; __testin &= !(__mode & ios_base::out); __testout &= !(__mode & ios_base::in); const char_type* __beg = __testin ? this->eback() : this->pbase(); if ((__beg || !__off) && (__testin || __testout || __testboth)) { _M_update_egptr(); off_type __newoffi = __off; off_type __newoffo = __newoffi; if (__way == ios_base::cur) { __newoffi += this->gptr() - __beg; __newoffo += this->pptr() - __beg; } else if (__way == ios_base::end) __newoffo = __newoffi += this->egptr() - __beg; if ((__testin || __testboth) && __newoffi >= 0 && this->egptr() - __beg >= __newoffi) { this->setg(this->eback(), this->eback() + __newoffi, this->egptr()); __ret = pos_type(__newoffi); } if ((__testout || __testboth) && __newoffo >= 0 && this->egptr() - __beg >= __newoffo) { _M_pbump(this->pbase(), this->epptr(), __newoffo); __ret = pos_type(__newoffo); } } return __ret; } template typename basic_stringbuf<_CharT, _Traits, _Alloc>::pos_type basic_stringbuf<_CharT, _Traits, _Alloc>:: seekpos(pos_type __sp, ios_base::openmode __mode) { pos_type __ret = pos_type(off_type(-1)); const bool __testin = (ios_base::in & this->_M_mode & __mode) != 0; const bool __testout = (ios_base::out & this->_M_mode & __mode) != 0; const char_type* __beg = __testin ? this->eback() : this->pbase(); if ((__beg || !off_type(__sp)) && (__testin || __testout)) { _M_update_egptr(); const off_type __pos(__sp); const bool __testpos = (0 <= __pos && __pos <= this->egptr() - __beg); if (__testpos) { if (__testin) this->setg(this->eback(), this->eback() + __pos, this->egptr()); if (__testout) _M_pbump(this->pbase(), this->epptr(), __pos); __ret = __sp; } } return __ret; } template void basic_stringbuf<_CharT, _Traits, _Alloc>:: _M_sync(char_type* __base, __size_type __i, __size_type __o) { const bool __testin = _M_mode & ios_base::in; const bool __testout = _M_mode & ios_base::out; char_type* __endg = __base + _M_string.size(); char_type* __endp = __base + _M_string.capacity(); if (__base != _M_string.data()) { __endg += __i; __i = 0; __endp = __endg; } if (__testin) this->setg(__base, __base + __i, __endg); if (__testout) { _M_pbump(__base, __endp, __o); if (!__testin) this->setg(__endg, __endg, __endg); } } template void basic_stringbuf<_CharT, _Traits, _Alloc>:: _M_pbump(char_type* __pbeg, char_type* __pend, off_type __off) { this->setp(__pbeg, __pend); while (__off > __gnu_cxx::__numeric_traits::__max) { this->pbump(__gnu_cxx::__numeric_traits::__max); __off -= __gnu_cxx::__numeric_traits::__max; } this->pbump(__off); } extern template class basic_stringbuf; extern template class basic_istringstream; extern template class basic_ostringstream; extern template class basic_stringstream; extern template class basic_stringbuf; extern template class basic_istringstream; extern template class basic_ostringstream; extern template class basic_stringstream; } # 880 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 2 3 # 38 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex" 2 3 #pragma clang force_cuda_host_device begin # 82 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 3 # 45 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 2 3 # 54 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 67 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template class complex; template<> class complex; template<> class complex; template<> class complex; template _Tp abs(const complex<_Tp>&); template _Tp arg(const complex<_Tp>&); template _Tp norm(const complex<_Tp>&); template complex<_Tp> conj(const complex<_Tp>&); template complex<_Tp> polar(const _Tp&, const _Tp& = 0); template complex<_Tp> cos(const complex<_Tp>&); template complex<_Tp> cosh(const complex<_Tp>&); template complex<_Tp> exp(const complex<_Tp>&); template complex<_Tp> log(const complex<_Tp>&); template complex<_Tp> log10(const complex<_Tp>&); template complex<_Tp> pow(const complex<_Tp>&, int); template complex<_Tp> pow(const complex<_Tp>&, const _Tp&); template complex<_Tp> pow(const complex<_Tp>&, const complex<_Tp>&); template complex<_Tp> pow(const _Tp&, const complex<_Tp>&); template complex<_Tp> sin(const complex<_Tp>&); template complex<_Tp> sinh(const complex<_Tp>&); template complex<_Tp> sqrt(const complex<_Tp>&); template complex<_Tp> tan(const complex<_Tp>&); template complex<_Tp> tanh(const complex<_Tp>&); # 126 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template struct complex { typedef _Tp value_type; constexpr complex(const _Tp& __r = _Tp(), const _Tp& __i = _Tp()) : _M_real(__r), _M_imag(__i) { } constexpr complex(const complex&) = default; template constexpr complex(const complex<_Up>& __z) : _M_real(__z.real()), _M_imag(__z.imag()) { } __attribute ((__abi_tag__ ("cxx11"))) constexpr _Tp real() const { return _M_real; } __attribute ((__abi_tag__ ("cxx11"))) constexpr _Tp imag() const { return _M_imag; } # 177 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 void real(_Tp __val) { _M_real = __val; } void imag(_Tp __val) { _M_imag = __val; } complex<_Tp>& operator=(const _Tp&); complex<_Tp>& operator+=(const _Tp& __t) { _M_real += __t; return *this; } complex<_Tp>& operator-=(const _Tp& __t) { _M_real -= __t; return *this; } complex<_Tp>& operator*=(const _Tp&); complex<_Tp>& operator/=(const _Tp&); complex& operator=(const complex&) = default; template complex<_Tp>& operator=(const complex<_Up>&); template complex<_Tp>& operator+=(const complex<_Up>&); template complex<_Tp>& operator-=(const complex<_Up>&); template complex<_Tp>& operator*=(const complex<_Up>&); template complex<_Tp>& operator/=(const complex<_Up>&); constexpr complex __rep() const { return *this; } private: _Tp _M_real; _Tp _M_imag; }; template complex<_Tp>& complex<_Tp>::operator=(const _Tp& __t) { _M_real = __t; _M_imag = _Tp(); return *this; } template complex<_Tp>& complex<_Tp>::operator*=(const _Tp& __t) { _M_real *= __t; _M_imag *= __t; return *this; } template complex<_Tp>& complex<_Tp>::operator/=(const _Tp& __t) { _M_real /= __t; _M_imag /= __t; return *this; } template template complex<_Tp>& complex<_Tp>::operator=(const complex<_Up>& __z) { _M_real = __z.real(); _M_imag = __z.imag(); return *this; } template template complex<_Tp>& complex<_Tp>::operator+=(const complex<_Up>& __z) { _M_real += __z.real(); _M_imag += __z.imag(); return *this; } template template complex<_Tp>& complex<_Tp>::operator-=(const complex<_Up>& __z) { _M_real -= __z.real(); _M_imag -= __z.imag(); return *this; } template template complex<_Tp>& complex<_Tp>::operator*=(const complex<_Up>& __z) { const _Tp __r = _M_real * __z.real() - _M_imag * __z.imag(); _M_imag = _M_real * __z.imag() + _M_imag * __z.real(); _M_real = __r; return *this; } template template complex<_Tp>& complex<_Tp>::operator/=(const complex<_Up>& __z) { const _Tp __r = _M_real * __z.real() + _M_imag * __z.imag(); const _Tp __n = std::norm(__z); _M_imag = (_M_imag * __z.real() - _M_real * __z.imag()) / __n; _M_real = __r / __n; return *this; } template inline complex<_Tp> operator+(const complex<_Tp>& __x, const complex<_Tp>& __y) { complex<_Tp> __r = __x; __r += __y; return __r; } template inline complex<_Tp> operator+(const complex<_Tp>& __x, const _Tp& __y) { complex<_Tp> __r = __x; __r += __y; return __r; } template inline complex<_Tp> operator+(const _Tp& __x, const complex<_Tp>& __y) { complex<_Tp> __r = __y; __r += __x; return __r; } template inline complex<_Tp> operator-(const complex<_Tp>& __x, const complex<_Tp>& __y) { complex<_Tp> __r = __x; __r -= __y; return __r; } template inline complex<_Tp> operator-(const complex<_Tp>& __x, const _Tp& __y) { complex<_Tp> __r = __x; __r -= __y; return __r; } template inline complex<_Tp> operator-(const _Tp& __x, const complex<_Tp>& __y) { complex<_Tp> __r = -__y; __r += __x; return __r; } template inline complex<_Tp> operator*(const complex<_Tp>& __x, const complex<_Tp>& __y) { complex<_Tp> __r = __x; __r *= __y; return __r; } template inline complex<_Tp> operator*(const complex<_Tp>& __x, const _Tp& __y) { complex<_Tp> __r = __x; __r *= __y; return __r; } template inline complex<_Tp> operator*(const _Tp& __x, const complex<_Tp>& __y) { complex<_Tp> __r = __y; __r *= __x; return __r; } template inline complex<_Tp> operator/(const complex<_Tp>& __x, const complex<_Tp>& __y) { complex<_Tp> __r = __x; __r /= __y; return __r; } template inline complex<_Tp> operator/(const complex<_Tp>& __x, const _Tp& __y) { complex<_Tp> __r = __x; __r /= __y; return __r; } template inline complex<_Tp> operator/(const _Tp& __x, const complex<_Tp>& __y) { complex<_Tp> __r = __x; __r /= __y; return __r; } template inline complex<_Tp> operator+(const complex<_Tp>& __x) { return __x; } template inline complex<_Tp> operator-(const complex<_Tp>& __x) { return complex<_Tp>(-__x.real(), -__x.imag()); } template inline constexpr bool operator==(const complex<_Tp>& __x, const complex<_Tp>& __y) { return __x.real() == __y.real() && __x.imag() == __y.imag(); } template inline constexpr bool operator==(const complex<_Tp>& __x, const _Tp& __y) { return __x.real() == __y && __x.imag() == _Tp(); } template inline constexpr bool operator==(const _Tp& __x, const complex<_Tp>& __y) { return __x == __y.real() && _Tp() == __y.imag(); } template inline constexpr bool operator!=(const complex<_Tp>& __x, const complex<_Tp>& __y) { return __x.real() != __y.real() || __x.imag() != __y.imag(); } template inline constexpr bool operator!=(const complex<_Tp>& __x, const _Tp& __y) { return __x.real() != __y || __x.imag() != _Tp(); } template inline constexpr bool operator!=(const _Tp& __x, const complex<_Tp>& __y) { return __x != __y.real() || _Tp() != __y.imag(); } template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x) { bool __fail = true; _CharT __ch; if (__is >> __ch) { if (_Traits::eq(__ch, __is.widen('('))) { _Tp __u; if (__is >> __u >> __ch) { const _CharT __rparen = __is.widen(')'); if (_Traits::eq(__ch, __rparen)) { __x = __u; __fail = false; } else if (_Traits::eq(__ch, __is.widen(','))) { _Tp __v; if (__is >> __v >> __ch) { if (_Traits::eq(__ch, __rparen)) { __x = complex<_Tp>(__u, __v); __fail = false; } else __is.putback(__ch); } } else __is.putback(__ch); } } else { __is.putback(__ch); _Tp __u; if (__is >> __u) { __x = __u; __fail = false; } } } if (__fail) __is.setstate(ios_base::failbit); return __is; } template basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, const complex<_Tp>& __x) { basic_ostringstream<_CharT, _Traits> __s; __s.flags(__os.flags()); __s.imbue(__os.getloc()); __s.precision(__os.precision()); __s << '(' << __x.real() << ',' << __x.imag() << ')'; return __os << __s.str(); } template constexpr _Tp real(const complex<_Tp>& __z) { return __z.real(); } template constexpr _Tp imag(const complex<_Tp>& __z) { return __z.imag(); } # 598 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline _Tp __complex_abs(const complex<_Tp>& __z) { _Tp __x = __z.real(); _Tp __y = __z.imag(); const _Tp __s = std::max(abs(__x), abs(__y)); if (__s == _Tp()) return __s; __x /= __s; __y /= __s; return __s * sqrt(__x * __x + __y * __y); } # 627 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline _Tp abs(const complex<_Tp>& __z) { return __complex_abs(__z); } template inline _Tp __complex_arg(const complex<_Tp>& __z) { return atan2(__z.imag(), __z.real()); } # 654 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline _Tp arg(const complex<_Tp>& __z) { return __complex_arg(__z); } template struct _Norm_helper { template static inline _Tp _S_do_it(const complex<_Tp>& __z) { const _Tp __x = __z.real(); const _Tp __y = __z.imag(); return __x * __x + __y * __y; } }; template<> struct _Norm_helper { template static inline _Tp _S_do_it(const complex<_Tp>& __z) { const _Tp __x = __z.real(); const _Tp __y = __z.imag(); return __x * __x + __y * __y; } }; template inline _Tp norm(const complex<_Tp>& __z) { return _Norm_helper<__is_floating<_Tp>::__value && !0>::_S_do_it(__z); } template inline complex<_Tp> polar(const _Tp& __rho, const _Tp& __theta) { ; return complex<_Tp>(__rho * cos(__theta), __rho * sin(__theta)); } template inline complex<_Tp> conj(const complex<_Tp>& __z) { return complex<_Tp>(__z.real(), -__z.imag()); } template inline complex<_Tp> __complex_cos(const complex<_Tp>& __z) { const _Tp __x = __z.real(); const _Tp __y = __z.imag(); return complex<_Tp>(cos(__x) * cosh(__y), -sin(__x) * sinh(__y)); } # 738 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> cos(const complex<_Tp>& __z) { return __complex_cos(__z); } template inline complex<_Tp> __complex_cosh(const complex<_Tp>& __z) { const _Tp __x = __z.real(); const _Tp __y = __z.imag(); return complex<_Tp>(cosh(__x) * cos(__y), sinh(__x) * sin(__y)); } # 768 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> cosh(const complex<_Tp>& __z) { return __complex_cosh(__z); } template inline complex<_Tp> __complex_exp(const complex<_Tp>& __z) { return std::polar<_Tp>(exp(__z.real()), __z.imag()); } # 794 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> exp(const complex<_Tp>& __z) { return __complex_exp(__z); } template inline complex<_Tp> __complex_log(const complex<_Tp>& __z) { return complex<_Tp>(log(std::abs(__z)), std::arg(__z)); } # 821 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> log(const complex<_Tp>& __z) { return __complex_log(__z); } template inline complex<_Tp> log10(const complex<_Tp>& __z) { return std::log(__z) / log(_Tp(10.0)); } template inline complex<_Tp> __complex_sin(const complex<_Tp>& __z) { const _Tp __x = __z.real(); const _Tp __y = __z.imag(); return complex<_Tp>(sin(__x) * cosh(__y), cos(__x) * sinh(__y)); } # 856 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> sin(const complex<_Tp>& __z) { return __complex_sin(__z); } template inline complex<_Tp> __complex_sinh(const complex<_Tp>& __z) { const _Tp __x = __z.real(); const _Tp __y = __z.imag(); return complex<_Tp>(sinh(__x) * cos(__y), cosh(__x) * sin(__y)); } # 886 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> sinh(const complex<_Tp>& __z) { return __complex_sinh(__z); } template complex<_Tp> __complex_sqrt(const complex<_Tp>& __z) { _Tp __x = __z.real(); _Tp __y = __z.imag(); if (__x == _Tp()) { _Tp __t = sqrt(abs(__y) / 2); return complex<_Tp>(__t, __y < _Tp() ? -__t : __t); } else { _Tp __t = sqrt(2 * (std::abs(__z) + abs(__x))); _Tp __u = __t / 2; return __x > _Tp() ? complex<_Tp>(__u, __y / __t) : complex<_Tp>(abs(__y) / __t, __y < _Tp() ? -__u : __u); } } # 930 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> sqrt(const complex<_Tp>& __z) { return __complex_sqrt(__z); } template inline complex<_Tp> __complex_tan(const complex<_Tp>& __z) { return std::sin(__z) / std::cos(__z); } # 957 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> tan(const complex<_Tp>& __z) { return __complex_tan(__z); } template inline complex<_Tp> __complex_tanh(const complex<_Tp>& __z) { return std::sinh(__z) / std::cosh(__z); } # 985 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> tanh(const complex<_Tp>& __z) { return __complex_tanh(__z); } template complex<_Tp> __complex_pow_unsigned(complex<_Tp> __x, unsigned __n) { complex<_Tp> __y = __n % 2 ? __x : complex<_Tp>(1); while (__n >>= 1) { __x *= __x; if (__n % 2) __y *= __x; } return __y; } template inline complex<_Tp> pow(const complex<_Tp>& __z, int __n) { return __n < 0 ? complex<_Tp>(1) / std::__complex_pow_unsigned(__z, -(unsigned)__n) : std::__complex_pow_unsigned(__z, __n); } template complex<_Tp> pow(const complex<_Tp>& __x, const _Tp& __y) { if (__x == _Tp()) return _Tp(); if (__x.imag() == _Tp() && __x.real() > _Tp()) return pow(__x.real(), __y); complex<_Tp> __t = std::log(__x); return std::polar<_Tp>(exp(__y * __t.real()), __y * __t.imag()); } template inline complex<_Tp> __complex_pow(const complex<_Tp>& __x, const complex<_Tp>& __y) { return __x == _Tp() ? _Tp() : std::exp(__y * std::log(__x)); } # 1064 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> pow(const complex<_Tp>& __x, const complex<_Tp>& __y) { return __complex_pow(__x, __y); } template inline complex<_Tp> pow(const _Tp& __x, const complex<_Tp>& __y) { return __x > _Tp() ? std::polar<_Tp>(pow(__x, __y.real()), __y.imag() * log(__x)) : std::pow(complex<_Tp>(__x), __y); } template<> struct complex { typedef float value_type; typedef __complex__ float _ComplexT; constexpr complex(_ComplexT __z) : _M_value(__z) { } constexpr complex(float __r = 0.0f, float __i = 0.0f) : _M_value{ __r, __i } { } explicit constexpr complex(const complex&); explicit constexpr complex(const complex&); __attribute ((__abi_tag__ ("cxx11"))) constexpr float real() const { return __real__ _M_value; } __attribute ((__abi_tag__ ("cxx11"))) constexpr float imag() const { return __imag__ _M_value; } # 1128 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 void real(float __val) { __real__ _M_value = __val; } void imag(float __val) { __imag__ _M_value = __val; } complex& operator=(float __f) { _M_value = __f; return *this; } complex& operator+=(float __f) { _M_value += __f; return *this; } complex& operator-=(float __f) { _M_value -= __f; return *this; } complex& operator*=(float __f) { _M_value *= __f; return *this; } complex& operator/=(float __f) { _M_value /= __f; return *this; } complex& operator=(const complex&) = default; template complex& operator=(const complex<_Tp>& __z) { __real__ _M_value = __z.real(); __imag__ _M_value = __z.imag(); return *this; } template complex& operator+=(const complex<_Tp>& __z) { _M_value += __z.__rep(); return *this; } template complex& operator-=(const complex<_Tp>& __z) { _M_value -= __z.__rep(); return *this; } template complex& operator*=(const complex<_Tp>& __z) { const _ComplexT __t = __z.__rep(); _M_value *= __t; return *this; } template complex& operator/=(const complex<_Tp>& __z) { const _ComplexT __t = __z.__rep(); _M_value /= __t; return *this; } constexpr _ComplexT __rep() const { return _M_value; } private: _ComplexT _M_value; }; template<> struct complex { typedef double value_type; typedef __complex__ double _ComplexT; constexpr complex(_ComplexT __z) : _M_value(__z) { } constexpr complex(double __r = 0.0, double __i = 0.0) : _M_value{ __r, __i } { } constexpr complex(const complex& __z) : _M_value(__z.__rep()) { } explicit constexpr complex(const complex&); __attribute ((__abi_tag__ ("cxx11"))) constexpr double real() const { return __real__ _M_value; } __attribute ((__abi_tag__ ("cxx11"))) constexpr double imag() const { return __imag__ _M_value; } # 1275 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 void real(double __val) { __real__ _M_value = __val; } void imag(double __val) { __imag__ _M_value = __val; } complex& operator=(double __d) { _M_value = __d; return *this; } complex& operator+=(double __d) { _M_value += __d; return *this; } complex& operator-=(double __d) { _M_value -= __d; return *this; } complex& operator*=(double __d) { _M_value *= __d; return *this; } complex& operator/=(double __d) { _M_value /= __d; return *this; } complex& operator=(const complex&) = default; template complex& operator=(const complex<_Tp>& __z) { _M_value = __z.__rep(); return *this; } template complex& operator+=(const complex<_Tp>& __z) { _M_value += __z.__rep(); return *this; } template complex& operator-=(const complex<_Tp>& __z) { _M_value -= __z.__rep(); return *this; } template complex& operator*=(const complex<_Tp>& __z) { const _ComplexT __t = __z.__rep(); _M_value *= __t; return *this; } template complex& operator/=(const complex<_Tp>& __z) { const _ComplexT __t = __z.__rep(); _M_value /= __t; return *this; } constexpr _ComplexT __rep() const { return _M_value; } private: _ComplexT _M_value; }; template<> struct complex { typedef long double value_type; typedef __complex__ long double _ComplexT; constexpr complex(_ComplexT __z) : _M_value(__z) { } constexpr complex(long double __r = 0.0L, long double __i = 0.0L) : _M_value{ __r, __i } { } constexpr complex(const complex& __z) : _M_value(__z.__rep()) { } constexpr complex(const complex& __z) : _M_value(__z.__rep()) { } __attribute ((__abi_tag__ ("cxx11"))) constexpr long double real() const { return __real__ _M_value; } __attribute ((__abi_tag__ ("cxx11"))) constexpr long double imag() const { return __imag__ _M_value; } # 1422 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 void real(long double __val) { __real__ _M_value = __val; } void imag(long double __val) { __imag__ _M_value = __val; } complex& operator=(long double __r) { _M_value = __r; return *this; } complex& operator+=(long double __r) { _M_value += __r; return *this; } complex& operator-=(long double __r) { _M_value -= __r; return *this; } complex& operator*=(long double __r) { _M_value *= __r; return *this; } complex& operator/=(long double __r) { _M_value /= __r; return *this; } complex& operator=(const complex&) = default; template complex& operator=(const complex<_Tp>& __z) { _M_value = __z.__rep(); return *this; } template complex& operator+=(const complex<_Tp>& __z) { _M_value += __z.__rep(); return *this; } template complex& operator-=(const complex<_Tp>& __z) { _M_value -= __z.__rep(); return *this; } template complex& operator*=(const complex<_Tp>& __z) { const _ComplexT __t = __z.__rep(); _M_value *= __t; return *this; } template complex& operator/=(const complex<_Tp>& __z) { const _ComplexT __t = __z.__rep(); _M_value /= __t; return *this; } constexpr _ComplexT __rep() const { return _M_value; } private: _ComplexT _M_value; }; inline constexpr complex::complex(const complex& __z) : _M_value(__z.__rep()) { } inline constexpr complex::complex(const complex& __z) : _M_value(__z.__rep()) { } inline constexpr complex::complex(const complex& __z) : _M_value(__z.__rep()) { } extern template istream& operator>>(istream&, complex&); extern template ostream& operator<<(ostream&, const complex&); extern template istream& operator>>(istream&, complex&); extern template ostream& operator<<(ostream&, const complex&); extern template istream& operator>>(istream&, complex&); extern template ostream& operator<<(ostream&, const complex&); extern template wistream& operator>>(wistream&, complex&); extern template wostream& operator<<(wostream&, const complex&); extern template wistream& operator>>(wistream&, complex&); extern template wostream& operator<<(wostream&, const complex&); extern template wistream& operator>>(wistream&, complex&); extern template wostream& operator<<(wostream&, const complex&); } namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { template struct __promote_2, _Up> { public: typedef std::complex::__type> __type; }; template struct __promote_2<_Tp, std::complex<_Up> > { public: typedef std::complex::__type> __type; }; template struct __promote_2, std::complex<_Up> > { public: typedef std::complex::__type> __type; }; } namespace std __attribute__ ((__visibility__ ("default"))) { template std::complex<_Tp> acos(const std::complex<_Tp>&); template std::complex<_Tp> asin(const std::complex<_Tp>&); template std::complex<_Tp> atan(const std::complex<_Tp>&); template std::complex<_Tp> acosh(const std::complex<_Tp>&); template std::complex<_Tp> asinh(const std::complex<_Tp>&); template std::complex<_Tp> atanh(const std::complex<_Tp>&); template _Tp fabs(const std::complex<_Tp>&); template inline std::complex<_Tp> __complex_acos(const std::complex<_Tp>& __z) { const std::complex<_Tp> __t = std::asin(__z); const _Tp __pi_2 = 1.5707963267948966192313216916397514L; return std::complex<_Tp>(__pi_2 - __t.real(), -__t.imag()); } # 1632 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline std::complex<_Tp> acos(const std::complex<_Tp>& __z) { return __complex_acos(__z); } template inline std::complex<_Tp> __complex_asin(const std::complex<_Tp>& __z) { std::complex<_Tp> __t(-__z.imag(), __z.real()); __t = std::asinh(__t); return std::complex<_Tp>(__t.imag(), -__t.real()); } # 1668 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline std::complex<_Tp> asin(const std::complex<_Tp>& __z) { return __complex_asin(__z); } template std::complex<_Tp> __complex_atan(const std::complex<_Tp>& __z) { const _Tp __r2 = __z.real() * __z.real(); const _Tp __x = _Tp(1.0) - __r2 - __z.imag() * __z.imag(); _Tp __num = __z.imag() + _Tp(1.0); _Tp __den = __z.imag() - _Tp(1.0); __num = __r2 + __num * __num; __den = __r2 + __den * __den; return std::complex<_Tp>(_Tp(0.5) * atan2(_Tp(2.0) * __z.real(), __x), _Tp(0.25) * log(__num / __den)); } # 1712 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline std::complex<_Tp> atan(const std::complex<_Tp>& __z) { return __complex_atan(__z); } template std::complex<_Tp> __complex_acosh(const std::complex<_Tp>& __z) { return _Tp(2.0) * std::log(std::sqrt(_Tp(0.5) * (__z + _Tp(1.0))) + std::sqrt(_Tp(0.5) * (__z - _Tp(1.0)))); } # 1748 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline std::complex<_Tp> acosh(const std::complex<_Tp>& __z) { return __complex_acosh(__z); } template std::complex<_Tp> __complex_asinh(const std::complex<_Tp>& __z) { std::complex<_Tp> __t((__z.real() - __z.imag()) * (__z.real() + __z.imag()) + _Tp(1.0), _Tp(2.0) * __z.real() * __z.imag()); __t = std::sqrt(__t); return std::log(__t + __z); } # 1787 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline std::complex<_Tp> asinh(const std::complex<_Tp>& __z) { return __complex_asinh(__z); } template std::complex<_Tp> __complex_atanh(const std::complex<_Tp>& __z) { const _Tp __i2 = __z.imag() * __z.imag(); const _Tp __x = _Tp(1.0) - __i2 - __z.real() * __z.real(); _Tp __num = _Tp(1.0) + __z.real(); _Tp __den = _Tp(1.0) - __z.real(); __num = __i2 + __num * __num; __den = __i2 + __den * __den; return std::complex<_Tp>(_Tp(0.25) * (log(__num) - log(__den)), _Tp(0.5) * atan2(_Tp(2.0) * __z.imag(), __x)); } # 1831 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline std::complex<_Tp> atanh(const std::complex<_Tp>& __z) { return __complex_atanh(__z); } template inline _Tp fabs(const std::complex<_Tp>& __z) { return std::abs(__z); } template inline typename __gnu_cxx::__promote<_Tp>::__type arg(_Tp __x) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return std::signbit(__x) ? __type(3.1415926535897932384626433832795029L) : __type(); } template constexpr inline typename __gnu_cxx::__promote<_Tp>::__type imag(_Tp) { return _Tp(); } template inline typename __gnu_cxx::__promote<_Tp>::__type norm(_Tp __x) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return __type(__x) * __type(__x); } template constexpr inline typename __gnu_cxx::__promote<_Tp>::__type real(_Tp __x) { return __x; } template inline std::complex::__type> pow(const std::complex<_Tp>& __x, const _Up& __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return std::pow(std::complex<__type>(__x), __type(__y)); } template inline std::complex::__type> pow(const _Tp& __x, const std::complex<_Up>& __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return std::pow(__type(__x), std::complex<__type>(__y)); } template inline std::complex::__type> pow(const std::complex<_Tp>& __x, const std::complex<_Up>& __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return std::pow(std::complex<__type>(__x), std::complex<__type>(__y)); } template std::complex<_Tp> proj(const std::complex<_Tp>&); template inline std::complex<_Tp> __complex_proj(const std::complex<_Tp>& __z) { return __z; } # 1926 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 inline complex __complex_proj(const complex& __z) { if (__builtin_isinf(__z.real()) || __builtin_isinf(__z.imag())) return complex(__builtin_inff(), __builtin_copysignf(0.0f, __z.imag())); return __z; } inline complex __complex_proj(const complex& __z) { if (__builtin_isinf(__z.real()) || __builtin_isinf(__z.imag())) return complex(__builtin_inf(), __builtin_copysign(0.0, __z.imag())); return __z; } inline complex __complex_proj(const complex& __z) { if (__builtin_isinf(__z.real()) || __builtin_isinf(__z.imag())) return complex(__builtin_infl(), __builtin_copysignl(0.0l, __z.imag())); return __z; } template inline std::complex<_Tp> proj(const std::complex<_Tp>& __z) { return __complex_proj(__z); } template inline std::complex::__type> proj(_Tp __x) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return std::proj(std::complex<__type>(__x)); } template inline std::complex::__type> conj(_Tp __x) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return std::complex<__type>(__x, -__type()); } # 2016 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 } # 83 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex" 2 3 #pragma clang force_cuda_host_device end # 112 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 2 3 # 2 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp" 2 # 1 "/tmp/petsc-iuu41q9r/config.setCompilers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp" 2 # 1 "/tmp/petsc-iuu41q9r/config.setCompilers/conffix.h" 1 extern "C" { } # 3 "/tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp" 2 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/stdlib.h" 1 3 # 4 "/tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp" 2 __attribute__((global)) void testFunction() {return;}; // __CLANG_OFFLOAD_BUNDLE____END__ hip-amdgcn-amd-amdhsa-gfx803 // __CLANG_OFFLOAD_BUNDLE____START__ host-x86_64-unknown-linux-gnu # 1 "/tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp" # 1 "" 1 # 1 "" 3 # 737 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 1 3 # 33 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 3 extern "C" { __attribute__((__visibility__("default"))) __attribute__((weak)) __attribute__((noreturn)) __attribute__((device)) void __cxa_pure_virtual(void) { __builtin_trap(); } __attribute__((__visibility__("default"))) __attribute__((weak)) __attribute__((noreturn)) __attribute__((device)) void __cxa_deleted_virtual(void) { __builtin_trap(); } } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++config.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 4 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++config.h" 2 3 # 2361 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++config.h" 3 namespace std { typedef long unsigned int size_t; typedef long int ptrdiff_t; typedef decltype(nullptr) nullptr_t; } # 2621 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++config.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/os_defines.h" 1 3 # 39 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/os_defines.h" 3 # 1 "/usr/include/features.h" 1 3 4 # 345 "/usr/include/features.h" 3 4 # 1 "/usr/include/stdc-predef.h" 1 3 4 # 346 "/usr/include/features.h" 2 3 4 # 375 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 392 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 393 "/usr/include/sys/cdefs.h" 2 3 4 # 376 "/usr/include/features.h" 2 3 4 # 399 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 11 "/usr/include/gnu/stubs.h" 2 3 4 # 400 "/usr/include/features.h" 2 3 4 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/os_defines.h" 2 3 # 2622 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++config.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/cpu_defines.h" 1 3 # 2625 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++config.h" 2 3 # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cpp_type_traits.h" 1 3 # 36 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cpp_type_traits.h" 3 # 67 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cpp_type_traits.h" 3 extern "C++" { namespace std __attribute__ ((__visibility__ ("default"))) { struct __true_type { }; struct __false_type { }; template struct __truth_type { typedef __false_type __type; }; template<> struct __truth_type { typedef __true_type __type; }; template struct __traitor { enum { __value = bool(_Sp::__value) || bool(_Tp::__value) }; typedef typename __truth_type<__value>::__type __type; }; template struct __are_same { enum { __value = 0 }; typedef __false_type __type; }; template struct __are_same<_Tp, _Tp> { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_void { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_void { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_integer { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; # 184 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cpp_type_traits.h" 3 template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; # 287 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cpp_type_traits.h" 3 template struct __is_floating { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_floating { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_floating { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_floating { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_pointer { enum { __value = 0 }; typedef __false_type __type; }; template struct __is_pointer<_Tp*> { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_arithmetic : public __traitor<__is_integer<_Tp>, __is_floating<_Tp> > { }; template struct __is_scalar : public __traitor<__is_arithmetic<_Tp>, __is_pointer<_Tp> > { }; template struct __is_char { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_char { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_char { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_byte { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_byte { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_byte { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_byte { enum { __value = 1 }; typedef __true_type __type; }; # 423 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cpp_type_traits.h" 3 template struct iterator_traits; template struct __is_nonvolatile_trivially_copyable { enum { __value = __is_trivially_copyable(_Tp) }; }; template struct __is_nonvolatile_trivially_copyable { enum { __value = 0 }; }; template struct __memcpyable { enum { __value = 0 }; }; template struct __memcpyable<_Tp*, _Tp*> : __is_nonvolatile_trivially_copyable<_Tp> { }; template struct __memcpyable<_Tp*, const _Tp*> : __is_nonvolatile_trivially_copyable<_Tp> { }; template struct __memcmpable { enum { __value = 0 }; }; template struct __memcmpable<_Tp*, _Tp*> : __is_nonvolatile_trivially_copyable<_Tp> { }; template struct __memcmpable : __is_nonvolatile_trivially_copyable<_Tp> { }; template struct __memcmpable<_Tp*, const _Tp*> : __is_nonvolatile_trivially_copyable<_Tp> { }; template::__value> struct __is_memcmp_ordered { static const bool __value = _Tp(-1) > _Tp(1); }; template struct __is_memcmp_ordered<_Tp, false> { static const bool __value = false; }; template struct __is_memcmp_ordered_with { static const bool __value = __is_memcmp_ordered<_Tp>::__value && __is_memcmp_ordered<_Up>::__value; }; template struct __is_memcmp_ordered_with<_Tp, _Up, false> { static const bool __value = false; }; # 532 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cpp_type_traits.h" 3 template struct __is_move_iterator { enum { __value = 0 }; typedef __false_type __type; }; template inline _Iterator __miter_base(_Iterator __it) { return __it; } } } # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/type_traits.h" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/type_traits.h" 3 extern "C++" { namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { template struct __enable_if { }; template struct __enable_if { typedef _Tp __type; }; template struct __conditional_type { typedef _Iftrue __type; }; template struct __conditional_type { typedef _Iffalse __type; }; template struct __add_unsigned { private: typedef __enable_if::__value, _Tp> __if_type; public: typedef typename __if_type::__type __type; }; template<> struct __add_unsigned { typedef unsigned char __type; }; template<> struct __add_unsigned { typedef unsigned char __type; }; template<> struct __add_unsigned { typedef unsigned short __type; }; template<> struct __add_unsigned { typedef unsigned int __type; }; template<> struct __add_unsigned { typedef unsigned long __type; }; template<> struct __add_unsigned { typedef unsigned long long __type; }; template<> struct __add_unsigned; template<> struct __add_unsigned; template struct __remove_unsigned { private: typedef __enable_if::__value, _Tp> __if_type; public: typedef typename __if_type::__type __type; }; template<> struct __remove_unsigned { typedef signed char __type; }; template<> struct __remove_unsigned { typedef signed char __type; }; template<> struct __remove_unsigned { typedef short __type; }; template<> struct __remove_unsigned { typedef int __type; }; template<> struct __remove_unsigned { typedef long __type; }; template<> struct __remove_unsigned { typedef long long __type; }; template<> struct __remove_unsigned; template<> struct __remove_unsigned; template inline bool __is_null_pointer(_Type* __ptr) { return __ptr == 0; } template inline bool __is_null_pointer(_Type) { return false; } inline bool __is_null_pointer(std::nullptr_t) { return true; } template::__value> struct __promote { typedef double __type; }; template struct __promote<_Tp, false> { }; template<> struct __promote { typedef long double __type; }; template<> struct __promote { typedef double __type; }; template<> struct __promote { typedef float __type; }; template::__type, typename _Up2 = typename __promote<_Up>::__type> struct __promote_2 { typedef __typeof__(_Tp2() + _Up2()) __type; }; template::__type, typename _Up2 = typename __promote<_Up>::__type, typename _Vp2 = typename __promote<_Vp>::__type> struct __promote_3 { typedef __typeof__(_Tp2() + _Up2() + _Vp2()) __type; }; template::__type, typename _Up2 = typename __promote<_Up>::__type, typename _Vp2 = typename __promote<_Vp>::__type, typename _Wp2 = typename __promote<_Wp>::__type> struct __promote_4 { typedef __typeof__(_Tp2() + _Up2() + _Vp2() + _Wp2()) __type; }; } } # 44 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 2 3 # 1 "/usr/include/math.h" 1 3 4 # 29 "/usr/include/math.h" 3 4 extern "C" { # 1 "/usr/include/bits/huge_val.h" 1 3 4 # 34 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/huge_valf.h" 1 3 4 # 36 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/huge_vall.h" 1 3 4 # 37 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/inf.h" 1 3 4 # 40 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/nan.h" 1 3 4 # 43 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/mathdef.h" 1 3 4 # 28 "/usr/include/bits/mathdef.h" 3 4 typedef float float_t; typedef double double_t; # 47 "/usr/include/math.h" 2 3 4 # 70 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 54 "/usr/include/bits/mathcalls.h" 3 4 extern double acos (double __x) throw (); extern double __acos (double __x) throw (); extern double asin (double __x) throw (); extern double __asin (double __x) throw (); extern double atan (double __x) throw (); extern double __atan (double __x) throw (); extern double atan2 (double __y, double __x) throw (); extern double __atan2 (double __y, double __x) throw (); extern double cos (double __x) throw (); extern double __cos (double __x) throw (); extern double sin (double __x) throw (); extern double __sin (double __x) throw (); extern double tan (double __x) throw (); extern double __tan (double __x) throw (); extern double cosh (double __x) throw (); extern double __cosh (double __x) throw (); extern double sinh (double __x) throw (); extern double __sinh (double __x) throw (); extern double tanh (double __x) throw (); extern double __tanh (double __x) throw (); extern void sincos (double __x, double *__sinx, double *__cosx) throw (); extern void __sincos (double __x, double *__sinx, double *__cosx) throw (); extern double acosh (double __x) throw (); extern double __acosh (double __x) throw (); extern double asinh (double __x) throw (); extern double __asinh (double __x) throw (); extern double atanh (double __x) throw (); extern double __atanh (double __x) throw (); extern double exp (double __x) throw (); extern double __exp (double __x) throw (); extern double frexp (double __x, int *__exponent) throw (); extern double __frexp (double __x, int *__exponent) throw (); extern double ldexp (double __x, int __exponent) throw (); extern double __ldexp (double __x, int __exponent) throw (); extern double log (double __x) throw (); extern double __log (double __x) throw (); extern double log10 (double __x) throw (); extern double __log10 (double __x) throw (); extern double modf (double __x, double *__iptr) throw (); extern double __modf (double __x, double *__iptr) throw () __attribute__ ((__nonnull__ (2))); extern double exp10 (double __x) throw (); extern double __exp10 (double __x) throw (); extern double pow10 (double __x) throw (); extern double __pow10 (double __x) throw (); extern double expm1 (double __x) throw (); extern double __expm1 (double __x) throw (); extern double log1p (double __x) throw (); extern double __log1p (double __x) throw (); extern double logb (double __x) throw (); extern double __logb (double __x) throw (); extern double exp2 (double __x) throw (); extern double __exp2 (double __x) throw (); extern double log2 (double __x) throw (); extern double __log2 (double __x) throw (); # 154 "/usr/include/bits/mathcalls.h" 3 4 extern double pow (double __x, double __y) throw (); extern double __pow (double __x, double __y) throw (); extern double sqrt (double __x) throw (); extern double __sqrt (double __x) throw (); extern double hypot (double __x, double __y) throw (); extern double __hypot (double __x, double __y) throw (); extern double cbrt (double __x) throw (); extern double __cbrt (double __x) throw (); # 179 "/usr/include/bits/mathcalls.h" 3 4 extern double ceil (double __x) throw () __attribute__ ((__const__)); extern double __ceil (double __x) throw () __attribute__ ((__const__)); extern double fabs (double __x) throw () __attribute__ ((__const__)); extern double __fabs (double __x) throw () __attribute__ ((__const__)); extern double floor (double __x) throw () __attribute__ ((__const__)); extern double __floor (double __x) throw () __attribute__ ((__const__)); extern double fmod (double __x, double __y) throw (); extern double __fmod (double __x, double __y) throw (); extern int __isinf (double __value) throw () __attribute__ ((__const__)); extern int __finite (double __value) throw () __attribute__ ((__const__)); extern int isinf (double __value) throw () __attribute__ ((__const__)); extern int finite (double __value) throw () __attribute__ ((__const__)); extern double drem (double __x, double __y) throw (); extern double __drem (double __x, double __y) throw (); extern double significand (double __x) throw (); extern double __significand (double __x) throw (); extern double copysign (double __x, double __y) throw () __attribute__ ((__const__)); extern double __copysign (double __x, double __y) throw () __attribute__ ((__const__)); extern double nan (const char *__tagb) throw () __attribute__ ((__const__)); extern double __nan (const char *__tagb) throw () __attribute__ ((__const__)); extern int __isnan (double __value) throw () __attribute__ ((__const__)); extern int isnan (double __value) throw () __attribute__ ((__const__)); extern double j0 (double) throw (); extern double __j0 (double) throw (); extern double j1 (double) throw (); extern double __j1 (double) throw (); extern double jn (int, double) throw (); extern double __jn (int, double) throw (); extern double y0 (double) throw (); extern double __y0 (double) throw (); extern double y1 (double) throw (); extern double __y1 (double) throw (); extern double yn (int, double) throw (); extern double __yn (int, double) throw (); extern double erf (double) throw (); extern double __erf (double) throw (); extern double erfc (double) throw (); extern double __erfc (double) throw (); extern double lgamma (double) throw (); extern double __lgamma (double) throw (); extern double tgamma (double) throw (); extern double __tgamma (double) throw (); extern double gamma (double) throw (); extern double __gamma (double) throw (); extern double lgamma_r (double, int *__signgamp) throw (); extern double __lgamma_r (double, int *__signgamp) throw (); extern double rint (double __x) throw (); extern double __rint (double __x) throw (); extern double nextafter (double __x, double __y) throw () __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) throw () __attribute__ ((__const__)); extern double nexttoward (double __x, long double __y) throw () __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) throw () __attribute__ ((__const__)); extern double remainder (double __x, double __y) throw (); extern double __remainder (double __x, double __y) throw (); extern double scalbn (double __x, int __n) throw (); extern double __scalbn (double __x, int __n) throw (); extern int ilogb (double __x) throw (); extern int __ilogb (double __x) throw (); extern double scalbln (double __x, long int __n) throw (); extern double __scalbln (double __x, long int __n) throw (); extern double nearbyint (double __x) throw (); extern double __nearbyint (double __x) throw (); extern double round (double __x) throw () __attribute__ ((__const__)); extern double __round (double __x) throw () __attribute__ ((__const__)); extern double trunc (double __x) throw () __attribute__ ((__const__)); extern double __trunc (double __x) throw () __attribute__ ((__const__)); extern double remquo (double __x, double __y, int *__quo) throw (); extern double __remquo (double __x, double __y, int *__quo) throw (); extern long int lrint (double __x) throw (); extern long int __lrint (double __x) throw (); extern long long int llrint (double __x) throw (); extern long long int __llrint (double __x) throw (); extern long int lround (double __x) throw (); extern long int __lround (double __x) throw (); extern long long int llround (double __x) throw (); extern long long int __llround (double __x) throw (); extern double fdim (double __x, double __y) throw (); extern double __fdim (double __x, double __y) throw (); extern double fmax (double __x, double __y) throw () __attribute__ ((__const__)); extern double __fmax (double __x, double __y) throw () __attribute__ ((__const__)); extern double fmin (double __x, double __y) throw () __attribute__ ((__const__)); extern double __fmin (double __x, double __y) throw () __attribute__ ((__const__)); extern int __fpclassify (double __value) throw () __attribute__ ((__const__)); extern int __signbit (double __value) throw () __attribute__ ((__const__)); extern double fma (double __x, double __y, double __z) throw (); extern double __fma (double __x, double __y, double __z) throw (); # 364 "/usr/include/bits/mathcalls.h" 3 4 extern double scalb (double __x, double __n) throw (); extern double __scalb (double __x, double __n) throw (); # 71 "/usr/include/math.h" 2 3 4 # 89 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 54 "/usr/include/bits/mathcalls.h" 3 4 extern float acosf (float __x) throw (); extern float __acosf (float __x) throw (); extern float asinf (float __x) throw (); extern float __asinf (float __x) throw (); extern float atanf (float __x) throw (); extern float __atanf (float __x) throw (); extern float atan2f (float __y, float __x) throw (); extern float __atan2f (float __y, float __x) throw (); extern float cosf (float __x) throw (); extern float __cosf (float __x) throw (); extern float sinf (float __x) throw (); extern float __sinf (float __x) throw (); extern float tanf (float __x) throw (); extern float __tanf (float __x) throw (); extern float coshf (float __x) throw (); extern float __coshf (float __x) throw (); extern float sinhf (float __x) throw (); extern float __sinhf (float __x) throw (); extern float tanhf (float __x) throw (); extern float __tanhf (float __x) throw (); extern void sincosf (float __x, float *__sinx, float *__cosx) throw (); extern void __sincosf (float __x, float *__sinx, float *__cosx) throw (); extern float acoshf (float __x) throw (); extern float __acoshf (float __x) throw (); extern float asinhf (float __x) throw (); extern float __asinhf (float __x) throw (); extern float atanhf (float __x) throw (); extern float __atanhf (float __x) throw (); extern float expf (float __x) throw (); extern float __expf (float __x) throw (); extern float frexpf (float __x, int *__exponent) throw (); extern float __frexpf (float __x, int *__exponent) throw (); extern float ldexpf (float __x, int __exponent) throw (); extern float __ldexpf (float __x, int __exponent) throw (); extern float logf (float __x) throw (); extern float __logf (float __x) throw (); extern float log10f (float __x) throw (); extern float __log10f (float __x) throw (); extern float modff (float __x, float *__iptr) throw (); extern float __modff (float __x, float *__iptr) throw () __attribute__ ((__nonnull__ (2))); extern float exp10f (float __x) throw (); extern float __exp10f (float __x) throw (); extern float pow10f (float __x) throw (); extern float __pow10f (float __x) throw (); extern float expm1f (float __x) throw (); extern float __expm1f (float __x) throw (); extern float log1pf (float __x) throw (); extern float __log1pf (float __x) throw (); extern float logbf (float __x) throw (); extern float __logbf (float __x) throw (); extern float exp2f (float __x) throw (); extern float __exp2f (float __x) throw (); extern float log2f (float __x) throw (); extern float __log2f (float __x) throw (); # 154 "/usr/include/bits/mathcalls.h" 3 4 extern float powf (float __x, float __y) throw (); extern float __powf (float __x, float __y) throw (); extern float sqrtf (float __x) throw (); extern float __sqrtf (float __x) throw (); extern float hypotf (float __x, float __y) throw (); extern float __hypotf (float __x, float __y) throw (); extern float cbrtf (float __x) throw (); extern float __cbrtf (float __x) throw (); # 179 "/usr/include/bits/mathcalls.h" 3 4 extern float ceilf (float __x) throw () __attribute__ ((__const__)); extern float __ceilf (float __x) throw () __attribute__ ((__const__)); extern float fabsf (float __x) throw () __attribute__ ((__const__)); extern float __fabsf (float __x) throw () __attribute__ ((__const__)); extern float floorf (float __x) throw () __attribute__ ((__const__)); extern float __floorf (float __x) throw () __attribute__ ((__const__)); extern float fmodf (float __x, float __y) throw (); extern float __fmodf (float __x, float __y) throw (); extern int __isinff (float __value) throw () __attribute__ ((__const__)); extern int __finitef (float __value) throw () __attribute__ ((__const__)); extern int isinff (float __value) throw () __attribute__ ((__const__)); extern int finitef (float __value) throw () __attribute__ ((__const__)); extern float dremf (float __x, float __y) throw (); extern float __dremf (float __x, float __y) throw (); extern float significandf (float __x) throw (); extern float __significandf (float __x) throw (); extern float copysignf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) throw () __attribute__ ((__const__)); extern float nanf (const char *__tagb) throw () __attribute__ ((__const__)); extern float __nanf (const char *__tagb) throw () __attribute__ ((__const__)); extern int __isnanf (float __value) throw () __attribute__ ((__const__)); extern int isnanf (float __value) throw () __attribute__ ((__const__)); extern float j0f (float) throw (); extern float __j0f (float) throw (); extern float j1f (float) throw (); extern float __j1f (float) throw (); extern float jnf (int, float) throw (); extern float __jnf (int, float) throw (); extern float y0f (float) throw (); extern float __y0f (float) throw (); extern float y1f (float) throw (); extern float __y1f (float) throw (); extern float ynf (int, float) throw (); extern float __ynf (int, float) throw (); extern float erff (float) throw (); extern float __erff (float) throw (); extern float erfcf (float) throw (); extern float __erfcf (float) throw (); extern float lgammaf (float) throw (); extern float __lgammaf (float) throw (); extern float tgammaf (float) throw (); extern float __tgammaf (float) throw (); extern float gammaf (float) throw (); extern float __gammaf (float) throw (); extern float lgammaf_r (float, int *__signgamp) throw (); extern float __lgammaf_r (float, int *__signgamp) throw (); extern float rintf (float __x) throw (); extern float __rintf (float __x) throw (); extern float nextafterf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) throw () __attribute__ ((__const__)); extern float nexttowardf (float __x, long double __y) throw () __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) throw () __attribute__ ((__const__)); extern float remainderf (float __x, float __y) throw (); extern float __remainderf (float __x, float __y) throw (); extern float scalbnf (float __x, int __n) throw (); extern float __scalbnf (float __x, int __n) throw (); extern int ilogbf (float __x) throw (); extern int __ilogbf (float __x) throw (); extern float scalblnf (float __x, long int __n) throw (); extern float __scalblnf (float __x, long int __n) throw (); extern float nearbyintf (float __x) throw (); extern float __nearbyintf (float __x) throw (); extern float roundf (float __x) throw () __attribute__ ((__const__)); extern float __roundf (float __x) throw () __attribute__ ((__const__)); extern float truncf (float __x) throw () __attribute__ ((__const__)); extern float __truncf (float __x) throw () __attribute__ ((__const__)); extern float remquof (float __x, float __y, int *__quo) throw (); extern float __remquof (float __x, float __y, int *__quo) throw (); extern long int lrintf (float __x) throw (); extern long int __lrintf (float __x) throw (); extern long long int llrintf (float __x) throw (); extern long long int __llrintf (float __x) throw (); extern long int lroundf (float __x) throw (); extern long int __lroundf (float __x) throw (); extern long long int llroundf (float __x) throw (); extern long long int __llroundf (float __x) throw (); extern float fdimf (float __x, float __y) throw (); extern float __fdimf (float __x, float __y) throw (); extern float fmaxf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __fmaxf (float __x, float __y) throw () __attribute__ ((__const__)); extern float fminf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __fminf (float __x, float __y) throw () __attribute__ ((__const__)); extern int __fpclassifyf (float __value) throw () __attribute__ ((__const__)); extern int __signbitf (float __value) throw () __attribute__ ((__const__)); extern float fmaf (float __x, float __y, float __z) throw (); extern float __fmaf (float __x, float __y, float __z) throw (); # 364 "/usr/include/bits/mathcalls.h" 3 4 extern float scalbf (float __x, float __n) throw (); extern float __scalbf (float __x, float __n) throw (); # 90 "/usr/include/math.h" 2 3 4 # 133 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 54 "/usr/include/bits/mathcalls.h" 3 4 extern long double acosl (long double __x) throw (); extern long double __acosl (long double __x) throw (); extern long double asinl (long double __x) throw (); extern long double __asinl (long double __x) throw (); extern long double atanl (long double __x) throw (); extern long double __atanl (long double __x) throw (); extern long double atan2l (long double __y, long double __x) throw (); extern long double __atan2l (long double __y, long double __x) throw (); extern long double cosl (long double __x) throw (); extern long double __cosl (long double __x) throw (); extern long double sinl (long double __x) throw (); extern long double __sinl (long double __x) throw (); extern long double tanl (long double __x) throw (); extern long double __tanl (long double __x) throw (); extern long double coshl (long double __x) throw (); extern long double __coshl (long double __x) throw (); extern long double sinhl (long double __x) throw (); extern long double __sinhl (long double __x) throw (); extern long double tanhl (long double __x) throw (); extern long double __tanhl (long double __x) throw (); extern void sincosl (long double __x, long double *__sinx, long double *__cosx) throw (); extern void __sincosl (long double __x, long double *__sinx, long double *__cosx) throw (); extern long double acoshl (long double __x) throw (); extern long double __acoshl (long double __x) throw (); extern long double asinhl (long double __x) throw (); extern long double __asinhl (long double __x) throw (); extern long double atanhl (long double __x) throw (); extern long double __atanhl (long double __x) throw (); extern long double expl (long double __x) throw (); extern long double __expl (long double __x) throw (); extern long double frexpl (long double __x, int *__exponent) throw (); extern long double __frexpl (long double __x, int *__exponent) throw (); extern long double ldexpl (long double __x, int __exponent) throw (); extern long double __ldexpl (long double __x, int __exponent) throw (); extern long double logl (long double __x) throw (); extern long double __logl (long double __x) throw (); extern long double log10l (long double __x) throw (); extern long double __log10l (long double __x) throw (); extern long double modfl (long double __x, long double *__iptr) throw (); extern long double __modfl (long double __x, long double *__iptr) throw () __attribute__ ((__nonnull__ (2))); extern long double exp10l (long double __x) throw (); extern long double __exp10l (long double __x) throw (); extern long double pow10l (long double __x) throw (); extern long double __pow10l (long double __x) throw (); extern long double expm1l (long double __x) throw (); extern long double __expm1l (long double __x) throw (); extern long double log1pl (long double __x) throw (); extern long double __log1pl (long double __x) throw (); extern long double logbl (long double __x) throw (); extern long double __logbl (long double __x) throw (); extern long double exp2l (long double __x) throw (); extern long double __exp2l (long double __x) throw (); extern long double log2l (long double __x) throw (); extern long double __log2l (long double __x) throw (); # 154 "/usr/include/bits/mathcalls.h" 3 4 extern long double powl (long double __x, long double __y) throw (); extern long double __powl (long double __x, long double __y) throw (); extern long double sqrtl (long double __x) throw (); extern long double __sqrtl (long double __x) throw (); extern long double hypotl (long double __x, long double __y) throw (); extern long double __hypotl (long double __x, long double __y) throw (); extern long double cbrtl (long double __x) throw (); extern long double __cbrtl (long double __x) throw (); # 179 "/usr/include/bits/mathcalls.h" 3 4 extern long double ceill (long double __x) throw () __attribute__ ((__const__)); extern long double __ceill (long double __x) throw () __attribute__ ((__const__)); extern long double fabsl (long double __x) throw () __attribute__ ((__const__)); extern long double __fabsl (long double __x) throw () __attribute__ ((__const__)); extern long double floorl (long double __x) throw () __attribute__ ((__const__)); extern long double __floorl (long double __x) throw () __attribute__ ((__const__)); extern long double fmodl (long double __x, long double __y) throw (); extern long double __fmodl (long double __x, long double __y) throw (); extern int __isinfl (long double __value) throw () __attribute__ ((__const__)); extern int __finitel (long double __value) throw () __attribute__ ((__const__)); extern int isinfl (long double __value) throw () __attribute__ ((__const__)); extern int finitel (long double __value) throw () __attribute__ ((__const__)); extern long double dreml (long double __x, long double __y) throw (); extern long double __dreml (long double __x, long double __y) throw (); extern long double significandl (long double __x) throw (); extern long double __significandl (long double __x) throw (); extern long double copysignl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double nanl (const char *__tagb) throw () __attribute__ ((__const__)); extern long double __nanl (const char *__tagb) throw () __attribute__ ((__const__)); extern int __isnanl (long double __value) throw () __attribute__ ((__const__)); extern int isnanl (long double __value) throw () __attribute__ ((__const__)); extern long double j0l (long double) throw (); extern long double __j0l (long double) throw (); extern long double j1l (long double) throw (); extern long double __j1l (long double) throw (); extern long double jnl (int, long double) throw (); extern long double __jnl (int, long double) throw (); extern long double y0l (long double) throw (); extern long double __y0l (long double) throw (); extern long double y1l (long double) throw (); extern long double __y1l (long double) throw (); extern long double ynl (int, long double) throw (); extern long double __ynl (int, long double) throw (); extern long double erfl (long double) throw (); extern long double __erfl (long double) throw (); extern long double erfcl (long double) throw (); extern long double __erfcl (long double) throw (); extern long double lgammal (long double) throw (); extern long double __lgammal (long double) throw (); extern long double tgammal (long double) throw (); extern long double __tgammal (long double) throw (); extern long double gammal (long double) throw (); extern long double __gammal (long double) throw (); extern long double lgammal_r (long double, int *__signgamp) throw (); extern long double __lgammal_r (long double, int *__signgamp) throw (); extern long double rintl (long double __x) throw (); extern long double __rintl (long double __x) throw (); extern long double nextafterl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double nexttowardl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double remainderl (long double __x, long double __y) throw (); extern long double __remainderl (long double __x, long double __y) throw (); extern long double scalbnl (long double __x, int __n) throw (); extern long double __scalbnl (long double __x, int __n) throw (); extern int ilogbl (long double __x) throw (); extern int __ilogbl (long double __x) throw (); extern long double scalblnl (long double __x, long int __n) throw (); extern long double __scalblnl (long double __x, long int __n) throw (); extern long double nearbyintl (long double __x) throw (); extern long double __nearbyintl (long double __x) throw (); extern long double roundl (long double __x) throw () __attribute__ ((__const__)); extern long double __roundl (long double __x) throw () __attribute__ ((__const__)); extern long double truncl (long double __x) throw () __attribute__ ((__const__)); extern long double __truncl (long double __x) throw () __attribute__ ((__const__)); extern long double remquol (long double __x, long double __y, int *__quo) throw (); extern long double __remquol (long double __x, long double __y, int *__quo) throw (); extern long int lrintl (long double __x) throw (); extern long int __lrintl (long double __x) throw (); extern long long int llrintl (long double __x) throw (); extern long long int __llrintl (long double __x) throw (); extern long int lroundl (long double __x) throw (); extern long int __lroundl (long double __x) throw (); extern long long int llroundl (long double __x) throw (); extern long long int __llroundl (long double __x) throw (); extern long double fdiml (long double __x, long double __y) throw (); extern long double __fdiml (long double __x, long double __y) throw (); extern long double fmaxl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __fmaxl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double fminl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __fminl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern int __fpclassifyl (long double __value) throw () __attribute__ ((__const__)); extern int __signbitl (long double __value) throw () __attribute__ ((__const__)); extern long double fmal (long double __x, long double __y, long double __z) throw (); extern long double __fmal (long double __x, long double __y, long double __z) throw (); # 364 "/usr/include/bits/mathcalls.h" 3 4 extern long double scalbl (long double __x, long double __n) throw (); extern long double __scalbl (long double __x, long double __n) throw (); # 134 "/usr/include/math.h" 2 3 4 # 149 "/usr/include/math.h" 3 4 extern int signgam; # 190 "/usr/include/math.h" 3 4 enum { FP_NAN = 0, FP_INFINITE = 1, FP_ZERO = 2, FP_SUBNORMAL = 3, FP_NORMAL = 4 }; # 288 "/usr/include/math.h" 3 4 typedef enum { _IEEE_ = -1, _SVID_, _XOPEN_, _POSIX_, _ISOC_ } _LIB_VERSION_TYPE; extern _LIB_VERSION_TYPE _LIB_VERSION; # 311 "/usr/include/math.h" 3 4 struct __exception { int type; char *name; double arg1; double arg2; double retval; }; extern int matherr (struct __exception *__exc) throw (); # 413 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathinline.h" 1 3 4 # 126 "/usr/include/bits/mathinline.h" 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) int __signbitf (float __x) throw () { int __m; __asm ("pmovmskb %1, %0" : "=r" (__m) : "x" (__x)); return (__m & 0x8) != 0; } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) int __signbit (double __x) throw () { int __m; __asm ("pmovmskb %1, %0" : "=r" (__m) : "x" (__x)); return (__m & 0x80) != 0; } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) int __signbitl (long double __x) throw () { __extension__ union { long double __l; int __i[3]; } __u = { __l: __x }; return (__u.__i[2] & 0x8000) != 0; } # 414 "/usr/include/math.h" 2 3 4 # 475 "/usr/include/math.h" 3 4 } # 46 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/std_abs.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/std_abs.h" 3 # 1 "/usr/include/stdlib.h" 1 3 4 # 32 "/usr/include/stdlib.h" 3 4 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 4 # 46 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 33 "/usr/include/stdlib.h" 2 3 4 extern "C" { # 1 "/usr/include/bits/waitflags.h" 1 3 4 # 42 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/bits/waitstatus.h" 1 3 4 # 64 "/usr/include/bits/waitstatus.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 36 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 2 3 4 # 60 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 27 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 27 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 28 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 130 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 131 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 28 "/usr/include/bits/byteswap.h" 2 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 1 "/usr/include/bits/byteswap-16.h" 1 3 4 # 36 "/usr/include/bits/byteswap.h" 2 3 4 # 61 "/usr/include/endian.h" 2 3 4 # 65 "/usr/include/bits/waitstatus.h" 2 3 4 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; } __wait_stopped; }; # 43 "/usr/include/stdlib.h" 2 3 4 # 97 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 139 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) throw () ; extern double atof (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); # 235 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/xlocale.h" 1 3 4 # 27 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 236 "/usr/include/stdlib.h" 2 3 4 extern long int strtol_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); extern unsigned long int strtoul_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); __extension__ extern long long int strtoll_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); __extension__ extern unsigned long long int strtoull_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); extern double strtod_l (const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); extern float strtof_l (const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); extern long double strtold_l (const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); extern __inline __attribute__ ((__gnu_inline__)) int atoi (const char *__nptr) throw () { return (int) strtol (__nptr, (char **) __null, 10); } extern __inline __attribute__ ((__gnu_inline__)) long int atol (const char *__nptr) throw () { return strtol (__nptr, (char **) __null, 10); } __extension__ extern __inline __attribute__ ((__gnu_inline__)) long long int atoll (const char *__nptr) throw () { return strtoll (__nptr, (char **) __null, 10); } # 305 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) throw () ; extern long int a64l (const char *__s) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/sys/types.h" 1 3 4 # 27 "/usr/include/sys/types.h" 3 4 extern "C" { typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; typedef __ino64_t ino64_t; typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; typedef __off64_t off64_t; typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 132 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 59 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 75 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 91 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 103 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 133 "/usr/include/sys/types.h" 2 3 4 typedef __useconds_t useconds_t; typedef __suseconds_t suseconds_t; # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 4 # 147 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 194 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 219 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 30 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 22 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 23 "/usr/include/bits/select.h" 2 3 4 # 31 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 23 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 44 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 30 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 46 "/usr/include/sys/select.h" 2 3 4 typedef long int __fd_mask; # 64 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 96 "/usr/include/sys/select.h" 3 4 extern "C" { # 106 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 118 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 131 "/usr/include/sys/select.h" 3 4 } # 220 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 29 "/usr/include/sys/sysmacros.h" 3 4 extern "C" { __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) throw () __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) throw () __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int gnu_dev_major (unsigned long long int __dev) throw () { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int gnu_dev_minor (unsigned long long int __dev) throw () { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } } # 223 "/usr/include/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 262 "/usr/include/sys/types.h" 3 4 typedef __blkcnt64_t blkcnt64_t; typedef __fsblkcnt64_t fsblkcnt64_t; typedef __fsfilcnt64_t fsfilcnt64_t; # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 21 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 60 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 90 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; short __spins; short __elision; __pthread_list_t __list; # 125 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 212 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 } # 315 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) throw (); extern void srandom (unsigned int __seed) throw (); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) throw () __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) throw () __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) throw () __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) throw () __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) throw (); extern void srand (unsigned int __seed) throw (); extern int rand_r (unsigned int *__seed) throw (); extern double drand48 (void) throw (); extern double erand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) throw (); extern long int nrand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) throw (); extern long int jrand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) throw (); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) throw () __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) throw () __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); # 465 "/usr/include/stdlib.h" 3 4 extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) throw () __attribute__ ((__malloc__)) ; # 479 "/usr/include/stdlib.h" 3 4 extern void *realloc (void *__ptr, size_t __size) throw () __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) throw (); extern void cfree (void *__ptr) throw (); # 1 "/usr/include/alloca.h" 1 3 4 # 24 "/usr/include/alloca.h" 3 4 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 4 # 25 "/usr/include/alloca.h" 2 3 4 extern "C" { extern void *alloca (size_t __size) throw (); } # 492 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) throw () __attribute__ ((__nonnull__ (1))) ; extern void *aligned_alloc (size_t __alignment, size_t __size) throw () __attribute__ ((__malloc__, __alloc_size__ (2))); extern void abort (void) throw () __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) throw () __attribute__ ((__nonnull__ (1))); extern "C++" int at_quick_exit (void (*__func) (void)) throw () __asm ("at_quick_exit") __attribute__ ((__nonnull__ (1))); # 534 "/usr/include/stdlib.h" 3 4 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) throw () __attribute__ ((__nonnull__ (1))); extern void exit (int __status) throw () __attribute__ ((__noreturn__)); extern void quick_exit (int __status) throw () __attribute__ ((__noreturn__)); extern void _Exit (int __status) throw () __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern char *secure_getenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern int putenv (char *__string) throw () __attribute__ ((__nonnull__ (1))); extern int setenv (const char *__name, const char *__value, int __replace) throw () __attribute__ ((__nonnull__ (2))); extern int unsetenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))); extern int clearenv (void) throw (); # 605 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) throw () __attribute__ ((__nonnull__ (1))); # 619 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 629 "/usr/include/stdlib.h" 3 4 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ; # 641 "/usr/include/stdlib.h" 3 4 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 651 "/usr/include/stdlib.h" 3 4 extern int mkstemps64 (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 662 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ; # 673 "/usr/include/stdlib.h" 3 4 extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; # 683 "/usr/include/stdlib.h" 3 4 extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; # 693 "/usr/include/stdlib.h" 3 4 extern int mkostemps (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; # 705 "/usr/include/stdlib.h" 3 4 extern int mkostemps64 (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; # 716 "/usr/include/stdlib.h" 3 4 extern int system (const char *__command) ; extern char *canonicalize_file_name (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; # 733 "/usr/include/stdlib.h" 3 4 extern char *realpath (const char *__restrict __name, char *__restrict __resolved) throw () ; typedef int (*__compar_fn_t) (const void *, const void *); typedef __compar_fn_t comparison_fn_t; typedef int (*__compar_d_fn_t) (const void *, const void *, void *); extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern void qsort_r (void *__base, size_t __nmemb, size_t __size, __compar_d_fn_t __compar, void *__arg) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) throw () __attribute__ ((__const__)) ; extern long int labs (long int __x) throw () __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) throw () __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) throw () __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) throw () __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) throw () __attribute__ ((__const__)) ; # 807 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) throw () __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) throw () __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (const char *__s, size_t __n) throw () ; extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) throw () ; extern int wctomb (char *__s, wchar_t __wchar) throw () ; extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) throw (); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) throw (); # 884 "/usr/include/stdlib.h" 3 4 extern int rpmatch (const char *__response) throw () __attribute__ ((__nonnull__ (1))) ; # 895 "/usr/include/stdlib.h" 3 4 extern int getsubopt (char **__restrict __optionp, char *const *__restrict __tokens, char **__restrict __valuep) throw () __attribute__ ((__nonnull__ (1, 2, 3))) ; extern void setkey (const char *__key) throw () __attribute__ ((__nonnull__ (1))); extern int posix_openpt (int __oflag) ; extern int grantpt (int __fd) throw (); extern int unlockpt (int __fd) throw (); extern char *ptsname (int __fd) throw () ; extern int ptsname_r (int __fd, char *__buf, size_t __buflen) throw () __attribute__ ((__nonnull__ (2))); extern int getpt (void); extern int getloadavg (double __loadavg[], int __nelem) throw () __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/bits/stdlib-float.h" 1 3 4 # 25 "/usr/include/bits/stdlib-float.h" 3 4 extern __inline __attribute__ ((__gnu_inline__)) double atof (const char *__nptr) throw () { return strtod (__nptr, (char **) __null); } # 952 "/usr/include/stdlib.h" 2 3 4 # 964 "/usr/include/stdlib.h" 3 4 } # 39 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/std_abs.h" 2 3 extern "C++" { namespace std __attribute__ ((__visibility__ ("default"))) { using ::abs; inline long abs(long __i) { return __builtin_labs(__i); } inline long long abs(long long __x) { return __builtin_llabs (__x); } # 70 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/std_abs.h" 3 inline constexpr double abs(double __x) { return __builtin_fabs(__x); } inline constexpr float abs(float __x) { return __builtin_fabsf(__x); } inline constexpr long double abs(long double __x) { return __builtin_fabsl(__x); } # 108 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/std_abs.h" 3 } } # 48 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 2 3 # 77 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 3 extern "C++" { namespace std __attribute__ ((__visibility__ ("default"))) { using ::acos; inline constexpr float acos(float __x) { return __builtin_acosf(__x); } inline constexpr long double acos(long double __x) { return __builtin_acosl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type acos(_Tp __x) { return __builtin_acos(__x); } using ::asin; inline constexpr float asin(float __x) { return __builtin_asinf(__x); } inline constexpr long double asin(long double __x) { return __builtin_asinl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type asin(_Tp __x) { return __builtin_asin(__x); } using ::atan; inline constexpr float atan(float __x) { return __builtin_atanf(__x); } inline constexpr long double atan(long double __x) { return __builtin_atanl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type atan(_Tp __x) { return __builtin_atan(__x); } using ::atan2; inline constexpr float atan2(float __y, float __x) { return __builtin_atan2f(__y, __x); } inline constexpr long double atan2(long double __y, long double __x) { return __builtin_atan2l(__y, __x); } template inline constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type atan2(_Tp __y, _Up __x) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return atan2(__type(__y), __type(__x)); } using ::ceil; inline constexpr float ceil(float __x) { return __builtin_ceilf(__x); } inline constexpr long double ceil(long double __x) { return __builtin_ceill(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type ceil(_Tp __x) { return __builtin_ceil(__x); } using ::cos; inline constexpr float cos(float __x) { return __builtin_cosf(__x); } inline constexpr long double cos(long double __x) { return __builtin_cosl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type cos(_Tp __x) { return __builtin_cos(__x); } using ::cosh; inline constexpr float cosh(float __x) { return __builtin_coshf(__x); } inline constexpr long double cosh(long double __x) { return __builtin_coshl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type cosh(_Tp __x) { return __builtin_cosh(__x); } using ::exp; inline constexpr float exp(float __x) { return __builtin_expf(__x); } inline constexpr long double exp(long double __x) { return __builtin_expl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type exp(_Tp __x) { return __builtin_exp(__x); } using ::fabs; inline constexpr float fabs(float __x) { return __builtin_fabsf(__x); } inline constexpr long double fabs(long double __x) { return __builtin_fabsl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type fabs(_Tp __x) { return __builtin_fabs(__x); } using ::floor; inline constexpr float floor(float __x) { return __builtin_floorf(__x); } inline constexpr long double floor(long double __x) { return __builtin_floorl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type floor(_Tp __x) { return __builtin_floor(__x); } using ::fmod; inline constexpr float fmod(float __x, float __y) { return __builtin_fmodf(__x, __y); } inline constexpr long double fmod(long double __x, long double __y) { return __builtin_fmodl(__x, __y); } template inline constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type fmod(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return fmod(__type(__x), __type(__y)); } using ::frexp; inline float frexp(float __x, int* __exp) { return __builtin_frexpf(__x, __exp); } inline long double frexp(long double __x, int* __exp) { return __builtin_frexpl(__x, __exp); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type frexp(_Tp __x, int* __exp) { return __builtin_frexp(__x, __exp); } using ::ldexp; inline constexpr float ldexp(float __x, int __exp) { return __builtin_ldexpf(__x, __exp); } inline constexpr long double ldexp(long double __x, int __exp) { return __builtin_ldexpl(__x, __exp); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type ldexp(_Tp __x, int __exp) { return __builtin_ldexp(__x, __exp); } using ::log; inline constexpr float log(float __x) { return __builtin_logf(__x); } inline constexpr long double log(long double __x) { return __builtin_logl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type log(_Tp __x) { return __builtin_log(__x); } using ::log10; inline constexpr float log10(float __x) { return __builtin_log10f(__x); } inline constexpr long double log10(long double __x) { return __builtin_log10l(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type log10(_Tp __x) { return __builtin_log10(__x); } using ::modf; inline float modf(float __x, float* __iptr) { return __builtin_modff(__x, __iptr); } inline long double modf(long double __x, long double* __iptr) { return __builtin_modfl(__x, __iptr); } using ::pow; inline constexpr float pow(float __x, float __y) { return __builtin_powf(__x, __y); } inline constexpr long double pow(long double __x, long double __y) { return __builtin_powl(__x, __y); } # 412 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 3 template inline constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type pow(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return pow(__type(__x), __type(__y)); } using ::sin; inline constexpr float sin(float __x) { return __builtin_sinf(__x); } inline constexpr long double sin(long double __x) { return __builtin_sinl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type sin(_Tp __x) { return __builtin_sin(__x); } using ::sinh; inline constexpr float sinh(float __x) { return __builtin_sinhf(__x); } inline constexpr long double sinh(long double __x) { return __builtin_sinhl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type sinh(_Tp __x) { return __builtin_sinh(__x); } using ::sqrt; inline constexpr float sqrt(float __x) { return __builtin_sqrtf(__x); } inline constexpr long double sqrt(long double __x) { return __builtin_sqrtl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type sqrt(_Tp __x) { return __builtin_sqrt(__x); } using ::tan; inline constexpr float tan(float __x) { return __builtin_tanf(__x); } inline constexpr long double tan(long double __x) { return __builtin_tanl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type tan(_Tp __x) { return __builtin_tan(__x); } using ::tanh; inline constexpr float tanh(float __x) { return __builtin_tanhf(__x); } inline constexpr long double tanh(long double __x) { return __builtin_tanhl(__x); } template inline constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type tanh(_Tp __x) { return __builtin_tanh(__x); } # 536 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 3 constexpr int fpclassify(float __x) { return __builtin_fpclassify(0, 1, 4, 3, 2, __x); } constexpr int fpclassify(double __x) { return __builtin_fpclassify(0, 1, 4, 3, 2, __x); } constexpr int fpclassify(long double __x) { return __builtin_fpclassify(0, 1, 4, 3, 2, __x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, int>::__type fpclassify(_Tp __x) { return __x != 0 ? 4 : 2; } constexpr bool isfinite(float __x) { return __builtin_isfinite(__x); } constexpr bool isfinite(double __x) { return __builtin_isfinite(__x); } constexpr bool isfinite(long double __x) { return __builtin_isfinite(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, bool>::__type isfinite(_Tp __x) { return true; } constexpr bool isinf(float __x) { return __builtin_isinf(__x); } using ::isinf; constexpr bool isinf(long double __x) { return __builtin_isinf(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, bool>::__type isinf(_Tp __x) { return false; } constexpr bool isnan(float __x) { return __builtin_isnan(__x); } using ::isnan; constexpr bool isnan(long double __x) { return __builtin_isnan(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, bool>::__type isnan(_Tp __x) { return false; } constexpr bool isnormal(float __x) { return __builtin_isnormal(__x); } constexpr bool isnormal(double __x) { return __builtin_isnormal(__x); } constexpr bool isnormal(long double __x) { return __builtin_isnormal(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, bool>::__type isnormal(_Tp __x) { return __x != 0 ? true : false; } constexpr bool signbit(float __x) { return __builtin_signbit(__x); } constexpr bool signbit(double __x) { return __builtin_signbit(__x); } constexpr bool signbit(long double __x) { return __builtin_signbit(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, bool>::__type signbit(_Tp __x) { return __x < 0 ? true : false; } constexpr bool isgreater(float __x, float __y) { return __builtin_isgreater(__x, __y); } constexpr bool isgreater(double __x, double __y) { return __builtin_isgreater(__x, __y); } constexpr bool isgreater(long double __x, long double __y) { return __builtin_isgreater(__x, __y); } template constexpr typename __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value && __is_arithmetic<_Up>::__value), bool>::__type isgreater(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return __builtin_isgreater(__type(__x), __type(__y)); } constexpr bool isgreaterequal(float __x, float __y) { return __builtin_isgreaterequal(__x, __y); } constexpr bool isgreaterequal(double __x, double __y) { return __builtin_isgreaterequal(__x, __y); } constexpr bool isgreaterequal(long double __x, long double __y) { return __builtin_isgreaterequal(__x, __y); } template constexpr typename __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value && __is_arithmetic<_Up>::__value), bool>::__type isgreaterequal(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return __builtin_isgreaterequal(__type(__x), __type(__y)); } constexpr bool isless(float __x, float __y) { return __builtin_isless(__x, __y); } constexpr bool isless(double __x, double __y) { return __builtin_isless(__x, __y); } constexpr bool isless(long double __x, long double __y) { return __builtin_isless(__x, __y); } template constexpr typename __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value && __is_arithmetic<_Up>::__value), bool>::__type isless(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return __builtin_isless(__type(__x), __type(__y)); } constexpr bool islessequal(float __x, float __y) { return __builtin_islessequal(__x, __y); } constexpr bool islessequal(double __x, double __y) { return __builtin_islessequal(__x, __y); } constexpr bool islessequal(long double __x, long double __y) { return __builtin_islessequal(__x, __y); } template constexpr typename __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value && __is_arithmetic<_Up>::__value), bool>::__type islessequal(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return __builtin_islessequal(__type(__x), __type(__y)); } constexpr bool islessgreater(float __x, float __y) { return __builtin_islessgreater(__x, __y); } constexpr bool islessgreater(double __x, double __y) { return __builtin_islessgreater(__x, __y); } constexpr bool islessgreater(long double __x, long double __y) { return __builtin_islessgreater(__x, __y); } template constexpr typename __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value && __is_arithmetic<_Up>::__value), bool>::__type islessgreater(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return __builtin_islessgreater(__type(__x), __type(__y)); } constexpr bool isunordered(float __x, float __y) { return __builtin_isunordered(__x, __y); } constexpr bool isunordered(double __x, double __y) { return __builtin_isunordered(__x, __y); } constexpr bool isunordered(long double __x, long double __y) { return __builtin_isunordered(__x, __y); } template constexpr typename __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value && __is_arithmetic<_Up>::__value), bool>::__type isunordered(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return __builtin_isunordered(__type(__x), __type(__y)); } # 1065 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 3 using ::double_t; using ::float_t; using ::acosh; using ::acoshf; using ::acoshl; using ::asinh; using ::asinhf; using ::asinhl; using ::atanh; using ::atanhf; using ::atanhl; using ::cbrt; using ::cbrtf; using ::cbrtl; using ::copysign; using ::copysignf; using ::copysignl; using ::erf; using ::erff; using ::erfl; using ::erfc; using ::erfcf; using ::erfcl; using ::exp2; using ::exp2f; using ::exp2l; using ::expm1; using ::expm1f; using ::expm1l; using ::fdim; using ::fdimf; using ::fdiml; using ::fma; using ::fmaf; using ::fmal; using ::fmax; using ::fmaxf; using ::fmaxl; using ::fmin; using ::fminf; using ::fminl; using ::hypot; using ::hypotf; using ::hypotl; using ::ilogb; using ::ilogbf; using ::ilogbl; using ::lgamma; using ::lgammaf; using ::lgammal; using ::llrint; using ::llrintf; using ::llrintl; using ::llround; using ::llroundf; using ::llroundl; using ::log1p; using ::log1pf; using ::log1pl; using ::log2; using ::log2f; using ::log2l; using ::logb; using ::logbf; using ::logbl; using ::lrint; using ::lrintf; using ::lrintl; using ::lround; using ::lroundf; using ::lroundl; using ::nan; using ::nanf; using ::nanl; using ::nearbyint; using ::nearbyintf; using ::nearbyintl; using ::nextafter; using ::nextafterf; using ::nextafterl; using ::nexttoward; using ::nexttowardf; using ::nexttowardl; using ::remainder; using ::remainderf; using ::remainderl; using ::remquo; using ::remquof; using ::remquol; using ::rint; using ::rintf; using ::rintl; using ::round; using ::roundf; using ::roundl; using ::scalbln; using ::scalblnf; using ::scalblnl; using ::scalbn; using ::scalbnf; using ::scalbnl; using ::tgamma; using ::tgammaf; using ::tgammal; using ::trunc; using ::truncf; using ::truncl; constexpr float acosh(float __x) { return __builtin_acoshf(__x); } constexpr long double acosh(long double __x) { return __builtin_acoshl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type acosh(_Tp __x) { return __builtin_acosh(__x); } constexpr float asinh(float __x) { return __builtin_asinhf(__x); } constexpr long double asinh(long double __x) { return __builtin_asinhl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type asinh(_Tp __x) { return __builtin_asinh(__x); } constexpr float atanh(float __x) { return __builtin_atanhf(__x); } constexpr long double atanh(long double __x) { return __builtin_atanhl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type atanh(_Tp __x) { return __builtin_atanh(__x); } constexpr float cbrt(float __x) { return __builtin_cbrtf(__x); } constexpr long double cbrt(long double __x) { return __builtin_cbrtl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type cbrt(_Tp __x) { return __builtin_cbrt(__x); } constexpr float copysign(float __x, float __y) { return __builtin_copysignf(__x, __y); } constexpr long double copysign(long double __x, long double __y) { return __builtin_copysignl(__x, __y); } template constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type copysign(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return copysign(__type(__x), __type(__y)); } constexpr float erf(float __x) { return __builtin_erff(__x); } constexpr long double erf(long double __x) { return __builtin_erfl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type erf(_Tp __x) { return __builtin_erf(__x); } constexpr float erfc(float __x) { return __builtin_erfcf(__x); } constexpr long double erfc(long double __x) { return __builtin_erfcl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type erfc(_Tp __x) { return __builtin_erfc(__x); } constexpr float exp2(float __x) { return __builtin_exp2f(__x); } constexpr long double exp2(long double __x) { return __builtin_exp2l(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type exp2(_Tp __x) { return __builtin_exp2(__x); } constexpr float expm1(float __x) { return __builtin_expm1f(__x); } constexpr long double expm1(long double __x) { return __builtin_expm1l(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type expm1(_Tp __x) { return __builtin_expm1(__x); } constexpr float fdim(float __x, float __y) { return __builtin_fdimf(__x, __y); } constexpr long double fdim(long double __x, long double __y) { return __builtin_fdiml(__x, __y); } template constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type fdim(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return fdim(__type(__x), __type(__y)); } constexpr float fma(float __x, float __y, float __z) { return __builtin_fmaf(__x, __y, __z); } constexpr long double fma(long double __x, long double __y, long double __z) { return __builtin_fmal(__x, __y, __z); } template constexpr typename __gnu_cxx::__promote_3<_Tp, _Up, _Vp>::__type fma(_Tp __x, _Up __y, _Vp __z) { typedef typename __gnu_cxx::__promote_3<_Tp, _Up, _Vp>::__type __type; return fma(__type(__x), __type(__y), __type(__z)); } constexpr float fmax(float __x, float __y) { return __builtin_fmaxf(__x, __y); } constexpr long double fmax(long double __x, long double __y) { return __builtin_fmaxl(__x, __y); } template constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type fmax(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return fmax(__type(__x), __type(__y)); } constexpr float fmin(float __x, float __y) { return __builtin_fminf(__x, __y); } constexpr long double fmin(long double __x, long double __y) { return __builtin_fminl(__x, __y); } template constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type fmin(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return fmin(__type(__x), __type(__y)); } constexpr float hypot(float __x, float __y) { return __builtin_hypotf(__x, __y); } constexpr long double hypot(long double __x, long double __y) { return __builtin_hypotl(__x, __y); } template constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type hypot(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return hypot(__type(__x), __type(__y)); } constexpr int ilogb(float __x) { return __builtin_ilogbf(__x); } constexpr int ilogb(long double __x) { return __builtin_ilogbl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, int>::__type ilogb(_Tp __x) { return __builtin_ilogb(__x); } constexpr float lgamma(float __x) { return __builtin_lgammaf(__x); } constexpr long double lgamma(long double __x) { return __builtin_lgammal(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type lgamma(_Tp __x) { return __builtin_lgamma(__x); } constexpr long long llrint(float __x) { return __builtin_llrintf(__x); } constexpr long long llrint(long double __x) { return __builtin_llrintl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, long long>::__type llrint(_Tp __x) { return __builtin_llrint(__x); } constexpr long long llround(float __x) { return __builtin_llroundf(__x); } constexpr long long llround(long double __x) { return __builtin_llroundl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, long long>::__type llround(_Tp __x) { return __builtin_llround(__x); } constexpr float log1p(float __x) { return __builtin_log1pf(__x); } constexpr long double log1p(long double __x) { return __builtin_log1pl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type log1p(_Tp __x) { return __builtin_log1p(__x); } constexpr float log2(float __x) { return __builtin_log2f(__x); } constexpr long double log2(long double __x) { return __builtin_log2l(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type log2(_Tp __x) { return __builtin_log2(__x); } constexpr float logb(float __x) { return __builtin_logbf(__x); } constexpr long double logb(long double __x) { return __builtin_logbl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type logb(_Tp __x) { return __builtin_logb(__x); } constexpr long lrint(float __x) { return __builtin_lrintf(__x); } constexpr long lrint(long double __x) { return __builtin_lrintl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, long>::__type lrint(_Tp __x) { return __builtin_lrint(__x); } constexpr long lround(float __x) { return __builtin_lroundf(__x); } constexpr long lround(long double __x) { return __builtin_lroundl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, long>::__type lround(_Tp __x) { return __builtin_lround(__x); } constexpr float nearbyint(float __x) { return __builtin_nearbyintf(__x); } constexpr long double nearbyint(long double __x) { return __builtin_nearbyintl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type nearbyint(_Tp __x) { return __builtin_nearbyint(__x); } constexpr float nextafter(float __x, float __y) { return __builtin_nextafterf(__x, __y); } constexpr long double nextafter(long double __x, long double __y) { return __builtin_nextafterl(__x, __y); } template constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type nextafter(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return nextafter(__type(__x), __type(__y)); } constexpr float nexttoward(float __x, long double __y) { return __builtin_nexttowardf(__x, __y); } constexpr long double nexttoward(long double __x, long double __y) { return __builtin_nexttowardl(__x, __y); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type nexttoward(_Tp __x, long double __y) { return __builtin_nexttoward(__x, __y); } constexpr float remainder(float __x, float __y) { return __builtin_remainderf(__x, __y); } constexpr long double remainder(long double __x, long double __y) { return __builtin_remainderl(__x, __y); } template constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type remainder(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return remainder(__type(__x), __type(__y)); } inline float remquo(float __x, float __y, int* __pquo) { return __builtin_remquof(__x, __y, __pquo); } inline long double remquo(long double __x, long double __y, int* __pquo) { return __builtin_remquol(__x, __y, __pquo); } template inline typename __gnu_cxx::__promote_2<_Tp, _Up>::__type remquo(_Tp __x, _Up __y, int* __pquo) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return remquo(__type(__x), __type(__y), __pquo); } constexpr float rint(float __x) { return __builtin_rintf(__x); } constexpr long double rint(long double __x) { return __builtin_rintl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type rint(_Tp __x) { return __builtin_rint(__x); } constexpr float round(float __x) { return __builtin_roundf(__x); } constexpr long double round(long double __x) { return __builtin_roundl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type round(_Tp __x) { return __builtin_round(__x); } constexpr float scalbln(float __x, long __ex) { return __builtin_scalblnf(__x, __ex); } constexpr long double scalbln(long double __x, long __ex) { return __builtin_scalblnl(__x, __ex); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type scalbln(_Tp __x, long __ex) { return __builtin_scalbln(__x, __ex); } constexpr float scalbn(float __x, int __ex) { return __builtin_scalbnf(__x, __ex); } constexpr long double scalbn(long double __x, int __ex) { return __builtin_scalbnl(__x, __ex); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type scalbn(_Tp __x, int __ex) { return __builtin_scalbn(__x, __ex); } constexpr float tgamma(float __x) { return __builtin_tgammaf(__x); } constexpr long double tgamma(long double __x) { return __builtin_tgammal(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type tgamma(_Tp __x) { return __builtin_tgamma(__x); } constexpr float trunc(float __x) { return __builtin_truncf(__x); } constexpr long double trunc(long double __x) { return __builtin_truncl(__x); } template constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type trunc(_Tp __x) { return __builtin_trunc(__x); } # 1924 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 3 } } # 51 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 3 # 121 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 3 extern "C++" { namespace std __attribute__ ((__visibility__ ("default"))) { using ::div_t; using ::ldiv_t; using ::abort; using ::atexit; using ::at_quick_exit; using ::atof; using ::atoi; using ::atol; using ::bsearch; using ::calloc; using ::div; using ::exit; using ::free; using ::getenv; using ::labs; using ::ldiv; using ::malloc; using ::mblen; using ::mbstowcs; using ::mbtowc; using ::qsort; using ::quick_exit; using ::rand; using ::realloc; using ::srand; using ::strtod; using ::strtol; using ::strtoul; using ::system; using ::wcstombs; using ::wctomb; inline ldiv_t div(long __i, long __j) { return ldiv(__i, __j); } } # 195 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { using ::lldiv_t; using ::_Exit; using ::llabs; inline lldiv_t div(long long __n, long long __d) { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } using ::lldiv; # 227 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 3 using ::atoll; using ::strtoll; using ::strtoull; using ::strtof; using ::strtold; } namespace std { using ::__gnu_cxx::lldiv_t; using ::__gnu_cxx::_Exit; using ::__gnu_cxx::llabs; using ::__gnu_cxx::div; using ::__gnu_cxx::lldiv; using ::__gnu_cxx::atoll; using ::__gnu_cxx::strtof; using ::__gnu_cxx::strtoll; using ::__gnu_cxx::strtoull; using ::__gnu_cxx::strtold; } } # 52 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/stdlib.h" 1 3 # 36 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/stdlib.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/stdlib.h" 2 3 using std::abort; using std::atexit; using std::exit; using std::at_quick_exit; using std::quick_exit; using std::div_t; using std::ldiv_t; using std::abs; using std::atof; using std::atoi; using std::atol; using std::bsearch; using std::calloc; using std::div; using std::free; using std::getenv; using std::labs; using std::ldiv; using std::malloc; using std::mblen; using std::mbstowcs; using std::mbtowc; using std::qsort; using std::rand; using std::realloc; using std::srand; using std::strtod; using std::strtol; using std::strtoul; using std::system; using std::wcstombs; using std::wctomb; # 53 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 2 3 # 71 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 3 typedef long unsigned int __hip_size_t; extern "C" { # 87 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 3 __attribute__((weak)) inline __attribute__((device)) void *malloc(__hip_size_t __size) { __builtin_trap(); return (void *)0; } __attribute__((weak)) inline __attribute__((device)) void *free(void *__ptr) { __builtin_trap(); return (void *)0; } } # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h" 1 3 # 14 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h" 3 extern "C" { __attribute__((device)) __attribute__((const)) float __ocml_acos_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_acosh_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_asin_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_asinh_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_atan2_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_atan_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_atanh_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_cbrt_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_ceil_f32(float); __attribute__((device)) __attribute__((const)) __attribute__((device)) float __ocml_copysign_f32(float, float); __attribute__((device)) float __ocml_cos_f32(float); __attribute__((device)) float __ocml_native_cos_f32(float); __attribute__((device)) __attribute__((pure)) __attribute__((device)) float __ocml_cosh_f32(float); __attribute__((device)) float __ocml_cospi_f32(float); __attribute__((device)) float __ocml_i0_f32(float); __attribute__((device)) float __ocml_i1_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_erfc_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_erfcinv_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_erfcx_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_erf_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_erfinv_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_exp10_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_native_exp10_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_exp2_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_exp_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_native_exp_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_expm1_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_fabs_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_fdim_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_floor_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_fma_f32(float, float, float); __attribute__((device)) __attribute__((const)) float __ocml_fmax_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_fmin_f32(float, float); __attribute__((device)) __attribute__((const)) __attribute__((device)) float __ocml_fmod_f32(float, float); __attribute__((device)) float __ocml_frexp_f32(float, __attribute__((address_space(5))) int *); __attribute__((device)) __attribute__((const)) float __ocml_hypot_f32(float, float); __attribute__((device)) __attribute__((const)) int __ocml_ilogb_f32(float); __attribute__((device)) __attribute__((const)) int __ocml_isfinite_f32(float); __attribute__((device)) __attribute__((const)) int __ocml_isinf_f32(float); __attribute__((device)) __attribute__((const)) int __ocml_isnan_f32(float); __attribute__((device)) float __ocml_j0_f32(float); __attribute__((device)) float __ocml_j1_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_ldexp_f32(float, int); __attribute__((device)) float __ocml_lgamma_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_log10_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_native_log10_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_log1p_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_log2_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_native_log2_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_logb_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_log_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_native_log_f32(float); __attribute__((device)) float __ocml_modf_f32(float, __attribute__((address_space(5))) float *); __attribute__((device)) __attribute__((const)) float __ocml_nearbyint_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_nextafter_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_len3_f32(float, float, float); __attribute__((device)) __attribute__((const)) float __ocml_len4_f32(float, float, float, float); __attribute__((device)) __attribute__((pure)) float __ocml_ncdf_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_ncdfinv_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_pow_f32(float, float); __attribute__((device)) __attribute__((pure)) float __ocml_pown_f32(float, int); __attribute__((device)) __attribute__((pure)) float __ocml_rcbrt_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_remainder_f32(float, float); __attribute__((device)) float __ocml_remquo_f32(float, float, __attribute__((address_space(5))) int *); __attribute__((device)) __attribute__((const)) float __ocml_rhypot_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_rint_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_rlen3_f32(float, float, float); __attribute__((device)) __attribute__((const)) float __ocml_rlen4_f32(float, float, float, float); __attribute__((device)) __attribute__((const)) float __ocml_round_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_rsqrt_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_scalb_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_scalbn_f32(float, int); __attribute__((device)) __attribute__((const)) int __ocml_signbit_f32(float); __attribute__((device)) float __ocml_sincos_f32(float, __attribute__((address_space(5))) float *); __attribute__((device)) float __ocml_sincospi_f32(float, __attribute__((address_space(5))) float *); __attribute__((device)) float __ocml_sin_f32(float); __attribute__((device)) float __ocml_native_sin_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_sinh_f32(float); __attribute__((device)) float __ocml_sinpi_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_sqrt_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_native_sqrt_f32(float); __attribute__((device)) float __ocml_tan_f32(float); __attribute__((device)) __attribute__((pure)) float __ocml_tanh_f32(float); __attribute__((device)) float __ocml_tgamma_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_trunc_f32(float); __attribute__((device)) float __ocml_y0_f32(float); __attribute__((device)) float __ocml_y1_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_add_rte_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_add_rtn_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_add_rtp_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_add_rtz_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_sub_rte_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_sub_rtn_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_sub_rtp_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_sub_rtz_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_mul_rte_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_mul_rtn_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_mul_rtp_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_mul_rtz_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_div_rte_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_div_rtn_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_div_rtp_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_div_rtz_f32(float, float); __attribute__((device)) __attribute__((const)) float __ocml_sqrt_rte_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_sqrt_rtn_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_sqrt_rtp_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_sqrt_rtz_f32(float); __attribute__((device)) __attribute__((const)) float __ocml_fma_rte_f32(float, float, float); __attribute__((device)) __attribute__((const)) float __ocml_fma_rtn_f32(float, float, float); __attribute__((device)) __attribute__((const)) float __ocml_fma_rtp_f32(float, float, float); __attribute__((device)) __attribute__((const)) float __ocml_fma_rtz_f32(float, float, float); __attribute__((device)) inline __attribute__((const)) float __llvm_amdgcn_cos_f32(float __x) { return __builtin_amdgcn_cosf(__x); } __attribute__((device)) inline __attribute__((const)) float __llvm_amdgcn_rcp_f32(float __x) { return __builtin_amdgcn_rcpf(__x); } __attribute__((device)) inline __attribute__((const)) float __llvm_amdgcn_rsq_f32(float __x) { return __builtin_amdgcn_rsqf(__x); } __attribute__((device)) inline __attribute__((const)) float __llvm_amdgcn_sin_f32(float __x) { return __builtin_amdgcn_sinf(__x); } __attribute__((device)) __attribute__((const)) double __ocml_acos_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_acosh_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_asin_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_asinh_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_atan2_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_atan_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_atanh_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_cbrt_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_ceil_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_copysign_f64(double, double); __attribute__((device)) double __ocml_cos_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_cosh_f64(double); __attribute__((device)) double __ocml_cospi_f64(double); __attribute__((device)) double __ocml_i0_f64(double); __attribute__((device)) double __ocml_i1_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_erfc_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_erfcinv_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_erfcx_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_erf_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_erfinv_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_exp10_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_exp2_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_exp_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_expm1_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_fabs_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_fdim_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_floor_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_fma_f64(double, double, double); __attribute__((device)) __attribute__((const)) double __ocml_fmax_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_fmin_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_fmod_f64(double, double); __attribute__((device)) double __ocml_frexp_f64(double, __attribute__((address_space(5))) int *); __attribute__((device)) __attribute__((const)) double __ocml_hypot_f64(double, double); __attribute__((device)) __attribute__((const)) int __ocml_ilogb_f64(double); __attribute__((device)) __attribute__((const)) int __ocml_isfinite_f64(double); __attribute__((device)) __attribute__((const)) int __ocml_isinf_f64(double); __attribute__((device)) __attribute__((const)) int __ocml_isnan_f64(double); __attribute__((device)) double __ocml_j0_f64(double); __attribute__((device)) double __ocml_j1_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_ldexp_f64(double, int); __attribute__((device)) double __ocml_lgamma_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_log10_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_log1p_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_log2_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_logb_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_log_f64(double); __attribute__((device)) double __ocml_modf_f64(double, __attribute__((address_space(5))) double *); __attribute__((device)) __attribute__((const)) double __ocml_nearbyint_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_nextafter_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_len3_f64(double, double, double); __attribute__((device)) __attribute__((const)) double __ocml_len4_f64(double, double, double, double); __attribute__((device)) __attribute__((pure)) double __ocml_ncdf_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_ncdfinv_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_pow_f64(double, double); __attribute__((device)) __attribute__((pure)) double __ocml_pown_f64(double, int); __attribute__((device)) __attribute__((pure)) double __ocml_rcbrt_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_remainder_f64(double, double); __attribute__((device)) double __ocml_remquo_f64(double, double, __attribute__((address_space(5))) int *); __attribute__((device)) __attribute__((const)) double __ocml_rhypot_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_rint_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_rlen3_f64(double, double, double); __attribute__((device)) __attribute__((const)) double __ocml_rlen4_f64(double, double, double, double); __attribute__((device)) __attribute__((const)) double __ocml_round_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_rsqrt_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_scalb_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_scalbn_f64(double, int); __attribute__((device)) __attribute__((const)) int __ocml_signbit_f64(double); __attribute__((device)) double __ocml_sincos_f64(double, __attribute__((address_space(5))) double *); __attribute__((device)) double __ocml_sincospi_f64(double, __attribute__((address_space(5))) double *); __attribute__((device)) double __ocml_sin_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_sinh_f64(double); __attribute__((device)) double __ocml_sinpi_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_sqrt_f64(double); __attribute__((device)) double __ocml_tan_f64(double); __attribute__((device)) __attribute__((pure)) double __ocml_tanh_f64(double); __attribute__((device)) double __ocml_tgamma_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_trunc_f64(double); __attribute__((device)) double __ocml_y0_f64(double); __attribute__((device)) double __ocml_y1_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_add_rte_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_add_rtn_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_add_rtp_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_add_rtz_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_sub_rte_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_sub_rtn_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_sub_rtp_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_sub_rtz_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_mul_rte_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_mul_rtn_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_mul_rtp_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_mul_rtz_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_div_rte_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_div_rtn_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_div_rtp_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_div_rtz_f64(double, double); __attribute__((device)) __attribute__((const)) double __ocml_sqrt_rte_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_sqrt_rtn_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_sqrt_rtp_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_sqrt_rtz_f64(double); __attribute__((device)) __attribute__((const)) double __ocml_fma_rte_f64(double, double, double); __attribute__((device)) __attribute__((const)) double __ocml_fma_rtn_f64(double, double, double); __attribute__((device)) __attribute__((const)) double __ocml_fma_rtp_f64(double, double, double); __attribute__((device)) __attribute__((const)) double __ocml_fma_rtz_f64(double, double, double); __attribute__((device)) inline __attribute__((const)) double __llvm_amdgcn_rcp_f64(double __x) { return __builtin_amdgcn_rcp(__x); } __attribute__((device)) inline __attribute__((const)) double __llvm_amdgcn_rsq_f64(double __x) { return __builtin_amdgcn_rsq(__x); } __attribute__((device)) __attribute__((const)) _Float16 __ocml_ceil_f16(_Float16); __attribute__((device)) _Float16 __ocml_cos_f16(_Float16); __attribute__((device)) __attribute__((pure)) _Float16 __ocml_exp_f16(_Float16); __attribute__((device)) __attribute__((pure)) _Float16 __ocml_exp10_f16(_Float16); __attribute__((device)) __attribute__((pure)) _Float16 __ocml_exp2_f16(_Float16); __attribute__((device)) __attribute__((const)) _Float16 __ocml_floor_f16(_Float16); __attribute__((device)) __attribute__((const)) _Float16 __ocml_fma_f16(_Float16, _Float16, _Float16); __attribute__((device)) __attribute__((const)) _Float16 __ocml_fabs_f16(_Float16); __attribute__((device)) __attribute__((const)) int __ocml_isinf_f16(_Float16); __attribute__((device)) __attribute__((const)) int __ocml_isnan_f16(_Float16); __attribute__((device)) __attribute__((pure)) _Float16 __ocml_log_f16(_Float16); __attribute__((device)) __attribute__((pure)) _Float16 __ocml_log10_f16(_Float16); __attribute__((device)) __attribute__((pure)) _Float16 __ocml_log2_f16(_Float16); __attribute__((device)) __attribute__((const)) _Float16 __llvm_amdgcn_rcp_f16(_Float16); __attribute__((device)) __attribute__((const)) _Float16 __ocml_rint_f16(_Float16); __attribute__((device)) __attribute__((const)) _Float16 __ocml_rsqrt_f16(_Float16); __attribute__((device)) _Float16 __ocml_sin_f16(_Float16); __attribute__((device)) __attribute__((const)) _Float16 __ocml_sqrt_f16(_Float16); __attribute__((device)) __attribute__((const)) _Float16 __ocml_trunc_f16(_Float16); __attribute__((device)) __attribute__((pure)) _Float16 __ocml_pown_f16(_Float16, int); typedef _Float16 __2f16 __attribute__((ext_vector_type(2))); typedef short __2i16 __attribute__((ext_vector_type(2))); __attribute__((device)) __attribute__((const)) float __ockl_fdot2(__2f16 a, __2f16 b, float c, bool s); __attribute__((device)) __attribute__((const)) __2f16 __ocml_ceil_2f16(__2f16); __attribute__((device)) __attribute__((const)) __2f16 __ocml_fabs_2f16(__2f16); __attribute__((device)) __2f16 __ocml_cos_2f16(__2f16); __attribute__((device)) __attribute__((pure)) __2f16 __ocml_exp_2f16(__2f16); __attribute__((device)) __attribute__((pure)) __2f16 __ocml_exp10_2f16(__2f16); __attribute__((device)) __attribute__((pure)) __2f16 __ocml_exp2_2f16(__2f16); __attribute__((device)) __attribute__((const)) __2f16 __ocml_floor_2f16(__2f16); __attribute__((device)) __attribute__((const)) __2f16 __ocml_fma_2f16(__2f16, __2f16, __2f16); __attribute__((device)) __attribute__((const)) __2i16 __ocml_isinf_2f16(__2f16); __attribute__((device)) __attribute__((const)) __2i16 __ocml_isnan_2f16(__2f16); __attribute__((device)) __attribute__((pure)) __2f16 __ocml_log_2f16(__2f16); __attribute__((device)) __attribute__((pure)) __2f16 __ocml_log10_2f16(__2f16); __attribute__((device)) __attribute__((pure)) __2f16 __ocml_log2_2f16(__2f16); __attribute__((device)) inline __2f16 __llvm_amdgcn_rcp_2f16(__2f16 __x) { return (__2f16)(__llvm_amdgcn_rcp_f16(__x.x), __llvm_amdgcn_rcp_f16(__x.y)); } __attribute__((device)) __attribute__((const)) __2f16 __ocml_rint_2f16(__2f16); __attribute__((device)) __attribute__((const)) __2f16 __ocml_rsqrt_2f16(__2f16); __attribute__((device)) __2f16 __ocml_sin_2f16(__2f16); __attribute__((device)) __attribute__((const)) __2f16 __ocml_sqrt_2f16(__2f16); __attribute__((device)) __attribute__((const)) __2f16 __ocml_trunc_2f16(__2f16); __attribute__((device)) __attribute__((const)) __2f16 __ocml_pown_2f16(__2f16, __2i16); } # 102 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 2 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 1 3 # 18 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm" 1 3 # 55 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/algorithm" 1 3 # 59 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/algorithm" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 1 3 # 59 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 3 # 69 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_relops.h" 1 3 # 67 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_relops.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { namespace rel_ops { # 85 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_relops.h" 3 template inline bool operator!=(const _Tp& __x, const _Tp& __y) { return !(__x == __y); } # 98 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_relops.h" 3 template inline bool operator>(const _Tp& __x, const _Tp& __y) { return __y < __x; } # 111 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_relops.h" 3 template inline bool operator<=(const _Tp& __x, const _Tp& __y) { return !(__y < __x); } # 124 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_relops.h" 3 template inline bool operator>=(const _Tp& __x, const _Tp& __y) { return !(__x < __y); } } } # 70 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 1 3 # 59 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/move.h" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/move.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template inline constexpr _Tp* __addressof(_Tp& __r) noexcept { return __builtin_addressof(__r); } } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 56 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct integral_constant { static constexpr _Tp value = __v; typedef _Tp value_type; typedef integral_constant<_Tp, __v> type; constexpr operator value_type() const noexcept { return value; } }; template constexpr _Tp integral_constant<_Tp, __v>::value; typedef integral_constant true_type; typedef integral_constant false_type; template using __bool_constant = integral_constant; # 91 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct conditional; template struct __type_identity { using type = _Type; }; template using __type_identity_t = typename __type_identity<_Tp>::type; template struct __or_; template<> struct __or_<> : public false_type { }; template struct __or_<_B1> : public _B1 { }; template struct __or_<_B1, _B2> : public conditional<_B1::value, _B1, _B2>::type { }; template struct __or_<_B1, _B2, _B3, _Bn...> : public conditional<_B1::value, _B1, __or_<_B2, _B3, _Bn...>>::type { }; template struct __and_; template<> struct __and_<> : public true_type { }; template struct __and_<_B1> : public _B1 { }; template struct __and_<_B1, _B2> : public conditional<_B1::value, _B2, _B1>::type { }; template struct __and_<_B1, _B2, _B3, _Bn...> : public conditional<_B1::value, __and_<_B2, _B3, _Bn...>, _B1>::type { }; template struct __not_ : public __bool_constant { }; # 188 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct is_reference; template struct is_function; template struct is_void; template struct __is_array_unknown_bounds; template constexpr true_type __is_complete_or_unbounded(__type_identity<_Tp>) { return {}; } template constexpr typename __or_< is_reference<_NestedType>, is_function<_NestedType>, is_void<_NestedType>, __is_array_unknown_bounds<_NestedType> >::type __is_complete_or_unbounded(_TypeIdentity) { return {}; } template struct __success_type { typedef _Tp type; }; struct __failure_type { }; template struct remove_cv; template using __remove_cv_t = typename remove_cv<_Tp>::type; template struct is_const; template struct __is_void_helper : public false_type { }; template<> struct __is_void_helper : public true_type { }; template struct is_void : public __is_void_helper<__remove_cv_t<_Tp>>::type { }; template struct __is_integral_helper : public false_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; # 284 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; # 364 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct is_integral : public __is_integral_helper<__remove_cv_t<_Tp>>::type { }; template struct __is_floating_point_helper : public false_type { }; template<> struct __is_floating_point_helper : public true_type { }; template<> struct __is_floating_point_helper : public true_type { }; template<> struct __is_floating_point_helper : public true_type { }; # 392 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct is_floating_point : public __is_floating_point_helper<__remove_cv_t<_Tp>>::type { }; template struct is_array : public false_type { }; template struct is_array<_Tp[_Size]> : public true_type { }; template struct is_array<_Tp[]> : public true_type { }; template struct __is_pointer_helper : public false_type { }; template struct __is_pointer_helper<_Tp*> : public true_type { }; template struct is_pointer : public __is_pointer_helper<__remove_cv_t<_Tp>>::type { }; template struct is_lvalue_reference : public false_type { }; template struct is_lvalue_reference<_Tp&> : public true_type { }; template struct is_rvalue_reference : public false_type { }; template struct is_rvalue_reference<_Tp&&> : public true_type { }; template struct __is_member_object_pointer_helper : public false_type { }; template struct __is_member_object_pointer_helper<_Tp _Cp::*> : public __not_>::type { }; template struct is_member_object_pointer : public __is_member_object_pointer_helper<__remove_cv_t<_Tp>>::type { }; template struct __is_member_function_pointer_helper : public false_type { }; template struct __is_member_function_pointer_helper<_Tp _Cp::*> : public is_function<_Tp>::type { }; template struct is_member_function_pointer : public __is_member_function_pointer_helper<__remove_cv_t<_Tp>>::type { }; template struct is_enum : public integral_constant { }; template struct is_union : public integral_constant { }; template struct is_class : public integral_constant { }; template struct is_function : public __bool_constant::value> { }; template struct is_function<_Tp&> : public false_type { }; template struct is_function<_Tp&&> : public false_type { }; template struct __is_null_pointer_helper : public false_type { }; template<> struct __is_null_pointer_helper : public true_type { }; template struct is_null_pointer : public __is_null_pointer_helper<__remove_cv_t<_Tp>>::type { }; template struct __is_nullptr_t : public is_null_pointer<_Tp> { } __attribute__ ((__deprecated__ ("use '" "std::is_null_pointer" "' instead"))); template struct is_reference : public __or_, is_rvalue_reference<_Tp>>::type { }; template struct is_arithmetic : public __or_, is_floating_point<_Tp>>::type { }; template struct is_fundamental : public __or_, is_void<_Tp>, is_null_pointer<_Tp>>::type { }; template struct is_object : public __not_<__or_, is_reference<_Tp>, is_void<_Tp>>>::type { }; template struct is_member_pointer; template struct is_scalar : public __or_, is_enum<_Tp>, is_pointer<_Tp>, is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type { }; template struct is_compound : public __not_>::type { }; template struct __is_member_pointer_helper : public false_type { }; template struct __is_member_pointer_helper<_Tp _Cp::*> : public true_type { }; template struct is_member_pointer : public __is_member_pointer_helper<__remove_cv_t<_Tp>>::type { }; template struct is_same; template using __is_one_of = __or_...>; template using __is_signed_integer = __is_one_of<__remove_cv_t<_Tp>, signed char, signed short, signed int, signed long, signed long long # 604 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 >; template using __is_unsigned_integer = __is_one_of<__remove_cv_t<_Tp>, unsigned char, unsigned short, unsigned int, unsigned long, unsigned long long # 623 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 >; template using __is_standard_integer = __or_<__is_signed_integer<_Tp>, __is_unsigned_integer<_Tp>>; template using __void_t = void; template struct __is_referenceable : public false_type { }; template struct __is_referenceable<_Tp, __void_t<_Tp&>> : public true_type { }; template struct is_const : public false_type { }; template struct is_const<_Tp const> : public true_type { }; template struct is_volatile : public false_type { }; template struct is_volatile<_Tp volatile> : public true_type { }; template struct is_trivial : public integral_constant { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_trivially_copyable : public integral_constant { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_standard_layout : public integral_constant { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_pod : public integral_constant { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_literal_type : public integral_constant { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_empty : public integral_constant { }; template struct is_polymorphic : public integral_constant { }; # 735 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct is_abstract : public integral_constant { }; template::value> struct __is_signed_helper : public false_type { }; template struct __is_signed_helper<_Tp, true> : public integral_constant { }; template struct is_signed : public __is_signed_helper<_Tp>::type { }; template struct is_unsigned : public __and_, __not_>> { }; # 770 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template _Up __declval(int); template _Tp __declval(long); template auto declval() noexcept -> decltype(__declval<_Tp>(0)); template struct extent; template struct remove_all_extents; template struct __is_array_known_bounds : public integral_constant::value > 0)> { }; template struct __is_array_unknown_bounds : public __and_, __not_>> { }; struct __do_is_destructible_impl { template().~_Tp())> static true_type __test(int); template static false_type __test(...); }; template struct __is_destructible_impl : public __do_is_destructible_impl { typedef decltype(__test<_Tp>(0)) type; }; template, __is_array_unknown_bounds<_Tp>, is_function<_Tp>>::value, bool = __or_, is_scalar<_Tp>>::value> struct __is_destructible_safe; template struct __is_destructible_safe<_Tp, false, false> : public __is_destructible_impl::type>::type { }; template struct __is_destructible_safe<_Tp, true, false> : public false_type { }; template struct __is_destructible_safe<_Tp, false, true> : public true_type { }; template struct is_destructible : public __is_destructible_safe<_Tp>::type { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; struct __do_is_nt_destructible_impl { template static __bool_constant().~_Tp())> __test(int); template static false_type __test(...); }; template struct __is_nt_destructible_impl : public __do_is_nt_destructible_impl { typedef decltype(__test<_Tp>(0)) type; }; template, __is_array_unknown_bounds<_Tp>, is_function<_Tp>>::value, bool = __or_, is_scalar<_Tp>>::value> struct __is_nt_destructible_safe; template struct __is_nt_destructible_safe<_Tp, false, false> : public __is_nt_destructible_impl::type>::type { }; template struct __is_nt_destructible_safe<_Tp, true, false> : public false_type { }; template struct __is_nt_destructible_safe<_Tp, false, true> : public true_type { }; template struct is_nothrow_destructible : public __is_nt_destructible_safe<_Tp>::type { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct __is_constructible_impl : public __bool_constant<__is_constructible(_Tp, _Args...)> { }; template struct is_constructible : public __is_constructible_impl<_Tp, _Args...> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_default_constructible : public __is_constructible_impl<_Tp>::type { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_copy_constructible_impl; template struct __is_copy_constructible_impl<_Tp, false> : public false_type { }; template struct __is_copy_constructible_impl<_Tp, true> : public __is_constructible_impl<_Tp, const _Tp&> { }; template struct is_copy_constructible : public __is_copy_constructible_impl<_Tp> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_move_constructible_impl; template struct __is_move_constructible_impl<_Tp, false> : public false_type { }; template struct __is_move_constructible_impl<_Tp, true> : public __is_constructible_impl<_Tp, _Tp&&> { }; template struct is_move_constructible : public __is_move_constructible_impl<_Tp> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct __is_nt_constructible_impl : public false_type { }; template struct __is_nt_constructible_impl : public __bool_constant()...))> { }; template struct __is_nt_constructible_impl : public __bool_constant(std::declval<_Arg>()))> { }; template struct __is_nt_constructible_impl : public __bool_constant { }; template struct __is_nt_constructible_impl : public __bool_constant::type())> { }; # 1001 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template using __is_nothrow_constructible_impl = __is_nt_constructible_impl<__is_constructible(_Tp, _Args...), _Tp, _Args...>; template struct is_nothrow_constructible : public __is_nothrow_constructible_impl<_Tp, _Args...>::type { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_nothrow_default_constructible : public __is_nothrow_constructible_impl<_Tp>::type { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_nothrow_copy_constructible_impl; template struct __is_nothrow_copy_constructible_impl<_Tp, false> : public false_type { }; template struct __is_nothrow_copy_constructible_impl<_Tp, true> : public __is_nothrow_constructible_impl<_Tp, const _Tp&> { }; template struct is_nothrow_copy_constructible : public __is_nothrow_copy_constructible_impl<_Tp>::type { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_nothrow_move_constructible_impl; template struct __is_nothrow_move_constructible_impl<_Tp, false> : public false_type { }; template struct __is_nothrow_move_constructible_impl<_Tp, true> : public __is_nothrow_constructible_impl<_Tp, _Tp&&> { }; template struct is_nothrow_move_constructible : public __is_nothrow_move_constructible_impl<_Tp>::type { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_assignable : public __bool_constant<__is_assignable(_Tp, _Up)> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_copy_assignable_impl; template struct __is_copy_assignable_impl<_Tp, false> : public false_type { }; template struct __is_copy_assignable_impl<_Tp, true> : public __bool_constant<__is_assignable(_Tp&, const _Tp&)> { }; template struct is_copy_assignable : public __is_copy_assignable_impl<_Tp>::type { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_move_assignable_impl; template struct __is_move_assignable_impl<_Tp, false> : public false_type { }; template struct __is_move_assignable_impl<_Tp, true> : public __bool_constant<__is_assignable(_Tp&, _Tp&&)> { }; template struct is_move_assignable : public __is_move_assignable_impl<_Tp>::type { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct __is_nt_assignable_impl : public integral_constant() = declval<_Up>())> { }; template struct __is_nothrow_assignable_impl : public __and_<__bool_constant<__is_assignable(_Tp, _Up)>, __is_nt_assignable_impl<_Tp, _Up>> { }; template struct is_nothrow_assignable : public __is_nothrow_assignable_impl<_Tp, _Up> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_nt_copy_assignable_impl; template struct __is_nt_copy_assignable_impl<_Tp, false> : public false_type { }; template struct __is_nt_copy_assignable_impl<_Tp, true> : public __is_nothrow_assignable_impl<_Tp&, const _Tp&> { }; template struct is_nothrow_copy_assignable : public __is_nt_copy_assignable_impl<_Tp> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_nt_move_assignable_impl; template struct __is_nt_move_assignable_impl<_Tp, false> : public false_type { }; template struct __is_nt_move_assignable_impl<_Tp, true> : public __is_nothrow_assignable_impl<_Tp&, _Tp&&> { }; template struct is_nothrow_move_assignable : public __is_nt_move_assignable_impl<_Tp> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_trivially_constructible : public __bool_constant<__is_trivially_constructible(_Tp, _Args...)> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_trivially_default_constructible : public __bool_constant<__is_trivially_constructible(_Tp)> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; struct __do_is_implicitly_default_constructible_impl { template static void __helper(const _Tp&); template static true_type __test(const _Tp&, decltype(__helper({}))* = 0); static false_type __test(...); }; template struct __is_implicitly_default_constructible_impl : public __do_is_implicitly_default_constructible_impl { typedef decltype(__test(declval<_Tp>())) type; }; template struct __is_implicitly_default_constructible_safe : public __is_implicitly_default_constructible_impl<_Tp>::type { }; template struct __is_implicitly_default_constructible : public __and_<__is_constructible_impl<_Tp>, __is_implicitly_default_constructible_safe<_Tp>> { }; template::value> struct __is_trivially_copy_constructible_impl; template struct __is_trivially_copy_constructible_impl<_Tp, false> : public false_type { }; template struct __is_trivially_copy_constructible_impl<_Tp, true> : public __and_<__is_copy_constructible_impl<_Tp>, integral_constant> { }; template struct is_trivially_copy_constructible : public __is_trivially_copy_constructible_impl<_Tp> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_trivially_move_constructible_impl; template struct __is_trivially_move_constructible_impl<_Tp, false> : public false_type { }; template struct __is_trivially_move_constructible_impl<_Tp, true> : public __and_<__is_move_constructible_impl<_Tp>, integral_constant> { }; template struct is_trivially_move_constructible : public __is_trivially_move_constructible_impl<_Tp> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_trivially_assignable : public __bool_constant<__is_trivially_assignable(_Tp, _Up)> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_trivially_copy_assignable_impl; template struct __is_trivially_copy_assignable_impl<_Tp, false> : public false_type { }; template struct __is_trivially_copy_assignable_impl<_Tp, true> : public __bool_constant<__is_trivially_assignable(_Tp&, const _Tp&)> { }; template struct is_trivially_copy_assignable : public __is_trivially_copy_assignable_impl<_Tp> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template::value> struct __is_trivially_move_assignable_impl; template struct __is_trivially_move_assignable_impl<_Tp, false> : public false_type { }; template struct __is_trivially_move_assignable_impl<_Tp, true> : public __bool_constant<__is_trivially_assignable(_Tp&, _Tp&&)> { }; template struct is_trivially_move_assignable : public __is_trivially_move_assignable_impl<_Tp> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct is_trivially_destructible : public __and_<__is_destructible_safe<_Tp>, __bool_constant<__has_trivial_destructor(_Tp)>> { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct has_virtual_destructor : public integral_constant { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct alignment_of : public integral_constant { static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), "template argument must be a complete class or an unbounded array"); }; template struct rank : public integral_constant { }; template struct rank<_Tp[_Size]> : public integral_constant::value> { }; template struct rank<_Tp[]> : public integral_constant::value> { }; template struct extent : public integral_constant { }; template struct extent<_Tp[_Size], _Uint> : public integral_constant::value> { }; template struct extent<_Tp[], _Uint> : public integral_constant::value> { }; template struct is_same : public integral_constant { }; # 1410 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct is_base_of : public integral_constant { }; template, is_function<_To>, is_array<_To>>::value> struct __is_convertible_helper { typedef typename is_void<_To>::type type; }; #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wctor-dtor-privacy" template class __is_convertible_helper<_From, _To, false> { template static void __test_aux(_To1) noexcept; template(std::declval<_From1>()))> static true_type __test(int); template static false_type __test(...); public: typedef decltype(__test<_From, _To>(0)) type; }; #pragma GCC diagnostic pop template struct is_convertible : public __is_convertible_helper<_From, _To>::type { }; template using __is_array_convertible = is_convertible<_FromElementType(*)[], _ToElementType(*)[]>; template, is_function<_To>, is_array<_To>>::value> struct __is_nt_convertible_helper : is_void<_To> { }; #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wctor-dtor-privacy" template class __is_nt_convertible_helper<_From, _To, false> { template static void __test_aux(_To1) noexcept; template static __bool_constant(std::declval<_From1>()))> __test(int); template static false_type __test(...); public: using type = decltype(__test<_From, _To>(0)); }; #pragma GCC diagnostic pop template struct __is_nothrow_convertible : public __is_nt_convertible_helper<_From, _To>::type { }; # 1508 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct remove_const { typedef _Tp type; }; template struct remove_const<_Tp const> { typedef _Tp type; }; template struct remove_volatile { typedef _Tp type; }; template struct remove_volatile<_Tp volatile> { typedef _Tp type; }; template struct remove_cv { using type = _Tp; }; template struct remove_cv { using type = _Tp; }; template struct remove_cv { using type = _Tp; }; template struct remove_cv { using type = _Tp; }; template struct add_const { typedef _Tp const type; }; template struct add_volatile { typedef _Tp volatile type; }; template struct add_cv { typedef typename add_const::type>::type type; }; # 1592 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct remove_reference { typedef _Tp type; }; template struct remove_reference<_Tp&> { typedef _Tp type; }; template struct remove_reference<_Tp&&> { typedef _Tp type; }; template::value> struct __add_lvalue_reference_helper { typedef _Tp type; }; template struct __add_lvalue_reference_helper<_Tp, true> { typedef _Tp& type; }; template struct add_lvalue_reference : public __add_lvalue_reference_helper<_Tp> { }; template::value> struct __add_rvalue_reference_helper { typedef _Tp type; }; template struct __add_rvalue_reference_helper<_Tp, true> { typedef _Tp&& type; }; template struct add_rvalue_reference : public __add_rvalue_reference_helper<_Tp> { }; # 1649 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct __cv_selector; template struct __cv_selector<_Unqualified, false, false> { typedef _Unqualified __type; }; template struct __cv_selector<_Unqualified, false, true> { typedef volatile _Unqualified __type; }; template struct __cv_selector<_Unqualified, true, false> { typedef const _Unqualified __type; }; template struct __cv_selector<_Unqualified, true, true> { typedef const volatile _Unqualified __type; }; template::value, bool _IsVol = is_volatile<_Qualified>::value> class __match_cv_qualifiers { typedef __cv_selector<_Unqualified, _IsConst, _IsVol> __match; public: typedef typename __match::__type __type; }; template struct __make_unsigned { typedef _Tp __type; }; template<> struct __make_unsigned { typedef unsigned char __type; }; template<> struct __make_unsigned { typedef unsigned char __type; }; template<> struct __make_unsigned { typedef unsigned short __type; }; template<> struct __make_unsigned { typedef unsigned int __type; }; template<> struct __make_unsigned { typedef unsigned long __type; }; template<> struct __make_unsigned { typedef unsigned long long __type; }; # 1730 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template::value, bool _IsEnum = is_enum<_Tp>::value> class __make_unsigned_selector; template class __make_unsigned_selector<_Tp, true, false> { using __unsigned_type = typename __make_unsigned<__remove_cv_t<_Tp>>::__type; public: using __type = typename __match_cv_qualifiers<_Tp, __unsigned_type>::__type; }; class __make_unsigned_selector_base { protected: template struct _List { }; template struct _List<_Tp, _Up...> : _List<_Up...> { static constexpr size_t __size = sizeof(_Tp); }; template struct __select; template struct __select<_Sz, _List<_Uint, _UInts...>, true> { using __type = _Uint; }; template struct __select<_Sz, _List<_Uint, _UInts...>, false> : __select<_Sz, _List<_UInts...>> { }; }; template class __make_unsigned_selector<_Tp, false, true> : __make_unsigned_selector_base { using _UInts = _List; using __unsigned_type = typename __select::__type; public: using __type = typename __match_cv_qualifiers<_Tp, __unsigned_type>::__type; }; template<> struct __make_unsigned { using __type = typename __make_unsigned_selector::__type; }; # 1806 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template<> struct __make_unsigned { using __type = typename __make_unsigned_selector::__type; }; template<> struct __make_unsigned { using __type = typename __make_unsigned_selector::__type; }; template struct make_unsigned { typedef typename __make_unsigned_selector<_Tp>::__type type; }; template<> struct make_unsigned; template struct __make_signed { typedef _Tp __type; }; template<> struct __make_signed { typedef signed char __type; }; template<> struct __make_signed { typedef signed char __type; }; template<> struct __make_signed { typedef signed short __type; }; template<> struct __make_signed { typedef signed int __type; }; template<> struct __make_signed { typedef signed long __type; }; template<> struct __make_signed { typedef signed long long __type; }; # 1884 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template::value, bool _IsEnum = is_enum<_Tp>::value> class __make_signed_selector; template class __make_signed_selector<_Tp, true, false> { using __signed_type = typename __make_signed<__remove_cv_t<_Tp>>::__type; public: using __type = typename __match_cv_qualifiers<_Tp, __signed_type>::__type; }; template class __make_signed_selector<_Tp, false, true> { typedef typename __make_unsigned_selector<_Tp>::__type __unsigned_type; public: typedef typename __make_signed_selector<__unsigned_type>::__type __type; }; template<> struct __make_signed { using __type = typename __make_signed_selector::__type; }; # 1932 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template<> struct __make_signed { using __type = typename __make_signed_selector::__type; }; template<> struct __make_signed { using __type = typename __make_signed_selector::__type; }; template struct make_signed { typedef typename __make_signed_selector<_Tp>::__type type; }; template<> struct make_signed; # 1971 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct remove_extent { typedef _Tp type; }; template struct remove_extent<_Tp[_Size]> { typedef _Tp type; }; template struct remove_extent<_Tp[]> { typedef _Tp type; }; template struct remove_all_extents { typedef _Tp type; }; template struct remove_all_extents<_Tp[_Size]> { typedef typename remove_all_extents<_Tp>::type type; }; template struct remove_all_extents<_Tp[]> { typedef typename remove_all_extents<_Tp>::type type; }; # 2008 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct __remove_pointer_helper { typedef _Tp type; }; template struct __remove_pointer_helper<_Tp, _Up*> { typedef _Up type; }; template struct remove_pointer : public __remove_pointer_helper<_Tp, __remove_cv_t<_Tp>> { }; template, is_void<_Tp>>::value> struct __add_pointer_helper { typedef _Tp type; }; template struct __add_pointer_helper<_Tp, true> { typedef typename remove_reference<_Tp>::type* type; }; template struct add_pointer : public __add_pointer_helper<_Tp> { }; # 2047 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct __aligned_storage_msa { union __type { unsigned char __data[_Len]; struct __attribute__((__aligned__)) { } __align; }; }; # 2067 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template::__type)> struct aligned_storage { union type { unsigned char __data[_Len]; struct __attribute__((__aligned__((_Align)))) { } __align; }; }; template struct __strictest_alignment { static const size_t _S_alignment = 0; static const size_t _S_size = 0; }; template struct __strictest_alignment<_Tp, _Types...> { static const size_t _S_alignment = alignof(_Tp) > __strictest_alignment<_Types...>::_S_alignment ? alignof(_Tp) : __strictest_alignment<_Types...>::_S_alignment; static const size_t _S_size = sizeof(_Tp) > __strictest_alignment<_Types...>::_S_size ? sizeof(_Tp) : __strictest_alignment<_Types...>::_S_size; }; # 2106 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct aligned_union { private: static_assert(sizeof...(_Types) != 0, "At least one type is required"); using __strictest = __strictest_alignment<_Types...>; static const size_t _S_len = _Len > __strictest::_S_size ? _Len : __strictest::_S_size; public: static const size_t alignment_value = __strictest::_S_alignment; typedef typename aligned_storage<_S_len, alignment_value>::type type; }; template const size_t aligned_union<_Len, _Types...>::alignment_value; template::value, bool _IsFunction = is_function<_Up>::value> struct __decay_selector; template struct __decay_selector<_Up, false, false> { typedef __remove_cv_t<_Up> __type; }; template struct __decay_selector<_Up, true, false> { typedef typename remove_extent<_Up>::type* __type; }; template struct __decay_selector<_Up, false, true> { typedef typename add_pointer<_Up>::type __type; }; template class decay { typedef typename remove_reference<_Tp>::type __remove_type; public: typedef typename __decay_selector<__remove_type>::__type type; }; template using __decay_t = typename decay<_Tp>::type; template class reference_wrapper; template struct __strip_reference_wrapper { typedef _Tp __type; }; template struct __strip_reference_wrapper > { typedef _Tp& __type; }; template using __decay_and_strip = __strip_reference_wrapper<__decay_t<_Tp>>; template struct enable_if { }; template struct enable_if { typedef _Tp type; }; template using __enable_if_t = typename enable_if<_Cond, _Tp>::type; template using _Require = __enable_if_t<__and_<_Cond...>::value>; template struct conditional { typedef _Iftrue type; }; template struct conditional { typedef _Iffalse type; }; template using __remove_cvref_t = typename remove_cv::type>::type; template struct common_type; struct __do_common_type_impl { template using __cond_t = decltype(true ? std::declval<_Tp>() : std::declval<_Up>()); template static __success_type<__decay_t<__cond_t<_Tp, _Up>>> _S_test(int); # 2239 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template static __failure_type _S_test_2(...); template static decltype(_S_test_2<_Tp, _Up>(0)) _S_test(...); }; template<> struct common_type<> { }; template struct common_type<_Tp0> : public common_type<_Tp0, _Tp0> { }; template, typename _Dp2 = __decay_t<_Tp2>> struct __common_type_impl { using type = common_type<_Dp1, _Dp2>; }; template struct __common_type_impl<_Tp1, _Tp2, _Tp1, _Tp2> : private __do_common_type_impl { using type = decltype(_S_test<_Tp1, _Tp2>(0)); }; template struct common_type<_Tp1, _Tp2> : public __common_type_impl<_Tp1, _Tp2>::type { }; template struct __common_type_pack { }; template struct __common_type_fold; template struct common_type<_Tp1, _Tp2, _Rp...> : public __common_type_fold, __common_type_pack<_Rp...>> { }; template struct __common_type_fold<_CTp, __common_type_pack<_Rp...>, __void_t> : public common_type { }; template struct __common_type_fold<_CTp, _Rp, void> { }; template::value> struct __underlying_type_impl { using type = __underlying_type(_Tp); }; template struct __underlying_type_impl<_Tp, false> { }; template struct underlying_type : public __underlying_type_impl<_Tp> { }; template struct __declval_protector { static const bool __stop = false; }; template auto declval() noexcept -> decltype(__declval<_Tp>(0)) { static_assert(__declval_protector<_Tp>::__stop, "declval() must not be used!"); return __declval<_Tp>(0); } template class result_of; struct __invoke_memfun_ref { }; struct __invoke_memfun_deref { }; struct __invoke_memobj_ref { }; struct __invoke_memobj_deref { }; struct __invoke_other { }; template struct __result_of_success : __success_type<_Tp> { using __invoke_type = _Tag; }; struct __result_of_memfun_ref_impl { template static __result_of_success().*std::declval<_Fp>())(std::declval<_Args>()...) ), __invoke_memfun_ref> _S_test(int); template static __failure_type _S_test(...); }; template struct __result_of_memfun_ref : private __result_of_memfun_ref_impl { typedef decltype(_S_test<_MemPtr, _Arg, _Args...>(0)) type; }; struct __result_of_memfun_deref_impl { template static __result_of_success()).*std::declval<_Fp>())(std::declval<_Args>()...) ), __invoke_memfun_deref> _S_test(int); template static __failure_type _S_test(...); }; template struct __result_of_memfun_deref : private __result_of_memfun_deref_impl { typedef decltype(_S_test<_MemPtr, _Arg, _Args...>(0)) type; }; struct __result_of_memobj_ref_impl { template static __result_of_success().*std::declval<_Fp>() ), __invoke_memobj_ref> _S_test(int); template static __failure_type _S_test(...); }; template struct __result_of_memobj_ref : private __result_of_memobj_ref_impl { typedef decltype(_S_test<_MemPtr, _Arg>(0)) type; }; struct __result_of_memobj_deref_impl { template static __result_of_success()).*std::declval<_Fp>() ), __invoke_memobj_deref> _S_test(int); template static __failure_type _S_test(...); }; template struct __result_of_memobj_deref : private __result_of_memobj_deref_impl { typedef decltype(_S_test<_MemPtr, _Arg>(0)) type; }; template struct __result_of_memobj; template struct __result_of_memobj<_Res _Class::*, _Arg> { typedef __remove_cvref_t<_Arg> _Argval; typedef _Res _Class::* _MemPtr; typedef typename conditional<__or_, is_base_of<_Class, _Argval>>::value, __result_of_memobj_ref<_MemPtr, _Arg>, __result_of_memobj_deref<_MemPtr, _Arg> >::type::type type; }; template struct __result_of_memfun; template struct __result_of_memfun<_Res _Class::*, _Arg, _Args...> { typedef typename remove_reference<_Arg>::type _Argval; typedef _Res _Class::* _MemPtr; typedef typename conditional::value, __result_of_memfun_ref<_MemPtr, _Arg, _Args...>, __result_of_memfun_deref<_MemPtr, _Arg, _Args...> >::type::type type; }; template> struct __inv_unwrap { using type = _Tp; }; template struct __inv_unwrap<_Tp, reference_wrapper<_Up>> { using type = _Up&; }; template struct __result_of_impl { typedef __failure_type type; }; template struct __result_of_impl : public __result_of_memobj<__decay_t<_MemPtr>, typename __inv_unwrap<_Arg>::type> { }; template struct __result_of_impl : public __result_of_memfun<__decay_t<_MemPtr>, typename __inv_unwrap<_Arg>::type, _Args...> { }; struct __result_of_other_impl { template static __result_of_success()(std::declval<_Args>()...) ), __invoke_other> _S_test(int); template static __failure_type _S_test(...); }; template struct __result_of_impl : private __result_of_other_impl { typedef decltype(_S_test<_Functor, _ArgTypes...>(0)) type; }; template struct __invoke_result : public __result_of_impl< is_member_object_pointer< typename remove_reference<_Functor>::type >::value, is_member_function_pointer< typename remove_reference<_Functor>::type >::value, _Functor, _ArgTypes... >::type { }; template struct result_of<_Functor(_ArgTypes...)> : public __invoke_result<_Functor, _ArgTypes...> { }; # 2580 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template class _Op, typename... _Args> struct __detector { using value_t = false_type; using type = _Default; }; template class _Op, typename... _Args> struct __detector<_Default, __void_t<_Op<_Args...>>, _Op, _Args...> { using value_t = true_type; using type = _Op<_Args...>; }; template class _Op, typename... _Args> using __detected_or = __detector<_Default, void, _Op, _Args...>; template class _Op, typename... _Args> using __detected_or_t = typename __detected_or<_Default, _Op, _Args...>::type; # 2624 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template struct __is_swappable; template struct __is_nothrow_swappable; template class tuple; template struct __is_tuple_like_impl : false_type { }; template struct __is_tuple_like_impl> : true_type { }; template struct __is_tuple_like : public __is_tuple_like_impl<__remove_cvref_t<_Tp>>::type { }; template inline _Require<__not_<__is_tuple_like<_Tp>>, is_move_constructible<_Tp>, is_move_assignable<_Tp>> swap(_Tp&, _Tp&) noexcept(__and_, is_nothrow_move_assignable<_Tp>>::value); template inline __enable_if_t<__is_swappable<_Tp>::value> swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm]) noexcept(__is_nothrow_swappable<_Tp>::value); namespace __swappable_details { using std::swap; struct __do_is_swappable_impl { template(), std::declval<_Tp&>()))> static true_type __test(int); template static false_type __test(...); }; struct __do_is_nothrow_swappable_impl { template static __bool_constant< noexcept(swap(std::declval<_Tp&>(), std::declval<_Tp&>())) > __test(int); template static false_type __test(...); }; } template struct __is_swappable_impl : public __swappable_details::__do_is_swappable_impl { typedef decltype(__test<_Tp>(0)) type; }; template struct __is_nothrow_swappable_impl : public __swappable_details::__do_is_nothrow_swappable_impl { typedef decltype(__test<_Tp>(0)) type; }; template struct __is_swappable : public __is_swappable_impl<_Tp>::type { }; template struct __is_nothrow_swappable : public __is_nothrow_swappable_impl<_Tp>::type { }; # 2837 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 template::value, typename = void> struct __is_invocable_impl : false_type { }; template struct __is_invocable_impl<_Result, _Ret, true, __void_t> : true_type { }; #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wctor-dtor-privacy" template struct __is_invocable_impl<_Result, _Ret, false, __void_t> { private: static typename _Result::type _S_get(); template static void _S_conv(_Tp); template(_S_get()))> static true_type _S_test(int); template static false_type _S_test(...); public: using type = decltype(_S_test<_Ret>(1)); }; #pragma GCC diagnostic pop template struct __is_invocable : __is_invocable_impl<__invoke_result<_Fn, _ArgTypes...>, void>::type { }; template constexpr bool __call_is_nt(__invoke_memfun_ref) { using _Up = typename __inv_unwrap<_Tp>::type; return noexcept((std::declval<_Up>().*std::declval<_Fn>())( std::declval<_Args>()...)); } template constexpr bool __call_is_nt(__invoke_memfun_deref) { return noexcept(((*std::declval<_Tp>()).*std::declval<_Fn>())( std::declval<_Args>()...)); } template constexpr bool __call_is_nt(__invoke_memobj_ref) { using _Up = typename __inv_unwrap<_Tp>::type; return noexcept(std::declval<_Up>().*std::declval<_Fn>()); } template constexpr bool __call_is_nt(__invoke_memobj_deref) { return noexcept((*std::declval<_Tp>()).*std::declval<_Fn>()); } template constexpr bool __call_is_nt(__invoke_other) { return noexcept(std::declval<_Fn>()(std::declval<_Args>()...)); } template struct __call_is_nothrow : __bool_constant< std::__call_is_nt<_Fn, _Args...>(typename _Result::__invoke_type{}) > { }; template using __call_is_nothrow_ = __call_is_nothrow<__invoke_result<_Fn, _Args...>, _Fn, _Args...>; template struct __is_nothrow_invocable : __and_<__is_invocable<_Fn, _Args...>, __call_is_nothrow_<_Fn, _Args...>>::type { }; #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wctor-dtor-privacy" struct __nonesuchbase {}; struct __nonesuch : private __nonesuchbase { ~__nonesuch() = delete; __nonesuch(__nonesuch const&) = delete; void operator=(__nonesuch const&) = delete; }; #pragma GCC diagnostic pop # 3456 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/type_traits" 3 } # 58 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/move.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 74 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/move.h" 3 template constexpr _Tp&& forward(typename std::remove_reference<_Tp>::type& __t) noexcept { return static_cast<_Tp&&>(__t); } template constexpr _Tp&& forward(typename std::remove_reference<_Tp>::type&& __t) noexcept { static_assert(!std::is_lvalue_reference<_Tp>::value, "template argument" " substituting _Tp is an lvalue reference type"); return static_cast<_Tp&&>(__t); } template constexpr typename std::remove_reference<_Tp>::type&& move(_Tp&& __t) noexcept { return static_cast::type&&>(__t); } template struct __move_if_noexcept_cond : public __and_<__not_>, is_copy_constructible<_Tp>>::type { }; # 118 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/move.h" 3 template constexpr typename conditional<__move_if_noexcept_cond<_Tp>::value, const _Tp&, _Tp&&>::type move_if_noexcept(_Tp& __x) noexcept { return std::move(__x); } # 138 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/move.h" 3 template inline _Tp* addressof(_Tp& __r) noexcept { return std::__addressof(__r); } template const _Tp* addressof(const _Tp&&) = delete; template inline _Tp __exchange(_Tp& __obj, _Up&& __new_val) { _Tp __old_val = std::move(__obj); __obj = std::forward<_Up>(__new_val); return __old_val; } # 179 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/move.h" 3 template inline typename enable_if<__and_<__not_<__is_tuple_like<_Tp>>, is_move_constructible<_Tp>, is_move_assignable<_Tp>>::value>::type swap(_Tp& __a, _Tp& __b) noexcept(__and_, is_nothrow_move_assignable<_Tp>>::value) { _Tp __tmp = std::move(__a); __a = std::move(__b); __b = std::move(__tmp); } template inline typename enable_if<__is_swappable<_Tp>::value>::type swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm]) noexcept(__is_nothrow_swappable<_Tp>::value) { for (size_t __n = 0; __n < _Nm; ++__n) swap(__a[__n], __b[__n]); } } # 60 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 2 3 # 69 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 80 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 struct piecewise_construct_t { explicit piecewise_construct_t() = default; }; constexpr piecewise_construct_t piecewise_construct = piecewise_construct_t(); template class tuple; template struct _Index_tuple; template struct _PCC { template static constexpr bool _ConstructiblePair() { return __and_, is_constructible<_T2, const _U2&>>::value; } template static constexpr bool _ImplicitlyConvertiblePair() { return __and_, is_convertible>::value; } template static constexpr bool _MoveConstructiblePair() { return __and_, is_constructible<_T2, _U2&&>>::value; } template static constexpr bool _ImplicitlyMoveConvertiblePair() { return __and_, is_convertible<_U2&&, _T2>>::value; } template static constexpr bool _CopyMovePair() { using __do_converts = __and_, is_convertible<_U2&&, _T2>>; using __converts = typename conditional<__implicit, __do_converts, __not_<__do_converts>>::type; return __and_, is_constructible<_T2, _U2&&>, __converts >::value; } template static constexpr bool _MoveCopyPair() { using __do_converts = __and_, is_convertible>; using __converts = typename conditional<__implicit, __do_converts, __not_<__do_converts>>::type; return __and_, is_constructible<_T2, const _U2&&>, __converts >::value; } }; template struct _PCC { template static constexpr bool _ConstructiblePair() { return false; } template static constexpr bool _ImplicitlyConvertiblePair() { return false; } template static constexpr bool _MoveConstructiblePair() { return false; } template static constexpr bool _ImplicitlyMoveConvertiblePair() { return false; } }; template class __pair_base { template friend struct pair; __pair_base() = default; ~__pair_base() = default; __pair_base(const __pair_base&) = default; __pair_base& operator=(const __pair_base&) = delete; }; # 210 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 template struct pair : private __pair_base<_T1, _T2> { typedef _T1 first_type; typedef _T2 second_type; _T1 first; _T2 second; template , __is_implicitly_default_constructible<_U2>> ::value, bool>::type = true> constexpr pair() : first(), second() { } template , is_default_constructible<_U2>, __not_< __and_<__is_implicitly_default_constructible<_U1>, __is_implicitly_default_constructible<_U2>>>> ::value, bool>::type = false> explicit constexpr pair() : first(), second() { } # 256 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 using _PCCP = _PCC; template() && _PCCP::template _ImplicitlyConvertiblePair<_U1, _U2>(), bool>::type=true> constexpr pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) { } template() && !_PCCP::template _ImplicitlyConvertiblePair<_U1, _U2>(), bool>::type=false> explicit constexpr pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) { } # 288 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 template using _PCCFP = _PCC::value || !is_same<_T2, _U2>::value, _T1, _T2>; template::template _ConstructiblePair<_U1, _U2>() && _PCCFP<_U1, _U2>::template _ImplicitlyConvertiblePair<_U1, _U2>(), bool>::type=true> constexpr pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) { } template::template _ConstructiblePair<_U1, _U2>() && !_PCCFP<_U1, _U2>::template _ImplicitlyConvertiblePair<_U1, _U2>(), bool>::type=false> explicit constexpr pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) { } constexpr pair(const pair&) = default; constexpr pair(pair&&) = default; template(), bool>::type=true> constexpr pair(_U1&& __x, const _T2& __y) : first(std::forward<_U1>(__x)), second(__y) { } template(), bool>::type=false> explicit constexpr pair(_U1&& __x, const _T2& __y) : first(std::forward<_U1>(__x)), second(__y) { } template(), bool>::type=true> constexpr pair(const _T1& __x, _U2&& __y) : first(__x), second(std::forward<_U2>(__y)) { } template(), bool>::type=false> explicit pair(const _T1& __x, _U2&& __y) : first(__x), second(std::forward<_U2>(__y)) { } template() && _PCCP::template _ImplicitlyMoveConvertiblePair<_U1, _U2>(), bool>::type=true> constexpr pair(_U1&& __x, _U2&& __y) : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { } template() && !_PCCP::template _ImplicitlyMoveConvertiblePair<_U1, _U2>(), bool>::type=false> explicit constexpr pair(_U1&& __x, _U2&& __y) : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { } template::template _MoveConstructiblePair<_U1, _U2>() && _PCCFP<_U1, _U2>::template _ImplicitlyMoveConvertiblePair<_U1, _U2>(), bool>::type=true> constexpr pair(pair<_U1, _U2>&& __p) : first(std::forward<_U1>(__p.first)), second(std::forward<_U2>(__p.second)) { } template::template _MoveConstructiblePair<_U1, _U2>() && !_PCCFP<_U1, _U2>::template _ImplicitlyMoveConvertiblePair<_U1, _U2>(), bool>::type=false> explicit constexpr pair(pair<_U1, _U2>&& __p) : first(std::forward<_U1>(__p.first)), second(std::forward<_U2>(__p.second)) { } template pair(piecewise_construct_t, tuple<_Args1...>, tuple<_Args2...>); pair& operator=(typename conditional< __and_, is_copy_assignable<_T2>>::value, const pair&, const __nonesuch&>::type __p) { first = __p.first; second = __p.second; return *this; } pair& operator=(typename conditional< __and_, is_move_assignable<_T2>>::value, pair&&, __nonesuch&&>::type __p) noexcept(__and_, is_nothrow_move_assignable<_T2>>::value) { first = std::forward(__p.first); second = std::forward(__p.second); return *this; } template typename enable_if<__and_, is_assignable<_T2&, const _U2&>>::value, pair&>::type operator=(const pair<_U1, _U2>& __p) { first = __p.first; second = __p.second; return *this; } template typename enable_if<__and_, is_assignable<_T2&, _U2&&>>::value, pair&>::type operator=(pair<_U1, _U2>&& __p) { first = std::forward<_U1>(__p.first); second = std::forward<_U2>(__p.second); return *this; } void swap(pair& __p) noexcept(__and_<__is_nothrow_swappable<_T1>, __is_nothrow_swappable<_T2>>::value) { using std::swap; swap(first, __p.first); swap(second, __p.second); } private: template pair(tuple<_Args1...>&, tuple<_Args2...>&, _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>); }; # 464 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 template inline constexpr bool operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { return __x.first == __y.first && __x.second == __y.second; } # 487 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 template inline constexpr bool operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { return __x.first < __y.first || (!(__y.first < __x.first) && __x.second < __y.second); } template inline constexpr bool operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { return !(__x == __y); } template inline constexpr bool operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { return __y < __x; } template inline constexpr bool operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { return !(__y < __x); } template inline constexpr bool operator>=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { return !(__x < __y); } # 524 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 template inline void swap(pair<_T1, _T2>& __x, pair<_T1, _T2>& __y) noexcept(noexcept(__x.swap(__y))) { __x.swap(__y); } # 564 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 template constexpr pair::__type, typename __decay_and_strip<_T2>::__type> make_pair(_T1&& __x, _T2&& __y) { typedef typename __decay_and_strip<_T1>::__type __ds_type1; typedef typename __decay_and_strip<_T2>::__type __ds_type2; typedef pair<__ds_type1, __ds_type2> __pair_type; return __pair_type(std::forward<_T1>(__x), std::forward<_T2>(__y)); } # 584 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_pair.h" 3 } # 71 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/initializer_list" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/initializer_list" 3 #pragma GCC visibility push(default) namespace std { template class initializer_list { public: typedef _E value_type; typedef const _E& reference; typedef const _E& const_reference; typedef size_t size_type; typedef const _E* iterator; typedef const _E* const_iterator; private: iterator _M_array; size_type _M_len; constexpr initializer_list(const_iterator __a, size_type __l) : _M_array(__a), _M_len(__l) { } public: constexpr initializer_list() noexcept : _M_array(0), _M_len(0) { } constexpr size_type size() const noexcept { return _M_len; } constexpr const_iterator begin() const noexcept { return _M_array; } constexpr const_iterator end() const noexcept { return begin() + size(); } }; template constexpr const _Tp* begin(initializer_list<_Tp> __ils) noexcept { return __ils.begin(); } template constexpr const _Tp* end(initializer_list<_Tp> __ils) noexcept { return __ils.end(); } } #pragma GCC visibility pop # 77 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template struct tuple_size; template::type, typename = typename enable_if::value>::type, size_t = tuple_size<_Tp>::value> using __enable_if_has_tuple_size = _Tp; template struct tuple_size> : public tuple_size<_Tp> { }; template struct tuple_size> : public tuple_size<_Tp> { }; template struct tuple_size> : public tuple_size<_Tp> { }; template struct tuple_element; template using __tuple_element_t = typename tuple_element<__i, _Tp>::type; template struct tuple_element<__i, const _Tp> { typedef typename add_const<__tuple_element_t<__i, _Tp>>::type type; }; template struct tuple_element<__i, volatile _Tp> { typedef typename add_volatile<__tuple_element_t<__i, _Tp>>::type type; }; template struct tuple_element<__i, const volatile _Tp> { typedef typename add_cv<__tuple_element_t<__i, _Tp>>::type type; }; # 151 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 3 template struct __is_tuple_like_impl> : true_type { }; template struct tuple_size> : public integral_constant { }; template struct tuple_element<0, std::pair<_Tp1, _Tp2>> { typedef _Tp1 type; }; template struct tuple_element<1, std::pair<_Tp1, _Tp2>> { typedef _Tp2 type; }; template struct __pair_get; template<> struct __pair_get<0> { template static constexpr _Tp1& __get(std::pair<_Tp1, _Tp2>& __pair) noexcept { return __pair.first; } template static constexpr _Tp1&& __move_get(std::pair<_Tp1, _Tp2>&& __pair) noexcept { return std::forward<_Tp1>(__pair.first); } template static constexpr const _Tp1& __const_get(const std::pair<_Tp1, _Tp2>& __pair) noexcept { return __pair.first; } template static constexpr const _Tp1&& __const_move_get(const std::pair<_Tp1, _Tp2>&& __pair) noexcept { return std::forward(__pair.first); } }; template<> struct __pair_get<1> { template static constexpr _Tp2& __get(std::pair<_Tp1, _Tp2>& __pair) noexcept { return __pair.second; } template static constexpr _Tp2&& __move_get(std::pair<_Tp1, _Tp2>&& __pair) noexcept { return std::forward<_Tp2>(__pair.second); } template static constexpr const _Tp2& __const_get(const std::pair<_Tp1, _Tp2>& __pair) noexcept { return __pair.second; } template static constexpr const _Tp2&& __const_move_get(const std::pair<_Tp1, _Tp2>&& __pair) noexcept { return std::forward(__pair.second); } }; template constexpr typename tuple_element<_Int, std::pair<_Tp1, _Tp2>>::type& get(std::pair<_Tp1, _Tp2>& __in) noexcept { return __pair_get<_Int>::__get(__in); } template constexpr typename tuple_element<_Int, std::pair<_Tp1, _Tp2>>::type&& get(std::pair<_Tp1, _Tp2>&& __in) noexcept { return __pair_get<_Int>::__move_get(std::move(__in)); } template constexpr const typename tuple_element<_Int, std::pair<_Tp1, _Tp2>>::type& get(const std::pair<_Tp1, _Tp2>& __in) noexcept { return __pair_get<_Int>::__const_get(__in); } template constexpr const typename tuple_element<_Int, std::pair<_Tp1, _Tp2>>::type&& get(const std::pair<_Tp1, _Tp2>&& __in) noexcept { return __pair_get<_Int>::__const_move_get(std::move(__in)); } # 298 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 3 template struct _Index_tuple { }; # 307 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 3 template struct _Build_index_tuple { template using _IdxTuple = _Index_tuple<_Indices...>; using __type = __make_integer_seq<_IdxTuple, size_t, _Num>; }; # 474 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/utility" 3 } # 61 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/algorithm" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 1 3 # 60 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/functexcept.h" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/functexcept.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception_defines.h" 1 3 # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/functexcept.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { void __throw_bad_exception(void) __attribute__((__noreturn__)); void __throw_bad_alloc(void) __attribute__((__noreturn__)); void __throw_bad_cast(void) __attribute__((__noreturn__)); void __throw_bad_typeid(void) __attribute__((__noreturn__)); void __throw_logic_error(const char*) __attribute__((__noreturn__)); void __throw_domain_error(const char*) __attribute__((__noreturn__)); void __throw_invalid_argument(const char*) __attribute__((__noreturn__)); void __throw_length_error(const char*) __attribute__((__noreturn__)); void __throw_out_of_range(const char*) __attribute__((__noreturn__)); void __throw_out_of_range_fmt(const char*, ...) __attribute__((__noreturn__)) __attribute__((__format__(__gnu_printf__, 1, 2))); void __throw_runtime_error(const char*) __attribute__((__noreturn__)); void __throw_range_error(const char*) __attribute__((__noreturn__)); void __throw_overflow_error(const char*) __attribute__((__noreturn__)); void __throw_underflow_error(const char*) __attribute__((__noreturn__)); void __throw_ios_failure(const char*) __attribute__((__noreturn__)); void __throw_ios_failure(const char*, int) __attribute__((__noreturn__)); void __throw_system_error(int) __attribute__((__noreturn__)); void __throw_future_error(int) __attribute__((__noreturn__)); void __throw_bad_function_call() __attribute__((__noreturn__)); } # 61 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/numeric_traits.h" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/numeric_traits.h" 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { # 50 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/numeric_traits.h" 3 template struct __is_integer_nonstrict : public std::__is_integer<_Tp> { using std::__is_integer<_Tp>::__value; enum { __width = __value ? sizeof(_Tp) * 8 : 0 }; }; template struct __numeric_traits_integer { static_assert(__is_integer_nonstrict<_Value>::__value, "invalid specialization"); static const bool __is_signed = (_Value)(-1) < 0; static const int __digits = __is_integer_nonstrict<_Value>::__width - __is_signed; static const _Value __max = __is_signed ? (((((_Value)1 << (__digits - 1)) - 1) << 1) + 1) : ~(_Value)0; static const _Value __min = __is_signed ? -__max - 1 : (_Value)0; }; template const _Value __numeric_traits_integer<_Value>::__min; template const _Value __numeric_traits_integer<_Value>::__max; template const bool __numeric_traits_integer<_Value>::__is_signed; template const int __numeric_traits_integer<_Value>::__digits; # 128 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/numeric_traits.h" 3 template<> struct __is_integer_nonstrict<__int128> { enum { __value = 1 }; typedef std::__true_type __type; enum { __width = 128 }; }; template<> struct __is_integer_nonstrict { enum { __value = 1 }; typedef std::__true_type __type; enum { __width = 128 }; }; template using __int_traits = __numeric_traits_integer<_Tp>; # 155 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/numeric_traits.h" 3 template struct __numeric_traits_floating { static const int __max_digits10 = (2 + (std::__are_same<_Value, float>::__value ? 24 : std::__are_same<_Value, double>::__value ? 53 : 64) * 643L / 2136); static const bool __is_signed = true; static const int __digits10 = (std::__are_same<_Value, float>::__value ? 6 : std::__are_same<_Value, double>::__value ? 15 : 18); static const int __max_exponent10 = (std::__are_same<_Value, float>::__value ? 38 : std::__are_same<_Value, double>::__value ? 308 : 4932); }; template const int __numeric_traits_floating<_Value>::__max_digits10; template const bool __numeric_traits_floating<_Value>::__is_signed; template const int __numeric_traits_floating<_Value>::__digits10; template const int __numeric_traits_floating<_Value>::__max_exponent10; template struct __numeric_traits : public __conditional_type<__is_integer_nonstrict<_Value>::__value, __numeric_traits_integer<_Value>, __numeric_traits_floating<_Value> >::__type { }; } # 64 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_types.h" 1 3 # 63 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_types.h" 3 # 74 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_types.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 93 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_types.h" 3 struct input_iterator_tag { }; struct output_iterator_tag { }; struct forward_iterator_tag : public input_iterator_tag { }; struct bidirectional_iterator_tag : public forward_iterator_tag { }; struct random_access_iterator_tag : public bidirectional_iterator_tag { }; # 125 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_types.h" 3 template struct iterator { typedef _Category iterator_category; typedef _Tp value_type; typedef _Distance difference_type; typedef _Pointer pointer; typedef _Reference reference; }; # 149 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_types.h" 3 template struct iterator_traits; template> struct __iterator_traits { }; template struct __iterator_traits<_Iterator, __void_t> { typedef typename _Iterator::iterator_category iterator_category; typedef typename _Iterator::value_type value_type; typedef typename _Iterator::difference_type difference_type; typedef typename _Iterator::pointer pointer; typedef typename _Iterator::reference reference; }; template struct iterator_traits : public __iterator_traits<_Iterator> { }; # 209 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_types.h" 3 template struct iterator_traits<_Tp*> { typedef random_access_iterator_tag iterator_category; typedef _Tp value_type; typedef ptrdiff_t difference_type; typedef _Tp* pointer; typedef _Tp& reference; }; template struct iterator_traits { typedef random_access_iterator_tag iterator_category; typedef _Tp value_type; typedef ptrdiff_t difference_type; typedef const _Tp* pointer; typedef const _Tp& reference; }; template inline constexpr typename iterator_traits<_Iter>::iterator_category __iterator_category(const _Iter&) { return typename iterator_traits<_Iter>::iterator_category(); } template using __iterator_category_t = typename iterator_traits<_Iter>::iterator_category; template using _RequireInputIter = __enable_if_t, input_iterator_tag>::value>; template> struct __is_random_access_iter : is_base_of { typedef is_base_of _Base; enum { __value = _Base::value }; }; # 269 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_types.h" 3 } # 66 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_funcs.h" 1 3 # 63 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_funcs.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/concept_check.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/concept_check.h" 3 # 65 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_funcs.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/debug/assertions.h" 1 3 # 66 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_funcs.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template struct _List_iterator; template struct _List_const_iterator; template inline typename iterator_traits<_InputIterator>::difference_type __distance(_InputIterator __first, _InputIterator __last, input_iterator_tag) { typename iterator_traits<_InputIterator>::difference_type __n = 0; while (__first != __last) { ++__first; ++__n; } return __n; } template inline typename iterator_traits<_RandomAccessIterator>::difference_type __distance(_RandomAccessIterator __first, _RandomAccessIterator __last, random_access_iterator_tag) { return __last - __first; } # 135 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_funcs.h" 3 template inline typename iterator_traits<_InputIterator>::difference_type distance(_InputIterator __first, _InputIterator __last) { return std::__distance(__first, __last, std::__iterator_category(__first)); } template inline void __advance(_InputIterator& __i, _Distance __n, input_iterator_tag) { ; while (__n--) ++__i; } template inline void __advance(_BidirectionalIterator& __i, _Distance __n, bidirectional_iterator_tag) { if (__n > 0) while (__n--) ++__i; else while (__n++) --__i; } template inline void __advance(_RandomAccessIterator& __i, _Distance __n, random_access_iterator_tag) { if (__builtin_constant_p(__n) && __n == 1) ++__i; else if (__builtin_constant_p(__n) && __n == -1) --__i; else __i += __n; } # 200 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator_base_funcs.h" 3 template inline void advance(_InputIterator& __i, _Distance __n) { typename iterator_traits<_InputIterator>::difference_type __d = __n; std::__advance(__i, __d, std::__iterator_category(__i)); } template inline _InputIterator next(_InputIterator __x, typename iterator_traits<_InputIterator>::difference_type __n = 1) { std::advance(__x, __n); return __x; } template inline _BidirectionalIterator prev(_BidirectionalIterator __x, typename iterator_traits<_BidirectionalIterator>::difference_type __n = 1) { std::advance(__x, -__n); return __x; } } # 67 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 1 3 # 66 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ptr_traits.h" 1 3 # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ptr_traits.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { class __undefined; template struct __get_first_arg { using type = __undefined; }; template class _Template, typename _Tp, typename... _Types> struct __get_first_arg<_Template<_Tp, _Types...>> { using type = _Tp; }; template using __get_first_arg_t = typename __get_first_arg<_Tp>::type; template struct __replace_first_arg { }; template class _Template, typename _Up, typename _Tp, typename... _Types> struct __replace_first_arg<_Template<_Tp, _Types...>, _Up> { using type = _Template<_Up, _Types...>; }; template using __replace_first_arg_t = typename __replace_first_arg<_Tp, _Up>::type; template using __make_not_void = typename conditional::value, __undefined, _Tp>::type; template struct pointer_traits { private: template using __element_type = typename _Tp::element_type; template using __difference_type = typename _Tp::difference_type; template struct __rebind : __replace_first_arg<_Tp, _Up> { }; template struct __rebind<_Tp, _Up, __void_t>> { using type = typename _Tp::template rebind<_Up>; }; public: using pointer = _Ptr; using element_type = __detected_or_t<__get_first_arg_t<_Ptr>, __element_type, _Ptr>; using difference_type = __detected_or_t; template using rebind = typename __rebind<_Ptr, _Up>::type; static _Ptr pointer_to(__make_not_void& __e) { return _Ptr::pointer_to(__e); } static_assert(!is_same::value, "pointer type defines element_type or is like SomePointer"); }; template struct pointer_traits<_Tp*> { typedef _Tp* pointer; typedef _Tp element_type; typedef ptrdiff_t difference_type; template using rebind = _Up*; static pointer pointer_to(__make_not_void& __r) noexcept { return std::addressof(__r); } }; template using __ptr_rebind = typename pointer_traits<_Ptr>::template rebind<_Tp>; template constexpr _Tp* __to_address(_Tp* __ptr) noexcept { static_assert(!std::is_function<_Tp>::value, "not a function pointer"); return __ptr; } template constexpr typename std::pointer_traits<_Ptr>::element_type* __to_address(const _Ptr& __ptr) { return std::__to_address(__ptr.operator->()); } # 211 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ptr_traits.h" 3 } # 67 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 2 3 # 85 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 124 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template class reverse_iterator : public iterator::iterator_category, typename iterator_traits<_Iterator>::value_type, typename iterator_traits<_Iterator>::difference_type, typename iterator_traits<_Iterator>::pointer, typename iterator_traits<_Iterator>::reference> { protected: _Iterator current; typedef iterator_traits<_Iterator> __traits_type; public: typedef _Iterator iterator_type; typedef typename __traits_type::difference_type difference_type; typedef typename __traits_type::pointer pointer; typedef typename __traits_type::reference reference; # 161 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 reverse_iterator() : current() { } explicit reverse_iterator(iterator_type __x) : current(__x) { } reverse_iterator(const reverse_iterator& __x) : current(__x.current) { } reverse_iterator& operator=(const reverse_iterator&) = default; template reverse_iterator(const reverse_iterator<_Iter>& __x) : current(__x.base()) { } iterator_type base() const { return current; } # 206 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 reference operator*() const { _Iterator __tmp = current; return *--__tmp; } pointer operator->() const { _Iterator __tmp = current; --__tmp; return _S_to_pointer(__tmp); } reverse_iterator& operator++() { --current; return *this; } reverse_iterator operator++(int) { reverse_iterator __tmp = *this; --current; return __tmp; } reverse_iterator& operator--() { ++current; return *this; } reverse_iterator operator--(int) { reverse_iterator __tmp = *this; ++current; return __tmp; } reverse_iterator operator+(difference_type __n) const { return reverse_iterator(current - __n); } reverse_iterator& operator+=(difference_type __n) { current -= __n; return *this; } reverse_iterator operator-(difference_type __n) const { return reverse_iterator(current + __n); } reverse_iterator& operator-=(difference_type __n) { current += __n; return *this; } reference operator[](difference_type __n) const { return *(*this + __n); } # 360 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 private: template static _Tp* _S_to_pointer(_Tp* __p) { return __p; } template static pointer _S_to_pointer(_Tp __t) { return __t.operator->(); } }; # 383 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template inline bool operator==(const reverse_iterator<_Iterator>& __x, const reverse_iterator<_Iterator>& __y) { return __x.base() == __y.base(); } template inline bool operator<(const reverse_iterator<_Iterator>& __x, const reverse_iterator<_Iterator>& __y) { return __y.base() < __x.base(); } template inline bool operator!=(const reverse_iterator<_Iterator>& __x, const reverse_iterator<_Iterator>& __y) { return !(__x == __y); } template inline bool operator>(const reverse_iterator<_Iterator>& __x, const reverse_iterator<_Iterator>& __y) { return __y < __x; } template inline bool operator<=(const reverse_iterator<_Iterator>& __x, const reverse_iterator<_Iterator>& __y) { return !(__y < __x); } template inline bool operator>=(const reverse_iterator<_Iterator>& __x, const reverse_iterator<_Iterator>& __y) { return !(__x < __y); } template inline bool operator==(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) { return __x.base() == __y.base(); } template inline bool operator<(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) { return __y.base() < __x.base(); } template inline bool operator!=(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) { return !(__x == __y); } template inline bool operator>(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) { return __y < __x; } template inline bool operator<=(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) { return !(__y < __x); } template inline bool operator>=(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) { return !(__x < __y); } # 523 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template inline auto operator-(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) -> decltype(__y.base() - __x.base()) { return __y.base() - __x.base(); } template inline reverse_iterator<_Iterator> operator+(typename reverse_iterator<_Iterator>::difference_type __n, const reverse_iterator<_Iterator>& __x) { return reverse_iterator<_Iterator>(__x.base() - __n); } template inline reverse_iterator<_Iterator> __make_reverse_iterator(_Iterator __i) { return reverse_iterator<_Iterator>(__i); } # 564 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template auto __niter_base(reverse_iterator<_Iterator> __it) -> decltype(__make_reverse_iterator(__niter_base(__it.base()))) { return __make_reverse_iterator(__niter_base(__it.base())); } template struct __is_move_iterator > : __is_move_iterator<_Iterator> { }; template auto __miter_base(reverse_iterator<_Iterator> __it) -> decltype(__make_reverse_iterator(__miter_base(__it.base()))) { return __make_reverse_iterator(__miter_base(__it.base())); } # 595 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template class back_insert_iterator : public iterator { protected: _Container* container; public: typedef _Container container_type; explicit back_insert_iterator(_Container& __x) : container(std::__addressof(__x)) { } # 636 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 back_insert_iterator& operator=(const typename _Container::value_type& __value) { container->push_back(__value); return *this; } back_insert_iterator& operator=(typename _Container::value_type&& __value) { container->push_back(std::move(__value)); return *this; } back_insert_iterator& operator*() { return *this; } back_insert_iterator& operator++() { return *this; } back_insert_iterator operator++(int) { return *this; } }; # 682 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template inline back_insert_iterator<_Container> back_inserter(_Container& __x) { return back_insert_iterator<_Container>(__x); } # 698 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template class front_insert_iterator : public iterator { protected: _Container* container; public: typedef _Container container_type; explicit front_insert_iterator(_Container& __x) : container(std::__addressof(__x)) { } # 739 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 front_insert_iterator& operator=(const typename _Container::value_type& __value) { container->push_front(__value); return *this; } front_insert_iterator& operator=(typename _Container::value_type&& __value) { container->push_front(std::move(__value)); return *this; } front_insert_iterator& operator*() { return *this; } front_insert_iterator& operator++() { return *this; } front_insert_iterator operator++(int) { return *this; } }; # 785 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template inline front_insert_iterator<_Container> front_inserter(_Container& __x) { return front_insert_iterator<_Container>(__x); } # 805 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template class insert_iterator : public iterator { typedef typename _Container::iterator _Iter; protected: _Container* container; _Iter iter; public: typedef _Container container_type; # 838 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 insert_iterator(_Container& __x, _Iter __i) : container(std::__addressof(__x)), iter(__i) {} # 874 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 insert_iterator& operator=(const typename _Container::value_type& __value) { iter = container->insert(iter, __value); ++iter; return *this; } insert_iterator& operator=(typename _Container::value_type&& __value) { iter = container->insert(iter, std::move(__value)); ++iter; return *this; } insert_iterator& operator*() { return *this; } insert_iterator& operator++() { return *this; } insert_iterator& operator++(int) { return *this; } }; # 929 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template inline insert_iterator<_Container> inserter(_Container& __x, _Iterator __i) { return insert_iterator<_Container>(__x, typename _Container::iterator(__i)); } } namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { # 954 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template class __normal_iterator { protected: _Iterator _M_current; typedef std::iterator_traits<_Iterator> __traits_type; public: typedef _Iterator iterator_type; typedef typename __traits_type::iterator_category iterator_category; typedef typename __traits_type::value_type value_type; typedef typename __traits_type::difference_type difference_type; typedef typename __traits_type::reference reference; typedef typename __traits_type::pointer pointer; constexpr __normal_iterator() noexcept : _M_current(_Iterator()) { } explicit __normal_iterator(const _Iterator& __i) noexcept : _M_current(__i) { } template __normal_iterator(const __normal_iterator<_Iter, typename __enable_if< (std::__are_same<_Iter, typename _Container::pointer>::__value), _Container>::__type>& __i) noexcept : _M_current(__i.base()) { } reference operator*() const noexcept { return *_M_current; } pointer operator->() const noexcept { return _M_current; } __normal_iterator& operator++() noexcept { ++_M_current; return *this; } __normal_iterator operator++(int) noexcept { return __normal_iterator(_M_current++); } __normal_iterator& operator--() noexcept { --_M_current; return *this; } __normal_iterator operator--(int) noexcept { return __normal_iterator(_M_current--); } reference operator[](difference_type __n) const noexcept { return _M_current[__n]; } __normal_iterator& operator+=(difference_type __n) noexcept { _M_current += __n; return *this; } __normal_iterator operator+(difference_type __n) const noexcept { return __normal_iterator(_M_current + __n); } __normal_iterator& operator-=(difference_type __n) noexcept { _M_current -= __n; return *this; } __normal_iterator operator-(difference_type __n) const noexcept { return __normal_iterator(_M_current - __n); } const _Iterator& base() const noexcept { return _M_current; } }; # 1086 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template inline bool operator==(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept { return __lhs.base() == __rhs.base(); } template inline bool operator==(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() == __rhs.base(); } template inline bool operator!=(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept { return __lhs.base() != __rhs.base(); } template inline bool operator!=(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() != __rhs.base(); } template inline bool operator<(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept { return __lhs.base() < __rhs.base(); } template inline bool operator<(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() < __rhs.base(); } template inline bool operator>(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept { return __lhs.base() > __rhs.base(); } template inline bool operator>(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() > __rhs.base(); } template inline bool operator<=(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept { return __lhs.base() <= __rhs.base(); } template inline bool operator<=(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() <= __rhs.base(); } template inline bool operator>=(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept { return __lhs.base() >= __rhs.base(); } template inline bool operator>=(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() >= __rhs.base(); } template inline auto operator-(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept -> decltype(__lhs.base() - __rhs.base()) { return __lhs.base() - __rhs.base(); } template inline typename __normal_iterator<_Iterator, _Container>::difference_type operator-(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() - __rhs.base(); } template inline __normal_iterator<_Iterator, _Container> operator+(typename __normal_iterator<_Iterator, _Container>::difference_type __n, const __normal_iterator<_Iterator, _Container>& __i) noexcept { return __normal_iterator<_Iterator, _Container>(__i.base() + __n); } } namespace std __attribute__ ((__visibility__ ("default"))) { template _Iterator __niter_base(__gnu_cxx::__normal_iterator<_Iterator, _Container> __it) noexcept(std::is_nothrow_copy_constructible<_Iterator>::value) { return __it.base(); } # 1285 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template class move_iterator { _Iterator _M_current; using __traits_type = iterator_traits<_Iterator>; using __base_ref = typename __traits_type::reference; public: using iterator_type = _Iterator; # 1309 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 typedef typename __traits_type::iterator_category iterator_category; typedef typename __traits_type::value_type value_type; typedef typename __traits_type::difference_type difference_type; typedef _Iterator pointer; typedef typename conditional::value, typename remove_reference<__base_ref>::type&&, __base_ref>::type reference; move_iterator() : _M_current() { } explicit move_iterator(iterator_type __i) : _M_current(std::move(__i)) { } template move_iterator(const move_iterator<_Iter>& __i) : _M_current(__i.base()) { } iterator_type base() const { return _M_current; } # 1351 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 reference operator*() const { return static_cast(*_M_current); } pointer operator->() const { return _M_current; } move_iterator& operator++() { ++_M_current; return *this; } move_iterator operator++(int) { move_iterator __tmp = *this; ++_M_current; return __tmp; } move_iterator& operator--() { --_M_current; return *this; } move_iterator operator--(int) { move_iterator __tmp = *this; --_M_current; return __tmp; } move_iterator operator+(difference_type __n) const { return move_iterator(_M_current + __n); } move_iterator& operator+=(difference_type __n) { _M_current += __n; return *this; } move_iterator operator-(difference_type __n) const { return move_iterator(_M_current - __n); } move_iterator& operator-=(difference_type __n) { _M_current -= __n; return *this; } reference operator[](difference_type __n) const { return std::move(_M_current[__n]); } # 1456 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 }; template inline bool operator==(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) { return __x.base() == __y.base(); } # 1475 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template inline bool operator!=(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) { return !(__x == __y); } template inline bool operator<(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) { return __x.base() < __y.base(); } template inline bool operator<=(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) { return !(__y < __x); } template inline bool operator>(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) { return __y < __x; } template inline bool operator>=(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) { return !(__x < __y); } # 1526 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template inline bool operator==(const move_iterator<_Iterator>& __x, const move_iterator<_Iterator>& __y) { return __x.base() == __y.base(); } template inline bool operator!=(const move_iterator<_Iterator>& __x, const move_iterator<_Iterator>& __y) { return !(__x == __y); } template inline bool operator<(const move_iterator<_Iterator>& __x, const move_iterator<_Iterator>& __y) { return __x.base() < __y.base(); } template inline bool operator<=(const move_iterator<_Iterator>& __x, const move_iterator<_Iterator>& __y) { return !(__y < __x); } template inline bool operator>(const move_iterator<_Iterator>& __x, const move_iterator<_Iterator>& __y) { return __y < __x; } template inline bool operator>=(const move_iterator<_Iterator>& __x, const move_iterator<_Iterator>& __y) { return !(__x < __y); } template inline auto operator-(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) -> decltype(__x.base() - __y.base()) { return __x.base() - __y.base(); } template inline move_iterator<_Iterator> operator+(typename move_iterator<_Iterator>::difference_type __n, const move_iterator<_Iterator>& __x) { return __x + __n; } template inline move_iterator<_Iterator> make_move_iterator(_Iterator __i) { return move_iterator<_Iterator>(std::move(__i)); } template::value_type>::value, _Iterator, move_iterator<_Iterator>>::type> inline _ReturnType __make_move_if_noexcept_iterator(_Iterator __i) { return _ReturnType(__i); } template::value, const _Tp*, move_iterator<_Tp*>>::type> inline _ReturnType __make_move_if_noexcept_iterator(_Tp* __i) { return _ReturnType(__i); } # 2183 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 template auto __niter_base(move_iterator<_Iterator> __it) -> decltype(make_move_iterator(__niter_base(__it.base()))) { return make_move_iterator(__niter_base(__it.base())); } template struct __is_move_iterator > { enum { __value = 1 }; typedef __true_type __type; }; template auto __miter_base(move_iterator<_Iterator> __it) -> decltype(__miter_base(__it.base())) { return __miter_base(__it.base()); } # 2231 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_iterator.h" 3 } # 68 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/debug/debug.h" 1 3 # 48 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/debug/debug.h" 3 namespace std { namespace __debug { } } namespace __gnu_debug { using namespace std::__debug; template struct _Safe_iterator; } # 70 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/predefined_ops.h" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/predefined_ops.h" 3 namespace __gnu_cxx { namespace __ops { struct _Iter_less_iter { template bool operator()(_Iterator1 __it1, _Iterator2 __it2) const { return *__it1 < *__it2; } }; inline _Iter_less_iter __iter_less_iter() { return _Iter_less_iter(); } struct _Iter_less_val { constexpr _Iter_less_val() = default; explicit _Iter_less_val(_Iter_less_iter) { } template bool operator()(_Iterator __it, _Value& __val) const { return *__it < __val; } }; inline _Iter_less_val __iter_less_val() { return _Iter_less_val(); } inline _Iter_less_val __iter_comp_val(_Iter_less_iter) { return _Iter_less_val(); } struct _Val_less_iter { constexpr _Val_less_iter() = default; explicit _Val_less_iter(_Iter_less_iter) { } template bool operator()(_Value& __val, _Iterator __it) const { return __val < *__it; } }; inline _Val_less_iter __val_less_iter() { return _Val_less_iter(); } inline _Val_less_iter __val_comp_iter(_Iter_less_iter) { return _Val_less_iter(); } struct _Iter_equal_to_iter { template bool operator()(_Iterator1 __it1, _Iterator2 __it2) const { return *__it1 == *__it2; } }; inline _Iter_equal_to_iter __iter_equal_to_iter() { return _Iter_equal_to_iter(); } struct _Iter_equal_to_val { template bool operator()(_Iterator __it, _Value& __val) const { return *__it == __val; } }; inline _Iter_equal_to_val __iter_equal_to_val() { return _Iter_equal_to_val(); } inline _Iter_equal_to_val __iter_comp_val(_Iter_equal_to_iter) { return _Iter_equal_to_val(); } template struct _Iter_comp_iter { _Compare _M_comp; explicit _Iter_comp_iter(_Compare __comp) : _M_comp(std::move(__comp)) { } template bool operator()(_Iterator1 __it1, _Iterator2 __it2) { return bool(_M_comp(*__it1, *__it2)); } }; template inline _Iter_comp_iter<_Compare> __iter_comp_iter(_Compare __comp) { return _Iter_comp_iter<_Compare>(std::move(__comp)); } template struct _Iter_comp_val { _Compare _M_comp; explicit _Iter_comp_val(_Compare __comp) : _M_comp(std::move(__comp)) { } explicit _Iter_comp_val(const _Iter_comp_iter<_Compare>& __comp) : _M_comp(__comp._M_comp) { } explicit _Iter_comp_val(_Iter_comp_iter<_Compare>&& __comp) : _M_comp(std::move(__comp._M_comp)) { } template bool operator()(_Iterator __it, _Value& __val) { return bool(_M_comp(*__it, __val)); } }; template inline _Iter_comp_val<_Compare> __iter_comp_val(_Compare __comp) { return _Iter_comp_val<_Compare>(std::move(__comp)); } template inline _Iter_comp_val<_Compare> __iter_comp_val(_Iter_comp_iter<_Compare> __comp) { return _Iter_comp_val<_Compare>(std::move(__comp)); } template struct _Val_comp_iter { _Compare _M_comp; explicit _Val_comp_iter(_Compare __comp) : _M_comp(std::move(__comp)) { } explicit _Val_comp_iter(const _Iter_comp_iter<_Compare>& __comp) : _M_comp(__comp._M_comp) { } explicit _Val_comp_iter(_Iter_comp_iter<_Compare>&& __comp) : _M_comp(std::move(__comp._M_comp)) { } template bool operator()(_Value& __val, _Iterator __it) { return bool(_M_comp(__val, *__it)); } }; template inline _Val_comp_iter<_Compare> __val_comp_iter(_Compare __comp) { return _Val_comp_iter<_Compare>(std::move(__comp)); } template inline _Val_comp_iter<_Compare> __val_comp_iter(_Iter_comp_iter<_Compare> __comp) { return _Val_comp_iter<_Compare>(std::move(__comp)); } template struct _Iter_equals_val { _Value& _M_value; explicit _Iter_equals_val(_Value& __value) : _M_value(__value) { } template bool operator()(_Iterator __it) { return *__it == _M_value; } }; template inline _Iter_equals_val<_Value> __iter_equals_val(_Value& __val) { return _Iter_equals_val<_Value>(__val); } template struct _Iter_equals_iter { _Iterator1 _M_it1; explicit _Iter_equals_iter(_Iterator1 __it1) : _M_it1(__it1) { } template bool operator()(_Iterator2 __it2) { return *__it2 == *_M_it1; } }; template inline _Iter_equals_iter<_Iterator> __iter_comp_iter(_Iter_equal_to_iter, _Iterator __it) { return _Iter_equals_iter<_Iterator>(__it); } template struct _Iter_pred { _Predicate _M_pred; explicit _Iter_pred(_Predicate __pred) : _M_pred(std::move(__pred)) { } template bool operator()(_Iterator __it) { return bool(_M_pred(*__it)); } }; template inline _Iter_pred<_Predicate> __pred_iter(_Predicate __pred) { return _Iter_pred<_Predicate>(std::move(__pred)); } template struct _Iter_comp_to_val { _Compare _M_comp; _Value& _M_value; _Iter_comp_to_val(_Compare __comp, _Value& __value) : _M_comp(std::move(__comp)), _M_value(__value) { } template bool operator()(_Iterator __it) { return bool(_M_comp(*__it, _M_value)); } }; template _Iter_comp_to_val<_Compare, _Value> __iter_comp_val(_Compare __comp, _Value &__val) { return _Iter_comp_to_val<_Compare, _Value>(std::move(__comp), __val); } template struct _Iter_comp_to_iter { _Compare _M_comp; _Iterator1 _M_it1; _Iter_comp_to_iter(_Compare __comp, _Iterator1 __it1) : _M_comp(std::move(__comp)), _M_it1(__it1) { } template bool operator()(_Iterator2 __it2) { return bool(_M_comp(*__it2, *_M_it1)); } }; template inline _Iter_comp_to_iter<_Compare, _Iterator> __iter_comp_iter(_Iter_comp_iter<_Compare> __comp, _Iterator __it) { return _Iter_comp_to_iter<_Compare, _Iterator>( std::move(__comp._M_comp), __it); } template struct _Iter_negate { _Predicate _M_pred; explicit _Iter_negate(_Predicate __pred) : _M_pred(std::move(__pred)) { } template bool operator()(_Iterator __it) { return !bool(_M_pred(*__it)); } }; template inline _Iter_negate<_Predicate> __negate(_Iter_pred<_Predicate> __pred) { return _Iter_negate<_Predicate>(std::move(__pred._M_pred)); } } } # 72 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template inline int __memcmp(const _Tp* __first1, const _Up* __first2, size_t __num) { static_assert(sizeof(_Tp) == sizeof(_Up), "can be compared with memcmp"); # 105 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 return __builtin_memcmp(__first1, __first2, sizeof(_Tp) * __num); } # 149 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline void iter_swap(_ForwardIterator1 __a, _ForwardIterator2 __b) { # 182 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 swap(*__a, *__b); } # 198 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template _ForwardIterator2 swap_ranges(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2) { ; for (; __first1 != __last1; ++__first1, (void)++__first2) std::iter_swap(__first1, __first2); return __first2; } # 227 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline const _Tp& min(const _Tp& __a, const _Tp& __b) { if (__b < __a) return __b; return __a; } # 251 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline const _Tp& max(const _Tp& __a, const _Tp& __b) { if (__a < __b) return __b; return __a; } # 275 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline const _Tp& min(const _Tp& __a, const _Tp& __b, _Compare __comp) { if (__comp(__b, __a)) return __b; return __a; } # 297 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline const _Tp& max(const _Tp& __a, const _Tp& __b, _Compare __comp) { if (__comp(__a, __b)) return __b; return __a; } template inline _Iterator __niter_base(_Iterator __it) noexcept(std::is_nothrow_copy_constructible<_Iterator>::value) { return __it; } template inline _From __niter_wrap(_From __from, _To __res) { return __from + (__res - std::__niter_base(__from)); } template inline _Iterator __niter_wrap(const _Iterator&, _Iterator __res) { return __res; } template struct __copy_move { template static _OI __copy_m(_II __first, _II __last, _OI __result) { for (; __first != __last; ++__result, (void)++__first) *__result = *__first; return __result; } }; template struct __copy_move { template static _OI __copy_m(_II __first, _II __last, _OI __result) { for (; __first != __last; ++__result, (void)++__first) *__result = std::move(*__first); return __result; } }; template<> struct __copy_move { template static _OI __copy_m(_II __first, _II __last, _OI __result) { typedef typename iterator_traits<_II>::difference_type _Distance; for(_Distance __n = __last - __first; __n > 0; --__n) { *__result = *__first; ++__first; ++__result; } return __result; } }; template<> struct __copy_move { template static _OI __copy_m(_II __first, _II __last, _OI __result) { typedef typename iterator_traits<_II>::difference_type _Distance; for(_Distance __n = __last - __first; __n > 0; --__n) { *__result = std::move(*__first); ++__first; ++__result; } return __result; } }; template struct __copy_move<_IsMove, true, random_access_iterator_tag> { template static _Tp* __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result) { using __assignable = conditional<_IsMove, is_move_assignable<_Tp>, is_copy_assignable<_Tp>>; static_assert( __assignable::type::value, "type is not assignable" ); const ptrdiff_t _Num = __last - __first; if (_Num) __builtin_memmove(__result, __first, sizeof(_Tp) * _Num); return __result + _Num; } }; template struct char_traits; template class istreambuf_iterator; template class ostreambuf_iterator; template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, ostreambuf_iterator<_CharT, char_traits<_CharT> > >::__type __copy_move_a2(_CharT*, _CharT*, ostreambuf_iterator<_CharT, char_traits<_CharT> >); template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, ostreambuf_iterator<_CharT, char_traits<_CharT> > >::__type __copy_move_a2(const _CharT*, const _CharT*, ostreambuf_iterator<_CharT, char_traits<_CharT> >); template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, _CharT*>::__type __copy_move_a2(istreambuf_iterator<_CharT, char_traits<_CharT> >, istreambuf_iterator<_CharT, char_traits<_CharT> >, _CharT*); template inline _OI __copy_move_a2(_II __first, _II __last, _OI __result) { typedef typename iterator_traits<_II>::iterator_category _Category; return std::__copy_move<_IsMove, __memcpyable<_OI, _II>::__value, _Category>::__copy_m(__first, __last, __result); } template struct _Deque_iterator; template _OI __copy_move_a1(std::_Deque_iterator<_Tp, _Ref, _Ptr>, std::_Deque_iterator<_Tp, _Ref, _Ptr>, _OI); template std::_Deque_iterator<_OTp, _OTp&, _OTp*> __copy_move_a1(std::_Deque_iterator<_ITp, _IRef, _IPtr>, std::_Deque_iterator<_ITp, _IRef, _IPtr>, std::_Deque_iterator<_OTp, _OTp&, _OTp*>); template typename __gnu_cxx::__enable_if< __is_random_access_iter<_II>::__value, std::_Deque_iterator<_Tp, _Tp&, _Tp*> >::__type __copy_move_a1(_II, _II, std::_Deque_iterator<_Tp, _Tp&, _Tp*>); template inline _OI __copy_move_a1(_II __first, _II __last, _OI __result) { return std::__copy_move_a2<_IsMove>(__first, __last, __result); } template inline _OI __copy_move_a(_II __first, _II __last, _OI __result) { return std::__niter_wrap(__result, std::__copy_move_a1<_IsMove>(std::__niter_base(__first), std::__niter_base(__last), std::__niter_base(__result))); } template _OI __copy_move_a(const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&, const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&, _OI); template __gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat> __copy_move_a(_II, _II, const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&); template ::__gnu_debug::_Safe_iterator<_OIte, _OSeq, _OCat> __copy_move_a(const ::__gnu_debug::_Safe_iterator<_IIte, _ISeq, _ICat>&, const ::__gnu_debug::_Safe_iterator<_IIte, _ISeq, _ICat>&, const ::__gnu_debug::_Safe_iterator<_OIte, _OSeq, _OCat>&); # 557 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline _OI copy(_II __first, _II __last, _OI __result) { ; return std::__copy_move_a<__is_move_iterator<_II>::__value> (std::__miter_base(__first), std::__miter_base(__last), __result); } # 590 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline _OI move(_II __first, _II __last, _OI __result) { ; return std::__copy_move_a(std::__miter_base(__first), std::__miter_base(__last), __result); } template struct __copy_move_backward { template static _BI2 __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result) { while (__first != __last) *--__result = *--__last; return __result; } }; template struct __copy_move_backward { template static _BI2 __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result) { while (__first != __last) *--__result = std::move(*--__last); return __result; } }; template<> struct __copy_move_backward { template static _BI2 __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result) { typename iterator_traits<_BI1>::difference_type __n = __last - __first; for (; __n > 0; --__n) *--__result = *--__last; return __result; } }; template<> struct __copy_move_backward { template static _BI2 __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result) { typename iterator_traits<_BI1>::difference_type __n = __last - __first; for (; __n > 0; --__n) *--__result = std::move(*--__last); return __result; } }; template struct __copy_move_backward<_IsMove, true, random_access_iterator_tag> { template static _Tp* __copy_move_b(const _Tp* __first, const _Tp* __last, _Tp* __result) { using __assignable = conditional<_IsMove, is_move_assignable<_Tp>, is_copy_assignable<_Tp>>; static_assert( __assignable::type::value, "type is not assignable" ); const ptrdiff_t _Num = __last - __first; if (_Num) __builtin_memmove(__result - _Num, __first, sizeof(_Tp) * _Num); return __result - _Num; } }; template inline _BI2 __copy_move_backward_a2(_BI1 __first, _BI1 __last, _BI2 __result) { typedef typename iterator_traits<_BI1>::iterator_category _Category; return std::__copy_move_backward<_IsMove, __memcpyable<_BI2, _BI1>::__value, _Category>::__copy_move_b(__first, __last, __result); } template inline _BI2 __copy_move_backward_a1(_BI1 __first, _BI1 __last, _BI2 __result) { return std::__copy_move_backward_a2<_IsMove>(__first, __last, __result); } template _OI __copy_move_backward_a1(std::_Deque_iterator<_Tp, _Ref, _Ptr>, std::_Deque_iterator<_Tp, _Ref, _Ptr>, _OI); template std::_Deque_iterator<_OTp, _OTp&, _OTp*> __copy_move_backward_a1( std::_Deque_iterator<_ITp, _IRef, _IPtr>, std::_Deque_iterator<_ITp, _IRef, _IPtr>, std::_Deque_iterator<_OTp, _OTp&, _OTp*>); template typename __gnu_cxx::__enable_if< __is_random_access_iter<_II>::__value, std::_Deque_iterator<_Tp, _Tp&, _Tp*> >::__type __copy_move_backward_a1(_II, _II, std::_Deque_iterator<_Tp, _Tp&, _Tp*>); template inline _OI __copy_move_backward_a(_II __first, _II __last, _OI __result) { return std::__niter_wrap(__result, std::__copy_move_backward_a1<_IsMove> (std::__niter_base(__first), std::__niter_base(__last), std::__niter_base(__result))); } template _OI __copy_move_backward_a( const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&, const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&, _OI); template __gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat> __copy_move_backward_a(_II, _II, const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&); template ::__gnu_debug::_Safe_iterator<_OIte, _OSeq, _OCat> __copy_move_backward_a( const ::__gnu_debug::_Safe_iterator<_IIte, _ISeq, _ICat>&, const ::__gnu_debug::_Safe_iterator<_IIte, _ISeq, _ICat>&, const ::__gnu_debug::_Safe_iterator<_OIte, _OSeq, _OCat>&); # 794 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline _BI2 copy_backward(_BI1 __first, _BI1 __last, _BI2 __result) { ; return std::__copy_move_backward_a<__is_move_iterator<_BI1>::__value> (std::__miter_base(__first), std::__miter_base(__last), __result); } # 830 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline _BI2 move_backward(_BI1 __first, _BI1 __last, _BI2 __result) { ; return std::__copy_move_backward_a(std::__miter_base(__first), std::__miter_base(__last), __result); } template inline typename __gnu_cxx::__enable_if::__value, void>::__type __fill_a1(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) { for (; __first != __last; ++__first) *__first = __value; } template inline typename __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, void>::__type __fill_a1(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) { const _Tp __tmp = __value; for (; __first != __last; ++__first) *__first = __tmp; } template inline typename __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, void>::__type __fill_a1(_Tp* __first, _Tp* __last, const _Tp& __c) { const _Tp __tmp = __c; # 892 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 if (const size_t __len = __last - __first) __builtin_memset(__first, static_cast(__tmp), __len); } template inline void __fill_a1(::__gnu_cxx::__normal_iterator<_Ite, _Cont> __first, ::__gnu_cxx::__normal_iterator<_Ite, _Cont> __last, const _Tp& __value) { std::__fill_a1(__first.base(), __last.base(), __value); } template void __fill_a1(const std::_Deque_iterator<_Tp, _Tp&, _Tp*>&, const std::_Deque_iterator<_Tp, _Tp&, _Tp*>&, const _VTp&); template inline void __fill_a(_FIte __first, _FIte __last, const _Tp& __value) { std::__fill_a1(__first, __last, __value); } template void __fill_a(const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&, const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&, const _Tp&); # 934 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline void fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) { ; std::__fill_a(__first, __last, __value); } inline constexpr int __size_to_integer(int __n) { return __n; } inline constexpr unsigned __size_to_integer(unsigned __n) { return __n; } inline constexpr long __size_to_integer(long __n) { return __n; } inline constexpr unsigned long __size_to_integer(unsigned long __n) { return __n; } inline constexpr long long __size_to_integer(long long __n) { return __n; } inline constexpr unsigned long long __size_to_integer(unsigned long long __n) { return __n; } # 986 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 inline constexpr long long __size_to_integer(float __n) { return __n; } inline constexpr long long __size_to_integer(double __n) { return __n; } inline constexpr long long __size_to_integer(long double __n) { return __n; } template inline typename __gnu_cxx::__enable_if::__value, _OutputIterator>::__type __fill_n_a1(_OutputIterator __first, _Size __n, const _Tp& __value) { for (; __n > 0; --__n, (void) ++__first) *__first = __value; return __first; } template inline typename __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, _OutputIterator>::__type __fill_n_a1(_OutputIterator __first, _Size __n, const _Tp& __value) { const _Tp __tmp = __value; for (; __n > 0; --__n, (void) ++__first) *__first = __tmp; return __first; } template ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat> __fill_n_a(const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>& __first, _Size __n, const _Tp& __value, std::input_iterator_tag); template inline _OutputIterator __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value, std::output_iterator_tag) { static_assert(is_integral<_Size>{}, "fill_n must pass integral size"); return __fill_n_a1(__first, __n, __value); } template inline _OutputIterator __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value, std::input_iterator_tag) { static_assert(is_integral<_Size>{}, "fill_n must pass integral size"); return __fill_n_a1(__first, __n, __value); } template inline _OutputIterator __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value, std::random_access_iterator_tag) { static_assert(is_integral<_Size>{}, "fill_n must pass integral size"); if (__n <= 0) return __first; ; std::__fill_a(__first, __first + __n, __value); return __first + __n; } # 1086 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline _OI fill_n(_OI __first, _Size __n, const _Tp& __value) { return std::__fill_n_a(__first, std::__size_to_integer(__n), __value, std::__iterator_category(__first)); } template struct __equal { template static bool equal(_II1 __first1, _II1 __last1, _II2 __first2) { for (; __first1 != __last1; ++__first1, (void) ++__first2) if (!(*__first1 == *__first2)) return false; return true; } }; template<> struct __equal { template static bool equal(const _Tp* __first1, const _Tp* __last1, const _Tp* __first2) { if (const size_t __len = (__last1 - __first1)) return !std::__memcmp(__first1, __first2, __len); return true; } }; template typename __gnu_cxx::__enable_if< __is_random_access_iter<_II>::__value, bool>::__type __equal_aux1(std::_Deque_iterator<_Tp, _Ref, _Ptr>, std::_Deque_iterator<_Tp, _Ref, _Ptr>, _II); template bool __equal_aux1(std::_Deque_iterator<_Tp1, _Ref1, _Ptr1>, std::_Deque_iterator<_Tp1, _Ref1, _Ptr1>, std::_Deque_iterator<_Tp2, _Ref2, _Ptr2>); template typename __gnu_cxx::__enable_if< __is_random_access_iter<_II>::__value, bool>::__type __equal_aux1(_II, _II, std::_Deque_iterator<_Tp, _Ref, _Ptr>); template inline bool __equal_aux1(_II1 __first1, _II1 __last1, _II2 __first2) { typedef typename iterator_traits<_II1>::value_type _ValueType1; const bool __simple = ((__is_integer<_ValueType1>::__value || __is_pointer<_ValueType1>::__value) && __memcmpable<_II1, _II2>::__value); return std::__equal<__simple>::equal(__first1, __last1, __first2); } template inline bool __equal_aux(_II1 __first1, _II1 __last1, _II2 __first2) { return std::__equal_aux1(std::__niter_base(__first1), std::__niter_base(__last1), std::__niter_base(__first2)); } template bool __equal_aux(const ::__gnu_debug::_Safe_iterator<_II1, _Seq1, _Cat1>&, const ::__gnu_debug::_Safe_iterator<_II1, _Seq1, _Cat1>&, _II2); template bool __equal_aux(_II1, _II1, const ::__gnu_debug::_Safe_iterator<_II2, _Seq2, _Cat2>&); template bool __equal_aux(const ::__gnu_debug::_Safe_iterator<_II1, _Seq1, _Cat1>&, const ::__gnu_debug::_Safe_iterator<_II1, _Seq1, _Cat1>&, const ::__gnu_debug::_Safe_iterator<_II2, _Seq2, _Cat2>&); template struct __lc_rai { template static _II1 __newlast1(_II1, _II1 __last1, _II2, _II2) { return __last1; } template static bool __cnd2(_II __first, _II __last) { return __first != __last; } }; template<> struct __lc_rai { template static _RAI1 __newlast1(_RAI1 __first1, _RAI1 __last1, _RAI2 __first2, _RAI2 __last2) { const typename iterator_traits<_RAI1>::difference_type __diff1 = __last1 - __first1; const typename iterator_traits<_RAI2>::difference_type __diff2 = __last2 - __first2; return __diff2 < __diff1 ? __first1 + __diff2 : __last1; } template static bool __cnd2(_RAI, _RAI) { return true; } }; template bool __lexicographical_compare_impl(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2, _Compare __comp) { typedef typename iterator_traits<_II1>::iterator_category _Category1; typedef typename iterator_traits<_II2>::iterator_category _Category2; typedef std::__lc_rai<_Category1, _Category2> __rai_type; __last1 = __rai_type::__newlast1(__first1, __last1, __first2, __last2); for (; __first1 != __last1 && __rai_type::__cnd2(__first2, __last2); ++__first1, (void)++__first2) { if (__comp(__first1, __first2)) return true; if (__comp(__first2, __first1)) return false; } return __first1 == __last1 && __first2 != __last2; } template struct __lexicographical_compare { template static bool __lc(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2) { using __gnu_cxx::__ops::__iter_less_iter; return std::__lexicographical_compare_impl(__first1, __last1, __first2, __last2, __iter_less_iter()); } }; template<> struct __lexicographical_compare { template static bool __lc(const _Tp* __first1, const _Tp* __last1, const _Up* __first2, const _Up* __last2) { const size_t __len1 = __last1 - __first1; const size_t __len2 = __last2 - __first2; if (const size_t __len = std::min(__len1, __len2)) if (int __result = std::__memcmp(__first1, __first2, __len)) return __result < 0; return __len1 < __len2; } }; template inline bool __lexicographical_compare_aux(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2) { typedef typename iterator_traits<_II1>::value_type _ValueType1; typedef typename iterator_traits<_II2>::value_type _ValueType2; const bool __simple = (__is_memcmp_ordered_with<_ValueType1, _ValueType2>::__value && __is_pointer<_II1>::__value && __is_pointer<_II2>::__value ); return std::__lexicographical_compare<__simple>::__lc(__first1, __last1, __first2, __last2); } template _ForwardIterator __lower_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val, _Compare __comp) { typedef typename iterator_traits<_ForwardIterator>::difference_type _DistanceType; _DistanceType __len = std::distance(__first, __last); while (__len > 0) { _DistanceType __half = __len >> 1; _ForwardIterator __middle = __first; std::advance(__middle, __half); if (__comp(__middle, __val)) { __first = __middle; ++__first; __len = __len - __half - 1; } else __len = __half; } return __first; } # 1345 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline _ForwardIterator lower_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val) { ; return std::__lower_bound(__first, __last, __val, __gnu_cxx::__ops::__iter_less_val()); } inline constexpr int __lg(int __n) { return (int)sizeof(int) * 8 - 1 - __builtin_clz(__n); } inline constexpr unsigned __lg(unsigned __n) { return (int)sizeof(int) * 8 - 1 - __builtin_clz(__n); } inline constexpr long __lg(long __n) { return (int)sizeof(long) * 8 - 1 - __builtin_clzl(__n); } inline constexpr unsigned long __lg(unsigned long __n) { return (int)sizeof(long) * 8 - 1 - __builtin_clzl(__n); } inline constexpr long long __lg(long long __n) { return (int)sizeof(long long) * 8 - 1 - __builtin_clzll(__n); } inline constexpr unsigned long long __lg(unsigned long long __n) { return (int)sizeof(long long) * 8 - 1 - __builtin_clzll(__n); } # 1401 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline bool equal(_II1 __first1, _II1 __last1, _II2 __first2) { ; return std::__equal_aux(__first1, __last1, __first2); } # 1432 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline bool equal(_IIter1 __first1, _IIter1 __last1, _IIter2 __first2, _BinaryPredicate __binary_pred) { ; for (; __first1 != __last1; ++__first1, (void)++__first2) if (!bool(__binary_pred(*__first1, *__first2))) return false; return true; } template inline bool __equal4(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2) { using _RATag = random_access_iterator_tag; using _Cat1 = typename iterator_traits<_II1>::iterator_category; using _Cat2 = typename iterator_traits<_II2>::iterator_category; using _RAIters = __and_, is_same<_Cat2, _RATag>>; if (_RAIters()) { auto __d1 = std::distance(__first1, __last1); auto __d2 = std::distance(__first2, __last2); if (__d1 != __d2) return false; return std::equal(__first1, __last1, __first2); } for (; __first1 != __last1 && __first2 != __last2; ++__first1, (void)++__first2) if (!(*__first1 == *__first2)) return false; return __first1 == __last1 && __first2 == __last2; } template inline bool __equal4(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2, _BinaryPredicate __binary_pred) { using _RATag = random_access_iterator_tag; using _Cat1 = typename iterator_traits<_II1>::iterator_category; using _Cat2 = typename iterator_traits<_II2>::iterator_category; using _RAIters = __and_, is_same<_Cat2, _RATag>>; if (_RAIters()) { auto __d1 = std::distance(__first1, __last1); auto __d2 = std::distance(__first2, __last2); if (__d1 != __d2) return false; return std::equal(__first1, __last1, __first2, __binary_pred); } for (; __first1 != __last1 && __first2 != __last2; ++__first1, (void)++__first2) if (!bool(__binary_pred(*__first1, *__first2))) return false; return __first1 == __last1 && __first2 == __last2; } # 1587 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline bool lexicographical_compare(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2) { # 1602 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 ; ; return std::__lexicographical_compare_aux(std::__niter_base(__first1), std::__niter_base(__last1), std::__niter_base(__first2), std::__niter_base(__last2)); } # 1624 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline bool lexicographical_compare(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2, _Compare __comp) { ; ; return std::__lexicographical_compare_impl (__first1, __last1, __first2, __last2, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } # 1737 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template pair<_InputIterator1, _InputIterator2> __mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _BinaryPredicate __binary_pred) { while (__first1 != __last1 && __binary_pred(__first1, __first2)) { ++__first1; ++__first2; } return pair<_InputIterator1, _InputIterator2>(__first1, __first2); } # 1765 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline pair<_InputIterator1, _InputIterator2> mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2) { ; return std::__mismatch(__first1, __last1, __first2, __gnu_cxx::__ops::__iter_equal_to_iter()); } # 1799 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline pair<_InputIterator1, _InputIterator2> mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _BinaryPredicate __binary_pred) { ; return std::__mismatch(__first1, __last1, __first2, __gnu_cxx::__ops::__iter_comp_iter(__binary_pred)); } # 1906 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline _InputIterator __find_if(_InputIterator __first, _InputIterator __last, _Predicate __pred, input_iterator_tag) { while (__first != __last && !__pred(__first)) ++__first; return __first; } template _RandomAccessIterator __find_if(_RandomAccessIterator __first, _RandomAccessIterator __last, _Predicate __pred, random_access_iterator_tag) { typename iterator_traits<_RandomAccessIterator>::difference_type __trip_count = (__last - __first) >> 2; for (; __trip_count > 0; --__trip_count) { if (__pred(__first)) return __first; ++__first; if (__pred(__first)) return __first; ++__first; if (__pred(__first)) return __first; ++__first; if (__pred(__first)) return __first; ++__first; } switch (__last - __first) { case 3: if (__pred(__first)) return __first; ++__first; case 2: if (__pred(__first)) return __first; ++__first; case 1: if (__pred(__first)) return __first; ++__first; case 0: default: return __last; } } template inline _Iterator __find_if(_Iterator __first, _Iterator __last, _Predicate __pred) { return __find_if(__first, __last, __pred, std::__iterator_category(__first)); } template typename iterator_traits<_InputIterator>::difference_type __count_if(_InputIterator __first, _InputIterator __last, _Predicate __pred) { typename iterator_traits<_InputIterator>::difference_type __n = 0; for (; __first != __last; ++__first) if (__pred(__first)) ++__n; return __n; } template bool __is_permutation(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2, _BinaryPredicate __pred) { for (; __first1 != __last1; ++__first1, (void)++__first2) if (!__pred(__first1, __first2)) break; if (__first1 == __last1) return true; _ForwardIterator2 __last2 = __first2; std::advance(__last2, std::distance(__first1, __last1)); for (_ForwardIterator1 __scan = __first1; __scan != __last1; ++__scan) { if (__scan != std::__find_if(__first1, __scan, __gnu_cxx::__ops::__iter_comp_iter(__pred, __scan))) continue; auto __matches = std::__count_if(__first2, __last2, __gnu_cxx::__ops::__iter_comp_iter(__pred, __scan)); if (0 == __matches || std::__count_if(__scan, __last1, __gnu_cxx::__ops::__iter_comp_iter(__pred, __scan)) != __matches) return false; } return true; } # 2041 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algobase.h" 3 template inline bool is_permutation(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2) { ; return std::__is_permutation(__first1, __last1, __first2, __gnu_cxx::__ops::__iter_equal_to_iter()); } } # 62 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/algorithm" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 1 3 # 59 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 3 # 60 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/algorithmfwd.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/algorithmfwd.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 199 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/algorithmfwd.h" 3 template bool all_of(_IIter, _IIter, _Predicate); template bool any_of(_IIter, _IIter, _Predicate); template bool binary_search(_FIter, _FIter, const _Tp&); template bool binary_search(_FIter, _FIter, const _Tp&, _Compare); # 232 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/algorithmfwd.h" 3 template _OIter copy(_IIter, _IIter, _OIter); template _BIter2 copy_backward(_BIter1, _BIter1, _BIter2); template _OIter copy_if(_IIter, _IIter, _OIter, _Predicate); template _OIter copy_n(_IIter, _Size, _OIter); template pair<_FIter, _FIter> equal_range(_FIter, _FIter, const _Tp&); template pair<_FIter, _FIter> equal_range(_FIter, _FIter, const _Tp&, _Compare); template void fill(_FIter, _FIter, const _Tp&); template _OIter fill_n(_OIter, _Size, const _Tp&); template _FIter1 find_end(_FIter1, _FIter1, _FIter2, _FIter2); template _FIter1 find_end(_FIter1, _FIter1, _FIter2, _FIter2, _BinaryPredicate); template _IIter find_if_not(_IIter, _IIter, _Predicate); template bool includes(_IIter1, _IIter1, _IIter2, _IIter2); template bool includes(_IIter1, _IIter1, _IIter2, _IIter2, _Compare); template void inplace_merge(_BIter, _BIter, _BIter); template void inplace_merge(_BIter, _BIter, _BIter, _Compare); template bool is_heap(_RAIter, _RAIter); template bool is_heap(_RAIter, _RAIter, _Compare); template _RAIter is_heap_until(_RAIter, _RAIter); template _RAIter is_heap_until(_RAIter, _RAIter, _Compare); template bool is_partitioned(_IIter, _IIter, _Predicate); template bool is_permutation(_FIter1, _FIter1, _FIter2); template bool is_permutation(_FIter1, _FIter1, _FIter2, _BinaryPredicate); template bool is_sorted(_FIter, _FIter); template bool is_sorted(_FIter, _FIter, _Compare); template _FIter is_sorted_until(_FIter, _FIter); template _FIter is_sorted_until(_FIter, _FIter, _Compare); template void iter_swap(_FIter1, _FIter2); template _FIter lower_bound(_FIter, _FIter, const _Tp&); template _FIter lower_bound(_FIter, _FIter, const _Tp&, _Compare); template void make_heap(_RAIter, _RAIter); template void make_heap(_RAIter, _RAIter, _Compare); template const _Tp& max(const _Tp&, const _Tp&); template const _Tp& max(const _Tp&, const _Tp&, _Compare); template const _Tp& min(const _Tp&, const _Tp&); template const _Tp& min(const _Tp&, const _Tp&, _Compare); template pair minmax(const _Tp&, const _Tp&); template pair minmax(const _Tp&, const _Tp&, _Compare); template pair<_FIter, _FIter> minmax_element(_FIter, _FIter); template pair<_FIter, _FIter> minmax_element(_FIter, _FIter, _Compare); template _Tp min(initializer_list<_Tp>); template _Tp min(initializer_list<_Tp>, _Compare); template _Tp max(initializer_list<_Tp>); template _Tp max(initializer_list<_Tp>, _Compare); template pair<_Tp, _Tp> minmax(initializer_list<_Tp>); template pair<_Tp, _Tp> minmax(initializer_list<_Tp>, _Compare); template bool next_permutation(_BIter, _BIter); template bool next_permutation(_BIter, _BIter, _Compare); template bool none_of(_IIter, _IIter, _Predicate); template _RAIter partial_sort_copy(_IIter, _IIter, _RAIter, _RAIter); template _RAIter partial_sort_copy(_IIter, _IIter, _RAIter, _RAIter, _Compare); template pair<_OIter1, _OIter2> partition_copy(_IIter, _IIter, _OIter1, _OIter2, _Predicate); template _FIter partition_point(_FIter, _FIter, _Predicate); template void pop_heap(_RAIter, _RAIter); template void pop_heap(_RAIter, _RAIter, _Compare); template bool prev_permutation(_BIter, _BIter); template bool prev_permutation(_BIter, _BIter, _Compare); template void push_heap(_RAIter, _RAIter); template void push_heap(_RAIter, _RAIter, _Compare); template _FIter remove(_FIter, _FIter, const _Tp&); template _FIter remove_if(_FIter, _FIter, _Predicate); template _OIter remove_copy(_IIter, _IIter, _OIter, const _Tp&); template _OIter remove_copy_if(_IIter, _IIter, _OIter, _Predicate); template _OIter replace_copy(_IIter, _IIter, _OIter, const _Tp&, const _Tp&); template _OIter replace_copy_if(_Iter, _Iter, _OIter, _Predicate, const _Tp&); template void reverse(_BIter, _BIter); template _OIter reverse_copy(_BIter, _BIter, _OIter); inline namespace _V2 { template _FIter rotate(_FIter, _FIter, _FIter); } template _OIter rotate_copy(_FIter, _FIter, _FIter, _OIter); # 625 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/algorithmfwd.h" 3 template void shuffle(_RAIter, _RAIter, _UGenerator&&); template void sort_heap(_RAIter, _RAIter); template void sort_heap(_RAIter, _RAIter, _Compare); template _BIter stable_partition(_BIter, _BIter, _Predicate); # 658 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/algorithmfwd.h" 3 template _FIter2 swap_ranges(_FIter1, _FIter1, _FIter2); template _FIter unique(_FIter, _FIter); template _FIter unique(_FIter, _FIter, _BinaryPredicate); template _FIter upper_bound(_FIter, _FIter, const _Tp&); template _FIter upper_bound(_FIter, _FIter, const _Tp&, _Compare); template _FIter adjacent_find(_FIter, _FIter); template _FIter adjacent_find(_FIter, _FIter, _BinaryPredicate); template typename iterator_traits<_IIter>::difference_type count(_IIter, _IIter, const _Tp&); template typename iterator_traits<_IIter>::difference_type count_if(_IIter, _IIter, _Predicate); template bool equal(_IIter1, _IIter1, _IIter2); template bool equal(_IIter1, _IIter1, _IIter2, _BinaryPredicate); template _IIter find(_IIter, _IIter, const _Tp&); template _FIter1 find_first_of(_FIter1, _FIter1, _FIter2, _FIter2); template _FIter1 find_first_of(_FIter1, _FIter1, _FIter2, _FIter2, _BinaryPredicate); template _IIter find_if(_IIter, _IIter, _Predicate); template _Funct for_each(_IIter, _IIter, _Funct); template void generate(_FIter, _FIter, _Generator); template _OIter generate_n(_OIter, _Size, _Generator); template bool lexicographical_compare(_IIter1, _IIter1, _IIter2, _IIter2); template bool lexicographical_compare(_IIter1, _IIter1, _IIter2, _IIter2, _Compare); template _FIter max_element(_FIter, _FIter); template _FIter max_element(_FIter, _FIter, _Compare); template _OIter merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter); template _OIter merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare); template _FIter min_element(_FIter, _FIter); template _FIter min_element(_FIter, _FIter, _Compare); template pair<_IIter1, _IIter2> mismatch(_IIter1, _IIter1, _IIter2); template pair<_IIter1, _IIter2> mismatch(_IIter1, _IIter1, _IIter2, _BinaryPredicate); template void nth_element(_RAIter, _RAIter, _RAIter); template void nth_element(_RAIter, _RAIter, _RAIter, _Compare); template void partial_sort(_RAIter, _RAIter, _RAIter); template void partial_sort(_RAIter, _RAIter, _RAIter, _Compare); template _BIter partition(_BIter, _BIter, _Predicate); template void random_shuffle(_RAIter, _RAIter); template void random_shuffle(_RAIter, _RAIter, _Generator&&); template void replace(_FIter, _FIter, const _Tp&, const _Tp&); template void replace_if(_FIter, _FIter, _Predicate, const _Tp&); template _FIter1 search(_FIter1, _FIter1, _FIter2, _FIter2); template _FIter1 search(_FIter1, _FIter1, _FIter2, _FIter2, _BinaryPredicate); template _FIter search_n(_FIter, _FIter, _Size, const _Tp&); template _FIter search_n(_FIter, _FIter, _Size, const _Tp&, _BinaryPredicate); template _OIter set_difference(_IIter1, _IIter1, _IIter2, _IIter2, _OIter); template _OIter set_difference(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare); template _OIter set_intersection(_IIter1, _IIter1, _IIter2, _IIter2, _OIter); template _OIter set_intersection(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare); template _OIter set_symmetric_difference(_IIter1, _IIter1, _IIter2, _IIter2, _OIter); template _OIter set_symmetric_difference(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare); template _OIter set_union(_IIter1, _IIter1, _IIter2, _IIter2, _OIter); template _OIter set_union(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare); template void sort(_RAIter, _RAIter); template void sort(_RAIter, _RAIter, _Compare); template void stable_sort(_RAIter, _RAIter); template void stable_sort(_RAIter, _RAIter, _Compare); template _OIter transform(_IIter, _IIter, _OIter, _UnaryOperation); template _OIter transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation); template _OIter unique_copy(_IIter, _IIter, _OIter); template _OIter unique_copy(_IIter, _IIter, _OIter, _BinaryPredicate); } # 61 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 1 3 # 62 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template _Distance __is_heap_until(_RandomAccessIterator __first, _Distance __n, _Compare& __comp) { _Distance __parent = 0; for (_Distance __child = 1; __child < __n; ++__child) { if (__comp(__first + __parent, __first + __child)) return __child; if ((__child & 1) == 0) ++__parent; } return __n; } template inline bool __is_heap(_RandomAccessIterator __first, _Distance __n) { __gnu_cxx::__ops::_Iter_less_iter __comp; return std::__is_heap_until(__first, __n, __comp) == __n; } template inline bool __is_heap(_RandomAccessIterator __first, _Compare __comp, _Distance __n) { typedef __decltype(__comp) _Cmp; __gnu_cxx::__ops::_Iter_comp_iter<_Cmp> __cmp(std::move(__comp)); return std::__is_heap_until(__first, __n, __cmp) == __n; } template inline bool __is_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) { return std::__is_heap(__first, std::distance(__first, __last)); } template inline bool __is_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { return std::__is_heap(__first, std::move(__comp), std::distance(__first, __last)); } template void __push_heap(_RandomAccessIterator __first, _Distance __holeIndex, _Distance __topIndex, _Tp __value, _Compare& __comp) { _Distance __parent = (__holeIndex - 1) / 2; while (__holeIndex > __topIndex && __comp(__first + __parent, __value)) { *(__first + __holeIndex) = std::move(*(__first + __parent)); __holeIndex = __parent; __parent = (__holeIndex - 1) / 2; } *(__first + __holeIndex) = std::move(__value); } # 158 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline void push_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) { typedef typename iterator_traits<_RandomAccessIterator>::value_type _ValueType; typedef typename iterator_traits<_RandomAccessIterator>::difference_type _DistanceType; ; ; ; __gnu_cxx::__ops::_Iter_less_val __comp; _ValueType __value = std::move(*(__last - 1)); std::__push_heap(__first, _DistanceType((__last - __first) - 1), _DistanceType(0), std::move(__value), __comp); } # 194 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline void push_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { typedef typename iterator_traits<_RandomAccessIterator>::value_type _ValueType; typedef typename iterator_traits<_RandomAccessIterator>::difference_type _DistanceType; ; ; ; __decltype(__gnu_cxx::__ops::__iter_comp_val(std::move(__comp))) __cmp(std::move(__comp)); _ValueType __value = std::move(*(__last - 1)); std::__push_heap(__first, _DistanceType((__last - __first) - 1), _DistanceType(0), std::move(__value), __cmp); } template void __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, _Distance __len, _Tp __value, _Compare __comp) { const _Distance __topIndex = __holeIndex; _Distance __secondChild = __holeIndex; while (__secondChild < (__len - 1) / 2) { __secondChild = 2 * (__secondChild + 1); if (__comp(__first + __secondChild, __first + (__secondChild - 1))) __secondChild--; *(__first + __holeIndex) = std::move(*(__first + __secondChild)); __holeIndex = __secondChild; } if ((__len & 1) == 0 && __secondChild == (__len - 2) / 2) { __secondChild = 2 * (__secondChild + 1); *(__first + __holeIndex) = std::move(*(__first + (__secondChild - 1))); __holeIndex = __secondChild - 1; } __decltype(__gnu_cxx::__ops::__iter_comp_val(std::move(__comp))) __cmp(std::move(__comp)); std::__push_heap(__first, __holeIndex, __topIndex, std::move(__value), __cmp); } template inline void __pop_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _RandomAccessIterator __result, _Compare& __comp) { typedef typename iterator_traits<_RandomAccessIterator>::value_type _ValueType; typedef typename iterator_traits<_RandomAccessIterator>::difference_type _DistanceType; _ValueType __value = std::move(*__result); *__result = std::move(*__first); std::__adjust_heap(__first, _DistanceType(0), _DistanceType(__last - __first), std::move(__value), __comp); } # 279 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline void pop_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) { ; ; ; ; if (__last - __first > 1) { --__last; __gnu_cxx::__ops::_Iter_less_iter __comp; std::__pop_heap(__first, __last, __last, __comp); } } # 313 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline void pop_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { ; ; ; ; if (__last - __first > 1) { typedef __decltype(__comp) _Cmp; __gnu_cxx::__ops::_Iter_comp_iter<_Cmp> __cmp(std::move(__comp)); --__last; std::__pop_heap(__first, __last, __last, __cmp); } } template void __make_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare& __comp) { typedef typename iterator_traits<_RandomAccessIterator>::value_type _ValueType; typedef typename iterator_traits<_RandomAccessIterator>::difference_type _DistanceType; if (__last - __first < 2) return; const _DistanceType __len = __last - __first; _DistanceType __parent = (__len - 2) / 2; while (true) { _ValueType __value = std::move(*(__first + __parent)); std::__adjust_heap(__first, __parent, __len, std::move(__value), __comp); if (__parent == 0) return; __parent--; } } # 371 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline void make_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) { ; ; __gnu_cxx::__ops::_Iter_less_iter __comp; std::__make_heap(__first, __last, __comp); } # 398 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline void make_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { ; ; typedef __decltype(__comp) _Cmp; __gnu_cxx::__ops::_Iter_comp_iter<_Cmp> __cmp(std::move(__comp)); std::__make_heap(__first, __last, __cmp); } template void __sort_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare& __comp) { while (__last - __first > 1) { --__last; std::__pop_heap(__first, __last, __last, __comp); } } # 436 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline void sort_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) { ; ; ; __gnu_cxx::__ops::_Iter_less_iter __comp; std::__sort_heap(__first, __last, __comp); } # 464 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline void sort_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { ; ; ; typedef __decltype(__comp) _Cmp; __gnu_cxx::__ops::_Iter_comp_iter<_Cmp> __cmp(std::move(__comp)); std::__sort_heap(__first, __last, __cmp); } # 493 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline _RandomAccessIterator is_heap_until(_RandomAccessIterator __first, _RandomAccessIterator __last) { ; ; __gnu_cxx::__ops::_Iter_less_iter __comp; return __first + std::__is_heap_until(__first, std::distance(__first, __last), __comp); } # 522 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline _RandomAccessIterator is_heap_until(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { ; ; typedef __decltype(__comp) _Cmp; __gnu_cxx::__ops::_Iter_comp_iter<_Cmp> __cmp(std::move(__comp)); return __first + std::__is_heap_until(__first, std::distance(__first, __last), __cmp); } # 547 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline bool is_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) { return std::is_heap_until(__first, __last) == __last; } # 561 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_heap.h" 3 template inline bool is_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { ; ; const auto __dist = std::distance(__first, __last); typedef __decltype(__comp) _Cmp; __gnu_cxx::__ops::_Iter_comp_iter<_Cmp> __cmp(std::move(__comp)); return std::__is_heap_until(__first, __dist, __cmp) == __dist; } } # 62 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_tempbuf.h" 1 3 # 60 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_tempbuf.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_construct.h" 1 3 # 59 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_construct.h" 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/new" 1 3 # 27 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/new" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/new" 1 3 # 39 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/new" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/exception" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/exception" 3 #pragma GCC visibility push(default) # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception.h" 1 3 # 35 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception.h" 3 #pragma GCC visibility push(default) extern "C++" { namespace std { # 60 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception.h" 3 class exception { public: exception() noexcept { } virtual ~exception() noexcept; exception(const exception&) = default; exception& operator=(const exception&) = default; exception(exception&&) = default; exception& operator=(exception&&) = default; virtual const char* what() const noexcept; }; } } #pragma GCC visibility pop # 39 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/exception" 2 3 extern "C++" { namespace std { class bad_exception : public exception { public: bad_exception() noexcept { } virtual ~bad_exception() noexcept; virtual const char* what() const noexcept; }; typedef void (*terminate_handler) (); typedef void (*unexpected_handler) (); terminate_handler set_terminate(terminate_handler) noexcept; terminate_handler get_terminate() noexcept; void terminate() noexcept __attribute__ ((__noreturn__)); unexpected_handler set_unexpected(unexpected_handler) noexcept; unexpected_handler get_unexpected() noexcept; void unexpected() __attribute__ ((__noreturn__)); # 106 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/exception" 3 bool uncaught_exception() noexcept __attribute__ ((__pure__)); # 115 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/exception" 3 } namespace __gnu_cxx { # 137 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/exception" 3 void __verbose_terminate_handler(); } } #pragma GCC visibility pop # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception_ptr.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception_ptr.h" 3 #pragma GCC visibility push(default) # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cxxabi_init_exception.h" 1 3 # 35 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cxxabi_init_exception.h" 3 #pragma GCC visibility push(default) # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 # 35 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 3 typedef long int ptrdiff_t; # 102 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h" 1 3 # 19 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h" 3 typedef struct { long long __clang_max_align_nonce1 __attribute__((__aligned__(__alignof__(long long)))); long double __clang_max_align_nonce2 __attribute__((__aligned__(__alignof__(long double)))); } max_align_t; # 103 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 2 3 # 39 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cxxabi_init_exception.h" 2 3 # 50 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cxxabi_init_exception.h" 3 namespace std { class type_info; } namespace __cxxabiv1 { struct __cxa_refcounted_exception; extern "C" { void* __cxa_allocate_exception(size_t) noexcept; void __cxa_free_exception(void*) noexcept; __cxa_refcounted_exception* __cxa_init_primary_exception(void *object, std::type_info *tinfo, void ( *dest) (void *)) noexcept; } } #pragma GCC visibility pop # 39 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception_ptr.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/typeinfo" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/typeinfo" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/hash_bytes.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/hash_bytes.h" 3 namespace std { size_t _Hash_bytes(const void* __ptr, size_t __len, size_t __seed); size_t _Fnv_hash_bytes(const void* __ptr, size_t __len, size_t __seed); } # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/typeinfo" 2 3 #pragma GCC visibility push(default) extern "C++" { namespace __cxxabiv1 { class __class_type_info; } # 80 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/typeinfo" 3 namespace std { class type_info { public: virtual ~type_info(); const char* name() const noexcept { return __name[0] == '*' ? __name + 1 : __name; } # 115 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/typeinfo" 3 bool before(const type_info& __arg) const noexcept { return (__name[0] == '*' && __arg.__name[0] == '*') ? __name < __arg.__name : __builtin_strcmp (__name, __arg.__name) < 0; } bool operator==(const type_info& __arg) const noexcept { return ((__name == __arg.__name) || (__name[0] != '*' && __builtin_strcmp (__name, __arg.__name) == 0)); } # 138 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/typeinfo" 3 bool operator!=(const type_info& __arg) const noexcept { return !operator==(__arg); } size_t hash_code() const noexcept { return _Hash_bytes(name(), __builtin_strlen(name()), static_cast(0xc70f6907UL)); } virtual bool __is_pointer_p() const; virtual bool __is_function_p() const; virtual bool __do_catch(const type_info *__thr_type, void **__thr_obj, unsigned __outer) const; virtual bool __do_upcast(const __cxxabiv1::__class_type_info *__target, void **__obj_ptr) const; protected: const char *__name; explicit type_info(const char *__n): __name(__n) { } private: type_info& operator=(const type_info&); type_info(const type_info&); }; class bad_cast : public exception { public: bad_cast() noexcept { } virtual ~bad_cast() noexcept; virtual const char* what() const noexcept; }; class bad_typeid : public exception { public: bad_typeid () noexcept { } virtual ~bad_typeid() noexcept; virtual const char* what() const noexcept; }; } } #pragma GCC visibility pop # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception_ptr.h" 2 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/new" 1 3 # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception_ptr.h" 2 3 extern "C++" { namespace std { class type_info; namespace __exception_ptr { class exception_ptr; } using __exception_ptr::exception_ptr; exception_ptr current_exception() noexcept; template exception_ptr make_exception_ptr(_Ex) noexcept; void rethrow_exception(exception_ptr) __attribute__ ((__noreturn__)); namespace __exception_ptr { using std::rethrow_exception; class exception_ptr { void* _M_exception_object; explicit exception_ptr(void* __e) noexcept; void _M_addref() noexcept; void _M_release() noexcept; void *_M_get() const noexcept __attribute__ ((__pure__)); friend exception_ptr std::current_exception() noexcept; friend void std::rethrow_exception(exception_ptr); template friend exception_ptr std::make_exception_ptr(_Ex) noexcept; public: exception_ptr() noexcept; exception_ptr(const exception_ptr&) noexcept; exception_ptr(nullptr_t) noexcept : _M_exception_object(0) { } exception_ptr(exception_ptr&& __o) noexcept : _M_exception_object(__o._M_exception_object) { __o._M_exception_object = 0; } # 118 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception_ptr.h" 3 exception_ptr& operator=(const exception_ptr&) noexcept; exception_ptr& operator=(exception_ptr&& __o) noexcept { exception_ptr(static_cast(__o)).swap(*this); return *this; } ~exception_ptr() noexcept; void swap(exception_ptr&) noexcept; # 145 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception_ptr.h" 3 explicit operator bool() const { return _M_exception_object; } friend bool operator==(const exception_ptr&, const exception_ptr&) noexcept __attribute__ ((__pure__)); const class std::type_info* __cxa_exception_type() const noexcept __attribute__ ((__pure__)); }; bool operator==(const exception_ptr&, const exception_ptr&) noexcept __attribute__ ((__pure__)); bool operator!=(const exception_ptr&, const exception_ptr&) noexcept __attribute__ ((__pure__)); inline void swap(exception_ptr& __lhs, exception_ptr& __rhs) { __lhs.swap(__rhs); } template inline void __dest_thunk(void* __x) { static_cast<_Ex*>(__x)->~_Ex(); } } template exception_ptr make_exception_ptr(_Ex __ex) noexcept { void* __e = __cxxabiv1::__cxa_allocate_exception(sizeof(_Ex)); (void) __cxxabiv1::__cxa_init_primary_exception( __e, const_cast(&typeid(__ex)), __exception_ptr::__dest_thunk<_Ex>); try { ::new (__e) _Ex(__ex); return exception_ptr(__e); } catch(...) { __cxxabiv1::__cxa_free_exception(__e); return current_exception(); } # 215 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/exception_ptr.h" 3 } } } #pragma GCC visibility pop # 148 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/exception" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/nested_exception.h" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/nested_exception.h" 3 #pragma GCC visibility push(default) extern "C++" { namespace std { class nested_exception { exception_ptr _M_ptr; public: nested_exception() noexcept : _M_ptr(current_exception()) { } nested_exception(const nested_exception&) noexcept = default; nested_exception& operator=(const nested_exception&) noexcept = default; virtual ~nested_exception() noexcept; [[noreturn]] void rethrow_nested() const { if (_M_ptr) rethrow_exception(_M_ptr); std::terminate(); } exception_ptr nested_ptr() const noexcept { return _M_ptr; } }; template struct _Nested_exception : public _Except, public nested_exception { explicit _Nested_exception(const _Except& __ex) : _Except(__ex) { } explicit _Nested_exception(_Except&& __ex) : _Except(static_cast<_Except&&>(__ex)) { } }; template [[noreturn]] inline void __throw_with_nested_impl(_Tp&& __t, true_type) { using _Up = typename remove_reference<_Tp>::type; throw _Nested_exception<_Up>{std::forward<_Tp>(__t)}; } template [[noreturn]] inline void __throw_with_nested_impl(_Tp&& __t, false_type) { throw std::forward<_Tp>(__t); } template [[noreturn]] inline void throw_with_nested(_Tp&& __t) { using _Up = typename decay<_Tp>::type; using _CopyConstructible = __and_, is_move_constructible<_Up>>; static_assert(_CopyConstructible::value, "throw_with_nested argument must be CopyConstructible"); using __nest = __and_, __bool_constant, __not_>>; std::__throw_with_nested_impl(std::forward<_Tp>(__t), __nest{}); } template using __rethrow_if_nested_cond = typename enable_if< __and_, __or_<__not_>, is_convertible<_Tp*, nested_exception*>>>::value >::type; template inline __rethrow_if_nested_cond<_Ex> __rethrow_if_nested_impl(const _Ex* __ptr) { if (auto __ne_ptr = dynamic_cast(__ptr)) __ne_ptr->rethrow_nested(); } inline void __rethrow_if_nested_impl(const void*) { } template inline void rethrow_if_nested(const _Ex& __ex) { std::__rethrow_if_nested_impl(std::__addressof(__ex)); } } } #pragma GCC visibility pop # 149 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/exception" 2 3 # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/new" 2 3 #pragma GCC visibility push(default) extern "C++" { namespace std { class bad_alloc : public exception { public: bad_alloc() throw() { } bad_alloc(const bad_alloc&) = default; bad_alloc& operator=(const bad_alloc&) = default; virtual ~bad_alloc() throw(); virtual const char* what() const throw(); }; class bad_array_new_length : public bad_alloc { public: bad_array_new_length() throw() { } virtual ~bad_array_new_length() throw(); virtual const char* what() const throw(); }; struct nothrow_t { explicit nothrow_t() = default; }; extern const nothrow_t nothrow; typedef void (*new_handler)(); new_handler set_new_handler(new_handler) throw(); new_handler get_new_handler() noexcept; } # 126 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/new" 3 void* operator new(std::size_t) __attribute__((__externally_visible__)); void* operator new[](std::size_t) __attribute__((__externally_visible__)); void operator delete(void*) noexcept __attribute__((__externally_visible__)); void operator delete[](void*) noexcept __attribute__((__externally_visible__)); void* operator new(std::size_t, const std::nothrow_t&) noexcept __attribute__((__externally_visible__, __malloc__)); void* operator new[](std::size_t, const std::nothrow_t&) noexcept __attribute__((__externally_visible__, __malloc__)); void operator delete(void*, const std::nothrow_t&) noexcept __attribute__((__externally_visible__)); void operator delete[](void*, const std::nothrow_t&) noexcept __attribute__((__externally_visible__)); # 174 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/new" 3 inline void* operator new(std::size_t, void* __p) noexcept { return __p; } inline void* operator new[](std::size_t, void* __p) noexcept { return __p; } inline void operator delete (void*, void*) noexcept { } inline void operator delete[](void*, void*) noexcept { } } # 230 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/new" 3 #pragma GCC visibility pop # 28 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/new" 2 3 # 44 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/new" 3 __attribute__((device)) inline void *operator new(long unsigned int size) { if (size == 0) { size = 1; } return ::malloc(size); } __attribute__((device)) inline void *operator new(long unsigned int size, const std::nothrow_t &) noexcept { return ::operator new(size); } __attribute__((device)) inline void *operator new[](long unsigned int size) { return ::operator new(size); } __attribute__((device)) inline void *operator new[](long unsigned int size, const std::nothrow_t &) { return ::operator new(size); } __attribute__((device)) inline void operator delete(void* ptr) noexcept { if (ptr) { ::free(ptr); } } __attribute__((device)) inline void operator delete(void *ptr, const std::nothrow_t &) noexcept { ::operator delete(ptr); } __attribute__((device)) inline void operator delete[](void* ptr) noexcept { ::operator delete(ptr); } __attribute__((device)) inline void operator delete[](void *ptr, const std::nothrow_t &) noexcept { ::operator delete(ptr); } # 94 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/new" 3 __attribute__((device)) inline void *operator new(long unsigned int, void *__ptr) noexcept { return __ptr; } __attribute__((device)) inline void *operator new[](long unsigned int, void *__ptr) noexcept { return __ptr; } __attribute__((device)) inline void operator delete(void *, void *) noexcept {} __attribute__((device)) inline void operator delete[](void *, void *) noexcept {} # 60 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_construct.h" 2 3 # 73 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_construct.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 106 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_construct.h" 3 template inline void _Construct(_Tp* __p, _Args&&... __args) { ::new(static_cast(__p)) _Tp(std::forward<_Args>(__args)...); } # 121 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_construct.h" 3 template inline void _Construct_novalue(_T1* __p) { ::new(static_cast(__p)) _T1; } template void _Destroy(_ForwardIterator __first, _ForwardIterator __last); template inline void _Destroy(_Tp* __pointer) { __pointer->~_Tp(); } template struct _Destroy_aux { template static void __destroy(_ForwardIterator __first, _ForwardIterator __last) { for (; __first != __last; ++__first) std::_Destroy(std::__addressof(*__first)); } }; template<> struct _Destroy_aux { template static void __destroy(_ForwardIterator, _ForwardIterator) { } }; template inline void _Destroy(_ForwardIterator __first, _ForwardIterator __last) { typedef typename iterator_traits<_ForwardIterator>::value_type _Value_type; static_assert(is_destructible<_Value_type>::value, "value type is destructible"); std::_Destroy_aux<__has_trivial_destructor(_Value_type)>:: __destroy(__first, __last); } template struct _Destroy_n_aux { template static _ForwardIterator __destroy_n(_ForwardIterator __first, _Size __count) { for (; __count > 0; (void)++__first, --__count) std::_Destroy(std::__addressof(*__first)); return __first; } }; template<> struct _Destroy_n_aux { template static _ForwardIterator __destroy_n(_ForwardIterator __first, _Size __count) { std::advance(__first, __count); return __first; } }; template inline _ForwardIterator _Destroy_n(_ForwardIterator __first, _Size __count) { typedef typename iterator_traits<_ForwardIterator>::value_type _Value_type; static_assert(is_destructible<_Value_type>::value, "value type is destructible"); return std::_Destroy_n_aux<__has_trivial_destructor(_Value_type)>:: __destroy_n(__first, __count); } # 254 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_construct.h" 3 } # 61 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_tempbuf.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { namespace __detail { template inline void __return_temporary_buffer(_Tp* __p, size_t __len __attribute__((__unused__))) { ::operator delete(__p); } } # 98 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_tempbuf.h" 3 template pair<_Tp*, ptrdiff_t> get_temporary_buffer(ptrdiff_t __len) noexcept { const ptrdiff_t __max = __gnu_cxx::__numeric_traits::__max / sizeof(_Tp); if (__len > __max) __len = __max; while (__len > 0) { _Tp* __tmp = static_cast<_Tp*>(::operator new(__len * sizeof(_Tp), std::nothrow)); if (__tmp != 0) return std::pair<_Tp*, ptrdiff_t>(__tmp, __len); __len /= 2; } return std::pair<_Tp*, ptrdiff_t>(static_cast<_Tp*>(0), 0); } # 125 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_tempbuf.h" 3 template inline void return_temporary_buffer(_Tp* __p) { ::operator delete(__p); } template class _Temporary_buffer { public: typedef _Tp value_type; typedef value_type* pointer; typedef pointer iterator; typedef ptrdiff_t size_type; protected: size_type _M_original_len; size_type _M_len; pointer _M_buffer; public: size_type size() const { return _M_len; } size_type requested_size() const { return _M_original_len; } iterator begin() { return _M_buffer; } iterator end() { return _M_buffer + _M_len; } _Temporary_buffer(_ForwardIterator __seed, size_type __original_len); ~_Temporary_buffer() { std::_Destroy(_M_buffer, _M_buffer + _M_len); std::__detail::__return_temporary_buffer(_M_buffer, _M_len); } private: _Temporary_buffer(const _Temporary_buffer&); void operator=(const _Temporary_buffer&); }; template struct __uninitialized_construct_buf_dispatch { template static void __ucr(_Pointer __first, _Pointer __last, _ForwardIterator __seed) { if (__first == __last) return; _Pointer __cur = __first; try { std::_Construct(std::__addressof(*__first), std::move(*__seed)); _Pointer __prev = __cur; ++__cur; for(; __cur != __last; ++__cur, ++__prev) std::_Construct(std::__addressof(*__cur), std::move(*__prev)); *__seed = std::move(*__prev); } catch(...) { std::_Destroy(__first, __cur); throw; } } }; template<> struct __uninitialized_construct_buf_dispatch { template static void __ucr(_Pointer, _Pointer, _ForwardIterator) { } }; # 243 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_tempbuf.h" 3 template inline void __uninitialized_construct_buf(_Pointer __first, _Pointer __last, _ForwardIterator __seed) { typedef typename std::iterator_traits<_Pointer>::value_type _ValueType; std::__uninitialized_construct_buf_dispatch< __has_trivial_constructor(_ValueType)>:: __ucr(__first, __last, __seed); } template _Temporary_buffer<_ForwardIterator, _Tp>:: _Temporary_buffer(_ForwardIterator __seed, size_type __original_len) : _M_original_len(__original_len), _M_len(0), _M_buffer(0) { std::pair __p( std::get_temporary_buffer(_M_original_len)); if (__p.first) { try { std::__uninitialized_construct_buf(__p.first, __p.first + __p.second, __seed); _M_buffer = __p.first; _M_len = __p.second; } catch(...) { std::__detail::__return_temporary_buffer(__p.first, __p.second); throw; } } } } # 63 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/uniform_int_dist.h" 1 3 # 35 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/uniform_int_dist.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 1 3 # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 3 # 158 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 3 namespace std __attribute__ ((__visibility__ ("default"))) { enum float_round_style { round_indeterminate = -1, round_toward_zero = 0, round_to_nearest = 1, round_toward_infinity = 2, round_toward_neg_infinity = 3 }; enum float_denorm_style { denorm_indeterminate = -1, denorm_absent = 0, denorm_present = 1 }; # 202 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 3 struct __numeric_limits_base { static constexpr bool is_specialized = false; static constexpr int digits = 0; static constexpr int digits10 = 0; static constexpr int max_digits10 = 0; static constexpr bool is_signed = false; static constexpr bool is_integer = false; static constexpr bool is_exact = false; static constexpr int radix = 0; static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr bool is_iec559 = false; static constexpr bool is_bounded = false; # 288 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 3 static constexpr bool is_modulo = false; static constexpr bool traps = false; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; # 311 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 3 template struct numeric_limits : public __numeric_limits_base { static constexpr _Tp min() noexcept { return _Tp(); } static constexpr _Tp max() noexcept { return _Tp(); } static constexpr _Tp lowest() noexcept { return _Tp(); } static constexpr _Tp epsilon() noexcept { return _Tp(); } static constexpr _Tp round_error() noexcept { return _Tp(); } static constexpr _Tp infinity() noexcept { return _Tp(); } static constexpr _Tp quiet_NaN() noexcept { return _Tp(); } static constexpr _Tp signaling_NaN() noexcept { return _Tp(); } static constexpr _Tp denorm_min() noexcept { return _Tp(); } }; template struct numeric_limits : public numeric_limits<_Tp> { }; template struct numeric_limits : public numeric_limits<_Tp> { }; template struct numeric_limits : public numeric_limits<_Tp> { }; # 383 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 3 template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr bool min() noexcept { return false; } static constexpr bool max() noexcept { return true; } static constexpr bool lowest() noexcept { return min(); } static constexpr int digits = 1; static constexpr int digits10 = 0; static constexpr int max_digits10 = 0; static constexpr bool is_signed = false; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr bool epsilon() noexcept { return false; } static constexpr bool round_error() noexcept { return false; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr bool infinity() noexcept { return false; } static constexpr bool quiet_NaN() noexcept { return false; } static constexpr bool signaling_NaN() noexcept { return false; } static constexpr bool denorm_min() noexcept { return false; } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr char min() noexcept { return (((char)(-1) < 0) ? -(((char)(-1) < 0) ? (((((char)1 << ((sizeof(char) * 8 - ((char)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char)0) - 1 : (char)0); } static constexpr char max() noexcept { return (((char)(-1) < 0) ? (((((char)1 << ((sizeof(char) * 8 - ((char)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char)0); } static constexpr char lowest() noexcept { return min(); } static constexpr int digits = (sizeof(char) * 8 - ((char)(-1) < 0)); static constexpr int digits10 = ((sizeof(char) * 8 - ((char)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = ((char)(-1) < 0); static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr char epsilon() noexcept { return 0; } static constexpr char round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr char infinity() noexcept { return char(); } static constexpr char quiet_NaN() noexcept { return char(); } static constexpr char signaling_NaN() noexcept { return char(); } static constexpr char denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = !is_signed; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr signed char min() noexcept { return -127 - 1; } static constexpr signed char max() noexcept { return 127; } static constexpr signed char lowest() noexcept { return min(); } static constexpr int digits = (sizeof(signed char) * 8 - ((signed char)(-1) < 0)); static constexpr int digits10 = ((sizeof(signed char) * 8 - ((signed char)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = true; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr signed char epsilon() noexcept { return 0; } static constexpr signed char round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr signed char infinity() noexcept { return static_cast(0); } static constexpr signed char quiet_NaN() noexcept { return static_cast(0); } static constexpr signed char signaling_NaN() noexcept { return static_cast(0); } static constexpr signed char denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr unsigned char min() noexcept { return 0; } static constexpr unsigned char max() noexcept { return 127 * 2U + 1; } static constexpr unsigned char lowest() noexcept { return min(); } static constexpr int digits = (sizeof(unsigned char) * 8 - ((unsigned char)(-1) < 0)); static constexpr int digits10 = ((sizeof(unsigned char) * 8 - ((unsigned char)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = false; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr unsigned char epsilon() noexcept { return 0; } static constexpr unsigned char round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr unsigned char infinity() noexcept { return static_cast(0); } static constexpr unsigned char quiet_NaN() noexcept { return static_cast(0); } static constexpr unsigned char signaling_NaN() noexcept { return static_cast(0); } static constexpr unsigned char denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = true; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr wchar_t min() noexcept { return (((wchar_t)(-1) < 0) ? -(((wchar_t)(-1) < 0) ? (((((wchar_t)1 << ((sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(wchar_t)0) - 1 : (wchar_t)0); } static constexpr wchar_t max() noexcept { return (((wchar_t)(-1) < 0) ? (((((wchar_t)1 << ((sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(wchar_t)0); } static constexpr wchar_t lowest() noexcept { return min(); } static constexpr int digits = (sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0)); static constexpr int digits10 = ((sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = ((wchar_t)(-1) < 0); static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr wchar_t epsilon() noexcept { return 0; } static constexpr wchar_t round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr wchar_t infinity() noexcept { return wchar_t(); } static constexpr wchar_t quiet_NaN() noexcept { return wchar_t(); } static constexpr wchar_t signaling_NaN() noexcept { return wchar_t(); } static constexpr wchar_t denorm_min() noexcept { return wchar_t(); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = !is_signed; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; # 796 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 3 template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr char16_t min() noexcept { return (((char16_t)(-1) < 0) ? -(((char16_t)(-1) < 0) ? (((((char16_t)1 << ((sizeof(char16_t) * 8 - ((char16_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char16_t)0) - 1 : (char16_t)0); } static constexpr char16_t max() noexcept { return (((char16_t)(-1) < 0) ? (((((char16_t)1 << ((sizeof(char16_t) * 8 - ((char16_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char16_t)0); } static constexpr char16_t lowest() noexcept { return min(); } static constexpr int digits = (sizeof(char16_t) * 8 - ((char16_t)(-1) < 0)); static constexpr int digits10 = ((sizeof(char16_t) * 8 - ((char16_t)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = ((char16_t)(-1) < 0); static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr char16_t epsilon() noexcept { return 0; } static constexpr char16_t round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr char16_t infinity() noexcept { return char16_t(); } static constexpr char16_t quiet_NaN() noexcept { return char16_t(); } static constexpr char16_t signaling_NaN() noexcept { return char16_t(); } static constexpr char16_t denorm_min() noexcept { return char16_t(); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = !is_signed; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr char32_t min() noexcept { return (((char32_t)(-1) < 0) ? -(((char32_t)(-1) < 0) ? (((((char32_t)1 << ((sizeof(char32_t) * 8 - ((char32_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char32_t)0) - 1 : (char32_t)0); } static constexpr char32_t max() noexcept { return (((char32_t)(-1) < 0) ? (((((char32_t)1 << ((sizeof(char32_t) * 8 - ((char32_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char32_t)0); } static constexpr char32_t lowest() noexcept { return min(); } static constexpr int digits = (sizeof(char32_t) * 8 - ((char32_t)(-1) < 0)); static constexpr int digits10 = ((sizeof(char32_t) * 8 - ((char32_t)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = ((char32_t)(-1) < 0); static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr char32_t epsilon() noexcept { return 0; } static constexpr char32_t round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr char32_t infinity() noexcept { return char32_t(); } static constexpr char32_t quiet_NaN() noexcept { return char32_t(); } static constexpr char32_t signaling_NaN() noexcept { return char32_t(); } static constexpr char32_t denorm_min() noexcept { return char32_t(); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = !is_signed; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr short min() noexcept { return -32767 - 1; } static constexpr short max() noexcept { return 32767; } static constexpr short lowest() noexcept { return min(); } static constexpr int digits = (sizeof(short) * 8 - ((short)(-1) < 0)); static constexpr int digits10 = ((sizeof(short) * 8 - ((short)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = true; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr short epsilon() noexcept { return 0; } static constexpr short round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr short infinity() noexcept { return short(); } static constexpr short quiet_NaN() noexcept { return short(); } static constexpr short signaling_NaN() noexcept { return short(); } static constexpr short denorm_min() noexcept { return short(); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr unsigned short min() noexcept { return 0; } static constexpr unsigned short max() noexcept { return 32767 * 2U + 1; } static constexpr unsigned short lowest() noexcept { return min(); } static constexpr int digits = (sizeof(unsigned short) * 8 - ((unsigned short)(-1) < 0)); static constexpr int digits10 = ((sizeof(unsigned short) * 8 - ((unsigned short)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = false; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr unsigned short epsilon() noexcept { return 0; } static constexpr unsigned short round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr unsigned short infinity() noexcept { return static_cast(0); } static constexpr unsigned short quiet_NaN() noexcept { return static_cast(0); } static constexpr unsigned short signaling_NaN() noexcept { return static_cast(0); } static constexpr unsigned short denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = true; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr int min() noexcept { return -2147483647 - 1; } static constexpr int max() noexcept { return 2147483647; } static constexpr int lowest() noexcept { return min(); } static constexpr int digits = (sizeof(int) * 8 - ((int)(-1) < 0)); static constexpr int digits10 = ((sizeof(int) * 8 - ((int)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = true; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr int epsilon() noexcept { return 0; } static constexpr int round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr int infinity() noexcept { return static_cast(0); } static constexpr int quiet_NaN() noexcept { return static_cast(0); } static constexpr int signaling_NaN() noexcept { return static_cast(0); } static constexpr int denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr unsigned int min() noexcept { return 0; } static constexpr unsigned int max() noexcept { return 2147483647 * 2U + 1; } static constexpr unsigned int lowest() noexcept { return min(); } static constexpr int digits = (sizeof(unsigned int) * 8 - ((unsigned int)(-1) < 0)); static constexpr int digits10 = ((sizeof(unsigned int) * 8 - ((unsigned int)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = false; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr unsigned int epsilon() noexcept { return 0; } static constexpr unsigned int round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr unsigned int infinity() noexcept { return static_cast(0); } static constexpr unsigned int quiet_NaN() noexcept { return static_cast(0); } static constexpr unsigned int signaling_NaN() noexcept { return static_cast(0); } static constexpr unsigned int denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = true; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr long min() noexcept { return -9223372036854775807L - 1; } static constexpr long max() noexcept { return 9223372036854775807L; } static constexpr long lowest() noexcept { return min(); } static constexpr int digits = (sizeof(long) * 8 - ((long)(-1) < 0)); static constexpr int digits10 = ((sizeof(long) * 8 - ((long)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = true; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr long epsilon() noexcept { return 0; } static constexpr long round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr long infinity() noexcept { return static_cast(0); } static constexpr long quiet_NaN() noexcept { return static_cast(0); } static constexpr long signaling_NaN() noexcept { return static_cast(0); } static constexpr long denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr unsigned long min() noexcept { return 0; } static constexpr unsigned long max() noexcept { return 9223372036854775807L * 2UL + 1; } static constexpr unsigned long lowest() noexcept { return min(); } static constexpr int digits = (sizeof(unsigned long) * 8 - ((unsigned long)(-1) < 0)); static constexpr int digits10 = ((sizeof(unsigned long) * 8 - ((unsigned long)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = false; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr unsigned long epsilon() noexcept { return 0; } static constexpr unsigned long round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr unsigned long infinity() noexcept { return static_cast(0); } static constexpr unsigned long quiet_NaN() noexcept { return static_cast(0); } static constexpr unsigned long signaling_NaN() noexcept { return static_cast(0); } static constexpr unsigned long denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = true; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr long long min() noexcept { return -9223372036854775807LL - 1; } static constexpr long long max() noexcept { return 9223372036854775807LL; } static constexpr long long lowest() noexcept { return min(); } static constexpr int digits = (sizeof(long long) * 8 - ((long long)(-1) < 0)); static constexpr int digits10 = ((sizeof(long long) * 8 - ((long long)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = true; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr long long epsilon() noexcept { return 0; } static constexpr long long round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr long long infinity() noexcept { return static_cast(0); } static constexpr long long quiet_NaN() noexcept { return static_cast(0); } static constexpr long long signaling_NaN() noexcept { return static_cast(0); } static constexpr long long denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr unsigned long long min() noexcept { return 0; } static constexpr unsigned long long max() noexcept { return 9223372036854775807LL * 2ULL + 1; } static constexpr unsigned long long lowest() noexcept { return min(); } static constexpr int digits = (sizeof(unsigned long long) * 8 - ((unsigned long long)(-1) < 0)); static constexpr int digits10 = ((sizeof(unsigned long long) * 8 - ((unsigned long long)(-1) < 0)) * 643L / 2136); static constexpr int max_digits10 = 0; static constexpr bool is_signed = false; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr unsigned long long epsilon() noexcept { return 0; } static constexpr unsigned long long round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr unsigned long long infinity() noexcept { return static_cast(0); } static constexpr unsigned long long quiet_NaN() noexcept { return static_cast(0); } static constexpr unsigned long long signaling_NaN() noexcept { return static_cast(0); } static constexpr unsigned long long denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = true; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; # 1652 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 3 template<> struct numeric_limits<__int128> { static constexpr bool is_specialized = true; static constexpr __int128 min() noexcept { return (((__int128)(-1) < 0) ? -(((__int128)(-1) < 0) ? (((((__int128)1 << ((128 - ((__int128)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(__int128)0) - 1 : (__int128)0); } static constexpr __int128 max() noexcept { return (((__int128)(-1) < 0) ? (((((__int128)1 << ((128 - ((__int128)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(__int128)0); } static constexpr int digits = 128 - 1; static constexpr int digits10 = (128 - 1) * 643L / 2136; static constexpr bool is_signed = true; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr __int128 epsilon() noexcept { return 0; } static constexpr __int128 round_error() noexcept { return 0; } static constexpr __int128 lowest() noexcept { return min(); } static constexpr int max_digits10 = 0; static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr __int128 infinity() noexcept { return static_cast<__int128>(0); } static constexpr __int128 quiet_NaN() noexcept { return static_cast<__int128>(0); } static constexpr __int128 signaling_NaN() noexcept { return static_cast<__int128>(0); } static constexpr __int128 denorm_min() noexcept { return static_cast<__int128>(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr unsigned __int128 min() noexcept { return 0; } static constexpr unsigned __int128 max() noexcept { return (((unsigned __int128)(-1) < 0) ? (((((unsigned __int128)1 << ((128 - ((unsigned __int128)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(unsigned __int128)0); } static constexpr unsigned __int128 lowest() noexcept { return min(); } static constexpr int max_digits10 = 0; static constexpr int digits = 128; static constexpr int digits10 = 128 * 643L / 2136; static constexpr bool is_signed = false; static constexpr bool is_integer = true; static constexpr bool is_exact = true; static constexpr int radix = 2; static constexpr unsigned __int128 epsilon() noexcept { return 0; } static constexpr unsigned __int128 round_error() noexcept { return 0; } static constexpr int min_exponent = 0; static constexpr int min_exponent10 = 0; static constexpr int max_exponent = 0; static constexpr int max_exponent10 = 0; static constexpr bool has_infinity = false; static constexpr bool has_quiet_NaN = false; static constexpr bool has_signaling_NaN = false; static constexpr float_denorm_style has_denorm = denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr unsigned __int128 infinity() noexcept { return static_cast(0); } static constexpr unsigned __int128 quiet_NaN() noexcept { return static_cast(0); } static constexpr unsigned __int128 signaling_NaN() noexcept { return static_cast(0); } static constexpr unsigned __int128 denorm_min() noexcept { return static_cast(0); } static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = true; static constexpr bool traps = true; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_toward_zero; }; # 1663 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/limits" 3 template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr float min() noexcept { return 1.17549435e-38F; } static constexpr float max() noexcept { return 3.40282347e+38F; } static constexpr float lowest() noexcept { return -3.40282347e+38F; } static constexpr int digits = 24; static constexpr int digits10 = 6; static constexpr int max_digits10 = (2 + (24) * 643L / 2136); static constexpr bool is_signed = true; static constexpr bool is_integer = false; static constexpr bool is_exact = false; static constexpr int radix = 2; static constexpr float epsilon() noexcept { return 1.19209290e-7F; } static constexpr float round_error() noexcept { return 0.5F; } static constexpr int min_exponent = (-125); static constexpr int min_exponent10 = (-37); static constexpr int max_exponent = 128; static constexpr int max_exponent10 = 38; static constexpr bool has_infinity = 1; static constexpr bool has_quiet_NaN = 1; static constexpr bool has_signaling_NaN = has_quiet_NaN; static constexpr float_denorm_style has_denorm = bool(1) ? denorm_present : denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr float infinity() noexcept { return __builtin_huge_valf(); } static constexpr float quiet_NaN() noexcept { return __builtin_nanf(""); } static constexpr float signaling_NaN() noexcept { return __builtin_nansf(""); } static constexpr float denorm_min() noexcept { return 1.40129846e-45F; } static constexpr bool is_iec559 = has_infinity && has_quiet_NaN && has_denorm == denorm_present; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = false; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_to_nearest; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr double min() noexcept { return 2.2250738585072014e-308; } static constexpr double max() noexcept { return 1.7976931348623157e+308; } static constexpr double lowest() noexcept { return -1.7976931348623157e+308; } static constexpr int digits = 53; static constexpr int digits10 = 15; static constexpr int max_digits10 = (2 + (53) * 643L / 2136); static constexpr bool is_signed = true; static constexpr bool is_integer = false; static constexpr bool is_exact = false; static constexpr int radix = 2; static constexpr double epsilon() noexcept { return 2.2204460492503131e-16; } static constexpr double round_error() noexcept { return 0.5; } static constexpr int min_exponent = (-1021); static constexpr int min_exponent10 = (-307); static constexpr int max_exponent = 1024; static constexpr int max_exponent10 = 308; static constexpr bool has_infinity = 1; static constexpr bool has_quiet_NaN = 1; static constexpr bool has_signaling_NaN = has_quiet_NaN; static constexpr float_denorm_style has_denorm = bool(1) ? denorm_present : denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr double infinity() noexcept { return __builtin_huge_val(); } static constexpr double quiet_NaN() noexcept { return __builtin_nan(""); } static constexpr double signaling_NaN() noexcept { return __builtin_nans(""); } static constexpr double denorm_min() noexcept { return 4.9406564584124654e-324; } static constexpr bool is_iec559 = has_infinity && has_quiet_NaN && has_denorm == denorm_present; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = false; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_to_nearest; }; template<> struct numeric_limits { static constexpr bool is_specialized = true; static constexpr long double min() noexcept { return 3.36210314311209350626e-4932L; } static constexpr long double max() noexcept { return 1.18973149535723176502e+4932L; } static constexpr long double lowest() noexcept { return -1.18973149535723176502e+4932L; } static constexpr int digits = 64; static constexpr int digits10 = 18; static constexpr int max_digits10 = (2 + (64) * 643L / 2136); static constexpr bool is_signed = true; static constexpr bool is_integer = false; static constexpr bool is_exact = false; static constexpr int radix = 2; static constexpr long double epsilon() noexcept { return 1.08420217248550443401e-19L; } static constexpr long double round_error() noexcept { return 0.5L; } static constexpr int min_exponent = (-16381); static constexpr int min_exponent10 = (-4931); static constexpr int max_exponent = 16384; static constexpr int max_exponent10 = 4932; static constexpr bool has_infinity = 1; static constexpr bool has_quiet_NaN = 1; static constexpr bool has_signaling_NaN = has_quiet_NaN; static constexpr float_denorm_style has_denorm = bool(1) ? denorm_present : denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr long double infinity() noexcept { return __builtin_huge_vall(); } static constexpr long double quiet_NaN() noexcept { return __builtin_nanl(""); } static constexpr long double signaling_NaN() noexcept { return __builtin_nansl(""); } static constexpr long double denorm_min() noexcept { return 3.64519953188247460253e-4951L; } static constexpr bool is_iec559 = has_infinity && has_quiet_NaN && has_denorm == denorm_present; static constexpr bool is_bounded = true; static constexpr bool is_modulo = false; static constexpr bool traps = false; static constexpr bool tinyness_before = false; static constexpr float_round_style round_style = round_to_nearest; }; } # 36 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/uniform_int_dist.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 57 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/uniform_int_dist.h" 3 namespace __detail { template inline bool _Power_of_2(_Tp __x) { return ((__x - 1) & __x) == 0; } } template class uniform_int_distribution { static_assert(std::is_integral<_IntType>::value, "template argument must be an integral type"); public: typedef _IntType result_type; struct param_type { typedef uniform_int_distribution<_IntType> distribution_type; param_type() : param_type(0) { } explicit param_type(_IntType __a, _IntType __b = numeric_limits<_IntType>::max()) : _M_a(__a), _M_b(__b) { ; } result_type a() const { return _M_a; } result_type b() const { return _M_b; } friend bool operator==(const param_type& __p1, const param_type& __p2) { return __p1._M_a == __p2._M_a && __p1._M_b == __p2._M_b; } friend bool operator!=(const param_type& __p1, const param_type& __p2) { return !(__p1 == __p2); } private: _IntType _M_a; _IntType _M_b; }; public: uniform_int_distribution() : uniform_int_distribution(0) { } explicit uniform_int_distribution(_IntType __a, _IntType __b = numeric_limits<_IntType>::max()) : _M_param(__a, __b) { } explicit uniform_int_distribution(const param_type& __p) : _M_param(__p) { } void reset() { } result_type a() const { return _M_param.a(); } result_type b() const { return _M_param.b(); } param_type param() const { return _M_param; } void param(const param_type& __param) { _M_param = __param; } result_type min() const { return this->a(); } result_type max() const { return this->b(); } template result_type operator()(_UniformRandomNumberGenerator& __urng) { return this->operator()(__urng, _M_param); } template result_type operator()(_UniformRandomNumberGenerator& __urng, const param_type& __p); template void __generate(_ForwardIterator __f, _ForwardIterator __t, _UniformRandomNumberGenerator& __urng) { this->__generate(__f, __t, __urng, _M_param); } template void __generate(_ForwardIterator __f, _ForwardIterator __t, _UniformRandomNumberGenerator& __urng, const param_type& __p) { this->__generate_impl(__f, __t, __urng, __p); } template void __generate(result_type* __f, result_type* __t, _UniformRandomNumberGenerator& __urng, const param_type& __p) { this->__generate_impl(__f, __t, __urng, __p); } friend bool operator==(const uniform_int_distribution& __d1, const uniform_int_distribution& __d2) { return __d1._M_param == __d2._M_param; } private: template void __generate_impl(_ForwardIterator __f, _ForwardIterator __t, _UniformRandomNumberGenerator& __urng, const param_type& __p); param_type _M_param; }; template template typename uniform_int_distribution<_IntType>::result_type uniform_int_distribution<_IntType>:: operator()(_UniformRandomNumberGenerator& __urng, const param_type& __param) { typedef typename _UniformRandomNumberGenerator::result_type _Gresult_type; typedef typename std::make_unsigned::type __utype; typedef typename std::common_type<_Gresult_type, __utype>::type __uctype; const __uctype __urngmin = __urng.min(); const __uctype __urngmax = __urng.max(); const __uctype __urngrange = __urngmax - __urngmin; const __uctype __urange = __uctype(__param.b()) - __uctype(__param.a()); __uctype __ret; if (__urngrange > __urange) { const __uctype __uerange = __urange + 1; const __uctype __scaling = __urngrange / __uerange; const __uctype __past = __uerange * __scaling; do __ret = __uctype(__urng()) - __urngmin; while (__ret >= __past); __ret /= __scaling; } else if (__urngrange < __urange) { # 287 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/uniform_int_dist.h" 3 __uctype __tmp; do { const __uctype __uerngrange = __urngrange + 1; __tmp = (__uerngrange * operator() (__urng, param_type(0, __urange / __uerngrange))); __ret = __tmp + (__uctype(__urng()) - __urngmin); } while (__ret > __urange || __ret < __tmp); } else __ret = __uctype(__urng()) - __urngmin; return __ret + __param.a(); } template template void uniform_int_distribution<_IntType>:: __generate_impl(_ForwardIterator __f, _ForwardIterator __t, _UniformRandomNumberGenerator& __urng, const param_type& __param) { typedef typename _UniformRandomNumberGenerator::result_type _Gresult_type; typedef typename std::make_unsigned::type __utype; typedef typename std::common_type<_Gresult_type, __utype>::type __uctype; const __uctype __urngmin = __urng.min(); const __uctype __urngmax = __urng.max(); const __uctype __urngrange = __urngmax - __urngmin; const __uctype __urange = __uctype(__param.b()) - __uctype(__param.a()); __uctype __ret; if (__urngrange > __urange) { if (__detail::_Power_of_2(__urngrange + 1) && __detail::_Power_of_2(__urange + 1)) { while (__f != __t) { __ret = __uctype(__urng()) - __urngmin; *__f++ = (__ret & __urange) + __param.a(); } } else { const __uctype __uerange = __urange + 1; const __uctype __scaling = __urngrange / __uerange; const __uctype __past = __uerange * __scaling; while (__f != __t) { do __ret = __uctype(__urng()) - __urngmin; while (__ret >= __past); *__f++ = __ret / __scaling + __param.a(); } } } else if (__urngrange < __urange) { # 371 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/uniform_int_dist.h" 3 __uctype __tmp; while (__f != __t) { do { const __uctype __uerngrange = __urngrange + 1; __tmp = (__uerngrange * operator() (__urng, param_type(0, __urange / __uerngrange))); __ret = __tmp + (__uctype(__urng()) - __urngmin); } while (__ret > __urange || __ret < __tmp); *__f++ = __ret; } } else while (__f != __t) *__f++ = __uctype(__urng()) - __urngmin + __param.a(); } } # 67 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template void __move_median_to_first(_Iterator __result,_Iterator __a, _Iterator __b, _Iterator __c, _Compare __comp) { if (__comp(__a, __b)) { if (__comp(__b, __c)) std::iter_swap(__result, __b); else if (__comp(__a, __c)) std::iter_swap(__result, __c); else std::iter_swap(__result, __a); } else if (__comp(__a, __c)) std::iter_swap(__result, __a); else if (__comp(__b, __c)) std::iter_swap(__result, __c); else std::iter_swap(__result, __b); } template inline _InputIterator __find_if_not(_InputIterator __first, _InputIterator __last, _Predicate __pred) { return std::__find_if(__first, __last, __gnu_cxx::__ops::__negate(__pred), std::__iterator_category(__first)); } template _InputIterator __find_if_not_n(_InputIterator __first, _Distance& __len, _Predicate __pred) { for (; __len; --__len, (void) ++__first) if (!__pred(__first)) break; return __first; } # 138 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _ForwardIterator1 __search(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2, _ForwardIterator2 __last2, _BinaryPredicate __predicate) { if (__first1 == __last1 || __first2 == __last2) return __first1; _ForwardIterator2 __p1(__first2); if (++__p1 == __last2) return std::__find_if(__first1, __last1, __gnu_cxx::__ops::__iter_comp_iter(__predicate, __first2)); _ForwardIterator1 __current = __first1; for (;;) { __first1 = std::__find_if(__first1, __last1, __gnu_cxx::__ops::__iter_comp_iter(__predicate, __first2)); if (__first1 == __last1) return __last1; _ForwardIterator2 __p = __p1; __current = __first1; if (++__current == __last1) return __last1; while (__predicate(__current, __p)) { if (++__p == __last2) return __first1; if (++__current == __last1) return __last1; } ++__first1; } return __first1; } template _ForwardIterator __search_n_aux(_ForwardIterator __first, _ForwardIterator __last, _Integer __count, _UnaryPredicate __unary_pred, std::forward_iterator_tag) { __first = std::__find_if(__first, __last, __unary_pred); while (__first != __last) { typename iterator_traits<_ForwardIterator>::difference_type __n = __count; _ForwardIterator __i = __first; ++__i; while (__i != __last && __n != 1 && __unary_pred(__i)) { ++__i; --__n; } if (__n == 1) return __first; if (__i == __last) return __last; __first = std::__find_if(++__i, __last, __unary_pred); } return __last; } template _RandomAccessIter __search_n_aux(_RandomAccessIter __first, _RandomAccessIter __last, _Integer __count, _UnaryPredicate __unary_pred, std::random_access_iterator_tag) { typedef typename std::iterator_traits<_RandomAccessIter>::difference_type _DistanceType; _DistanceType __tailSize = __last - __first; _DistanceType __remainder = __count; while (__remainder <= __tailSize) { __first += __remainder; __tailSize -= __remainder; _RandomAccessIter __backTrack = __first; while (__unary_pred(--__backTrack)) { if (--__remainder == 0) return (__first - __count); } __remainder = __count + 1 - (__first - __backTrack); } return __last; } template _ForwardIterator __search_n(_ForwardIterator __first, _ForwardIterator __last, _Integer __count, _UnaryPredicate __unary_pred) { if (__count <= 0) return __first; if (__count == 1) return std::__find_if(__first, __last, __unary_pred); return std::__search_n_aux(__first, __last, __count, __unary_pred, std::__iterator_category(__first)); } template _ForwardIterator1 __find_end(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2, _ForwardIterator2 __last2, forward_iterator_tag, forward_iterator_tag, _BinaryPredicate __comp) { if (__first2 == __last2) return __last1; _ForwardIterator1 __result = __last1; while (1) { _ForwardIterator1 __new_result = std::__search(__first1, __last1, __first2, __last2, __comp); if (__new_result == __last1) return __result; else { __result = __new_result; __first1 = __new_result; ++__first1; } } } template _BidirectionalIterator1 __find_end(_BidirectionalIterator1 __first1, _BidirectionalIterator1 __last1, _BidirectionalIterator2 __first2, _BidirectionalIterator2 __last2, bidirectional_iterator_tag, bidirectional_iterator_tag, _BinaryPredicate __comp) { typedef reverse_iterator<_BidirectionalIterator1> _RevIterator1; typedef reverse_iterator<_BidirectionalIterator2> _RevIterator2; _RevIterator1 __rlast1(__first1); _RevIterator2 __rlast2(__first2); _RevIterator1 __rresult = std::__search(_RevIterator1(__last1), __rlast1, _RevIterator2(__last2), __rlast2, __comp); if (__rresult == __rlast1) return __last1; else { _BidirectionalIterator1 __result = __rresult.base(); std::advance(__result, -std::distance(__first2, __last2)); return __result; } } # 364 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator1 find_end(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2, _ForwardIterator2 __last2) { ; ; return std::__find_end(__first1, __last1, __first2, __last2, std::__iterator_category(__first1), std::__iterator_category(__first2), __gnu_cxx::__ops::__iter_equal_to_iter()); } # 413 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator1 find_end(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2, _ForwardIterator2 __last2, _BinaryPredicate __comp) { ; ; return std::__find_end(__first1, __last1, __first2, __last2, std::__iterator_category(__first1), std::__iterator_category(__first2), __gnu_cxx::__ops::__iter_comp_iter(__comp)); } # 449 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool all_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) { return __last == std::find_if_not(__first, __last, __pred); } # 467 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool none_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) { return __last == std::find_if(__first, __last, __pred); } # 486 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) { return !std::none_of(__first, __last, __pred); } # 502 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _InputIterator find_if_not(_InputIterator __first, _InputIterator __last, _Predicate __pred) { ; return std::__find_if_not(__first, __last, __gnu_cxx::__ops::__pred_iter(__pred)); } # 527 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool is_partitioned(_InputIterator __first, _InputIterator __last, _Predicate __pred) { __first = std::find_if_not(__first, __last, __pred); if (__first == __last) return true; ++__first; return std::none_of(__first, __last, __pred); } # 549 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _ForwardIterator partition_point(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) { ; typedef typename iterator_traits<_ForwardIterator>::difference_type _DistanceType; _DistanceType __len = std::distance(__first, __last); while (__len > 0) { _DistanceType __half = __len >> 1; _ForwardIterator __middle = __first; std::advance(__middle, __half); if (__pred(*__middle)) { __first = __middle; ++__first; __len = __len - __half - 1; } else __len = __half; } return __first; } template _OutputIterator __remove_copy_if(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Predicate __pred) { for (; __first != __last; ++__first) if (!__pred(__first)) { *__result = *__first; ++__result; } return __result; } # 616 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator remove_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, const _Tp& __value) { ; return std::__remove_copy_if(__first, __last, __result, __gnu_cxx::__ops::__iter_equals_val(__value)); } # 649 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator remove_copy_if(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Predicate __pred) { ; return std::__remove_copy_if(__first, __last, __result, __gnu_cxx::__ops::__pred_iter(__pred)); } # 684 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _OutputIterator copy_if(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Predicate __pred) { ; for (; __first != __last; ++__first) if (__pred(*__first)) { *__result = *__first; ++__result; } return __result; } template _OutputIterator __copy_n_a(_InputIterator __first, _Size __n, _OutputIterator __result) { if (__n > 0) { while (true) { *__result = *__first; ++__result; if (--__n > 0) ++__first; else break; } } return __result; } template __enable_if_t<__is_char<_CharT>::__value, _CharT*> __copy_n_a(istreambuf_iterator<_CharT, char_traits<_CharT>>, _Size, _CharT*); template _OutputIterator __copy_n(_InputIterator __first, _Size __n, _OutputIterator __result, input_iterator_tag) { return std::__niter_wrap(__result, __copy_n_a(__first, __n, std::__niter_base(__result))); } template inline _OutputIterator __copy_n(_RandomAccessIterator __first, _Size __n, _OutputIterator __result, random_access_iterator_tag) { return std::copy(__first, __first + __n, __result); } # 765 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator copy_n(_InputIterator __first, _Size __n, _OutputIterator __result) { ; ; return std::__copy_n(__first, __n, __result, std::__iterator_category(__first)); } # 796 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template pair<_OutputIterator1, _OutputIterator2> partition_copy(_InputIterator __first, _InputIterator __last, _OutputIterator1 __out_true, _OutputIterator2 __out_false, _Predicate __pred) { # 812 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; for (; __first != __last; ++__first) if (__pred(*__first)) { *__out_true = *__first; ++__out_true; } else { *__out_false = *__first; ++__out_false; } return pair<_OutputIterator1, _OutputIterator2>(__out_true, __out_false); } template _ForwardIterator __remove_if(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) { __first = std::__find_if(__first, __last, __pred); if (__first == __last) return __first; _ForwardIterator __result = __first; ++__first; for (; __first != __last; ++__first) if (!__pred(__first)) { *__result = std::move(*__first); ++__result; } return __result; } # 867 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator remove(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) { ; return std::__remove_if(__first, __last, __gnu_cxx::__ops::__iter_equals_val(__value)); } # 901 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator remove_if(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) { ; return std::__remove_if(__first, __last, __gnu_cxx::__ops::__pred_iter(__pred)); } template _ForwardIterator __adjacent_find(_ForwardIterator __first, _ForwardIterator __last, _BinaryPredicate __binary_pred) { if (__first == __last) return __last; _ForwardIterator __next = __first; while (++__next != __last) { if (__binary_pred(__first, __next)) return __first; __first = __next; } return __last; } template _ForwardIterator __unique(_ForwardIterator __first, _ForwardIterator __last, _BinaryPredicate __binary_pred) { __first = std::__adjacent_find(__first, __last, __binary_pred); if (__first == __last) return __last; _ForwardIterator __dest = __first; ++__first; while (++__first != __last) if (!__binary_pred(__dest, __first)) *++__dest = std::move(*__first); return ++__dest; } # 970 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator unique(_ForwardIterator __first, _ForwardIterator __last) { ; return std::__unique(__first, __last, __gnu_cxx::__ops::__iter_equal_to_iter()); } # 1001 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator unique(_ForwardIterator __first, _ForwardIterator __last, _BinaryPredicate __binary_pred) { ; return std::__unique(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__binary_pred)); } template _OutputIterator __unique_copy(_ForwardIterator __first, _ForwardIterator __last, _OutputIterator __result, _BinaryPredicate __binary_pred, forward_iterator_tag, output_iterator_tag) { _ForwardIterator __next = __first; *__result = *__first; while (++__next != __last) if (!__binary_pred(__first, __next)) { __first = __next; *++__result = *__first; } return ++__result; } template _OutputIterator __unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __binary_pred, input_iterator_tag, output_iterator_tag) { typename iterator_traits<_InputIterator>::value_type __value = *__first; __decltype(__gnu_cxx::__ops::__iter_comp_val(__binary_pred)) __rebound_pred = __gnu_cxx::__ops::__iter_comp_val(__binary_pred); *__result = __value; while (++__first != __last) if (!__rebound_pred(__first, __value)) { __value = *__first; *++__result = __value; } return ++__result; } template _ForwardIterator __unique_copy(_InputIterator __first, _InputIterator __last, _ForwardIterator __result, _BinaryPredicate __binary_pred, input_iterator_tag, forward_iterator_tag) { *__result = *__first; while (++__first != __last) if (!__binary_pred(__result, __first)) *++__result = *__first; return ++__result; } template void __reverse(_BidirectionalIterator __first, _BidirectionalIterator __last, bidirectional_iterator_tag) { while (true) if (__first == __last || __first == --__last) return; else { std::iter_swap(__first, __last); ++__first; } } template void __reverse(_RandomAccessIterator __first, _RandomAccessIterator __last, random_access_iterator_tag) { if (__first == __last) return; --__last; while (__first < __last) { std::iter_swap(__first, __last); ++__first; --__last; } } # 1162 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void reverse(_BidirectionalIterator __first, _BidirectionalIterator __last) { ; std::__reverse(__first, __last, std::__iterator_category(__first)); } # 1190 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _OutputIterator reverse_copy(_BidirectionalIterator __first, _BidirectionalIterator __last, _OutputIterator __result) { ; while (__first != __last) { --__last; *__result = *__last; ++__result; } return __result; } template _EuclideanRingElement __gcd(_EuclideanRingElement __m, _EuclideanRingElement __n) { while (__n != 0) { _EuclideanRingElement __t = __m % __n; __m = __n; __n = __t; } return __m; } inline namespace _V2 { template _ForwardIterator __rotate(_ForwardIterator __first, _ForwardIterator __middle, _ForwardIterator __last, forward_iterator_tag) { if (__first == __middle) return __last; else if (__last == __middle) return __first; _ForwardIterator __first2 = __middle; do { std::iter_swap(__first, __first2); ++__first; ++__first2; if (__first == __middle) __middle = __first2; } while (__first2 != __last); _ForwardIterator __ret = __first; __first2 = __middle; while (__first2 != __last) { std::iter_swap(__first, __first2); ++__first; ++__first2; if (__first == __middle) __middle = __first2; else if (__first2 == __last) __first2 = __middle; } return __ret; } template _BidirectionalIterator __rotate(_BidirectionalIterator __first, _BidirectionalIterator __middle, _BidirectionalIterator __last, bidirectional_iterator_tag) { if (__first == __middle) return __last; else if (__last == __middle) return __first; std::__reverse(__first, __middle, bidirectional_iterator_tag()); std::__reverse(__middle, __last, bidirectional_iterator_tag()); while (__first != __middle && __middle != __last) { std::iter_swap(__first, --__last); ++__first; } if (__first == __middle) { std::__reverse(__middle, __last, bidirectional_iterator_tag()); return __last; } else { std::__reverse(__first, __middle, bidirectional_iterator_tag()); return __first; } } template _RandomAccessIterator __rotate(_RandomAccessIterator __first, _RandomAccessIterator __middle, _RandomAccessIterator __last, random_access_iterator_tag) { if (__first == __middle) return __last; else if (__last == __middle) return __first; typedef typename iterator_traits<_RandomAccessIterator>::difference_type _Distance; typedef typename iterator_traits<_RandomAccessIterator>::value_type _ValueType; _Distance __n = __last - __first; _Distance __k = __middle - __first; if (__k == __n - __k) { std::swap_ranges(__first, __middle, __middle); return __middle; } _RandomAccessIterator __p = __first; _RandomAccessIterator __ret = __first + (__last - __middle); for (;;) { if (__k < __n - __k) { if (__is_pod(_ValueType) && __k == 1) { _ValueType __t = std::move(*__p); std::move(__p + 1, __p + __n, __p); *(__p + __n - 1) = std::move(__t); return __ret; } _RandomAccessIterator __q = __p + __k; for (_Distance __i = 0; __i < __n - __k; ++ __i) { std::iter_swap(__p, __q); ++__p; ++__q; } __n %= __k; if (__n == 0) return __ret; std::swap(__n, __k); __k = __n - __k; } else { __k = __n - __k; if (__is_pod(_ValueType) && __k == 1) { _ValueType __t = std::move(*(__p + __n - 1)); std::move_backward(__p, __p + __n - 1, __p + __n); *__p = std::move(__t); return __ret; } _RandomAccessIterator __q = __p + __n; __p = __q - __k; for (_Distance __i = 0; __i < __n - __k; ++ __i) { --__p; --__q; std::iter_swap(__p, __q); } __n %= __k; if (__n == 0) return __ret; std::swap(__n, __k); } } } # 1422 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator rotate(_ForwardIterator __first, _ForwardIterator __middle, _ForwardIterator __last) { ; ; return std::__rotate(__first, __middle, __last, std::__iterator_category(__first)); } } # 1460 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator rotate_copy(_ForwardIterator __first, _ForwardIterator __middle, _ForwardIterator __last, _OutputIterator __result) { ; ; return std::copy(__first, __middle, std::copy(__middle, __last, __result)); } template _ForwardIterator __partition(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred, forward_iterator_tag) { if (__first == __last) return __first; while (__pred(*__first)) if (++__first == __last) return __first; _ForwardIterator __next = __first; while (++__next != __last) if (__pred(*__next)) { std::iter_swap(__first, __next); ++__first; } return __first; } template _BidirectionalIterator __partition(_BidirectionalIterator __first, _BidirectionalIterator __last, _Predicate __pred, bidirectional_iterator_tag) { while (true) { while (true) if (__first == __last) return __first; else if (__pred(*__first)) ++__first; else break; --__last; while (true) if (__first == __last) return __first; else if (!bool(__pred(*__last))) --__last; else break; std::iter_swap(__first, __last); ++__first; } } # 1540 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _ForwardIterator __stable_partition_adaptive(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred, _Distance __len, _Pointer __buffer, _Distance __buffer_size) { if (__len == 1) return __first; if (__len <= __buffer_size) { _ForwardIterator __result1 = __first; _Pointer __result2 = __buffer; *__result2 = std::move(*__first); ++__result2; ++__first; for (; __first != __last; ++__first) if (__pred(__first)) { *__result1 = std::move(*__first); ++__result1; } else { *__result2 = std::move(*__first); ++__result2; } std::move(__buffer, __result2, __result1); return __result1; } _ForwardIterator __middle = __first; std::advance(__middle, __len / 2); _ForwardIterator __left_split = std::__stable_partition_adaptive(__first, __middle, __pred, __len / 2, __buffer, __buffer_size); _Distance __right_len = __len - __len / 2; _ForwardIterator __right_split = std::__find_if_not_n(__middle, __right_len, __pred); if (__right_len) __right_split = std::__stable_partition_adaptive(__right_split, __last, __pred, __right_len, __buffer, __buffer_size); return std::rotate(__left_split, __middle, __right_split); } template _ForwardIterator __stable_partition(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) { __first = std::__find_if_not(__first, __last, __pred); if (__first == __last) return __first; typedef typename iterator_traits<_ForwardIterator>::value_type _ValueType; typedef typename iterator_traits<_ForwardIterator>::difference_type _DistanceType; _Temporary_buffer<_ForwardIterator, _ValueType> __buf(__first, std::distance(__first, __last)); return std::__stable_partition_adaptive(__first, __last, __pred, _DistanceType(__buf.requested_size()), __buf.begin(), _DistanceType(__buf.size())); } # 1642 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator stable_partition(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) { ; return std::__stable_partition(__first, __last, __gnu_cxx::__ops::__pred_iter(__pred)); } template void __heap_select(_RandomAccessIterator __first, _RandomAccessIterator __middle, _RandomAccessIterator __last, _Compare __comp) { std::__make_heap(__first, __middle, __comp); for (_RandomAccessIterator __i = __middle; __i < __last; ++__i) if (__comp(__i, __first)) std::__pop_heap(__first, __middle, __i, __comp); } template _RandomAccessIterator __partial_sort_copy(_InputIterator __first, _InputIterator __last, _RandomAccessIterator __result_first, _RandomAccessIterator __result_last, _Compare __comp) { typedef typename iterator_traits<_InputIterator>::value_type _InputValueType; typedef iterator_traits<_RandomAccessIterator> _RItTraits; typedef typename _RItTraits::difference_type _DistanceType; if (__result_first == __result_last) return __result_last; _RandomAccessIterator __result_real_last = __result_first; while (__first != __last && __result_real_last != __result_last) { *__result_real_last = *__first; ++__result_real_last; ++__first; } std::__make_heap(__result_first, __result_real_last, __comp); while (__first != __last) { if (__comp(__first, __result_first)) std::__adjust_heap(__result_first, _DistanceType(0), _DistanceType(__result_real_last - __result_first), _InputValueType(*__first), __comp); ++__first; } std::__sort_heap(__result_first, __result_real_last, __comp); return __result_real_last; } # 1730 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _RandomAccessIterator partial_sort_copy(_InputIterator __first, _InputIterator __last, _RandomAccessIterator __result_first, _RandomAccessIterator __result_last) { # 1751 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; return std::__partial_sort_copy(__first, __last, __result_first, __result_last, __gnu_cxx::__ops::__iter_less_iter()); } # 1780 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _RandomAccessIterator partial_sort_copy(_InputIterator __first, _InputIterator __last, _RandomAccessIterator __result_first, _RandomAccessIterator __result_last, _Compare __comp) { # 1806 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; return std::__partial_sort_copy(__first, __last, __result_first, __result_last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template void __unguarded_linear_insert(_RandomAccessIterator __last, _Compare __comp) { typename iterator_traits<_RandomAccessIterator>::value_type __val = std::move(*__last); _RandomAccessIterator __next = __last; --__next; while (__comp(__val, __next)) { *__last = std::move(*__next); __last = __next; --__next; } *__last = std::move(__val); } template void __insertion_sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { if (__first == __last) return; for (_RandomAccessIterator __i = __first + 1; __i != __last; ++__i) { if (__comp(__i, __first)) { typename iterator_traits<_RandomAccessIterator>::value_type __val = std::move(*__i); std::move_backward(__first, __i, __i + 1); *__first = std::move(__val); } else std::__unguarded_linear_insert(__i, __gnu_cxx::__ops::__val_comp_iter(__comp)); } } template inline void __unguarded_insertion_sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { for (_RandomAccessIterator __i = __first; __i != __last; ++__i) std::__unguarded_linear_insert(__i, __gnu_cxx::__ops::__val_comp_iter(__comp)); } enum { _S_threshold = 16 }; template void __final_insertion_sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { if (__last - __first > int(_S_threshold)) { std::__insertion_sort(__first, __first + int(_S_threshold), __comp); std::__unguarded_insertion_sort(__first + int(_S_threshold), __last, __comp); } else std::__insertion_sort(__first, __last, __comp); } template _RandomAccessIterator __unguarded_partition(_RandomAccessIterator __first, _RandomAccessIterator __last, _RandomAccessIterator __pivot, _Compare __comp) { while (true) { while (__comp(__first, __pivot)) ++__first; --__last; while (__comp(__pivot, __last)) --__last; if (!(__first < __last)) return __first; std::iter_swap(__first, __last); ++__first; } } template inline _RandomAccessIterator __unguarded_partition_pivot(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { _RandomAccessIterator __mid = __first + (__last - __first) / 2; std::__move_median_to_first(__first, __first + 1, __mid, __last - 1, __comp); return std::__unguarded_partition(__first + 1, __last, __first, __comp); } template inline void __partial_sort(_RandomAccessIterator __first, _RandomAccessIterator __middle, _RandomAccessIterator __last, _Compare __comp) { std::__heap_select(__first, __middle, __last, __comp); std::__sort_heap(__first, __middle, __comp); } template void __introsort_loop(_RandomAccessIterator __first, _RandomAccessIterator __last, _Size __depth_limit, _Compare __comp) { while (__last - __first > int(_S_threshold)) { if (__depth_limit == 0) { std::__partial_sort(__first, __last, __last, __comp); return; } --__depth_limit; _RandomAccessIterator __cut = std::__unguarded_partition_pivot(__first, __last, __comp); std::__introsort_loop(__cut, __last, __depth_limit, __comp); __last = __cut; } } template inline void __sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { if (__first != __last) { std::__introsort_loop(__first, __last, std::__lg(__last - __first) * 2, __comp); std::__final_insertion_sort(__first, __last, __comp); } } template void __introselect(_RandomAccessIterator __first, _RandomAccessIterator __nth, _RandomAccessIterator __last, _Size __depth_limit, _Compare __comp) { while (__last - __first > 3) { if (__depth_limit == 0) { std::__heap_select(__first, __nth + 1, __last, __comp); std::iter_swap(__first, __nth); return; } --__depth_limit; _RandomAccessIterator __cut = std::__unguarded_partition_pivot(__first, __last, __comp); if (__cut <= __nth) __first = __cut; else __last = __cut; } std::__insertion_sort(__first, __last, __comp); } # 2028 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator lower_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val, _Compare __comp) { ; return std::__lower_bound(__first, __last, __val, __gnu_cxx::__ops::__iter_comp_val(__comp)); } template _ForwardIterator __upper_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val, _Compare __comp) { typedef typename iterator_traits<_ForwardIterator>::difference_type _DistanceType; _DistanceType __len = std::distance(__first, __last); while (__len > 0) { _DistanceType __half = __len >> 1; _ForwardIterator __middle = __first; std::advance(__middle, __half); if (__comp(__val, __middle)) __len = __half; else { __first = __middle; ++__first; __len = __len - __half - 1; } } return __first; } # 2084 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator upper_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val) { ; return std::__upper_bound(__first, __last, __val, __gnu_cxx::__ops::__val_less_iter()); } # 2115 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator upper_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val, _Compare __comp) { ; return std::__upper_bound(__first, __last, __val, __gnu_cxx::__ops::__val_comp_iter(__comp)); } template pair<_ForwardIterator, _ForwardIterator> __equal_range(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val, _CompareItTp __comp_it_val, _CompareTpIt __comp_val_it) { typedef typename iterator_traits<_ForwardIterator>::difference_type _DistanceType; _DistanceType __len = std::distance(__first, __last); while (__len > 0) { _DistanceType __half = __len >> 1; _ForwardIterator __middle = __first; std::advance(__middle, __half); if (__comp_it_val(__middle, __val)) { __first = __middle; ++__first; __len = __len - __half - 1; } else if (__comp_val_it(__val, __middle)) __len = __half; else { _ForwardIterator __left = std::__lower_bound(__first, __middle, __val, __comp_it_val); std::advance(__first, __len); _ForwardIterator __right = std::__upper_bound(++__middle, __first, __val, __comp_val_it); return pair<_ForwardIterator, _ForwardIterator>(__left, __right); } } return pair<_ForwardIterator, _ForwardIterator>(__first, __first); } # 2188 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline pair<_ForwardIterator, _ForwardIterator> equal_range(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val) { ; ; return std::__equal_range(__first, __last, __val, __gnu_cxx::__ops::__iter_less_val(), __gnu_cxx::__ops::__val_less_iter()); } # 2225 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline pair<_ForwardIterator, _ForwardIterator> equal_range(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val, _Compare __comp) { ; ; return std::__equal_range(__first, __last, __val, __gnu_cxx::__ops::__iter_comp_val(__comp), __gnu_cxx::__ops::__val_comp_iter(__comp)); } # 2259 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template bool binary_search(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val) { ; ; _ForwardIterator __i = std::__lower_bound(__first, __last, __val, __gnu_cxx::__ops::__iter_less_val()); return __i != __last && !(__val < *__i); } # 2293 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template bool binary_search(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val, _Compare __comp) { ; ; _ForwardIterator __i = std::__lower_bound(__first, __last, __val, __gnu_cxx::__ops::__iter_comp_val(__comp)); return __i != __last && !bool(__comp(__val, *__i)); } template void __move_merge_adaptive(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { while (__first1 != __last1 && __first2 != __last2) { if (__comp(__first2, __first1)) { *__result = std::move(*__first2); ++__first2; } else { *__result = std::move(*__first1); ++__first1; } ++__result; } if (__first1 != __last1) std::move(__first1, __last1, __result); } template void __move_merge_adaptive_backward(_BidirectionalIterator1 __first1, _BidirectionalIterator1 __last1, _BidirectionalIterator2 __first2, _BidirectionalIterator2 __last2, _BidirectionalIterator3 __result, _Compare __comp) { if (__first1 == __last1) { std::move_backward(__first2, __last2, __result); return; } else if (__first2 == __last2) return; --__last1; --__last2; while (true) { if (__comp(__last2, __last1)) { *--__result = std::move(*__last1); if (__first1 == __last1) { std::move_backward(__first2, ++__last2, __result); return; } --__last1; } else { *--__result = std::move(*__last2); if (__first2 == __last2) return; --__last2; } } } template _BidirectionalIterator1 __rotate_adaptive(_BidirectionalIterator1 __first, _BidirectionalIterator1 __middle, _BidirectionalIterator1 __last, _Distance __len1, _Distance __len2, _BidirectionalIterator2 __buffer, _Distance __buffer_size) { _BidirectionalIterator2 __buffer_end; if (__len1 > __len2 && __len2 <= __buffer_size) { if (__len2) { __buffer_end = std::move(__middle, __last, __buffer); std::move_backward(__first, __middle, __last); return std::move(__buffer, __buffer_end, __first); } else return __first; } else if (__len1 <= __buffer_size) { if (__len1) { __buffer_end = std::move(__first, __middle, __buffer); std::move(__middle, __last, __first); return std::move_backward(__buffer, __buffer_end, __last); } else return __last; } else return std::rotate(__first, __middle, __last); } template void __merge_adaptive(_BidirectionalIterator __first, _BidirectionalIterator __middle, _BidirectionalIterator __last, _Distance __len1, _Distance __len2, _Pointer __buffer, _Distance __buffer_size, _Compare __comp) { if (__len1 <= __len2 && __len1 <= __buffer_size) { _Pointer __buffer_end = std::move(__first, __middle, __buffer); std::__move_merge_adaptive(__buffer, __buffer_end, __middle, __last, __first, __comp); } else if (__len2 <= __buffer_size) { _Pointer __buffer_end = std::move(__middle, __last, __buffer); std::__move_merge_adaptive_backward(__first, __middle, __buffer, __buffer_end, __last, __comp); } else { _BidirectionalIterator __first_cut = __first; _BidirectionalIterator __second_cut = __middle; _Distance __len11 = 0; _Distance __len22 = 0; if (__len1 > __len2) { __len11 = __len1 / 2; std::advance(__first_cut, __len11); __second_cut = std::__lower_bound(__middle, __last, *__first_cut, __gnu_cxx::__ops::__iter_comp_val(__comp)); __len22 = std::distance(__middle, __second_cut); } else { __len22 = __len2 / 2; std::advance(__second_cut, __len22); __first_cut = std::__upper_bound(__first, __middle, *__second_cut, __gnu_cxx::__ops::__val_comp_iter(__comp)); __len11 = std::distance(__first, __first_cut); } _BidirectionalIterator __new_middle = std::__rotate_adaptive(__first_cut, __middle, __second_cut, __len1 - __len11, __len22, __buffer, __buffer_size); std::__merge_adaptive(__first, __first_cut, __new_middle, __len11, __len22, __buffer, __buffer_size, __comp); std::__merge_adaptive(__new_middle, __second_cut, __last, __len1 - __len11, __len2 - __len22, __buffer, __buffer_size, __comp); } } template void __merge_without_buffer(_BidirectionalIterator __first, _BidirectionalIterator __middle, _BidirectionalIterator __last, _Distance __len1, _Distance __len2, _Compare __comp) { if (__len1 == 0 || __len2 == 0) return; if (__len1 + __len2 == 2) { if (__comp(__middle, __first)) std::iter_swap(__first, __middle); return; } _BidirectionalIterator __first_cut = __first; _BidirectionalIterator __second_cut = __middle; _Distance __len11 = 0; _Distance __len22 = 0; if (__len1 > __len2) { __len11 = __len1 / 2; std::advance(__first_cut, __len11); __second_cut = std::__lower_bound(__middle, __last, *__first_cut, __gnu_cxx::__ops::__iter_comp_val(__comp)); __len22 = std::distance(__middle, __second_cut); } else { __len22 = __len2 / 2; std::advance(__second_cut, __len22); __first_cut = std::__upper_bound(__first, __middle, *__second_cut, __gnu_cxx::__ops::__val_comp_iter(__comp)); __len11 = std::distance(__first, __first_cut); } _BidirectionalIterator __new_middle = std::rotate(__first_cut, __middle, __second_cut); std::__merge_without_buffer(__first, __first_cut, __new_middle, __len11, __len22, __comp); std::__merge_without_buffer(__new_middle, __second_cut, __last, __len1 - __len11, __len2 - __len22, __comp); } template void __inplace_merge(_BidirectionalIterator __first, _BidirectionalIterator __middle, _BidirectionalIterator __last, _Compare __comp) { typedef typename iterator_traits<_BidirectionalIterator>::value_type _ValueType; typedef typename iterator_traits<_BidirectionalIterator>::difference_type _DistanceType; if (__first == __middle || __middle == __last) return; const _DistanceType __len1 = std::distance(__first, __middle); const _DistanceType __len2 = std::distance(__middle, __last); typedef _Temporary_buffer<_BidirectionalIterator, _ValueType> _TmpBuf; _TmpBuf __buf(__first, __len1 + __len2); if (__buf.begin() == 0) std::__merge_without_buffer (__first, __middle, __last, __len1, __len2, __comp); else std::__merge_adaptive (__first, __middle, __last, __len1, __len2, __buf.begin(), _DistanceType(__buf.size()), __comp); } # 2583 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void inplace_merge(_BidirectionalIterator __first, _BidirectionalIterator __middle, _BidirectionalIterator __last) { ; ; ; std::__inplace_merge(__first, __middle, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 2624 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void inplace_merge(_BidirectionalIterator __first, _BidirectionalIterator __middle, _BidirectionalIterator __last, _Compare __comp) { ; ; ; std::__inplace_merge(__first, __middle, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template _OutputIterator __move_merge(_InputIterator __first1, _InputIterator __last1, _InputIterator __first2, _InputIterator __last2, _OutputIterator __result, _Compare __comp) { while (__first1 != __last1 && __first2 != __last2) { if (__comp(__first2, __first1)) { *__result = std::move(*__first2); ++__first2; } else { *__result = std::move(*__first1); ++__first1; } ++__result; } return std::move(__first2, __last2, std::move(__first1, __last1, __result)); } template void __merge_sort_loop(_RandomAccessIterator1 __first, _RandomAccessIterator1 __last, _RandomAccessIterator2 __result, _Distance __step_size, _Compare __comp) { const _Distance __two_step = 2 * __step_size; while (__last - __first >= __two_step) { __result = std::__move_merge(__first, __first + __step_size, __first + __step_size, __first + __two_step, __result, __comp); __first += __two_step; } __step_size = std::min(_Distance(__last - __first), __step_size); std::__move_merge(__first, __first + __step_size, __first + __step_size, __last, __result, __comp); } template void __chunk_insertion_sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Distance __chunk_size, _Compare __comp) { while (__last - __first >= __chunk_size) { std::__insertion_sort(__first, __first + __chunk_size, __comp); __first += __chunk_size; } std::__insertion_sort(__first, __last, __comp); } enum { _S_chunk_size = 7 }; template void __merge_sort_with_buffer(_RandomAccessIterator __first, _RandomAccessIterator __last, _Pointer __buffer, _Compare __comp) { typedef typename iterator_traits<_RandomAccessIterator>::difference_type _Distance; const _Distance __len = __last - __first; const _Pointer __buffer_last = __buffer + __len; _Distance __step_size = _S_chunk_size; std::__chunk_insertion_sort(__first, __last, __step_size, __comp); while (__step_size < __len) { std::__merge_sort_loop(__first, __last, __buffer, __step_size, __comp); __step_size *= 2; std::__merge_sort_loop(__buffer, __buffer_last, __first, __step_size, __comp); __step_size *= 2; } } template void __stable_sort_adaptive(_RandomAccessIterator __first, _RandomAccessIterator __last, _Pointer __buffer, _Distance __buffer_size, _Compare __comp) { const _Distance __len = (__last - __first + 1) / 2; const _RandomAccessIterator __middle = __first + __len; if (__len > __buffer_size) { std::__stable_sort_adaptive(__first, __middle, __buffer, __buffer_size, __comp); std::__stable_sort_adaptive(__middle, __last, __buffer, __buffer_size, __comp); } else { std::__merge_sort_with_buffer(__first, __middle, __buffer, __comp); std::__merge_sort_with_buffer(__middle, __last, __buffer, __comp); } std::__merge_adaptive(__first, __middle, __last, _Distance(__middle - __first), _Distance(__last - __middle), __buffer, __buffer_size, __comp); } template void __inplace_stable_sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { if (__last - __first < 15) { std::__insertion_sort(__first, __last, __comp); return; } _RandomAccessIterator __middle = __first + (__last - __first) / 2; std::__inplace_stable_sort(__first, __middle, __comp); std::__inplace_stable_sort(__middle, __last, __comp); std::__merge_without_buffer(__first, __middle, __last, __middle - __first, __last - __middle, __comp); } # 2797 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template bool __includes(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _Compare __comp) { while (__first1 != __last1 && __first2 != __last2) if (__comp(__first2, __first1)) return false; else if (__comp(__first1, __first2)) ++__first1; else { ++__first1; ++__first2; } return __first2 == __last2; } # 2837 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool includes(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2) { # 2852 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__includes(__first1, __last1, __first2, __last2, __gnu_cxx::__ops::__iter_less_iter()); } # 2882 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool includes(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _Compare __comp) { # 2899 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__includes(__first1, __last1, __first2, __last2, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } # 2918 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template bool __next_permutation(_BidirectionalIterator __first, _BidirectionalIterator __last, _Compare __comp) { if (__first == __last) return false; _BidirectionalIterator __i = __first; ++__i; if (__i == __last) return false; __i = __last; --__i; for(;;) { _BidirectionalIterator __ii = __i; --__i; if (__comp(__i, __ii)) { _BidirectionalIterator __j = __last; while (!__comp(__i, --__j)) {} std::iter_swap(__i, __j); std::__reverse(__ii, __last, std::__iterator_category(__first)); return true; } if (__i == __first) { std::__reverse(__first, __last, std::__iterator_category(__first)); return false; } } } # 2968 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool next_permutation(_BidirectionalIterator __first, _BidirectionalIterator __last) { ; ; return std::__next_permutation (__first, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 3001 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool next_permutation(_BidirectionalIterator __first, _BidirectionalIterator __last, _Compare __comp) { ; ; return std::__next_permutation (__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template bool __prev_permutation(_BidirectionalIterator __first, _BidirectionalIterator __last, _Compare __comp) { if (__first == __last) return false; _BidirectionalIterator __i = __first; ++__i; if (__i == __last) return false; __i = __last; --__i; for(;;) { _BidirectionalIterator __ii = __i; --__i; if (__comp(__ii, __i)) { _BidirectionalIterator __j = __last; while (!__comp(--__j, __i)) {} std::iter_swap(__i, __j); std::__reverse(__ii, __last, std::__iterator_category(__first)); return true; } if (__i == __first) { std::__reverse(__first, __last, std::__iterator_category(__first)); return false; } } } # 3071 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool prev_permutation(_BidirectionalIterator __first, _BidirectionalIterator __last) { ; ; return std::__prev_permutation(__first, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 3104 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool prev_permutation(_BidirectionalIterator __first, _BidirectionalIterator __last, _Compare __comp) { ; ; return std::__prev_permutation(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template _OutputIterator __replace_copy_if(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Predicate __pred, const _Tp& __new_value) { for (; __first != __last; ++__first, (void)++__result) if (__pred(__first)) *__result = __new_value; else *__result = *__first; return __result; } # 3156 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator replace_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, const _Tp& __old_value, const _Tp& __new_value) { ; return std::__replace_copy_if(__first, __last, __result, __gnu_cxx::__ops::__iter_equals_val(__old_value), __new_value); } # 3191 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator replace_copy_if(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Predicate __pred, const _Tp& __new_value) { ; return std::__replace_copy_if(__first, __last, __result, __gnu_cxx::__ops::__pred_iter(__pred), __new_value); } # 3220 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool is_sorted(_ForwardIterator __first, _ForwardIterator __last) { return std::is_sorted_until(__first, __last) == __last; } # 3235 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool is_sorted(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) { return std::is_sorted_until(__first, __last, __comp) == __last; } template _ForwardIterator __is_sorted_until(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) { if (__first == __last) return __last; _ForwardIterator __next = __first; for (++__next; __next != __last; __first = __next, (void)++__next) if (__comp(__next, __first)) return __next; return __next; } # 3266 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator is_sorted_until(_ForwardIterator __first, _ForwardIterator __last) { ; ; return std::__is_sorted_until(__first, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 3291 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator is_sorted_until(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) { ; ; return std::__is_sorted_until(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } # 3317 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline pair minmax(const _Tp& __a, const _Tp& __b) { return __b < __a ? pair(__b, __a) : pair(__a, __b); } # 3338 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline pair minmax(const _Tp& __a, const _Tp& __b, _Compare __comp) { return __comp(__b, __a) ? pair(__b, __a) : pair(__a, __b); } template pair<_ForwardIterator, _ForwardIterator> __minmax_element(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) { _ForwardIterator __next = __first; if (__first == __last || ++__next == __last) return std::make_pair(__first, __first); _ForwardIterator __min{}, __max{}; if (__comp(__next, __first)) { __min = __next; __max = __first; } else { __min = __first; __max = __next; } __first = __next; ++__first; while (__first != __last) { __next = __first; if (++__next == __last) { if (__comp(__first, __min)) __min = __first; else if (!__comp(__first, __max)) __max = __first; break; } if (__comp(__next, __first)) { if (__comp(__next, __min)) __min = __next; if (!__comp(__first, __max)) __max = __first; } else { if (__comp(__first, __min)) __min = __first; if (!__comp(__next, __max)) __max = __next; } __first = __next; ++__first; } return std::make_pair(__min, __max); } # 3418 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline pair<_ForwardIterator, _ForwardIterator> minmax_element(_ForwardIterator __first, _ForwardIterator __last) { ; ; return std::__minmax_element(__first, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 3446 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline pair<_ForwardIterator, _ForwardIterator> minmax_element(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) { ; ; return std::__minmax_element(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template inline _Tp min(initializer_list<_Tp> __l) { return *std::min_element(__l.begin(), __l.end()); } template inline _Tp min(initializer_list<_Tp> __l, _Compare __comp) { return *std::min_element(__l.begin(), __l.end(), __comp); } template inline _Tp max(initializer_list<_Tp> __l) { return *std::max_element(__l.begin(), __l.end()); } template inline _Tp max(initializer_list<_Tp> __l, _Compare __comp) { return *std::max_element(__l.begin(), __l.end(), __comp); } template inline pair<_Tp, _Tp> minmax(initializer_list<_Tp> __l) { pair __p = std::minmax_element(__l.begin(), __l.end()); return std::make_pair(*__p.first, *__p.second); } template inline pair<_Tp, _Tp> minmax(initializer_list<_Tp> __l, _Compare __comp) { pair __p = std::minmax_element(__l.begin(), __l.end(), __comp); return std::make_pair(*__p.first, *__p.second); } # 3523 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline bool is_permutation(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2, _BinaryPredicate __pred) { ; return std::__is_permutation(__first1, __last1, __first2, __gnu_cxx::__ops::__iter_comp_iter(__pred)); } # 3723 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template pair<_IntType, _IntType> __gen_two_uniform_ints(_IntType __b0, _IntType __b1, _UniformRandomBitGenerator&& __g) { _IntType __x = uniform_int_distribution<_IntType>{0, (__b0 * __b1) - 1}(__g); return std::make_pair(__x / __b1, __x % __b1); } # 3745 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template void shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last, _UniformRandomNumberGenerator&& __g) { ; if (__first == __last) return; typedef typename iterator_traits<_RandomAccessIterator>::difference_type _DistanceType; typedef typename std::make_unsigned<_DistanceType>::type __ud_type; typedef typename std::uniform_int_distribution<__ud_type> __distr_type; typedef typename __distr_type::param_type __p_type; typedef typename remove_reference<_UniformRandomNumberGenerator>::type _Gen; typedef typename common_type::type __uc_type; const __uc_type __urngrange = __g.max() - __g.min(); const __uc_type __urange = __uc_type(__last - __first); if (__urngrange / __urange >= __urange) { _RandomAccessIterator __i = __first + 1; if ((__urange % 2) == 0) { __distr_type __d{0, 1}; std::iter_swap(__i++, __first + __d(__g)); } while (__i != __last) { const __uc_type __swap_range = __uc_type(__i - __first) + 1; const pair<__uc_type, __uc_type> __pospos = __gen_two_uniform_ints(__swap_range, __swap_range + 1, __g); std::iter_swap(__i++, __first + __pospos.first); std::iter_swap(__i++, __first + __pospos.second); } return; } __distr_type __d; for (_RandomAccessIterator __i = __first + 1; __i != __last; ++__i) std::iter_swap(__i, __first + __d(__g, __p_type(0, __i - __first))); } # 3830 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _Function for_each(_InputIterator __first, _InputIterator __last, _Function __f) { ; for (; __first != __last; ++__first) __f(*__first); return __f; } # 3892 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _InputIterator find(_InputIterator __first, _InputIterator __last, const _Tp& __val) { ; return std::__find_if(__first, __last, __gnu_cxx::__ops::__iter_equals_val(__val)); } # 3917 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _InputIterator find_if(_InputIterator __first, _InputIterator __last, _Predicate __pred) { ; return std::__find_if(__first, __last, __gnu_cxx::__ops::__pred_iter(__pred)); } # 3949 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _InputIterator find_first_of(_InputIterator __first1, _InputIterator __last1, _ForwardIterator __first2, _ForwardIterator __last2) { ; ; for (; __first1 != __last1; ++__first1) for (_ForwardIterator __iter = __first2; __iter != __last2; ++__iter) if (*__first1 == *__iter) return __first1; return __last1; } # 3990 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _InputIterator find_first_of(_InputIterator __first1, _InputIterator __last1, _ForwardIterator __first2, _ForwardIterator __last2, _BinaryPredicate __comp) { ; ; for (; __first1 != __last1; ++__first1) for (_ForwardIterator __iter = __first2; __iter != __last2; ++__iter) if (__comp(*__first1, *__iter)) return __first1; return __last1; } # 4023 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator adjacent_find(_ForwardIterator __first, _ForwardIterator __last) { ; return std::__adjacent_find(__first, __last, __gnu_cxx::__ops::__iter_equal_to_iter()); } # 4049 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator adjacent_find(_ForwardIterator __first, _ForwardIterator __last, _BinaryPredicate __binary_pred) { ; return std::__adjacent_find(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__binary_pred)); } # 4075 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline typename iterator_traits<_InputIterator>::difference_type count(_InputIterator __first, _InputIterator __last, const _Tp& __value) { ; return std::__count_if(__first, __last, __gnu_cxx::__ops::__iter_equals_val(__value)); } # 4099 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline typename iterator_traits<_InputIterator>::difference_type count_if(_InputIterator __first, _InputIterator __last, _Predicate __pred) { ; return std::__count_if(__first, __last, __gnu_cxx::__ops::__pred_iter(__pred)); } # 4140 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator1 search(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2, _ForwardIterator2 __last2) { ; ; return std::__search(__first1, __last1, __first2, __last2, __gnu_cxx::__ops::__iter_equal_to_iter()); } # 4180 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator1 search(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2, _ForwardIterator2 __last2, _BinaryPredicate __predicate) { ; ; return std::__search(__first1, __last1, __first2, __last2, __gnu_cxx::__ops::__iter_comp_iter(__predicate)); } # 4216 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator search_n(_ForwardIterator __first, _ForwardIterator __last, _Integer __count, const _Tp& __val) { ; return std::__search_n(__first, __last, __count, __gnu_cxx::__ops::__iter_equals_val(__val)); } # 4250 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator search_n(_ForwardIterator __first, _ForwardIterator __last, _Integer __count, const _Tp& __val, _BinaryPredicate __binary_pred) { ; return std::__search_n(__first, __last, __count, __gnu_cxx::__ops::__iter_comp_val(__binary_pred, __val)); } # 4300 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _OutputIterator transform(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _UnaryOperation __unary_op) { ; for (; __first != __last; ++__first, (void)++__result) *__result = __unary_op(*__first); return __result; } # 4338 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _OutputIterator transform(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _OutputIterator __result, _BinaryOperation __binary_op) { ; for (; __first1 != __last1; ++__first1, (void)++__first2, ++__result) *__result = __binary_op(*__first1, *__first2); return __result; } # 4372 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template void replace(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __old_value, const _Tp& __new_value) { ; for (; __first != __last; ++__first) if (*__first == __old_value) *__first = __new_value; } # 4405 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template void replace_if(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred, const _Tp& __new_value) { ; for (; __first != __last; ++__first) if (__pred(*__first)) *__first = __new_value; } # 4438 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template void generate(_ForwardIterator __first, _ForwardIterator __last, _Generator __gen) { ; for (; __first != __last; ++__first) *__first = __gen(); } # 4472 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _OutputIterator generate_n(_OutputIterator __first, _Size __n, _Generator __gen) { typedef __decltype(std::__size_to_integer(__n)) _IntSize; for (_IntSize __niter = std::__size_to_integer(__n); __niter > 0; --__niter, (void) ++__first) *__first = __gen(); return __first; } # 4510 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result) { ; if (__first == __last) return __result; return std::__unique_copy(__first, __last, __result, __gnu_cxx::__ops::__iter_equal_to_iter(), std::__iterator_category(__first), std::__iterator_category(__result)); } # 4551 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __binary_pred) { ; if (__first == __last) return __result; return std::__unique_copy(__first, __last, __result, __gnu_cxx::__ops::__iter_comp_iter(__binary_pred), std::__iterator_category(__first), std::__iterator_category(__result)); } # 4585 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void random_shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last) { ; if (__first != __last) for (_RandomAccessIterator __i = __first + 1; __i != __last; ++__i) { _RandomAccessIterator __j = __first + std::rand() % ((__i - __first) + 1); if (__i != __j) std::iter_swap(__i, __j); } } # 4620 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template void random_shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last, _RandomNumberGenerator&& __rand) { ; if (__first == __last) return; for (_RandomAccessIterator __i = __first + 1; __i != __last; ++__i) { _RandomAccessIterator __j = __first + __rand((__i - __first) + 1); if (__i != __j) std::iter_swap(__i, __j); } } # 4660 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator partition(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) { ; return std::__partition(__first, __last, __pred, std::__iterator_category(__first)); } # 4694 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void partial_sort(_RandomAccessIterator __first, _RandomAccessIterator __middle, _RandomAccessIterator __last) { ; ; ; std::__partial_sort(__first, __middle, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 4733 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void partial_sort(_RandomAccessIterator __first, _RandomAccessIterator __middle, _RandomAccessIterator __last, _Compare __comp) { ; ; ; std::__partial_sort(__first, __middle, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } # 4770 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void nth_element(_RandomAccessIterator __first, _RandomAccessIterator __nth, _RandomAccessIterator __last) { ; ; ; if (__first == __last || __nth == __last) return; std::__introselect(__first, __nth, __last, std::__lg(__last - __first) * 2, __gnu_cxx::__ops::__iter_less_iter()); } # 4810 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void nth_element(_RandomAccessIterator __first, _RandomAccessIterator __nth, _RandomAccessIterator __last, _Compare __comp) { ; ; ; if (__first == __last || __nth == __last) return; std::__introselect(__first, __nth, __last, std::__lg(__last - __first) * 2, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } # 4848 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void sort(_RandomAccessIterator __first, _RandomAccessIterator __last) { ; ; std::__sort(__first, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 4879 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { ; ; std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template _OutputIterator __merge(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { while (__first1 != __last1 && __first2 != __last2) { if (__comp(__first2, __first1)) { *__result = *__first2; ++__first2; } else { *__result = *__first1; ++__first1; } ++__result; } return std::copy(__first2, __last2, std::copy(__first1, __last1, __result)); } # 4942 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator merge(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result) { # 4960 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__merge(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_less_iter()); } # 4993 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator merge(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { # 5011 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__merge(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template inline void __stable_sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { typedef typename iterator_traits<_RandomAccessIterator>::value_type _ValueType; typedef typename iterator_traits<_RandomAccessIterator>::difference_type _DistanceType; typedef _Temporary_buffer<_RandomAccessIterator, _ValueType> _TmpBuf; _TmpBuf __buf(__first, std::distance(__first, __last)); if (__buf.begin() == 0) std::__inplace_stable_sort(__first, __last, __comp); else std::__stable_sort_adaptive(__first, __last, __buf.begin(), _DistanceType(__buf.size()), __comp); } # 5058 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void stable_sort(_RandomAccessIterator __first, _RandomAccessIterator __last) { ; ; std::__stable_sort(__first, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 5092 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline void stable_sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { ; ; std::__stable_sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template _OutputIterator __set_union(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { while (__first1 != __last1 && __first2 != __last2) { if (__comp(__first1, __first2)) { *__result = *__first1; ++__first1; } else if (__comp(__first2, __first1)) { *__result = *__first2; ++__first2; } else { *__result = *__first1; ++__first1; ++__first2; } ++__result; } return std::copy(__first2, __last2, std::copy(__first1, __last1, __result)); } # 5162 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator set_union(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result) { # 5183 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__set_union(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_less_iter()); } # 5213 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator set_union(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { # 5234 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__set_union(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template _OutputIterator __set_intersection(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { while (__first1 != __last1 && __first2 != __last2) if (__comp(__first1, __first2)) ++__first1; else if (__comp(__first2, __first1)) ++__first2; else { *__result = *__first1; ++__first1; ++__first2; ++__result; } return __result; } # 5286 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator set_intersection(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result) { # 5305 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__set_intersection(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_less_iter()); } # 5336 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator set_intersection(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { # 5355 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__set_intersection(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template _OutputIterator __set_difference(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { while (__first1 != __last1 && __first2 != __last2) if (__comp(__first1, __first2)) { *__result = *__first1; ++__first1; ++__result; } else if (__comp(__first2, __first1)) ++__first2; else { ++__first1; ++__first2; } return std::copy(__first1, __last1, __result); } # 5411 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator set_difference(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result) { # 5430 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__set_difference(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_less_iter()); } # 5463 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator set_difference(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { # 5482 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__set_difference(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template _OutputIterator __set_symmetric_difference(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { while (__first1 != __last1 && __first2 != __last2) if (__comp(__first1, __first2)) { *__result = *__first1; ++__first1; ++__result; } else if (__comp(__first2, __first1)) { *__result = *__first2; ++__first2; ++__result; } else { ++__first1; ++__first2; } return std::copy(__first2, __last2, std::copy(__first1, __last1, __result)); } # 5544 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator set_symmetric_difference(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result) { # 5565 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__set_symmetric_difference(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_less_iter()); } # 5596 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _OutputIterator set_symmetric_difference(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp) { # 5618 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 ; ; ; ; return std::__set_symmetric_difference(__first1, __last1, __first2, __last2, __result, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template _ForwardIterator __min_element(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) { if (__first == __last) return __first; _ForwardIterator __result = __first; while (++__first != __last) if (__comp(__first, __result)) __result = __first; return __result; } # 5650 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template _ForwardIterator inline min_element(_ForwardIterator __first, _ForwardIterator __last) { ; ; return std::__min_element(__first, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 5675 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator min_element(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) { ; ; return std::__min_element(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template _ForwardIterator __max_element(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) { if (__first == __last) return __first; _ForwardIterator __result = __first; while (++__first != __last) if (__comp(__result, __first)) __result = __first; return __result; } # 5714 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator max_element(_ForwardIterator __first, _ForwardIterator __last) { ; ; return std::__max_element(__first, __last, __gnu_cxx::__ops::__iter_less_iter()); } # 5739 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 template inline _ForwardIterator max_element(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) { ; ; return std::__max_element(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } # 5887 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_algo.h" 3 } # 63 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/algorithm" 2 3 # 56 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm" 2 3 namespace std { # 77 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm" 3 template __attribute__((enable_if(true, ""))) inline __attribute__((host)) __attribute__((device)) const __T & max(const __T &__a, const __T &__b, __Cmp __cmp) { return __cmp(__a, __b) ? __b : __a; } template __attribute__((enable_if(true, ""))) inline __attribute__((host)) __attribute__((device)) const __T & max(const __T &__a, const __T &__b) { return __a < __b ? __b : __a; } template __attribute__((enable_if(true, ""))) inline __attribute__((host)) __attribute__((device)) const __T & min(const __T &__a, const __T &__b, __Cmp __cmp) { return __cmp(__b, __a) ? __b : __a; } template __attribute__((enable_if(true, ""))) inline __attribute__((host)) __attribute__((device)) const __T & min(const __T &__a, const __T &__b) { return __a < __b ? __a : __b; } # 113 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm" 3 } # 19 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 2 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/limits.h" 1 3 # 21 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/limits.h" 3 # 1 "/usr/include/limits.h" 1 3 4 # 144 "/usr/include/limits.h" 3 4 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4 # 160 "/usr/include/bits/posix1_lim.h" 3 4 # 1 "/usr/include/bits/local_lim.h" 1 3 4 # 38 "/usr/include/bits/local_lim.h" 3 4 # 1 "/usr/include/linux/limits.h" 1 3 4 # 39 "/usr/include/bits/local_lim.h" 2 3 4 # 161 "/usr/include/bits/posix1_lim.h" 2 3 4 # 145 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4 # 149 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/bits/xopen_lim.h" 1 3 4 # 33 "/usr/include/bits/xopen_lim.h" 3 4 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 # 34 "/usr/include/bits/xopen_lim.h" 2 3 4 # 153 "/usr/include/limits.h" 2 3 4 # 22 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/limits.h" 2 3 # 21 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 2 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stdint.h" 1 3 # 52 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stdint.h" 3 # 1 "/usr/include/stdint.h" 1 3 4 # 26 "/usr/include/stdint.h" 3 4 # 1 "/usr/include/bits/wchar.h" 1 3 4 # 22 "/usr/include/bits/wchar.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 23 "/usr/include/bits/wchar.h" 2 3 4 # 27 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 28 "/usr/include/stdint.h" 2 3 4 # 48 "/usr/include/stdint.h" 3 4 typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; typedef unsigned long int uint64_t; # 65 "/usr/include/stdint.h" 3 4 typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; typedef long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; typedef unsigned long int uint_least64_t; # 90 "/usr/include/stdint.h" 3 4 typedef signed char int_fast8_t; typedef long int int_fast16_t; typedef long int int_fast32_t; typedef long int int_fast64_t; # 103 "/usr/include/stdint.h" 3 4 typedef unsigned char uint_fast8_t; typedef unsigned long int uint_fast16_t; typedef unsigned long int uint_fast32_t; typedef unsigned long int uint_fast64_t; # 119 "/usr/include/stdint.h" 3 4 typedef long int intptr_t; typedef unsigned long int uintptr_t; # 134 "/usr/include/stdint.h" 3 4 typedef long int intmax_t; typedef unsigned long int uintmax_t; # 53 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stdint.h" 2 3 # 22 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 2 3 # 94 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) uint64_t __make_mantissa_base8(const char *__tagp) { uint64_t __r = 0; while (__tagp) { char __tmp = *__tagp; if (__tmp >= '0' && __tmp <= '7') __r = (__r * 8u) + __tmp - '0'; else return 0; ++__tagp; } return __r; } static __attribute__((device)) inline __attribute__((always_inline)) uint64_t __make_mantissa_base10(const char *__tagp) { uint64_t __r = 0; while (__tagp) { char __tmp = *__tagp; if (__tmp >= '0' && __tmp <= '9') __r = (__r * 10u) + __tmp - '0'; else return 0; ++__tagp; } return __r; } static __attribute__((device)) inline __attribute__((always_inline)) uint64_t __make_mantissa_base16(const char *__tagp) { uint64_t __r = 0; while (__tagp) { char __tmp = *__tagp; if (__tmp >= '0' && __tmp <= '9') __r = (__r * 16u) + __tmp - '0'; else if (__tmp >= 'a' && __tmp <= 'f') __r = (__r * 16u) + __tmp - 'a' + 10; else if (__tmp >= 'A' && __tmp <= 'F') __r = (__r * 16u) + __tmp - 'A' + 10; else return 0; ++__tagp; } return __r; } static __attribute__((device)) inline __attribute__((always_inline)) uint64_t __make_mantissa(const char *__tagp) { if (!__tagp) return 0u; if (*__tagp == '0') { ++__tagp; if (*__tagp == 'x' || *__tagp == 'X') return __make_mantissa_base16(__tagp); else return __make_mantissa_base8(__tagp); } return __make_mantissa_base10(__tagp); } static __attribute__((device)) inline __attribute__((always_inline)) int abs(int __x) { int __sgn = __x >> (sizeof(int) * 8 - 1); return (__x ^ __sgn) - __sgn; } static __attribute__((device)) inline __attribute__((always_inline)) long labs(long __x) { long __sgn = __x >> (sizeof(long) * 8 - 1); return (__x ^ __sgn) - __sgn; } static __attribute__((device)) inline __attribute__((always_inline)) long long llabs(long long __x) { long long __sgn = __x >> (sizeof(long long) * 8 - 1); return (__x ^ __sgn) - __sgn; } static __attribute__((device)) inline __attribute__((always_inline)) float acosf(float __x) { return __ocml_acos_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float acoshf(float __x) { return __ocml_acosh_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float asinf(float __x) { return __ocml_asin_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float asinhf(float __x) { return __ocml_asinh_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float atan2f(float __x, float __y) { return __ocml_atan2_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float atanf(float __x) { return __ocml_atan_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float atanhf(float __x) { return __ocml_atanh_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float cbrtf(float __x) { return __ocml_cbrt_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float ceilf(float __x) { return __ocml_ceil_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float copysignf(float __x, float __y) { return __ocml_copysign_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float cosf(float __x) { return __ocml_cos_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float coshf(float __x) { return __ocml_cosh_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float cospif(float __x) { return __ocml_cospi_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float cyl_bessel_i0f(float __x) { return __ocml_i0_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float cyl_bessel_i1f(float __x) { return __ocml_i1_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float erfcf(float __x) { return __ocml_erfc_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float erfcinvf(float __x) { return __ocml_erfcinv_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float erfcxf(float __x) { return __ocml_erfcx_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float erff(float __x) { return __ocml_erf_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float erfinvf(float __x) { return __ocml_erfinv_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float exp10f(float __x) { return __ocml_exp10_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float exp2f(float __x) { return __ocml_exp2_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float expf(float __x) { return __ocml_exp_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float expm1f(float __x) { return __ocml_expm1_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float fabsf(float __x) { return __ocml_fabs_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float fdimf(float __x, float __y) { return __ocml_fdim_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float fdividef(float __x, float __y) { return __x / __y; } static __attribute__((device)) inline __attribute__((always_inline)) float floorf(float __x) { return __ocml_floor_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float fmaf(float __x, float __y, float __z) { return __ocml_fma_f32(__x, __y, __z); } static __attribute__((device)) inline __attribute__((always_inline)) float fmaxf(float __x, float __y) { return __ocml_fmax_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float fminf(float __x, float __y) { return __ocml_fmin_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float fmodf(float __x, float __y) { return __ocml_fmod_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float frexpf(float __x, int *__nptr) { int __tmp; float __r = __ocml_frexp_f32(__x, (__attribute__((address_space(5))) int *)&__tmp); *__nptr = __tmp; return __r; } static __attribute__((device)) inline __attribute__((always_inline)) float hypotf(float __x, float __y) { return __ocml_hypot_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) int ilogbf(float __x) { return __ocml_ilogb_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool __finitef(float __x) { return __ocml_isfinite_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool __isinff(float __x) { return __ocml_isinf_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool __isnanf(float __x) { return __ocml_isnan_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float j0f(float __x) { return __ocml_j0_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float j1f(float __x) { return __ocml_j1_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float jnf(int __n, float __x) { if (__n == 0) return j0f(__x); if (__n == 1) return j1f(__x); float __x0 = j0f(__x); float __x1 = j1f(__x); for (int __i = 1; __i < __n; ++__i) { float __x2 = (2 * __i) / __x * __x1 - __x0; __x0 = __x1; __x1 = __x2; } return __x1; } static __attribute__((device)) inline __attribute__((always_inline)) float ldexpf(float __x, int __e) { return __ocml_ldexp_f32(__x, __e); } static __attribute__((device)) inline __attribute__((always_inline)) float lgammaf(float __x) { return __ocml_lgamma_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long long int llrintf(float __x) { return __ocml_rint_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long long int llroundf(float __x) { return __ocml_round_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float log10f(float __x) { return __ocml_log10_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float log1pf(float __x) { return __ocml_log1p_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float log2f(float __x) { return __ocml_log2_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float log2fi(int __x) { return __ocml_log2_f32((float) __x); } static __attribute__((device)) inline __attribute__((always_inline)) float logbf(float __x) { return __ocml_logb_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float logf(float __x) { return __ocml_log_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long int lrintf(float __x) { return __ocml_rint_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long int lroundf(float __x) { return __ocml_round_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float modff(float __x, float *__iptr) { float __tmp; float __r = __ocml_modf_f32(__x, (__attribute__((address_space(5))) float *)&__tmp); *__iptr = __tmp; return __r; } static __attribute__((device)) inline __attribute__((always_inline)) float nanf(const char *__tagp) { union { float val; struct ieee_float { unsigned int mantissa : 22; unsigned int quiet : 1; unsigned int exponent : 8; unsigned int sign : 1; } bits; } __tmp; static_assert((sizeof(__tmp.val)) == (sizeof(__tmp.bits)), ""); __tmp.bits.sign = 0u; __tmp.bits.exponent = ~0u; __tmp.bits.quiet = 1u; __tmp.bits.mantissa = __make_mantissa(__tagp); return __tmp.val; } static __attribute__((device)) inline __attribute__((always_inline)) float nearbyintf(float __x) { return __ocml_nearbyint_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float nextafterf(float __x, float __y) { return __ocml_nextafter_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float norm3df(float __x, float __y, float __z) { return __ocml_len3_f32(__x, __y, __z); } static __attribute__((device)) inline __attribute__((always_inline)) float norm4df(float __x, float __y, float __z, float __w) { return __ocml_len4_f32(__x, __y, __z, __w); } static __attribute__((device)) inline __attribute__((always_inline)) float normcdff(float __x) { return __ocml_ncdf_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float normcdfinvf(float __x) { return __ocml_ncdfinv_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float normf(int __dim, const float *__a) { float __r = 0; while (__dim--) { __r += __a[0] * __a[0]; ++__a; } return __ocml_sqrt_f32(__r); } static __attribute__((device)) inline __attribute__((always_inline)) float powf(float __x, float __y) { return __ocml_pow_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float powif(float __x, int __y) { return __ocml_pown_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) int powii(int __base, int __exp) { if (__exp < 0 ) return -1; int __result = 1; for (;;) { if (__exp & 1) __result *= __base; __exp >>= 1; if (!__exp) break; __base *= __base; } return __result; } static __attribute__((device)) inline __attribute__((always_inline)) float rcbrtf(float __x) { return __ocml_rcbrt_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float remainderf(float __x, float __y) { return __ocml_remainder_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float remquof(float __x, float __y, int *__quo) { int __tmp; float __r = __ocml_remquo_f32( __x, __y, (__attribute__((address_space(5))) int *)&__tmp); *__quo = __tmp; return __r; } static __attribute__((device)) inline __attribute__((always_inline)) float rhypotf(float __x, float __y) { return __ocml_rhypot_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float rintf(float __x) { return __ocml_rint_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float rnorm3df(float __x, float __y, float __z) { return __ocml_rlen3_f32(__x, __y, __z); } static __attribute__((device)) inline __attribute__((always_inline)) float rnorm4df(float __x, float __y, float __z, float __w) { return __ocml_rlen4_f32(__x, __y, __z, __w); } static __attribute__((device)) inline __attribute__((always_inline)) float rnormf(int __dim, const float *__a) { float __r = 0; while (__dim--) { __r += __a[0] * __a[0]; ++__a; } return __ocml_rsqrt_f32(__r); } static __attribute__((device)) inline __attribute__((always_inline)) float roundf(float __x) { return __ocml_round_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float rsqrtf(float __x) { return __ocml_rsqrt_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float scalblnf(float __x, long int __n) { return (__n < 2147483647) ? __ocml_scalbn_f32(__x, __n) : __ocml_scalb_f32(__x, __n); } static __attribute__((device)) inline __attribute__((always_inline)) float scalbnf(float __x, int __n) { return __ocml_scalbn_f32(__x, __n); } static __attribute__((device)) inline __attribute__((always_inline)) bool __signbitf(float __x) { return __ocml_signbit_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) void sincosf(float __x, float *__sinptr, float *__cosptr) { float __tmp; *__sinptr = __ocml_sincos_f32(__x, (__attribute__((address_space(5))) float *)&__tmp); *__cosptr = __tmp; } static __attribute__((device)) inline __attribute__((always_inline)) void sincospif(float __x, float *__sinptr, float *__cosptr) { float __tmp; *__sinptr = __ocml_sincospi_f32( __x, (__attribute__((address_space(5))) float *)&__tmp); *__cosptr = __tmp; } static __attribute__((device)) inline __attribute__((always_inline)) float sinf(float __x) { return __ocml_sin_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float sinhf(float __x) { return __ocml_sinh_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float sinpif(float __x) { return __ocml_sinpi_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float sqrtf(float __x) { return __ocml_sqrt_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float tanf(float __x) { return __ocml_tan_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float tanhf(float __x) { return __ocml_tanh_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float tgammaf(float __x) { return __ocml_tgamma_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float truncf(float __x) { return __ocml_trunc_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float y0f(float __x) { return __ocml_y0_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float y1f(float __x) { return __ocml_y1_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float ynf(int __n, float __x) { if (__n == 0) return y0f(__x); if (__n == 1) return y1f(__x); float __x0 = y0f(__x); float __x1 = y1f(__x); for (int __i = 1; __i < __n; ++__i) { float __x2 = (2 * __i) / __x * __x1 - __x0; __x0 = __x1; __x1 = __x2; } return __x1; } static __attribute__((device)) inline __attribute__((always_inline)) float __cosf(float __x) { return __ocml_native_cos_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float __exp10f(float __x) { return __ocml_native_exp10_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float __expf(float __x) { return __ocml_native_exp_f32(__x); } # 650 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) float __fadd_rn(float __x, float __y) { return __x + __y; } # 664 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) float __fdiv_rn(float __x, float __y) { return __x / __y; } static __attribute__((device)) inline __attribute__((always_inline)) float __fdividef(float __x, float __y) { return __x / __y; } # 689 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) float __fmaf_rn(float __x, float __y, float __z) { return __ocml_fma_f32(__x, __y, __z); } # 705 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) float __fmul_rn(float __x, float __y) { return __x * __y; } # 719 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) float __frcp_rn(float __x) { return 1.0f / __x; } static __attribute__((device)) inline __attribute__((always_inline)) float __frsqrt_rn(float __x) { return __llvm_amdgcn_rsq_f32(__x); } # 736 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) float __fsqrt_rn(float __x) { return __ocml_native_sqrt_f32(__x); } # 750 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) float __fsub_rn(float __x, float __y) { return __x - __y; } static __attribute__((device)) inline __attribute__((always_inline)) float __log10f(float __x) { return __ocml_native_log10_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float __log2f(float __x) { return __ocml_native_log2_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float __logf(float __x) { return __ocml_native_log_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float __powf(float __x, float __y) { return __ocml_pow_f32(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float __saturatef(float __x) { return (__x < 0) ? 0 : ((__x > 1) ? 1 : __x); } static __attribute__((device)) inline __attribute__((always_inline)) void __sincosf(float __x, float *__sinptr, float *__cosptr) { *__sinptr = __ocml_native_sin_f32(__x); *__cosptr = __ocml_native_cos_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float __sinf(float __x) { return __ocml_native_sin_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float __tanf(float __x) { return __ocml_tan_f32(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double acos(double __x) { return __ocml_acos_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double acosh(double __x) { return __ocml_acosh_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double asin(double __x) { return __ocml_asin_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double asinh(double __x) { return __ocml_asinh_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double atan(double __x) { return __ocml_atan_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double atan2(double __x, double __y) { return __ocml_atan2_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double atanh(double __x) { return __ocml_atanh_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double cbrt(double __x) { return __ocml_cbrt_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double ceil(double __x) { return __ocml_ceil_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double copysign(double __x, double __y) { return __ocml_copysign_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double cos(double __x) { return __ocml_cos_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double cosh(double __x) { return __ocml_cosh_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double cospi(double __x) { return __ocml_cospi_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double cyl_bessel_i0(double __x) { return __ocml_i0_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double cyl_bessel_i1(double __x) { return __ocml_i1_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double erf(double __x) { return __ocml_erf_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double erfc(double __x) { return __ocml_erfc_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double erfcinv(double __x) { return __ocml_erfcinv_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double erfcx(double __x) { return __ocml_erfcx_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double erfinv(double __x) { return __ocml_erfinv_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double exp(double __x) { return __ocml_exp_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double exp10(double __x) { return __ocml_exp10_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double exp2(double __x) { return __ocml_exp2_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double expm1(double __x) { return __ocml_expm1_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double fabs(double __x) { return __ocml_fabs_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double fdim(double __x, double __y) { return __ocml_fdim_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double floor(double __x) { return __ocml_floor_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double fma(double __x, double __y, double __z) { return __ocml_fma_f64(__x, __y, __z); } static __attribute__((device)) inline __attribute__((always_inline)) double fmax(double __x, double __y) { return __ocml_fmax_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double fmin(double __x, double __y) { return __ocml_fmin_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double fmod(double __x, double __y) { return __ocml_fmod_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double frexp(double __x, int *__nptr) { int __tmp; double __r = __ocml_frexp_f64(__x, (__attribute__((address_space(5))) int *)&__tmp); *__nptr = __tmp; return __r; } static __attribute__((device)) inline __attribute__((always_inline)) double hypot(double __x, double __y) { return __ocml_hypot_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) int ilogb(double __x) { return __ocml_ilogb_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool __finite(double __x) { return __ocml_isfinite_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool __isinf(double __x) { return __ocml_isinf_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool __isnan(double __x) { return __ocml_isnan_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double j0(double __x) { return __ocml_j0_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double j1(double __x) { return __ocml_j1_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double jn(int __n, double __x) { if (__n == 0) return j0(__x); if (__n == 1) return j1(__x); double __x0 = j0(__x); double __x1 = j1(__x); for (int __i = 1; __i < __n; ++__i) { double __x2 = (2 * __i) / __x * __x1 - __x0; __x0 = __x1; __x1 = __x2; } return __x1; } static __attribute__((device)) inline __attribute__((always_inline)) double ldexp(double __x, int __e) { return __ocml_ldexp_f64(__x, __e); } static __attribute__((device)) inline __attribute__((always_inline)) double lgamma(double __x) { return __ocml_lgamma_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long long int llrint(double __x) { return __ocml_rint_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long long int llround(double __x) { return __ocml_round_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double log(double __x) { return __ocml_log_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double log10(double __x) { return __ocml_log10_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double log1p(double __x) { return __ocml_log1p_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double log2(double __x) { return __ocml_log2_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double logb(double __x) { return __ocml_logb_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long int lrint(double __x) { return __ocml_rint_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long int lround(double __x) { return __ocml_round_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double modf(double __x, double *__iptr) { double __tmp; double __r = __ocml_modf_f64(__x, (__attribute__((address_space(5))) double *)&__tmp); *__iptr = __tmp; return __r; } static __attribute__((device)) inline __attribute__((always_inline)) double nan(const char *__tagp) { union { double val; struct ieee_double { uint64_t mantissa : 51; uint32_t quiet : 1; uint32_t exponent : 11; uint32_t sign : 1; } bits; } __tmp; static_assert((sizeof(__tmp.val)) == (sizeof(__tmp.bits)), ""); __tmp.bits.sign = 0u; __tmp.bits.exponent = ~0u; __tmp.bits.quiet = 1u; __tmp.bits.mantissa = __make_mantissa(__tagp); return __tmp.val; } static __attribute__((device)) inline __attribute__((always_inline)) double nearbyint(double __x) { return __ocml_nearbyint_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double nextafter(double __x, double __y) { return __ocml_nextafter_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double norm(int __dim, const double *__a) { double __r = 0; while (__dim--) { __r += __a[0] * __a[0]; ++__a; } return __ocml_sqrt_f64(__r); } static __attribute__((device)) inline __attribute__((always_inline)) double norm3d(double __x, double __y, double __z) { return __ocml_len3_f64(__x, __y, __z); } static __attribute__((device)) inline __attribute__((always_inline)) double norm4d(double __x, double __y, double __z, double __w) { return __ocml_len4_f64(__x, __y, __z, __w); } static __attribute__((device)) inline __attribute__((always_inline)) double normcdf(double __x) { return __ocml_ncdf_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double normcdfinv(double __x) { return __ocml_ncdfinv_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double pow(double __x, double __y) { return __ocml_pow_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double powi(double __x, int __y) { return __ocml_pown_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double rcbrt(double __x) { return __ocml_rcbrt_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double remainder(double __x, double __y) { return __ocml_remainder_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double remquo(double __x, double __y, int *__quo) { int __tmp; double __r = __ocml_remquo_f64( __x, __y, (__attribute__((address_space(5))) int *)&__tmp); *__quo = __tmp; return __r; } static __attribute__((device)) inline __attribute__((always_inline)) double rhypot(double __x, double __y) { return __ocml_rhypot_f64(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double rint(double __x) { return __ocml_rint_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double rnorm(int __dim, const double *__a) { double __r = 0; while (__dim--) { __r += __a[0] * __a[0]; ++__a; } return __ocml_rsqrt_f64(__r); } static __attribute__((device)) inline __attribute__((always_inline)) double rnorm3d(double __x, double __y, double __z) { return __ocml_rlen3_f64(__x, __y, __z); } static __attribute__((device)) inline __attribute__((always_inline)) double rnorm4d(double __x, double __y, double __z, double __w) { return __ocml_rlen4_f64(__x, __y, __z, __w); } static __attribute__((device)) inline __attribute__((always_inline)) double round(double __x) { return __ocml_round_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double rsqrt(double __x) { return __ocml_rsqrt_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double scalbln(double __x, long int __n) { return (__n < 2147483647) ? __ocml_scalbn_f64(__x, __n) : __ocml_scalb_f64(__x, __n); } static __attribute__((device)) inline __attribute__((always_inline)) double scalbn(double __x, int __n) { return __ocml_scalbn_f64(__x, __n); } static __attribute__((device)) inline __attribute__((always_inline)) bool __signbit(double __x) { return __ocml_signbit_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double sin(double __x) { return __ocml_sin_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) void sincos(double __x, double *__sinptr, double *__cosptr) { double __tmp; *__sinptr = __ocml_sincos_f64( __x, (__attribute__((address_space(5))) double *)&__tmp); *__cosptr = __tmp; } static __attribute__((device)) inline __attribute__((always_inline)) void sincospi(double __x, double *__sinptr, double *__cosptr) { double __tmp; *__sinptr = __ocml_sincospi_f64( __x, (__attribute__((address_space(5))) double *)&__tmp); *__cosptr = __tmp; } static __attribute__((device)) inline __attribute__((always_inline)) double sinh(double __x) { return __ocml_sinh_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double sinpi(double __x) { return __ocml_sinpi_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double sqrt(double __x) { return __ocml_sqrt_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double tan(double __x) { return __ocml_tan_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double tanh(double __x) { return __ocml_tanh_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double tgamma(double __x) { return __ocml_tgamma_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double trunc(double __x) { return __ocml_trunc_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double y0(double __x) { return __ocml_y0_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double y1(double __x) { return __ocml_y1_f64(__x); } static __attribute__((device)) inline __attribute__((always_inline)) double yn(int __n, double __x) { if (__n == 0) return y0(__x); if (__n == 1) return y1(__x); double __x0 = y0(__x); double __x1 = y1(__x); for (int __i = 1; __i < __n; ++__i) { double __x2 = (2 * __i) / __x * __x1 - __x0; __x0 = __x1; __x1 = __x2; } return __x1; } # 1233 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) double __dadd_rn(double __x, double __y) { return __x + __y; } # 1255 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) double __ddiv_rn(double __x, double __y) { return __x / __y; } # 1277 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) double __dmul_rn(double __x, double __y) { return __x * __y; } # 1291 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) double __drcp_rn(double __x) { return 1.0 / __x; } # 1305 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) double __dsqrt_rn(double __x) { return __ocml_sqrt_f64(__x); } # 1327 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) double __dsub_rn(double __x, double __y) { return __x - __y; } # 1349 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) double __fma_rn(double __x, double __y, double __z) { return __ocml_fma_f64(__x, __y, __z); } # 1368 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_math.h" 3 template static __attribute__((device)) inline __attribute__((always_inline)) T min(T __arg1, T __arg2) { return (__arg1 < __arg2) ? __arg1 : __arg2; } template static __attribute__((device)) inline __attribute__((always_inline)) T max(T __arg1, T __arg2) { return (__arg1 > __arg2) ? __arg1 : __arg2; } static __attribute__((device)) inline __attribute__((always_inline)) int min(int __arg1, int __arg2) { return (__arg1 < __arg2) ? __arg1 : __arg2; } static __attribute__((device)) inline __attribute__((always_inline)) int max(int __arg1, int __arg2) { return (__arg1 > __arg2) ? __arg1 : __arg2; } static __attribute__((device)) inline __attribute__((always_inline)) float max(float __x, float __y) { return fmaxf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double max(double __x, double __y) { return fmax(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float min(float __x, float __y) { return fminf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) double min(double __x, double __y) { return fmin(__x, __y); } __attribute__((host)) inline static int min(int __arg1, int __arg2) { return std::min(__arg1, __arg2); } __attribute__((host)) inline static int max(int __arg1, int __arg2) { return std::max(__arg1, __arg2); } # 103 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 2 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h" 1 3 # 26 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h" 3 static __inline__ __attribute__((always_inline)) __attribute__((device)) long abs(long); static __inline__ __attribute__((always_inline)) __attribute__((device)) long long abs(long long); static __inline__ __attribute__((always_inline)) __attribute__((device)) double abs(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float abs(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) int abs(int); static __inline__ __attribute__((always_inline)) __attribute__((device)) double acos(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float acos(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double acosh(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float acosh(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double asin(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float asin(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double asinh(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float asinh(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double atan2(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float atan2(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double atan(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float atan(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double atanh(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float atanh(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double cbrt(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float cbrt(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double ceil(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float ceil(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double copysign(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float copysign(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double cos(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float cos(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double cosh(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float cosh(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double erfc(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float erfc(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double erf(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float erf(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double exp2(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float exp2(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double exp(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float exp(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double expm1(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float expm1(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double fabs(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float fabs(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double fdim(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float fdim(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double floor(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float floor(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double fma(double, double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float fma(float, float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double fmax(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float fmax(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double fmin(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float fmin(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double fmod(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float fmod(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) int fpclassify(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) int fpclassify(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double frexp(double, int *); static __inline__ __attribute__((always_inline)) __attribute__((device)) float frexp(float, int *); static __inline__ __attribute__((always_inline)) __attribute__((device)) double hypot(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float hypot(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) int ilogb(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) int ilogb(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isfinite(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isfinite(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isgreater(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isgreaterequal(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isgreaterequal(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isgreater(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isinf(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isinf(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isless(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool islessequal(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool islessequal(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isless(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool islessgreater(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool islessgreater(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isnan(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isnan(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isnormal(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isnormal(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isunordered(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool isunordered(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) long labs(long); static __inline__ __attribute__((always_inline)) __attribute__((device)) double ldexp(double, int); static __inline__ __attribute__((always_inline)) __attribute__((device)) float ldexp(float, int); static __inline__ __attribute__((always_inline)) __attribute__((device)) double lgamma(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float lgamma(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) long long llabs(long long); static __inline__ __attribute__((always_inline)) __attribute__((device)) long long llrint(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) long long llrint(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double log10(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float log10(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double log1p(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float log1p(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double log2(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float log2(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double logb(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float logb(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double log(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float log(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) long lrint(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) long lrint(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) long lround(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) long lround(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) long long llround(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double modf(double, double *); static __inline__ __attribute__((always_inline)) __attribute__((device)) float modf(float, float *); static __inline__ __attribute__((always_inline)) __attribute__((device)) double nan(const char *); static __inline__ __attribute__((always_inline)) __attribute__((device)) float nanf(const char *); static __inline__ __attribute__((always_inline)) __attribute__((device)) double nearbyint(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float nearbyint(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double nextafter(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float nextafter(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double pow(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) double pow(double, int); static __inline__ __attribute__((always_inline)) __attribute__((device)) float pow(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) float pow(float, int); static __inline__ __attribute__((always_inline)) __attribute__((device)) double remainder(double, double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float remainder(float, float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double remquo(double, double, int *); static __inline__ __attribute__((always_inline)) __attribute__((device)) float remquo(float, float, int *); static __inline__ __attribute__((always_inline)) __attribute__((device)) double rint(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float rint(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double round(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float round(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double scalbln(double, long); static __inline__ __attribute__((always_inline)) __attribute__((device)) float scalbln(float, long); static __inline__ __attribute__((always_inline)) __attribute__((device)) double scalbn(double, int); static __inline__ __attribute__((always_inline)) __attribute__((device)) float scalbn(float, int); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool signbit(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) bool signbit(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double sin(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float sin(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double sinh(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float sinh(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double sqrt(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float sqrt(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double tan(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float tan(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double tanh(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float tanh(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double tgamma(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float tgamma(float); static __inline__ __attribute__((always_inline)) __attribute__((device)) double trunc(double); static __inline__ __attribute__((always_inline)) __attribute__((device)) float trunc(float); # 194 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h" 3 namespace std { using ::abs; using ::acos; using ::acosh; using ::asin; using ::asinh; using ::atan; using ::atan2; using ::atanh; using ::cbrt; using ::ceil; using ::copysign; using ::cos; using ::cosh; using ::erf; using ::erfc; using ::exp; using ::exp2; using ::expm1; using ::fabs; using ::fdim; using ::floor; using ::fma; using ::fmax; using ::fmin; using ::fmod; using ::fpclassify; using ::frexp; using ::hypot; using ::ilogb; using ::isfinite; using ::isgreater; using ::isgreaterequal; using ::isinf; using ::isless; using ::islessequal; using ::islessgreater; using ::isnan; using ::isnormal; using ::isunordered; using ::labs; using ::ldexp; using ::lgamma; using ::llabs; using ::llrint; using ::log; using ::log10; using ::log1p; using ::log2; using ::logb; using ::lrint; using ::lround; using ::llround; using ::modf; using ::nan; using ::nanf; using ::nearbyint; using ::nextafter; using ::pow; using ::remainder; using ::remquo; using ::rint; using ::round; using ::scalbln; using ::scalbn; using ::signbit; using ::sin; using ::sinh; using ::sqrt; using ::tan; using ::tanh; using ::tgamma; using ::trunc; } # 108 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 2 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 1 3 # 41 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) double abs(double __x) { return ::fabs(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float abs(float __x) { return ::fabsf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long long abs(long long __n) { return ::llabs(__n); } static __attribute__((device)) inline __attribute__((always_inline)) long abs(long __n) { return ::labs(__n); } static __attribute__((device)) inline __attribute__((always_inline)) float fma(float __x, float __y, float __z) { return ::fmaf(__x, __y, __z); } static __attribute__((device)) inline __attribute__((always_inline)) int fpclassify(float __x) { return __builtin_fpclassify(0, 1, 4, 3, 2, __x); } static __attribute__((device)) inline __attribute__((always_inline)) int fpclassify(double __x) { return __builtin_fpclassify(0, 1, 4, 3, 2, __x); } static __attribute__((device)) inline __attribute__((always_inline)) float frexp(float __arg, int *__exp) { return ::frexpf(__arg, __exp); } # 93 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) bool isinf(float __x) { return ::__isinff(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool isinf(double __x) { return ::__isinf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool isfinite(float __x) { return ::__finitef(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool isfinite(double __x) { return ::__finite(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool isnan(float __x) { return ::__isnanf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool isnan(double __x) { return ::__isnan(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool isgreater(float __x, float __y) { return __builtin_isgreater(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool isgreater(double __x, double __y) { return __builtin_isgreater(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool isgreaterequal(float __x, float __y) { return __builtin_isgreaterequal(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool isgreaterequal(double __x, double __y) { return __builtin_isgreaterequal(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool isless(float __x, float __y) { return __builtin_isless(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool isless(double __x, double __y) { return __builtin_isless(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool islessequal(float __x, float __y) { return __builtin_islessequal(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool islessequal(double __x, double __y) { return __builtin_islessequal(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool islessgreater(float __x, float __y) { return __builtin_islessgreater(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool islessgreater(double __x, double __y) { return __builtin_islessgreater(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool isnormal(float __x) { return __builtin_isnormal(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool isnormal(double __x) { return __builtin_isnormal(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool isunordered(float __x, float __y) { return __builtin_isunordered(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) bool isunordered(double __x, double __y) { return __builtin_isunordered(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float modf(float __x, float *__iptr) { return ::modff(__x, __iptr); } static __attribute__((device)) inline __attribute__((always_inline)) float pow(float __base, int __iexp) { return ::powif(__base, __iexp); } static __attribute__((device)) inline __attribute__((always_inline)) double pow(double __base, int __iexp) { return ::powi(__base, __iexp); } static __attribute__((device)) inline __attribute__((always_inline)) float remquo(float __x, float __y, int *__quo) { return ::remquof(__x, __y, __quo); } static __attribute__((device)) inline __attribute__((always_inline)) float scalbln(float __x, long int __n) { return ::scalblnf(__x, __n); } static __attribute__((device)) inline __attribute__((always_inline)) bool signbit(float __x) { return ::__signbitf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) bool signbit(double __x) { return ::__signbit(__x); } static __attribute__((device)) inline __attribute__((always_inline)) _Float16 fma(_Float16 __x, _Float16 __y, _Float16 __z) { return __ocml_fma_f16(__x, __y, __z); } static __attribute__((device)) inline __attribute__((always_inline)) _Float16 pow(_Float16 __base, int __iexp) { return __ocml_pown_f16(__base, __iexp); } # 202 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 3 static __attribute__((device)) inline __attribute__((always_inline)) float acos(float __x) { return acosf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float acosh(float __x) { return acoshf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float asin(float __x) { return asinf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float asinh(float __x) { return asinhf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float atan(float __x) { return atanf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float atan2(float __x, float __y) { return atan2f(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float atanh(float __x) { return atanhf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float cbrt(float __x) { return cbrtf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float ceil(float __x) { return ceilf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float copysign(float __x, float __y) { return copysignf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float cos(float __x) { return cosf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float cosh(float __x) { return coshf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float erf(float __x) { return erff(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float erfc(float __x) { return erfcf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float exp(float __x) { return expf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float exp2(float __x) { return exp2f(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float expm1(float __x) { return expm1f(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float fabs(float __x) { return fabsf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float fdim(float __x, float __y) { return fdimf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float floor(float __x) { return floorf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float fmax(float __x, float __y) { return fmaxf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float fmin(float __x, float __y) { return fminf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float fmod(float __x, float __y) { return fmodf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float hypot(float __x, float __y) { return hypotf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) int ilogb(float __x) { return ilogbf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float ldexp(float __x, int __y) { return ldexpf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float lgamma(float __x) { return lgammaf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float log(float __x) { return logf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float log10(float __x) { return log10f(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float log1p(float __x) { return log1pf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float log2(float __x) { return log2f(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float logb(float __x) { return logbf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long long llrint(float __x) { return llrintf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long long llround(float __x) { return llroundf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long lrint(float __x) { return lrintf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) long lround(float __x) { return lroundf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float nearbyint(float __x) { return nearbyintf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float nextafter(float __x, float __y) { return nextafterf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float pow(float __x, float __y) { return powf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float remainder(float __x, float __y) { return remainderf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float rint(float __x) { return rintf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float round(float __x) { return roundf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float scalbn(float __x, int __y) { return scalbnf(__x, __y); } static __attribute__((device)) inline __attribute__((always_inline)) float sin(float __x) { return sinf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float sinh(float __x) { return sinhf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float sqrt(float __x) { return sqrtf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float tan(float __x) { return tanf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float tanh(float __x) { return tanhf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float tgamma(float __x) { return tgammaf(__x); } static __attribute__((device)) inline __attribute__((always_inline)) float trunc(float __x) { return truncf(__x); } # 265 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 3 template struct __hip_enable_if {}; template struct __hip_enable_if { typedef __T type; }; namespace __hip { template struct is_integral { enum { value = 0 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template <> struct is_integral { enum { value = 1 }; }; template struct is_arithmetic { enum { value = 0 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; template <> struct is_arithmetic { enum { value = 1 }; }; struct true_type { static const __attribute__((constant)) bool value = true; }; struct false_type { static const __attribute__((constant)) bool value = false; }; template struct is_same : public false_type {}; template struct is_same<__T, __T> : public true_type {}; template struct add_rvalue_reference { typedef __T &&type; }; template typename add_rvalue_reference<__T>::type declval(); template struct __numeric_type { static void __test(...); static _Float16 __test(_Float16); static float __test(float); static double __test(char); static double __test(int); static double __test(unsigned); static double __test(long); static double __test(unsigned long); static double __test(long long); static double __test(unsigned long long); static double __test(double); static double __test(long double); typedef decltype(__test(declval<_Tp>())) type; static const bool value = !is_same::value; }; template <> struct __numeric_type { static const bool value = true; }; template ::value &&__numeric_type<_A2>::value &&__numeric_type<_A3>::value> class __promote_imp { public: static const bool value = false; }; template class __promote_imp<_A1, _A2, _A3, true> { private: typedef typename __promote_imp<_A1>::type __type1; typedef typename __promote_imp<_A2>::type __type2; typedef typename __promote_imp<_A3>::type __type3; public: typedef decltype(__type1() + __type2() + __type3()) type; static const bool value = true; }; template class __promote_imp<_A1, _A2, void, true> { private: typedef typename __promote_imp<_A1>::type __type1; typedef typename __promote_imp<_A2>::type __type2; public: typedef decltype(__type1() + __type2()) type; static const bool value = true; }; template class __promote_imp<_A1, void, void, true> { public: typedef typename __numeric_type<_A1>::type type; static const bool value = true; }; template class __promote : public __promote_imp<_A1, _A2, _A3> {}; } # 478 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 3 template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type acos(__T __x) { return ::acos((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type acosh(__T __x) { return ::acosh((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type asin(__T __x) { return ::asin((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type asinh(__T __x) { return ::asinh((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type atan(__T __x) { return ::atan((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type atan2(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return atan2((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type atanh(__T __x) { return ::atanh((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type cbrt(__T __x) { return ::cbrt((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type ceil(__T __x) { return ::ceil((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type copysign(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return copysign((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type cos(__T __x) { return ::cos((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type cosh(__T __x) { return ::cosh((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type erf(__T __x) { return ::erf((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type erfc(__T __x) { return ::erfc((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type exp(__T __x) { return ::exp((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type exp2(__T __x) { return ::exp2((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type expm1(__T __x) { return ::expm1((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type fabs(__T __x) { return ::fabs((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type fdim(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return fdim((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type floor(__T __x) { return ::floor((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type fmax(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return fmax((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type fmin(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return fmin((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type fmod(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return fmod((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, int>::type fpclassify(__T __x) { return ::fpclassify((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type hypot(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return hypot((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, int>::type ilogb(__T __x) { return ::ilogb((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, bool>::type isfinite(__T __x) { return ::isfinite((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type isgreater(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return isgreater((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type isgreaterequal(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return isgreaterequal((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, bool>::type isinf(__T __x) { return ::isinf((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type isless(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return isless((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type islessequal(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return islessequal((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type islessgreater(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return islessgreater((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, bool>::type isnan(__T __x) { return ::isnan((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, bool>::type isnormal(__T __x) { return ::isnormal((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type isunordered(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return isunordered((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type lgamma(__T __x) { return ::lgamma((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type log(__T __x) { return ::log((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type log10(__T __x) { return ::log10((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type log1p(__T __x) { return ::log1p((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type log2(__T __x) { return ::log2((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type logb(__T __x) { return ::logb((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, long long>::type llrint(__T __x) { return ::llrint((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, long long>::type llround(__T __x) { return ::llround((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, long>::type lrint(__T __x) { return ::lrint((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, long>::type lround(__T __x) { return ::lround((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type nearbyint(__T __x) { return ::nearbyint((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type nextafter(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return nextafter((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type pow(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return pow((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type remainder(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return remainder((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type rint(__T __x) { return ::rint((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type round(__T __x) { return ::round((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, bool>::type signbit(__T __x) { return ::signbit((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type sin(__T __x) { return ::sin((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type sinh(__T __x) { return ::sinh((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type sqrt(__T __x) { return ::sqrt((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type tan(__T __x) { return ::tan((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type tanh(__T __x) { return ::tanh((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type tgamma(__T __x) { return ::tgamma((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type trunc(__T __x) { return ::trunc((double)__x); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type max(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return max((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type min(__T1 __x, __T2 __y) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return min((__result_type)__x, (__result_type)__y); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if< __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value && __hip::is_arithmetic<__T3>::value, typename __hip::__promote<__T1, __T2, __T3>::type>::type fma(__T1 __x, __T2 __y, __T3 __z) { typedef typename __hip::__promote<__T1, __T2, __T3>::type __result_type; return ::fma((__result_type)__x, (__result_type)__y, (__result_type)__z); } # 568 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 3 template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type frexp(__T __x, int *__exp) { return ::frexp((double)__x, __exp); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type ldexp(__T __x, int __exp) { return ::ldexp((double)__x, __exp); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type modf(__T __x, double *__exp) { return ::modf((double)__x, __exp); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, typename __hip::__promote<__T1, __T2>::type>::type remquo(__T1 __x, __T2 __y, int *__quo) { typedef typename __hip::__promote<__T1, __T2>::type __result_type; return ::remquo((__result_type)__x, (__result_type)__y, __quo); } # 610 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 3 template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type scalbln(__T __x, long int __exp) { return ::scalbln((double)__x, __exp); } template static __attribute__((device)) inline __attribute__((always_inline)) typename __hip_enable_if<__hip::is_integral<__T>::value, double>::type scalbn(__T __x, int __exp) { return ::scalbn((double)__x, __exp); } # 640 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 3 namespace std { using ::acos; using ::acosh; using ::asin; using ::asinh; using ::atan; using ::atan2; using ::atanh; using ::cbrt; using ::ceil; using ::copysign; using ::cos; using ::cosh; using ::erf; using ::erfc; using ::exp; using ::exp2; using ::expm1; using ::fabs; using ::fdim; using ::floor; using ::fma; using ::fmax; using ::fmin; using ::fmod; using ::fpclassify; using ::frexp; using ::hypot; using ::ilogb; using ::isfinite; using ::isgreater; using ::isgreaterequal; using ::isless; using ::islessequal; using ::islessgreater; using ::isnormal; using ::isunordered; using ::ldexp; using ::lgamma; using ::llrint; using ::llround; using ::log; using ::log10; using ::log1p; using ::log2; using ::logb; using ::lrint; using ::lround; using ::modf; using ::nearbyint; using ::nextafter; using ::pow; using ::remainder; using ::remquo; using ::rint; using ::round; using ::scalbln; using ::scalbn; using ::signbit; using ::sin; using ::sinh; using ::sqrt; using ::tan; using ::tanh; using ::tgamma; using ::trunc; # 727 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h" 3 using ::acosf; using ::acoshf; using ::asinf; using ::asinhf; using ::atan2f; using ::atanf; using ::atanhf; using ::cbrtf; using ::ceilf; using ::copysignf; using ::cosf; using ::coshf; using ::erfcf; using ::erff; using ::exp2f; using ::expf; using ::expm1f; using ::fabsf; using ::fdimf; using ::floorf; using ::fmaf; using ::fmaxf; using ::fminf; using ::fmodf; using ::frexpf; using ::hypotf; using ::ilogbf; using ::ldexpf; using ::lgammaf; using ::llrintf; using ::llroundf; using ::log10f; using ::log1pf; using ::log2f; using ::logbf; using ::logf; using ::lrintf; using ::lroundf; using ::modff; using ::nearbyintf; using ::nextafterf; using ::powf; using ::remainderf; using ::remquof; using ::rintf; using ::roundf; using ::scalblnf; using ::scalbnf; using ::sinf; using ::sinhf; using ::sqrtf; using ::tanf; using ::tanhf; using ::tgammaf; using ::truncf; } # 109 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 2 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h" 1 3 # 105 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h" 3 extern "C" { __attribute__((device)) inline double _Complex __muldc3(double __a, double __b, double __c, double __d) { double __ac = __a * __c; double __bd = __b * __d; double __ad = __a * __d; double __bc = __b * __c; double _Complex z; __real__(z) = __ac - __bd; __imag__(z) = __ad + __bc; if (std::isnan(__real__(z)) && std::isnan(__imag__(z))) { int __recalc = 0; if (std::isinf(__a) || std::isinf(__b)) { __a = std::copysign(std::isinf(__a) ? 1 : 0, __a); __b = std::copysign(std::isinf(__b) ? 1 : 0, __b); if (std::isnan(__c)) __c = std::copysign(0, __c); if (std::isnan(__d)) __d = std::copysign(0, __d); __recalc = 1; } if (std::isinf(__c) || std::isinf(__d)) { __c = std::copysign(std::isinf(__c) ? 1 : 0, __c); __d = std::copysign(std::isinf(__d) ? 1 : 0, __d); if (std::isnan(__a)) __a = std::copysign(0, __a); if (std::isnan(__b)) __b = std::copysign(0, __b); __recalc = 1; } if (!__recalc && (std::isinf(__ac) || std::isinf(__bd) || std::isinf(__ad) || std::isinf(__bc))) { if (std::isnan(__a)) __a = std::copysign(0, __a); if (std::isnan(__b)) __b = std::copysign(0, __b); if (std::isnan(__c)) __c = std::copysign(0, __c); if (std::isnan(__d)) __d = std::copysign(0, __d); __recalc = 1; } if (__recalc) { __real__(z) = __builtin_huge_val() * (__a * __c - __b * __d); __imag__(z) = __builtin_huge_val() * (__a * __d + __b * __c); } } return z; } __attribute__((device)) inline float _Complex __mulsc3(float __a, float __b, float __c, float __d) { float __ac = __a * __c; float __bd = __b * __d; float __ad = __a * __d; float __bc = __b * __c; float _Complex z; __real__(z) = __ac - __bd; __imag__(z) = __ad + __bc; if (std::isnan(__real__(z)) && std::isnan(__imag__(z))) { int __recalc = 0; if (std::isinf(__a) || std::isinf(__b)) { __a = std::copysign(std::isinf(__a) ? 1 : 0, __a); __b = std::copysign(std::isinf(__b) ? 1 : 0, __b); if (std::isnan(__c)) __c = std::copysign(0, __c); if (std::isnan(__d)) __d = std::copysign(0, __d); __recalc = 1; } if (std::isinf(__c) || std::isinf(__d)) { __c = std::copysign(std::isinf(__c) ? 1 : 0, __c); __d = std::copysign(std::isinf(__d) ? 1 : 0, __d); if (std::isnan(__a)) __a = std::copysign(0, __a); if (std::isnan(__b)) __b = std::copysign(0, __b); __recalc = 1; } if (!__recalc && (std::isinf(__ac) || std::isinf(__bd) || std::isinf(__ad) || std::isinf(__bc))) { if (std::isnan(__a)) __a = std::copysign(0, __a); if (std::isnan(__b)) __b = std::copysign(0, __b); if (std::isnan(__c)) __c = std::copysign(0, __c); if (std::isnan(__d)) __d = std::copysign(0, __d); __recalc = 1; } if (__recalc) { __real__(z) = __builtin_huge_valf() * (__a * __c - __b * __d); __imag__(z) = __builtin_huge_valf() * (__a * __d + __b * __c); } } return z; } __attribute__((device)) inline double _Complex __divdc3(double __a, double __b, double __c, double __d) { int __ilogbw = 0; double __logbw = std::logb(max(std::abs(__c), std::abs(__d))); if (std::isfinite(__logbw)) { __ilogbw = (int)__logbw; __c = std::scalbn(__c, -__ilogbw); __d = std::scalbn(__d, -__ilogbw); } double __denom = __c * __c + __d * __d; double _Complex z; __real__(z) = std::scalbn((__a * __c + __b * __d) / __denom, -__ilogbw); __imag__(z) = std::scalbn((__b * __c - __a * __d) / __denom, -__ilogbw); if (std::isnan(__real__(z)) && std::isnan(__imag__(z))) { if ((__denom == 0.0) && (!std::isnan(__a) || !std::isnan(__b))) { __real__(z) = std::copysign(__builtin_huge_val(), __c) * __a; __imag__(z) = std::copysign(__builtin_huge_val(), __c) * __b; } else if ((std::isinf(__a) || std::isinf(__b)) && std::isfinite(__c) && std::isfinite(__d)) { __a = std::copysign(std::isinf(__a) ? 1.0 : 0.0, __a); __b = std::copysign(std::isinf(__b) ? 1.0 : 0.0, __b); __real__(z) = __builtin_huge_val() * (__a * __c + __b * __d); __imag__(z) = __builtin_huge_val() * (__b * __c - __a * __d); } else if (std::isinf(__logbw) && __logbw > 0.0 && std::isfinite(__a) && std::isfinite(__b)) { __c = std::copysign(std::isinf(__c) ? 1.0 : 0.0, __c); __d = std::copysign(std::isinf(__d) ? 1.0 : 0.0, __d); __real__(z) = 0.0 * (__a * __c + __b * __d); __imag__(z) = 0.0 * (__b * __c - __a * __d); } } return z; } __attribute__((device)) inline float _Complex __divsc3(float __a, float __b, float __c, float __d) { int __ilogbw = 0; float __logbw = std::logb(max(std::abs(__c), std::abs(__d))); if (std::isfinite(__logbw)) { __ilogbw = (int)__logbw; __c = std::scalbn(__c, -__ilogbw); __d = std::scalbn(__d, -__ilogbw); } float __denom = __c * __c + __d * __d; float _Complex z; __real__(z) = std::scalbn((__a * __c + __b * __d) / __denom, -__ilogbw); __imag__(z) = std::scalbn((__b * __c - __a * __d) / __denom, -__ilogbw); if (std::isnan(__real__(z)) && std::isnan(__imag__(z))) { if ((__denom == 0) && (!std::isnan(__a) || !std::isnan(__b))) { __real__(z) = std::copysign(__builtin_huge_valf(), __c) * __a; __imag__(z) = std::copysign(__builtin_huge_valf(), __c) * __b; } else if ((std::isinf(__a) || std::isinf(__b)) && std::isfinite(__c) && std::isfinite(__d)) { __a = std::copysign(std::isinf(__a) ? 1 : 0, __a); __b = std::copysign(std::isinf(__b) ? 1 : 0, __b); __real__(z) = __builtin_huge_valf() * (__a * __c + __b * __d); __imag__(z) = __builtin_huge_valf() * (__b * __c - __a * __d); } else if (std::isinf(__logbw) && __logbw > 0 && std::isfinite(__a) && std::isfinite(__b)) { __c = std::copysign(std::isinf(__c) ? 1 : 0, __c); __d = std::copysign(std::isinf(__d) ? 1 : 0, __d); __real__(z) = 0 * (__a * __c + __b * __d); __imag__(z) = 0 * (__b * __c - __a * __d); } } return z; } # 308 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h" 3 } # 110 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 2 3 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex" 1 3 # 35 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/stdexcept" 1 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/stdexcept" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 1 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stringfwd.h" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stringfwd.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/memoryfwd.h" 1 3 # 47 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/memoryfwd.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 63 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/memoryfwd.h" 3 template class allocator; template<> class allocator; template struct uses_allocator; } # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stringfwd.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 52 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stringfwd.h" 3 template struct char_traits; template<> struct char_traits; template<> struct char_traits; template<> struct char_traits; template<> struct char_traits; template, typename _Alloc = allocator<_CharT> > class basic_string; typedef basic_string string; typedef basic_string wstring; # 93 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stringfwd.h" 3 typedef basic_string u16string; typedef basic_string u32string; } # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/postypes.h" 1 3 # 39 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/postypes.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 3 # 1 "/usr/include/wchar.h" 1 3 4 # 36 "/usr/include/wchar.h" 3 4 # 1 "/usr/include/stdio.h" 1 3 4 # 44 "/usr/include/stdio.h" 3 4 struct _IO_FILE; typedef struct _IO_FILE FILE; # 64 "/usr/include/stdio.h" 3 4 typedef struct _IO_FILE __FILE; # 37 "/usr/include/wchar.h" 2 3 4 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stdarg.h" 1 3 4 # 14 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stdarg.h" 3 4 typedef __builtin_va_list va_list; # 32 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 40 "/usr/include/wchar.h" 2 3 4 # 51 "/usr/include/wchar.h" 3 4 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 4 # 116 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 3 4 typedef unsigned int wint_t; # 52 "/usr/include/wchar.h" 2 3 4 # 82 "/usr/include/wchar.h" 3 4 typedef struct { int __count; union { unsigned int __wch; char __wchb[4]; } __value; } __mbstate_t; # 106 "/usr/include/wchar.h" 3 4 typedef __mbstate_t mbstate_t; # 132 "/usr/include/wchar.h" 3 4 extern "C" { struct tm; # 147 "/usr/include/wchar.h" 3 4 extern wchar_t *wcscpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw (); extern wchar_t *wcsncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw (); extern wchar_t *wcscat (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw (); extern wchar_t *wcsncat (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw (); extern int wcscmp (const wchar_t *__s1, const wchar_t *__s2) throw () __attribute__ ((__pure__)); extern int wcsncmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) throw () __attribute__ ((__pure__)); extern int wcscasecmp (const wchar_t *__s1, const wchar_t *__s2) throw (); extern int wcsncasecmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) throw (); extern int wcscasecmp_l (const wchar_t *__s1, const wchar_t *__s2, __locale_t __loc) throw (); extern int wcsncasecmp_l (const wchar_t *__s1, const wchar_t *__s2, size_t __n, __locale_t __loc) throw (); extern int wcscoll (const wchar_t *__s1, const wchar_t *__s2) throw (); extern size_t wcsxfrm (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n) throw (); # 206 "/usr/include/wchar.h" 3 4 extern int wcscoll_l (const wchar_t *__s1, const wchar_t *__s2, __locale_t __loc) throw (); extern size_t wcsxfrm_l (wchar_t *__s1, const wchar_t *__s2, size_t __n, __locale_t __loc) throw (); extern wchar_t *wcsdup (const wchar_t *__s) throw () __attribute__ ((__malloc__)); # 227 "/usr/include/wchar.h" 3 4 extern wchar_t *wcschr (const wchar_t *__wcs, wchar_t __wc) throw () __attribute__ ((__pure__)); # 237 "/usr/include/wchar.h" 3 4 extern wchar_t *wcsrchr (const wchar_t *__wcs, wchar_t __wc) throw () __attribute__ ((__pure__)); extern wchar_t *wcschrnul (const wchar_t *__s, wchar_t __wc) throw () __attribute__ ((__pure__)); extern size_t wcscspn (const wchar_t *__wcs, const wchar_t *__reject) throw () __attribute__ ((__pure__)); extern size_t wcsspn (const wchar_t *__wcs, const wchar_t *__accept) throw () __attribute__ ((__pure__)); # 266 "/usr/include/wchar.h" 3 4 extern wchar_t *wcspbrk (const wchar_t *__wcs, const wchar_t *__accept) throw () __attribute__ ((__pure__)); # 277 "/usr/include/wchar.h" 3 4 extern wchar_t *wcsstr (const wchar_t *__haystack, const wchar_t *__needle) throw () __attribute__ ((__pure__)); extern wchar_t *wcstok (wchar_t *__restrict __s, const wchar_t *__restrict __delim, wchar_t **__restrict __ptr) throw (); extern size_t wcslen (const wchar_t *__s) throw () __attribute__ ((__pure__)); # 299 "/usr/include/wchar.h" 3 4 extern wchar_t *wcswcs (const wchar_t *__haystack, const wchar_t *__needle) throw () __attribute__ ((__pure__)); extern size_t wcsnlen (const wchar_t *__s, size_t __maxlen) throw () __attribute__ ((__pure__)); # 320 "/usr/include/wchar.h" 3 4 extern wchar_t *wmemchr (const wchar_t *__s, wchar_t __c, size_t __n) throw () __attribute__ ((__pure__)); extern int wmemcmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) throw () __attribute__ ((__pure__)); extern wchar_t *wmemcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n) throw (); extern wchar_t *wmemmove (wchar_t *__s1, const wchar_t *__s2, size_t __n) throw (); extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) throw (); extern wchar_t *wmempcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n) throw (); extern wint_t btowc (int __c) throw (); extern int wctob (wint_t __c) throw (); extern int mbsinit (const mbstate_t *__ps) throw () __attribute__ ((__pure__)); extern size_t mbrtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n, mbstate_t *__restrict __p) throw (); extern size_t wcrtomb (char *__restrict __s, wchar_t __wc, mbstate_t *__restrict __ps) throw (); extern size_t __mbrlen (const char *__restrict __s, size_t __n, mbstate_t *__restrict __ps) throw (); extern size_t mbrlen (const char *__restrict __s, size_t __n, mbstate_t *__restrict __ps) throw (); # 386 "/usr/include/wchar.h" 3 4 extern wint_t __btowc_alias (int __c) __asm ("btowc"); extern __inline __attribute__ ((__gnu_inline__)) wint_t btowc (int __c) throw () { return (__builtin_constant_p (__c) && __c >= '\0' && __c <= '\x7f' ? (wint_t) __c : __btowc_alias (__c)); } extern int __wctob_alias (wint_t __c) __asm ("wctob"); extern __inline __attribute__ ((__gnu_inline__)) int wctob (wint_t __wc) throw () { return (__builtin_constant_p (__wc) && __wc >= L'\0' && __wc <= L'\x7f' ? (int) __wc : __wctob_alias (__wc)); } extern __inline __attribute__ ((__gnu_inline__)) size_t mbrlen (const char *__restrict __s, size_t __n, mbstate_t *__restrict __ps) throw () { return (__ps != __null ? mbrtowc (__null, __s, __n, __ps) : __mbrlen (__s, __n, __null)); } extern size_t mbsrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, size_t __len, mbstate_t *__restrict __ps) throw (); extern size_t wcsrtombs (char *__restrict __dst, const wchar_t **__restrict __src, size_t __len, mbstate_t *__restrict __ps) throw (); extern size_t mbsnrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, size_t __nmc, size_t __len, mbstate_t *__restrict __ps) throw (); extern size_t wcsnrtombs (char *__restrict __dst, const wchar_t **__restrict __src, size_t __nwc, size_t __len, mbstate_t *__restrict __ps) throw (); extern int wcwidth (wchar_t __c) throw (); extern int wcswidth (const wchar_t *__s, size_t __n) throw (); extern double wcstod (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr) throw (); extern float wcstof (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr) throw (); extern long double wcstold (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr) throw (); extern long int wcstol (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base) throw (); extern unsigned long int wcstoul (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base) throw (); __extension__ extern long long int wcstoll (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base) throw (); __extension__ extern unsigned long long int wcstoull (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base) throw (); __extension__ extern long long int wcstoq (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base) throw (); __extension__ extern unsigned long long int wcstouq (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base) throw (); # 530 "/usr/include/wchar.h" 3 4 extern long int wcstol_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base, __locale_t __loc) throw (); extern unsigned long int wcstoul_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base, __locale_t __loc) throw (); __extension__ extern long long int wcstoll_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base, __locale_t __loc) throw (); __extension__ extern unsigned long long int wcstoull_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base, __locale_t __loc) throw (); extern double wcstod_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, __locale_t __loc) throw (); extern float wcstof_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, __locale_t __loc) throw (); extern long double wcstold_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, __locale_t __loc) throw (); extern wchar_t *wcpcpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw (); extern wchar_t *wcpncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw (); extern __FILE *open_wmemstream (wchar_t **__bufloc, size_t *__sizeloc) throw (); extern int fwide (__FILE *__fp, int __mode) throw (); extern int fwprintf (__FILE *__restrict __stream, const wchar_t *__restrict __format, ...) ; extern int wprintf (const wchar_t *__restrict __format, ...) ; extern int swprintf (wchar_t *__restrict __s, size_t __n, const wchar_t *__restrict __format, ...) throw () ; extern int vfwprintf (__FILE *__restrict __s, const wchar_t *__restrict __format, __gnuc_va_list __arg) ; extern int vwprintf (const wchar_t *__restrict __format, __gnuc_va_list __arg) ; extern int vswprintf (wchar_t *__restrict __s, size_t __n, const wchar_t *__restrict __format, __gnuc_va_list __arg) throw () ; extern int fwscanf (__FILE *__restrict __stream, const wchar_t *__restrict __format, ...) ; extern int wscanf (const wchar_t *__restrict __format, ...) ; extern int swscanf (const wchar_t *__restrict __s, const wchar_t *__restrict __format, ...) throw () ; # 689 "/usr/include/wchar.h" 3 4 extern int vfwscanf (__FILE *__restrict __s, const wchar_t *__restrict __format, __gnuc_va_list __arg) ; extern int vwscanf (const wchar_t *__restrict __format, __gnuc_va_list __arg) ; extern int vswscanf (const wchar_t *__restrict __s, const wchar_t *__restrict __format, __gnuc_va_list __arg) throw () ; # 745 "/usr/include/wchar.h" 3 4 extern wint_t fgetwc (__FILE *__stream); extern wint_t getwc (__FILE *__stream); extern wint_t getwchar (void); extern wint_t fputwc (wchar_t __wc, __FILE *__stream); extern wint_t putwc (wchar_t __wc, __FILE *__stream); extern wint_t putwchar (wchar_t __wc); extern wchar_t *fgetws (wchar_t *__restrict __ws, int __n, __FILE *__restrict __stream); extern int fputws (const wchar_t *__restrict __ws, __FILE *__restrict __stream); extern wint_t ungetwc (wint_t __wc, __FILE *__stream); # 801 "/usr/include/wchar.h" 3 4 extern wint_t getwc_unlocked (__FILE *__stream); extern wint_t getwchar_unlocked (void); extern wint_t fgetwc_unlocked (__FILE *__stream); extern wint_t fputwc_unlocked (wchar_t __wc, __FILE *__stream); # 827 "/usr/include/wchar.h" 3 4 extern wint_t putwc_unlocked (wchar_t __wc, __FILE *__stream); extern wint_t putwchar_unlocked (wchar_t __wc); # 837 "/usr/include/wchar.h" 3 4 extern wchar_t *fgetws_unlocked (wchar_t *__restrict __ws, int __n, __FILE *__restrict __stream); extern int fputws_unlocked (const wchar_t *__restrict __ws, __FILE *__restrict __stream); extern size_t wcsftime (wchar_t *__restrict __s, size_t __maxsize, const wchar_t *__restrict __format, const struct tm *__restrict __tp) throw (); extern size_t wcsftime_l (wchar_t *__restrict __s, size_t __maxsize, const wchar_t *__restrict __format, const struct tm *__restrict __tp, __locale_t __loc) throw (); # 891 "/usr/include/wchar.h" 3 4 } # 45 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 2 3 # 62 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 3 namespace std { using ::mbstate_t; } # 135 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 3 extern "C++" { namespace std __attribute__ ((__visibility__ ("default"))) { using ::wint_t; using ::btowc; using ::fgetwc; using ::fgetws; using ::fputwc; using ::fputws; using ::fwide; using ::fwprintf; using ::fwscanf; using ::getwc; using ::getwchar; using ::mbrlen; using ::mbrtowc; using ::mbsinit; using ::mbsrtowcs; using ::putwc; using ::putwchar; using ::swprintf; using ::swscanf; using ::ungetwc; using ::vfwprintf; using ::vfwscanf; using ::vswprintf; using ::vswscanf; using ::vwprintf; using ::vwscanf; using ::wcrtomb; using ::wcscat; using ::wcscmp; using ::wcscoll; using ::wcscpy; using ::wcscspn; using ::wcsftime; using ::wcslen; using ::wcsncat; using ::wcsncmp; using ::wcsncpy; using ::wcsrtombs; using ::wcsspn; using ::wcstod; using ::wcstof; using ::wcstok; using ::wcstol; using ::wcstoul; using ::wcsxfrm; using ::wctob; using ::wmemcmp; using ::wmemcpy; using ::wmemmove; using ::wmemset; using ::wprintf; using ::wscanf; using ::wcschr; using ::wcspbrk; using ::wcsrchr; using ::wcsstr; using ::wmemchr; inline wchar_t* wcschr(wchar_t* __p, wchar_t __c) { return wcschr(const_cast(__p), __c); } inline wchar_t* wcspbrk(wchar_t* __s1, const wchar_t* __s2) { return wcspbrk(const_cast(__s1), __s2); } inline wchar_t* wcsrchr(wchar_t* __p, wchar_t __c) { return wcsrchr(const_cast(__p), __c); } inline wchar_t* wcsstr(wchar_t* __s1, const wchar_t* __s2) { return wcsstr(const_cast(__s1), __s2); } inline wchar_t* wmemchr(wchar_t* __p, wchar_t __c, size_t __n) { return wmemchr(const_cast(__p), __c, __n); } } } namespace __gnu_cxx { using ::wcstold; # 260 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 3 using ::wcstoll; using ::wcstoull; } namespace std { using ::__gnu_cxx::wcstold; using ::__gnu_cxx::wcstoll; using ::__gnu_cxx::wcstoull; } # 280 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 3 namespace std { using std::wcstof; using std::vfwscanf; using std::vswscanf; using std::vwscanf; using std::wcstold; using std::wcstoll; using std::wcstoull; } # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/postypes.h" 2 3 # 68 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/postypes.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 88 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/postypes.h" 3 typedef long streamoff; # 98 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/postypes.h" 3 typedef ptrdiff_t streamsize; # 111 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/postypes.h" 3 template class fpos { private: streamoff _M_off; _StateT _M_state; public: fpos() : _M_off(0), _M_state() { } # 133 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/postypes.h" 3 fpos(streamoff __off) : _M_off(__off), _M_state() { } fpos(const fpos&) = default; fpos& operator=(const fpos&) = default; ~fpos() = default; operator streamoff() const { return _M_off; } void state(_StateT __st) { _M_state = __st; } _StateT state() const { return _M_state; } fpos& operator+=(streamoff __off) { _M_off += __off; return *this; } fpos& operator-=(streamoff __off) { _M_off -= __off; return *this; } fpos operator+(streamoff __off) const { fpos __pos(*this); __pos += __off; return __pos; } fpos operator-(streamoff __off) const { fpos __pos(*this); __pos -= __off; return __pos; } streamoff operator-(const fpos& __other) const { return _M_off - __other._M_off; } }; template inline bool operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) { return streamoff(__lhs) == streamoff(__rhs); } template inline bool operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) { return streamoff(__lhs) != streamoff(__rhs); } typedef fpos streampos; typedef fpos wstreampos; # 245 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/postypes.h" 3 typedef fpos u16streampos; typedef fpos u32streampos; } # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 3 # 1 "/usr/include/wchar.h" 1 3 4 # 45 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 2 3 # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 2 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { # 64 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 3 template struct _Char_types { typedef unsigned long int_type; typedef std::streampos pos_type; typedef std::streamoff off_type; typedef std::mbstate_t state_type; }; # 89 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 3 template struct char_traits { typedef _CharT char_type; typedef typename _Char_types<_CharT>::int_type int_type; typedef typename _Char_types<_CharT>::pos_type pos_type; typedef typename _Char_types<_CharT>::off_type off_type; typedef typename _Char_types<_CharT>::state_type state_type; static void assign(char_type& __c1, const char_type& __c2) { __c1 = __c2; } static constexpr bool eq(const char_type& __c1, const char_type& __c2) { return __c1 == __c2; } static constexpr bool lt(const char_type& __c1, const char_type& __c2) { return __c1 < __c2; } static int compare(const char_type* __s1, const char_type* __s2, std::size_t __n); static std::size_t length(const char_type* __s); static const char_type* find(const char_type* __s, std::size_t __n, const char_type& __a); static char_type* move(char_type* __s1, const char_type* __s2, std::size_t __n); static char_type* copy(char_type* __s1, const char_type* __s2, std::size_t __n); static char_type* assign(char_type* __s, std::size_t __n, char_type __a); static constexpr char_type to_char_type(const int_type& __c) { return static_cast(__c); } static constexpr int_type to_int_type(const char_type& __c) { return static_cast(__c); } static constexpr bool eq_int_type(const int_type& __c1, const int_type& __c2) { return __c1 == __c2; } static constexpr int_type eof() { return static_cast(-1); } static constexpr int_type not_eof(const int_type& __c) { return !eq_int_type(__c, eof()) ? __c : to_int_type(char_type()); } }; template int char_traits<_CharT>:: compare(const char_type* __s1, const char_type* __s2, std::size_t __n) { for (std::size_t __i = 0; __i < __n; ++__i) if (lt(__s1[__i], __s2[__i])) return -1; else if (lt(__s2[__i], __s1[__i])) return 1; return 0; } template std::size_t char_traits<_CharT>:: length(const char_type* __p) { std::size_t __i = 0; while (!eq(__p[__i], char_type())) ++__i; return __i; } template const typename char_traits<_CharT>::char_type* char_traits<_CharT>:: find(const char_type* __s, std::size_t __n, const char_type& __a) { for (std::size_t __i = 0; __i < __n; ++__i) if (eq(__s[__i], __a)) return __s + __i; return 0; } template typename char_traits<_CharT>::char_type* char_traits<_CharT>:: move(char_type* __s1, const char_type* __s2, std::size_t __n) { if (__n == 0) return __s1; # 205 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 3 return static_cast<_CharT*>(__builtin_memmove(__s1, __s2, __n * sizeof(char_type))); } template typename char_traits<_CharT>::char_type* char_traits<_CharT>:: copy(char_type* __s1, const char_type* __s2, std::size_t __n) { std::copy(__s2, __s2 + __n, __s1); return __s1; } template typename char_traits<_CharT>::char_type* char_traits<_CharT>:: assign(char_type* __s, std::size_t __n, char_type __a) { std::fill_n(__s, __n, __a); return __s; } } namespace std __attribute__ ((__visibility__ ("default"))) { # 309 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 3 template struct char_traits : public __gnu_cxx::char_traits<_CharT> { }; template<> struct char_traits { typedef char char_type; typedef int int_type; typedef streampos pos_type; typedef streamoff off_type; typedef mbstate_t state_type; static void assign(char_type& __c1, const char_type& __c2) noexcept { __c1 = __c2; } static constexpr bool eq(const char_type& __c1, const char_type& __c2) noexcept { return __c1 == __c2; } static constexpr bool lt(const char_type& __c1, const char_type& __c2) noexcept { return (static_cast(__c1) < static_cast(__c2)); } static int compare(const char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return 0; return __builtin_memcmp(__s1, __s2, __n); } static size_t length(const char_type* __s) { return __builtin_strlen(__s); } static const char_type* find(const char_type* __s, size_t __n, const char_type& __a) { if (__n == 0) return 0; return static_cast(__builtin_memchr(__s, __a, __n)); } static char_type* move(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return static_cast(__builtin_memmove(__s1, __s2, __n)); } static char_type* copy(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return static_cast(__builtin_memcpy(__s1, __s2, __n)); } static char_type* assign(char_type* __s, size_t __n, char_type __a) { if (__n == 0) return __s; return static_cast(__builtin_memset(__s, __a, __n)); } static constexpr char_type to_char_type(const int_type& __c) noexcept { return static_cast(__c); } static constexpr int_type to_int_type(const char_type& __c) noexcept { return static_cast(static_cast(__c)); } static constexpr bool eq_int_type(const int_type& __c1, const int_type& __c2) noexcept { return __c1 == __c2; } static constexpr int_type eof() noexcept { return static_cast(-1); } static constexpr int_type not_eof(const int_type& __c) noexcept { return (__c == eof()) ? 0 : __c; } }; template<> struct char_traits { typedef wchar_t char_type; typedef wint_t int_type; typedef streamoff off_type; typedef wstreampos pos_type; typedef mbstate_t state_type; static void assign(char_type& __c1, const char_type& __c2) noexcept { __c1 = __c2; } static constexpr bool eq(const char_type& __c1, const char_type& __c2) noexcept { return __c1 == __c2; } static constexpr bool lt(const char_type& __c1, const char_type& __c2) noexcept { return __c1 < __c2; } static int compare(const char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return 0; return wmemcmp(__s1, __s2, __n); } static size_t length(const char_type* __s) { return wcslen(__s); } static const char_type* find(const char_type* __s, size_t __n, const char_type& __a) { if (__n == 0) return 0; return wmemchr(__s, __a, __n); } static char_type* move(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return wmemmove(__s1, __s2, __n); } static char_type* copy(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return wmemcpy(__s1, __s2, __n); } static char_type* assign(char_type* __s, size_t __n, char_type __a) { if (__n == 0) return __s; return wmemset(__s, __a, __n); } static constexpr char_type to_char_type(const int_type& __c) noexcept { return char_type(__c); } static constexpr int_type to_int_type(const char_type& __c) noexcept { return int_type(__c); } static constexpr bool eq_int_type(const int_type& __c1, const int_type& __c2) noexcept { return __c1 == __c2; } static constexpr int_type eof() noexcept { return static_cast((0xffffffffu)); } static constexpr int_type not_eof(const int_type& __c) noexcept { return eq_int_type(__c, eof()) ? 0 : __c; } }; # 688 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 3 } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdint" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdint" 3 # 44 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdint" 3 namespace std { using ::int8_t; using ::int16_t; using ::int32_t; using ::int64_t; using ::int_fast8_t; using ::int_fast16_t; using ::int_fast32_t; using ::int_fast64_t; using ::int_least8_t; using ::int_least16_t; using ::int_least32_t; using ::int_least64_t; using ::intmax_t; using ::intptr_t; using ::uint8_t; using ::uint16_t; using ::uint32_t; using ::uint64_t; using ::uint_fast8_t; using ::uint_fast16_t; using ::uint_fast32_t; using ::uint_fast64_t; using ::uint_least8_t; using ::uint_least16_t; using ::uint_least32_t; using ::uint_least64_t; using ::uintmax_t; using ::uintptr_t; } # 693 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template<> struct char_traits { typedef char16_t char_type; typedef uint_least16_t int_type; typedef streamoff off_type; typedef u16streampos pos_type; typedef mbstate_t state_type; static void assign(char_type& __c1, const char_type& __c2) noexcept { __c1 = __c2; } static constexpr bool eq(const char_type& __c1, const char_type& __c2) noexcept { return __c1 == __c2; } static constexpr bool lt(const char_type& __c1, const char_type& __c2) noexcept { return __c1 < __c2; } static int compare(const char_type* __s1, const char_type* __s2, size_t __n) { for (size_t __i = 0; __i < __n; ++__i) if (lt(__s1[__i], __s2[__i])) return -1; else if (lt(__s2[__i], __s1[__i])) return 1; return 0; } static size_t length(const char_type* __s) { size_t __i = 0; while (!eq(__s[__i], char_type())) ++__i; return __i; } static const char_type* find(const char_type* __s, size_t __n, const char_type& __a) { for (size_t __i = 0; __i < __n; ++__i) if (eq(__s[__i], __a)) return __s + __i; return 0; } static char_type* move(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return (static_cast (__builtin_memmove(__s1, __s2, __n * sizeof(char_type)))); } static char_type* copy(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return (static_cast (__builtin_memcpy(__s1, __s2, __n * sizeof(char_type)))); } static char_type* assign(char_type* __s, size_t __n, char_type __a) { for (size_t __i = 0; __i < __n; ++__i) assign(__s[__i], __a); return __s; } static constexpr char_type to_char_type(const int_type& __c) noexcept { return char_type(__c); } static constexpr int_type to_int_type(const char_type& __c) noexcept { return __c == eof() ? int_type(0xfffd) : int_type(__c); } static constexpr bool eq_int_type(const int_type& __c1, const int_type& __c2) noexcept { return __c1 == __c2; } static constexpr int_type eof() noexcept { return static_cast(-1); } static constexpr int_type not_eof(const int_type& __c) noexcept { return eq_int_type(__c, eof()) ? 0 : __c; } }; template<> struct char_traits { typedef char32_t char_type; typedef uint_least32_t int_type; typedef streamoff off_type; typedef u32streampos pos_type; typedef mbstate_t state_type; static void assign(char_type& __c1, const char_type& __c2) noexcept { __c1 = __c2; } static constexpr bool eq(const char_type& __c1, const char_type& __c2) noexcept { return __c1 == __c2; } static constexpr bool lt(const char_type& __c1, const char_type& __c2) noexcept { return __c1 < __c2; } static int compare(const char_type* __s1, const char_type* __s2, size_t __n) { for (size_t __i = 0; __i < __n; ++__i) if (lt(__s1[__i], __s2[__i])) return -1; else if (lt(__s2[__i], __s1[__i])) return 1; return 0; } static size_t length(const char_type* __s) { size_t __i = 0; while (!eq(__s[__i], char_type())) ++__i; return __i; } static const char_type* find(const char_type* __s, size_t __n, const char_type& __a) { for (size_t __i = 0; __i < __n; ++__i) if (eq(__s[__i], __a)) return __s + __i; return 0; } static char_type* move(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return (static_cast (__builtin_memmove(__s1, __s2, __n * sizeof(char_type)))); } static char_type* copy(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return (static_cast (__builtin_memcpy(__s1, __s2, __n * sizeof(char_type)))); } static char_type* assign(char_type* __s, size_t __n, char_type __a) { for (size_t __i = 0; __i < __n; ++__i) assign(__s[__i], __a); return __s; } static constexpr char_type to_char_type(const int_type& __c) noexcept { return char_type(__c); } static constexpr int_type to_int_type(const char_type& __c) noexcept { return int_type(__c); } static constexpr bool eq_int_type(const int_type& __c1, const int_type& __c2) noexcept { return __c1 == __c2; } static constexpr int_type eof() noexcept { return static_cast(-1); } static constexpr int_type not_eof(const int_type& __c) noexcept { return eq_int_type(__c, eof()) ? 0 : __c; } }; # 946 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/char_traits.h" 3 } # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/allocator.h" 1 3 # 46 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/allocator.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++allocator.h" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++allocator.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/new_allocator.h" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/new_allocator.h" 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { # 54 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/new_allocator.h" 3 template class new_allocator { public: typedef _Tp value_type; typedef std::size_t size_type; typedef std::ptrdiff_t difference_type; typedef _Tp* pointer; typedef const _Tp* const_pointer; typedef _Tp& reference; typedef const _Tp& const_reference; template struct rebind { typedef new_allocator<_Tp1> other; }; typedef std::true_type propagate_on_container_move_assignment; new_allocator() noexcept { } new_allocator(const new_allocator&) noexcept { } template new_allocator(const new_allocator<_Tp1>&) noexcept { } ~new_allocator() noexcept { } pointer address(reference __x) const noexcept { return std::__addressof(__x); } const_pointer address(const_reference __x) const noexcept { return std::__addressof(__x); } _Tp* allocate(size_type __n, const void* = static_cast(0)) { if (__n > this->_M_max_size()) std::__throw_bad_alloc(); # 115 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/new_allocator.h" 3 return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp))); } void deallocate(_Tp* __p, size_type __t) { # 133 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/new_allocator.h" 3 ::operator delete(__p ); } size_type max_size() const noexcept { return _M_max_size(); } template void construct(_Up* __p, _Args&&... __args) noexcept(std::is_nothrow_constructible<_Up, _Args...>::value) { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } template void destroy(_Up* __p) noexcept(std::is_nothrow_destructible<_Up>::value) { __p->~_Up(); } # 169 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/new_allocator.h" 3 template friend bool operator==(const new_allocator&, const new_allocator<_Up>&) noexcept { return true; } template friend bool operator!=(const new_allocator&, const new_allocator<_Up>&) noexcept { return false; } private: constexpr size_type _M_max_size() const noexcept { return std::size_t(9223372036854775807L) / sizeof(_Tp); } }; } # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++allocator.h" 2 3 namespace std { # 47 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++allocator.h" 3 template using __allocator_base = __gnu_cxx::new_allocator<_Tp>; } # 47 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/allocator.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 64 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/allocator.h" 3 template<> class allocator { public: typedef void value_type; typedef size_t size_type; typedef ptrdiff_t difference_type; typedef void* pointer; typedef const void* const_pointer; template struct rebind { typedef allocator<_Tp1> other; }; # 89 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/allocator.h" 3 typedef true_type propagate_on_container_move_assignment; typedef true_type is_always_equal; template void construct(_Up* __p, _Args&&... __args) noexcept(std::is_nothrow_constructible<_Up, _Args...>::value) { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } template void destroy(_Up* __p) noexcept(std::is_nothrow_destructible<_Up>::value) { __p->~_Up(); } }; # 115 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/allocator.h" 3 template class allocator : public __allocator_base<_Tp> { public: typedef _Tp value_type; typedef size_t size_type; typedef ptrdiff_t difference_type; typedef _Tp* pointer; typedef const _Tp* const_pointer; typedef _Tp& reference; typedef const _Tp& const_reference; template struct rebind { typedef allocator<_Tp1> other; }; typedef true_type propagate_on_container_move_assignment; typedef true_type is_always_equal; allocator() noexcept { } allocator(const allocator& __a) noexcept : __allocator_base<_Tp>(__a) { } allocator& operator=(const allocator&) = default; template allocator(const allocator<_Tp1>&) noexcept { } ~allocator() noexcept { } # 191 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/allocator.h" 3 friend bool operator==(const allocator&, const allocator&) noexcept { return true; } friend bool operator!=(const allocator&, const allocator&) noexcept { return false; } }; template inline bool operator==(const allocator<_T1>&, const allocator<_T2>&) noexcept { return true; } template inline bool operator!=(const allocator<_T1>&, const allocator<_T2>&) noexcept { return false; } template class allocator { public: typedef _Tp value_type; template allocator(const allocator<_Up>&) { } }; template class allocator { public: typedef _Tp value_type; template allocator(const allocator<_Up>&) { } }; template class allocator { public: typedef _Tp value_type; template allocator(const allocator<_Up>&) { } }; extern template class allocator; extern template class allocator; template struct __alloc_swap { static void _S_do_it(_Alloc&, _Alloc&) noexcept { } }; template struct __alloc_swap<_Alloc, false> { static void _S_do_it(_Alloc& __one, _Alloc& __two) noexcept { if (__one != __two) swap(__one, __two); } }; template struct __alloc_neq { static bool _S_do_it(const _Alloc&, const _Alloc&) { return false; } }; template struct __alloc_neq<_Alloc, false> { static bool _S_do_it(const _Alloc& __one, const _Alloc& __two) { return __one != __two; } }; template, is_nothrow_move_constructible>::value> struct __shrink_to_fit_aux { static bool _S_do_it(_Tp&) noexcept { return false; } }; template struct __shrink_to_fit_aux<_Tp, true> { static bool _S_do_it(_Tp& __c) noexcept { try { _Tp(__make_move_if_noexcept_iterator(__c.begin()), __make_move_if_noexcept_iterator(__c.end()), __c.get_allocator()).swap(__c); return true; } catch(...) { return false; } } }; } # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/localefwd.h" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/localefwd.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++locale.h" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++locale.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/clocale" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/clocale" 3 # 1 "/usr/include/locale.h" 1 3 4 # 29 "/usr/include/locale.h" 3 4 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 4 # 30 "/usr/include/locale.h" 2 3 4 # 1 "/usr/include/bits/locale.h" 1 3 4 # 31 "/usr/include/locale.h" 2 3 4 extern "C" { # 54 "/usr/include/locale.h" 3 4 struct lconv { char *decimal_point; char *thousands_sep; char *grouping; char *int_curr_symbol; char *currency_symbol; char *mon_decimal_point; char *mon_thousands_sep; char *mon_grouping; char *positive_sign; char *negative_sign; char int_frac_digits; char frac_digits; char p_cs_precedes; char p_sep_by_space; char n_cs_precedes; char n_sep_by_space; char p_sign_posn; char n_sign_posn; char int_p_cs_precedes; char int_p_sep_by_space; char int_n_cs_precedes; char int_n_sep_by_space; char int_p_sign_posn; char int_n_sign_posn; # 121 "/usr/include/locale.h" 3 4 }; extern char *setlocale (int __category, const char *__locale) throw (); extern struct lconv *localeconv (void) throw (); # 152 "/usr/include/locale.h" 3 4 extern __locale_t newlocale (int __category_mask, const char *__locale, __locale_t __base) throw (); # 187 "/usr/include/locale.h" 3 4 extern __locale_t duplocale (__locale_t __dataset) throw (); extern void freelocale (__locale_t __dataset) throw (); extern __locale_t uselocale (__locale_t __dataset) throw (); } # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/clocale" 2 3 namespace std { using ::lconv; using ::setlocale; using ::localeconv; } # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++locale.h" 2 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { extern "C" __typeof(uselocale) __uselocale; } namespace std __attribute__ ((__visibility__ ("default"))) { typedef __locale_t __c_locale; inline int __convert_from_v(const __c_locale& __cloc __attribute__ ((__unused__)), char* __out, const int __size __attribute__ ((__unused__)), const char* __fmt, ...) { __c_locale __old = __gnu_cxx::__uselocale(__cloc); # 88 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++locale.h" 3 __builtin_va_list __args; __builtin_va_start(__args, __fmt); const int __ret = __builtin_vsnprintf(__out, __size, __fmt, __args); __builtin_va_end(__args); __gnu_cxx::__uselocale(__old); return __ret; } } # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/localefwd.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/iosfwd" 1 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/iosfwd" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 74 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/iosfwd" 3 class ios_base; template > class basic_ios; template > class basic_streambuf; template > class basic_istream; template > class basic_ostream; template > class basic_iostream; template, typename _Alloc = allocator<_CharT> > class basic_stringbuf; template, typename _Alloc = allocator<_CharT> > class basic_istringstream; template, typename _Alloc = allocator<_CharT> > class basic_ostringstream; template, typename _Alloc = allocator<_CharT> > class basic_stringstream; template > class basic_filebuf; template > class basic_ifstream; template > class basic_ofstream; template > class basic_fstream; template > class istreambuf_iterator; template > class ostreambuf_iterator; typedef basic_ios ios; typedef basic_streambuf streambuf; typedef basic_istream istream; typedef basic_ostream ostream; typedef basic_iostream iostream; typedef basic_stringbuf stringbuf; typedef basic_istringstream istringstream; typedef basic_ostringstream ostringstream; typedef basic_stringstream stringstream; typedef basic_filebuf filebuf; typedef basic_ifstream ifstream; typedef basic_ofstream ofstream; typedef basic_fstream fstream; typedef basic_ios wios; typedef basic_streambuf wstreambuf; typedef basic_istream wistream; typedef basic_ostream wostream; typedef basic_iostream wiostream; typedef basic_stringbuf wstringbuf; typedef basic_istringstream wistringstream; typedef basic_ostringstream wostringstream; typedef basic_stringstream wstringstream; typedef basic_filebuf wfilebuf; typedef basic_ifstream wifstream; typedef basic_ofstream wofstream; typedef basic_fstream wfstream; } # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/localefwd.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cctype" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cctype" 3 # 1 "/usr/include/ctype.h" 1 3 4 # 29 "/usr/include/ctype.h" 3 4 extern "C" { # 47 "/usr/include/ctype.h" 3 4 enum { _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)), _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)), _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)), _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)), _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)), _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)), _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)), _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)), _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)), _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)), _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)), _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8)) }; # 80 "/usr/include/ctype.h" 3 4 extern const unsigned short int **__ctype_b_loc (void) throw () __attribute__ ((__const__)); extern const __int32_t **__ctype_tolower_loc (void) throw () __attribute__ ((__const__)); extern const __int32_t **__ctype_toupper_loc (void) throw () __attribute__ ((__const__)); # 111 "/usr/include/ctype.h" 3 4 extern int isalnum (int) throw (); extern int isalpha (int) throw (); extern int iscntrl (int) throw (); extern int isdigit (int) throw (); extern int islower (int) throw (); extern int isgraph (int) throw (); extern int isprint (int) throw (); extern int ispunct (int) throw (); extern int isspace (int) throw (); extern int isupper (int) throw (); extern int isxdigit (int) throw (); extern int tolower (int __c) throw (); extern int toupper (int __c) throw (); # 137 "/usr/include/ctype.h" 3 4 extern int isblank (int) throw (); extern int isctype (int __c, int __mask) throw (); extern int isascii (int __c) throw (); extern int toascii (int __c) throw (); extern int _toupper (int) throw (); extern int _tolower (int) throw (); # 272 "/usr/include/ctype.h" 3 4 extern int isalnum_l (int, __locale_t) throw (); extern int isalpha_l (int, __locale_t) throw (); extern int iscntrl_l (int, __locale_t) throw (); extern int isdigit_l (int, __locale_t) throw (); extern int islower_l (int, __locale_t) throw (); extern int isgraph_l (int, __locale_t) throw (); extern int isprint_l (int, __locale_t) throw (); extern int ispunct_l (int, __locale_t) throw (); extern int isspace_l (int, __locale_t) throw (); extern int isupper_l (int, __locale_t) throw (); extern int isxdigit_l (int, __locale_t) throw (); extern int isblank_l (int, __locale_t) throw (); extern int __tolower_l (int __c, __locale_t __l) throw (); extern int tolower_l (int __c, __locale_t __l) throw (); extern int __toupper_l (int __c, __locale_t __l) throw (); extern int toupper_l (int __c, __locale_t __l) throw (); # 348 "/usr/include/ctype.h" 3 4 } # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cctype" 2 3 # 62 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cctype" 3 namespace std { using ::isalnum; using ::isalpha; using ::iscntrl; using ::isdigit; using ::isgraph; using ::islower; using ::isprint; using ::ispunct; using ::isspace; using ::isupper; using ::isxdigit; using ::tolower; using ::toupper; } namespace std { using ::isblank; } # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/localefwd.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 55 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/localefwd.h" 3 class locale; template bool has_facet(const locale&) throw(); template const _Facet& use_facet(const locale&); template bool isspace(_CharT, const locale&); template bool isprint(_CharT, const locale&); template bool iscntrl(_CharT, const locale&); template bool isupper(_CharT, const locale&); template bool islower(_CharT, const locale&); template bool isalpha(_CharT, const locale&); template bool isdigit(_CharT, const locale&); template bool ispunct(_CharT, const locale&); template bool isxdigit(_CharT, const locale&); template bool isalnum(_CharT, const locale&); template bool isgraph(_CharT, const locale&); template bool isblank(_CharT, const locale&); template _CharT toupper(_CharT, const locale&); template _CharT tolower(_CharT, const locale&); class ctype_base; template class ctype; template<> class ctype; template<> class ctype; template class ctype_byname; class codecvt_base; template class codecvt; template<> class codecvt; template<> class codecvt; template<> class codecvt; template<> class codecvt; template class codecvt_byname; template > class num_get; template > class num_put; template class numpunct; template class numpunct_byname; template class collate; template class collate_byname; class time_base; template > class time_get; template > class time_get_byname; template > class time_put; template > class time_put_byname; class money_base; template > class money_get; template > class money_put; template class moneypunct; template class moneypunct_byname; class messages_base; template class messages; template class messages_byname; } # 44 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ostream_insert.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ostream_insert.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cxxabi_forced.h" 1 3 # 35 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/cxxabi_forced.h" 3 #pragma GCC visibility push(default) namespace __cxxabiv1 { class __forced_unwind { virtual ~__forced_unwind() throw(); virtual void __pure_dummy() = 0; }; } #pragma GCC visibility pop # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ostream_insert.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template inline void __ostream_write(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s, streamsize __n) { typedef basic_ostream<_CharT, _Traits> __ostream_type; typedef typename __ostream_type::ios_base __ios_base; const streamsize __put = __out.rdbuf()->sputn(__s, __n); if (__put != __n) __out.setstate(__ios_base::badbit); } template inline void __ostream_fill(basic_ostream<_CharT, _Traits>& __out, streamsize __n) { typedef basic_ostream<_CharT, _Traits> __ostream_type; typedef typename __ostream_type::ios_base __ios_base; const _CharT __c = __out.fill(); for (; __n > 0; --__n) { const typename _Traits::int_type __put = __out.rdbuf()->sputc(__c); if (_Traits::eq_int_type(__put, _Traits::eof())) { __out.setstate(__ios_base::badbit); break; } } } template basic_ostream<_CharT, _Traits>& __ostream_insert(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s, streamsize __n) { typedef basic_ostream<_CharT, _Traits> __ostream_type; typedef typename __ostream_type::ios_base __ios_base; typename __ostream_type::sentry __cerb(__out); if (__cerb) { try { const streamsize __w = __out.width(); if (__w > __n) { const bool __left = ((__out.flags() & __ios_base::adjustfield) == __ios_base::left); if (!__left) __ostream_fill(__out, __w - __n); if (__out.good()) __ostream_write(__out, __s, __n); if (__left && __out.good()) __ostream_fill(__out, __w - __n); } else __ostream_write(__out, __s, __n); __out.width(0); } catch(__cxxabiv1::__forced_unwind&) { __out._M_setstate(__ios_base::badbit); throw; } catch(...) { __out._M_setstate(__ios_base::badbit); } } return __out; } extern template ostream& __ostream_insert(ostream&, const char*, streamsize); extern template wostream& __ostream_insert(wostream&, const wchar_t*, streamsize); } # 45 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 1 3 # 63 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 104 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 template struct unary_function { typedef _Arg argument_type; typedef _Result result_type; }; template struct binary_function { typedef _Arg1 first_argument_type; typedef _Arg2 second_argument_type; typedef _Result result_type; }; # 166 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 template struct plus : public binary_function<_Tp, _Tp, _Tp> { _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x + __y; } }; template struct minus : public binary_function<_Tp, _Tp, _Tp> { _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x - __y; } }; template struct multiplies : public binary_function<_Tp, _Tp, _Tp> { _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x * __y; } }; template struct divides : public binary_function<_Tp, _Tp, _Tp> { _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x / __y; } }; template struct modulus : public binary_function<_Tp, _Tp, _Tp> { _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x % __y; } }; template struct negate : public unary_function<_Tp, _Tp> { _Tp operator()(const _Tp& __x) const { return -__x; } }; # 350 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 template struct equal_to : public binary_function<_Tp, _Tp, bool> { bool operator()(const _Tp& __x, const _Tp& __y) const { return __x == __y; } }; template struct not_equal_to : public binary_function<_Tp, _Tp, bool> { bool operator()(const _Tp& __x, const _Tp& __y) const { return __x != __y; } }; template struct greater : public binary_function<_Tp, _Tp, bool> { bool operator()(const _Tp& __x, const _Tp& __y) const { return __x > __y; } }; template struct less : public binary_function<_Tp, _Tp, bool> { bool operator()(const _Tp& __x, const _Tp& __y) const { return __x < __y; } }; template struct greater_equal : public binary_function<_Tp, _Tp, bool> { bool operator()(const _Tp& __x, const _Tp& __y) const { return __x >= __y; } }; template struct less_equal : public binary_function<_Tp, _Tp, bool> { bool operator()(const _Tp& __x, const _Tp& __y) const { return __x <= __y; } }; template struct greater<_Tp*> : public binary_function<_Tp*, _Tp*, bool> { bool operator()(_Tp* __x, _Tp* __y) const noexcept { # 424 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 return (long unsigned int)__x > (long unsigned int)__y; } }; template struct less<_Tp*> : public binary_function<_Tp*, _Tp*, bool> { bool operator()(_Tp* __x, _Tp* __y) const noexcept { # 443 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 return (long unsigned int)__x < (long unsigned int)__y; } }; template struct greater_equal<_Tp*> : public binary_function<_Tp*, _Tp*, bool> { bool operator()(_Tp* __x, _Tp* __y) const noexcept { # 462 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 return (long unsigned int)__x >= (long unsigned int)__y; } }; template struct less_equal<_Tp*> : public binary_function<_Tp*, _Tp*, bool> { bool operator()(_Tp* __x, _Tp* __y) const noexcept { # 481 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 return (long unsigned int)__x <= (long unsigned int)__y; } }; # 785 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 template struct logical_and : public binary_function<_Tp, _Tp, bool> { bool operator()(const _Tp& __x, const _Tp& __y) const { return __x && __y; } }; template struct logical_or : public binary_function<_Tp, _Tp, bool> { bool operator()(const _Tp& __x, const _Tp& __y) const { return __x || __y; } }; template struct logical_not : public unary_function<_Tp, bool> { bool operator()(const _Tp& __x) const { return !__x; } }; # 878 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 template struct bit_and : public binary_function<_Tp, _Tp, _Tp> { _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x & __y; } }; template struct bit_or : public binary_function<_Tp, _Tp, _Tp> { _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x | __y; } }; template struct bit_xor : public binary_function<_Tp, _Tp, _Tp> { _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x ^ __y; } }; template struct bit_not : public unary_function<_Tp, _Tp> { _Tp operator()(const _Tp& __x) const { return ~__x; } }; # 1002 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 template class unary_negate : public unary_function { protected: _Predicate _M_pred; public: explicit unary_negate(const _Predicate& __x) : _M_pred(__x) { } bool operator()(const typename _Predicate::argument_type& __x) const { return !_M_pred(__x); } }; template inline unary_negate<_Predicate> not1(const _Predicate& __pred) { return unary_negate<_Predicate>(__pred); } template class binary_negate : public binary_function { protected: _Predicate _M_pred; public: explicit binary_negate(const _Predicate& __x) : _M_pred(__x) { } bool operator()(const typename _Predicate::first_argument_type& __x, const typename _Predicate::second_argument_type& __y) const { return !_M_pred(__x, __y); } }; template inline binary_negate<_Predicate> not2(const _Predicate& __pred) { return binary_negate<_Predicate>(__pred); } # 1079 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 template class pointer_to_unary_function : public unary_function<_Arg, _Result> { protected: _Result (*_M_ptr)(_Arg); public: pointer_to_unary_function() { } explicit pointer_to_unary_function(_Result (*__x)(_Arg)) : _M_ptr(__x) { } _Result operator()(_Arg __x) const { return _M_ptr(__x); } }; template inline pointer_to_unary_function<_Arg, _Result> ptr_fun(_Result (*__x)(_Arg)) { return pointer_to_unary_function<_Arg, _Result>(__x); } template class pointer_to_binary_function : public binary_function<_Arg1, _Arg2, _Result> { protected: _Result (*_M_ptr)(_Arg1, _Arg2); public: pointer_to_binary_function() { } explicit pointer_to_binary_function(_Result (*__x)(_Arg1, _Arg2)) : _M_ptr(__x) { } _Result operator()(_Arg1 __x, _Arg2 __y) const { return _M_ptr(__x, __y); } }; template inline pointer_to_binary_function<_Arg1, _Arg2, _Result> ptr_fun(_Result (*__x)(_Arg1, _Arg2)) { return pointer_to_binary_function<_Arg1, _Arg2, _Result>(__x); } template struct _Identity : public unary_function<_Tp, _Tp> { _Tp& operator()(_Tp& __x) const { return __x; } const _Tp& operator()(const _Tp& __x) const { return __x; } }; template struct _Identity : _Identity<_Tp> { }; template struct _Select1st : public unary_function<_Pair, typename _Pair::first_type> { typename _Pair::first_type& operator()(_Pair& __x) const { return __x.first; } const typename _Pair::first_type& operator()(const _Pair& __x) const { return __x.first; } template typename _Pair2::first_type& operator()(_Pair2& __x) const { return __x.first; } template const typename _Pair2::first_type& operator()(const _Pair2& __x) const { return __x.first; } }; template struct _Select2nd : public unary_function<_Pair, typename _Pair::second_type> { typename _Pair::second_type& operator()(_Pair& __x) const { return __x.second; } const typename _Pair::second_type& operator()(const _Pair& __x) const { return __x.second; } }; # 1202 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 3 template class mem_fun_t : public unary_function<_Tp*, _Ret> { public: explicit mem_fun_t(_Ret (_Tp::*__pf)()) : _M_f(__pf) { } _Ret operator()(_Tp* __p) const { return (__p->*_M_f)(); } private: _Ret (_Tp::*_M_f)(); }; template class const_mem_fun_t : public unary_function { public: explicit const_mem_fun_t(_Ret (_Tp::*__pf)() const) : _M_f(__pf) { } _Ret operator()(const _Tp* __p) const { return (__p->*_M_f)(); } private: _Ret (_Tp::*_M_f)() const; }; template class mem_fun_ref_t : public unary_function<_Tp, _Ret> { public: explicit mem_fun_ref_t(_Ret (_Tp::*__pf)()) : _M_f(__pf) { } _Ret operator()(_Tp& __r) const { return (__r.*_M_f)(); } private: _Ret (_Tp::*_M_f)(); }; template class const_mem_fun_ref_t : public unary_function<_Tp, _Ret> { public: explicit const_mem_fun_ref_t(_Ret (_Tp::*__pf)() const) : _M_f(__pf) { } _Ret operator()(const _Tp& __r) const { return (__r.*_M_f)(); } private: _Ret (_Tp::*_M_f)() const; }; template class mem_fun1_t : public binary_function<_Tp*, _Arg, _Ret> { public: explicit mem_fun1_t(_Ret (_Tp::*__pf)(_Arg)) : _M_f(__pf) { } _Ret operator()(_Tp* __p, _Arg __x) const { return (__p->*_M_f)(__x); } private: _Ret (_Tp::*_M_f)(_Arg); }; template class const_mem_fun1_t : public binary_function { public: explicit const_mem_fun1_t(_Ret (_Tp::*__pf)(_Arg) const) : _M_f(__pf) { } _Ret operator()(const _Tp* __p, _Arg __x) const { return (__p->*_M_f)(__x); } private: _Ret (_Tp::*_M_f)(_Arg) const; }; template class mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret> { public: explicit mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg)) : _M_f(__pf) { } _Ret operator()(_Tp& __r, _Arg __x) const { return (__r.*_M_f)(__x); } private: _Ret (_Tp::*_M_f)(_Arg); }; template class const_mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret> { public: explicit const_mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg) const) : _M_f(__pf) { } _Ret operator()(const _Tp& __r, _Arg __x) const { return (__r.*_M_f)(__x); } private: _Ret (_Tp::*_M_f)(_Arg) const; }; template inline mem_fun_t<_Ret, _Tp> mem_fun(_Ret (_Tp::*__f)()) { return mem_fun_t<_Ret, _Tp>(__f); } template inline const_mem_fun_t<_Ret, _Tp> mem_fun(_Ret (_Tp::*__f)() const) { return const_mem_fun_t<_Ret, _Tp>(__f); } template inline mem_fun_ref_t<_Ret, _Tp> mem_fun_ref(_Ret (_Tp::*__f)()) { return mem_fun_ref_t<_Ret, _Tp>(__f); } template inline const_mem_fun_ref_t<_Ret, _Tp> mem_fun_ref(_Ret (_Tp::*__f)() const) { return const_mem_fun_ref_t<_Ret, _Tp>(__f); } template inline mem_fun1_t<_Ret, _Tp, _Arg> mem_fun(_Ret (_Tp::*__f)(_Arg)) { return mem_fun1_t<_Ret, _Tp, _Arg>(__f); } template inline const_mem_fun1_t<_Ret, _Tp, _Arg> mem_fun(_Ret (_Tp::*__f)(_Arg) const) { return const_mem_fun1_t<_Ret, _Tp, _Arg>(__f); } template inline mem_fun1_ref_t<_Ret, _Tp, _Arg> mem_fun_ref(_Ret (_Tp::*__f)(_Arg)) { return mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); } template inline const_mem_fun1_ref_t<_Ret, _Tp, _Arg> mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) { return const_mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); } } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/backward/binders.h" 1 3 # 60 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/backward/binders.h" 3 #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdeprecated-declarations" namespace std __attribute__ ((__visibility__ ("default"))) { # 107 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/backward/binders.h" 3 template class binder1st : public unary_function { protected: _Operation op; typename _Operation::first_argument_type value; public: binder1st(const _Operation& __x, const typename _Operation::first_argument_type& __y) : op(__x), value(__y) { } typename _Operation::result_type operator()(const typename _Operation::second_argument_type& __x) const { return op(value, __x); } typename _Operation::result_type operator()(typename _Operation::second_argument_type& __x) const { return op(value, __x); } } __attribute__ ((__deprecated__)); template inline binder1st<_Operation> bind1st(const _Operation& __fn, const _Tp& __x) { typedef typename _Operation::first_argument_type _Arg1_type; return binder1st<_Operation>(__fn, _Arg1_type(__x)); } template class binder2nd : public unary_function { protected: _Operation op; typename _Operation::second_argument_type value; public: binder2nd(const _Operation& __x, const typename _Operation::second_argument_type& __y) : op(__x), value(__y) { } typename _Operation::result_type operator()(const typename _Operation::first_argument_type& __x) const { return op(__x, value); } typename _Operation::result_type operator()(typename _Operation::first_argument_type& __x) const { return op(__x, value); } } __attribute__ ((__deprecated__)); template inline binder2nd<_Operation> bind2nd(const _Operation& __fn, const _Tp& __x) { typedef typename _Operation::second_argument_type _Arg2_type; return binder2nd<_Operation>(__fn, _Arg2_type(__x)); } } #pragma GCC diagnostic pop # 1393 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/stl_function.h" 2 3 # 49 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/range_access.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/range_access.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/iterator_concepts.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/iterator_concepts.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/concepts" 1 3 # 36 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/iterator_concepts.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/range_cmp.h" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/iterator_concepts.h" 2 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/range_access.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template inline auto begin(_Container& __cont) -> decltype(__cont.begin()) { return __cont.begin(); } template inline auto begin(const _Container& __cont) -> decltype(__cont.begin()) { return __cont.begin(); } template inline auto end(_Container& __cont) -> decltype(__cont.end()) { return __cont.end(); } template inline auto end(const _Container& __cont) -> decltype(__cont.end()) { return __cont.end(); } template inline _Tp* begin(_Tp (&__arr)[_Nm]) { return __arr; } template inline _Tp* end(_Tp (&__arr)[_Nm]) { return __arr + _Nm; } # 1154 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/range_access.h" 3 } # 55 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/atomicity.h" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/atomicity.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr.h" 1 3 # 30 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr.h" 3 #pragma GCC visibility push(default) # 148 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 1 3 # 35 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 3 # 1 "/usr/include/pthread.h" 1 3 4 # 23 "/usr/include/pthread.h" 3 4 # 1 "/usr/include/sched.h" 1 3 4 # 29 "/usr/include/sched.h" 3 4 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 4 # 30 "/usr/include/sched.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 34 "/usr/include/sched.h" 2 3 4 # 1 "/usr/include/bits/sched.h" 1 3 4 # 73 "/usr/include/bits/sched.h" 3 4 struct sched_param { int __sched_priority; }; extern "C" { extern int clone (int (*__fn) (void *__arg), void *__child_stack, int __flags, void *__arg, ...) throw (); extern int unshare (int __flags) throw (); extern int sched_getcpu (void) throw (); extern int setns (int __fd, int __nstype) throw (); } struct __sched_param { int __sched_priority; }; # 119 "/usr/include/bits/sched.h" 3 4 typedef unsigned long int __cpu_mask; typedef struct { __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; } cpu_set_t; # 202 "/usr/include/bits/sched.h" 3 4 extern "C" { extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp) throw (); extern cpu_set_t *__sched_cpualloc (size_t __count) throw () ; extern void __sched_cpufree (cpu_set_t *__set) throw (); } # 43 "/usr/include/sched.h" 2 3 4 extern "C" { extern int sched_setparam (__pid_t __pid, const struct sched_param *__param) throw (); extern int sched_getparam (__pid_t __pid, struct sched_param *__param) throw (); extern int sched_setscheduler (__pid_t __pid, int __policy, const struct sched_param *__param) throw (); extern int sched_getscheduler (__pid_t __pid) throw (); extern int sched_yield (void) throw (); extern int sched_get_priority_max (int __algorithm) throw (); extern int sched_get_priority_min (int __algorithm) throw (); extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) throw (); # 117 "/usr/include/sched.h" 3 4 extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize, const cpu_set_t *__cpuset) throw (); extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize, cpu_set_t *__cpuset) throw (); } # 24 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 29 "/usr/include/time.h" 3 4 extern "C" { # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 4 # 38 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 88 "/usr/include/bits/time.h" 3 4 # 1 "/usr/include/bits/timex.h" 1 3 4 # 25 "/usr/include/bits/timex.h" 3 4 struct timex { unsigned int modes; __syscall_slong_t offset; __syscall_slong_t freq; __syscall_slong_t maxerror; __syscall_slong_t esterror; int status; __syscall_slong_t constant; __syscall_slong_t precision; __syscall_slong_t tolerance; struct timeval time; __syscall_slong_t tick; __syscall_slong_t ppsfreq; __syscall_slong_t jitter; int shift; __syscall_slong_t stabil; __syscall_slong_t jitcnt; __syscall_slong_t calcnt; __syscall_slong_t errcnt; __syscall_slong_t stbcnt; int tai; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; }; # 89 "/usr/include/bits/time.h" 2 3 4 extern "C" { extern int clock_adjtime (__clockid_t __clock_id, struct timex *__utx) throw (); } # 42 "/usr/include/time.h" 2 3 4 # 133 "/usr/include/time.h" 3 4 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; const char *tm_zone; }; # 161 "/usr/include/time.h" 3 4 struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; # 189 "/usr/include/time.h" 3 4 extern clock_t clock (void) throw (); extern time_t time (time_t *__timer) throw (); extern double difftime (time_t __time1, time_t __time0) throw () __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) throw (); extern size_t strftime (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp) throw (); extern char *strptime (const char *__restrict __s, const char *__restrict __fmt, struct tm *__tp) throw (); extern size_t strftime_l (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp, __locale_t __loc) throw (); extern char *strptime_l (const char *__restrict __s, const char *__restrict __fmt, struct tm *__tp, __locale_t __loc) throw (); extern struct tm *gmtime (const time_t *__timer) throw (); extern struct tm *localtime (const time_t *__timer) throw (); extern struct tm *gmtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) throw (); extern struct tm *localtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) throw (); extern char *asctime (const struct tm *__tp) throw (); extern char *ctime (const time_t *__timer) throw (); extern char *asctime_r (const struct tm *__restrict __tp, char *__restrict __buf) throw (); extern char *ctime_r (const time_t *__restrict __timer, char *__restrict __buf) throw (); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) throw (); extern int daylight; extern long int timezone; extern int stime (const time_t *__when) throw (); # 319 "/usr/include/time.h" 3 4 extern time_t timegm (struct tm *__tp) throw (); extern time_t timelocal (struct tm *__tp) throw (); extern int dysize (int __year) throw () __attribute__ ((__const__)); # 334 "/usr/include/time.h" 3 4 extern int nanosleep (const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) throw (); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) throw (); extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) throw (); extern int clock_nanosleep (clockid_t __clock_id, int __flags, const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) throw (); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) throw (); extern int timer_delete (timer_t __timerid) throw (); extern int timer_settime (timer_t __timerid, int __flags, const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) throw (); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) throw (); extern int timer_getoverrun (timer_t __timerid) throw (); extern int timespec_get (struct timespec *__ts, int __base) throw () __attribute__ ((__nonnull__ (1))); # 403 "/usr/include/time.h" 3 4 extern int getdate_err; # 412 "/usr/include/time.h" 3 4 extern struct tm *getdate (const char *__string); # 426 "/usr/include/time.h" 3 4 extern int getdate_r (const char *__restrict __string, struct tm *__restrict __resbufp); } # 25 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/bits/setjmp.h" 1 3 4 # 26 "/usr/include/bits/setjmp.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 27 "/usr/include/bits/setjmp.h" 2 3 4 typedef long int __jmp_buf[8]; # 28 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/pthread.h" 2 3 4 enum { PTHREAD_CREATE_JOINABLE, PTHREAD_CREATE_DETACHED }; enum { PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_ADAPTIVE_NP , PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP }; enum { PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_STALLED_NP = PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_ROBUST, PTHREAD_MUTEX_ROBUST_NP = PTHREAD_MUTEX_ROBUST }; enum { PTHREAD_PRIO_NONE, PTHREAD_PRIO_INHERIT, PTHREAD_PRIO_PROTECT }; # 116 "/usr/include/pthread.h" 3 4 enum { PTHREAD_RWLOCK_PREFER_READER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP }; # 157 "/usr/include/pthread.h" 3 4 enum { PTHREAD_INHERIT_SCHED, PTHREAD_EXPLICIT_SCHED }; enum { PTHREAD_SCOPE_SYSTEM, PTHREAD_SCOPE_PROCESS }; enum { PTHREAD_PROCESS_PRIVATE, PTHREAD_PROCESS_SHARED }; # 192 "/usr/include/pthread.h" 3 4 struct _pthread_cleanup_buffer { void (*__routine) (void *); void *__arg; int __canceltype; struct _pthread_cleanup_buffer *__prev; }; enum { PTHREAD_CANCEL_ENABLE, PTHREAD_CANCEL_DISABLE }; enum { PTHREAD_CANCEL_DEFERRED, PTHREAD_CANCEL_ASYNCHRONOUS }; # 230 "/usr/include/pthread.h" 3 4 extern "C" { extern int pthread_create (pthread_t *__restrict __newthread, const pthread_attr_t *__restrict __attr, void *(*__start_routine) (void *), void *__restrict __arg) throw () __attribute__ ((__nonnull__ (1, 3))); extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); extern int pthread_join (pthread_t __th, void **__thread_return); extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) throw (); extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return, const struct timespec *__abstime); extern int pthread_detach (pthread_t __th) throw (); extern pthread_t pthread_self (void) throw () __attribute__ ((__const__)); extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) throw () __attribute__ ((__const__)); extern int pthread_attr_init (pthread_attr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_destroy (pthread_attr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getdetachstate (const pthread_attr_t *__attr, int *__detachstate) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, int __detachstate) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getguardsize (const pthread_attr_t *__attr, size_t *__guardsize) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setguardsize (pthread_attr_t *__attr, size_t __guardsize) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getschedparam (const pthread_attr_t *__restrict __attr, struct sched_param *__restrict __param) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, const struct sched_param *__restrict __param) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_getschedpolicy (const pthread_attr_t *__restrict __attr, int *__restrict __policy) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getinheritsched (const pthread_attr_t *__restrict __attr, int *__restrict __inherit) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, int __inherit) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getscope (const pthread_attr_t *__restrict __attr, int *__restrict __scope) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstackaddr (const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr) throw () __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__)); extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, void *__stackaddr) throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)); extern int pthread_attr_getstacksize (const pthread_attr_t *__restrict __attr, size_t *__restrict __stacksize) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setstacksize (pthread_attr_t *__attr, size_t __stacksize) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstack (const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr, size_t *__restrict __stacksize) throw () __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, size_t __stacksize) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr, size_t __cpusetsize, const cpu_set_t *__cpuset) throw () __attribute__ ((__nonnull__ (1, 3))); extern int pthread_attr_getaffinity_np (const pthread_attr_t *__attr, size_t __cpusetsize, cpu_set_t *__cpuset) throw () __attribute__ ((__nonnull__ (1, 3))); extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr) throw () __attribute__ ((__nonnull__ (2))); extern int pthread_setschedparam (pthread_t __target_thread, int __policy, const struct sched_param *__param) throw () __attribute__ ((__nonnull__ (3))); extern int pthread_getschedparam (pthread_t __target_thread, int *__restrict __policy, struct sched_param *__restrict __param) throw () __attribute__ ((__nonnull__ (2, 3))); extern int pthread_setschedprio (pthread_t __target_thread, int __prio) throw (); extern int pthread_getname_np (pthread_t __target_thread, char *__buf, size_t __buflen) throw () __attribute__ ((__nonnull__ (2))); extern int pthread_setname_np (pthread_t __target_thread, const char *__name) throw () __attribute__ ((__nonnull__ (2))); extern int pthread_getconcurrency (void) throw (); extern int pthread_setconcurrency (int __level) throw (); extern int pthread_yield (void) throw (); extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize, const cpu_set_t *__cpuset) throw () __attribute__ ((__nonnull__ (3))); extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize, cpu_set_t *__cpuset) throw () __attribute__ ((__nonnull__ (3))); # 488 "/usr/include/pthread.h" 3 4 extern int pthread_once (pthread_once_t *__once_control, void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2))); # 500 "/usr/include/pthread.h" 3 4 extern int pthread_setcancelstate (int __state, int *__oldstate); extern int pthread_setcanceltype (int __type, int *__oldtype); extern int pthread_cancel (pthread_t __th); extern void pthread_testcancel (void); typedef struct { struct { __jmp_buf __cancel_jmp_buf; int __mask_was_saved; } __cancel_jmp_buf[1]; void *__pad[4]; } __pthread_unwind_buf_t __attribute__ ((__aligned__)); # 534 "/usr/include/pthread.h" 3 4 struct __pthread_cleanup_frame { void (*__cancel_routine) (void *); void *__cancel_arg; int __do_it; int __cancel_type; }; class __pthread_cleanup_class { void (*__cancel_routine) (void *); void *__cancel_arg; int __do_it; int __cancel_type; public: __pthread_cleanup_class (void (*__fct) (void *), void *__arg) : __cancel_routine (__fct), __cancel_arg (__arg), __do_it (1) { } ~__pthread_cleanup_class () { if (__do_it) __cancel_routine (__cancel_arg); } void __setdoit (int __newval) { __do_it = __newval; } void __defer () { pthread_setcanceltype (PTHREAD_CANCEL_DEFERRED, &__cancel_type); } void __restore () const { pthread_setcanceltype (__cancel_type, 0); } }; # 736 "/usr/include/pthread.h" 3 4 struct __jmp_buf_tag; extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) throw (); extern int pthread_mutex_init (pthread_mutex_t *__mutex, const pthread_mutexattr_t *__mutexattr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_lock (pthread_mutex_t *__mutex) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, const struct timespec *__restrict __abstime) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_getprioceiling (const pthread_mutex_t * __restrict __mutex, int *__restrict __prioceiling) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex, int __prioceiling, int *__restrict __old_ceiling) throw () __attribute__ ((__nonnull__ (1, 3))); extern int pthread_mutex_consistent (pthread_mutex_t *__mutex) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex) throw () __attribute__ ((__nonnull__ (1))); # 800 "/usr/include/pthread.h" 3 4 extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getpshared (const pthread_mutexattr_t * __restrict __attr, int *__restrict __pshared) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, int __pshared) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_gettype (const pthread_mutexattr_t *__restrict __attr, int *__restrict __kind) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getprotocol (const pthread_mutexattr_t * __restrict __attr, int *__restrict __protocol) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr, int __protocol) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getprioceiling (const pthread_mutexattr_t * __restrict __attr, int *__restrict __prioceiling) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr, int __prioceiling) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getrobust (const pthread_mutexattr_t *__attr, int *__robustness) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_getrobust_np (const pthread_mutexattr_t *__attr, int *__robustness) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr, int __robustness) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *__attr, int __robustness) throw () __attribute__ ((__nonnull__ (1))); # 882 "/usr/include/pthread.h" 3 4 extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, const pthread_rwlockattr_t *__restrict __attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, const struct timespec *__restrict __abstime) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, const struct timespec *__restrict __abstime) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getpshared (const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pshared) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, int __pshared) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getkind_np (const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pref) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, int __pref) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_cond_init (pthread_cond_t *__restrict __cond, const pthread_condattr_t *__restrict __cond_attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_cond_destroy (pthread_cond_t *__cond) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_cond_signal (pthread_cond_t *__cond) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_cond_broadcast (pthread_cond_t *__cond) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex) __attribute__ ((__nonnull__ (1, 2))); # 994 "/usr/include/pthread.h" 3 4 extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex, const struct timespec *__restrict __abstime) __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_condattr_init (pthread_condattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_destroy (pthread_condattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getpshared (const pthread_condattr_t * __restrict __attr, int *__restrict __pshared) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, int __pshared) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getclock (const pthread_condattr_t * __restrict __attr, __clockid_t *__restrict __clock_id) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setclock (pthread_condattr_t *__attr, __clockid_t __clock_id) throw () __attribute__ ((__nonnull__ (1))); # 1038 "/usr/include/pthread.h" 3 4 extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_spin_destroy (pthread_spinlock_t *__lock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_spin_lock (pthread_spinlock_t *__lock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_spin_trylock (pthread_spinlock_t *__lock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_spin_unlock (pthread_spinlock_t *__lock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, const pthread_barrierattr_t *__restrict __attr, unsigned int __count) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_wait (pthread_barrier_t *__barrier) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_getpshared (const pthread_barrierattr_t * __restrict __attr, int *__restrict __pshared) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, int __pshared) throw () __attribute__ ((__nonnull__ (1))); # 1105 "/usr/include/pthread.h" 3 4 extern int pthread_key_create (pthread_key_t *__key, void (*__destr_function) (void *)) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_key_delete (pthread_key_t __key) throw (); extern void *pthread_getspecific (pthread_key_t __key) throw (); extern int pthread_setspecific (pthread_key_t __key, const void *__pointer) throw () ; extern int pthread_getcpuclockid (pthread_t __thread_id, __clockid_t *__clock_id) throw () __attribute__ ((__nonnull__ (2))); # 1139 "/usr/include/pthread.h" 3 4 extern int pthread_atfork (void (*__prepare) (void), void (*__parent) (void), void (*__child) (void)) throw (); extern __inline __attribute__ ((__gnu_inline__)) int pthread_equal (pthread_t __thread1, pthread_t __thread2) throw () { return __thread1 == __thread2; } } # 36 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 2 3 # 47 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 3 typedef pthread_t __gthread_t; typedef pthread_key_t __gthread_key_t; typedef pthread_once_t __gthread_once_t; typedef pthread_mutex_t __gthread_mutex_t; typedef pthread_mutex_t __gthread_recursive_mutex_t; typedef pthread_cond_t __gthread_cond_t; typedef struct timespec __gthread_time_t; # 102 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 3 static __typeof(pthread_once) __gthrw_pthread_once __attribute__ ((__weakref__("pthread_once"), __copy__ (pthread_once))); static __typeof(pthread_getspecific) __gthrw_pthread_getspecific __attribute__ ((__weakref__("pthread_getspecific"), __copy__ (pthread_getspecific))); static __typeof(pthread_setspecific) __gthrw_pthread_setspecific __attribute__ ((__weakref__("pthread_setspecific"), __copy__ (pthread_setspecific))); static __typeof(pthread_create) __gthrw_pthread_create __attribute__ ((__weakref__("pthread_create"), __copy__ (pthread_create))); static __typeof(pthread_join) __gthrw_pthread_join __attribute__ ((__weakref__("pthread_join"), __copy__ (pthread_join))); static __typeof(pthread_equal) __gthrw_pthread_equal __attribute__ ((__weakref__("pthread_equal"), __copy__ (pthread_equal))); static __typeof(pthread_self) __gthrw_pthread_self __attribute__ ((__weakref__("pthread_self"), __copy__ (pthread_self))); static __typeof(pthread_detach) __gthrw_pthread_detach __attribute__ ((__weakref__("pthread_detach"), __copy__ (pthread_detach))); static __typeof(pthread_cancel) __gthrw_pthread_cancel __attribute__ ((__weakref__("pthread_cancel"), __copy__ (pthread_cancel))); static __typeof(sched_yield) __gthrw_sched_yield __attribute__ ((__weakref__("sched_yield"), __copy__ (sched_yield))); static __typeof(pthread_mutex_lock) __gthrw_pthread_mutex_lock __attribute__ ((__weakref__("pthread_mutex_lock"), __copy__ (pthread_mutex_lock))); static __typeof(pthread_mutex_trylock) __gthrw_pthread_mutex_trylock __attribute__ ((__weakref__("pthread_mutex_trylock"), __copy__ (pthread_mutex_trylock))); static __typeof(pthread_mutex_timedlock) __gthrw_pthread_mutex_timedlock __attribute__ ((__weakref__("pthread_mutex_timedlock"), __copy__ (pthread_mutex_timedlock))); static __typeof(pthread_mutex_unlock) __gthrw_pthread_mutex_unlock __attribute__ ((__weakref__("pthread_mutex_unlock"), __copy__ (pthread_mutex_unlock))); static __typeof(pthread_mutex_init) __gthrw_pthread_mutex_init __attribute__ ((__weakref__("pthread_mutex_init"), __copy__ (pthread_mutex_init))); static __typeof(pthread_mutex_destroy) __gthrw_pthread_mutex_destroy __attribute__ ((__weakref__("pthread_mutex_destroy"), __copy__ (pthread_mutex_destroy))); static __typeof(pthread_cond_init) __gthrw_pthread_cond_init __attribute__ ((__weakref__("pthread_cond_init"), __copy__ (pthread_cond_init))); static __typeof(pthread_cond_broadcast) __gthrw_pthread_cond_broadcast __attribute__ ((__weakref__("pthread_cond_broadcast"), __copy__ (pthread_cond_broadcast))); static __typeof(pthread_cond_signal) __gthrw_pthread_cond_signal __attribute__ ((__weakref__("pthread_cond_signal"), __copy__ (pthread_cond_signal))); static __typeof(pthread_cond_wait) __gthrw_pthread_cond_wait __attribute__ ((__weakref__("pthread_cond_wait"), __copy__ (pthread_cond_wait))); static __typeof(pthread_cond_timedwait) __gthrw_pthread_cond_timedwait __attribute__ ((__weakref__("pthread_cond_timedwait"), __copy__ (pthread_cond_timedwait))); static __typeof(pthread_cond_destroy) __gthrw_pthread_cond_destroy __attribute__ ((__weakref__("pthread_cond_destroy"), __copy__ (pthread_cond_destroy))); static __typeof(pthread_key_create) __gthrw_pthread_key_create __attribute__ ((__weakref__("pthread_key_create"), __copy__ (pthread_key_create))); static __typeof(pthread_key_delete) __gthrw_pthread_key_delete __attribute__ ((__weakref__("pthread_key_delete"), __copy__ (pthread_key_delete))); static __typeof(pthread_mutexattr_init) __gthrw_pthread_mutexattr_init __attribute__ ((__weakref__("pthread_mutexattr_init"), __copy__ (pthread_mutexattr_init))); static __typeof(pthread_mutexattr_settype) __gthrw_pthread_mutexattr_settype __attribute__ ((__weakref__("pthread_mutexattr_settype"), __copy__ (pthread_mutexattr_settype))); static __typeof(pthread_mutexattr_destroy) __gthrw_pthread_mutexattr_destroy __attribute__ ((__weakref__("pthread_mutexattr_destroy"), __copy__ (pthread_mutexattr_destroy))); # 237 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 3 static __typeof(pthread_key_create) __gthrw___pthread_key_create __attribute__ ((__weakref__("__pthread_key_create"), __copy__ (pthread_key_create))); # 247 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 3 static inline int __gthread_active_p (void) { static void *const __gthread_active_ptr = __extension__ (void *) &__gthrw___pthread_key_create; return __gthread_active_ptr != 0; } # 659 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 3 static inline int __gthread_create (__gthread_t *__threadid, void *(*__func) (void*), void *__args) { return __gthrw_pthread_create (__threadid, __null, __func, __args); } static inline int __gthread_join (__gthread_t __threadid, void **__value_ptr) { return __gthrw_pthread_join (__threadid, __value_ptr); } static inline int __gthread_detach (__gthread_t __threadid) { return __gthrw_pthread_detach (__threadid); } static inline int __gthread_equal (__gthread_t __t1, __gthread_t __t2) { return __gthrw_pthread_equal (__t1, __t2); } static inline __gthread_t __gthread_self (void) { return __gthrw_pthread_self (); } static inline int __gthread_yield (void) { return __gthrw_sched_yield (); } static inline int __gthread_once (__gthread_once_t *__once, void (*__func) (void)) { if (__gthread_active_p ()) return __gthrw_pthread_once (__once, __func); else return -1; } static inline int __gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) { return __gthrw_pthread_key_create (__key, __dtor); } static inline int __gthread_key_delete (__gthread_key_t __key) { return __gthrw_pthread_key_delete (__key); } static inline void * __gthread_getspecific (__gthread_key_t __key) { return __gthrw_pthread_getspecific (__key); } static inline int __gthread_setspecific (__gthread_key_t __key, const void *__ptr) { return __gthrw_pthread_setspecific (__key, __ptr); } static inline void __gthread_mutex_init_function (__gthread_mutex_t *__mutex) { if (__gthread_active_p ()) __gthrw_pthread_mutex_init (__mutex, __null); } static inline int __gthread_mutex_destroy (__gthread_mutex_t *__mutex) { if (__gthread_active_p ()) return __gthrw_pthread_mutex_destroy (__mutex); else return 0; } static inline int __gthread_mutex_lock (__gthread_mutex_t *__mutex) { if (__gthread_active_p ()) return __gthrw_pthread_mutex_lock (__mutex); else return 0; } static inline int __gthread_mutex_trylock (__gthread_mutex_t *__mutex) { if (__gthread_active_p ()) return __gthrw_pthread_mutex_trylock (__mutex); else return 0; } static inline int __gthread_mutex_timedlock (__gthread_mutex_t *__mutex, const __gthread_time_t *__abs_timeout) { if (__gthread_active_p ()) return __gthrw_pthread_mutex_timedlock (__mutex, __abs_timeout); else return 0; } static inline int __gthread_mutex_unlock (__gthread_mutex_t *__mutex) { if (__gthread_active_p ()) return __gthrw_pthread_mutex_unlock (__mutex); else return 0; } # 808 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 3 static inline int __gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *__mutex) { return __gthread_mutex_lock (__mutex); } static inline int __gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex) { return __gthread_mutex_trylock (__mutex); } static inline int __gthread_recursive_mutex_timedlock (__gthread_recursive_mutex_t *__mutex, const __gthread_time_t *__abs_timeout) { return __gthread_mutex_timedlock (__mutex, __abs_timeout); } static inline int __gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex) { return __gthread_mutex_unlock (__mutex); } static inline int __gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex) { return __gthread_mutex_destroy (__mutex); } # 850 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr-default.h" 3 static inline int __gthread_cond_broadcast (__gthread_cond_t *__cond) { return __gthrw_pthread_cond_broadcast (__cond); } static inline int __gthread_cond_signal (__gthread_cond_t *__cond) { return __gthrw_pthread_cond_signal (__cond); } static inline int __gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) { return __gthrw_pthread_cond_wait (__cond, __mutex); } static inline int __gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, const __gthread_time_t *__abs_timeout) { return __gthrw_pthread_cond_timedwait (__cond, __mutex, __abs_timeout); } static inline int __gthread_cond_wait_recursive (__gthread_cond_t *__cond, __gthread_recursive_mutex_t *__mutex) { return __gthread_cond_wait (__cond, __mutex); } static inline int __gthread_cond_destroy (__gthread_cond_t* __cond) { return __gthrw_pthread_cond_destroy (__cond); } # 149 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/gthr.h" 2 3 #pragma GCC visibility pop # 36 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/atomicity.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/atomic_word.h" 1 3 # 32 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/atomic_word.h" 3 typedef int _Atomic_word; # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/atomicity.h" 2 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { inline _Atomic_word __attribute__((__always_inline__)) __exchange_and_add(volatile _Atomic_word* __mem, int __val) { return __atomic_fetch_add(__mem, __val, 4); } inline void __attribute__((__always_inline__)) __atomic_add(volatile _Atomic_word* __mem, int __val) { __atomic_fetch_add(__mem, __val, 4); } # 64 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/atomicity.h" 3 inline _Atomic_word __attribute__((__always_inline__)) __exchange_and_add_single(_Atomic_word* __mem, int __val) { _Atomic_word __result = *__mem; *__mem += __val; return __result; } inline void __attribute__((__always_inline__)) __atomic_add_single(_Atomic_word* __mem, int __val) { *__mem += __val; } inline _Atomic_word __attribute__ ((__always_inline__)) __exchange_and_add_dispatch(_Atomic_word* __mem, int __val) { if (__gthread_active_p()) return __exchange_and_add(__mem, __val); return __exchange_and_add_single(__mem, __val); } inline void __attribute__ ((__always_inline__)) __atomic_add_dispatch(_Atomic_word* __mem, int __val) { if (__gthread_active_p()) { __atomic_add(__mem, __val); return; } __atomic_add_single(__mem, __val); } } # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/alloc_traits.h" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/alloc_traits.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 1 3 # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { struct __allocator_traits_base { template struct __rebind : __replace_first_arg<_Tp, _Up> { }; template struct __rebind<_Tp, _Up, __void_t::other>> { using type = typename _Tp::template rebind<_Up>::other; }; protected: template using __pointer = typename _Tp::pointer; template using __c_pointer = typename _Tp::const_pointer; template using __v_pointer = typename _Tp::void_pointer; template using __cv_pointer = typename _Tp::const_void_pointer; template using __pocca = typename _Tp::propagate_on_container_copy_assignment; template using __pocma = typename _Tp::propagate_on_container_move_assignment; template using __pocs = typename _Tp::propagate_on_container_swap; template using __equal = typename _Tp::is_always_equal; }; template using __alloc_rebind = typename __allocator_traits_base::template __rebind<_Alloc, _Up>::type; template struct allocator_traits : __allocator_traits_base { typedef _Alloc allocator_type; typedef typename _Alloc::value_type value_type; using pointer = __detected_or_t; private: template class _Func, typename _Tp, typename = void> struct _Ptr { using type = typename pointer_traits::template rebind<_Tp>; }; template class _Func, typename _Tp> struct _Ptr<_Func, _Tp, __void_t<_Func<_Alloc>>> { using type = _Func<_Alloc>; }; template struct _Diff { using type = typename pointer_traits<_PtrT>::difference_type; }; template struct _Diff<_A2, _PtrT, __void_t> { using type = typename _A2::difference_type; }; template struct _Size : make_unsigned<_DiffT> { }; template struct _Size<_A2, _DiffT, __void_t> { using type = typename _A2::size_type; }; public: using const_pointer = typename _Ptr<__c_pointer, const value_type>::type; using void_pointer = typename _Ptr<__v_pointer, void>::type; using const_void_pointer = typename _Ptr<__cv_pointer, const void>::type; using difference_type = typename _Diff<_Alloc, pointer>::type; using size_type = typename _Size<_Alloc, difference_type>::type; using propagate_on_container_copy_assignment = __detected_or_t; using propagate_on_container_move_assignment = __detected_or_t; using propagate_on_container_swap = __detected_or_t; using is_always_equal = __detected_or_t::type, __equal, _Alloc>; template using rebind_alloc = __alloc_rebind<_Alloc, _Tp>; template using rebind_traits = allocator_traits>; private: template static constexpr auto _S_allocate(_Alloc2& __a, size_type __n, const_void_pointer __hint, int) -> decltype(__a.allocate(__n, __hint)) { return __a.allocate(__n, __hint); } template static constexpr pointer _S_allocate(_Alloc2& __a, size_type __n, const_void_pointer, ...) { return __a.allocate(__n); } template struct __construct_helper { template()->construct( std::declval<_Tp*>(), std::declval<_Args>()...))> static true_type __test(int); template static false_type __test(...); using type = decltype(__test<_Alloc>(0)); }; template using __has_construct = typename __construct_helper<_Tp, _Args...>::type; template static _Require<__has_construct<_Tp, _Args...>> _S_construct(_Alloc& __a, _Tp* __p, _Args&&... __args) noexcept(noexcept(__a.construct(__p, std::forward<_Args>(__args)...))) { __a.construct(__p, std::forward<_Args>(__args)...); } template static _Require<__and_<__not_<__has_construct<_Tp, _Args...>>, is_constructible<_Tp, _Args...>>> _S_construct(_Alloc&, _Tp* __p, _Args&&... __args) noexcept(std::is_nothrow_constructible<_Tp, _Args...>::value) { ::new((void*)__p) _Tp(std::forward<_Args>(__args)...); } template static auto _S_destroy(_Alloc2& __a, _Tp* __p, int) noexcept(noexcept(__a.destroy(__p))) -> decltype(__a.destroy(__p)) { __a.destroy(__p); } template static void _S_destroy(_Alloc2&, _Tp* __p, ...) noexcept(std::is_nothrow_destructible<_Tp>::value) { std::_Destroy(__p); } template static constexpr auto _S_max_size(_Alloc2& __a, int) -> decltype(__a.max_size()) { return __a.max_size(); } template static constexpr size_type _S_max_size(_Alloc2&, ...) { return __gnu_cxx::__numeric_traits::__max / sizeof(value_type); } template static constexpr auto _S_select(_Alloc2& __a, int) -> decltype(__a.select_on_container_copy_construction()) { return __a.select_on_container_copy_construction(); } template static constexpr _Alloc2 _S_select(_Alloc2& __a, ...) { return __a; } public: # 312 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 static pointer allocate(_Alloc& __a, size_type __n) { return __a.allocate(__n); } # 327 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 static pointer allocate(_Alloc& __a, size_type __n, const_void_pointer __hint) { return _S_allocate(__a, __n, __hint, 0); } # 339 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 static void deallocate(_Alloc& __a, pointer __p, size_type __n) { __a.deallocate(__p, __n); } # 354 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 template static auto construct(_Alloc& __a, _Tp* __p, _Args&&... __args) noexcept(noexcept(_S_construct(__a, __p, std::forward<_Args>(__args)...))) -> decltype(_S_construct(__a, __p, std::forward<_Args>(__args)...)) { _S_construct(__a, __p, std::forward<_Args>(__args)...); } # 370 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 template static void destroy(_Alloc& __a, _Tp* __p) noexcept(noexcept(_S_destroy(__a, __p, 0))) { _S_destroy(__a, __p, 0); } # 384 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 static size_type max_size(const _Alloc& __a) noexcept { return _S_max_size(__a, 0); } # 396 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 static _Alloc select_on_container_copy_construction(const _Alloc& __rhs) { return _S_select(__rhs, 0); } }; template struct allocator_traits> { using allocator_type = allocator<_Tp>; using value_type = _Tp; using pointer = _Tp*; using const_pointer = const _Tp*; using void_pointer = void*; using const_void_pointer = const void*; using difference_type = std::ptrdiff_t; using size_type = std::size_t; using propagate_on_container_copy_assignment = false_type; using propagate_on_container_move_assignment = true_type; using propagate_on_container_swap = false_type; using is_always_equal = true_type; template using rebind_alloc = allocator<_Up>; template using rebind_traits = allocator_traits>; # 458 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 static pointer allocate(allocator_type& __a, size_type __n) { return __a.allocate(__n); } # 472 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 static pointer allocate(allocator_type& __a, size_type __n, const_void_pointer __hint) { return __a.allocate(__n, __hint); } # 490 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 static void deallocate(allocator_type& __a, pointer __p, size_type __n) { __a.deallocate(__p, __n); } # 505 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 template static void construct(allocator_type& __a __attribute__((__unused__)), _Up* __p, _Args&&... __args) noexcept(std::is_nothrow_constructible<_Up, _Args...>::value) { __a.construct(__p, std::forward<_Args>(__args)...); } # 525 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 template static void destroy(allocator_type& __a __attribute__((__unused__)), _Up* __p) noexcept(is_nothrow_destructible<_Up>::value) { __a.destroy(__p); } static size_type max_size(const allocator_type& __a __attribute__((__unused__))) noexcept { return __a.max_size(); } static allocator_type select_on_container_copy_construction(const allocator_type& __rhs) { return __rhs; } }; template inline void __do_alloc_on_copy(_Alloc& __one, const _Alloc& __two, true_type) { __one = __two; } template inline void __do_alloc_on_copy(_Alloc&, const _Alloc&, false_type) { } template inline void __alloc_on_copy(_Alloc& __one, const _Alloc& __two) { typedef allocator_traits<_Alloc> __traits; typedef typename __traits::propagate_on_container_copy_assignment __pocca; __do_alloc_on_copy(__one, __two, __pocca()); } template constexpr _Alloc __alloc_on_copy(const _Alloc& __a) { typedef allocator_traits<_Alloc> __traits; return __traits::select_on_container_copy_construction(__a); } template inline void __do_alloc_on_move(_Alloc& __one, _Alloc& __two, true_type) { __one = std::move(__two); } template inline void __do_alloc_on_move(_Alloc&, _Alloc&, false_type) { } template inline void __alloc_on_move(_Alloc& __one, _Alloc& __two) { typedef allocator_traits<_Alloc> __traits; typedef typename __traits::propagate_on_container_move_assignment __pocma; __do_alloc_on_move(__one, __two, __pocma()); } template inline void __do_alloc_on_swap(_Alloc& __one, _Alloc& __two, true_type) { using std::swap; swap(__one, __two); } template inline void __do_alloc_on_swap(_Alloc&, _Alloc&, false_type) { } template inline void __alloc_on_swap(_Alloc& __one, _Alloc& __two) { typedef allocator_traits<_Alloc> __traits; typedef typename __traits::propagate_on_container_swap __pocs; __do_alloc_on_swap(__one, __two, __pocs()); } template, typename = void> struct __is_alloc_insertable_impl : false_type { }; template struct __is_alloc_insertable_impl<_Alloc, _Tp, _ValueT, __void_t::construct( std::declval<_Alloc&>(), std::declval<_ValueT*>(), std::declval<_Tp>()))>> : true_type { }; template struct __is_copy_insertable : __is_alloc_insertable_impl<_Alloc, typename _Alloc::value_type const&>::type { }; template struct __is_copy_insertable> : is_copy_constructible<_Tp> { }; template struct __is_move_insertable : __is_alloc_insertable_impl<_Alloc, typename _Alloc::value_type>::type { }; template struct __is_move_insertable> : is_move_constructible<_Tp> { }; template struct __is_allocator : false_type { }; template struct __is_allocator<_Alloc, __void_t().allocate(size_t{}))>> : true_type { }; template using _RequireAllocator = typename enable_if<__is_allocator<_Alloc>::value, _Alloc>::type; template using _RequireNotAllocator = typename enable_if::value, _Alloc>::type; # 719 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/alloc_traits.h" 3 template void _Destroy(_ForwardIterator __first, _ForwardIterator __last, _Allocator& __alloc) { for (; __first != __last; ++__first) allocator_traits<_Allocator>::destroy(__alloc, std::__addressof(*__first)); } template inline void _Destroy(_ForwardIterator __first, _ForwardIterator __last, allocator<_Tp>&) { _Destroy(__first, __last); } } # 35 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/alloc_traits.h" 2 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { template struct __alloc_traits : std::allocator_traits<_Alloc> { typedef _Alloc allocator_type; typedef std::allocator_traits<_Alloc> _Base_type; typedef typename _Base_type::value_type value_type; typedef typename _Base_type::pointer pointer; typedef typename _Base_type::const_pointer const_pointer; typedef typename _Base_type::size_type size_type; typedef typename _Base_type::difference_type difference_type; typedef value_type& reference; typedef const value_type& const_reference; using _Base_type::allocate; using _Base_type::deallocate; using _Base_type::construct; using _Base_type::destroy; using _Base_type::max_size; private: template using __is_custom_pointer = std::__and_, std::__not_>>; public: template static std::__enable_if_t<__is_custom_pointer<_Ptr>::value> construct(_Alloc& __a, _Ptr __p, _Args&&... __args) noexcept(noexcept(_Base_type::construct(__a, std::__to_address(__p), std::forward<_Args>(__args)...))) { _Base_type::construct(__a, std::__to_address(__p), std::forward<_Args>(__args)...); } template static std::__enable_if_t<__is_custom_pointer<_Ptr>::value> destroy(_Alloc& __a, _Ptr __p) noexcept(noexcept(_Base_type::destroy(__a, std::__to_address(__p)))) { _Base_type::destroy(__a, std::__to_address(__p)); } static constexpr _Alloc _S_select_on_copy(const _Alloc& __a) { return _Base_type::select_on_container_copy_construction(__a); } static void _S_on_swap(_Alloc& __a, _Alloc& __b) { std::__alloc_on_swap(__a, __b); } static constexpr bool _S_propagate_on_copy_assign() { return _Base_type::propagate_on_container_copy_assignment::value; } static constexpr bool _S_propagate_on_move_assign() { return _Base_type::propagate_on_container_move_assignment::value; } static constexpr bool _S_propagate_on_swap() { return _Base_type::propagate_on_container_swap::value; } static constexpr bool _S_always_equal() { return _Base_type::is_always_equal::value; } static constexpr bool _S_nothrow_move() { return _S_propagate_on_move_assign() || _S_always_equal(); } template struct rebind { typedef typename _Base_type::template rebind_alloc<_Tp> other; }; # 166 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/alloc_traits.h" 3 }; } # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 2 3 # 52 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 3138 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template class basic_string { typedef typename __gnu_cxx::__alloc_traits<_Alloc>::template rebind<_CharT>::other _CharT_alloc_type; typedef __gnu_cxx::__alloc_traits<_CharT_alloc_type> _CharT_alloc_traits; public: typedef _Traits traits_type; typedef typename _Traits::char_type value_type; typedef _Alloc allocator_type; typedef typename _CharT_alloc_type::size_type size_type; typedef typename _CharT_alloc_type::difference_type difference_type; typedef value_type& reference; typedef const value_type& const_reference; typedef typename _CharT_alloc_traits::pointer pointer; typedef typename _CharT_alloc_traits::const_pointer const_pointer; typedef __gnu_cxx::__normal_iterator iterator; typedef __gnu_cxx::__normal_iterator const_iterator; typedef std::reverse_iterator const_reverse_iterator; typedef std::reverse_iterator reverse_iterator; protected: typedef iterator __const_iterator; private: # 3186 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 struct _Rep_base { size_type _M_length; size_type _M_capacity; _Atomic_word _M_refcount; }; struct _Rep : _Rep_base { typedef typename __gnu_cxx::__alloc_traits<_Alloc>::template rebind::other _Raw_bytes_alloc; # 3212 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 static const size_type _S_max_size; static const _CharT _S_terminal; static size_type _S_empty_rep_storage[]; static _Rep& _S_empty_rep() noexcept { void* __p = reinterpret_cast(&_S_empty_rep_storage); return *reinterpret_cast<_Rep*>(__p); } bool _M_is_leaked() const noexcept { return __atomic_load_n(&this->_M_refcount, 0) < 0; } bool _M_is_shared() const noexcept { return __atomic_load_n(&this->_M_refcount, 2) > 0; } void _M_set_leaked() noexcept { this->_M_refcount = -1; } void _M_set_sharable() noexcept { this->_M_refcount = 0; } void _M_set_length_and_sharable(size_type __n) noexcept { if (__builtin_expect(this != &_S_empty_rep(), false)) { this->_M_set_sharable(); this->_M_length = __n; traits_type::assign(this->_M_refdata()[__n], _S_terminal); } } _CharT* _M_refdata() throw() { return reinterpret_cast<_CharT*>(this + 1); } _CharT* _M_grab(const _Alloc& __alloc1, const _Alloc& __alloc2) { return (!_M_is_leaked() && __alloc1 == __alloc2) ? _M_refcopy() : _M_clone(__alloc1); } static _Rep* _S_create(size_type, size_type, const _Alloc&); void _M_dispose(const _Alloc& __a) noexcept { if (__builtin_expect(this != &_S_empty_rep(), false)) { ; # 3313 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 if (__gnu_cxx::__exchange_and_add_dispatch(&this->_M_refcount, -1) <= 0) { ; _M_destroy(__a); } } } void _M_destroy(const _Alloc&) throw(); _CharT* _M_refcopy() throw() { if (__builtin_expect(this != &_S_empty_rep(), false)) __gnu_cxx::__atomic_add_dispatch(&this->_M_refcount, 1); return _M_refdata(); } _CharT* _M_clone(const _Alloc&, size_type __res = 0); }; struct _Alloc_hider : _Alloc { _Alloc_hider(_CharT* __dat, const _Alloc& __a) noexcept : _Alloc(__a), _M_p(__dat) { } _CharT* _M_p; }; public: static const size_type npos = static_cast(-1); private: mutable _Alloc_hider _M_dataplus; _CharT* _M_data() const noexcept { return _M_dataplus._M_p; } _CharT* _M_data(_CharT* __p) noexcept { return (_M_dataplus._M_p = __p); } _Rep* _M_rep() const noexcept { return &((reinterpret_cast<_Rep*> (_M_data()))[-1]); } iterator _M_ibegin() const noexcept { return iterator(_M_data()); } iterator _M_iend() const noexcept { return iterator(_M_data() + this->size()); } void _M_leak() { if (!_M_rep()->_M_is_leaked()) _M_leak_hard(); } size_type _M_check(size_type __pos, const char* __s) const { if (__pos > this->size()) __throw_out_of_range_fmt(("%s: __pos (which is %zu) > " "this->size() (which is %zu)"), __s, __pos, this->size()); return __pos; } void _M_check_length(size_type __n1, size_type __n2, const char* __s) const { if (this->max_size() - (this->size() - __n1) < __n2) __throw_length_error((__s)); } size_type _M_limit(size_type __pos, size_type __off) const noexcept { const bool __testoff = __off < this->size() - __pos; return __testoff ? __off : this->size() - __pos; } bool _M_disjunct(const _CharT* __s) const noexcept { return (less()(__s, _M_data()) || less()(_M_data() + this->size(), __s)); } static void _M_copy(_CharT* __d, const _CharT* __s, size_type __n) noexcept { if (__n == 1) traits_type::assign(*__d, *__s); else traits_type::copy(__d, __s, __n); } static void _M_move(_CharT* __d, const _CharT* __s, size_type __n) noexcept { if (__n == 1) traits_type::assign(*__d, *__s); else traits_type::move(__d, __s, __n); } static void _M_assign(_CharT* __d, size_type __n, _CharT __c) noexcept { if (__n == 1) traits_type::assign(*__d, __c); else traits_type::assign(__d, __n, __c); } template static void _S_copy_chars(_CharT* __p, _Iterator __k1, _Iterator __k2) { for (; __k1 != __k2; ++__k1, (void)++__p) traits_type::assign(*__p, *__k1); } static void _S_copy_chars(_CharT* __p, iterator __k1, iterator __k2) noexcept { _S_copy_chars(__p, __k1.base(), __k2.base()); } static void _S_copy_chars(_CharT* __p, const_iterator __k1, const_iterator __k2) noexcept { _S_copy_chars(__p, __k1.base(), __k2.base()); } static void _S_copy_chars(_CharT* __p, _CharT* __k1, _CharT* __k2) noexcept { _M_copy(__p, __k1, __k2 - __k1); } static void _S_copy_chars(_CharT* __p, const _CharT* __k1, const _CharT* __k2) noexcept { _M_copy(__p, __k1, __k2 - __k1); } static int _S_compare(size_type __n1, size_type __n2) noexcept { const difference_type __d = difference_type(__n1 - __n2); if (__d > __gnu_cxx::__numeric_traits::__max) return __gnu_cxx::__numeric_traits::__max; else if (__d < __gnu_cxx::__numeric_traits::__min) return __gnu_cxx::__numeric_traits::__min; else return int(__d); } void _M_mutate(size_type __pos, size_type __len1, size_type __len2); void _M_leak_hard(); static _Rep& _S_empty_rep() noexcept { return _Rep::_S_empty_rep(); } # 3538 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 public: basic_string() noexcept : _M_dataplus(_S_empty_rep()._M_refdata(), _Alloc()) { } explicit basic_string(const _Alloc& __a); basic_string(const basic_string& __str); # 3576 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string(const basic_string& __str, size_type __pos, const _Alloc& __a = _Alloc()); basic_string(const basic_string& __str, size_type __pos, size_type __n); basic_string(const basic_string& __str, size_type __pos, size_type __n, const _Alloc& __a); # 3606 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string(const _CharT* __s, size_type __n, const _Alloc& __a = _Alloc()); # 3619 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) : _M_dataplus(_S_construct(__s, __s ? __s + traits_type::length(__s) : __s + npos, __a), __a) { } basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()); # 3640 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string(basic_string&& __str) noexcept : _M_dataplus(std::move(__str._M_dataplus)) { __str._M_data(_S_empty_rep()._M_refdata()); } basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()); basic_string(const basic_string& __str, const _Alloc& __a) : _M_dataplus(__str._M_rep()->_M_grab(__a, __str.get_allocator()), __a) { } basic_string(basic_string&& __str, const _Alloc& __a) : _M_dataplus(__str._M_data(), __a) { if (__a == __str.get_allocator()) { __str._M_data(_S_empty_rep()._M_refdata()); } else _M_dataplus._M_p = _S_construct(__str.begin(), __str.end(), __a); } # 3686 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template basic_string(_InputIterator __beg, _InputIterator __end, const _Alloc& __a = _Alloc()); # 3717 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 ~basic_string() noexcept { _M_rep()->_M_dispose(this->get_allocator()); } basic_string& operator=(const basic_string& __str) { return this->assign(__str); } basic_string& operator=(const _CharT* __s) { return this->assign(__s); } # 3743 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& operator=(_CharT __c) { this->assign(1, __c); return *this; } # 3758 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& operator=(basic_string&& __str) noexcept(allocator_traits<_Alloc>::is_always_equal::value) { this->swap(__str); return *this; } basic_string& operator=(initializer_list<_CharT> __l) { this->assign(__l.begin(), __l.size()); return *this; } # 3802 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 iterator begin() { _M_leak(); return iterator(_M_data()); } const_iterator begin() const noexcept { return const_iterator(_M_data()); } iterator end() { _M_leak(); return iterator(_M_data() + this->size()); } const_iterator end() const noexcept { return const_iterator(_M_data() + this->size()); } reverse_iterator rbegin() { return reverse_iterator(this->end()); } const_reverse_iterator rbegin() const noexcept { return const_reverse_iterator(this->end()); } reverse_iterator rend() { return reverse_iterator(this->begin()); } const_reverse_iterator rend() const noexcept { return const_reverse_iterator(this->begin()); } const_iterator cbegin() const noexcept { return const_iterator(this->_M_data()); } const_iterator cend() const noexcept { return const_iterator(this->_M_data() + this->size()); } const_reverse_iterator crbegin() const noexcept { return const_reverse_iterator(this->end()); } const_reverse_iterator crend() const noexcept { return const_reverse_iterator(this->begin()); } public: size_type size() const noexcept { return _M_rep()->_M_length; } size_type length() const noexcept { return _M_rep()->_M_length; } size_type max_size() const noexcept { return _Rep::_S_max_size; } # 3937 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 void resize(size_type __n, _CharT __c); # 3950 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 void resize(size_type __n) { this->resize(__n, _CharT()); } void shrink_to_fit() noexcept { if (capacity() > size()) { try { reserve(0); } catch(...) { } } } size_type capacity() const noexcept { return _M_rep()->_M_capacity; } # 3996 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 void reserve(size_type __res_arg = 0); void clear() noexcept { if (_M_rep()->_M_is_shared()) { _M_rep()->_M_dispose(this->get_allocator()); _M_data(_S_empty_rep()._M_refdata()); } else _M_rep()->_M_set_length_and_sharable(0); } # 4025 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 bool empty() const noexcept { return this->size() == 0; } # 4040 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 const_reference operator[] (size_type __pos) const noexcept { ; return _M_data()[__pos]; } # 4057 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 reference operator[](size_type __pos) { ; ; _M_leak(); return _M_data()[__pos]; } # 4079 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 const_reference at(size_type __n) const { if (__n >= this->size()) __throw_out_of_range_fmt(("basic_string::at: __n " "(which is %zu) >= this->size() " "(which is %zu)"), __n, this->size()); return _M_data()[__n]; } # 4101 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 reference at(size_type __n) { if (__n >= size()) __throw_out_of_range_fmt(("basic_string::at: __n " "(which is %zu) >= this->size() " "(which is %zu)"), __n, this->size()); _M_leak(); return _M_data()[__n]; } reference front() { ; return operator[](0); } const_reference front() const noexcept { ; return operator[](0); } reference back() { ; return operator[](this->size() - 1); } const_reference back() const noexcept { ; return operator[](this->size() - 1); } # 4165 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& operator+=(const basic_string& __str) { return this->append(__str); } basic_string& operator+=(const _CharT* __s) { return this->append(__s); } basic_string& operator+=(_CharT __c) { this->push_back(__c); return *this; } basic_string& operator+=(initializer_list<_CharT> __l) { return this->append(__l.begin(), __l.size()); } # 4218 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& append(const basic_string& __str); # 4234 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& append(const basic_string& __str, size_type __pos, size_type __n = npos); basic_string& append(const _CharT* __s, size_type __n); basic_string& append(const _CharT* __s) { ; return this->append(__s, traits_type::length(__s)); } # 4266 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& append(size_type __n, _CharT __c); basic_string& append(initializer_list<_CharT> __l) { return this->append(__l.begin(), __l.size()); } # 4288 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template basic_string& append(_InputIterator __first, _InputIterator __last) { return this->replace(_M_iend(), _M_iend(), __first, __last); } # 4330 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 void push_back(_CharT __c) { const size_type __len = 1 + this->size(); if (__len > this->capacity() || _M_rep()->_M_is_shared()) this->reserve(__len); traits_type::assign(_M_data()[this->size()], __c); _M_rep()->_M_set_length_and_sharable(__len); } basic_string& assign(const basic_string& __str); # 4357 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& assign(basic_string&& __str) noexcept(allocator_traits<_Alloc>::is_always_equal::value) { this->swap(__str); return *this; } # 4379 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& assign(const basic_string& __str, size_type __pos, size_type __n = npos) { return this->assign(__str._M_data() + __str._M_check(__pos, "basic_string::assign"), __str._M_limit(__pos, __n)); } # 4395 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& assign(const _CharT* __s, size_type __n); # 4407 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& assign(const _CharT* __s) { ; return this->assign(__s, traits_type::length(__s)); } # 4423 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& assign(size_type __n, _CharT __c) { return _M_replace_aux(size_type(0), this->size(), __n, __c); } # 4435 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template basic_string& assign(_InputIterator __first, _InputIterator __last) { return this->replace(_M_ibegin(), _M_iend(), __first, __last); } basic_string& assign(initializer_list<_CharT> __l) { return this->assign(__l.begin(), __l.size()); } # 4496 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 void insert(iterator __p, size_type __n, _CharT __c) { this->replace(__p, __p, __n, __c); } # 4512 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template void insert(iterator __p, _InputIterator __beg, _InputIterator __end) { this->replace(__p, __p, __beg, __end); } # 4524 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 void insert(iterator __p, initializer_list<_CharT> __l) { ; this->insert(__p - _M_ibegin(), __l.begin(), __l.size()); } # 4544 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& insert(size_type __pos1, const basic_string& __str) { return this->insert(__pos1, __str, size_type(0), __str.size()); } # 4566 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& insert(size_type __pos1, const basic_string& __str, size_type __pos2, size_type __n = npos) { return this->insert(__pos1, __str._M_data() + __str._M_check(__pos2, "basic_string::insert"), __str._M_limit(__pos2, __n)); } # 4589 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& insert(size_type __pos, const _CharT* __s, size_type __n); # 4607 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& insert(size_type __pos, const _CharT* __s) { ; return this->insert(__pos, __s, traits_type::length(__s)); } # 4630 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& insert(size_type __pos, size_type __n, _CharT __c) { return _M_replace_aux(_M_check(__pos, "basic_string::insert"), size_type(0), __n, __c); } # 4648 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 iterator insert(iterator __p, _CharT __c) { ; const size_type __pos = __p - _M_ibegin(); _M_replace_aux(__pos, size_type(0), size_type(1), __c); _M_rep()->_M_set_leaked(); return iterator(_M_data() + __pos); } # 4709 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& erase(size_type __pos = 0, size_type __n = npos) { _M_mutate(_M_check(__pos, "basic_string::erase"), _M_limit(__pos, __n), size_type(0)); return *this; } # 4725 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 iterator erase(iterator __position) { ; const size_type __pos = __position - _M_ibegin(); _M_mutate(__pos, size_type(1), size_type(0)); _M_rep()->_M_set_leaked(); return iterator(_M_data() + __pos); } # 4745 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 iterator erase(iterator __first, iterator __last); void pop_back() { ; erase(size() - 1, 1); } # 4779 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(size_type __pos, size_type __n, const basic_string& __str) { return this->replace(__pos, __n, __str._M_data(), __str.size()); } # 4801 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_type __n2 = npos) { return this->replace(__pos1, __n1, __str._M_data() + __str._M_check(__pos2, "basic_string::replace"), __str._M_limit(__pos2, __n2)); } # 4826 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2); # 4846 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(size_type __pos, size_type __n1, const _CharT* __s) { ; return this->replace(__pos, __n1, __s, traits_type::length(__s)); } # 4870 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) { return _M_replace_aux(_M_check(__pos, "basic_string::replace"), _M_limit(__pos, __n1), __n2, __c); } # 4888 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(iterator __i1, iterator __i2, const basic_string& __str) { return this->replace(__i1, __i2, __str._M_data(), __str.size()); } # 4907 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(iterator __i1, iterator __i2, const _CharT* __s, size_type __n) { ; return this->replace(__i1 - _M_ibegin(), __i2 - __i1, __s, __n); } # 4928 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(iterator __i1, iterator __i2, const _CharT* __s) { ; return this->replace(__i1, __i2, __s, traits_type::length(__s)); } # 4949 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(iterator __i1, iterator __i2, size_type __n, _CharT __c) { ; return _M_replace_aux(__i1 - _M_ibegin(), __i2 - __i1, __n, __c); } # 4972 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template basic_string& replace(iterator __i1, iterator __i2, _InputIterator __k1, _InputIterator __k2) { ; ; typedef typename std::__is_integer<_InputIterator>::__type _Integral; return _M_replace_dispatch(__i1, __i2, __k1, __k2, _Integral()); } basic_string& replace(iterator __i1, iterator __i2, _CharT* __k1, _CharT* __k2) { ; ; return this->replace(__i1 - _M_ibegin(), __i2 - __i1, __k1, __k2 - __k1); } basic_string& replace(iterator __i1, iterator __i2, const _CharT* __k1, const _CharT* __k2) { ; ; return this->replace(__i1 - _M_ibegin(), __i2 - __i1, __k1, __k2 - __k1); } basic_string& replace(iterator __i1, iterator __i2, iterator __k1, iterator __k2) { ; ; return this->replace(__i1 - _M_ibegin(), __i2 - __i1, __k1.base(), __k2 - __k1); } basic_string& replace(iterator __i1, iterator __i2, const_iterator __k1, const_iterator __k2) { ; ; return this->replace(__i1 - _M_ibegin(), __i2 - __i1, __k1.base(), __k2 - __k1); } # 5043 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string& replace(iterator __i1, iterator __i2, initializer_list<_CharT> __l) { return this->replace(__i1, __i2, __l.begin(), __l.end()); } # 5103 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 private: template basic_string& _M_replace_dispatch(iterator __i1, iterator __i2, _Integer __n, _Integer __val, __true_type) { return _M_replace_aux(__i1 - _M_ibegin(), __i2 - __i1, __n, __val); } template basic_string& _M_replace_dispatch(iterator __i1, iterator __i2, _InputIterator __k1, _InputIterator __k2, __false_type); basic_string& _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, _CharT __c); basic_string& _M_replace_safe(size_type __pos1, size_type __n1, const _CharT* __s, size_type __n2); template static _CharT* _S_construct_aux(_InIterator __beg, _InIterator __end, const _Alloc& __a, __false_type) { typedef typename iterator_traits<_InIterator>::iterator_category _Tag; return _S_construct(__beg, __end, __a, _Tag()); } template static _CharT* _S_construct_aux(_Integer __beg, _Integer __end, const _Alloc& __a, __true_type) { return _S_construct_aux_2(static_cast(__beg), __end, __a); } static _CharT* _S_construct_aux_2(size_type __req, _CharT __c, const _Alloc& __a) { return _S_construct(__req, __c, __a); } template static _CharT* _S_construct(_InIterator __beg, _InIterator __end, const _Alloc& __a) { typedef typename std::__is_integer<_InIterator>::__type _Integral; return _S_construct_aux(__beg, __end, __a, _Integral()); } template static _CharT* _S_construct(_InIterator __beg, _InIterator __end, const _Alloc& __a, input_iterator_tag); template static _CharT* _S_construct(_FwdIterator __beg, _FwdIterator __end, const _Alloc& __a, forward_iterator_tag); static _CharT* _S_construct(size_type __req, _CharT __c, const _Alloc& __a); public: # 5185 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type copy(_CharT* __s, size_type __n, size_type __pos = 0) const; # 5195 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 void swap(basic_string& __s) noexcept(allocator_traits<_Alloc>::is_always_equal::value); # 5206 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 const _CharT* c_str() const noexcept { return _M_data(); } # 5218 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 const _CharT* data() const noexcept { return _M_data(); } # 5240 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 allocator_type get_allocator() const noexcept { return _M_dataplus; } # 5256 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find(const _CharT* __s, size_type __pos, size_type __n) const noexcept; # 5270 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find(const basic_string& __str, size_type __pos = 0) const noexcept { return this->find(__str.data(), __pos, __str.size()); } # 5285 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find(const _CharT* __s, size_type __pos = 0) const noexcept { ; return this->find(__s, __pos, traits_type::length(__s)); } # 5302 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find(_CharT __c, size_type __pos = 0) const noexcept; # 5332 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type rfind(const basic_string& __str, size_type __pos = npos) const noexcept { return this->rfind(__str.data(), __pos, __str.size()); } # 5349 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type rfind(const _CharT* __s, size_type __pos, size_type __n) const noexcept; # 5363 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type rfind(const _CharT* __s, size_type __pos = npos) const noexcept { ; return this->rfind(__s, __pos, traits_type::length(__s)); } # 5380 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type rfind(_CharT __c, size_type __pos = npos) const noexcept; # 5411 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_first_of(const basic_string& __str, size_type __pos = 0) const noexcept { return this->find_first_of(__str.data(), __pos, __str.size()); } # 5428 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_first_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept; # 5442 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_first_of(const _CharT* __s, size_type __pos = 0) const noexcept { ; return this->find_first_of(__s, __pos, traits_type::length(__s)); } # 5462 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_first_of(_CharT __c, size_type __pos = 0) const noexcept { return this->find(__c, __pos); } # 5495 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_last_of(const basic_string& __str, size_type __pos = npos) const noexcept { return this->find_last_of(__str.data(), __pos, __str.size()); } # 5512 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_last_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept; # 5526 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_last_of(const _CharT* __s, size_type __pos = npos) const noexcept { ; return this->find_last_of(__s, __pos, traits_type::length(__s)); } # 5546 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_last_of(_CharT __c, size_type __pos = npos) const noexcept { return this->rfind(__c, __pos); } # 5578 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_first_not_of(const basic_string& __str, size_type __pos = 0) const noexcept { return this->find_first_not_of(__str.data(), __pos, __str.size()); } # 5595 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept; # 5609 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_first_not_of(const _CharT* __s, size_type __pos = 0) const noexcept { ; return this->find_first_not_of(__s, __pos, traits_type::length(__s)); } # 5627 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_first_not_of(_CharT __c, size_type __pos = 0) const noexcept; # 5660 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_last_not_of(const basic_string& __str, size_type __pos = npos) const noexcept { return this->find_last_not_of(__str.data(), __pos, __str.size()); } # 5677 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept; # 5691 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_last_not_of(const _CharT* __s, size_type __pos = npos) const noexcept { ; return this->find_last_not_of(__s, __pos, traits_type::length(__s)); } # 5709 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 size_type find_last_not_of(_CharT __c, size_type __pos = npos) const noexcept; # 5743 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 basic_string substr(size_type __pos = 0, size_type __n = npos) const { return basic_string(*this, _M_check(__pos, "basic_string::substr"), __n); } # 5762 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 int compare(const basic_string& __str) const { const size_type __size = this->size(); const size_type __osize = __str.size(); const size_type __len = std::min(__size, __osize); int __r = traits_type::compare(_M_data(), __str.data(), __len); if (!__r) __r = _S_compare(__size, __osize); return __r; } # 5855 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 int compare(size_type __pos, size_type __n, const basic_string& __str) const; # 5881 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 int compare(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_type __n2 = npos) const; # 5899 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 int compare(const _CharT* __s) const noexcept; # 5923 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 int compare(size_type __pos, size_type __n1, const _CharT* __s) const; # 5950 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 int compare(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2) const; # 5991 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 }; # 6030 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template basic_string<_CharT, _Traits, _Alloc> operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { basic_string<_CharT, _Traits, _Alloc> __str(__lhs); __str.append(__rhs); return __str; } template basic_string<_CharT,_Traits,_Alloc> operator+(const _CharT* __lhs, const basic_string<_CharT,_Traits,_Alloc>& __rhs); template basic_string<_CharT,_Traits,_Alloc> operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Alloc>& __rhs); template inline basic_string<_CharT, _Traits, _Alloc> operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { basic_string<_CharT, _Traits, _Alloc> __str(__lhs); __str.append(__rhs); return __str; } template inline basic_string<_CharT, _Traits, _Alloc> operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs) { typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef typename __string_type::size_type __size_type; __string_type __str(__lhs); __str.append(__size_type(1), __rhs); return __str; } template inline basic_string<_CharT, _Traits, _Alloc> operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return std::move(__lhs.append(__rhs)); } template inline basic_string<_CharT, _Traits, _Alloc> operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, basic_string<_CharT, _Traits, _Alloc>&& __rhs) { return std::move(__rhs.insert(0, __lhs)); } template inline basic_string<_CharT, _Traits, _Alloc> operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, basic_string<_CharT, _Traits, _Alloc>&& __rhs) { # 6121 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 { const auto __size = __lhs.size() + __rhs.size(); if (__size > __lhs.capacity() && __size <= __rhs.capacity()) return std::move(__rhs.insert(0, __lhs)); } return std::move(__lhs.append(__rhs)); } template inline basic_string<_CharT, _Traits, _Alloc> operator+(const _CharT* __lhs, basic_string<_CharT, _Traits, _Alloc>&& __rhs) { return std::move(__rhs.insert(0, __lhs)); } template inline basic_string<_CharT, _Traits, _Alloc> operator+(_CharT __lhs, basic_string<_CharT, _Traits, _Alloc>&& __rhs) { return std::move(__rhs.insert(0, 1, __lhs)); } template inline basic_string<_CharT, _Traits, _Alloc> operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, const _CharT* __rhs) { return std::move(__lhs.append(__rhs)); } template inline basic_string<_CharT, _Traits, _Alloc> operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, _CharT __rhs) { return std::move(__lhs.append(1, __rhs)); } # 6161 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline bool operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept { return __lhs.compare(__rhs) == 0; } template inline typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, bool>::__type operator==(const basic_string<_CharT>& __lhs, const basic_string<_CharT>& __rhs) noexcept { return (__lhs.size() == __rhs.size() && !std::char_traits<_CharT>::compare(__lhs.data(), __rhs.data(), __lhs.size())); } template inline bool operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { return __lhs.compare(__rhs) == 0; } # 6224 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline bool operator==(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return __rhs.compare(__lhs) == 0; } # 6237 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline bool operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept { return !(__lhs == __rhs); } template inline bool operator!=(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return !(__lhs == __rhs); } template inline bool operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { return !(__lhs == __rhs); } # 6275 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline bool operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept { return __lhs.compare(__rhs) < 0; } template inline bool operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { return __lhs.compare(__rhs) < 0; } template inline bool operator<(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return __rhs.compare(__lhs) > 0; } # 6313 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline bool operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept { return __lhs.compare(__rhs) > 0; } template inline bool operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { return __lhs.compare(__rhs) > 0; } template inline bool operator>(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return __rhs.compare(__lhs) < 0; } # 6351 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline bool operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept { return __lhs.compare(__rhs) <= 0; } template inline bool operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { return __lhs.compare(__rhs) <= 0; } template inline bool operator<=(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return __rhs.compare(__lhs) >= 0; } # 6389 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline bool operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept { return __lhs.compare(__rhs) >= 0; } template inline bool operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { return __lhs.compare(__rhs) >= 0; } template inline bool operator>=(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return __rhs.compare(__lhs) <= 0; } # 6428 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline void swap(basic_string<_CharT, _Traits, _Alloc>& __lhs, basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept(noexcept(__lhs.swap(__rhs))) { __lhs.swap(__rhs); } # 6448 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __is, basic_string<_CharT, _Traits, _Alloc>& __str); template<> basic_istream& operator>>(basic_istream& __is, basic_string& __str); # 6466 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Alloc>& __str) { return __ostream_insert(__os, __str.data(), __str.size()); } # 6489 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template basic_istream<_CharT, _Traits>& getline(basic_istream<_CharT, _Traits>& __is, basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim); # 6506 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template inline basic_istream<_CharT, _Traits>& getline(basic_istream<_CharT, _Traits>& __is, basic_string<_CharT, _Traits, _Alloc>& __str) { return std::getline(__is, __str, __is.widen('\n')); } template inline basic_istream<_CharT, _Traits>& getline(basic_istream<_CharT, _Traits>&& __is, basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim) { return std::getline(__is, __str, __delim); } template inline basic_istream<_CharT, _Traits>& getline(basic_istream<_CharT, _Traits>&& __is, basic_string<_CharT, _Traits, _Alloc>& __str) { return std::getline(__is, __str); } template<> basic_istream& getline(basic_istream& __in, basic_string& __str, char __delim); template<> basic_istream& getline(basic_istream& __in, basic_string& __str, wchar_t __delim); } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/string_conversions.h" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/string_conversions.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdlib" 3 # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/string_conversions.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 3 # 1 "/usr/include/wchar.h" 1 3 4 # 45 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwchar" 2 3 # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/string_conversions.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdio" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdio" 3 # 1 "/usr/include/stdio.h" 1 3 4 # 29 "/usr/include/stdio.h" 3 4 extern "C" { # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 4 # 34 "/usr/include/stdio.h" 2 3 4 # 74 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/libio.h" 1 3 4 # 32 "/usr/include/libio.h" 3 4 # 1 "/usr/include/_G_config.h" 1 3 4 # 15 "/usr/include/_G_config.h" 3 4 # 1 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/stddef.h" 1 3 4 # 16 "/usr/include/_G_config.h" 2 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 21 "/usr/include/_G_config.h" 2 3 4 typedef struct { __off_t __pos; __mbstate_t __state; } _G_fpos_t; typedef struct { __off64_t __pos; __mbstate_t __state; } _G_fpos64_t; # 33 "/usr/include/libio.h" 2 3 4 # 145 "/usr/include/libio.h" 3 4 struct _IO_jump_t; struct _IO_FILE; # 155 "/usr/include/libio.h" 3 4 typedef void _IO_lock_t; struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos; # 178 "/usr/include/libio.h" 3 4 }; enum __codecvt_result { __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv }; # 246 "/usr/include/libio.h" 3 4 struct _IO_FILE { int _flags; char* _IO_read_ptr; char* _IO_read_end; char* _IO_read_base; char* _IO_write_base; char* _IO_write_ptr; char* _IO_write_end; char* _IO_buf_base; char* _IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _flags2; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; # 294 "/usr/include/libio.h" 3 4 __off64_t _offset; # 303 "/usr/include/libio.h" 3 4 void *__pad1; void *__pad2; void *__pad3; void *__pad4; size_t __pad5; int _mode; char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; }; struct _IO_FILE_plus; extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_; # 339 "/usr/include/libio.h" 3 4 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); typedef __ssize_t __io_write_fn (void *__cookie, const char *__buf, size_t __n); typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); typedef int __io_close_fn (void *__cookie); typedef __io_read_fn cookie_read_function_t; typedef __io_write_fn cookie_write_function_t; typedef __io_seek_fn cookie_seek_function_t; typedef __io_close_fn cookie_close_function_t; typedef struct { __io_read_fn *read; __io_write_fn *write; __io_seek_fn *seek; __io_close_fn *close; } _IO_cookie_io_functions_t; typedef _IO_cookie_io_functions_t cookie_io_functions_t; struct _IO_cookie_file; extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, void *__cookie, _IO_cookie_io_functions_t __fns); extern "C" { extern int __underflow (_IO_FILE *); extern int __uflow (_IO_FILE *); extern int __overflow (_IO_FILE *, int); # 435 "/usr/include/libio.h" 3 4 extern int _IO_getc (_IO_FILE *__fp); extern int _IO_putc (int __c, _IO_FILE *__fp); extern int _IO_feof (_IO_FILE *__fp) throw (); extern int _IO_ferror (_IO_FILE *__fp) throw (); extern int _IO_peekc_locked (_IO_FILE *__fp); extern void _IO_flockfile (_IO_FILE *) throw (); extern void _IO_funlockfile (_IO_FILE *) throw (); extern int _IO_ftrylockfile (_IO_FILE *) throw (); # 465 "/usr/include/libio.h" 3 4 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, __gnuc_va_list, int *__restrict); extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, __gnuc_va_list); extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); extern void _IO_free_backup_area (_IO_FILE *) throw (); # 527 "/usr/include/libio.h" 3 4 } # 75 "/usr/include/stdio.h" 2 3 4 typedef __gnuc_va_list va_list; # 110 "/usr/include/stdio.h" 3 4 typedef _G_fpos_t fpos_t; typedef _G_fpos64_t fpos64_t; # 164 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 # 165 "/usr/include/stdio.h" 2 3 4 extern struct _IO_FILE *stdin; extern struct _IO_FILE *stdout; extern struct _IO_FILE *stderr; extern int remove (const char *__filename) throw (); extern int rename (const char *__old, const char *__new) throw (); extern int renameat (int __oldfd, const char *__old, int __newfd, const char *__new) throw (); # 195 "/usr/include/stdio.h" 3 4 extern FILE *tmpfile (void) ; # 205 "/usr/include/stdio.h" 3 4 extern FILE *tmpfile64 (void) ; extern char *tmpnam (char *__s) throw () ; extern char *tmpnam_r (char *__s) throw () ; # 227 "/usr/include/stdio.h" 3 4 extern char *tempnam (const char *__dir, const char *__pfx) throw () __attribute__ ((__malloc__)) ; # 237 "/usr/include/stdio.h" 3 4 extern int fclose (FILE *__stream); extern int fflush (FILE *__stream); # 252 "/usr/include/stdio.h" 3 4 extern int fflush_unlocked (FILE *__stream); # 262 "/usr/include/stdio.h" 3 4 extern int fcloseall (void); # 272 "/usr/include/stdio.h" 3 4 extern FILE *fopen (const char *__restrict __filename, const char *__restrict __modes) ; extern FILE *freopen (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) ; # 297 "/usr/include/stdio.h" 3 4 extern FILE *fopen64 (const char *__restrict __filename, const char *__restrict __modes) ; extern FILE *freopen64 (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) ; extern FILE *fdopen (int __fd, const char *__modes) throw () ; extern FILE *fopencookie (void *__restrict __magic_cookie, const char *__restrict __modes, _IO_cookie_io_functions_t __io_funcs) throw () ; extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) throw () ; extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) throw () ; extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) throw (); extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) throw (); extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, size_t __size) throw (); extern void setlinebuf (FILE *__stream) throw (); # 356 "/usr/include/stdio.h" 3 4 extern int fprintf (FILE *__restrict __stream, const char *__restrict __format, ...); extern int printf (const char *__restrict __format, ...); extern int sprintf (char *__restrict __s, const char *__restrict __format, ...) throw (); extern int vfprintf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg); extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); extern int vsprintf (char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) throw (); extern int snprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, ...) throw () __attribute__ ((__format__ (__printf__, 3, 4))); extern int vsnprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, __gnuc_va_list __arg) throw () __attribute__ ((__format__ (__printf__, 3, 0))); extern int vasprintf (char **__restrict __ptr, const char *__restrict __f, __gnuc_va_list __arg) throw () __attribute__ ((__format__ (__printf__, 2, 0))) ; extern int __asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) throw () __attribute__ ((__format__ (__printf__, 2, 3))) ; extern int asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) throw () __attribute__ ((__format__ (__printf__, 2, 3))) ; extern int vdprintf (int __fd, const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 2, 0))); extern int dprintf (int __fd, const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); # 425 "/usr/include/stdio.h" 3 4 extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) ; extern int scanf (const char *__restrict __format, ...) ; extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) throw (); # 471 "/usr/include/stdio.h" 3 4 extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 2, 0))) ; extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 1, 0))) ; extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) throw () __attribute__ ((__format__ (__scanf__, 2, 0))); # 531 "/usr/include/stdio.h" 3 4 extern int fgetc (FILE *__stream); extern int getc (FILE *__stream); extern int getchar (void); # 550 "/usr/include/stdio.h" 3 4 extern int getc_unlocked (FILE *__stream); extern int getchar_unlocked (void); # 561 "/usr/include/stdio.h" 3 4 extern int fgetc_unlocked (FILE *__stream); # 573 "/usr/include/stdio.h" 3 4 extern int fputc (int __c, FILE *__stream); extern int putc (int __c, FILE *__stream); extern int putchar (int __c); # 594 "/usr/include/stdio.h" 3 4 extern int fputc_unlocked (int __c, FILE *__stream); extern int putc_unlocked (int __c, FILE *__stream); extern int putchar_unlocked (int __c); extern int getw (FILE *__stream); extern int putw (int __w, FILE *__stream); # 622 "/usr/include/stdio.h" 3 4 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ; # 638 "/usr/include/stdio.h" 3 4 extern char *gets (char *__s) __attribute__ ((__deprecated__)); # 649 "/usr/include/stdio.h" 3 4 extern char *fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream) ; # 665 "/usr/include/stdio.h" 3 4 extern __ssize_t __getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getline (char **__restrict __lineptr, size_t *__restrict __n, FILE *__restrict __stream) ; # 689 "/usr/include/stdio.h" 3 4 extern int fputs (const char *__restrict __s, FILE *__restrict __stream); extern int puts (const char *__s); extern int ungetc (int __c, FILE *__stream); extern size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s); # 726 "/usr/include/stdio.h" 3 4 extern int fputs_unlocked (const char *__restrict __s, FILE *__restrict __stream); # 737 "/usr/include/stdio.h" 3 4 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); # 749 "/usr/include/stdio.h" 3 4 extern int fseek (FILE *__stream, long int __off, int __whence); extern long int ftell (FILE *__stream) ; extern void rewind (FILE *__stream); # 773 "/usr/include/stdio.h" 3 4 extern int fseeko (FILE *__stream, __off_t __off, int __whence); extern __off_t ftello (FILE *__stream) ; # 798 "/usr/include/stdio.h" 3 4 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); extern int fsetpos (FILE *__stream, const fpos_t *__pos); # 818 "/usr/include/stdio.h" 3 4 extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); extern __off64_t ftello64 (FILE *__stream) ; extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); extern int fsetpos64 (FILE *__stream, const fpos64_t *__pos); extern void clearerr (FILE *__stream) throw (); extern int feof (FILE *__stream) throw () ; extern int ferror (FILE *__stream) throw () ; extern void clearerr_unlocked (FILE *__stream) throw (); extern int feof_unlocked (FILE *__stream) throw () ; extern int ferror_unlocked (FILE *__stream) throw () ; # 846 "/usr/include/stdio.h" 3 4 extern void perror (const char *__s); # 1 "/usr/include/bits/sys_errlist.h" 1 3 4 # 26 "/usr/include/bits/sys_errlist.h" 3 4 extern int sys_nerr; extern const char *const sys_errlist[]; extern int _sys_nerr; extern const char *const _sys_errlist[]; # 854 "/usr/include/stdio.h" 2 3 4 extern int fileno (FILE *__stream) throw () ; extern int fileno_unlocked (FILE *__stream) throw () ; # 873 "/usr/include/stdio.h" 3 4 extern FILE *popen (const char *__command, const char *__modes) ; extern int pclose (FILE *__stream); extern char *ctermid (char *__s) throw (); extern char *cuserid (char *__s); struct obstack; extern int obstack_printf (struct obstack *__restrict __obstack, const char *__restrict __format, ...) throw () __attribute__ ((__format__ (__printf__, 2, 3))); extern int obstack_vprintf (struct obstack *__restrict __obstack, const char *__restrict __format, __gnuc_va_list __args) throw () __attribute__ ((__format__ (__printf__, 2, 0))); extern void flockfile (FILE *__stream) throw (); extern int ftrylockfile (FILE *__stream) throw () ; extern void funlockfile (FILE *__stream) throw (); # 934 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio.h" 1 3 4 # 35 "/usr/include/bits/stdio.h" 3 4 extern __inline __attribute__ ((__gnu_inline__)) int vprintf (const char *__restrict __fmt, __gnuc_va_list __arg) { return vfprintf (stdout, __fmt, __arg); } extern __inline __attribute__ ((__gnu_inline__)) int getchar (void) { return _IO_getc (stdin); } extern __inline __attribute__ ((__gnu_inline__)) int fgetc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline __attribute__ ((__gnu_inline__)) int getc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline __attribute__ ((__gnu_inline__)) int getchar_unlocked (void) { return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); } extern __inline __attribute__ ((__gnu_inline__)) int putchar (int __c) { return _IO_putc (__c, stdout); } extern __inline __attribute__ ((__gnu_inline__)) int fputc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline __attribute__ ((__gnu_inline__)) int putc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline __attribute__ ((__gnu_inline__)) int putchar_unlocked (int __c) { return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); } extern __inline __attribute__ ((__gnu_inline__)) __ssize_t getline (char **__lineptr, size_t *__n, FILE *__stream) { return __getdelim (__lineptr, __n, '\n', __stream); } extern __inline __attribute__ ((__gnu_inline__)) int feof_unlocked (FILE *__stream) throw () { return (((__stream)->_flags & 0x10) != 0); } extern __inline __attribute__ ((__gnu_inline__)) int ferror_unlocked (FILE *__stream) throw () { return (((__stream)->_flags & 0x20) != 0); } # 935 "/usr/include/stdio.h" 2 3 4 } # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdio" 2 3 # 96 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdio" 3 namespace std { using ::FILE; using ::fpos_t; using ::clearerr; using ::fclose; using ::feof; using ::ferror; using ::fflush; using ::fgetc; using ::fgetpos; using ::fgets; using ::fopen; using ::fprintf; using ::fputc; using ::fputs; using ::fread; using ::freopen; using ::fscanf; using ::fseek; using ::fsetpos; using ::ftell; using ::fwrite; using ::getc; using ::getchar; using ::gets; using ::perror; using ::printf; using ::putc; using ::putchar; using ::puts; using ::remove; using ::rename; using ::rewind; using ::scanf; using ::setbuf; using ::setvbuf; using ::sprintf; using ::sscanf; using ::tmpfile; using ::tmpnam; using ::ungetc; using ::vfprintf; using ::vprintf; using ::vsprintf; } # 157 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdio" 3 namespace __gnu_cxx { # 175 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cstdio" 3 using ::snprintf; using ::vfscanf; using ::vscanf; using ::vsnprintf; using ::vsscanf; } namespace std { using ::__gnu_cxx::snprintf; using ::__gnu_cxx::vfscanf; using ::__gnu_cxx::vscanf; using ::__gnu_cxx::vsnprintf; using ::__gnu_cxx::vsscanf; } # 44 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/string_conversions.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cerrno" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cerrno" 3 # 1 "/usr/include/errno.h" 1 3 4 # 31 "/usr/include/errno.h" 3 4 extern "C" { # 1 "/usr/include/bits/errno.h" 1 3 4 # 24 "/usr/include/bits/errno.h" 3 4 # 1 "/usr/include/linux/errno.h" 1 3 4 # 1 "/usr/include/asm/errno.h" 1 3 4 # 1 "/usr/include/asm-generic/errno.h" 1 3 4 # 1 "/usr/include/asm-generic/errno-base.h" 1 3 4 # 5 "/usr/include/asm-generic/errno.h" 2 3 4 # 2 "/usr/include/asm/errno.h" 2 3 4 # 2 "/usr/include/linux/errno.h" 2 3 4 # 25 "/usr/include/bits/errno.h" 2 3 4 # 50 "/usr/include/bits/errno.h" 3 4 extern int *__errno_location (void) throw () __attribute__ ((__const__)); # 36 "/usr/include/errno.h" 2 3 4 # 54 "/usr/include/errno.h" 3 4 extern char *program_invocation_name, *program_invocation_short_name; } # 68 "/usr/include/errno.h" 3 4 typedef int error_t; # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cerrno" 2 3 # 45 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ext/string_conversions.h" 2 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { template _Ret __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), const char* __name, const _CharT* __str, std::size_t* __idx, _Base... __base) { _Ret __ret; _CharT* __endptr; struct _Save_errno { _Save_errno() : _M_errno((*__errno_location ())) { (*__errno_location ()) = 0; } ~_Save_errno() { if ((*__errno_location ()) == 0) (*__errno_location ()) = _M_errno; } int _M_errno; } const __save_errno; struct _Range_chk { static bool _S_chk(_TRet, std::false_type) { return false; } static bool _S_chk(_TRet __val, std::true_type) { return __val < _TRet(__numeric_traits::__min) || __val > _TRet(__numeric_traits::__max); } }; const _TRet __tmp = __convf(__str, &__endptr, __base...); if (__endptr == __str) std::__throw_invalid_argument(__name); else if ((*__errno_location ()) == 34 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{})) std::__throw_out_of_range(__name); else __ret = __tmp; if (__idx) *__idx = __endptr - __str; return __ret; } template _String __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, __builtin_va_list), std::size_t __n, const _CharT* __fmt, ...) { _CharT* __s = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __n)); __builtin_va_list __args; __builtin_va_start(__args, __fmt); const int __len = __convf(__s, __n, __fmt, __args); __builtin_va_end(__args); return _String(__s, __s + __len); } } # 6546 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/charconv.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/charconv.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { namespace __detail { template unsigned __to_chars_len(_Tp __value, int __base = 10) noexcept { static_assert(is_integral<_Tp>::value, "implementation bug"); static_assert(is_unsigned<_Tp>::value, "implementation bug"); unsigned __n = 1; const unsigned __b2 = __base * __base; const unsigned __b3 = __b2 * __base; const unsigned long __b4 = __b3 * __base; for (;;) { if (__value < (unsigned)__base) return __n; if (__value < __b2) return __n + 1; if (__value < __b3) return __n + 2; if (__value < __b4) return __n + 3; __value /= __b4; __n += 4; } } template void __to_chars_10_impl(char* __first, unsigned __len, _Tp __val) noexcept { static_assert(is_integral<_Tp>::value, "implementation bug"); static_assert(is_unsigned<_Tp>::value, "implementation bug"); static constexpr char __digits[201] = "0001020304050607080910111213141516171819" "2021222324252627282930313233343536373839" "4041424344454647484950515253545556575859" "6061626364656667686970717273747576777879" "8081828384858687888990919293949596979899"; unsigned __pos = __len - 1; while (__val >= 100) { auto const __num = (__val % 100) * 2; __val /= 100; __first[__pos] = __digits[__num + 1]; __first[__pos - 1] = __digits[__num]; __pos -= 2; } if (__val >= 10) { auto const __num = __val * 2; __first[1] = __digits[__num + 1]; __first[0] = __digits[__num]; } else __first[0] = '0' + __val; } } } # 6547 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { inline int stoi(const string& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::strtol, "stoi", __str.c_str(), __idx, __base); } inline long stol(const string& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::strtol, "stol", __str.c_str(), __idx, __base); } inline unsigned long stoul(const string& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::strtoul, "stoul", __str.c_str(), __idx, __base); } inline long long stoll(const string& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::strtoll, "stoll", __str.c_str(), __idx, __base); } inline unsigned long long stoull(const string& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::strtoull, "stoull", __str.c_str(), __idx, __base); } inline float stof(const string& __str, size_t* __idx = 0) { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); } inline double stod(const string& __str, size_t* __idx = 0) { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); } inline long double stold(const string& __str, size_t* __idx = 0) { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); } inline string to_string(int __val) { const bool __neg = __val < 0; const unsigned __uval = __neg ? (unsigned)~__val + 1u : __val; const auto __len = __detail::__to_chars_len(__uval); string __str(__neg + __len, '-'); __detail::__to_chars_10_impl(&__str[__neg], __len, __uval); return __str; } inline string to_string(unsigned __val) { string __str(__detail::__to_chars_len(__val), '\0'); __detail::__to_chars_10_impl(&__str[0], __str.size(), __val); return __str; } inline string to_string(long __val) { const bool __neg = __val < 0; const unsigned long __uval = __neg ? (unsigned long)~__val + 1ul : __val; const auto __len = __detail::__to_chars_len(__uval); string __str(__neg + __len, '-'); __detail::__to_chars_10_impl(&__str[__neg], __len, __uval); return __str; } inline string to_string(unsigned long __val) { string __str(__detail::__to_chars_len(__val), '\0'); __detail::__to_chars_10_impl(&__str[0], __str.size(), __val); return __str; } inline string to_string(long long __val) { const bool __neg = __val < 0; const unsigned long long __uval = __neg ? (unsigned long long)~__val + 1ull : __val; const auto __len = __detail::__to_chars_len(__uval); string __str(__neg + __len, '-'); __detail::__to_chars_10_impl(&__str[__neg], __len, __uval); return __str; } inline string to_string(unsigned long long __val) { string __str(__detail::__to_chars_len(__val), '\0'); __detail::__to_chars_10_impl(&__str[0], __str.size(), __val); return __str; } inline string to_string(float __val) { const int __n = __gnu_cxx::__numeric_traits::__max_exponent10 + 20; return __gnu_cxx::__to_xstring(&std::vsnprintf, __n, "%f", __val); } inline string to_string(double __val) { const int __n = __gnu_cxx::__numeric_traits::__max_exponent10 + 20; return __gnu_cxx::__to_xstring(&std::vsnprintf, __n, "%f", __val); } inline string to_string(long double __val) { const int __n = __gnu_cxx::__numeric_traits::__max_exponent10 + 20; return __gnu_cxx::__to_xstring(&std::vsnprintf, __n, "%Lf", __val); } inline int stoi(const wstring& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::wcstol, "stoi", __str.c_str(), __idx, __base); } inline long stol(const wstring& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::wcstol, "stol", __str.c_str(), __idx, __base); } inline unsigned long stoul(const wstring& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::wcstoul, "stoul", __str.c_str(), __idx, __base); } inline long long stoll(const wstring& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::wcstoll, "stoll", __str.c_str(), __idx, __base); } inline unsigned long long stoull(const wstring& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::wcstoull, "stoull", __str.c_str(), __idx, __base); } inline float stof(const wstring& __str, size_t* __idx = 0) { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); } inline double stod(const wstring& __str, size_t* __idx = 0) { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); } inline long double stold(const wstring& __str, size_t* __idx = 0) { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); } inline wstring to_wstring(int __val) { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(int), L"%d", __val); } inline wstring to_wstring(unsigned __val) { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(unsigned), L"%u", __val); } inline wstring to_wstring(long __val) { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(long), L"%ld", __val); } inline wstring to_wstring(unsigned long __val) { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(unsigned long), L"%lu", __val); } inline wstring to_wstring(long long __val) { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(long long), L"%lld", __val); } inline wstring to_wstring(unsigned long long __val) { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(unsigned long long), L"%llu", __val); } inline wstring to_wstring(float __val) { const int __n = __gnu_cxx::__numeric_traits::__max_exponent10 + 20; return __gnu_cxx::__to_xstring(&std::vswprintf, __n, L"%f", __val); } inline wstring to_wstring(double __val) { const int __n = __gnu_cxx::__numeric_traits::__max_exponent10 + 20; return __gnu_cxx::__to_xstring(&std::vswprintf, __n, L"%f", __val); } inline wstring to_wstring(long double __val) { const int __n = __gnu_cxx::__numeric_traits::__max_exponent10 + 20; return __gnu_cxx::__to_xstring(&std::vswprintf, __n, L"%Lf", __val); } } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/functional_hash.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/functional_hash.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 49 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/functional_hash.h" 3 template struct __hash_base { typedef _Result result_type ; typedef _Arg argument_type ; }; template struct hash; template struct __poison_hash { static constexpr bool __enable_hash_call = false; private: __poison_hash(__poison_hash&&); ~__poison_hash(); }; template struct __poison_hash<_Tp, __void_t()(declval<_Tp>()))>> { static constexpr bool __enable_hash_call = true; }; template::value> struct __hash_enum { private: __hash_enum(__hash_enum&&); ~__hash_enum(); }; template struct __hash_enum<_Tp, true> : public __hash_base { size_t operator()(_Tp __val) const noexcept { using __type = typename underlying_type<_Tp>::type; return hash<__type>{}(static_cast<__type>(__val)); } }; template struct hash : __hash_enum<_Tp> { }; template struct hash<_Tp*> : public __hash_base { size_t operator()(_Tp* __p) const noexcept { return reinterpret_cast(__p); } }; # 124 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/functional_hash.h" 3 template<> struct hash : public __hash_base { size_t operator()(bool __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(char __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(signed char __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(unsigned char __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(wchar_t __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(char16_t __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(char32_t __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(short __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(int __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(long __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(long long __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(unsigned short __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(unsigned int __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(unsigned long __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(unsigned long long __val) const noexcept { return static_cast(__val); } }; # 192 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/functional_hash.h" 3 struct _Hash_impl { static size_t hash(const void* __ptr, size_t __clength, size_t __seed = static_cast(0xc70f6907UL)) { return _Hash_bytes(__ptr, __clength, __seed); } template static size_t hash(const _Tp& __val) { return hash(&__val, sizeof(__val)); } template static size_t __hash_combine(const _Tp& __val, size_t __hash) { return hash(&__val, sizeof(__val), __hash); } }; struct _Fnv_hash_impl { static size_t hash(const void* __ptr, size_t __clength, size_t __seed = static_cast(2166136261UL)) { return _Fnv_hash_bytes(__ptr, __clength, __seed); } template static size_t hash(const _Tp& __val) { return hash(&__val, sizeof(__val)); } template static size_t __hash_combine(const _Tp& __val, size_t __hash) { return hash(&__val, sizeof(__val), __hash); } }; template<> struct hash : public __hash_base { size_t operator()(float __val) const noexcept { return __val != 0.0f ? std::_Hash_impl::hash(__val) : 0; } }; template<> struct hash : public __hash_base { size_t operator()(double __val) const noexcept { return __val != 0.0 ? std::_Hash_impl::hash(__val) : 0; } }; template<> struct hash : public __hash_base { __attribute__ ((__pure__)) size_t operator()(long double __val) const noexcept; }; # 278 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/functional_hash.h" 3 template struct __is_fast_hash : public std::true_type { }; template<> struct __is_fast_hash> : public std::false_type { }; } # 6798 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template<> struct hash : public __hash_base { size_t operator()(const string& __s) const noexcept { return std::_Hash_impl::hash(__s.data(), __s.length()); } }; template<> struct __is_fast_hash> : std::false_type { }; template<> struct hash : public __hash_base { size_t operator()(const wstring& __s) const noexcept { return std::_Hash_impl::hash(__s.data(), __s.length() * sizeof(wchar_t)); } }; template<> struct __is_fast_hash> : std::false_type { }; # 6856 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 template<> struct hash : public __hash_base { size_t operator()(const u16string& __s) const noexcept { return std::_Hash_impl::hash(__s.data(), __s.length() * sizeof(char16_t)); } }; template<> struct __is_fast_hash> : std::false_type { }; template<> struct hash : public __hash_base { size_t operator()(const u32string& __s) const noexcept { return std::_Hash_impl::hash(__s.data(), __s.length() * sizeof(char32_t)); } }; template<> struct __is_fast_hash> : std::false_type { }; # 6947 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.h" 3 } # 56 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.tcc" 1 3 # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 490 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.tcc" 3 template const typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: _Rep::_S_max_size = (((npos - sizeof(_Rep_base))/sizeof(_CharT)) - 1) / 4; template const _CharT basic_string<_CharT, _Traits, _Alloc>:: _Rep::_S_terminal = _CharT(); template const typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>::npos; template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_empty_rep_storage[ (sizeof(_Rep_base) + sizeof(_CharT) + sizeof(size_type) - 1) / sizeof(size_type)]; template template _CharT* basic_string<_CharT, _Traits, _Alloc>:: _S_construct(_InIterator __beg, _InIterator __end, const _Alloc& __a, input_iterator_tag) { if (__beg == __end && __a == _Alloc()) return _S_empty_rep()._M_refdata(); _CharT __buf[128]; size_type __len = 0; while (__beg != __end && __len < sizeof(__buf) / sizeof(_CharT)) { __buf[__len++] = *__beg; ++__beg; } _Rep* __r = _Rep::_S_create(__len, size_type(0), __a); _M_copy(__r->_M_refdata(), __buf, __len); try { while (__beg != __end) { if (__len == __r->_M_capacity) { _Rep* __another = _Rep::_S_create(__len + 1, __len, __a); _M_copy(__another->_M_refdata(), __r->_M_refdata(), __len); __r->_M_destroy(__a); __r = __another; } __r->_M_refdata()[__len++] = *__beg; ++__beg; } } catch(...) { __r->_M_destroy(__a); throw; } __r->_M_set_length_and_sharable(__len); return __r->_M_refdata(); } template template _CharT* basic_string<_CharT, _Traits, _Alloc>:: _S_construct(_InIterator __beg, _InIterator __end, const _Alloc& __a, forward_iterator_tag) { if (__beg == __end && __a == _Alloc()) return _S_empty_rep()._M_refdata(); if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end) __throw_logic_error(("basic_string::_S_construct null not valid")); const size_type __dnew = static_cast(std::distance(__beg, __end)); _Rep* __r = _Rep::_S_create(__dnew, size_type(0), __a); try { _S_copy_chars(__r->_M_refdata(), __beg, __end); } catch(...) { __r->_M_destroy(__a); throw; } __r->_M_set_length_and_sharable(__dnew); return __r->_M_refdata(); } template _CharT* basic_string<_CharT, _Traits, _Alloc>:: _S_construct(size_type __n, _CharT __c, const _Alloc& __a) { if (__n == 0 && __a == _Alloc()) return _S_empty_rep()._M_refdata(); _Rep* __r = _Rep::_S_create(__n, size_type(0), __a); if (__n) _M_assign(__r->_M_refdata(), __n, __c); __r->_M_set_length_and_sharable(__n); return __r->_M_refdata(); } template basic_string<_CharT, _Traits, _Alloc>:: basic_string(const basic_string& __str) : _M_dataplus(__str._M_rep()->_M_grab(_Alloc(__str.get_allocator()), __str.get_allocator()), __str.get_allocator()) { } template basic_string<_CharT, _Traits, _Alloc>:: basic_string(const _Alloc& __a) : _M_dataplus(_S_construct(size_type(), _CharT(), __a), __a) { } template basic_string<_CharT, _Traits, _Alloc>:: basic_string(const basic_string& __str, size_type __pos, const _Alloc& __a) : _M_dataplus(_S_construct(__str._M_data() + __str._M_check(__pos, "basic_string::basic_string"), __str._M_data() + __str._M_limit(__pos, npos) + __pos, __a), __a) { } template basic_string<_CharT, _Traits, _Alloc>:: basic_string(const basic_string& __str, size_type __pos, size_type __n) : _M_dataplus(_S_construct(__str._M_data() + __str._M_check(__pos, "basic_string::basic_string"), __str._M_data() + __str._M_limit(__pos, __n) + __pos, _Alloc()), _Alloc()) { } template basic_string<_CharT, _Traits, _Alloc>:: basic_string(const basic_string& __str, size_type __pos, size_type __n, const _Alloc& __a) : _M_dataplus(_S_construct(__str._M_data() + __str._M_check(__pos, "basic_string::basic_string"), __str._M_data() + __str._M_limit(__pos, __n) + __pos, __a), __a) { } template basic_string<_CharT, _Traits, _Alloc>:: basic_string(const _CharT* __s, size_type __n, const _Alloc& __a) : _M_dataplus(_S_construct(__s, __s + __n, __a), __a) { } template basic_string<_CharT, _Traits, _Alloc>:: basic_string(size_type __n, _CharT __c, const _Alloc& __a) : _M_dataplus(_S_construct(__n, __c, __a), __a) { } template template basic_string<_CharT, _Traits, _Alloc>:: basic_string(_InputIterator __beg, _InputIterator __end, const _Alloc& __a) : _M_dataplus(_S_construct(__beg, __end, __a), __a) { } template basic_string<_CharT, _Traits, _Alloc>:: basic_string(initializer_list<_CharT> __l, const _Alloc& __a) : _M_dataplus(_S_construct(__l.begin(), __l.end(), __a), __a) { } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: assign(const basic_string& __str) { if (_M_rep() != __str._M_rep()) { const allocator_type __a = this->get_allocator(); _CharT* __tmp = __str._M_rep()->_M_grab(__a, __str.get_allocator()); _M_rep()->_M_dispose(__a); _M_data(__tmp); } return *this; } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: assign(const _CharT* __s, size_type __n) { ; _M_check_length(this->size(), __n, "basic_string::assign"); if (_M_disjunct(__s) || _M_rep()->_M_is_shared()) return _M_replace_safe(size_type(0), this->size(), __s, __n); else { const size_type __pos = __s - _M_data(); if (__pos >= __n) _M_copy(_M_data(), __s, __n); else if (__pos) _M_move(_M_data(), __s, __n); _M_rep()->_M_set_length_and_sharable(__n); return *this; } } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: append(size_type __n, _CharT __c) { if (__n) { _M_check_length(size_type(0), __n, "basic_string::append"); const size_type __len = __n + this->size(); if (__len > this->capacity() || _M_rep()->_M_is_shared()) this->reserve(__len); _M_assign(_M_data() + this->size(), __n, __c); _M_rep()->_M_set_length_and_sharable(__len); } return *this; } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: append(const _CharT* __s, size_type __n) { ; if (__n) { _M_check_length(size_type(0), __n, "basic_string::append"); const size_type __len = __n + this->size(); if (__len > this->capacity() || _M_rep()->_M_is_shared()) { if (_M_disjunct(__s)) this->reserve(__len); else { const size_type __off = __s - _M_data(); this->reserve(__len); __s = _M_data() + __off; } } _M_copy(_M_data() + this->size(), __s, __n); _M_rep()->_M_set_length_and_sharable(__len); } return *this; } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: append(const basic_string& __str) { const size_type __size = __str.size(); if (__size) { const size_type __len = __size + this->size(); if (__len > this->capacity() || _M_rep()->_M_is_shared()) this->reserve(__len); _M_copy(_M_data() + this->size(), __str._M_data(), __size); _M_rep()->_M_set_length_and_sharable(__len); } return *this; } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: append(const basic_string& __str, size_type __pos, size_type __n) { __str._M_check(__pos, "basic_string::append"); __n = __str._M_limit(__pos, __n); if (__n) { const size_type __len = __n + this->size(); if (__len > this->capacity() || _M_rep()->_M_is_shared()) this->reserve(__len); _M_copy(_M_data() + this->size(), __str._M_data() + __pos, __n); _M_rep()->_M_set_length_and_sharable(__len); } return *this; } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: insert(size_type __pos, const _CharT* __s, size_type __n) { ; _M_check(__pos, "basic_string::insert"); _M_check_length(size_type(0), __n, "basic_string::insert"); if (_M_disjunct(__s) || _M_rep()->_M_is_shared()) return _M_replace_safe(__pos, size_type(0), __s, __n); else { const size_type __off = __s - _M_data(); _M_mutate(__pos, 0, __n); __s = _M_data() + __off; _CharT* __p = _M_data() + __pos; if (__s + __n <= __p) _M_copy(__p, __s, __n); else if (__s >= __p) _M_copy(__p, __s + __n, __n); else { const size_type __nleft = __p - __s; _M_copy(__p, __s, __nleft); _M_copy(__p + __nleft, __p + __n, __n - __nleft); } return *this; } } template typename basic_string<_CharT, _Traits, _Alloc>::iterator basic_string<_CharT, _Traits, _Alloc>:: erase(iterator __first, iterator __last) { ; const size_type __size = __last - __first; if (__size) { const size_type __pos = __first - _M_ibegin(); _M_mutate(__pos, __size, size_type(0)); _M_rep()->_M_set_leaked(); return iterator(_M_data() + __pos); } else return __first; } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: replace(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2) { ; _M_check(__pos, "basic_string::replace"); __n1 = _M_limit(__pos, __n1); _M_check_length(__n1, __n2, "basic_string::replace"); bool __left; if (_M_disjunct(__s) || _M_rep()->_M_is_shared()) return _M_replace_safe(__pos, __n1, __s, __n2); else if ((__left = __s + __n2 <= _M_data() + __pos) || _M_data() + __pos + __n1 <= __s) { size_type __off = __s - _M_data(); __left ? __off : (__off += __n2 - __n1); _M_mutate(__pos, __n1, __n2); _M_copy(_M_data() + __pos, _M_data() + __off, __n2); return *this; } else { const basic_string __tmp(__s, __n2); return _M_replace_safe(__pos, __n1, __tmp._M_data(), __n2); } } template void basic_string<_CharT, _Traits, _Alloc>::_Rep:: _M_destroy(const _Alloc& __a) throw () { const size_type __size = sizeof(_Rep_base) + (this->_M_capacity + 1) * sizeof(_CharT); _Raw_bytes_alloc(__a).deallocate(reinterpret_cast(this), __size); } template void basic_string<_CharT, _Traits, _Alloc>:: _M_leak_hard() { if (_M_rep() == &_S_empty_rep()) return; if (_M_rep()->_M_is_shared()) _M_mutate(0, 0, 0); _M_rep()->_M_set_leaked(); } template void basic_string<_CharT, _Traits, _Alloc>:: _M_mutate(size_type __pos, size_type __len1, size_type __len2) { const size_type __old_size = this->size(); const size_type __new_size = __old_size + __len2 - __len1; const size_type __how_much = __old_size - __pos - __len1; if (__new_size > this->capacity() || _M_rep()->_M_is_shared()) { const allocator_type __a = get_allocator(); _Rep* __r = _Rep::_S_create(__new_size, this->capacity(), __a); if (__pos) _M_copy(__r->_M_refdata(), _M_data(), __pos); if (__how_much) _M_copy(__r->_M_refdata() + __pos + __len2, _M_data() + __pos + __len1, __how_much); _M_rep()->_M_dispose(__a); _M_data(__r->_M_refdata()); } else if (__how_much && __len1 != __len2) { _M_move(_M_data() + __pos + __len2, _M_data() + __pos + __len1, __how_much); } _M_rep()->_M_set_length_and_sharable(__new_size); } template void basic_string<_CharT, _Traits, _Alloc>:: reserve(size_type __res) { if (__res != this->capacity() || _M_rep()->_M_is_shared()) { if (__res < this->size()) __res = this->size(); const allocator_type __a = get_allocator(); _CharT* __tmp = _M_rep()->_M_clone(__a, __res - this->size()); _M_rep()->_M_dispose(__a); _M_data(__tmp); } } template void basic_string<_CharT, _Traits, _Alloc>:: swap(basic_string& __s) noexcept(allocator_traits<_Alloc>::is_always_equal::value) { if (_M_rep()->_M_is_leaked()) _M_rep()->_M_set_sharable(); if (__s._M_rep()->_M_is_leaked()) __s._M_rep()->_M_set_sharable(); if (this->get_allocator() == __s.get_allocator()) { _CharT* __tmp = _M_data(); _M_data(__s._M_data()); __s._M_data(__tmp); } else { const basic_string __tmp1(_M_ibegin(), _M_iend(), __s.get_allocator()); const basic_string __tmp2(__s._M_ibegin(), __s._M_iend(), this->get_allocator()); *this = __tmp2; __s = __tmp1; } } template typename basic_string<_CharT, _Traits, _Alloc>::_Rep* basic_string<_CharT, _Traits, _Alloc>::_Rep:: _S_create(size_type __capacity, size_type __old_capacity, const _Alloc& __alloc) { if (__capacity > _S_max_size) __throw_length_error(("basic_string::_S_create")); # 1022 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.tcc" 3 const size_type __pagesize = 4096; const size_type __malloc_header_size = 4 * sizeof(void*); if (__capacity > __old_capacity && __capacity < 2 * __old_capacity) __capacity = 2 * __old_capacity; size_type __size = (__capacity + 1) * sizeof(_CharT) + sizeof(_Rep); const size_type __adj_size = __size + __malloc_header_size; if (__adj_size > __pagesize && __capacity > __old_capacity) { const size_type __extra = __pagesize - __adj_size % __pagesize; __capacity += __extra / sizeof(_CharT); if (__capacity > _S_max_size) __capacity = _S_max_size; __size = (__capacity + 1) * sizeof(_CharT) + sizeof(_Rep); } void* __place = _Raw_bytes_alloc(__alloc).allocate(__size); _Rep *__p = new (__place) _Rep; __p->_M_capacity = __capacity; __p->_M_set_sharable(); return __p; } template _CharT* basic_string<_CharT, _Traits, _Alloc>::_Rep:: _M_clone(const _Alloc& __alloc, size_type __res) { const size_type __requested_cap = this->_M_length + __res; _Rep* __r = _Rep::_S_create(__requested_cap, this->_M_capacity, __alloc); if (this->_M_length) _M_copy(__r->_M_refdata(), _M_refdata(), this->_M_length); __r->_M_set_length_and_sharable(this->_M_length); return __r->_M_refdata(); } template void basic_string<_CharT, _Traits, _Alloc>:: resize(size_type __n, _CharT __c) { const size_type __size = this->size(); _M_check_length(__size, __n, "basic_string::resize"); if (__size < __n) this->append(__n - __size, __c); else if (__n < __size) this->erase(__n); } template template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: _M_replace_dispatch(iterator __i1, iterator __i2, _InputIterator __k1, _InputIterator __k2, __false_type) { const basic_string __s(__k1, __k2); const size_type __n1 = __i2 - __i1; _M_check_length(__n1, __s.size(), "basic_string::_M_replace_dispatch"); return _M_replace_safe(__i1 - _M_ibegin(), __n1, __s._M_data(), __s.size()); } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, _CharT __c) { _M_check_length(__n1, __n2, "basic_string::_M_replace_aux"); _M_mutate(__pos1, __n1, __n2); if (__n2) _M_assign(_M_data() + __pos1, __n2, __c); return *this; } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: _M_replace_safe(size_type __pos1, size_type __n1, const _CharT* __s, size_type __n2) { _M_mutate(__pos1, __n1, __n2); if (__n2) _M_copy(_M_data() + __pos1, __s, __n2); return *this; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: copy(_CharT* __s, size_type __n, size_type __pos) const { _M_check(__pos, "basic_string::copy"); __n = _M_limit(__pos, __n); ; if (__n) _M_copy(__s, _M_data() + __pos, __n); return __n; } template basic_string<_CharT, _Traits, _Alloc> operator+(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { ; typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef typename __string_type::size_type __size_type; typedef typename __gnu_cxx::__alloc_traits<_Alloc>::template rebind<_CharT>::other _Char_alloc_type; typedef __gnu_cxx::__alloc_traits<_Char_alloc_type> _Alloc_traits; const __size_type __len = _Traits::length(__lhs); __string_type __str(_Alloc_traits::_S_select_on_copy( __rhs.get_allocator())); __str.reserve(__len + __rhs.size()); __str.append(__lhs, __len); __str.append(__rhs); return __str; } template basic_string<_CharT, _Traits, _Alloc> operator+(_CharT __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef typename __string_type::size_type __size_type; typedef typename __gnu_cxx::__alloc_traits<_Alloc>::template rebind<_CharT>::other _Char_alloc_type; typedef __gnu_cxx::__alloc_traits<_Char_alloc_type> _Alloc_traits; __string_type __str(_Alloc_traits::_S_select_on_copy( __rhs.get_allocator())); const __size_type __len = __rhs.size(); __str.reserve(__len + 1); __str.append(__size_type(1), __lhs); __str.append(__rhs); return __str; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find(const _CharT* __s, size_type __pos, size_type __n) const noexcept { ; const size_type __size = this->size(); if (__n == 0) return __pos <= __size ? __pos : npos; if (__pos >= __size) return npos; const _CharT __elem0 = __s[0]; const _CharT* const __data = data(); const _CharT* __first = __data + __pos; const _CharT* const __last = __data + __size; size_type __len = __size - __pos; while (__len >= __n) { __first = traits_type::find(__first, __len - __n + 1, __elem0); if (!__first) return npos; if (traits_type::compare(__first, __s, __n) == 0) return __first - __data; __len = __last - ++__first; } return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find(_CharT __c, size_type __pos) const noexcept { size_type __ret = npos; const size_type __size = this->size(); if (__pos < __size) { const _CharT* __data = _M_data(); const size_type __n = __size - __pos; const _CharT* __p = traits_type::find(__data + __pos, __n, __c); if (__p) __ret = __p - __data; } return __ret; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: rfind(const _CharT* __s, size_type __pos, size_type __n) const noexcept { ; const size_type __size = this->size(); if (__n <= __size) { __pos = std::min(size_type(__size - __n), __pos); const _CharT* __data = _M_data(); do { if (traits_type::compare(__data + __pos, __s, __n) == 0) return __pos; } while (__pos-- > 0); } return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: rfind(_CharT __c, size_type __pos) const noexcept { size_type __size = this->size(); if (__size) { if (--__size > __pos) __size = __pos; for (++__size; __size-- > 0; ) if (traits_type::eq(_M_data()[__size], __c)) return __size; } return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find_first_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept { ; for (; __n && __pos < this->size(); ++__pos) { const _CharT* __p = traits_type::find(__s, __n, _M_data()[__pos]); if (__p) return __pos; } return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find_last_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept { ; size_type __size = this->size(); if (__size && __n) { if (--__size > __pos) __size = __pos; do { if (traits_type::find(__s, __n, _M_data()[__size])) return __size; } while (__size-- != 0); } return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept { ; for (; __pos < this->size(); ++__pos) if (!traits_type::find(__s, __n, _M_data()[__pos])) return __pos; return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find_first_not_of(_CharT __c, size_type __pos) const noexcept { for (; __pos < this->size(); ++__pos) if (!traits_type::eq(_M_data()[__pos], __c)) return __pos; return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept { ; size_type __size = this->size(); if (__size) { if (--__size > __pos) __size = __pos; do { if (!traits_type::find(__s, __n, _M_data()[__size])) return __size; } while (__size--); } return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find_last_not_of(_CharT __c, size_type __pos) const noexcept { size_type __size = this->size(); if (__size) { if (--__size > __pos) __size = __pos; do { if (!traits_type::eq(_M_data()[__size], __c)) return __size; } while (__size--); } return npos; } template int basic_string<_CharT, _Traits, _Alloc>:: compare(size_type __pos, size_type __n, const basic_string& __str) const { _M_check(__pos, "basic_string::compare"); __n = _M_limit(__pos, __n); const size_type __osize = __str.size(); const size_type __len = std::min(__n, __osize); int __r = traits_type::compare(_M_data() + __pos, __str.data(), __len); if (!__r) __r = _S_compare(__n, __osize); return __r; } template int basic_string<_CharT, _Traits, _Alloc>:: compare(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_type __n2) const { _M_check(__pos1, "basic_string::compare"); __str._M_check(__pos2, "basic_string::compare"); __n1 = _M_limit(__pos1, __n1); __n2 = __str._M_limit(__pos2, __n2); const size_type __len = std::min(__n1, __n2); int __r = traits_type::compare(_M_data() + __pos1, __str.data() + __pos2, __len); if (!__r) __r = _S_compare(__n1, __n2); return __r; } template int basic_string<_CharT, _Traits, _Alloc>:: compare(const _CharT* __s) const noexcept { ; const size_type __size = this->size(); const size_type __osize = traits_type::length(__s); const size_type __len = std::min(__size, __osize); int __r = traits_type::compare(_M_data(), __s, __len); if (!__r) __r = _S_compare(__size, __osize); return __r; } template int basic_string <_CharT, _Traits, _Alloc>:: compare(size_type __pos, size_type __n1, const _CharT* __s) const { ; _M_check(__pos, "basic_string::compare"); __n1 = _M_limit(__pos, __n1); const size_type __osize = traits_type::length(__s); const size_type __len = std::min(__n1, __osize); int __r = traits_type::compare(_M_data() + __pos, __s, __len); if (!__r) __r = _S_compare(__n1, __osize); return __r; } template int basic_string <_CharT, _Traits, _Alloc>:: compare(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2) const { ; _M_check(__pos, "basic_string::compare"); __n1 = _M_limit(__pos, __n1); const size_type __len = std::min(__n1, __n2); int __r = traits_type::compare(_M_data() + __pos, __s, __len); if (!__r) __r = _S_compare(__n1, __n2); return __r; } template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __in, basic_string<_CharT, _Traits, _Alloc>& __str) { typedef basic_istream<_CharT, _Traits> __istream_type; typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef typename __istream_type::ios_base __ios_base; typedef typename __istream_type::int_type __int_type; typedef typename __string_type::size_type __size_type; typedef ctype<_CharT> __ctype_type; typedef typename __ctype_type::ctype_base __ctype_base; __size_type __extracted = 0; typename __ios_base::iostate __err = __ios_base::goodbit; typename __istream_type::sentry __cerb(__in, false); if (__cerb) { try { __str.erase(); _CharT __buf[128]; __size_type __len = 0; const streamsize __w = __in.width(); const __size_type __n = __w > 0 ? static_cast<__size_type>(__w) : __str.max_size(); const __ctype_type& __ct = use_facet<__ctype_type>(__in.getloc()); const __int_type __eof = _Traits::eof(); __int_type __c = __in.rdbuf()->sgetc(); while (__extracted < __n && !_Traits::eq_int_type(__c, __eof) && !__ct.is(__ctype_base::space, _Traits::to_char_type(__c))) { if (__len == sizeof(__buf) / sizeof(_CharT)) { __str.append(__buf, sizeof(__buf) / sizeof(_CharT)); __len = 0; } __buf[__len++] = _Traits::to_char_type(__c); ++__extracted; __c = __in.rdbuf()->snextc(); } __str.append(__buf, __len); if (_Traits::eq_int_type(__c, __eof)) __err |= __ios_base::eofbit; __in.width(0); } catch(__cxxabiv1::__forced_unwind&) { __in._M_setstate(__ios_base::badbit); throw; } catch(...) { __in._M_setstate(__ios_base::badbit); } } if (!__extracted) __err |= __ios_base::failbit; if (__err) __in.setstate(__err); return __in; } template basic_istream<_CharT, _Traits>& getline(basic_istream<_CharT, _Traits>& __in, basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim) { typedef basic_istream<_CharT, _Traits> __istream_type; typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef typename __istream_type::ios_base __ios_base; typedef typename __istream_type::int_type __int_type; typedef typename __string_type::size_type __size_type; __size_type __extracted = 0; const __size_type __n = __str.max_size(); typename __ios_base::iostate __err = __ios_base::goodbit; typename __istream_type::sentry __cerb(__in, true); if (__cerb) { try { __str.erase(); const __int_type __idelim = _Traits::to_int_type(__delim); const __int_type __eof = _Traits::eof(); __int_type __c = __in.rdbuf()->sgetc(); while (__extracted < __n && !_Traits::eq_int_type(__c, __eof) && !_Traits::eq_int_type(__c, __idelim)) { __str += _Traits::to_char_type(__c); ++__extracted; __c = __in.rdbuf()->snextc(); } if (_Traits::eq_int_type(__c, __eof)) __err |= __ios_base::eofbit; else if (_Traits::eq_int_type(__c, __idelim)) { ++__extracted; __in.rdbuf()->sbumpc(); } else __err |= __ios_base::failbit; } catch(__cxxabiv1::__forced_unwind&) { __in._M_setstate(__ios_base::badbit); throw; } catch(...) { __in._M_setstate(__ios_base::badbit); } } if (!__extracted) __err |= __ios_base::failbit; if (__err) __in.setstate(__err); return __in; } # 1610 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_string.tcc" 3 extern template class basic_string; extern template basic_istream& operator>>(basic_istream&, string&); extern template basic_ostream& operator<<(basic_ostream&, const string&); extern template basic_istream& getline(basic_istream&, string&, char); extern template basic_istream& getline(basic_istream&, string&); extern template class basic_string; extern template basic_istream& operator>>(basic_istream&, wstring&); extern template basic_ostream& operator<<(basic_ostream&, const wstring&); extern template basic_istream& getline(basic_istream&, wstring&, wchar_t); extern template basic_istream& getline(basic_istream&, wstring&); } # 57 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/string" 2 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/stdexcept" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 99 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/stdexcept" 3 typedef basic_string __sso_string; typedef basic_string __cow_string; # 113 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/stdexcept" 3 class logic_error : public exception { __cow_string _M_msg; public: explicit logic_error(const string& __arg) ; explicit logic_error(const char*) ; logic_error(logic_error&&) noexcept; logic_error& operator=(logic_error&&) noexcept; logic_error(const logic_error&) = default; logic_error& operator=(const logic_error&) = default; virtual ~logic_error() noexcept; virtual const char* what() const noexcept; }; class domain_error : public logic_error { public: explicit domain_error(const string& __arg) ; explicit domain_error(const char*) ; domain_error(const domain_error&) = default; domain_error& operator=(const domain_error&) = default; domain_error(domain_error&&) = default; domain_error& operator=(domain_error&&) = default; virtual ~domain_error() noexcept; }; class invalid_argument : public logic_error { public: explicit invalid_argument(const string& __arg) ; explicit invalid_argument(const char*) ; invalid_argument(const invalid_argument&) = default; invalid_argument& operator=(const invalid_argument&) = default; invalid_argument(invalid_argument&&) = default; invalid_argument& operator=(invalid_argument&&) = default; virtual ~invalid_argument() noexcept; }; class length_error : public logic_error { public: explicit length_error(const string& __arg) ; explicit length_error(const char*) ; length_error(const length_error&) = default; length_error& operator=(const length_error&) = default; length_error(length_error&&) = default; length_error& operator=(length_error&&) = default; virtual ~length_error() noexcept; }; class out_of_range : public logic_error { public: explicit out_of_range(const string& __arg) ; explicit out_of_range(const char*) ; out_of_range(const out_of_range&) = default; out_of_range& operator=(const out_of_range&) = default; out_of_range(out_of_range&&) = default; out_of_range& operator=(out_of_range&&) = default; virtual ~out_of_range() noexcept; }; class runtime_error : public exception { __cow_string _M_msg; public: explicit runtime_error(const string& __arg) ; explicit runtime_error(const char*) ; runtime_error(runtime_error&&) noexcept; runtime_error& operator=(runtime_error&&) noexcept; runtime_error(const runtime_error&) = default; runtime_error& operator=(const runtime_error&) = default; virtual ~runtime_error() noexcept; virtual const char* what() const noexcept; }; class range_error : public runtime_error { public: explicit range_error(const string& __arg) ; explicit range_error(const char*) ; range_error(const range_error&) = default; range_error& operator=(const range_error&) = default; range_error(range_error&&) = default; range_error& operator=(range_error&&) = default; virtual ~range_error() noexcept; }; class overflow_error : public runtime_error { public: explicit overflow_error(const string& __arg) ; explicit overflow_error(const char*) ; overflow_error(const overflow_error&) = default; overflow_error& operator=(const overflow_error&) = default; overflow_error(overflow_error&&) = default; overflow_error& operator=(overflow_error&&) = default; virtual ~overflow_error() noexcept; }; class underflow_error : public runtime_error { public: explicit underflow_error(const string& __arg) ; explicit underflow_error(const char*) ; underflow_error(const underflow_error&) = default; underflow_error& operator=(const underflow_error&) = default; underflow_error(underflow_error&&) = default; underflow_error& operator=(underflow_error&&) = default; virtual ~underflow_error() noexcept; }; } # 36 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 3 # 37 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 1 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 1 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ios" 1 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ios" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 62 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 class locale { public: typedef int category; class facet; class id; class _Impl; friend class facet; friend class _Impl; template friend bool has_facet(const locale&) throw(); template friend const _Facet& use_facet(const locale&); template friend struct __use_cache; # 98 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 static const category none = 0; static const category ctype = 1L << 0; static const category numeric = 1L << 1; static const category collate = 1L << 2; static const category time = 1L << 3; static const category monetary = 1L << 4; static const category messages = 1L << 5; static const category all = (ctype | numeric | collate | time | monetary | messages); # 117 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 locale() throw(); # 126 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 locale(const locale& __other) throw(); # 136 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 explicit locale(const char* __s); # 151 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 locale(const locale& __base, const char* __s, category __cat); # 162 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 explicit locale(const std::string& __s) : locale(__s.c_str()) { } # 177 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 locale(const locale& __base, const std::string& __s, category __cat) : locale(__base, __s.c_str(), __cat) { } # 192 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 locale(const locale& __base, const locale& __add, category __cat); # 205 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 template locale(const locale& __other, _Facet* __f); ~locale() throw(); # 219 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 const locale& operator=(const locale& __other) throw(); # 234 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 template locale combine(const locale& __other) const; string name() const; # 254 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 bool operator==(const locale& __other) const throw(); # 264 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 bool operator!=(const locale& __other) const throw() { return !(this->operator==(__other)); } # 284 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 template bool operator()(const basic_string<_Char, _Traits, _Alloc>& __s1, const basic_string<_Char, _Traits, _Alloc>& __s2) const; # 300 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 static locale global(const locale& __loc); static const locale& classic(); private: _Impl* _M_impl; static _Impl* _S_classic; static _Impl* _S_global; static const char* const* const _S_categories; # 335 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 enum { _S_categories_size = 6 + 6 }; static __gthread_once_t _S_once; explicit locale(_Impl*) throw(); static void _S_initialize(); static void _S_initialize_once() throw(); static category _S_normalize_category(category); void _M_coalesce(const locale& __base, const locale& __add, category __cat); }; # 373 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 class locale::facet { private: friend class locale; friend class locale::_Impl; mutable _Atomic_word _M_refcount; static __c_locale _S_c_locale; static const char _S_c_name[2]; static __gthread_once_t _S_once; static void _S_initialize_once(); protected: # 404 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 explicit facet(size_t __refs = 0) throw() : _M_refcount(__refs ? 1 : 0) { } virtual ~facet(); static void _S_create_c_locale(__c_locale& __cloc, const char* __s, __c_locale __old = 0); static __c_locale _S_clone_c_locale(__c_locale& __cloc) throw(); static void _S_destroy_c_locale(__c_locale& __cloc); static __c_locale _S_lc_ctype_c_locale(__c_locale __cloc, const char* __s); static __c_locale _S_get_c_locale(); __attribute__ ((__const__)) static const char* _S_get_c_name() throw(); # 440 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 facet(const facet&) = delete; facet& operator=(const facet&) = delete; private: void _M_add_reference() const throw() { __gnu_cxx::__atomic_add_dispatch(&_M_refcount, 1); } void _M_remove_reference() const throw() { ; if (__gnu_cxx::__exchange_and_add_dispatch(&_M_refcount, -1) == 1) { ; try { delete this; } catch(...) { } } } const facet* _M_sso_shim(const id*) const; const facet* _M_cow_shim(const id*) const; protected: class __shim; }; # 485 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 class locale::id { private: friend class locale; friend class locale::_Impl; template friend const _Facet& use_facet(const locale&); template friend bool has_facet(const locale&) throw(); mutable size_t _M_index; static _Atomic_word _S_refcount; void operator=(const id&); id(const id&); public: id() { } size_t _M_id() const throw(); }; class locale::_Impl { public: friend class locale; friend class locale::facet; template friend bool has_facet(const locale&) throw(); template friend const _Facet& use_facet(const locale&); template friend struct __use_cache; private: _Atomic_word _M_refcount; const facet** _M_facets; size_t _M_facets_size; const facet** _M_caches; char** _M_names; static const locale::id* const _S_id_ctype[]; static const locale::id* const _S_id_numeric[]; static const locale::id* const _S_id_collate[]; static const locale::id* const _S_id_time[]; static const locale::id* const _S_id_monetary[]; static const locale::id* const _S_id_messages[]; static const locale::id* const* const _S_facet_categories[]; void _M_add_reference() throw() { __gnu_cxx::__atomic_add_dispatch(&_M_refcount, 1); } void _M_remove_reference() throw() { ; if (__gnu_cxx::__exchange_and_add_dispatch(&_M_refcount, -1) == 1) { ; try { delete this; } catch(...) { } } } _Impl(const _Impl&, size_t); _Impl(const char*, size_t); _Impl(size_t) throw(); ~_Impl() throw(); _Impl(const _Impl&); void operator=(const _Impl&); bool _M_check_same_name() { bool __ret = true; if (_M_names[1]) for (size_t __i = 0; __ret && __i < _S_categories_size - 1; ++__i) __ret = __builtin_strcmp(_M_names[__i], _M_names[__i + 1]) == 0; return __ret; } void _M_replace_categories(const _Impl*, category); void _M_replace_category(const _Impl*, const locale::id* const*); void _M_replace_facet(const _Impl*, const locale::id*); void _M_install_facet(const locale::id*, const facet*); template void _M_init_facet(_Facet* __facet) { _M_install_facet(&_Facet::id, __facet); } template void _M_init_facet_unchecked(_Facet* __facet) { __facet->_M_add_reference(); _M_facets[_Facet::id._M_id()] = __facet; } void _M_install_cache(const facet*, size_t); void _M_init_extra(facet**); void _M_init_extra(void*, void*, const char*, const char*); }; # 643 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 template class collate : public locale::facet { public: typedef _CharT char_type; typedef basic_string<_CharT> string_type; protected: __c_locale _M_c_locale_collate; public: static locale::id id; # 670 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 explicit collate(size_t __refs = 0) : facet(__refs), _M_c_locale_collate(_S_get_c_locale()) { } # 684 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 explicit collate(__c_locale __cloc, size_t __refs = 0) : facet(__refs), _M_c_locale_collate(_S_clone_c_locale(__cloc)) { } # 701 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 int compare(const _CharT* __lo1, const _CharT* __hi1, const _CharT* __lo2, const _CharT* __hi2) const { return this->do_compare(__lo1, __hi1, __lo2, __hi2); } # 720 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 string_type transform(const _CharT* __lo, const _CharT* __hi) const { return this->do_transform(__lo, __hi); } # 734 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 long hash(const _CharT* __lo, const _CharT* __hi) const { return this->do_hash(__lo, __hi); } int _M_compare(const _CharT*, const _CharT*) const throw(); size_t _M_transform(_CharT*, const _CharT*, size_t) const throw(); protected: virtual ~collate() { _S_destroy_c_locale(_M_c_locale_collate); } # 763 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 virtual int do_compare(const _CharT* __lo1, const _CharT* __hi1, const _CharT* __lo2, const _CharT* __hi2) const; # 777 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 virtual string_type do_transform(const _CharT* __lo, const _CharT* __hi) const; # 790 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 3 virtual long do_hash(const _CharT* __lo, const _CharT* __hi) const; }; template locale::id collate<_CharT>::id; template<> int collate::_M_compare(const char*, const char*) const throw(); template<> size_t collate::_M_transform(char*, const char*, size_t) const throw(); template<> int collate::_M_compare(const wchar_t*, const wchar_t*) const throw(); template<> size_t collate::_M_transform(wchar_t*, const wchar_t*, size_t) const throw(); template class collate_byname : public collate<_CharT> { public: typedef _CharT char_type; typedef basic_string<_CharT> string_type; explicit collate_byname(const char* __s, size_t __refs = 0) : collate<_CharT>(__refs) { if (__builtin_strcmp(__s, "C") != 0 && __builtin_strcmp(__s, "POSIX") != 0) { this->_S_destroy_c_locale(this->_M_c_locale_collate); this->_S_create_c_locale(this->_M_c_locale_collate, __s); } } explicit collate_byname(const string& __s, size_t __refs = 0) : collate_byname(__s.c_str(), __refs) { } protected: virtual ~collate_byname() { } }; } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.tcc" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template locale:: locale(const locale& __other, _Facet* __f) { _M_impl = new _Impl(*__other._M_impl, 1); try { _M_impl->_M_install_facet(&_Facet::id, __f); } catch(...) { _M_impl->_M_remove_reference(); throw; } delete [] _M_impl->_M_names[0]; _M_impl->_M_names[0] = 0; } template locale locale:: combine(const locale& __other) const { _Impl* __tmp = new _Impl(*_M_impl, 1); try { __tmp->_M_replace_facet(__other._M_impl, &_Facet::id); } catch(...) { __tmp->_M_remove_reference(); throw; } return locale(__tmp); } template bool locale:: operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1, const basic_string<_CharT, _Traits, _Alloc>& __s2) const { typedef std::collate<_CharT> __collate_type; const __collate_type& __collate = use_facet<__collate_type>(*this); return (__collate.compare(__s1.data(), __s1.data() + __s1.length(), __s2.data(), __s2.data() + __s2.length()) < 0); } # 102 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.tcc" 3 template bool has_facet(const locale& __loc) throw() { const size_t __i = _Facet::id._M_id(); const locale::facet** __facets = __loc._M_impl->_M_facets; return (__i < __loc._M_impl->_M_facets_size && dynamic_cast(__facets[__i])); } # 130 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.tcc" 3 template const _Facet& use_facet(const locale& __loc) { const size_t __i = _Facet::id._M_id(); const locale::facet** __facets = __loc._M_impl->_M_facets; if (__i >= __loc._M_impl->_M_facets_size || !__facets[__i]) __throw_bad_cast(); return dynamic_cast(*__facets[__i]); } template int collate<_CharT>::_M_compare(const _CharT*, const _CharT*) const throw () { return 0; } template size_t collate<_CharT>::_M_transform(_CharT*, const _CharT*, size_t) const throw () { return 0; } template int collate<_CharT>:: do_compare(const _CharT* __lo1, const _CharT* __hi1, const _CharT* __lo2, const _CharT* __hi2) const { const string_type __one(__lo1, __hi1); const string_type __two(__lo2, __hi2); const _CharT* __p = __one.c_str(); const _CharT* __pend = __one.data() + __one.length(); const _CharT* __q = __two.c_str(); const _CharT* __qend = __two.data() + __two.length(); for (;;) { const int __res = _M_compare(__p, __q); if (__res) return __res; __p += char_traits<_CharT>::length(__p); __q += char_traits<_CharT>::length(__q); if (__p == __pend && __q == __qend) return 0; else if (__p == __pend) return -1; else if (__q == __qend) return 1; __p++; __q++; } } template typename collate<_CharT>::string_type collate<_CharT>:: do_transform(const _CharT* __lo, const _CharT* __hi) const { string_type __ret; const string_type __str(__lo, __hi); const _CharT* __p = __str.c_str(); const _CharT* __pend = __str.data() + __str.length(); size_t __len = (__hi - __lo) * 2; _CharT* __c = new _CharT[__len]; try { for (;;) { size_t __res = _M_transform(__c, __p, __len); if (__res >= __len) { __len = __res + 1; delete [] __c, __c = 0; __c = new _CharT[__len]; __res = _M_transform(__c, __p, __len); } __ret.append(__c, __res); __p += char_traits<_CharT>::length(__p); if (__p == __pend) break; __p++; __ret.push_back(_CharT()); } } catch(...) { delete [] __c; throw; } delete [] __c; return __ret; } template long collate<_CharT>:: do_hash(const _CharT* __lo, const _CharT* __hi) const { unsigned long __val = 0; for (; __lo < __hi; ++__lo) __val = *__lo + ((__val << 7) | (__val >> (__gnu_cxx::__numeric_traits:: __digits - 7))); return static_cast(__val); } extern template class collate; extern template class collate_byname; extern template const collate& use_facet >(const locale&); extern template bool has_facet >(const locale&); extern template class collate; extern template class collate_byname; extern template const collate& use_facet >(const locale&); extern template bool has_facet >(const locale&); } # 854 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_classes.h" 2 3 # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 1 3 # 33 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/error_constants.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/error_constants.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cerrno" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cerrno" 3 # 1 "/usr/include/errno.h" 1 3 4 # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cerrno" 2 3 # 35 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/error_constants.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { enum class errc { address_family_not_supported = 97, address_in_use = 98, address_not_available = 99, already_connected = 106, argument_list_too_long = 7, argument_out_of_domain = 33, bad_address = 14, bad_file_descriptor = 9, bad_message = 74, broken_pipe = 32, connection_aborted = 103, connection_already_in_progress = 114, connection_refused = 111, connection_reset = 104, cross_device_link = 18, destination_address_required = 89, device_or_resource_busy = 16, directory_not_empty = 39, executable_format_error = 8, file_exists = 17, file_too_large = 27, filename_too_long = 36, function_not_supported = 38, host_unreachable = 113, identifier_removed = 43, illegal_byte_sequence = 84, inappropriate_io_control_operation = 25, interrupted = 4, invalid_argument = 22, invalid_seek = 29, io_error = 5, is_a_directory = 21, message_size = 90, network_down = 100, network_reset = 102, network_unreachable = 101, no_buffer_space = 105, no_child_process = 10, no_link = 67, no_lock_available = 37, no_message_available = 61, no_message = 42, no_protocol_option = 92, no_space_on_device = 28, no_stream_resources = 63, no_such_device_or_address = 6, no_such_device = 19, no_such_file_or_directory = 2, no_such_process = 3, not_a_directory = 20, not_a_socket = 88, not_a_stream = 60, not_connected = 107, not_enough_memory = 12, not_supported = 95, operation_canceled = 125, operation_in_progress = 115, operation_not_permitted = 1, operation_not_supported = 95, operation_would_block = 11, owner_dead = 130, permission_denied = 13, protocol_error = 71, protocol_not_supported = 93, read_only_file_system = 30, resource_deadlock_would_occur = 35, resource_unavailable_try_again = 11, result_out_of_range = 34, state_not_recoverable = 131, stream_timeout = 62, text_file_busy = 26, timed_out = 110, too_many_files_open_in_system = 23, too_many_files_open = 24, too_many_links = 31, too_many_symbolic_link_levels = 40, value_too_large = 75, wrong_protocol_type = 91 }; } # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { class error_code; class error_condition; class system_error; template struct is_error_code_enum : public false_type { }; template struct is_error_condition_enum : public false_type { }; template<> struct is_error_condition_enum : public true_type { }; # 78 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 inline namespace _V2 { # 89 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 class error_category { public: constexpr error_category() noexcept = default; virtual ~error_category(); error_category(const error_category&) = delete; error_category& operator=(const error_category&) = delete; virtual const char* name() const noexcept = 0; # 117 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 virtual string message(int) const = 0; private: virtual __sso_string _M_message(int) const; public: virtual error_condition default_error_condition(int __i) const noexcept; virtual bool equivalent(int __i, const error_condition& __cond) const noexcept; virtual bool equivalent(const error_code& __code, int __i) const noexcept; bool operator==(const error_category& __other) const noexcept { return this == &__other; } bool operator!=(const error_category& __other) const noexcept { return this != &__other; } bool operator<(const error_category& __other) const noexcept { return less()(this, &__other); } }; __attribute__ ((__const__)) const error_category& generic_category() noexcept; __attribute__ ((__const__)) const error_category& system_category() noexcept; } error_code make_error_code(errc) noexcept; # 180 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 struct error_code { error_code() noexcept : _M_value(0), _M_cat(&system_category()) { } error_code(int __v, const error_category& __cat) noexcept : _M_value(__v), _M_cat(&__cat) { } template::value>::type> error_code(_ErrorCodeEnum __e) noexcept { *this = make_error_code(__e); } void assign(int __v, const error_category& __cat) noexcept { _M_value = __v; _M_cat = &__cat; } void clear() noexcept { assign(0, system_category()); } template typename enable_if::value, error_code&>::type operator=(_ErrorCodeEnum __e) noexcept { return *this = make_error_code(__e); } int value() const noexcept { return _M_value; } const error_category& category() const noexcept { return *_M_cat; } error_condition default_error_condition() const noexcept; string message() const { return category().message(value()); } explicit operator bool() const noexcept { return _M_value != 0; } private: int _M_value; const error_category* _M_cat; }; inline error_code make_error_code(errc __e) noexcept { return error_code(static_cast(__e), generic_category()); } # 251 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 inline bool operator<(const error_code& __lhs, const error_code& __rhs) noexcept { return (__lhs.category() < __rhs.category() || (__lhs.category() == __rhs.category() && __lhs.value() < __rhs.value())); } template basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e) { return (__os << __e.category().name() << ':' << __e.value()); } error_condition make_error_condition(errc) noexcept; # 278 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 struct error_condition { error_condition() noexcept : _M_value(0), _M_cat(&generic_category()) { } error_condition(int __v, const error_category& __cat) noexcept : _M_value(__v), _M_cat(&__cat) { } template::value>::type> error_condition(_ErrorConditionEnum __e) noexcept { *this = make_error_condition(__e); } void assign(int __v, const error_category& __cat) noexcept { _M_value = __v; _M_cat = &__cat; } template typename enable_if::value, error_condition&>::type operator=(_ErrorConditionEnum __e) noexcept { return *this = make_error_condition(__e); } void clear() noexcept { assign(0, generic_category()); } int value() const noexcept { return _M_value; } const error_category& category() const noexcept { return *_M_cat; } string message() const { return category().message(value()); } explicit operator bool() const noexcept { return _M_value != 0; } private: int _M_value; const error_category* _M_cat; }; inline error_condition make_error_condition(errc __e) noexcept { return error_condition(static_cast(__e), generic_category()); } inline bool operator==(const error_code& __lhs, const error_code& __rhs) noexcept { return (__lhs.category() == __rhs.category() && __lhs.value() == __rhs.value()); } inline bool operator==(const error_code& __lhs, const error_condition& __rhs) noexcept { return (__lhs.category().equivalent(__lhs.value(), __rhs) || __rhs.category().equivalent(__lhs, __rhs.value())); } inline bool operator==(const error_condition& __lhs, const error_condition& __rhs) noexcept { return (__lhs.category() == __rhs.category() && __lhs.value() == __rhs.value()); } # 378 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 inline bool operator<(const error_condition& __lhs, const error_condition& __rhs) noexcept { return (__lhs.category() < __rhs.category() || (__lhs.category() == __rhs.category() && __lhs.value() < __rhs.value())); } inline bool operator==(const error_condition& __lhs, const error_code& __rhs) noexcept { return (__rhs.category().equivalent(__rhs.value(), __lhs) || __lhs.category().equivalent(__rhs, __lhs.value())); } inline bool operator!=(const error_code& __lhs, const error_code& __rhs) noexcept { return !(__lhs == __rhs); } inline bool operator!=(const error_code& __lhs, const error_condition& __rhs) noexcept { return !(__lhs == __rhs); } inline bool operator!=(const error_condition& __lhs, const error_code& __rhs) noexcept { return !(__lhs == __rhs); } inline bool operator!=(const error_condition& __lhs, const error_condition& __rhs) noexcept { return !(__lhs == __rhs); } # 428 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 class system_error : public std::runtime_error { private: error_code _M_code; public: system_error(error_code __ec = error_code()) : runtime_error(__ec.message()), _M_code(__ec) { } system_error(error_code __ec, const string& __what) : runtime_error(__what + ": " + __ec.message()), _M_code(__ec) { } system_error(error_code __ec, const char* __what) : runtime_error(__what + (": " + __ec.message())), _M_code(__ec) { } system_error(int __v, const error_category& __ecat, const char* __what) : system_error(error_code(__v, __ecat), __what) { } system_error(int __v, const error_category& __ecat) : runtime_error(error_code(__v, __ecat).message()), _M_code(__v, __ecat) { } system_error(int __v, const error_category& __ecat, const string& __what) : runtime_error(__what + ": " + error_code(__v, __ecat).message()), _M_code(__v, __ecat) { } system_error (const system_error &) = default; system_error &operator= (const system_error &) = default; virtual ~system_error() noexcept; const error_code& code() const noexcept { return _M_code; } }; } namespace std __attribute__ ((__visibility__ ("default"))) { template<> struct hash : public __hash_base { size_t operator()(const error_code& __e) const noexcept { const size_t __tmp = std::_Hash_impl::hash(__e.value()); return std::_Hash_impl::__hash_combine(&__e.category(), __tmp); } }; # 509 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/system_error" 3 } # 47 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { enum _Ios_Fmtflags { _S_boolalpha = 1L << 0, _S_dec = 1L << 1, _S_fixed = 1L << 2, _S_hex = 1L << 3, _S_internal = 1L << 4, _S_left = 1L << 5, _S_oct = 1L << 6, _S_right = 1L << 7, _S_scientific = 1L << 8, _S_showbase = 1L << 9, _S_showpoint = 1L << 10, _S_showpos = 1L << 11, _S_skipws = 1L << 12, _S_unitbuf = 1L << 13, _S_uppercase = 1L << 14, _S_adjustfield = _S_left | _S_right | _S_internal, _S_basefield = _S_dec | _S_oct | _S_hex, _S_floatfield = _S_scientific | _S_fixed, _S_ios_fmtflags_end = 1L << 16, _S_ios_fmtflags_max = 2147483647, _S_ios_fmtflags_min = ~2147483647 }; inline constexpr _Ios_Fmtflags operator&(_Ios_Fmtflags __a, _Ios_Fmtflags __b) { return _Ios_Fmtflags(static_cast(__a) & static_cast(__b)); } inline constexpr _Ios_Fmtflags operator|(_Ios_Fmtflags __a, _Ios_Fmtflags __b) { return _Ios_Fmtflags(static_cast(__a) | static_cast(__b)); } inline constexpr _Ios_Fmtflags operator^(_Ios_Fmtflags __a, _Ios_Fmtflags __b) { return _Ios_Fmtflags(static_cast(__a) ^ static_cast(__b)); } inline constexpr _Ios_Fmtflags operator~(_Ios_Fmtflags __a) { return _Ios_Fmtflags(~static_cast(__a)); } inline const _Ios_Fmtflags& operator|=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b) { return __a = __a | __b; } inline const _Ios_Fmtflags& operator&=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b) { return __a = __a & __b; } inline const _Ios_Fmtflags& operator^=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b) { return __a = __a ^ __b; } enum _Ios_Openmode { _S_app = 1L << 0, _S_ate = 1L << 1, _S_bin = 1L << 2, _S_in = 1L << 3, _S_out = 1L << 4, _S_trunc = 1L << 5, _S_ios_openmode_end = 1L << 16, _S_ios_openmode_max = 2147483647, _S_ios_openmode_min = ~2147483647 }; inline constexpr _Ios_Openmode operator&(_Ios_Openmode __a, _Ios_Openmode __b) { return _Ios_Openmode(static_cast(__a) & static_cast(__b)); } inline constexpr _Ios_Openmode operator|(_Ios_Openmode __a, _Ios_Openmode __b) { return _Ios_Openmode(static_cast(__a) | static_cast(__b)); } inline constexpr _Ios_Openmode operator^(_Ios_Openmode __a, _Ios_Openmode __b) { return _Ios_Openmode(static_cast(__a) ^ static_cast(__b)); } inline constexpr _Ios_Openmode operator~(_Ios_Openmode __a) { return _Ios_Openmode(~static_cast(__a)); } inline const _Ios_Openmode& operator|=(_Ios_Openmode& __a, _Ios_Openmode __b) { return __a = __a | __b; } inline const _Ios_Openmode& operator&=(_Ios_Openmode& __a, _Ios_Openmode __b) { return __a = __a & __b; } inline const _Ios_Openmode& operator^=(_Ios_Openmode& __a, _Ios_Openmode __b) { return __a = __a ^ __b; } enum _Ios_Iostate { _S_goodbit = 0, _S_badbit = 1L << 0, _S_eofbit = 1L << 1, _S_failbit = 1L << 2, _S_ios_iostate_end = 1L << 16, _S_ios_iostate_max = 2147483647, _S_ios_iostate_min = ~2147483647 }; inline constexpr _Ios_Iostate operator&(_Ios_Iostate __a, _Ios_Iostate __b) { return _Ios_Iostate(static_cast(__a) & static_cast(__b)); } inline constexpr _Ios_Iostate operator|(_Ios_Iostate __a, _Ios_Iostate __b) { return _Ios_Iostate(static_cast(__a) | static_cast(__b)); } inline constexpr _Ios_Iostate operator^(_Ios_Iostate __a, _Ios_Iostate __b) { return _Ios_Iostate(static_cast(__a) ^ static_cast(__b)); } inline constexpr _Ios_Iostate operator~(_Ios_Iostate __a) { return _Ios_Iostate(~static_cast(__a)); } inline const _Ios_Iostate& operator|=(_Ios_Iostate& __a, _Ios_Iostate __b) { return __a = __a | __b; } inline const _Ios_Iostate& operator&=(_Ios_Iostate& __a, _Ios_Iostate __b) { return __a = __a & __b; } inline const _Ios_Iostate& operator^=(_Ios_Iostate& __a, _Ios_Iostate __b) { return __a = __a ^ __b; } enum _Ios_Seekdir { _S_beg = 0, _S_cur = 1, _S_end = 2, _S_ios_seekdir_end = 1L << 16 }; enum class io_errc { stream = 1 }; template <> struct is_error_code_enum : public true_type { }; const error_category& iostream_category() noexcept; inline error_code make_error_code(io_errc __e) noexcept { return error_code(static_cast(__e), iostream_category()); } inline error_condition make_error_condition(io_errc __e) noexcept { return error_condition(static_cast(__e), iostream_category()); } # 228 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 class ios_base { # 246 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 public: # 276 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 class failure : public exception { public: explicit failure(const string& __str) throw(); virtual ~failure() throw(); virtual const char* what() const throw(); explicit failure(const string& __s, const error_code&) noexcept : failure(__s) { } explicit failure(const char* __s, const error_code& = error_code{}) : failure(string(__s)) { } error_code code() const noexcept { return error_code{}; } private: string _M_msg; }; # 341 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 typedef _Ios_Fmtflags fmtflags; static const fmtflags boolalpha = _S_boolalpha; static const fmtflags dec = _S_dec; static const fmtflags fixed = _S_fixed; static const fmtflags hex = _S_hex; static const fmtflags internal = _S_internal; static const fmtflags left = _S_left; static const fmtflags oct = _S_oct; static const fmtflags right = _S_right; static const fmtflags scientific = _S_scientific; static const fmtflags showbase = _S_showbase; static const fmtflags showpoint = _S_showpoint; static const fmtflags showpos = _S_showpos; static const fmtflags skipws = _S_skipws; static const fmtflags unitbuf = _S_unitbuf; static const fmtflags uppercase = _S_uppercase; static const fmtflags adjustfield = _S_adjustfield; static const fmtflags basefield = _S_basefield; static const fmtflags floatfield = _S_floatfield; # 416 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 typedef _Ios_Iostate iostate; static const iostate badbit = _S_badbit; static const iostate eofbit = _S_eofbit; static const iostate failbit = _S_failbit; static const iostate goodbit = _S_goodbit; # 447 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 typedef _Ios_Openmode openmode; static const openmode app = _S_app; static const openmode ate = _S_ate; static const openmode binary = _S_bin; static const openmode in = _S_in; static const openmode out = _S_out; static const openmode trunc = _S_trunc; # 479 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 typedef _Ios_Seekdir seekdir; static const seekdir beg = _S_beg; static const seekdir cur = _S_cur; static const seekdir end = _S_end; typedef int io_state __attribute__ ((__deprecated__ ("use '" "std::iostate" "' instead"))); typedef int open_mode __attribute__ ((__deprecated__ ("use '" "std::openmode" "' instead"))); typedef int seek_dir __attribute__ ((__deprecated__ ("use '" "std::seekdir" "' instead"))); typedef std::streampos streampos __attribute__ ((__deprecated__ ("use '" "std::streampos" "' instead"))); typedef std::streamoff streamoff __attribute__ ((__deprecated__ ("use '" "std::streamoff" "' instead"))); # 512 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 enum event { erase_event, imbue_event, copyfmt_event }; # 529 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 typedef void (*event_callback) (event __e, ios_base& __b, int __i); # 541 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 void register_callback(event_callback __fn, int __index); protected: streamsize _M_precision; streamsize _M_width; fmtflags _M_flags; iostate _M_exception; iostate _M_streambuf_state; struct _Callback_list { _Callback_list* _M_next; ios_base::event_callback _M_fn; int _M_index; _Atomic_word _M_refcount; _Callback_list(ios_base::event_callback __fn, int __index, _Callback_list* __cb) : _M_next(__cb), _M_fn(__fn), _M_index(__index), _M_refcount(0) { } void _M_add_reference() { __gnu_cxx::__atomic_add_dispatch(&_M_refcount, 1); } int _M_remove_reference() { ; int __res = __gnu_cxx::__exchange_and_add_dispatch(&_M_refcount, -1); if (__res == 0) { ; } return __res; } }; _Callback_list* _M_callbacks; void _M_call_callbacks(event __ev) throw(); void _M_dispose_callbacks(void) throw(); struct _Words { void* _M_pword; long _M_iword; _Words() : _M_pword(0), _M_iword(0) { } }; _Words _M_word_zero; enum { _S_local_word_size = 8 }; _Words _M_local_word[_S_local_word_size]; int _M_word_size; _Words* _M_word; _Words& _M_grow_words(int __index, bool __iword); locale _M_ios_locale; void _M_init() throw(); public: class Init { friend class ios_base; public: Init(); ~Init(); Init(const Init&) = default; Init& operator=(const Init&) = default; private: static _Atomic_word _S_refcount; static bool _S_synced_with_stdio; }; fmtflags flags() const { return _M_flags; } # 659 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 fmtflags flags(fmtflags __fmtfl) { fmtflags __old = _M_flags; _M_flags = __fmtfl; return __old; } # 675 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 fmtflags setf(fmtflags __fmtfl) { fmtflags __old = _M_flags; _M_flags |= __fmtfl; return __old; } # 692 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 fmtflags setf(fmtflags __fmtfl, fmtflags __mask) { fmtflags __old = _M_flags; _M_flags &= ~__mask; _M_flags |= (__fmtfl & __mask); return __old; } void unsetf(fmtflags __mask) { _M_flags &= ~__mask; } # 718 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 streamsize precision() const { return _M_precision; } streamsize precision(streamsize __prec) { streamsize __old = _M_precision; _M_precision = __prec; return __old; } streamsize width() const { return _M_width; } streamsize width(streamsize __wide) { streamsize __old = _M_width; _M_width = __wide; return __old; } # 769 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 static bool sync_with_stdio(bool __sync = true); # 781 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 locale imbue(const locale& __loc) throw(); # 792 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 locale getloc() const { return _M_ios_locale; } # 803 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 const locale& _M_getloc() const { return _M_ios_locale; } # 822 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 static int xalloc() throw(); # 838 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 long& iword(int __ix) { _Words& __word = ((unsigned)__ix < (unsigned)_M_word_size) ? _M_word[__ix] : _M_grow_words(__ix, true); return __word._M_iword; } # 859 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 void*& pword(int __ix) { _Words& __word = ((unsigned)__ix < (unsigned)_M_word_size) ? _M_word[__ix] : _M_grow_words(__ix, false); return __word._M_pword; } # 876 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 virtual ~ios_base(); protected: ios_base() throw (); # 890 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ios_base.h" 3 public: ios_base(const ios_base&) = delete; ios_base& operator=(const ios_base&) = delete; protected: void _M_move(ios_base&) noexcept; void _M_swap(ios_base& __rhs) noexcept; }; inline ios_base& boolalpha(ios_base& __base) { __base.setf(ios_base::boolalpha); return __base; } inline ios_base& noboolalpha(ios_base& __base) { __base.unsetf(ios_base::boolalpha); return __base; } inline ios_base& showbase(ios_base& __base) { __base.setf(ios_base::showbase); return __base; } inline ios_base& noshowbase(ios_base& __base) { __base.unsetf(ios_base::showbase); return __base; } inline ios_base& showpoint(ios_base& __base) { __base.setf(ios_base::showpoint); return __base; } inline ios_base& noshowpoint(ios_base& __base) { __base.unsetf(ios_base::showpoint); return __base; } inline ios_base& showpos(ios_base& __base) { __base.setf(ios_base::showpos); return __base; } inline ios_base& noshowpos(ios_base& __base) { __base.unsetf(ios_base::showpos); return __base; } inline ios_base& skipws(ios_base& __base) { __base.setf(ios_base::skipws); return __base; } inline ios_base& noskipws(ios_base& __base) { __base.unsetf(ios_base::skipws); return __base; } inline ios_base& uppercase(ios_base& __base) { __base.setf(ios_base::uppercase); return __base; } inline ios_base& nouppercase(ios_base& __base) { __base.unsetf(ios_base::uppercase); return __base; } inline ios_base& unitbuf(ios_base& __base) { __base.setf(ios_base::unitbuf); return __base; } inline ios_base& nounitbuf(ios_base& __base) { __base.unsetf(ios_base::unitbuf); return __base; } inline ios_base& internal(ios_base& __base) { __base.setf(ios_base::internal, ios_base::adjustfield); return __base; } inline ios_base& left(ios_base& __base) { __base.setf(ios_base::left, ios_base::adjustfield); return __base; } inline ios_base& right(ios_base& __base) { __base.setf(ios_base::right, ios_base::adjustfield); return __base; } inline ios_base& dec(ios_base& __base) { __base.setf(ios_base::dec, ios_base::basefield); return __base; } inline ios_base& hex(ios_base& __base) { __base.setf(ios_base::hex, ios_base::basefield); return __base; } inline ios_base& oct(ios_base& __base) { __base.setf(ios_base::oct, ios_base::basefield); return __base; } inline ios_base& fixed(ios_base& __base) { __base.setf(ios_base::fixed, ios_base::floatfield); return __base; } inline ios_base& scientific(ios_base& __base) { __base.setf(ios_base::scientific, ios_base::floatfield); return __base; } inline ios_base& hexfloat(ios_base& __base) { __base.setf(ios_base::fixed | ios_base::scientific, ios_base::floatfield); return __base; } inline ios_base& defaultfloat(ios_base& __base) { __base.unsetf(ios_base::floatfield); return __base; } } # 43 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ios" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 1 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template streamsize __copy_streambufs_eof(basic_streambuf<_CharT, _Traits>*, basic_streambuf<_CharT, _Traits>*, bool&); # 121 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 template class basic_streambuf { public: typedef _CharT char_type; typedef _Traits traits_type; typedef typename traits_type::int_type int_type; typedef typename traits_type::pos_type pos_type; typedef typename traits_type::off_type off_type; typedef basic_streambuf __streambuf_type; friend class basic_ios; friend class basic_istream; friend class basic_ostream; friend class istreambuf_iterator; friend class ostreambuf_iterator; friend streamsize __copy_streambufs_eof<>(basic_streambuf*, basic_streambuf*, bool&); template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, _CharT2*>::__type __copy_move_a2(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, _CharT2*); template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, istreambuf_iterator<_CharT2> >::__type find(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, const _CharT2&); template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, void>::__type advance(istreambuf_iterator<_CharT2>&, _Distance); template friend basic_istream<_CharT2, _Traits2>& operator>>(basic_istream<_CharT2, _Traits2>&, _CharT2*); template friend basic_istream<_CharT2, _Traits2>& operator>>(basic_istream<_CharT2, _Traits2>&, basic_string<_CharT2, _Traits2, _Alloc>&); template friend basic_istream<_CharT2, _Traits2>& getline(basic_istream<_CharT2, _Traits2>&, basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2); protected: char_type* _M_in_beg; char_type* _M_in_cur; char_type* _M_in_end; char_type* _M_out_beg; char_type* _M_out_cur; char_type* _M_out_end; locale _M_buf_locale; public: virtual ~basic_streambuf() { } # 215 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 locale pubimbue(const locale& __loc) { locale __tmp(this->getloc()); this->imbue(__loc); _M_buf_locale = __loc; return __tmp; } # 232 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 locale getloc() const { return _M_buf_locale; } # 245 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 basic_streambuf* pubsetbuf(char_type* __s, streamsize __n) { return this->setbuf(__s, __n); } # 257 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 pos_type pubseekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode = ios_base::in | ios_base::out) { return this->seekoff(__off, __way, __mode); } # 269 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 pos_type pubseekpos(pos_type __sp, ios_base::openmode __mode = ios_base::in | ios_base::out) { return this->seekpos(__sp, __mode); } int pubsync() { return this->sync(); } # 290 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 streamsize in_avail() { const streamsize __ret = this->egptr() - this->gptr(); return __ret ? __ret : this->showmanyc(); } # 304 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 int_type snextc() { int_type __ret = traits_type::eof(); if (__builtin_expect(!traits_type::eq_int_type(this->sbumpc(), __ret), true)) __ret = this->sgetc(); return __ret; } # 322 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 int_type sbumpc() { int_type __ret; if (__builtin_expect(this->gptr() < this->egptr(), true)) { __ret = traits_type::to_int_type(*this->gptr()); this->gbump(1); } else __ret = this->uflow(); return __ret; } # 344 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 int_type sgetc() { int_type __ret; if (__builtin_expect(this->gptr() < this->egptr(), true)) __ret = traits_type::to_int_type(*this->gptr()); else __ret = this->underflow(); return __ret; } # 363 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 streamsize sgetn(char_type* __s, streamsize __n) { return this->xsgetn(__s, __n); } # 378 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 int_type sputbackc(char_type __c) { int_type __ret; const bool __testpos = this->eback() < this->gptr(); if (__builtin_expect(!__testpos || !traits_type::eq(__c, this->gptr()[-1]), false)) __ret = this->pbackfail(traits_type::to_int_type(__c)); else { this->gbump(-1); __ret = traits_type::to_int_type(*this->gptr()); } return __ret; } # 403 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 int_type sungetc() { int_type __ret; if (__builtin_expect(this->eback() < this->gptr(), true)) { this->gbump(-1); __ret = traits_type::to_int_type(*this->gptr()); } else __ret = this->pbackfail(); return __ret; } # 430 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 int_type sputc(char_type __c) { int_type __ret; if (__builtin_expect(this->pptr() < this->epptr(), true)) { *this->pptr() = __c; this->pbump(1); __ret = traits_type::to_int_type(__c); } else __ret = this->overflow(traits_type::to_int_type(__c)); return __ret; } # 456 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 streamsize sputn(const char_type* __s, streamsize __n) { return this->xsputn(__s, __n); } protected: # 470 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 basic_streambuf() : _M_in_beg(0), _M_in_cur(0), _M_in_end(0), _M_out_beg(0), _M_out_cur(0), _M_out_end(0), _M_buf_locale(locale()) { } # 488 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 char_type* eback() const { return _M_in_beg; } char_type* gptr() const { return _M_in_cur; } char_type* egptr() const { return _M_in_end; } # 504 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 void gbump(int __n) { _M_in_cur += __n; } # 515 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 void setg(char_type* __gbeg, char_type* __gnext, char_type* __gend) { _M_in_beg = __gbeg; _M_in_cur = __gnext; _M_in_end = __gend; } # 535 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 char_type* pbase() const { return _M_out_beg; } char_type* pptr() const { return _M_out_cur; } char_type* epptr() const { return _M_out_end; } # 551 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 void pbump(int __n) { _M_out_cur += __n; } # 561 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 void setp(char_type* __pbeg, char_type* __pend) { _M_out_beg = _M_out_cur = __pbeg; _M_out_end = __pend; } # 582 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual void imbue(const locale& __loc __attribute__ ((__unused__))) { } # 597 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual basic_streambuf* setbuf(char_type*, streamsize) { return this; } # 608 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual pos_type seekoff(off_type, ios_base::seekdir, ios_base::openmode = ios_base::in | ios_base::out) { return pos_type(off_type(-1)); } # 620 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual pos_type seekpos(pos_type, ios_base::openmode = ios_base::in | ios_base::out) { return pos_type(off_type(-1)); } # 633 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual int sync() { return 0; } # 655 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual streamsize showmanyc() { return 0; } # 671 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual streamsize xsgetn(char_type* __s, streamsize __n); # 693 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual int_type underflow() { return traits_type::eof(); } # 706 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual int_type uflow() { int_type __ret = traits_type::eof(); const bool __testeof = traits_type::eq_int_type(this->underflow(), __ret); if (!__testeof) { __ret = traits_type::to_int_type(*this->gptr()); this->gbump(1); } return __ret; } # 730 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual int_type pbackfail(int_type __c __attribute__ ((__unused__)) = traits_type::eof()) { return traits_type::eof(); } # 748 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual streamsize xsputn(const char_type* __s, streamsize __n); # 774 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 virtual int_type overflow(int_type __c __attribute__ ((__unused__)) = traits_type::eof()) { return traits_type::eof(); } public: # 789 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 3 __attribute__ ((__deprecated__ ("use '" "std::basic_streambuf::sbumpc" "' instead"))) void stossc() { if (this->gptr() < this->egptr()) this->gbump(1); else this->uflow(); } void __safe_gbump(streamsize __n) { _M_in_cur += __n; } void __safe_pbump(streamsize __n) { _M_out_cur += __n; } protected: basic_streambuf(const basic_streambuf&); basic_streambuf& operator=(const basic_streambuf&); void swap(basic_streambuf& __sb) { std::swap(_M_in_beg, __sb._M_in_beg); std::swap(_M_in_cur, __sb._M_in_cur); std::swap(_M_in_end, __sb._M_in_end); std::swap(_M_out_beg, __sb._M_out_beg); std::swap(_M_out_cur, __sb._M_out_cur); std::swap(_M_out_end, __sb._M_out_end); std::swap(_M_buf_locale, __sb._M_buf_locale); } }; template std::basic_streambuf<_CharT, _Traits>:: basic_streambuf(const basic_streambuf&) = default; template std::basic_streambuf<_CharT, _Traits>& std::basic_streambuf<_CharT, _Traits>:: operator=(const basic_streambuf&) = default; template<> streamsize __copy_streambufs_eof(basic_streambuf* __sbin, basic_streambuf* __sbout, bool& __ineof); template<> streamsize __copy_streambufs_eof(basic_streambuf* __sbin, basic_streambuf* __sbout, bool& __ineof); } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/streambuf.tcc" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/streambuf.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template streamsize basic_streambuf<_CharT, _Traits>:: xsgetn(char_type* __s, streamsize __n) { streamsize __ret = 0; while (__ret < __n) { const streamsize __buf_len = this->egptr() - this->gptr(); if (__buf_len) { const streamsize __remaining = __n - __ret; const streamsize __len = std::min(__buf_len, __remaining); traits_type::copy(__s, this->gptr(), __len); __ret += __len; __s += __len; this->__safe_gbump(__len); } if (__ret < __n) { const int_type __c = this->uflow(); if (!traits_type::eq_int_type(__c, traits_type::eof())) { traits_type::assign(*__s++, traits_type::to_char_type(__c)); ++__ret; } else break; } } return __ret; } template streamsize basic_streambuf<_CharT, _Traits>:: xsputn(const char_type* __s, streamsize __n) { streamsize __ret = 0; while (__ret < __n) { const streamsize __buf_len = this->epptr() - this->pptr(); if (__buf_len) { const streamsize __remaining = __n - __ret; const streamsize __len = std::min(__buf_len, __remaining); traits_type::copy(this->pptr(), __s, __len); __ret += __len; __s += __len; this->__safe_pbump(__len); } if (__ret < __n) { int_type __c = this->overflow(traits_type::to_int_type(*__s)); if (!traits_type::eq_int_type(__c, traits_type::eof())) { ++__ret; ++__s; } else break; } } return __ret; } template streamsize __copy_streambufs_eof(basic_streambuf<_CharT, _Traits>* __sbin, basic_streambuf<_CharT, _Traits>* __sbout, bool& __ineof) { streamsize __ret = 0; __ineof = true; typename _Traits::int_type __c = __sbin->sgetc(); while (!_Traits::eq_int_type(__c, _Traits::eof())) { __c = __sbout->sputc(_Traits::to_char_type(__c)); if (_Traits::eq_int_type(__c, _Traits::eof())) { __ineof = false; break; } ++__ret; __c = __sbin->snextc(); } return __ret; } template inline streamsize __copy_streambufs(basic_streambuf<_CharT, _Traits>* __sbin, basic_streambuf<_CharT, _Traits>* __sbout) { bool __ineof; return __copy_streambufs_eof(__sbin, __sbout, __ineof); } extern template class basic_streambuf; extern template streamsize __copy_streambufs(basic_streambuf*, basic_streambuf*); extern template streamsize __copy_streambufs_eof(basic_streambuf*, basic_streambuf*, bool&); extern template class basic_streambuf; extern template streamsize __copy_streambufs(basic_streambuf*, basic_streambuf*); extern template streamsize __copy_streambufs_eof(basic_streambuf*, basic_streambuf*, bool&); } # 861 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/streambuf" 2 3 # 44 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ios" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwctype" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwctype" 3 # 50 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwctype" 3 # 1 "/usr/include/wctype.h" 1 3 4 # 33 "/usr/include/wctype.h" 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 34 "/usr/include/wctype.h" 2 3 4 # 52 "/usr/include/wctype.h" 3 4 typedef unsigned long int wctype_t; # 71 "/usr/include/wctype.h" 3 4 enum { __ISwupper = 0, __ISwlower = 1, __ISwalpha = 2, __ISwdigit = 3, __ISwxdigit = 4, __ISwspace = 5, __ISwprint = 6, __ISwgraph = 7, __ISwblank = 8, __ISwcntrl = 9, __ISwpunct = 10, __ISwalnum = 11, _ISwupper = ((__ISwupper) < 8 ? (int) ((1UL << (__ISwupper)) << 24) : ((__ISwupper) < 16 ? (int) ((1UL << (__ISwupper)) << 8) : ((__ISwupper) < 24 ? (int) ((1UL << (__ISwupper)) >> 8) : (int) ((1UL << (__ISwupper)) >> 24)))), _ISwlower = ((__ISwlower) < 8 ? (int) ((1UL << (__ISwlower)) << 24) : ((__ISwlower) < 16 ? (int) ((1UL << (__ISwlower)) << 8) : ((__ISwlower) < 24 ? (int) ((1UL << (__ISwlower)) >> 8) : (int) ((1UL << (__ISwlower)) >> 24)))), _ISwalpha = ((__ISwalpha) < 8 ? (int) ((1UL << (__ISwalpha)) << 24) : ((__ISwalpha) < 16 ? (int) ((1UL << (__ISwalpha)) << 8) : ((__ISwalpha) < 24 ? (int) ((1UL << (__ISwalpha)) >> 8) : (int) ((1UL << (__ISwalpha)) >> 24)))), _ISwdigit = ((__ISwdigit) < 8 ? (int) ((1UL << (__ISwdigit)) << 24) : ((__ISwdigit) < 16 ? (int) ((1UL << (__ISwdigit)) << 8) : ((__ISwdigit) < 24 ? (int) ((1UL << (__ISwdigit)) >> 8) : (int) ((1UL << (__ISwdigit)) >> 24)))), _ISwxdigit = ((__ISwxdigit) < 8 ? (int) ((1UL << (__ISwxdigit)) << 24) : ((__ISwxdigit) < 16 ? (int) ((1UL << (__ISwxdigit)) << 8) : ((__ISwxdigit) < 24 ? (int) ((1UL << (__ISwxdigit)) >> 8) : (int) ((1UL << (__ISwxdigit)) >> 24)))), _ISwspace = ((__ISwspace) < 8 ? (int) ((1UL << (__ISwspace)) << 24) : ((__ISwspace) < 16 ? (int) ((1UL << (__ISwspace)) << 8) : ((__ISwspace) < 24 ? (int) ((1UL << (__ISwspace)) >> 8) : (int) ((1UL << (__ISwspace)) >> 24)))), _ISwprint = ((__ISwprint) < 8 ? (int) ((1UL << (__ISwprint)) << 24) : ((__ISwprint) < 16 ? (int) ((1UL << (__ISwprint)) << 8) : ((__ISwprint) < 24 ? (int) ((1UL << (__ISwprint)) >> 8) : (int) ((1UL << (__ISwprint)) >> 24)))), _ISwgraph = ((__ISwgraph) < 8 ? (int) ((1UL << (__ISwgraph)) << 24) : ((__ISwgraph) < 16 ? (int) ((1UL << (__ISwgraph)) << 8) : ((__ISwgraph) < 24 ? (int) ((1UL << (__ISwgraph)) >> 8) : (int) ((1UL << (__ISwgraph)) >> 24)))), _ISwblank = ((__ISwblank) < 8 ? (int) ((1UL << (__ISwblank)) << 24) : ((__ISwblank) < 16 ? (int) ((1UL << (__ISwblank)) << 8) : ((__ISwblank) < 24 ? (int) ((1UL << (__ISwblank)) >> 8) : (int) ((1UL << (__ISwblank)) >> 24)))), _ISwcntrl = ((__ISwcntrl) < 8 ? (int) ((1UL << (__ISwcntrl)) << 24) : ((__ISwcntrl) < 16 ? (int) ((1UL << (__ISwcntrl)) << 8) : ((__ISwcntrl) < 24 ? (int) ((1UL << (__ISwcntrl)) >> 8) : (int) ((1UL << (__ISwcntrl)) >> 24)))), _ISwpunct = ((__ISwpunct) < 8 ? (int) ((1UL << (__ISwpunct)) << 24) : ((__ISwpunct) < 16 ? (int) ((1UL << (__ISwpunct)) << 8) : ((__ISwpunct) < 24 ? (int) ((1UL << (__ISwpunct)) >> 8) : (int) ((1UL << (__ISwpunct)) >> 24)))), _ISwalnum = ((__ISwalnum) < 8 ? (int) ((1UL << (__ISwalnum)) << 24) : ((__ISwalnum) < 16 ? (int) ((1UL << (__ISwalnum)) << 8) : ((__ISwalnum) < 24 ? (int) ((1UL << (__ISwalnum)) >> 8) : (int) ((1UL << (__ISwalnum)) >> 24)))) }; extern "C" { # 111 "/usr/include/wctype.h" 3 4 extern int iswalnum (wint_t __wc) throw (); extern int iswalpha (wint_t __wc) throw (); extern int iswcntrl (wint_t __wc) throw (); extern int iswdigit (wint_t __wc) throw (); extern int iswgraph (wint_t __wc) throw (); extern int iswlower (wint_t __wc) throw (); extern int iswprint (wint_t __wc) throw (); extern int iswpunct (wint_t __wc) throw (); extern int iswspace (wint_t __wc) throw (); extern int iswupper (wint_t __wc) throw (); extern int iswxdigit (wint_t __wc) throw (); extern int iswblank (wint_t __wc) throw (); # 171 "/usr/include/wctype.h" 3 4 extern wctype_t wctype (const char *__property) throw (); extern int iswctype (wint_t __wc, wctype_t __desc) throw (); # 186 "/usr/include/wctype.h" 3 4 typedef const __int32_t *wctrans_t; extern wint_t towlower (wint_t __wc) throw (); extern wint_t towupper (wint_t __wc) throw (); } # 213 "/usr/include/wctype.h" 3 4 extern "C" { extern wctrans_t wctrans (const char *__property) throw (); extern wint_t towctrans (wint_t __wc, wctrans_t __desc) throw (); # 230 "/usr/include/wctype.h" 3 4 extern int iswalnum_l (wint_t __wc, __locale_t __locale) throw (); extern int iswalpha_l (wint_t __wc, __locale_t __locale) throw (); extern int iswcntrl_l (wint_t __wc, __locale_t __locale) throw (); extern int iswdigit_l (wint_t __wc, __locale_t __locale) throw (); extern int iswgraph_l (wint_t __wc, __locale_t __locale) throw (); extern int iswlower_l (wint_t __wc, __locale_t __locale) throw (); extern int iswprint_l (wint_t __wc, __locale_t __locale) throw (); extern int iswpunct_l (wint_t __wc, __locale_t __locale) throw (); extern int iswspace_l (wint_t __wc, __locale_t __locale) throw (); extern int iswupper_l (wint_t __wc, __locale_t __locale) throw (); extern int iswxdigit_l (wint_t __wc, __locale_t __locale) throw (); extern int iswblank_l (wint_t __wc, __locale_t __locale) throw (); extern wctype_t wctype_l (const char *__property, __locale_t __locale) throw (); extern int iswctype_l (wint_t __wc, wctype_t __desc, __locale_t __locale) throw (); extern wint_t towlower_l (wint_t __wc, __locale_t __locale) throw (); extern wint_t towupper_l (wint_t __wc, __locale_t __locale) throw (); extern wctrans_t wctrans_l (const char *__property, __locale_t __locale) throw (); extern wint_t towctrans_l (wint_t __wc, wctrans_t __desc, __locale_t __locale) throw (); } # 51 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwctype" 2 3 # 80 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cwctype" 3 namespace std { using ::wctrans_t; using ::wctype_t; using ::wint_t; using ::iswalnum; using ::iswalpha; using ::iswblank; using ::iswcntrl; using ::iswctype; using ::iswdigit; using ::iswgraph; using ::iswlower; using ::iswprint; using ::iswpunct; using ::iswspace; using ::iswupper; using ::iswxdigit; using ::towctrans; using ::towlower; using ::towupper; using ::wctrans; using ::wctype; } # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cctype" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cctype" 3 # 41 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/ctype_base.h" 1 3 # 36 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/ctype_base.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { struct ctype_base { typedef const int* __to_type; typedef unsigned short mask; static const mask upper = _ISupper; static const mask lower = _ISlower; static const mask alpha = _ISalpha; static const mask digit = _ISdigit; static const mask xdigit = _ISxdigit; static const mask space = _ISspace; static const mask print = _ISprint; static const mask graph = _ISalpha | _ISdigit | _ISpunct; static const mask cntrl = _IScntrl; static const mask punct = _ISpunct; static const mask alnum = _ISalpha | _ISdigit; static const mask blank = _ISblank; }; } # 42 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/streambuf_iterator.h" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/streambuf_iterator.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 49 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/streambuf_iterator.h" 3 template class istreambuf_iterator : public iterator { public: # 66 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/streambuf_iterator.h" 3 typedef _CharT char_type; typedef _Traits traits_type; typedef typename _Traits::int_type int_type; typedef basic_streambuf<_CharT, _Traits> streambuf_type; typedef basic_istream<_CharT, _Traits> istream_type; template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, ostreambuf_iterator<_CharT2> >::__type copy(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, ostreambuf_iterator<_CharT2>); template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, _CharT2*>::__type __copy_move_a2(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, _CharT2*); template friend __enable_if_t<__is_char<_CharT2>::__value, _CharT2*> __copy_n_a(istreambuf_iterator<_CharT2>, _Size, _CharT2*); template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, istreambuf_iterator<_CharT2> >::__type find(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, const _CharT2&); template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, void>::__type advance(istreambuf_iterator<_CharT2>&, _Distance); private: mutable streambuf_type* _M_sbuf; int_type _M_c; public: constexpr istreambuf_iterator() noexcept : _M_sbuf(0), _M_c(traits_type::eof()) { } istreambuf_iterator(const istreambuf_iterator&) noexcept = default; ~istreambuf_iterator() = default; istreambuf_iterator(istream_type& __s) noexcept : _M_sbuf(__s.rdbuf()), _M_c(traits_type::eof()) { } istreambuf_iterator(streambuf_type* __s) noexcept : _M_sbuf(__s), _M_c(traits_type::eof()) { } istreambuf_iterator& operator=(const istreambuf_iterator&) noexcept = default; char_type operator*() const { int_type __c = _M_get(); # 157 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/streambuf_iterator.h" 3 return traits_type::to_char_type(__c); } istreambuf_iterator& operator++() { ; _M_sbuf->sbumpc(); _M_c = traits_type::eof(); return *this; } istreambuf_iterator operator++(int) { ; istreambuf_iterator __old = *this; __old._M_c = _M_sbuf->sbumpc(); _M_c = traits_type::eof(); return __old; } bool equal(const istreambuf_iterator& __b) const { return _M_at_eof() == __b._M_at_eof(); } private: int_type _M_get() const { int_type __ret = _M_c; if (_M_sbuf && _S_is_eof(__ret) && _S_is_eof(__ret = _M_sbuf->sgetc())) _M_sbuf = 0; return __ret; } bool _M_at_eof() const { return _S_is_eof(_M_get()); } static bool _S_is_eof(int_type __c) { const int_type __eof = traits_type::eof(); return traits_type::eq_int_type(__c, __eof); } }; template inline bool operator==(const istreambuf_iterator<_CharT, _Traits>& __a, const istreambuf_iterator<_CharT, _Traits>& __b) { return __a.equal(__b); } template inline bool operator!=(const istreambuf_iterator<_CharT, _Traits>& __a, const istreambuf_iterator<_CharT, _Traits>& __b) { return !__a.equal(__b); } template class ostreambuf_iterator : public iterator { public: typedef _CharT char_type; typedef _Traits traits_type; typedef basic_streambuf<_CharT, _Traits> streambuf_type; typedef basic_ostream<_CharT, _Traits> ostream_type; template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, ostreambuf_iterator<_CharT2> >::__type copy(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, ostreambuf_iterator<_CharT2>); private: streambuf_type* _M_sbuf; bool _M_failed; public: # 274 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/streambuf_iterator.h" 3 ostreambuf_iterator(ostream_type& __s) noexcept : _M_sbuf(__s.rdbuf()), _M_failed(!_M_sbuf) { } ostreambuf_iterator(streambuf_type* __s) noexcept : _M_sbuf(__s), _M_failed(!_M_sbuf) { } ostreambuf_iterator& operator=(_CharT __c) { if (!_M_failed && _Traits::eq_int_type(_M_sbuf->sputc(__c), _Traits::eof())) _M_failed = true; return *this; } ostreambuf_iterator& operator*() { return *this; } ostreambuf_iterator& operator++(int) { return *this; } ostreambuf_iterator& operator++() { return *this; } bool failed() const noexcept { return _M_failed; } ostreambuf_iterator& _M_put(const _CharT* __ws, streamsize __len) { if (__builtin_expect(!_M_failed, true) && __builtin_expect(this->_M_sbuf->sputn(__ws, __len) != __len, false)) _M_failed = true; return *this; } }; template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, ostreambuf_iterator<_CharT> >::__type copy(istreambuf_iterator<_CharT> __first, istreambuf_iterator<_CharT> __last, ostreambuf_iterator<_CharT> __result) { if (__first._M_sbuf && !__last._M_sbuf && !__result._M_failed) { bool __ineof; __copy_streambufs_eof(__first._M_sbuf, __result._M_sbuf, __ineof); if (!__ineof) __result._M_failed = true; } return __result; } template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, ostreambuf_iterator<_CharT> >::__type __copy_move_a2(_CharT* __first, _CharT* __last, ostreambuf_iterator<_CharT> __result) { const streamsize __num = __last - __first; if (__num > 0) __result._M_put(__first, __num); return __result; } template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, ostreambuf_iterator<_CharT> >::__type __copy_move_a2(const _CharT* __first, const _CharT* __last, ostreambuf_iterator<_CharT> __result) { const streamsize __num = __last - __first; if (__num > 0) __result._M_put(__first, __num); return __result; } template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, _CharT*>::__type __copy_move_a2(istreambuf_iterator<_CharT> __first, istreambuf_iterator<_CharT> __last, _CharT* __result) { typedef istreambuf_iterator<_CharT> __is_iterator_type; typedef typename __is_iterator_type::traits_type traits_type; typedef typename __is_iterator_type::streambuf_type streambuf_type; typedef typename traits_type::int_type int_type; if (__first._M_sbuf && !__last._M_sbuf) { streambuf_type* __sb = __first._M_sbuf; int_type __c = __sb->sgetc(); while (!traits_type::eq_int_type(__c, traits_type::eof())) { const streamsize __n = __sb->egptr() - __sb->gptr(); if (__n > 1) { traits_type::copy(__result, __sb->gptr(), __n); __sb->__safe_gbump(__n); __result += __n; __c = __sb->underflow(); } else { *__result++ = traits_type::to_char_type(__c); __c = __sb->snextc(); } } } return __result; } template __enable_if_t<__is_char<_CharT>::__value, _CharT*> __copy_n_a(istreambuf_iterator<_CharT> __it, _Size __n, _CharT* __result) { if (__n == 0) return __result; ; _CharT* __beg = __result; __result += __it._M_sbuf->sgetn(__beg, __n); ; return __result; } template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, istreambuf_iterator<_CharT> >::__type find(istreambuf_iterator<_CharT> __first, istreambuf_iterator<_CharT> __last, const _CharT& __val) { typedef istreambuf_iterator<_CharT> __is_iterator_type; typedef typename __is_iterator_type::traits_type traits_type; typedef typename __is_iterator_type::streambuf_type streambuf_type; typedef typename traits_type::int_type int_type; const int_type __eof = traits_type::eof(); if (__first._M_sbuf && !__last._M_sbuf) { const int_type __ival = traits_type::to_int_type(__val); streambuf_type* __sb = __first._M_sbuf; int_type __c = __sb->sgetc(); while (!traits_type::eq_int_type(__c, __eof) && !traits_type::eq_int_type(__c, __ival)) { streamsize __n = __sb->egptr() - __sb->gptr(); if (__n > 1) { const _CharT* __p = traits_type::find(__sb->gptr(), __n, __val); if (__p) __n = __p - __sb->gptr(); __sb->__safe_gbump(__n); __c = __sb->sgetc(); } else __c = __sb->snextc(); } __first._M_c = __eof; } return __first; } template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, void>::__type advance(istreambuf_iterator<_CharT>& __i, _Distance __n) { if (__n == 0) return; ; ; typedef istreambuf_iterator<_CharT> __is_iterator_type; typedef typename __is_iterator_type::traits_type traits_type; typedef typename __is_iterator_type::streambuf_type streambuf_type; typedef typename traits_type::int_type int_type; const int_type __eof = traits_type::eof(); streambuf_type* __sb = __i._M_sbuf; while (__n > 0) { streamsize __size = __sb->egptr() - __sb->gptr(); if (__size > __n) { __sb->__safe_gbump(__n); break; } __sb->__safe_gbump(__size); __n -= __size; if (traits_type::eq_int_type(__sb->underflow(), __eof)) { ; break; } } __i._M_c = __eof; } } # 49 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 71 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 template void __convert_to_v(const char*, _Tp&, ios_base::iostate&, const __c_locale&) throw(); template<> void __convert_to_v(const char*, float&, ios_base::iostate&, const __c_locale&) throw(); template<> void __convert_to_v(const char*, double&, ios_base::iostate&, const __c_locale&) throw(); template<> void __convert_to_v(const char*, long double&, ios_base::iostate&, const __c_locale&) throw(); template struct __pad { static void _S_pad(ios_base& __io, _CharT __fill, _CharT* __news, const _CharT* __olds, streamsize __newlen, streamsize __oldlen); }; template _CharT* __add_grouping(_CharT* __s, _CharT __sep, const char* __gbeg, size_t __gsize, const _CharT* __first, const _CharT* __last); template inline ostreambuf_iterator<_CharT> __write(ostreambuf_iterator<_CharT> __s, const _CharT* __ws, int __len) { __s._M_put(__ws, __len); return __s; } template inline _OutIter __write(_OutIter __s, const _CharT* __ws, int __len) { for (int __j = 0; __j < __len; __j++, ++__s) *__s = __ws[__j]; return __s; } # 149 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 template class __ctype_abstract_base : public locale::facet, public ctype_base { public: typedef _CharT char_type; # 168 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 bool is(mask __m, char_type __c) const { return this->do_is(__m, __c); } # 185 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char_type* is(const char_type *__lo, const char_type *__hi, mask *__vec) const { return this->do_is(__lo, __hi, __vec); } # 201 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char_type* scan_is(mask __m, const char_type* __lo, const char_type* __hi) const { return this->do_scan_is(__m, __lo, __hi); } # 217 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char_type* scan_not(mask __m, const char_type* __lo, const char_type* __hi) const { return this->do_scan_not(__m, __lo, __hi); } # 231 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char_type toupper(char_type __c) const { return this->do_toupper(__c); } # 246 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char_type* toupper(char_type *__lo, const char_type* __hi) const { return this->do_toupper(__lo, __hi); } # 260 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char_type tolower(char_type __c) const { return this->do_tolower(__c); } # 275 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char_type* tolower(char_type* __lo, const char_type* __hi) const { return this->do_tolower(__lo, __hi); } # 292 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char_type widen(char __c) const { return this->do_widen(__c); } # 311 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char* widen(const char* __lo, const char* __hi, char_type* __to) const { return this->do_widen(__lo, __hi, __to); } # 330 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char narrow(char_type __c, char __dfault) const { return this->do_narrow(__c, __dfault); } # 352 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char_type* narrow(const char_type* __lo, const char_type* __hi, char __dfault, char* __to) const { return this->do_narrow(__lo, __hi, __dfault, __to); } protected: explicit __ctype_abstract_base(size_t __refs = 0): facet(__refs) { } virtual ~__ctype_abstract_base() { } # 377 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual bool do_is(mask __m, char_type __c) const = 0; # 396 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_is(const char_type* __lo, const char_type* __hi, mask* __vec) const = 0; # 415 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_scan_is(mask __m, const char_type* __lo, const char_type* __hi) const = 0; # 434 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_scan_not(mask __m, const char_type* __lo, const char_type* __hi) const = 0; # 452 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_toupper(char_type __c) const = 0; # 469 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_toupper(char_type* __lo, const char_type* __hi) const = 0; # 485 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_tolower(char_type __c) const = 0; # 502 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_tolower(char_type* __lo, const char_type* __hi) const = 0; # 521 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_widen(char __c) const = 0; # 542 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char* do_widen(const char* __lo, const char* __hi, char_type* __to) const = 0; # 563 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char do_narrow(char_type __c, char __dfault) const = 0; # 588 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_narrow(const char_type* __lo, const char_type* __hi, char __dfault, char* __to) const = 0; }; # 611 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 template class ctype : public __ctype_abstract_base<_CharT> { public: typedef _CharT char_type; typedef typename __ctype_abstract_base<_CharT>::mask mask; static locale::id id; explicit ctype(size_t __refs = 0) : __ctype_abstract_base<_CharT>(__refs) { } protected: virtual ~ctype(); virtual bool do_is(mask __m, char_type __c) const; virtual const char_type* do_is(const char_type* __lo, const char_type* __hi, mask* __vec) const; virtual const char_type* do_scan_is(mask __m, const char_type* __lo, const char_type* __hi) const; virtual const char_type* do_scan_not(mask __m, const char_type* __lo, const char_type* __hi) const; virtual char_type do_toupper(char_type __c) const; virtual const char_type* do_toupper(char_type* __lo, const char_type* __hi) const; virtual char_type do_tolower(char_type __c) const; virtual const char_type* do_tolower(char_type* __lo, const char_type* __hi) const; virtual char_type do_widen(char __c) const; virtual const char* do_widen(const char* __lo, const char* __hi, char_type* __dest) const; virtual char do_narrow(char_type, char __dfault) const; virtual const char_type* do_narrow(const char_type* __lo, const char_type* __hi, char __dfault, char* __to) const; }; template locale::id ctype<_CharT>::id; # 680 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 template<> class ctype : public locale::facet, public ctype_base { public: typedef char char_type; protected: __c_locale _M_c_locale_ctype; bool _M_del; __to_type _M_toupper; __to_type _M_tolower; const mask* _M_table; mutable char _M_widen_ok; mutable char _M_widen[1 + static_cast(-1)]; mutable char _M_narrow[1 + static_cast(-1)]; mutable char _M_narrow_ok; public: static locale::id id; static const size_t table_size = 1 + static_cast(-1); # 717 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 explicit ctype(const mask* __table = 0, bool __del = false, size_t __refs = 0); # 730 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 explicit ctype(__c_locale __cloc, const mask* __table = 0, bool __del = false, size_t __refs = 0); # 743 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 inline bool is(mask __m, char __c) const; # 758 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 inline const char* is(const char* __lo, const char* __hi, mask* __vec) const; # 772 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 inline const char* scan_is(mask __m, const char* __lo, const char* __hi) const; # 786 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 inline const char* scan_not(mask __m, const char* __lo, const char* __hi) const; # 801 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char_type toupper(char_type __c) const { return this->do_toupper(__c); } # 818 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char_type* toupper(char_type *__lo, const char_type* __hi) const { return this->do_toupper(__lo, __hi); } # 834 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char_type tolower(char_type __c) const { return this->do_tolower(__c); } # 851 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char_type* tolower(char_type* __lo, const char_type* __hi) const { return this->do_tolower(__lo, __hi); } # 871 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char_type widen(char __c) const { if (_M_widen_ok) return _M_widen[static_cast(__c)]; this->_M_widen_init(); return this->do_widen(__c); } # 898 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char* widen(const char* __lo, const char* __hi, char_type* __to) const { if (_M_widen_ok == 1) { if (__builtin_expect(__hi != __lo, true)) __builtin_memcpy(__to, __lo, __hi - __lo); return __hi; } if (!_M_widen_ok) _M_widen_init(); return this->do_widen(__lo, __hi, __to); } # 930 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char narrow(char_type __c, char __dfault) const { if (_M_narrow[static_cast(__c)]) return _M_narrow[static_cast(__c)]; const char __t = do_narrow(__c, __dfault); if (__t != __dfault) _M_narrow[static_cast(__c)] = __t; return __t; } # 963 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 const char_type* narrow(const char_type* __lo, const char_type* __hi, char __dfault, char* __to) const { if (__builtin_expect(_M_narrow_ok == 1, true)) { if (__builtin_expect(__hi != __lo, true)) __builtin_memcpy(__to, __lo, __hi - __lo); return __hi; } if (!_M_narrow_ok) _M_narrow_init(); return this->do_narrow(__lo, __hi, __dfault, __to); } const mask* table() const throw() { return _M_table; } static const mask* classic_table() throw(); protected: virtual ~ctype(); # 1013 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_toupper(char_type __c) const; # 1030 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_toupper(char_type* __lo, const char_type* __hi) const; # 1046 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_tolower(char_type __c) const; # 1063 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_tolower(char_type* __lo, const char_type* __hi) const; # 1083 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_widen(char __c) const { return __c; } # 1106 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char* do_widen(const char* __lo, const char* __hi, char_type* __to) const { if (__builtin_expect(__hi != __lo, true)) __builtin_memcpy(__to, __lo, __hi - __lo); return __hi; } # 1133 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char do_narrow(char_type __c, char __dfault __attribute__((__unused__))) const { return __c; } # 1159 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_narrow(const char_type* __lo, const char_type* __hi, char __dfault __attribute__((__unused__)), char* __to) const { if (__builtin_expect(__hi != __lo, true)) __builtin_memcpy(__to, __lo, __hi - __lo); return __hi; } private: void _M_narrow_init() const; void _M_widen_init() const; }; # 1185 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 template<> class ctype : public __ctype_abstract_base { public: typedef wchar_t char_type; typedef wctype_t __wmask_type; protected: __c_locale _M_c_locale_ctype; bool _M_narrow_ok; char _M_narrow[128]; wint_t _M_widen[1 + static_cast(-1)]; mask _M_bit[16]; __wmask_type _M_wmask[16]; public: static locale::id id; # 1218 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 explicit ctype(size_t __refs = 0); # 1229 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 explicit ctype(__c_locale __cloc, size_t __refs = 0); protected: __wmask_type _M_convert_to_wmask(const mask __m) const throw(); virtual ~ctype(); # 1253 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual bool do_is(mask __m, char_type __c) const; # 1272 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_is(const char_type* __lo, const char_type* __hi, mask* __vec) const; # 1290 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_scan_is(mask __m, const char_type* __lo, const char_type* __hi) const; # 1308 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_scan_not(mask __m, const char_type* __lo, const char_type* __hi) const; # 1325 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_toupper(char_type __c) const; # 1342 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_toupper(char_type* __lo, const char_type* __hi) const; # 1358 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_tolower(char_type __c) const; # 1375 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_tolower(char_type* __lo, const char_type* __hi) const; # 1395 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_widen(char __c) const; # 1417 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char* do_widen(const char* __lo, const char* __hi, char_type* __to) const; # 1440 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char do_narrow(char_type __c, char __dfault) const; # 1466 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual const char_type* do_narrow(const char_type* __lo, const char_type* __hi, char __dfault, char* __to) const; void _M_initialize_ctype() throw(); }; template class ctype_byname : public ctype<_CharT> { public: typedef typename ctype<_CharT>::mask mask; explicit ctype_byname(const char* __s, size_t __refs = 0); explicit ctype_byname(const string& __s, size_t __refs = 0) : ctype_byname(__s.c_str(), __refs) { } protected: virtual ~ctype_byname() { } }; template<> class ctype_byname : public ctype { public: explicit ctype_byname(const char* __s, size_t __refs = 0); explicit ctype_byname(const string& __s, size_t __refs = 0); protected: virtual ~ctype_byname(); }; template<> class ctype_byname : public ctype { public: explicit ctype_byname(const char* __s, size_t __refs = 0); explicit ctype_byname(const string& __s, size_t __refs = 0); protected: virtual ~ctype_byname(); }; } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/ctype_inline.h" 1 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/ctype_inline.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { bool ctype:: is(mask __m, char __c) const { return _M_table[static_cast(__c)] & __m; } const char* ctype:: is(const char* __low, const char* __high, mask* __vec) const { while (__low < __high) *__vec++ = _M_table[static_cast(*__low++)]; return __high; } const char* ctype:: scan_is(mask __m, const char* __low, const char* __high) const { while (__low < __high && !(_M_table[static_cast(*__low)] & __m)) ++__low; return __low; } const char* ctype:: scan_not(mask __m, const char* __low, const char* __high) const { while (__low < __high && (_M_table[static_cast(*__low)] & __m) != 0) ++__low; return __low; } } # 1539 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { class __num_base { public: enum { _S_ominus, _S_oplus, _S_ox, _S_oX, _S_odigits, _S_odigits_end = _S_odigits + 16, _S_oudigits = _S_odigits_end, _S_oudigits_end = _S_oudigits + 16, _S_oe = _S_odigits + 14, _S_oE = _S_oudigits + 14, _S_oend = _S_oudigits_end }; static const char* _S_atoms_out; static const char* _S_atoms_in; enum { _S_iminus, _S_iplus, _S_ix, _S_iX, _S_izero, _S_ie = _S_izero + 14, _S_iE = _S_izero + 20, _S_iend = 26 }; static void _S_format_float(const ios_base& __io, char* __fptr, char __mod) throw(); }; template struct __numpunct_cache : public locale::facet { const char* _M_grouping; size_t _M_grouping_size; bool _M_use_grouping; const _CharT* _M_truename; size_t _M_truename_size; const _CharT* _M_falsename; size_t _M_falsename_size; _CharT _M_decimal_point; _CharT _M_thousands_sep; _CharT _M_atoms_out[__num_base::_S_oend]; _CharT _M_atoms_in[__num_base::_S_iend]; bool _M_allocated; __numpunct_cache(size_t __refs = 0) : facet(__refs), _M_grouping(0), _M_grouping_size(0), _M_use_grouping(false), _M_truename(0), _M_truename_size(0), _M_falsename(0), _M_falsename_size(0), _M_decimal_point(_CharT()), _M_thousands_sep(_CharT()), _M_allocated(false) { } ~__numpunct_cache(); void _M_cache(const locale& __loc); private: __numpunct_cache& operator=(const __numpunct_cache&); explicit __numpunct_cache(const __numpunct_cache&); }; template __numpunct_cache<_CharT>::~__numpunct_cache() { if (_M_allocated) { delete [] _M_grouping; delete [] _M_truename; delete [] _M_falsename; } } # 1669 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 template class numpunct : public locale::facet { public: typedef _CharT char_type; typedef basic_string<_CharT> string_type; typedef __numpunct_cache<_CharT> __cache_type; protected: __cache_type* _M_data; public: static locale::id id; explicit numpunct(size_t __refs = 0) : facet(__refs), _M_data(0) { _M_initialize_numpunct(); } # 1707 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 explicit numpunct(__cache_type* __cache, size_t __refs = 0) : facet(__refs), _M_data(__cache) { _M_initialize_numpunct(); } # 1721 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 explicit numpunct(__c_locale __cloc, size_t __refs = 0) : facet(__refs), _M_data(0) { _M_initialize_numpunct(__cloc); } # 1735 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char_type decimal_point() const { return this->do_decimal_point(); } # 1748 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 char_type thousands_sep() const { return this->do_thousands_sep(); } # 1779 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 string grouping() const { return this->do_grouping(); } # 1792 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 string_type truename() const { return this->do_truename(); } # 1805 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 string_type falsename() const { return this->do_falsename(); } protected: virtual ~numpunct(); # 1822 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_decimal_point() const { return _M_data->_M_decimal_point; } # 1834 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual char_type do_thousands_sep() const { return _M_data->_M_thousands_sep; } # 1847 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual string do_grouping() const { return _M_data->_M_grouping; } # 1860 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual string_type do_truename() const { return _M_data->_M_truename; } # 1873 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual string_type do_falsename() const { return _M_data->_M_falsename; } void _M_initialize_numpunct(__c_locale __cloc = 0); }; template locale::id numpunct<_CharT>::id; template<> numpunct::~numpunct(); template<> void numpunct::_M_initialize_numpunct(__c_locale __cloc); template<> numpunct::~numpunct(); template<> void numpunct::_M_initialize_numpunct(__c_locale __cloc); template class numpunct_byname : public numpunct<_CharT> { public: typedef _CharT char_type; typedef basic_string<_CharT> string_type; explicit numpunct_byname(const char* __s, size_t __refs = 0) : numpunct<_CharT>(__refs) { if (__builtin_strcmp(__s, "C") != 0 && __builtin_strcmp(__s, "POSIX") != 0) { __c_locale __tmp; this->_S_create_c_locale(__tmp, __s); this->_M_initialize_numpunct(__tmp); this->_S_destroy_c_locale(__tmp); } } explicit numpunct_byname(const string& __s, size_t __refs = 0) : numpunct_byname(__s.c_str(), __refs) { } protected: virtual ~numpunct_byname() { } }; # 1951 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 template class num_get : public locale::facet { public: typedef _CharT char_type; typedef _InIter iter_type; static locale::id id; # 1972 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 explicit num_get(size_t __refs = 0) : facet(__refs) { } # 1998 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, bool& __v) const { return this->do_get(__in, __end, __io, __err, __v); } # 2035 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, long& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned short& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned int& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned long& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, long long& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned long long& __v) const { return this->do_get(__in, __end, __io, __err, __v); } # 2095 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, float& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, double& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, long double& __v) const { return this->do_get(__in, __end, __io, __err, __v); } # 2138 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, void*& __v) const { return this->do_get(__in, __end, __io, __err, __v); } protected: virtual ~num_get() { } iter_type _M_extract_float(iter_type, iter_type, ios_base&, ios_base::iostate&, string&) const; template iter_type _M_extract_int(iter_type, iter_type, ios_base&, ios_base::iostate&, _ValueT&) const; template typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, int>::__type _M_find(const _CharT2*, size_t __len, _CharT2 __c) const { int __ret = -1; if (__len <= 10) { if (__c >= _CharT2('0') && __c < _CharT2(_CharT2('0') + __len)) __ret = __c - _CharT2('0'); } else { if (__c >= _CharT2('0') && __c <= _CharT2('9')) __ret = __c - _CharT2('0'); else if (__c >= _CharT2('a') && __c <= _CharT2('f')) __ret = 10 + (__c - _CharT2('a')); else if (__c >= _CharT2('A') && __c <= _CharT2('F')) __ret = 10 + (__c - _CharT2('A')); } return __ret; } template typename __gnu_cxx::__enable_if::__value, int>::__type _M_find(const _CharT2* __zero, size_t __len, _CharT2 __c) const { int __ret = -1; const char_type* __q = char_traits<_CharT2>::find(__zero, __len, __c); if (__q) { __ret = __q - __zero; if (__ret > 15) __ret -= 6; } return __ret; } # 2211 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual iter_type do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, bool&) const; virtual iter_type do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, long& __v) const { return _M_extract_int(__beg, __end, __io, __err, __v); } virtual iter_type do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned short& __v) const { return _M_extract_int(__beg, __end, __io, __err, __v); } virtual iter_type do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned int& __v) const { return _M_extract_int(__beg, __end, __io, __err, __v); } virtual iter_type do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned long& __v) const { return _M_extract_int(__beg, __end, __io, __err, __v); } virtual iter_type do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, long long& __v) const { return _M_extract_int(__beg, __end, __io, __err, __v); } virtual iter_type do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned long long& __v) const { return _M_extract_int(__beg, __end, __io, __err, __v); } virtual iter_type do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, float&) const; virtual iter_type do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, double&) const; virtual iter_type do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, long double&) const; virtual iter_type do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, void*&) const; # 2274 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 }; template locale::id num_get<_CharT, _InIter>::id; # 2292 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 template class num_put : public locale::facet { public: typedef _CharT char_type; typedef _OutIter iter_type; static locale::id id; # 2313 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 explicit num_put(size_t __refs = 0) : facet(__refs) { } # 2331 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 iter_type put(iter_type __s, ios_base& __io, char_type __fill, bool __v) const { return this->do_put(__s, __io, __fill, __v); } # 2373 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 iter_type put(iter_type __s, ios_base& __io, char_type __fill, long __v) const { return this->do_put(__s, __io, __fill, __v); } iter_type put(iter_type __s, ios_base& __io, char_type __fill, unsigned long __v) const { return this->do_put(__s, __io, __fill, __v); } iter_type put(iter_type __s, ios_base& __io, char_type __fill, long long __v) const { return this->do_put(__s, __io, __fill, __v); } iter_type put(iter_type __s, ios_base& __io, char_type __fill, unsigned long long __v) const { return this->do_put(__s, __io, __fill, __v); } # 2436 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 iter_type put(iter_type __s, ios_base& __io, char_type __fill, double __v) const { return this->do_put(__s, __io, __fill, __v); } iter_type put(iter_type __s, ios_base& __io, char_type __fill, long double __v) const { return this->do_put(__s, __io, __fill, __v); } # 2461 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 iter_type put(iter_type __s, ios_base& __io, char_type __fill, const void* __v) const { return this->do_put(__s, __io, __fill, __v); } protected: template iter_type _M_insert_float(iter_type, ios_base& __io, char_type __fill, char __mod, _ValueT __v) const; void _M_group_float(const char* __grouping, size_t __grouping_size, char_type __sep, const char_type* __p, char_type* __new, char_type* __cs, int& __len) const; template iter_type _M_insert_int(iter_type, ios_base& __io, char_type __fill, _ValueT __v) const; void _M_group_int(const char* __grouping, size_t __grouping_size, char_type __sep, ios_base& __io, char_type* __new, char_type* __cs, int& __len) const; void _M_pad(char_type __fill, streamsize __w, ios_base& __io, char_type* __new, const char_type* __cs, int& __len) const; virtual ~num_put() { } # 2509 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 virtual iter_type do_put(iter_type __s, ios_base& __io, char_type __fill, bool __v) const; virtual iter_type do_put(iter_type __s, ios_base& __io, char_type __fill, long __v) const { return _M_insert_int(__s, __io, __fill, __v); } virtual iter_type do_put(iter_type __s, ios_base& __io, char_type __fill, unsigned long __v) const { return _M_insert_int(__s, __io, __fill, __v); } virtual iter_type do_put(iter_type __s, ios_base& __io, char_type __fill, long long __v) const { return _M_insert_int(__s, __io, __fill, __v); } virtual iter_type do_put(iter_type __s, ios_base& __io, char_type __fill, unsigned long long __v) const { return _M_insert_int(__s, __io, __fill, __v); } virtual iter_type do_put(iter_type, ios_base&, char_type, double) const; virtual iter_type do_put(iter_type, ios_base&, char_type, long double) const; virtual iter_type do_put(iter_type, ios_base&, char_type, const void*) const; }; template locale::id num_put<_CharT, _OutIter>::id; # 2567 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 3 template inline bool isspace(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::space, __c); } template inline bool isprint(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::print, __c); } template inline bool iscntrl(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::cntrl, __c); } template inline bool isupper(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::upper, __c); } template inline bool islower(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::lower, __c); } template inline bool isalpha(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::alpha, __c); } template inline bool isdigit(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::digit, __c); } template inline bool ispunct(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::punct, __c); } template inline bool isxdigit(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::xdigit, __c); } template inline bool isalnum(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::alnum, __c); } template inline bool isgraph(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::graph, __c); } template inline bool isblank(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::blank, __c); } template inline _CharT toupper(_CharT __c, const locale& __loc) { return use_facet >(__loc).toupper(__c); } template inline _CharT tolower(_CharT __c, const locale& __loc) { return use_facet >(__loc).tolower(__c); } } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.tcc" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template struct __use_cache { const _Facet* operator() (const locale& __loc) const; }; template struct __use_cache<__numpunct_cache<_CharT> > { const __numpunct_cache<_CharT>* operator() (const locale& __loc) const { const size_t __i = numpunct<_CharT>::id._M_id(); const locale::facet** __caches = __loc._M_impl->_M_caches; if (!__caches[__i]) { __numpunct_cache<_CharT>* __tmp = 0; try { __tmp = new __numpunct_cache<_CharT>; __tmp->_M_cache(__loc); } catch(...) { delete __tmp; throw; } __loc._M_impl->_M_install_cache(__tmp, __i); } return static_cast*>(__caches[__i]); } }; template void __numpunct_cache<_CharT>::_M_cache(const locale& __loc) { const numpunct<_CharT>& __np = use_facet >(__loc); char* __grouping = 0; _CharT* __truename = 0; _CharT* __falsename = 0; try { const string& __g = __np.grouping(); _M_grouping_size = __g.size(); __grouping = new char[_M_grouping_size]; __g.copy(__grouping, _M_grouping_size); _M_use_grouping = (_M_grouping_size && static_cast(__grouping[0]) > 0 && (__grouping[0] != __gnu_cxx::__numeric_traits::__max)); const basic_string<_CharT>& __tn = __np.truename(); _M_truename_size = __tn.size(); __truename = new _CharT[_M_truename_size]; __tn.copy(__truename, _M_truename_size); const basic_string<_CharT>& __fn = __np.falsename(); _M_falsename_size = __fn.size(); __falsename = new _CharT[_M_falsename_size]; __fn.copy(__falsename, _M_falsename_size); _M_decimal_point = __np.decimal_point(); _M_thousands_sep = __np.thousands_sep(); const ctype<_CharT>& __ct = use_facet >(__loc); __ct.widen(__num_base::_S_atoms_out, __num_base::_S_atoms_out + __num_base::_S_oend, _M_atoms_out); __ct.widen(__num_base::_S_atoms_in, __num_base::_S_atoms_in + __num_base::_S_iend, _M_atoms_in); _M_grouping = __grouping; _M_truename = __truename; _M_falsename = __falsename; _M_allocated = true; } catch(...) { delete [] __grouping; delete [] __truename; delete [] __falsename; throw; } } # 139 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.tcc" 3 __attribute__ ((__pure__)) bool __verify_grouping(const char* __grouping, size_t __grouping_size, const string& __grouping_tmp) throw (); template _InIter num_get<_CharT, _InIter>:: _M_extract_float(_InIter __beg, _InIter __end, ios_base& __io, ios_base::iostate& __err, string& __xtrc) const { typedef char_traits<_CharT> __traits_type; typedef __numpunct_cache<_CharT> __cache_type; __use_cache<__cache_type> __uc; const locale& __loc = __io._M_getloc(); const __cache_type* __lc = __uc(__loc); const _CharT* __lit = __lc->_M_atoms_in; char_type __c = char_type(); bool __testeof = __beg == __end; if (!__testeof) { __c = *__beg; const bool __plus = __c == __lit[__num_base::_S_iplus]; if ((__plus || __c == __lit[__num_base::_S_iminus]) && !(__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) && !(__c == __lc->_M_decimal_point)) { __xtrc += __plus ? '+' : '-'; if (++__beg != __end) __c = *__beg; else __testeof = true; } } bool __found_mantissa = false; int __sep_pos = 0; while (!__testeof) { if ((__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) || __c == __lc->_M_decimal_point) break; else if (__c == __lit[__num_base::_S_izero]) { if (!__found_mantissa) { __xtrc += '0'; __found_mantissa = true; } ++__sep_pos; if (++__beg != __end) __c = *__beg; else __testeof = true; } else break; } bool __found_dec = false; bool __found_sci = false; string __found_grouping; if (__lc->_M_use_grouping) __found_grouping.reserve(32); const char_type* __lit_zero = __lit + __num_base::_S_izero; if (!__lc->_M_allocated) while (!__testeof) { const int __digit = _M_find(__lit_zero, 10, __c); if (__digit != -1) { __xtrc += '0' + __digit; __found_mantissa = true; } else if (__c == __lc->_M_decimal_point && !__found_dec && !__found_sci) { __xtrc += '.'; __found_dec = true; } else if ((__c == __lit[__num_base::_S_ie] || __c == __lit[__num_base::_S_iE]) && !__found_sci && __found_mantissa) { __xtrc += 'e'; __found_sci = true; if (++__beg != __end) { __c = *__beg; const bool __plus = __c == __lit[__num_base::_S_iplus]; if (__plus || __c == __lit[__num_base::_S_iminus]) __xtrc += __plus ? '+' : '-'; else continue; } else { __testeof = true; break; } } else break; if (++__beg != __end) __c = *__beg; else __testeof = true; } else while (!__testeof) { if (__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) { if (!__found_dec && !__found_sci) { if (__sep_pos) { __found_grouping += static_cast(__sep_pos); __sep_pos = 0; } else { __xtrc.clear(); break; } } else break; } else if (__c == __lc->_M_decimal_point) { if (!__found_dec && !__found_sci) { if (__found_grouping.size()) __found_grouping += static_cast(__sep_pos); __xtrc += '.'; __found_dec = true; } else break; } else { const char_type* __q = __traits_type::find(__lit_zero, 10, __c); if (__q) { __xtrc += '0' + (__q - __lit_zero); __found_mantissa = true; ++__sep_pos; } else if ((__c == __lit[__num_base::_S_ie] || __c == __lit[__num_base::_S_iE]) && !__found_sci && __found_mantissa) { if (__found_grouping.size() && !__found_dec) __found_grouping += static_cast(__sep_pos); __xtrc += 'e'; __found_sci = true; if (++__beg != __end) { __c = *__beg; const bool __plus = __c == __lit[__num_base::_S_iplus]; if ((__plus || __c == __lit[__num_base::_S_iminus]) && !(__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) && !(__c == __lc->_M_decimal_point)) __xtrc += __plus ? '+' : '-'; else continue; } else { __testeof = true; break; } } else break; } if (++__beg != __end) __c = *__beg; else __testeof = true; } if (__found_grouping.size()) { if (!__found_dec && !__found_sci) __found_grouping += static_cast(__sep_pos); if (!std::__verify_grouping(__lc->_M_grouping, __lc->_M_grouping_size, __found_grouping)) __err = ios_base::failbit; } return __beg; } template template _InIter num_get<_CharT, _InIter>:: _M_extract_int(_InIter __beg, _InIter __end, ios_base& __io, ios_base::iostate& __err, _ValueT& __v) const { typedef char_traits<_CharT> __traits_type; using __gnu_cxx::__add_unsigned; typedef typename __add_unsigned<_ValueT>::__type __unsigned_type; typedef __numpunct_cache<_CharT> __cache_type; __use_cache<__cache_type> __uc; const locale& __loc = __io._M_getloc(); const __cache_type* __lc = __uc(__loc); const _CharT* __lit = __lc->_M_atoms_in; char_type __c = char_type(); const ios_base::fmtflags __basefield = __io.flags() & ios_base::basefield; const bool __oct = __basefield == ios_base::oct; int __base = __oct ? 8 : (__basefield == ios_base::hex ? 16 : 10); bool __testeof = __beg == __end; bool __negative = false; if (!__testeof) { __c = *__beg; __negative = __c == __lit[__num_base::_S_iminus]; if ((__negative || __c == __lit[__num_base::_S_iplus]) && !(__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) && !(__c == __lc->_M_decimal_point)) { if (++__beg != __end) __c = *__beg; else __testeof = true; } } bool __found_zero = false; int __sep_pos = 0; while (!__testeof) { if ((__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) || __c == __lc->_M_decimal_point) break; else if (__c == __lit[__num_base::_S_izero] && (!__found_zero || __base == 10)) { __found_zero = true; ++__sep_pos; if (__basefield == 0) __base = 8; if (__base == 8) __sep_pos = 0; } else if (__found_zero && (__c == __lit[__num_base::_S_ix] || __c == __lit[__num_base::_S_iX])) { if (__basefield == 0) __base = 16; if (__base == 16) { __found_zero = false; __sep_pos = 0; } else break; } else break; if (++__beg != __end) { __c = *__beg; if (!__found_zero) break; } else __testeof = true; } const size_t __len = (__base == 16 ? __num_base::_S_iend - __num_base::_S_izero : __base); typedef __gnu_cxx::__numeric_traits<_ValueT> __num_traits; string __found_grouping; if (__lc->_M_use_grouping) __found_grouping.reserve(32); bool __testfail = false; bool __testoverflow = false; const __unsigned_type __max = (__negative && __num_traits::__is_signed) ? -static_cast<__unsigned_type>(__num_traits::__min) : __num_traits::__max; const __unsigned_type __smax = __max / __base; __unsigned_type __result = 0; int __digit = 0; const char_type* __lit_zero = __lit + __num_base::_S_izero; if (!__lc->_M_allocated) while (!__testeof) { __digit = _M_find(__lit_zero, __len, __c); if (__digit == -1) break; if (__result > __smax) __testoverflow = true; else { __result *= __base; __testoverflow |= __result > __max - __digit; __result += __digit; ++__sep_pos; } if (++__beg != __end) __c = *__beg; else __testeof = true; } else while (!__testeof) { if (__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) { if (__sep_pos) { __found_grouping += static_cast(__sep_pos); __sep_pos = 0; } else { __testfail = true; break; } } else if (__c == __lc->_M_decimal_point) break; else { const char_type* __q = __traits_type::find(__lit_zero, __len, __c); if (!__q) break; __digit = __q - __lit_zero; if (__digit > 15) __digit -= 6; if (__result > __smax) __testoverflow = true; else { __result *= __base; __testoverflow |= __result > __max - __digit; __result += __digit; ++__sep_pos; } } if (++__beg != __end) __c = *__beg; else __testeof = true; } if (__found_grouping.size()) { __found_grouping += static_cast(__sep_pos); if (!std::__verify_grouping(__lc->_M_grouping, __lc->_M_grouping_size, __found_grouping)) __err = ios_base::failbit; } if ((!__sep_pos && !__found_zero && !__found_grouping.size()) || __testfail) { __v = 0; __err = ios_base::failbit; } else if (__testoverflow) { if (__negative && __num_traits::__is_signed) __v = __num_traits::__min; else __v = __num_traits::__max; __err = ios_base::failbit; } else __v = __negative ? -__result : __result; if (__testeof) __err |= ios_base::eofbit; return __beg; } template _InIter num_get<_CharT, _InIter>:: do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, bool& __v) const { if (!(__io.flags() & ios_base::boolalpha)) { long __l = -1; __beg = _M_extract_int(__beg, __end, __io, __err, __l); if (__l == 0 || __l == 1) __v = bool(__l); else { __v = true; __err = ios_base::failbit; if (__beg == __end) __err |= ios_base::eofbit; } } else { typedef __numpunct_cache<_CharT> __cache_type; __use_cache<__cache_type> __uc; const locale& __loc = __io._M_getloc(); const __cache_type* __lc = __uc(__loc); bool __testf = true; bool __testt = true; bool __donef = __lc->_M_falsename_size == 0; bool __donet = __lc->_M_truename_size == 0; bool __testeof = false; size_t __n = 0; while (!__donef || !__donet) { if (__beg == __end) { __testeof = true; break; } const char_type __c = *__beg; if (!__donef) __testf = __c == __lc->_M_falsename[__n]; if (!__testf && __donet) break; if (!__donet) __testt = __c == __lc->_M_truename[__n]; if (!__testt && __donef) break; if (!__testt && !__testf) break; ++__n; ++__beg; __donef = !__testf || __n >= __lc->_M_falsename_size; __donet = !__testt || __n >= __lc->_M_truename_size; } if (__testf && __n == __lc->_M_falsename_size && __n) { __v = false; if (__testt && __n == __lc->_M_truename_size) __err = ios_base::failbit; else __err = __testeof ? ios_base::eofbit : ios_base::goodbit; } else if (__testt && __n == __lc->_M_truename_size && __n) { __v = true; __err = __testeof ? ios_base::eofbit : ios_base::goodbit; } else { __v = false; __err = ios_base::failbit; if (__testeof) __err |= ios_base::eofbit; } } return __beg; } template _InIter num_get<_CharT, _InIter>:: do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, float& __v) const { string __xtrc; __xtrc.reserve(32); __beg = _M_extract_float(__beg, __end, __io, __err, __xtrc); std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale()); if (__beg == __end) __err |= ios_base::eofbit; return __beg; } template _InIter num_get<_CharT, _InIter>:: do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, double& __v) const { string __xtrc; __xtrc.reserve(32); __beg = _M_extract_float(__beg, __end, __io, __err, __xtrc); std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale()); if (__beg == __end) __err |= ios_base::eofbit; return __beg; } # 735 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.tcc" 3 template _InIter num_get<_CharT, _InIter>:: do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, long double& __v) const { string __xtrc; __xtrc.reserve(32); __beg = _M_extract_float(__beg, __end, __io, __err, __xtrc); std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale()); if (__beg == __end) __err |= ios_base::eofbit; return __beg; } template _InIter num_get<_CharT, _InIter>:: do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, void*& __v) const { typedef ios_base::fmtflags fmtflags; const fmtflags __fmt = __io.flags(); __io.flags((__fmt & ~ios_base::basefield) | ios_base::hex); typedef __gnu_cxx::__conditional_type<(sizeof(void*) <= sizeof(unsigned long)), unsigned long, unsigned long long>::__type _UIntPtrType; _UIntPtrType __ul; __beg = _M_extract_int(__beg, __end, __io, __err, __ul); __io.flags(__fmt); __v = reinterpret_cast(__ul); return __beg; } template void num_put<_CharT, _OutIter>:: _M_pad(_CharT __fill, streamsize __w, ios_base& __io, _CharT* __new, const _CharT* __cs, int& __len) const { __pad<_CharT, char_traits<_CharT> >::_S_pad(__io, __fill, __new, __cs, __w, __len); __len = static_cast(__w); } template int __int_to_char(_CharT* __bufend, _ValueT __v, const _CharT* __lit, ios_base::fmtflags __flags, bool __dec) { _CharT* __buf = __bufend; if (__builtin_expect(__dec, true)) { do { *--__buf = __lit[(__v % 10) + __num_base::_S_odigits]; __v /= 10; } while (__v != 0); } else if ((__flags & ios_base::basefield) == ios_base::oct) { do { *--__buf = __lit[(__v & 0x7) + __num_base::_S_odigits]; __v >>= 3; } while (__v != 0); } else { const bool __uppercase = __flags & ios_base::uppercase; const int __case_offset = __uppercase ? __num_base::_S_oudigits : __num_base::_S_odigits; do { *--__buf = __lit[(__v & 0xf) + __case_offset]; __v >>= 4; } while (__v != 0); } return __bufend - __buf; } template void num_put<_CharT, _OutIter>:: _M_group_int(const char* __grouping, size_t __grouping_size, _CharT __sep, ios_base&, _CharT* __new, _CharT* __cs, int& __len) const { _CharT* __p = std::__add_grouping(__new, __sep, __grouping, __grouping_size, __cs, __cs + __len); __len = __p - __new; } template template _OutIter num_put<_CharT, _OutIter>:: _M_insert_int(_OutIter __s, ios_base& __io, _CharT __fill, _ValueT __v) const { using __gnu_cxx::__add_unsigned; typedef typename __add_unsigned<_ValueT>::__type __unsigned_type; typedef __numpunct_cache<_CharT> __cache_type; __use_cache<__cache_type> __uc; const locale& __loc = __io._M_getloc(); const __cache_type* __lc = __uc(__loc); const _CharT* __lit = __lc->_M_atoms_out; const ios_base::fmtflags __flags = __io.flags(); const int __ilen = 5 * sizeof(_ValueT); _CharT* __cs = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __ilen)); const ios_base::fmtflags __basefield = __flags & ios_base::basefield; const bool __dec = (__basefield != ios_base::oct && __basefield != ios_base::hex); const __unsigned_type __u = ((__v > 0 || !__dec) ? __unsigned_type(__v) : -__unsigned_type(__v)); int __len = __int_to_char(__cs + __ilen, __u, __lit, __flags, __dec); __cs += __ilen - __len; if (__lc->_M_use_grouping) { _CharT* __cs2 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * (__len + 1) * 2)); _M_group_int(__lc->_M_grouping, __lc->_M_grouping_size, __lc->_M_thousands_sep, __io, __cs2 + 2, __cs, __len); __cs = __cs2 + 2; } if (__builtin_expect(__dec, true)) { if (__v >= 0) { if (bool(__flags & ios_base::showpos) && __gnu_cxx::__numeric_traits<_ValueT>::__is_signed) *--__cs = __lit[__num_base::_S_oplus], ++__len; } else *--__cs = __lit[__num_base::_S_ominus], ++__len; } else if (bool(__flags & ios_base::showbase) && __v) { if (__basefield == ios_base::oct) *--__cs = __lit[__num_base::_S_odigits], ++__len; else { const bool __uppercase = __flags & ios_base::uppercase; *--__cs = __lit[__num_base::_S_ox + __uppercase]; *--__cs = __lit[__num_base::_S_odigits]; __len += 2; } } const streamsize __w = __io.width(); if (__w > static_cast(__len)) { _CharT* __cs3 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __w)); _M_pad(__fill, __w, __io, __cs3, __cs, __len); __cs = __cs3; } __io.width(0); return std::__write(__s, __cs, __len); } template void num_put<_CharT, _OutIter>:: _M_group_float(const char* __grouping, size_t __grouping_size, _CharT __sep, const _CharT* __p, _CharT* __new, _CharT* __cs, int& __len) const { const int __declen = __p ? __p - __cs : __len; _CharT* __p2 = std::__add_grouping(__new, __sep, __grouping, __grouping_size, __cs, __cs + __declen); int __newlen = __p2 - __new; if (__p) { char_traits<_CharT>::copy(__p2, __p, __len - __declen); __newlen += __len - __declen; } __len = __newlen; } # 971 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.tcc" 3 template template _OutIter num_put<_CharT, _OutIter>:: _M_insert_float(_OutIter __s, ios_base& __io, _CharT __fill, char __mod, _ValueT __v) const { typedef __numpunct_cache<_CharT> __cache_type; __use_cache<__cache_type> __uc; const locale& __loc = __io._M_getloc(); const __cache_type* __lc = __uc(__loc); const streamsize __prec = __io.precision() < 0 ? 6 : __io.precision(); const int __max_digits = __gnu_cxx::__numeric_traits<_ValueT>::__digits10; int __len; char __fbuf[16]; __num_base::_S_format_float(__io, __fbuf, __mod); const bool __use_prec = (__io.flags() & ios_base::floatfield) != ios_base::floatfield; int __cs_size = __max_digits * 3; char* __cs = static_cast(__builtin_alloca(__cs_size)); if (__use_prec) __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, __fbuf, __prec, __v); else __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, __fbuf, __v); if (__len >= __cs_size) { __cs_size = __len + 1; __cs = static_cast(__builtin_alloca(__cs_size)); if (__use_prec) __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, __fbuf, __prec, __v); else __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, __fbuf, __v); } # 1044 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.tcc" 3 const ctype<_CharT>& __ctype = use_facet >(__loc); _CharT* __ws = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __len)); __ctype.widen(__cs, __cs + __len, __ws); _CharT* __wp = 0; const char* __p = char_traits::find(__cs, __len, '.'); if (__p) { __wp = __ws + (__p - __cs); *__wp = __lc->_M_decimal_point; } if (__lc->_M_use_grouping && (__wp || __len < 3 || (__cs[1] <= '9' && __cs[2] <= '9' && __cs[1] >= '0' && __cs[2] >= '0'))) { _CharT* __ws2 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __len * 2)); streamsize __off = 0; if (__cs[0] == '-' || __cs[0] == '+') { __off = 1; __ws2[0] = __ws[0]; __len -= 1; } _M_group_float(__lc->_M_grouping, __lc->_M_grouping_size, __lc->_M_thousands_sep, __wp, __ws2 + __off, __ws + __off, __len); __len += __off; __ws = __ws2; } const streamsize __w = __io.width(); if (__w > static_cast(__len)) { _CharT* __ws3 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __w)); _M_pad(__fill, __w, __io, __ws3, __ws, __len); __ws = __ws3; } __io.width(0); return std::__write(__s, __ws, __len); } template _OutIter num_put<_CharT, _OutIter>:: do_put(iter_type __s, ios_base& __io, char_type __fill, bool __v) const { const ios_base::fmtflags __flags = __io.flags(); if ((__flags & ios_base::boolalpha) == 0) { const long __l = __v; __s = _M_insert_int(__s, __io, __fill, __l); } else { typedef __numpunct_cache<_CharT> __cache_type; __use_cache<__cache_type> __uc; const locale& __loc = __io._M_getloc(); const __cache_type* __lc = __uc(__loc); const _CharT* __name = __v ? __lc->_M_truename : __lc->_M_falsename; int __len = __v ? __lc->_M_truename_size : __lc->_M_falsename_size; const streamsize __w = __io.width(); if (__w > static_cast(__len)) { const streamsize __plen = __w - __len; _CharT* __ps = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __plen)); char_traits<_CharT>::assign(__ps, __plen, __fill); __io.width(0); if ((__flags & ios_base::adjustfield) == ios_base::left) { __s = std::__write(__s, __name, __len); __s = std::__write(__s, __ps, __plen); } else { __s = std::__write(__s, __ps, __plen); __s = std::__write(__s, __name, __len); } return __s; } __io.width(0); __s = std::__write(__s, __name, __len); } return __s; } template _OutIter num_put<_CharT, _OutIter>:: do_put(iter_type __s, ios_base& __io, char_type __fill, double __v) const { return _M_insert_float(__s, __io, __fill, char(), __v); } # 1169 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.tcc" 3 template _OutIter num_put<_CharT, _OutIter>:: do_put(iter_type __s, ios_base& __io, char_type __fill, long double __v) const { return _M_insert_float(__s, __io, __fill, 'L', __v); } template _OutIter num_put<_CharT, _OutIter>:: do_put(iter_type __s, ios_base& __io, char_type __fill, const void* __v) const { const ios_base::fmtflags __flags = __io.flags(); const ios_base::fmtflags __fmt = ~(ios_base::basefield | ios_base::uppercase); __io.flags((__flags & __fmt) | (ios_base::hex | ios_base::showbase)); typedef __gnu_cxx::__conditional_type<(sizeof(const void*) <= sizeof(unsigned long)), unsigned long, unsigned long long>::__type _UIntPtrType; __s = _M_insert_int(__s, __io, __fill, reinterpret_cast<_UIntPtrType>(__v)); __io.flags(__flags); return __s; } # 1206 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.tcc" 3 template void __pad<_CharT, _Traits>::_S_pad(ios_base& __io, _CharT __fill, _CharT* __news, const _CharT* __olds, streamsize __newlen, streamsize __oldlen) { const size_t __plen = static_cast(__newlen - __oldlen); const ios_base::fmtflags __adjust = __io.flags() & ios_base::adjustfield; if (__adjust == ios_base::left) { _Traits::copy(__news, __olds, __oldlen); _Traits::assign(__news + __oldlen, __plen, __fill); return; } size_t __mod = 0; if (__adjust == ios_base::internal) { const locale& __loc = __io._M_getloc(); const ctype<_CharT>& __ctype = use_facet >(__loc); if (__ctype.widen('-') == __olds[0] || __ctype.widen('+') == __olds[0]) { __news[0] = __olds[0]; __mod = 1; ++__news; } else if (__ctype.widen('0') == __olds[0] && __oldlen > 1 && (__ctype.widen('x') == __olds[1] || __ctype.widen('X') == __olds[1])) { __news[0] = __olds[0]; __news[1] = __olds[1]; __mod = 2; __news += 2; } } _Traits::assign(__news, __plen, __fill); _Traits::copy(__news + __plen, __olds + __mod, __oldlen - __mod); } template _CharT* __add_grouping(_CharT* __s, _CharT __sep, const char* __gbeg, size_t __gsize, const _CharT* __first, const _CharT* __last) { size_t __idx = 0; size_t __ctr = 0; while (__last - __first > __gbeg[__idx] && static_cast(__gbeg[__idx]) > 0 && __gbeg[__idx] != __gnu_cxx::__numeric_traits::__max) { __last -= __gbeg[__idx]; __idx < __gsize - 1 ? ++__idx : ++__ctr; } while (__first != __last) *__s++ = *__first++; while (__ctr--) { *__s++ = __sep; for (char __i = __gbeg[__idx]; __i > 0; --__i) *__s++ = *__first++; } while (__idx--) { *__s++ = __sep; for (char __i = __gbeg[__idx]; __i > 0; --__i) *__s++ = *__first++; } return __s; } extern template class numpunct; extern template class numpunct_byname; extern template class num_get; extern template class num_put; extern template class ctype_byname; extern template const ctype& use_facet >(const locale&); extern template const numpunct& use_facet >(const locale&); extern template const num_put& use_facet >(const locale&); extern template const num_get& use_facet >(const locale&); extern template bool has_facet >(const locale&); extern template bool has_facet >(const locale&); extern template bool has_facet >(const locale&); extern template bool has_facet >(const locale&); extern template class numpunct; extern template class numpunct_byname; extern template class num_get; extern template class num_put; extern template class ctype_byname; extern template const ctype& use_facet >(const locale&); extern template const numpunct& use_facet >(const locale&); extern template const num_put& use_facet >(const locale&); extern template const num_get& use_facet >(const locale&); extern template bool has_facet >(const locale&); extern template bool has_facet >(const locale&); extern template bool has_facet >(const locale&); extern template bool has_facet >(const locale&); } # 2656 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/locale_facets.h" 2 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template inline const _Facet& __check_facet(const _Facet* __f) { if (!__f) __throw_bad_cast(); return *__f; } # 66 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 template class basic_ios : public ios_base { public: typedef _CharT char_type; typedef typename _Traits::int_type int_type; typedef typename _Traits::pos_type pos_type; typedef typename _Traits::off_type off_type; typedef _Traits traits_type; typedef ctype<_CharT> __ctype_type; typedef num_put<_CharT, ostreambuf_iterator<_CharT, _Traits> > __num_put_type; typedef num_get<_CharT, istreambuf_iterator<_CharT, _Traits> > __num_get_type; protected: basic_ostream<_CharT, _Traits>* _M_tie; mutable char_type _M_fill; mutable bool _M_fill_init; basic_streambuf<_CharT, _Traits>* _M_streambuf; const __ctype_type* _M_ctype; const __num_put_type* _M_num_put; const __num_get_type* _M_num_get; public: # 117 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 explicit operator bool() const { return !this->fail(); } bool operator!() const { return this->fail(); } # 136 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 iostate rdstate() const { return _M_streambuf_state; } # 147 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 void clear(iostate __state = goodbit); void setstate(iostate __state) { this->clear(this->rdstate() | __state); } void _M_setstate(iostate __state) { _M_streambuf_state |= __state; if (this->exceptions() & __state) throw; } bool good() const { return this->rdstate() == 0; } bool eof() const { return (this->rdstate() & eofbit) != 0; } # 200 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 bool fail() const { return (this->rdstate() & (badbit | failbit)) != 0; } bool bad() const { return (this->rdstate() & badbit) != 0; } # 221 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 iostate exceptions() const { return _M_exception; } # 256 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 void exceptions(iostate __except) { _M_exception = __except; this->clear(_M_streambuf_state); } explicit basic_ios(basic_streambuf<_CharT, _Traits>* __sb) : ios_base(), _M_tie(0), _M_fill(), _M_fill_init(false), _M_streambuf(0), _M_ctype(0), _M_num_put(0), _M_num_get(0) { this->init(__sb); } virtual ~basic_ios() { } # 294 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 basic_ostream<_CharT, _Traits>* tie() const { return _M_tie; } # 306 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 basic_ostream<_CharT, _Traits>* tie(basic_ostream<_CharT, _Traits>* __tiestr) { basic_ostream<_CharT, _Traits>* __old = _M_tie; _M_tie = __tiestr; return __old; } basic_streambuf<_CharT, _Traits>* rdbuf() const { return _M_streambuf; } # 346 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 basic_streambuf<_CharT, _Traits>* rdbuf(basic_streambuf<_CharT, _Traits>* __sb); # 360 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 basic_ios& copyfmt(const basic_ios& __rhs); char_type fill() const { if (!_M_fill_init) { _M_fill = this->widen(' '); _M_fill_init = true; } return _M_fill; } # 389 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 char_type fill(char_type __ch) { char_type __old = this->fill(); _M_fill = __ch; return __old; } # 409 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 locale imbue(const locale& __loc); # 429 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 char narrow(char_type __c, char __dfault) const { return __check_facet(_M_ctype).narrow(__c, __dfault); } # 448 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 3 char_type widen(char __c) const { return __check_facet(_M_ctype).widen(__c); } protected: basic_ios() : ios_base(), _M_tie(0), _M_fill(char_type()), _M_fill_init(false), _M_streambuf(0), _M_ctype(0), _M_num_put(0), _M_num_get(0) { } void init(basic_streambuf<_CharT, _Traits>* __sb); basic_ios(const basic_ios&) = delete; basic_ios& operator=(const basic_ios&) = delete; void move(basic_ios& __rhs) { ios_base::_M_move(__rhs); _M_cache_locale(_M_ios_locale); this->tie(__rhs.tie(nullptr)); _M_fill = __rhs._M_fill; _M_fill_init = __rhs._M_fill_init; _M_streambuf = nullptr; } void move(basic_ios&& __rhs) { this->move(__rhs); } void swap(basic_ios& __rhs) noexcept { ios_base::_M_swap(__rhs); _M_cache_locale(_M_ios_locale); __rhs._M_cache_locale(__rhs._M_ios_locale); std::swap(_M_tie, __rhs._M_tie); std::swap(_M_fill, __rhs._M_fill); std::swap(_M_fill_init, __rhs._M_fill_init); } void set_rdbuf(basic_streambuf<_CharT, _Traits>* __sb) { _M_streambuf = __sb; } void _M_cache_locale(const locale& __loc); }; } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.tcc" 1 3 # 34 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template void basic_ios<_CharT, _Traits>::clear(iostate __state) { if (this->rdbuf()) _M_streambuf_state = __state; else _M_streambuf_state = __state | badbit; if (this->exceptions() & this->rdstate()) __throw_ios_failure(("basic_ios::clear")); } template basic_streambuf<_CharT, _Traits>* basic_ios<_CharT, _Traits>::rdbuf(basic_streambuf<_CharT, _Traits>* __sb) { basic_streambuf<_CharT, _Traits>* __old = _M_streambuf; _M_streambuf = __sb; this->clear(); return __old; } template basic_ios<_CharT, _Traits>& basic_ios<_CharT, _Traits>::copyfmt(const basic_ios& __rhs) { if (this != &__rhs) { _Words* __words = (__rhs._M_word_size <= _S_local_word_size) ? _M_local_word : new _Words[__rhs._M_word_size]; _Callback_list* __cb = __rhs._M_callbacks; if (__cb) __cb->_M_add_reference(); _M_call_callbacks(erase_event); if (_M_word != _M_local_word) { delete [] _M_word; _M_word = 0; } _M_dispose_callbacks(); _M_callbacks = __cb; for (int __i = 0; __i < __rhs._M_word_size; ++__i) __words[__i] = __rhs._M_word[__i]; _M_word = __words; _M_word_size = __rhs._M_word_size; this->flags(__rhs.flags()); this->width(__rhs.width()); this->precision(__rhs.precision()); this->tie(__rhs.tie()); this->fill(__rhs.fill()); _M_ios_locale = __rhs.getloc(); _M_cache_locale(_M_ios_locale); _M_call_callbacks(copyfmt_event); this->exceptions(__rhs.exceptions()); } return *this; } template locale basic_ios<_CharT, _Traits>::imbue(const locale& __loc) { locale __old(this->getloc()); ios_base::imbue(__loc); _M_cache_locale(__loc); if (this->rdbuf() != 0) this->rdbuf()->pubimbue(__loc); return __old; } template void basic_ios<_CharT, _Traits>::init(basic_streambuf<_CharT, _Traits>* __sb) { ios_base::_M_init(); _M_cache_locale(_M_ios_locale); # 146 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.tcc" 3 _M_fill = _CharT(); _M_fill_init = false; _M_tie = 0; _M_exception = goodbit; _M_streambuf = __sb; _M_streambuf_state = __sb ? goodbit : badbit; } template void basic_ios<_CharT, _Traits>::_M_cache_locale(const locale& __loc) { if (__builtin_expect(has_facet<__ctype_type>(__loc), true)) _M_ctype = std::__addressof(use_facet<__ctype_type>(__loc)); else _M_ctype = 0; if (__builtin_expect(has_facet<__num_put_type>(__loc), true)) _M_num_put = std::__addressof(use_facet<__num_put_type>(__loc)); else _M_num_put = 0; if (__builtin_expect(has_facet<__num_get_type>(__loc), true)) _M_num_get = std::__addressof(use_facet<__num_get_type>(__loc)); else _M_num_get = 0; } extern template class basic_ios; extern template class basic_ios; } # 517 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/basic_ios.h" 2 3 # 45 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ios" 2 3 # 39 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 2 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 1 3 # 37 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 57 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 template class basic_ostream : virtual public basic_ios<_CharT, _Traits> { public: typedef _CharT char_type; typedef typename _Traits::int_type int_type; typedef typename _Traits::pos_type pos_type; typedef typename _Traits::off_type off_type; typedef _Traits traits_type; typedef basic_streambuf<_CharT, _Traits> __streambuf_type; typedef basic_ios<_CharT, _Traits> __ios_type; typedef basic_ostream<_CharT, _Traits> __ostream_type; typedef num_put<_CharT, ostreambuf_iterator<_CharT, _Traits> > __num_put_type; typedef ctype<_CharT> __ctype_type; # 83 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 explicit basic_ostream(__streambuf_type* __sb) { this->init(__sb); } virtual ~basic_ostream() { } class sentry; friend class sentry; # 107 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& operator<<(__ostream_type& (*__pf)(__ostream_type&)) { return __pf(*this); } __ostream_type& operator<<(__ios_type& (*__pf)(__ios_type&)) { __pf(*this); return *this; } __ostream_type& operator<<(ios_base& (*__pf) (ios_base&)) { __pf(*this); return *this; } # 165 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& operator<<(long __n) { return _M_insert(__n); } __ostream_type& operator<<(unsigned long __n) { return _M_insert(__n); } __ostream_type& operator<<(bool __n) { return _M_insert(__n); } __ostream_type& operator<<(short __n); __ostream_type& operator<<(unsigned short __n) { return _M_insert(static_cast(__n)); } __ostream_type& operator<<(int __n); __ostream_type& operator<<(unsigned int __n) { return _M_insert(static_cast(__n)); } __ostream_type& operator<<(long long __n) { return _M_insert(__n); } __ostream_type& operator<<(unsigned long long __n) { return _M_insert(__n); } # 219 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& operator<<(double __f) { return _M_insert(__f); } __ostream_type& operator<<(float __f) { return _M_insert(static_cast(__f)); } __ostream_type& operator<<(long double __f) { return _M_insert(__f); } # 244 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& operator<<(const void* __p) { return _M_insert(__p); } # 275 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& operator<<(__streambuf_type* __sb); # 308 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& put(char_type __c); void _M_write(const char_type* __s, streamsize __n) { const streamsize __put = this->rdbuf()->sputn(__s, __n); if (__put != __n) this->setstate(ios_base::badbit); } # 340 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& write(const char_type* __s, streamsize __n); # 353 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& flush(); # 363 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 pos_type tellp(); # 374 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& seekp(pos_type); # 386 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 __ostream_type& seekp(off_type, ios_base::seekdir); protected: basic_ostream() { this->init(0); } basic_ostream(basic_iostream<_CharT, _Traits>&) { } basic_ostream(const basic_ostream&) = delete; basic_ostream(basic_ostream&& __rhs) : __ios_type() { __ios_type::move(__rhs); } basic_ostream& operator=(const basic_ostream&) = delete; basic_ostream& operator=(basic_ostream&& __rhs) { swap(__rhs); return *this; } void swap(basic_ostream& __rhs) { __ios_type::swap(__rhs); } template __ostream_type& _M_insert(_ValueT __v); }; # 431 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 template class basic_ostream<_CharT, _Traits>::sentry { bool _M_ok; basic_ostream<_CharT, _Traits>& _M_os; public: # 450 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 explicit sentry(basic_ostream<_CharT, _Traits>& __os); #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdeprecated-declarations" ~sentry() { if (bool(_M_os.flags() & ios_base::unitbuf) && !uncaught_exception()) { if (_M_os.rdbuf() && _M_os.rdbuf()->pubsync() == -1) _M_os.setstate(ios_base::badbit); } } #pragma GCC diagnostic pop # 482 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 explicit operator bool() const { return _M_ok; } }; # 504 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 template inline basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) { return __ostream_insert(__out, &__c, 1); } template inline basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __out, char __c) { return (__out << __out.widen(__c)); } template inline basic_ostream& operator<<(basic_ostream& __out, char __c) { return __ostream_insert(__out, &__c, 1); } template inline basic_ostream& operator<<(basic_ostream& __out, signed char __c) { return (__out << static_cast(__c)); } template inline basic_ostream& operator<<(basic_ostream& __out, unsigned char __c) { return (__out << static_cast(__c)); } # 587 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 template inline basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) { if (!__s) __out.setstate(ios_base::badbit); else __ostream_insert(__out, __s, static_cast(_Traits::length(__s))); return __out; } template basic_ostream<_CharT, _Traits> & operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s); template inline basic_ostream& operator<<(basic_ostream& __out, const char* __s) { if (!__s) __out.setstate(ios_base::badbit); else __ostream_insert(__out, __s, static_cast(_Traits::length(__s))); return __out; } template inline basic_ostream& operator<<(basic_ostream& __out, const signed char* __s) { return (__out << reinterpret_cast(__s)); } template inline basic_ostream & operator<<(basic_ostream& __out, const unsigned char* __s) { return (__out << reinterpret_cast(__s)); } # 679 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 template inline basic_ostream<_CharT, _Traits>& endl(basic_ostream<_CharT, _Traits>& __os) { return flush(__os.put(__os.widen('\n'))); } # 691 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 template inline basic_ostream<_CharT, _Traits>& ends(basic_ostream<_CharT, _Traits>& __os) { return __os.put(_CharT()); } template inline basic_ostream<_CharT, _Traits>& flush(basic_ostream<_CharT, _Traits>& __os) { return __os.flush(); } template basic_ostream<_Ch, _Up>& __is_convertible_to_basic_ostream_test(basic_ostream<_Ch, _Up>*); template struct __is_convertible_to_basic_ostream_impl { using __ostream_type = void; }; template using __do_is_convertible_to_basic_ostream_impl = decltype(__is_convertible_to_basic_ostream_test (declval::type*>())); template struct __is_convertible_to_basic_ostream_impl <_Tp, __void_t<__do_is_convertible_to_basic_ostream_impl<_Tp>>> { using __ostream_type = __do_is_convertible_to_basic_ostream_impl<_Tp>; }; template struct __is_convertible_to_basic_ostream : __is_convertible_to_basic_ostream_impl<_Tp> { public: using type = __not_::__ostream_type>>; constexpr static bool value = type::value; }; template struct __is_insertable : false_type {}; template struct __is_insertable<_Ostream, _Tp, __void_t() << declval())>> : true_type {}; template using __rvalue_ostream_type = typename __is_convertible_to_basic_ostream< _Ostream>::__ostream_type; # 765 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 3 template inline typename enable_if<__and_<__not_>, __is_convertible_to_basic_ostream<_Ostream>, __is_insertable< __rvalue_ostream_type<_Ostream>, const _Tp&>>::value, __rvalue_ostream_type<_Ostream>>::type operator<<(_Ostream&& __os, const _Tp& __x) { __rvalue_ostream_type<_Ostream> __ret_os = __os; __ret_os << __x; return __ret_os; } } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ostream.tcc" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/ostream.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template basic_ostream<_CharT, _Traits>::sentry:: sentry(basic_ostream<_CharT, _Traits>& __os) : _M_ok(false), _M_os(__os) { if (__os.tie() && __os.good()) __os.tie()->flush(); if (__os.good()) _M_ok = true; else __os.setstate(ios_base::failbit); } template template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: _M_insert(_ValueT __v) { sentry __cerb(*this); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const __num_put_type& __np = __check_facet(this->_M_num_put); if (__np.put(*this, *this, this->fill(), __v).failed()) __err |= ios_base::badbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: operator<<(short __n) { const ios_base::fmtflags __fmt = this->flags() & ios_base::basefield; if (__fmt == ios_base::oct || __fmt == ios_base::hex) return _M_insert(static_cast(static_cast(__n))); else return _M_insert(static_cast(__n)); } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: operator<<(int __n) { const ios_base::fmtflags __fmt = this->flags() & ios_base::basefield; if (__fmt == ios_base::oct || __fmt == ios_base::hex) return _M_insert(static_cast(static_cast(__n))); else return _M_insert(static_cast(__n)); } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: operator<<(__streambuf_type* __sbin) { ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this); if (__cerb && __sbin) { try { if (!__copy_streambufs(__sbin, this->rdbuf())) __err |= ios_base::failbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::failbit); } } else if (!__sbin) __err |= ios_base::badbit; if (__err) this->setstate(__err); return *this; } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: put(char_type __c) { sentry __cerb(*this); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const int_type __put = this->rdbuf()->sputc(__c); if (traits_type::eq_int_type(__put, traits_type::eof())) __err |= ios_base::badbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: write(const _CharT* __s, streamsize __n) { sentry __cerb(*this); if (__cerb) { try { _M_write(__s, __n); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } return *this; } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: flush() { ios_base::iostate __err = ios_base::goodbit; try { if (this->rdbuf() && this->rdbuf()->pubsync() == -1) __err |= ios_base::badbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); return *this; } template typename basic_ostream<_CharT, _Traits>::pos_type basic_ostream<_CharT, _Traits>:: tellp() { pos_type __ret = pos_type(-1); try { if (!this->fail()) __ret = this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::out); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } return __ret; } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: seekp(pos_type __pos) { ios_base::iostate __err = ios_base::goodbit; try { if (!this->fail()) { const pos_type __p = this->rdbuf()->pubseekpos(__pos, ios_base::out); if (__p == pos_type(off_type(-1))) __err |= ios_base::failbit; } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); return *this; } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: seekp(off_type __off, ios_base::seekdir __dir) { ios_base::iostate __err = ios_base::goodbit; try { if (!this->fail()) { const pos_type __p = this->rdbuf()->pubseekoff(__off, __dir, ios_base::out); if (__p == pos_type(off_type(-1))) __err |= ios_base::failbit; } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); return *this; } template basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s) { if (!__s) __out.setstate(ios_base::badbit); else { const size_t __clen = char_traits::length(__s); try { struct __ptr_guard { _CharT *__p; __ptr_guard (_CharT *__ip): __p(__ip) { } ~__ptr_guard() { delete[] __p; } _CharT* __get() { return __p; } } __pg (new _CharT[__clen]); _CharT *__ws = __pg.__get(); for (size_t __i = 0; __i < __clen; ++__i) __ws[__i] = __out.widen(__s[__i]); __ostream_insert(__out, __ws, __clen); } catch(__cxxabiv1::__forced_unwind&) { __out._M_setstate(ios_base::badbit); throw; } catch(...) { __out._M_setstate(ios_base::badbit); } } return __out; } extern template class basic_ostream; extern template ostream& endl(ostream&); extern template ostream& ends(ostream&); extern template ostream& flush(ostream&); extern template ostream& operator<<(ostream&, char); extern template ostream& operator<<(ostream&, unsigned char); extern template ostream& operator<<(ostream&, signed char); extern template ostream& operator<<(ostream&, const char*); extern template ostream& operator<<(ostream&, const unsigned char*); extern template ostream& operator<<(ostream&, const signed char*); extern template ostream& ostream::_M_insert(long); extern template ostream& ostream::_M_insert(unsigned long); extern template ostream& ostream::_M_insert(bool); extern template ostream& ostream::_M_insert(long long); extern template ostream& ostream::_M_insert(unsigned long long); extern template ostream& ostream::_M_insert(double); extern template ostream& ostream::_M_insert(long double); extern template ostream& ostream::_M_insert(const void*); extern template class basic_ostream; extern template wostream& endl(wostream&); extern template wostream& ends(wostream&); extern template wostream& flush(wostream&); extern template wostream& operator<<(wostream&, wchar_t); extern template wostream& operator<<(wostream&, char); extern template wostream& operator<<(wostream&, const wchar_t*); extern template wostream& operator<<(wostream&, const char*); extern template wostream& wostream::_M_insert(long); extern template wostream& wostream::_M_insert(unsigned long); extern template wostream& wostream::_M_insert(bool); extern template wostream& wostream::_M_insert(long long); extern template wostream& wostream::_M_insert(unsigned long long); extern template wostream& wostream::_M_insert(double); extern template wostream& wostream::_M_insert(long double); extern template wostream& wostream::_M_insert(const void*); } # 785 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/ostream" 2 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 57 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 template class basic_istream : virtual public basic_ios<_CharT, _Traits> { public: typedef _CharT char_type; typedef typename _Traits::int_type int_type; typedef typename _Traits::pos_type pos_type; typedef typename _Traits::off_type off_type; typedef _Traits traits_type; typedef basic_streambuf<_CharT, _Traits> __streambuf_type; typedef basic_ios<_CharT, _Traits> __ios_type; typedef basic_istream<_CharT, _Traits> __istream_type; typedef num_get<_CharT, istreambuf_iterator<_CharT, _Traits> > __num_get_type; typedef ctype<_CharT> __ctype_type; protected: streamsize _M_gcount; public: explicit basic_istream(__streambuf_type* __sb) : _M_gcount(streamsize(0)) { this->init(__sb); } virtual ~basic_istream() { _M_gcount = streamsize(0); } class sentry; friend class sentry; # 119 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& operator>>(__istream_type& (*__pf)(__istream_type&)) { return __pf(*this); } __istream_type& operator>>(__ios_type& (*__pf)(__ios_type&)) { __pf(*this); return *this; } __istream_type& operator>>(ios_base& (*__pf)(ios_base&)) { __pf(*this); return *this; } # 167 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& operator>>(bool& __n) { return _M_extract(__n); } __istream_type& operator>>(short& __n); __istream_type& operator>>(unsigned short& __n) { return _M_extract(__n); } __istream_type& operator>>(int& __n); __istream_type& operator>>(unsigned int& __n) { return _M_extract(__n); } __istream_type& operator>>(long& __n) { return _M_extract(__n); } __istream_type& operator>>(unsigned long& __n) { return _M_extract(__n); } __istream_type& operator>>(long long& __n) { return _M_extract(__n); } __istream_type& operator>>(unsigned long long& __n) { return _M_extract(__n); } # 213 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& operator>>(float& __f) { return _M_extract(__f); } __istream_type& operator>>(double& __f) { return _M_extract(__f); } __istream_type& operator>>(long double& __f) { return _M_extract(__f); } # 234 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& operator>>(void*& __p) { return _M_extract(__p); } # 258 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& operator>>(__streambuf_type* __sb); # 268 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 streamsize gcount() const { return _M_gcount; } # 301 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 int_type get(); # 315 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& get(char_type& __c); # 342 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& get(char_type* __s, streamsize __n, char_type __delim); # 353 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& get(char_type* __s, streamsize __n) { return this->get(__s, __n, this->widen('\n')); } # 376 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& get(__streambuf_type& __sb, char_type __delim); # 386 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& get(__streambuf_type& __sb) { return this->get(__sb, this->widen('\n')); } # 415 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& getline(char_type* __s, streamsize __n, char_type __delim); # 426 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& getline(char_type* __s, streamsize __n) { return this->getline(__s, __n, this->widen('\n')); } # 450 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& ignore(streamsize __n, int_type __delim); __istream_type& ignore(streamsize __n); __istream_type& ignore(); # 467 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 int_type peek(); # 485 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& read(char_type* __s, streamsize __n); # 504 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 streamsize readsome(char_type* __s, streamsize __n); # 521 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& putback(char_type __c); # 537 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& unget(); # 555 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 int sync(); # 570 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 pos_type tellg(); # 585 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& seekg(pos_type); # 601 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 __istream_type& seekg(off_type, ios_base::seekdir); protected: basic_istream() : _M_gcount(streamsize(0)) { this->init(0); } basic_istream(const basic_istream&) = delete; basic_istream(basic_istream&& __rhs) : __ios_type(), _M_gcount(__rhs._M_gcount) { __ios_type::move(__rhs); __rhs._M_gcount = 0; } basic_istream& operator=(const basic_istream&) = delete; basic_istream& operator=(basic_istream&& __rhs) { swap(__rhs); return *this; } void swap(basic_istream& __rhs) { __ios_type::swap(__rhs); std::swap(_M_gcount, __rhs._M_gcount); } template __istream_type& _M_extract(_ValueT& __v); }; template<> basic_istream& basic_istream:: getline(char_type* __s, streamsize __n, char_type __delim); template<> basic_istream& basic_istream:: ignore(streamsize __n); template<> basic_istream& basic_istream:: ignore(streamsize __n, int_type __delim); template<> basic_istream& basic_istream:: getline(char_type* __s, streamsize __n, char_type __delim); template<> basic_istream& basic_istream:: ignore(streamsize __n); template<> basic_istream& basic_istream:: ignore(streamsize __n, int_type __delim); # 685 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 template class basic_istream<_CharT, _Traits>::sentry { bool _M_ok; public: typedef _Traits traits_type; typedef basic_streambuf<_CharT, _Traits> __streambuf_type; typedef basic_istream<_CharT, _Traits> __istream_type; typedef typename __istream_type::__ctype_type __ctype_type; typedef typename _Traits::int_type __int_type; # 721 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 explicit sentry(basic_istream<_CharT, _Traits>& __is, bool __noskipws = false); # 732 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 explicit operator bool() const { return _M_ok; } }; # 750 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c); template inline basic_istream& operator>>(basic_istream& __in, unsigned char& __c) { return (__in >> reinterpret_cast(__c)); } template inline basic_istream& operator>>(basic_istream& __in, signed char& __c) { return (__in >> reinterpret_cast(__c)); } # 792 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s); template<> basic_istream& operator>>(basic_istream& __in, char* __s); template inline basic_istream& operator>>(basic_istream& __in, unsigned char* __s) { return (__in >> reinterpret_cast(__s)); } template inline basic_istream& operator>>(basic_istream& __in, signed char* __s) { return (__in >> reinterpret_cast(__s)); } # 823 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 template class basic_iostream : public basic_istream<_CharT, _Traits>, public basic_ostream<_CharT, _Traits> { public: typedef _CharT char_type; typedef typename _Traits::int_type int_type; typedef typename _Traits::pos_type pos_type; typedef typename _Traits::off_type off_type; typedef _Traits traits_type; typedef basic_istream<_CharT, _Traits> __istream_type; typedef basic_ostream<_CharT, _Traits> __ostream_type; explicit basic_iostream(basic_streambuf<_CharT, _Traits>* __sb) : __istream_type(__sb), __ostream_type(__sb) { } virtual ~basic_iostream() { } protected: basic_iostream() : __istream_type(), __ostream_type() { } basic_iostream(const basic_iostream&) = delete; basic_iostream(basic_iostream&& __rhs) : __istream_type(std::move(__rhs)), __ostream_type(*this) { } basic_iostream& operator=(const basic_iostream&) = delete; basic_iostream& operator=(basic_iostream&& __rhs) { swap(__rhs); return *this; } void swap(basic_iostream& __rhs) { __istream_type::swap(__rhs); } }; # 906 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 template basic_istream<_CharT, _Traits>& ws(basic_istream<_CharT, _Traits>& __is); template basic_istream<_Ch, _Up>& __is_convertible_to_basic_istream_test(basic_istream<_Ch, _Up>*); template struct __is_convertible_to_basic_istream_impl { using __istream_type = void; }; template using __do_is_convertible_to_basic_istream_impl = decltype(__is_convertible_to_basic_istream_test (declval::type*>())); template struct __is_convertible_to_basic_istream_impl <_Tp, __void_t<__do_is_convertible_to_basic_istream_impl<_Tp>>> { using __istream_type = __do_is_convertible_to_basic_istream_impl<_Tp>; }; template struct __is_convertible_to_basic_istream : __is_convertible_to_basic_istream_impl<_Tp> { public: using type = __not_::__istream_type>>; constexpr static bool value = type::value; }; template struct __is_extractable : false_type {}; template struct __is_extractable<_Istream, _Tp, __void_t() >> declval<_Tp>())>> : true_type {}; template using __rvalue_istream_type = typename __is_convertible_to_basic_istream< _Istream>::__istream_type; # 972 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 3 template inline typename enable_if<__and_<__not_>, __is_convertible_to_basic_istream<_Istream>, __is_extractable< __rvalue_istream_type<_Istream>, _Tp&&>>::value, __rvalue_istream_type<_Istream>>::type operator>>(_Istream&& __is, _Tp&& __x) { __rvalue_istream_type<_Istream> __ret_is = __is; __ret_is >> std::forward<_Tp>(__x); return __ret_is; } } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/istream.tcc" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/istream.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template basic_istream<_CharT, _Traits>::sentry:: sentry(basic_istream<_CharT, _Traits>& __in, bool __noskip) : _M_ok(false) { ios_base::iostate __err = ios_base::goodbit; if (__in.good()) try { if (__in.tie()) __in.tie()->flush(); if (!__noskip && bool(__in.flags() & ios_base::skipws)) { const __int_type __eof = traits_type::eof(); __streambuf_type* __sb = __in.rdbuf(); __int_type __c = __sb->sgetc(); const __ctype_type& __ct = __check_facet(__in._M_ctype); while (!traits_type::eq_int_type(__c, __eof) && __ct.is(ctype_base::space, traits_type::to_char_type(__c))) __c = __sb->snextc(); if (traits_type::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; } } catch(__cxxabiv1::__forced_unwind&) { __in._M_setstate(ios_base::badbit); throw; } catch(...) { __in._M_setstate(ios_base::badbit); } if (__in.good() && __err == ios_base::goodbit) _M_ok = true; else { __err |= ios_base::failbit; __in.setstate(__err); } } template template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: _M_extract(_ValueT& __v) { sentry __cerb(*this, false); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const __num_get_type& __ng = __check_facet(this->_M_num_get); __ng.get(*this, 0, *this, __err, __v); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: operator>>(short& __n) { sentry __cerb(*this, false); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { long __l; const __num_get_type& __ng = __check_facet(this->_M_num_get); __ng.get(*this, 0, *this, __err, __l); if (__l < __gnu_cxx::__numeric_traits::__min) { __err |= ios_base::failbit; __n = __gnu_cxx::__numeric_traits::__min; } else if (__l > __gnu_cxx::__numeric_traits::__max) { __err |= ios_base::failbit; __n = __gnu_cxx::__numeric_traits::__max; } else __n = short(__l); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: operator>>(int& __n) { sentry __cerb(*this, false); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { long __l; const __num_get_type& __ng = __check_facet(this->_M_num_get); __ng.get(*this, 0, *this, __err, __l); if (__l < __gnu_cxx::__numeric_traits::__min) { __err |= ios_base::failbit; __n = __gnu_cxx::__numeric_traits::__min; } else if (__l > __gnu_cxx::__numeric_traits::__max) { __err |= ios_base::failbit; __n = __gnu_cxx::__numeric_traits::__max; } else __n = int(__l); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: operator>>(__streambuf_type* __sbout) { ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this, false); if (__cerb && __sbout) { try { bool __ineof; if (!__copy_streambufs_eof(this->rdbuf(), __sbout, __ineof)) __err |= ios_base::failbit; if (__ineof) __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::failbit); throw; } catch(...) { this->_M_setstate(ios_base::failbit); } } else if (!__sbout) __err |= ios_base::failbit; if (__err) this->setstate(__err); return *this; } template typename basic_istream<_CharT, _Traits>::int_type basic_istream<_CharT, _Traits>:: get(void) { const int_type __eof = traits_type::eof(); int_type __c = __eof; _M_gcount = 0; ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this, true); if (__cerb) { try { __c = this->rdbuf()->sbumpc(); if (!traits_type::eq_int_type(__c, __eof)) _M_gcount = 1; else __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } if (!_M_gcount) __err |= ios_base::failbit; if (__err) this->setstate(__err); return __c; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: get(char_type& __c) { _M_gcount = 0; ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this, true); if (__cerb) { try { const int_type __cb = this->rdbuf()->sbumpc(); if (!traits_type::eq_int_type(__cb, traits_type::eof())) { _M_gcount = 1; __c = traits_type::to_char_type(__cb); } else __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } if (!_M_gcount) __err |= ios_base::failbit; if (__err) this->setstate(__err); return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: get(char_type* __s, streamsize __n, char_type __delim) { _M_gcount = 0; ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this, true); if (__cerb) { try { const int_type __idelim = traits_type::to_int_type(__delim); const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); int_type __c = __sb->sgetc(); while (_M_gcount + 1 < __n && !traits_type::eq_int_type(__c, __eof) && !traits_type::eq_int_type(__c, __idelim)) { *__s++ = traits_type::to_char_type(__c); ++_M_gcount; __c = __sb->snextc(); } if (traits_type::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } if (__n > 0) *__s = char_type(); if (!_M_gcount) __err |= ios_base::failbit; if (__err) this->setstate(__err); return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: get(__streambuf_type& __sb, char_type __delim) { _M_gcount = 0; ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this, true); if (__cerb) { try { const int_type __idelim = traits_type::to_int_type(__delim); const int_type __eof = traits_type::eof(); __streambuf_type* __this_sb = this->rdbuf(); int_type __c = __this_sb->sgetc(); char_type __c2 = traits_type::to_char_type(__c); while (!traits_type::eq_int_type(__c, __eof) && !traits_type::eq_int_type(__c, __idelim) && !traits_type::eq_int_type(__sb.sputc(__c2), __eof)) { ++_M_gcount; __c = __this_sb->snextc(); __c2 = traits_type::to_char_type(__c); } if (traits_type::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } if (!_M_gcount) __err |= ios_base::failbit; if (__err) this->setstate(__err); return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: getline(char_type* __s, streamsize __n, char_type __delim) { _M_gcount = 0; ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this, true); if (__cerb) { try { const int_type __idelim = traits_type::to_int_type(__delim); const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); int_type __c = __sb->sgetc(); while (_M_gcount + 1 < __n && !traits_type::eq_int_type(__c, __eof) && !traits_type::eq_int_type(__c, __idelim)) { *__s++ = traits_type::to_char_type(__c); __c = __sb->snextc(); ++_M_gcount; } if (traits_type::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; else { if (traits_type::eq_int_type(__c, __idelim)) { __sb->sbumpc(); ++_M_gcount; } else __err |= ios_base::failbit; } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } if (__n > 0) *__s = char_type(); if (!_M_gcount) __err |= ios_base::failbit; if (__err) this->setstate(__err); return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: ignore(void) { _M_gcount = 0; sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); if (traits_type::eq_int_type(__sb->sbumpc(), __eof)) __err |= ios_base::eofbit; else _M_gcount = 1; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: ignore(streamsize __n) { _M_gcount = 0; sentry __cerb(*this, true); if (__cerb && __n > 0) { ios_base::iostate __err = ios_base::goodbit; try { const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); int_type __c = __sb->sgetc(); # 521 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/istream.tcc" 3 bool __large_ignore = false; while (true) { while (_M_gcount < __n && !traits_type::eq_int_type(__c, __eof)) { ++_M_gcount; __c = __sb->snextc(); } if (__n == __gnu_cxx::__numeric_traits::__max && !traits_type::eq_int_type(__c, __eof)) { _M_gcount = __gnu_cxx::__numeric_traits::__min; __large_ignore = true; } else break; } if (__large_ignore) _M_gcount = __gnu_cxx::__numeric_traits::__max; if (traits_type::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: ignore(streamsize __n, int_type __delim) { _M_gcount = 0; sentry __cerb(*this, true); if (__cerb && __n > 0) { ios_base::iostate __err = ios_base::goodbit; try { const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); int_type __c = __sb->sgetc(); bool __large_ignore = false; while (true) { while (_M_gcount < __n && !traits_type::eq_int_type(__c, __eof) && !traits_type::eq_int_type(__c, __delim)) { ++_M_gcount; __c = __sb->snextc(); } if (__n == __gnu_cxx::__numeric_traits::__max && !traits_type::eq_int_type(__c, __eof) && !traits_type::eq_int_type(__c, __delim)) { _M_gcount = __gnu_cxx::__numeric_traits::__min; __large_ignore = true; } else break; } if (__large_ignore) _M_gcount = __gnu_cxx::__numeric_traits::__max; if (traits_type::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; else if (traits_type::eq_int_type(__c, __delim)) { if (_M_gcount < __gnu_cxx::__numeric_traits::__max) ++_M_gcount; __sb->sbumpc(); } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template typename basic_istream<_CharT, _Traits>::int_type basic_istream<_CharT, _Traits>:: peek(void) { int_type __c = traits_type::eof(); _M_gcount = 0; sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { __c = this->rdbuf()->sgetc(); if (traits_type::eq_int_type(__c, traits_type::eof())) __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return __c; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: read(char_type* __s, streamsize __n) { _M_gcount = 0; sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { _M_gcount = this->rdbuf()->sgetn(__s, __n); if (_M_gcount != __n) __err |= (ios_base::eofbit | ios_base::failbit); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template streamsize basic_istream<_CharT, _Traits>:: readsome(char_type* __s, streamsize __n) { _M_gcount = 0; sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const streamsize __num = this->rdbuf()->in_avail(); if (__num > 0) _M_gcount = this->rdbuf()->sgetn(__s, std::min(__num, __n)); else if (__num == -1) __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return _M_gcount; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: putback(char_type __c) { _M_gcount = 0; this->clear(this->rdstate() & ~ios_base::eofbit); sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); if (!__sb || traits_type::eq_int_type(__sb->sputbackc(__c), __eof)) __err |= ios_base::badbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: unget(void) { _M_gcount = 0; this->clear(this->rdstate() & ~ios_base::eofbit); sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); if (!__sb || traits_type::eq_int_type(__sb->sungetc(), __eof)) __err |= ios_base::badbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template int basic_istream<_CharT, _Traits>:: sync(void) { int __ret = -1; sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { __streambuf_type* __sb = this->rdbuf(); if (__sb) { if (__sb->pubsync() == -1) __err |= ios_base::badbit; else __ret = 0; } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return __ret; } template typename basic_istream<_CharT, _Traits>::pos_type basic_istream<_CharT, _Traits>:: tellg(void) { pos_type __ret = pos_type(-1); sentry __cerb(*this, true); if (__cerb) { try { if (!this->fail()) __ret = this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::in); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } return __ret; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: seekg(pos_type __pos) { this->clear(this->rdstate() & ~ios_base::eofbit); sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { if (!this->fail()) { const pos_type __p = this->rdbuf()->pubseekpos(__pos, ios_base::in); if (__p == pos_type(off_type(-1))) __err |= ios_base::failbit; } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: seekg(off_type __off, ios_base::seekdir __dir) { this->clear(this->rdstate() & ~ios_base::eofbit); sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { if (!this->fail()) { const pos_type __p = this->rdbuf()->pubseekoff(__off, __dir, ios_base::in); if (__p == pos_type(off_type(-1))) __err |= ios_base::failbit; } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c) { typedef basic_istream<_CharT, _Traits> __istream_type; typedef typename __istream_type::int_type __int_type; typename __istream_type::sentry __cerb(__in, false); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const __int_type __cb = __in.rdbuf()->sbumpc(); if (!_Traits::eq_int_type(__cb, _Traits::eof())) __c = _Traits::to_char_type(__cb); else __err |= (ios_base::eofbit | ios_base::failbit); } catch(__cxxabiv1::__forced_unwind&) { __in._M_setstate(ios_base::badbit); throw; } catch(...) { __in._M_setstate(ios_base::badbit); } if (__err) __in.setstate(__err); } return __in; } template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s) { typedef basic_istream<_CharT, _Traits> __istream_type; typedef basic_streambuf<_CharT, _Traits> __streambuf_type; typedef typename _Traits::int_type int_type; typedef _CharT char_type; typedef ctype<_CharT> __ctype_type; streamsize __extracted = 0; ios_base::iostate __err = ios_base::goodbit; typename __istream_type::sentry __cerb(__in, false); if (__cerb) { try { streamsize __num = __in.width(); if (__num <= 0) __num = __gnu_cxx::__numeric_traits::__max; const __ctype_type& __ct = use_facet<__ctype_type>(__in.getloc()); const int_type __eof = _Traits::eof(); __streambuf_type* __sb = __in.rdbuf(); int_type __c = __sb->sgetc(); while (__extracted < __num - 1 && !_Traits::eq_int_type(__c, __eof) && !__ct.is(ctype_base::space, _Traits::to_char_type(__c))) { *__s++ = _Traits::to_char_type(__c); ++__extracted; __c = __sb->snextc(); } if (_Traits::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; *__s = char_type(); __in.width(0); } catch(__cxxabiv1::__forced_unwind&) { __in._M_setstate(ios_base::badbit); throw; } catch(...) { __in._M_setstate(ios_base::badbit); } } if (!__extracted) __err |= ios_base::failbit; if (__err) __in.setstate(__err); return __in; } template basic_istream<_CharT, _Traits>& ws(basic_istream<_CharT, _Traits>& __in) { typedef basic_istream<_CharT, _Traits> __istream_type; typedef basic_streambuf<_CharT, _Traits> __streambuf_type; typedef typename __istream_type::int_type __int_type; typedef ctype<_CharT> __ctype_type; const __ctype_type& __ct = use_facet<__ctype_type>(__in.getloc()); const __int_type __eof = _Traits::eof(); __streambuf_type* __sb = __in.rdbuf(); __int_type __c = __sb->sgetc(); while (!_Traits::eq_int_type(__c, __eof) && __ct.is(ctype_base::space, _Traits::to_char_type(__c))) __c = __sb->snextc(); if (_Traits::eq_int_type(__c, __eof)) __in.setstate(ios_base::eofbit); return __in; } extern template class basic_istream; extern template istream& ws(istream&); extern template istream& operator>>(istream&, char&); extern template istream& operator>>(istream&, char*); extern template istream& operator>>(istream&, unsigned char&); extern template istream& operator>>(istream&, signed char&); extern template istream& operator>>(istream&, unsigned char*); extern template istream& operator>>(istream&, signed char*); extern template istream& istream::_M_extract(unsigned short&); extern template istream& istream::_M_extract(unsigned int&); extern template istream& istream::_M_extract(long&); extern template istream& istream::_M_extract(unsigned long&); extern template istream& istream::_M_extract(bool&); extern template istream& istream::_M_extract(long long&); extern template istream& istream::_M_extract(unsigned long long&); extern template istream& istream::_M_extract(float&); extern template istream& istream::_M_extract(double&); extern template istream& istream::_M_extract(long double&); extern template istream& istream::_M_extract(void*&); extern template class basic_iostream; extern template class basic_istream; extern template wistream& ws(wistream&); extern template wistream& operator>>(wistream&, wchar_t&); extern template wistream& operator>>(wistream&, wchar_t*); extern template wistream& wistream::_M_extract(unsigned short&); extern template wistream& wistream::_M_extract(unsigned int&); extern template wistream& wistream::_M_extract(long&); extern template wistream& wistream::_M_extract(unsigned long&); extern template wistream& wistream::_M_extract(bool&); extern template wistream& wistream::_M_extract(long long&); extern template wistream& wistream::_M_extract(unsigned long long&); extern template wistream& wistream::_M_extract(float&); extern template wistream& wistream::_M_extract(double&); extern template wistream& wistream::_M_extract(long double&); extern template wistream& wistream::_M_extract(void*&); extern template class basic_iostream; } # 992 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/istream" 2 3 # 39 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 64 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 template class basic_stringbuf : public basic_streambuf<_CharT, _Traits> { struct __xfer_bufptrs; public: typedef _CharT char_type; typedef _Traits traits_type; typedef _Alloc allocator_type; typedef typename traits_type::int_type int_type; typedef typename traits_type::pos_type pos_type; typedef typename traits_type::off_type off_type; typedef basic_streambuf __streambuf_type; typedef basic_string __string_type; typedef typename __string_type::size_type __size_type; protected: ios_base::openmode _M_mode; __string_type _M_string; public: # 99 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 basic_stringbuf() : __streambuf_type(), _M_mode(ios_base::in | ios_base::out), _M_string() { } # 110 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 explicit basic_stringbuf(ios_base::openmode __mode) : __streambuf_type(), _M_mode(__mode), _M_string() { } # 123 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 explicit basic_stringbuf(const __string_type& __str, ios_base::openmode __mode = ios_base::in | ios_base::out) : __streambuf_type(), _M_mode(), _M_string(__str.data(), __str.size(), __str.get_allocator()) { _M_stringbuf_init(__mode); } basic_stringbuf(const basic_stringbuf&) = delete; basic_stringbuf(basic_stringbuf&& __rhs) : basic_stringbuf(std::move(__rhs), __xfer_bufptrs(__rhs, this)) { __rhs._M_sync(const_cast(__rhs._M_string.data()), 0, 0); } basic_stringbuf& operator=(const basic_stringbuf&) = delete; basic_stringbuf& operator=(basic_stringbuf&& __rhs) { __xfer_bufptrs __st{__rhs, this}; const __streambuf_type& __base = __rhs; __streambuf_type::operator=(__base); this->pubimbue(__rhs.getloc()); _M_mode = __rhs._M_mode; _M_string = std::move(__rhs._M_string); __rhs._M_sync(const_cast(__rhs._M_string.data()), 0, 0); return *this; } void swap(basic_stringbuf& __rhs) { __xfer_bufptrs __l_st{*this, std::__addressof(__rhs)}; __xfer_bufptrs __r_st{__rhs, this}; __streambuf_type& __base = __rhs; __streambuf_type::swap(__base); __rhs.pubimbue(this->pubimbue(__rhs.getloc())); std::swap(_M_mode, __rhs._M_mode); std::swap(_M_string, __rhs._M_string); } # 177 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 __string_type str() const { __string_type __ret(_M_string.get_allocator()); if (this->pptr()) { if (this->pptr() > this->egptr()) __ret.assign(this->pbase(), this->pptr()); else __ret.assign(this->pbase(), this->egptr()); } else __ret = _M_string; return __ret; } # 201 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 void str(const __string_type& __s) { _M_string.assign(__s.data(), __s.size()); _M_stringbuf_init(_M_mode); } protected: void _M_stringbuf_init(ios_base::openmode __mode) { _M_mode = __mode; __size_type __len = 0; if (_M_mode & (ios_base::ate | ios_base::app)) __len = _M_string.size(); _M_sync(const_cast(_M_string.data()), 0, __len); } virtual streamsize showmanyc() { streamsize __ret = -1; if (_M_mode & ios_base::in) { _M_update_egptr(); __ret = this->egptr() - this->gptr(); } return __ret; } virtual int_type underflow(); virtual int_type pbackfail(int_type __c = traits_type::eof()); virtual int_type overflow(int_type __c = traits_type::eof()); # 254 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 virtual __streambuf_type* setbuf(char_type* __s, streamsize __n) { if (__s && __n >= 0) { _M_string.clear(); _M_sync(__s, __n, 0); } return this; } virtual pos_type seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode = ios_base::in | ios_base::out); virtual pos_type seekpos(pos_type __sp, ios_base::openmode __mode = ios_base::in | ios_base::out); void _M_sync(char_type* __base, __size_type __i, __size_type __o); void _M_update_egptr() { const bool __testin = _M_mode & ios_base::in; if (this->pptr() && this->pptr() > this->egptr()) { if (__testin) this->setg(this->eback(), this->gptr(), this->pptr()); else this->setg(this->pptr(), this->pptr(), this->pptr()); } } void _M_pbump(char_type* __pbeg, char_type* __pend, off_type __off); private: # 360 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 struct __xfer_bufptrs { __xfer_bufptrs(const basic_stringbuf&, basic_stringbuf*) { } }; basic_stringbuf(basic_stringbuf&& __rhs, __xfer_bufptrs&&) : __streambuf_type(static_cast(__rhs)), _M_mode(__rhs._M_mode), _M_string(std::move(__rhs._M_string)) { } }; # 391 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 template class basic_istringstream : public basic_istream<_CharT, _Traits> { public: typedef _CharT char_type; typedef _Traits traits_type; typedef _Alloc allocator_type; typedef typename traits_type::int_type int_type; typedef typename traits_type::pos_type pos_type; typedef typename traits_type::off_type off_type; typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef basic_stringbuf<_CharT, _Traits, _Alloc> __stringbuf_type; typedef basic_istream __istream_type; private: __stringbuf_type _M_stringbuf; public: # 425 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 basic_istringstream() : __istream_type(), _M_stringbuf(ios_base::in) { this->init(&_M_stringbuf); } # 441 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 explicit basic_istringstream(ios_base::openmode __mode) : __istream_type(), _M_stringbuf(__mode | ios_base::in) { this->init(&_M_stringbuf); } # 459 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 explicit basic_istringstream(const __string_type& __str, ios_base::openmode __mode = ios_base::in) : __istream_type(), _M_stringbuf(__str, __mode | ios_base::in) { this->init(&_M_stringbuf); } ~basic_istringstream() { } basic_istringstream(const basic_istringstream&) = delete; basic_istringstream(basic_istringstream&& __rhs) : __istream_type(std::move(__rhs)), _M_stringbuf(std::move(__rhs._M_stringbuf)) { __istream_type::set_rdbuf(&_M_stringbuf); } basic_istringstream& operator=(const basic_istringstream&) = delete; basic_istringstream& operator=(basic_istringstream&& __rhs) { __istream_type::operator=(std::move(__rhs)); _M_stringbuf = std::move(__rhs._M_stringbuf); return *this; } void swap(basic_istringstream& __rhs) { __istream_type::swap(__rhs); _M_stringbuf.swap(__rhs._M_stringbuf); } # 510 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 __stringbuf_type* rdbuf() const { return const_cast<__stringbuf_type*>(&_M_stringbuf); } __string_type str() const { return _M_stringbuf.str(); } void str(const __string_type& __s) { _M_stringbuf.str(__s); } }; # 549 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 template class basic_ostringstream : public basic_ostream<_CharT, _Traits> { public: typedef _CharT char_type; typedef _Traits traits_type; typedef _Alloc allocator_type; typedef typename traits_type::int_type int_type; typedef typename traits_type::pos_type pos_type; typedef typename traits_type::off_type off_type; typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef basic_stringbuf<_CharT, _Traits, _Alloc> __stringbuf_type; typedef basic_ostream __ostream_type; private: __stringbuf_type _M_stringbuf; public: # 583 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 basic_ostringstream() : __ostream_type(), _M_stringbuf(ios_base::out) { this->init(&_M_stringbuf); } # 599 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 explicit basic_ostringstream(ios_base::openmode __mode) : __ostream_type(), _M_stringbuf(__mode | ios_base::out) { this->init(&_M_stringbuf); } # 617 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 explicit basic_ostringstream(const __string_type& __str, ios_base::openmode __mode = ios_base::out) : __ostream_type(), _M_stringbuf(__str, __mode | ios_base::out) { this->init(&_M_stringbuf); } ~basic_ostringstream() { } basic_ostringstream(const basic_ostringstream&) = delete; basic_ostringstream(basic_ostringstream&& __rhs) : __ostream_type(std::move(__rhs)), _M_stringbuf(std::move(__rhs._M_stringbuf)) { __ostream_type::set_rdbuf(&_M_stringbuf); } basic_ostringstream& operator=(const basic_ostringstream&) = delete; basic_ostringstream& operator=(basic_ostringstream&& __rhs) { __ostream_type::operator=(std::move(__rhs)); _M_stringbuf = std::move(__rhs._M_stringbuf); return *this; } void swap(basic_ostringstream& __rhs) { __ostream_type::swap(__rhs); _M_stringbuf.swap(__rhs._M_stringbuf); } # 668 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 __stringbuf_type* rdbuf() const { return const_cast<__stringbuf_type*>(&_M_stringbuf); } __string_type str() const { return _M_stringbuf.str(); } void str(const __string_type& __s) { _M_stringbuf.str(__s); } }; # 707 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 template class basic_stringstream : public basic_iostream<_CharT, _Traits> { public: typedef _CharT char_type; typedef _Traits traits_type; typedef _Alloc allocator_type; typedef typename traits_type::int_type int_type; typedef typename traits_type::pos_type pos_type; typedef typename traits_type::off_type off_type; typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef basic_stringbuf<_CharT, _Traits, _Alloc> __stringbuf_type; typedef basic_iostream __iostream_type; private: __stringbuf_type _M_stringbuf; public: # 741 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 basic_stringstream() : __iostream_type(), _M_stringbuf(ios_base::out | ios_base::in) { this->init(&_M_stringbuf); } # 755 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 explicit basic_stringstream(ios_base::openmode __m) : __iostream_type(), _M_stringbuf(__m) { this->init(&_M_stringbuf); } # 771 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 explicit basic_stringstream(const __string_type& __str, ios_base::openmode __m = ios_base::out | ios_base::in) : __iostream_type(), _M_stringbuf(__str, __m) { this->init(&_M_stringbuf); } ~basic_stringstream() { } basic_stringstream(const basic_stringstream&) = delete; basic_stringstream(basic_stringstream&& __rhs) : __iostream_type(std::move(__rhs)), _M_stringbuf(std::move(__rhs._M_stringbuf)) { __iostream_type::set_rdbuf(&_M_stringbuf); } basic_stringstream& operator=(const basic_stringstream&) = delete; basic_stringstream& operator=(basic_stringstream&& __rhs) { __iostream_type::operator=(std::move(__rhs)); _M_stringbuf = std::move(__rhs._M_stringbuf); return *this; } void swap(basic_stringstream& __rhs) { __iostream_type::swap(__rhs); _M_stringbuf.swap(__rhs._M_stringbuf); } # 822 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 3 __stringbuf_type* rdbuf() const { return const_cast<__stringbuf_type*>(&_M_stringbuf); } __string_type str() const { return _M_stringbuf.str(); } void str(const __string_type& __s) { _M_stringbuf.str(__s); } }; template inline void swap(basic_stringbuf<_CharT, _Traits, _Allocator>& __x, basic_stringbuf<_CharT, _Traits, _Allocator>& __y) { __x.swap(__y); } template inline void swap(basic_istringstream<_CharT, _Traits, _Allocator>& __x, basic_istringstream<_CharT, _Traits, _Allocator>& __y) { __x.swap(__y); } template inline void swap(basic_ostringstream<_CharT, _Traits, _Allocator>& __x, basic_ostringstream<_CharT, _Traits, _Allocator>& __y) { __x.swap(__y); } template inline void swap(basic_stringstream<_CharT, _Traits, _Allocator>& __x, basic_stringstream<_CharT, _Traits, _Allocator>& __y) { __x.swap(__y); } } # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/sstream.tcc" 1 3 # 38 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/sstream.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template typename basic_stringbuf<_CharT, _Traits, _Alloc>::int_type basic_stringbuf<_CharT, _Traits, _Alloc>:: pbackfail(int_type __c) { int_type __ret = traits_type::eof(); if (this->eback() < this->gptr()) { const bool __testeof = traits_type::eq_int_type(__c, __ret); if (!__testeof) { const bool __testeq = traits_type::eq(traits_type:: to_char_type(__c), this->gptr()[-1]); const bool __testout = this->_M_mode & ios_base::out; if (__testeq || __testout) { this->gbump(-1); if (!__testeq) *this->gptr() = traits_type::to_char_type(__c); __ret = __c; } } else { this->gbump(-1); __ret = traits_type::not_eof(__c); } } return __ret; } template typename basic_stringbuf<_CharT, _Traits, _Alloc>::int_type basic_stringbuf<_CharT, _Traits, _Alloc>:: overflow(int_type __c) { const bool __testout = this->_M_mode & ios_base::out; if (__builtin_expect(!__testout, false)) return traits_type::eof(); const bool __testeof = traits_type::eq_int_type(__c, traits_type::eof()); if (__builtin_expect(__testeof, false)) return traits_type::not_eof(__c); const __size_type __capacity = _M_string.capacity(); # 110 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/sstream.tcc" 3 const __size_type __max_size = _M_string.max_size(); const bool __testput = this->pptr() < this->epptr(); if (__builtin_expect(!__testput && __capacity == __max_size, false)) return traits_type::eof(); const char_type __conv = traits_type::to_char_type(__c); if (!__testput) { # 129 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/sstream.tcc" 3 const __size_type __opt_len = std::max(__size_type(2 * __capacity), __size_type(512)); const __size_type __len = std::min(__opt_len, __max_size); __string_type __tmp(_M_string.get_allocator()); __tmp.reserve(__len); if (this->pbase()) __tmp.assign(this->pbase(), this->epptr() - this->pbase()); __tmp.push_back(__conv); _M_string.swap(__tmp); _M_sync(const_cast(_M_string.data()), this->gptr() - this->eback(), this->pptr() - this->pbase()); } else *this->pptr() = __conv; this->pbump(1); return __c; } template typename basic_stringbuf<_CharT, _Traits, _Alloc>::int_type basic_stringbuf<_CharT, _Traits, _Alloc>:: underflow() { int_type __ret = traits_type::eof(); const bool __testin = this->_M_mode & ios_base::in; if (__testin) { _M_update_egptr(); if (this->gptr() < this->egptr()) __ret = traits_type::to_int_type(*this->gptr()); } return __ret; } template typename basic_stringbuf<_CharT, _Traits, _Alloc>::pos_type basic_stringbuf<_CharT, _Traits, _Alloc>:: seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode) { pos_type __ret = pos_type(off_type(-1)); bool __testin = (ios_base::in & this->_M_mode & __mode) != 0; bool __testout = (ios_base::out & this->_M_mode & __mode) != 0; const bool __testboth = __testin && __testout && __way != ios_base::cur; __testin &= !(__mode & ios_base::out); __testout &= !(__mode & ios_base::in); const char_type* __beg = __testin ? this->eback() : this->pbase(); if ((__beg || !__off) && (__testin || __testout || __testboth)) { _M_update_egptr(); off_type __newoffi = __off; off_type __newoffo = __newoffi; if (__way == ios_base::cur) { __newoffi += this->gptr() - __beg; __newoffo += this->pptr() - __beg; } else if (__way == ios_base::end) __newoffo = __newoffi += this->egptr() - __beg; if ((__testin || __testboth) && __newoffi >= 0 && this->egptr() - __beg >= __newoffi) { this->setg(this->eback(), this->eback() + __newoffi, this->egptr()); __ret = pos_type(__newoffi); } if ((__testout || __testboth) && __newoffo >= 0 && this->egptr() - __beg >= __newoffo) { _M_pbump(this->pbase(), this->epptr(), __newoffo); __ret = pos_type(__newoffo); } } return __ret; } template typename basic_stringbuf<_CharT, _Traits, _Alloc>::pos_type basic_stringbuf<_CharT, _Traits, _Alloc>:: seekpos(pos_type __sp, ios_base::openmode __mode) { pos_type __ret = pos_type(off_type(-1)); const bool __testin = (ios_base::in & this->_M_mode & __mode) != 0; const bool __testout = (ios_base::out & this->_M_mode & __mode) != 0; const char_type* __beg = __testin ? this->eback() : this->pbase(); if ((__beg || !off_type(__sp)) && (__testin || __testout)) { _M_update_egptr(); const off_type __pos(__sp); const bool __testpos = (0 <= __pos && __pos <= this->egptr() - __beg); if (__testpos) { if (__testin) this->setg(this->eback(), this->eback() + __pos, this->egptr()); if (__testout) _M_pbump(this->pbase(), this->epptr(), __pos); __ret = __sp; } } return __ret; } template void basic_stringbuf<_CharT, _Traits, _Alloc>:: _M_sync(char_type* __base, __size_type __i, __size_type __o) { const bool __testin = _M_mode & ios_base::in; const bool __testout = _M_mode & ios_base::out; char_type* __endg = __base + _M_string.size(); char_type* __endp = __base + _M_string.capacity(); if (__base != _M_string.data()) { __endg += __i; __i = 0; __endp = __endg; } if (__testin) this->setg(__base, __base + __i, __endg); if (__testout) { _M_pbump(__base, __endp, __o); if (!__testin) this->setg(__endg, __endg, __endg); } } template void basic_stringbuf<_CharT, _Traits, _Alloc>:: _M_pbump(char_type* __pbeg, char_type* __pend, off_type __off) { this->setp(__pbeg, __pend); while (__off > __gnu_cxx::__numeric_traits::__max) { this->pbump(__gnu_cxx::__numeric_traits::__max); __off -= __gnu_cxx::__numeric_traits::__max; } this->pbump(__off); } extern template class basic_stringbuf; extern template class basic_istringstream; extern template class basic_ostringstream; extern template class basic_stringstream; extern template class basic_stringbuf; extern template class basic_istringstream; extern template class basic_ostringstream; extern template class basic_stringstream; } # 880 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/sstream" 2 3 # 38 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex" 2 3 #pragma clang force_cuda_host_device begin # 82 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 1 3 # 40 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath" 3 # 45 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 2 3 # 54 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 67 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template class complex; template<> class complex; template<> class complex; template<> class complex; template _Tp abs(const complex<_Tp>&); template _Tp arg(const complex<_Tp>&); template _Tp norm(const complex<_Tp>&); template complex<_Tp> conj(const complex<_Tp>&); template complex<_Tp> polar(const _Tp&, const _Tp& = 0); template complex<_Tp> cos(const complex<_Tp>&); template complex<_Tp> cosh(const complex<_Tp>&); template complex<_Tp> exp(const complex<_Tp>&); template complex<_Tp> log(const complex<_Tp>&); template complex<_Tp> log10(const complex<_Tp>&); template complex<_Tp> pow(const complex<_Tp>&, int); template complex<_Tp> pow(const complex<_Tp>&, const _Tp&); template complex<_Tp> pow(const complex<_Tp>&, const complex<_Tp>&); template complex<_Tp> pow(const _Tp&, const complex<_Tp>&); template complex<_Tp> sin(const complex<_Tp>&); template complex<_Tp> sinh(const complex<_Tp>&); template complex<_Tp> sqrt(const complex<_Tp>&); template complex<_Tp> tan(const complex<_Tp>&); template complex<_Tp> tanh(const complex<_Tp>&); # 126 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template struct complex { typedef _Tp value_type; constexpr complex(const _Tp& __r = _Tp(), const _Tp& __i = _Tp()) : _M_real(__r), _M_imag(__i) { } constexpr complex(const complex&) = default; template constexpr complex(const complex<_Up>& __z) : _M_real(__z.real()), _M_imag(__z.imag()) { } __attribute ((__abi_tag__ ("cxx11"))) constexpr _Tp real() const { return _M_real; } __attribute ((__abi_tag__ ("cxx11"))) constexpr _Tp imag() const { return _M_imag; } # 177 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 void real(_Tp __val) { _M_real = __val; } void imag(_Tp __val) { _M_imag = __val; } complex<_Tp>& operator=(const _Tp&); complex<_Tp>& operator+=(const _Tp& __t) { _M_real += __t; return *this; } complex<_Tp>& operator-=(const _Tp& __t) { _M_real -= __t; return *this; } complex<_Tp>& operator*=(const _Tp&); complex<_Tp>& operator/=(const _Tp&); complex& operator=(const complex&) = default; template complex<_Tp>& operator=(const complex<_Up>&); template complex<_Tp>& operator+=(const complex<_Up>&); template complex<_Tp>& operator-=(const complex<_Up>&); template complex<_Tp>& operator*=(const complex<_Up>&); template complex<_Tp>& operator/=(const complex<_Up>&); constexpr complex __rep() const { return *this; } private: _Tp _M_real; _Tp _M_imag; }; template complex<_Tp>& complex<_Tp>::operator=(const _Tp& __t) { _M_real = __t; _M_imag = _Tp(); return *this; } template complex<_Tp>& complex<_Tp>::operator*=(const _Tp& __t) { _M_real *= __t; _M_imag *= __t; return *this; } template complex<_Tp>& complex<_Tp>::operator/=(const _Tp& __t) { _M_real /= __t; _M_imag /= __t; return *this; } template template complex<_Tp>& complex<_Tp>::operator=(const complex<_Up>& __z) { _M_real = __z.real(); _M_imag = __z.imag(); return *this; } template template complex<_Tp>& complex<_Tp>::operator+=(const complex<_Up>& __z) { _M_real += __z.real(); _M_imag += __z.imag(); return *this; } template template complex<_Tp>& complex<_Tp>::operator-=(const complex<_Up>& __z) { _M_real -= __z.real(); _M_imag -= __z.imag(); return *this; } template template complex<_Tp>& complex<_Tp>::operator*=(const complex<_Up>& __z) { const _Tp __r = _M_real * __z.real() - _M_imag * __z.imag(); _M_imag = _M_real * __z.imag() + _M_imag * __z.real(); _M_real = __r; return *this; } template template complex<_Tp>& complex<_Tp>::operator/=(const complex<_Up>& __z) { const _Tp __r = _M_real * __z.real() + _M_imag * __z.imag(); const _Tp __n = std::norm(__z); _M_imag = (_M_imag * __z.real() - _M_real * __z.imag()) / __n; _M_real = __r / __n; return *this; } template inline complex<_Tp> operator+(const complex<_Tp>& __x, const complex<_Tp>& __y) { complex<_Tp> __r = __x; __r += __y; return __r; } template inline complex<_Tp> operator+(const complex<_Tp>& __x, const _Tp& __y) { complex<_Tp> __r = __x; __r += __y; return __r; } template inline complex<_Tp> operator+(const _Tp& __x, const complex<_Tp>& __y) { complex<_Tp> __r = __y; __r += __x; return __r; } template inline complex<_Tp> operator-(const complex<_Tp>& __x, const complex<_Tp>& __y) { complex<_Tp> __r = __x; __r -= __y; return __r; } template inline complex<_Tp> operator-(const complex<_Tp>& __x, const _Tp& __y) { complex<_Tp> __r = __x; __r -= __y; return __r; } template inline complex<_Tp> operator-(const _Tp& __x, const complex<_Tp>& __y) { complex<_Tp> __r = -__y; __r += __x; return __r; } template inline complex<_Tp> operator*(const complex<_Tp>& __x, const complex<_Tp>& __y) { complex<_Tp> __r = __x; __r *= __y; return __r; } template inline complex<_Tp> operator*(const complex<_Tp>& __x, const _Tp& __y) { complex<_Tp> __r = __x; __r *= __y; return __r; } template inline complex<_Tp> operator*(const _Tp& __x, const complex<_Tp>& __y) { complex<_Tp> __r = __y; __r *= __x; return __r; } template inline complex<_Tp> operator/(const complex<_Tp>& __x, const complex<_Tp>& __y) { complex<_Tp> __r = __x; __r /= __y; return __r; } template inline complex<_Tp> operator/(const complex<_Tp>& __x, const _Tp& __y) { complex<_Tp> __r = __x; __r /= __y; return __r; } template inline complex<_Tp> operator/(const _Tp& __x, const complex<_Tp>& __y) { complex<_Tp> __r = __x; __r /= __y; return __r; } template inline complex<_Tp> operator+(const complex<_Tp>& __x) { return __x; } template inline complex<_Tp> operator-(const complex<_Tp>& __x) { return complex<_Tp>(-__x.real(), -__x.imag()); } template inline constexpr bool operator==(const complex<_Tp>& __x, const complex<_Tp>& __y) { return __x.real() == __y.real() && __x.imag() == __y.imag(); } template inline constexpr bool operator==(const complex<_Tp>& __x, const _Tp& __y) { return __x.real() == __y && __x.imag() == _Tp(); } template inline constexpr bool operator==(const _Tp& __x, const complex<_Tp>& __y) { return __x == __y.real() && _Tp() == __y.imag(); } template inline constexpr bool operator!=(const complex<_Tp>& __x, const complex<_Tp>& __y) { return __x.real() != __y.real() || __x.imag() != __y.imag(); } template inline constexpr bool operator!=(const complex<_Tp>& __x, const _Tp& __y) { return __x.real() != __y || __x.imag() != _Tp(); } template inline constexpr bool operator!=(const _Tp& __x, const complex<_Tp>& __y) { return __x != __y.real() || _Tp() != __y.imag(); } template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x) { bool __fail = true; _CharT __ch; if (__is >> __ch) { if (_Traits::eq(__ch, __is.widen('('))) { _Tp __u; if (__is >> __u >> __ch) { const _CharT __rparen = __is.widen(')'); if (_Traits::eq(__ch, __rparen)) { __x = __u; __fail = false; } else if (_Traits::eq(__ch, __is.widen(','))) { _Tp __v; if (__is >> __v >> __ch) { if (_Traits::eq(__ch, __rparen)) { __x = complex<_Tp>(__u, __v); __fail = false; } else __is.putback(__ch); } } else __is.putback(__ch); } } else { __is.putback(__ch); _Tp __u; if (__is >> __u) { __x = __u; __fail = false; } } } if (__fail) __is.setstate(ios_base::failbit); return __is; } template basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, const complex<_Tp>& __x) { basic_ostringstream<_CharT, _Traits> __s; __s.flags(__os.flags()); __s.imbue(__os.getloc()); __s.precision(__os.precision()); __s << '(' << __x.real() << ',' << __x.imag() << ')'; return __os << __s.str(); } template constexpr _Tp real(const complex<_Tp>& __z) { return __z.real(); } template constexpr _Tp imag(const complex<_Tp>& __z) { return __z.imag(); } # 598 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline _Tp __complex_abs(const complex<_Tp>& __z) { _Tp __x = __z.real(); _Tp __y = __z.imag(); const _Tp __s = std::max(abs(__x), abs(__y)); if (__s == _Tp()) return __s; __x /= __s; __y /= __s; return __s * sqrt(__x * __x + __y * __y); } # 627 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline _Tp abs(const complex<_Tp>& __z) { return __complex_abs(__z); } template inline _Tp __complex_arg(const complex<_Tp>& __z) { return atan2(__z.imag(), __z.real()); } # 654 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline _Tp arg(const complex<_Tp>& __z) { return __complex_arg(__z); } template struct _Norm_helper { template static inline _Tp _S_do_it(const complex<_Tp>& __z) { const _Tp __x = __z.real(); const _Tp __y = __z.imag(); return __x * __x + __y * __y; } }; template<> struct _Norm_helper { template static inline _Tp _S_do_it(const complex<_Tp>& __z) { const _Tp __x = __z.real(); const _Tp __y = __z.imag(); return __x * __x + __y * __y; } }; template inline _Tp norm(const complex<_Tp>& __z) { return _Norm_helper<__is_floating<_Tp>::__value && !0>::_S_do_it(__z); } template inline complex<_Tp> polar(const _Tp& __rho, const _Tp& __theta) { ; return complex<_Tp>(__rho * cos(__theta), __rho * sin(__theta)); } template inline complex<_Tp> conj(const complex<_Tp>& __z) { return complex<_Tp>(__z.real(), -__z.imag()); } template inline complex<_Tp> __complex_cos(const complex<_Tp>& __z) { const _Tp __x = __z.real(); const _Tp __y = __z.imag(); return complex<_Tp>(cos(__x) * cosh(__y), -sin(__x) * sinh(__y)); } # 738 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> cos(const complex<_Tp>& __z) { return __complex_cos(__z); } template inline complex<_Tp> __complex_cosh(const complex<_Tp>& __z) { const _Tp __x = __z.real(); const _Tp __y = __z.imag(); return complex<_Tp>(cosh(__x) * cos(__y), sinh(__x) * sin(__y)); } # 768 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> cosh(const complex<_Tp>& __z) { return __complex_cosh(__z); } template inline complex<_Tp> __complex_exp(const complex<_Tp>& __z) { return std::polar<_Tp>(exp(__z.real()), __z.imag()); } # 794 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> exp(const complex<_Tp>& __z) { return __complex_exp(__z); } template inline complex<_Tp> __complex_log(const complex<_Tp>& __z) { return complex<_Tp>(log(std::abs(__z)), std::arg(__z)); } # 821 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> log(const complex<_Tp>& __z) { return __complex_log(__z); } template inline complex<_Tp> log10(const complex<_Tp>& __z) { return std::log(__z) / log(_Tp(10.0)); } template inline complex<_Tp> __complex_sin(const complex<_Tp>& __z) { const _Tp __x = __z.real(); const _Tp __y = __z.imag(); return complex<_Tp>(sin(__x) * cosh(__y), cos(__x) * sinh(__y)); } # 856 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> sin(const complex<_Tp>& __z) { return __complex_sin(__z); } template inline complex<_Tp> __complex_sinh(const complex<_Tp>& __z) { const _Tp __x = __z.real(); const _Tp __y = __z.imag(); return complex<_Tp>(sinh(__x) * cos(__y), cosh(__x) * sin(__y)); } # 886 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> sinh(const complex<_Tp>& __z) { return __complex_sinh(__z); } template complex<_Tp> __complex_sqrt(const complex<_Tp>& __z) { _Tp __x = __z.real(); _Tp __y = __z.imag(); if (__x == _Tp()) { _Tp __t = sqrt(abs(__y) / 2); return complex<_Tp>(__t, __y < _Tp() ? -__t : __t); } else { _Tp __t = sqrt(2 * (std::abs(__z) + abs(__x))); _Tp __u = __t / 2; return __x > _Tp() ? complex<_Tp>(__u, __y / __t) : complex<_Tp>(abs(__y) / __t, __y < _Tp() ? -__u : __u); } } # 930 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> sqrt(const complex<_Tp>& __z) { return __complex_sqrt(__z); } template inline complex<_Tp> __complex_tan(const complex<_Tp>& __z) { return std::sin(__z) / std::cos(__z); } # 957 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> tan(const complex<_Tp>& __z) { return __complex_tan(__z); } template inline complex<_Tp> __complex_tanh(const complex<_Tp>& __z) { return std::sinh(__z) / std::cosh(__z); } # 985 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> tanh(const complex<_Tp>& __z) { return __complex_tanh(__z); } template complex<_Tp> __complex_pow_unsigned(complex<_Tp> __x, unsigned __n) { complex<_Tp> __y = __n % 2 ? __x : complex<_Tp>(1); while (__n >>= 1) { __x *= __x; if (__n % 2) __y *= __x; } return __y; } template inline complex<_Tp> pow(const complex<_Tp>& __z, int __n) { return __n < 0 ? complex<_Tp>(1) / std::__complex_pow_unsigned(__z, -(unsigned)__n) : std::__complex_pow_unsigned(__z, __n); } template complex<_Tp> pow(const complex<_Tp>& __x, const _Tp& __y) { if (__x == _Tp()) return _Tp(); if (__x.imag() == _Tp() && __x.real() > _Tp()) return pow(__x.real(), __y); complex<_Tp> __t = std::log(__x); return std::polar<_Tp>(exp(__y * __t.real()), __y * __t.imag()); } template inline complex<_Tp> __complex_pow(const complex<_Tp>& __x, const complex<_Tp>& __y) { return __x == _Tp() ? _Tp() : std::exp(__y * std::log(__x)); } # 1064 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline complex<_Tp> pow(const complex<_Tp>& __x, const complex<_Tp>& __y) { return __complex_pow(__x, __y); } template inline complex<_Tp> pow(const _Tp& __x, const complex<_Tp>& __y) { return __x > _Tp() ? std::polar<_Tp>(pow(__x, __y.real()), __y.imag() * log(__x)) : std::pow(complex<_Tp>(__x), __y); } template<> struct complex { typedef float value_type; typedef __complex__ float _ComplexT; constexpr complex(_ComplexT __z) : _M_value(__z) { } constexpr complex(float __r = 0.0f, float __i = 0.0f) : _M_value{ __r, __i } { } explicit constexpr complex(const complex&); explicit constexpr complex(const complex&); __attribute ((__abi_tag__ ("cxx11"))) constexpr float real() const { return __real__ _M_value; } __attribute ((__abi_tag__ ("cxx11"))) constexpr float imag() const { return __imag__ _M_value; } # 1128 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 void real(float __val) { __real__ _M_value = __val; } void imag(float __val) { __imag__ _M_value = __val; } complex& operator=(float __f) { _M_value = __f; return *this; } complex& operator+=(float __f) { _M_value += __f; return *this; } complex& operator-=(float __f) { _M_value -= __f; return *this; } complex& operator*=(float __f) { _M_value *= __f; return *this; } complex& operator/=(float __f) { _M_value /= __f; return *this; } complex& operator=(const complex&) = default; template complex& operator=(const complex<_Tp>& __z) { __real__ _M_value = __z.real(); __imag__ _M_value = __z.imag(); return *this; } template complex& operator+=(const complex<_Tp>& __z) { _M_value += __z.__rep(); return *this; } template complex& operator-=(const complex<_Tp>& __z) { _M_value -= __z.__rep(); return *this; } template complex& operator*=(const complex<_Tp>& __z) { const _ComplexT __t = __z.__rep(); _M_value *= __t; return *this; } template complex& operator/=(const complex<_Tp>& __z) { const _ComplexT __t = __z.__rep(); _M_value /= __t; return *this; } constexpr _ComplexT __rep() const { return _M_value; } private: _ComplexT _M_value; }; template<> struct complex { typedef double value_type; typedef __complex__ double _ComplexT; constexpr complex(_ComplexT __z) : _M_value(__z) { } constexpr complex(double __r = 0.0, double __i = 0.0) : _M_value{ __r, __i } { } constexpr complex(const complex& __z) : _M_value(__z.__rep()) { } explicit constexpr complex(const complex&); __attribute ((__abi_tag__ ("cxx11"))) constexpr double real() const { return __real__ _M_value; } __attribute ((__abi_tag__ ("cxx11"))) constexpr double imag() const { return __imag__ _M_value; } # 1275 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 void real(double __val) { __real__ _M_value = __val; } void imag(double __val) { __imag__ _M_value = __val; } complex& operator=(double __d) { _M_value = __d; return *this; } complex& operator+=(double __d) { _M_value += __d; return *this; } complex& operator-=(double __d) { _M_value -= __d; return *this; } complex& operator*=(double __d) { _M_value *= __d; return *this; } complex& operator/=(double __d) { _M_value /= __d; return *this; } complex& operator=(const complex&) = default; template complex& operator=(const complex<_Tp>& __z) { _M_value = __z.__rep(); return *this; } template complex& operator+=(const complex<_Tp>& __z) { _M_value += __z.__rep(); return *this; } template complex& operator-=(const complex<_Tp>& __z) { _M_value -= __z.__rep(); return *this; } template complex& operator*=(const complex<_Tp>& __z) { const _ComplexT __t = __z.__rep(); _M_value *= __t; return *this; } template complex& operator/=(const complex<_Tp>& __z) { const _ComplexT __t = __z.__rep(); _M_value /= __t; return *this; } constexpr _ComplexT __rep() const { return _M_value; } private: _ComplexT _M_value; }; template<> struct complex { typedef long double value_type; typedef __complex__ long double _ComplexT; constexpr complex(_ComplexT __z) : _M_value(__z) { } constexpr complex(long double __r = 0.0L, long double __i = 0.0L) : _M_value{ __r, __i } { } constexpr complex(const complex& __z) : _M_value(__z.__rep()) { } constexpr complex(const complex& __z) : _M_value(__z.__rep()) { } __attribute ((__abi_tag__ ("cxx11"))) constexpr long double real() const { return __real__ _M_value; } __attribute ((__abi_tag__ ("cxx11"))) constexpr long double imag() const { return __imag__ _M_value; } # 1422 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 void real(long double __val) { __real__ _M_value = __val; } void imag(long double __val) { __imag__ _M_value = __val; } complex& operator=(long double __r) { _M_value = __r; return *this; } complex& operator+=(long double __r) { _M_value += __r; return *this; } complex& operator-=(long double __r) { _M_value -= __r; return *this; } complex& operator*=(long double __r) { _M_value *= __r; return *this; } complex& operator/=(long double __r) { _M_value /= __r; return *this; } complex& operator=(const complex&) = default; template complex& operator=(const complex<_Tp>& __z) { _M_value = __z.__rep(); return *this; } template complex& operator+=(const complex<_Tp>& __z) { _M_value += __z.__rep(); return *this; } template complex& operator-=(const complex<_Tp>& __z) { _M_value -= __z.__rep(); return *this; } template complex& operator*=(const complex<_Tp>& __z) { const _ComplexT __t = __z.__rep(); _M_value *= __t; return *this; } template complex& operator/=(const complex<_Tp>& __z) { const _ComplexT __t = __z.__rep(); _M_value /= __t; return *this; } constexpr _ComplexT __rep() const { return _M_value; } private: _ComplexT _M_value; }; inline constexpr complex::complex(const complex& __z) : _M_value(__z.__rep()) { } inline constexpr complex::complex(const complex& __z) : _M_value(__z.__rep()) { } inline constexpr complex::complex(const complex& __z) : _M_value(__z.__rep()) { } extern template istream& operator>>(istream&, complex&); extern template ostream& operator<<(ostream&, const complex&); extern template istream& operator>>(istream&, complex&); extern template ostream& operator<<(ostream&, const complex&); extern template istream& operator>>(istream&, complex&); extern template ostream& operator<<(ostream&, const complex&); extern template wistream& operator>>(wistream&, complex&); extern template wostream& operator<<(wostream&, const complex&); extern template wistream& operator>>(wistream&, complex&); extern template wostream& operator<<(wostream&, const complex&); extern template wistream& operator>>(wistream&, complex&); extern template wostream& operator<<(wostream&, const complex&); } namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { template struct __promote_2, _Up> { public: typedef std::complex::__type> __type; }; template struct __promote_2<_Tp, std::complex<_Up> > { public: typedef std::complex::__type> __type; }; template struct __promote_2, std::complex<_Up> > { public: typedef std::complex::__type> __type; }; } namespace std __attribute__ ((__visibility__ ("default"))) { template std::complex<_Tp> acos(const std::complex<_Tp>&); template std::complex<_Tp> asin(const std::complex<_Tp>&); template std::complex<_Tp> atan(const std::complex<_Tp>&); template std::complex<_Tp> acosh(const std::complex<_Tp>&); template std::complex<_Tp> asinh(const std::complex<_Tp>&); template std::complex<_Tp> atanh(const std::complex<_Tp>&); template _Tp fabs(const std::complex<_Tp>&); template inline std::complex<_Tp> __complex_acos(const std::complex<_Tp>& __z) { const std::complex<_Tp> __t = std::asin(__z); const _Tp __pi_2 = 1.5707963267948966192313216916397514L; return std::complex<_Tp>(__pi_2 - __t.real(), -__t.imag()); } # 1632 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline std::complex<_Tp> acos(const std::complex<_Tp>& __z) { return __complex_acos(__z); } template inline std::complex<_Tp> __complex_asin(const std::complex<_Tp>& __z) { std::complex<_Tp> __t(-__z.imag(), __z.real()); __t = std::asinh(__t); return std::complex<_Tp>(__t.imag(), -__t.real()); } # 1668 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline std::complex<_Tp> asin(const std::complex<_Tp>& __z) { return __complex_asin(__z); } template std::complex<_Tp> __complex_atan(const std::complex<_Tp>& __z) { const _Tp __r2 = __z.real() * __z.real(); const _Tp __x = _Tp(1.0) - __r2 - __z.imag() * __z.imag(); _Tp __num = __z.imag() + _Tp(1.0); _Tp __den = __z.imag() - _Tp(1.0); __num = __r2 + __num * __num; __den = __r2 + __den * __den; return std::complex<_Tp>(_Tp(0.5) * atan2(_Tp(2.0) * __z.real(), __x), _Tp(0.25) * log(__num / __den)); } # 1712 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline std::complex<_Tp> atan(const std::complex<_Tp>& __z) { return __complex_atan(__z); } template std::complex<_Tp> __complex_acosh(const std::complex<_Tp>& __z) { return _Tp(2.0) * std::log(std::sqrt(_Tp(0.5) * (__z + _Tp(1.0))) + std::sqrt(_Tp(0.5) * (__z - _Tp(1.0)))); } # 1748 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline std::complex<_Tp> acosh(const std::complex<_Tp>& __z) { return __complex_acosh(__z); } template std::complex<_Tp> __complex_asinh(const std::complex<_Tp>& __z) { std::complex<_Tp> __t((__z.real() - __z.imag()) * (__z.real() + __z.imag()) + _Tp(1.0), _Tp(2.0) * __z.real() * __z.imag()); __t = std::sqrt(__t); return std::log(__t + __z); } # 1787 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline std::complex<_Tp> asinh(const std::complex<_Tp>& __z) { return __complex_asinh(__z); } template std::complex<_Tp> __complex_atanh(const std::complex<_Tp>& __z) { const _Tp __i2 = __z.imag() * __z.imag(); const _Tp __x = _Tp(1.0) - __i2 - __z.real() * __z.real(); _Tp __num = _Tp(1.0) + __z.real(); _Tp __den = _Tp(1.0) - __z.real(); __num = __i2 + __num * __num; __den = __i2 + __den * __den; return std::complex<_Tp>(_Tp(0.25) * (log(__num) - log(__den)), _Tp(0.5) * atan2(_Tp(2.0) * __z.imag(), __x)); } # 1831 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 template inline std::complex<_Tp> atanh(const std::complex<_Tp>& __z) { return __complex_atanh(__z); } template inline _Tp fabs(const std::complex<_Tp>& __z) { return std::abs(__z); } template inline typename __gnu_cxx::__promote<_Tp>::__type arg(_Tp __x) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return std::signbit(__x) ? __type(3.1415926535897932384626433832795029L) : __type(); } template constexpr inline typename __gnu_cxx::__promote<_Tp>::__type imag(_Tp) { return _Tp(); } template inline typename __gnu_cxx::__promote<_Tp>::__type norm(_Tp __x) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return __type(__x) * __type(__x); } template constexpr inline typename __gnu_cxx::__promote<_Tp>::__type real(_Tp __x) { return __x; } template inline std::complex::__type> pow(const std::complex<_Tp>& __x, const _Up& __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return std::pow(std::complex<__type>(__x), __type(__y)); } template inline std::complex::__type> pow(const _Tp& __x, const std::complex<_Up>& __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return std::pow(__type(__x), std::complex<__type>(__y)); } template inline std::complex::__type> pow(const std::complex<_Tp>& __x, const std::complex<_Up>& __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return std::pow(std::complex<__type>(__x), std::complex<__type>(__y)); } template std::complex<_Tp> proj(const std::complex<_Tp>&); template inline std::complex<_Tp> __complex_proj(const std::complex<_Tp>& __z) { return __z; } # 1926 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 inline complex __complex_proj(const complex& __z) { if (__builtin_isinf(__z.real()) || __builtin_isinf(__z.imag())) return complex(__builtin_inff(), __builtin_copysignf(0.0f, __z.imag())); return __z; } inline complex __complex_proj(const complex& __z) { if (__builtin_isinf(__z.real()) || __builtin_isinf(__z.imag())) return complex(__builtin_inf(), __builtin_copysign(0.0, __z.imag())); return __z; } inline complex __complex_proj(const complex& __z) { if (__builtin_isinf(__z.real()) || __builtin_isinf(__z.imag())) return complex(__builtin_infl(), __builtin_copysignl(0.0l, __z.imag())); return __z; } template inline std::complex<_Tp> proj(const std::complex<_Tp>& __z) { return __complex_proj(__z); } template inline std::complex::__type> proj(_Tp __x) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return std::proj(std::complex<__type>(__x)); } template inline std::complex::__type> conj(_Tp __x) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return std::complex<__type>(__x, -__type()); } # 2016 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/complex" 3 } # 83 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex" 2 3 #pragma clang force_cuda_host_device end # 112 "/opt/rocm-5.1.0/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h" 2 3 # 2 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp" 2 # 1 "/tmp/petsc-iuu41q9r/config.setCompilers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp" 2 # 1 "/tmp/petsc-iuu41q9r/config.setCompilers/conffix.h" 1 extern "C" { } # 3 "/tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp" 2 # 1 "/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/stdlib.h" 1 3 # 4 "/tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp" 2 __attribute__((global)) void testFunction() {return;}; // __CLANG_OFFLOAD_BUNDLE____END__ host-x86_64-unknown-linux-gnu stderr: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Source: #include "confdefs.h" #include "conffix.h" #include __global__ void testFunction() {return;}; Preprocess output before filtering: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' : Preprocess output after filtering: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/': Cannot preprocess HIP with hipcc -E. ============================================================================================= TESTING: checkSYCLCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:1495) Locate a functional SYCL compiler ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:687) Set the host compiler (HC) of the device compiler (DC) to the HC unless the DC already explicitly sets its HC. This may be needed if the default HC used by the DC is ancient and PETSc uses a different HC (e.g., through --with-cxx=...). ============================================================================================= TESTING: checkFortranCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:1764) Locate a functional Fortran compiler Checking for program /projects/cmake/toss3/3.22.3/bin/mpif90...not found Checking for program /opt/openmpi/4.1/gnu/bin/mpif90...found Defined make macro "FC" to "mpif90" ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.F90 Successful compile: Source: program main end ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status: ======== Checking running linked program ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Testing executable /tmp/petsc-iuu41q9r/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-iuu41q9r/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-iuu41q9r/config.setCompilers/conftest Executing: mpif90 --version stdout: GNU Fortran (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ============================================================================================= TESTING: checkFortranPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:1801) Locate a functional Fortran preprocessor Checking for program /projects/cmake/toss3/3.22.3/bin/mpif90...not found Checking for program /opt/openmpi/4.1/gnu/bin/mpif90...found Defined make macro "FPP" to "mpif90 -E" Preprocessing source: #define foo 10 Executing: mpif90 -E -I/tmp/petsc-iuu41q9r/config.setCompilers /tmp/petsc-iuu41q9r/config.setCompilers/conftest.F90 Preprocess output before filtering: : Preprocess output after filtering: : ============================================================================================= TESTING: checkFortranComments from config.setCompilers(config/BuildSystem/config/setCompilers.py:1820) Make sure fortran comment "!" works ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.F90 Successful compile: Source: program main ! comment end Fortran comments can use ! in column 1 ============================================================================================= TESTING: checkLargeFileIO from config.setCompilers(config/BuildSystem/config/setCompilers.py:1991) ============================================================================================= TESTING: checkArchiver from config.setCompilers(config/BuildSystem/config/setCompilers.py:2090) Check that the archiver exists and can make a library usable by the compiler Executing: ar -V stdout: GNU ar version 2.35-5.el7.4 Copyright (C) 2020 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Executing: ar -V stdout: GNU ar version 2.35-5.el7.4 Copyright (C) 2020 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /projects/cmake/toss3/3.22.3/bin/ar...not found Checking for program /opt/openmpi/4.1/gnu/bin/ar...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/ar...found Defined make macro "AR" to "/opt/rh/devtoolset-10/root/usr/bin/ar" Checking for program /projects/cmake/toss3/3.22.3/bin/ranlib...not found Checking for program /opt/openmpi/4.1/gnu/bin/ranlib...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/ranlib...found Defined make macro "RANLIB" to "/opt/rh/devtoolset-10/root/usr/bin/ranlib -c" Executing: /opt/rh/devtoolset-10/root/usr/bin/ar cr /tmp/petsc-iuu41q9r/config.setCompilers/libconf1.a /tmp/petsc-iuu41q9r/config.setCompilers/conf1.o Executing: /opt/rh/devtoolset-10/root/usr/bin/ranlib -c /tmp/petsc-iuu41q9r/config.setCompilers/libconf1.a Possible ERROR while running ranlib: stderr: /opt/rh/devtoolset-10/root/usr/bin/ranlib: invalid option -- 'c' Ranlib is not functional with your archiver. Try --with-ranlib=true if ranlib is unnecessary. Executing: ar -V stdout: GNU ar version 2.35-5.el7.4 Copyright (C) 2020 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Executing: ar -V stdout: GNU ar version 2.35-5.el7.4 Copyright (C) 2020 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /projects/cmake/toss3/3.22.3/bin/ar...not found Checking for program /opt/openmpi/4.1/gnu/bin/ar...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/ar...found Defined make macro "AR" to "/opt/rh/devtoolset-10/root/usr/bin/ar" Checking for program /projects/cmake/toss3/3.22.3/bin/ranlib...not found Checking for program /opt/openmpi/4.1/gnu/bin/ranlib...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/ranlib...found Defined make macro "RANLIB" to "/opt/rh/devtoolset-10/root/usr/bin/ranlib" Executing: /opt/rh/devtoolset-10/root/usr/bin/ar cr /tmp/petsc-iuu41q9r/config.setCompilers/libconf1.a /tmp/petsc-iuu41q9r/config.setCompilers/conf1.o Executing: /opt/rh/devtoolset-10/root/usr/bin/ranlib /tmp/petsc-iuu41q9r/config.setCompilers/libconf1.a ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern int foo(int); int main() { int b = foo(1); if (b); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -L/tmp/petsc-iuu41q9r/config.setCompilers -lconf1 Defined make macro "AR_FLAGS" to "cr" Defined make macro "AR_LIB_SUFFIX" to "a" ============================================================================================= TESTING: checkArchiverRecipeArgfile from config.setCompilers(config/BuildSystem/config/setCompilers.py:2154) Checks if AR handles @ notation Executing: /opt/rh/devtoolset-10/root/usr/bin/ar cr checkRecipeArgfile.a @checkRecipeArgfile.args Defined make macro "AR_ARGFILE" to "yes" ============================================================================================= TESTING: checkSharedLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:2236) Check that the linker can produce shared libraries Checking shared linker /opt/rh/devtoolset-10/root/usr/bin/ar using flags [] Checking for program /opt/rh/devtoolset-10/root/usr/bin/ar...found Defined make macro "LD_SHARED" to "/opt/rh/devtoolset-10/root/usr/bin/ar" Executing: mpicc --help | head -n 20 stdout: Usage: gcc [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: mpicc -show stdout: gcc -I/opt/openmpi/4.1/gnu/include -pthread -Wl,-rpath -Wl,/opt/openmpi/4.1/gnu/lib -Wl,--enable-new-dtags -L/opt/openmpi/4.1/gnu/lib -lmpi Trying C compiler flag -fPIC Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -O3 -fPIC Added C compiler flag -fPIC ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Executing: /opt/rh/devtoolset-10/root/usr/bin/ar cr /tmp/petsc-iuu41q9r/config.setCompilers/libconftest.a /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o ; /opt/rh/devtoolset-10/root/usr/bin/ranlib /tmp/petsc-iuu41q9r/config.setCompilers/libconftest.a ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(void); int main() { int ret = foo(); if (ret) {} ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -L/tmp/petsc-iuu41q9r/config.setCompilers -lconftest Using shared linker /opt/rh/devtoolset-10/root/usr/bin/ar with flags [] and library extension a Executing: uname -s stdout: Linux Executing: uname -s stdout: Linux ============================================================================================= TESTING: checkPIC from config.setCompilers(config/BuildSystem/config/setCompilers.py:1941) Determine the PIC option for each compiler Skip checking PIC options on user request ============================================================================================= TESTING: checkSharedLinkerPaths from config.setCompilers(config/BuildSystem/config/setCompilers.py:2350) Determine the shared linker path options - IRIX: -rpath - Linux, OSF: -Wl,-rpath, - Solaris: -R - FreeBSD: -Wl,-R, Executing: uname -s stdout: Linux Executing: mpicc -V Trying C linker flag -Wl,-rpath, Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -Wl,-rpath,/projects/ADSM/software/petsc-v3.17.2 -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o Valid C linker flag -Wl,-rpath,/projects/ADSM/software/petsc-v3.17.2 Executing: uname -s stdout: Linux Executing: mpicc -V Trying Cxx linker flag -Wl,-rpath, Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicxx -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -Wl,-rpath,/projects/ADSM/software/petsc-v3.17.2 -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o Valid Cxx linker flag -Wl,-rpath,/projects/ADSM/software/petsc-v3.17.2 Executing: uname -s stdout: Linux Executing: mpicc -V Trying FC linker flag -Wl,-rpath, Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -Wl,-rpath,/projects/ADSM/software/petsc-v3.17.2 -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Valid FC linker flag -Wl,-rpath,/projects/ADSM/software/petsc-v3.17.2 Executing: uname -s stdout: Linux Executing: mpicc -V Trying HIP linker flag -Wl,-rpath, Executing: hipcc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -std=gnu++17 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: stderr: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: hipcc -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -std=gnu++17 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o Possible ERROR while running linker: stderr: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Linker output before filtering: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' : Linker output after filtering: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/': Valid HIP linker flag -Wl,-rpath,/projects/ADSM/software/petsc-v3.17.2 ============================================================================================= TESTING: checkLibC from config.setCompilers(config/BuildSystem/config/setCompilers.py:2389) Test whether we need to explicitly include libc in shared linking - Mac OSX requires an explicit reference to libc for shared linking ============================================================================================= TESTING: checkDynamicLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:2435) Check that the linker can dynamicaly load shared libraries Checking for header: dlfcn.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_DLFCN_H" to "1" Checking for functions [dlopen dlsym dlclose] in library ['dl'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.libraries -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } char dlsym(); static void _check_dlsym() { dlsym(); } char dlclose(); static void _check_dlclose() { dlclose(); } int main() { _check_dlopen(); _check_dlsym(); _check_dlclose();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } char dlsym(); static void _check_dlsym() { dlsym(); } char dlclose(); static void _check_dlclose() { dlclose(); } void dummy(void) {_check_dlopen(); _check_dlsym(); _check_dlclose();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Defined "HAVE_LIBDL" to "1" Adding ['dl'] to LIBS Executing: uname -s stdout: Linux Checking dynamic linker /opt/rh/devtoolset-10/root/usr/bin/ar using flags [] Checking for program /opt/rh/devtoolset-10/root/usr/bin/ar...found Defined make macro "DYNAMICLINKER" to "/opt/rh/devtoolset-10/root/usr/bin/ar" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("test");return 0;} Executing: /opt/rh/devtoolset-10/root/usr/bin/ar -o /tmp/petsc-iuu41q9r/config.setCompilers/libconftest.so /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/bin/ar: creating /tmp/petsc-iuu41q9r/config.setCompilers/libconftest.so Linker output before filtering: /opt/rh/devtoolset-10/root/usr/bin/ar: creating /tmp/petsc-iuu41q9r/config.setCompilers/libconftest.so : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/bin/ar: creating /tmp/petsc-iuu41q9r/config.setCompilers/libconftest.so: Checking dynamic linker mpicc using flags ['-shared'] Checking for program /projects/cmake/toss3/3.22.3/bin/mpicc...not found Checking for program /opt/openmpi/4.1/gnu/bin/mpicc...found Defined make macro "DYNAMICLINKER" to "mpicc" Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -shared -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -ldl Valid C linker flag -shared ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("test");return 0;} Executing: mpicc -o /tmp/petsc-iuu41q9r/config.setCompilers/libconftest.so -shared -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -ldl ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { void *handle = dlopen("/tmp/petsc-iuu41q9r/config.setCompilers/libconftest.so", 0); int (*foo)(void) = (int (*)(void)) dlsym(handle, "foo"); if (!foo) { printf("Could not load symbol\n"); return -1; } if ((*foo)()) { printf("Invalid return from foo()\n"); return -1; } if (dlclose(handle)) { printf("Could not close library\n"); return -1; } ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -ldl Using dynamic linker mpicc with flags ['-shared'] and library extension so ============================================================================================= TESTING: checkPragma from config.setCompilers(config/BuildSystem/config/setCompilers.py:1900) Check for all available applicable languages whether they complain (including warnings!) about potentially unknown pragmas Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 -fPIC -Wunknown-pragmas /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -O3 -fPIC -Wunknown-pragmas Added C compiler flag -Wunknown-pragmas ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 -fPIC -Wunknown-pragmas /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #pragma GCC poison TEST int main() { ; return 0; } Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 -Wunknown-pragmas -std=gnu++17 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -O3 -Wunknown-pragmas Added Cxx compiler flag -Wunknown-pragmas ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 -Wunknown-pragmas -std=gnu++17 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #pragma GCC poison TEST int main() { ; return 0; } Executing: hipcc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -std=gnu++17 -Wunknown-pragmas /tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: stderr: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -Wunknown-pragmas Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Added HIP compiler flag -Wunknown-pragmas ===== Checking compiler Executing: hipcc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -std=gnu++17 -Wunknown-pragmas /tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: stderr: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Source: #include "confdefs.h" #include "conffix.h" #pragma GCC poison TEST int main() { ; return 0; } ============================================================================================= TESTING: output from config.setCompilers(config/BuildSystem/config/setCompilers.py:2484) Output module data as defines and substitutions Substituting "CC" with "mpicc" Substituting "CFLAGS" with "-O3 -fPIC" Defined make macro "CC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "CPP" with "mpicc -E" Substituting "CPPFLAGS" with "" Substituting "HIPC" with "hipcc" Substituting "HIPFLAGS" with " -std=gnu++17" Substituting "HIPPP" with "hipcc -E" Substituting "HIPPPFLAGS" with "" Substituting "CXX" with "mpicxx" Substituting "CXX_CXXFLAGS" with " -std=gnu++17" Substituting "CXXFLAGS" with "-O3" Substituting "CXX_LINKER_SLFLAG" with "-Wl,-rpath," Substituting "CXXPP" with "mpicxx -E" Substituting "CXXPPFLAGS" with "" Substituting "FC" with "mpif90" Substituting "FFLAGS" with "-O3" Defined make macro "FC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "LDFLAGS" with "" Substituting "FPP" with "mpif90 -E" Substituting "FPPFLAGS" with "" Substituting "LIBS" with "-ldl " Substituting "SHARED_LIBRARY_FLAG" with "" child config.setCompilers took 9.092855 seconds ============================================================================================= TESTING: configureIndexSize from PETSc.options.indexTypes(config/PETSc/options/indexTypes.py:39) Defined make macro "PETSC_INDEX_SIZE" to "32" child PETSc.options.indexTypes took 0.000934 seconds ============================================================================================= TESTING: configureCompilerFlags from config.compilerFlags(config/BuildSystem/config/compilerFlags.py:82) Get the default compiler flags Executing: mpicc --version stdout: gcc (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: mpicc gcc (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Defined make macro "C_VERSION" to "gcc (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11)" Ignoring default options which were overridden using --CFLAGS -O3 Optimization options found in CFLAGS. Skipping setting defaults Executing: mpicxx --version stdout: g++ (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: mpicxx g++ (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Defined make macro "Cxx_VERSION" to "g++ (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11)" Ignoring default options which were overridden using --CXXFLAGS -O3 Optimization options found in CXXFLAGS. Skipping setting defaults Executing: mpif90 --version stdout: GNU Fortran (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: mpif90 GNU Fortran (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Defined make macro "FC_VERSION" to "GNU Fortran (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11)" Ignoring default options which were overridden using --FFLAGS -O3 Optimization options found in FFLAGS. Skipping setting defaults Executing: hipcc --version stdout: HIP version: 5.1.20531-cacfa990 AMD clang version 14.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-5.1.0 22114 5cba46feb6af367b1cafaa183ec42dbfb8207b14) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-5.1.0/llvm/bin getCompilerVersion: hipcc HIP version: 5.1.20531-cacfa990 Defined make macro "HIP_VERSION" to "HIP version: 5.1.20531-cacfa990" Defined make macro "MPICXX_SHOW" to "Unavailable" Executing: hipcc --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: clang-14 [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --amdgpu-arch-tool= Tool used for detecting AMD GPU arch in the system. --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|sarif-html|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -byteswapio Swap byte-order for unformatted input/output -B Search $prefix/$triple-$file and $prefix$file for executables, libraries, includes, and data files used by the compiler. $prefix may or may not be a directory -b Pass -b to the linker on AIX (only). -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. Executing: hipcc --help | head -n 500 Detected CLANG compiler Executing: uname -s stdout: Linux Executing: hipcc --version stdout: HIP version: 5.1.20531-cacfa990 AMD clang version 14.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-5.1.0 22114 5cba46feb6af367b1cafaa183ec42dbfb8207b14) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm-5.1.0/llvm/bin Detected HIP compiler Trying HIP compiler flag -Wall Executing: hipcc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -std=gnu++17 -Wall /tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: stderr: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -Wall Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Added HIP compiler flag -Wall Trying HIP compiler flag -Wwrite-strings Executing: hipcc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -std=gnu++17 -Wall -Wwrite-strings /tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: stderr: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -Wall -Wwrite-strings Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Added HIP compiler flag -Wwrite-strings Trying HIP compiler flag -Wno-strict-aliasing Executing: hipcc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -std=gnu++17 -Wall -Wwrite-strings -Wno-strict-aliasing /tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: stderr: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -Wall -Wwrite-strings -Wno-strict-aliasing Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Added HIP compiler flag -Wno-strict-aliasing Trying HIP compiler flag -Wno-unknown-pragmas Executing: hipcc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -std=gnu++17 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas /tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: stderr: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Added HIP compiler flag -Wno-unknown-pragmas Trying HIP compiler flag -Wno-lto-type-mismatch Executing: hipcc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -std=gnu++17 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch /tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: stderr: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' warning: unknown warning option '-Wno-lto-type-mismatch'; did you mean '-Wno-selector-type-mismatch'? [-Wunknown-warning-option] 1 warning generated when compiling for gfx803. warning: unknown warning option '-Wno-lto-type-mismatch'; did you mean '-Wno-selector-type-mismatch'? [-Wunknown-warning-option] 1 warning generated when compiling for host. Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' warning: unknown warning option '-Wno-lto-type-mismatch'; did you mean '-Wno-selector-type-mismatch'? [-Wunknown-warning-option] 1 warning generated when compiling for gfx803. warning: unknown warning option '-Wno-lto-type-mismatch'; did you mean '-Wno-selector-type-mismatch'? [-Wunknown-warning-option] 1 warning generated when compiling for host. Rejecting compiler flag -Wno-lto-type-mismatch due to Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' warning: unknown warning option '-Wno-lto-type-mismatch'; did you mean '-Wno-selector-type-mismatch'? [-Wunknown-warning-option] 1 warning generated when compiling for gfx803. warning: unknown warning option '-Wno-lto-type-mismatch'; did you mean '-Wno-selector-type-mismatch'? [-Wunknown-warning-option] 1 warning generated when compiling for host. Rejected HIP compiler flag -Wno-lto-type-mismatch Trying HIP compiler flag -fvisibility=hidden Executing: hipcc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -std=gnu++17 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden /tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: stderr: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Added HIP compiler flag -fvisibility=hidden Defined make macro "MPICXX_SHOW" to "Unavailable" Executing: hipcc --help | head -n 20 stdout: OVERVIEW: clang LLVM compiler USAGE: clang-14 [options] file... OPTIONS: -### Print (but do not run) the commands to run for this compilation --amdgpu-arch-tool= Tool used for detecting AMD GPU arch in the system. --analyzer-output Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|sarif-html|text). --analyze Run the static analyzer -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -byteswapio Swap byte-order for unformatted input/output -B Search $prefix/$triple-$file and $prefix$file for executables, libraries, includes, and data files used by the compiler. $prefix may or may not be a directory -b Pass -b to the linker on AIX (only). -CC Include comments from within macros in preprocessed output -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. Executing: hipcc --help | head -n 500 Detected CLANG compiler Executing: hipcc --help | head -n 500 Detected CLANG compiler ============================================================================================= ***** WARNING: Using default HIP optimization flags -g -O3 You might consider manually setting optimal optimization flags for your system with HIPOPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples ============================================================================================= Trying HIP compiler flag -g Executing: hipcc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -std=gnu++17 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g /tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: stderr: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Added HIP compiler flag -g Trying HIP compiler flag -O3 Executing: hipcc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -std=gnu++17 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: stderr: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Added HIP compiler flag -O3 ============================================================================================= TESTING: checkIntelHardwareSupport from config.compilerFlags(config/BuildSystem/config/compilerFlags.py:173) Use Linux/MacOS commands to determine what operations the hardware supports Executing: lscpu stdout: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 72 On-line CPU(s) list: 0-71 Thread(s) per core: 2 Core(s) per socket: 18 Socket(s): 2 NUMA node(s): 2 Vendor ID: GenuineIntel CPU family: 6 Model: 85 Model name: Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz Stepping: 7 CPU MHz: 2600.000 BogoMIPS: 5200.00 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 1024K L3 cache: 25344K NUMA node0 CPU(s): 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70 NUMA node1 CPU(s): 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 cdp_l3 invpcid_single intel_ppin intel_pt ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx rdt_a avx512f avx512dq rdseed adx clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear spec_ctrl intel_stibp flush_l1d arch_capabilities ============================================================================================= TESTING: checkCompilerMacros from config.compilerFlags(config/BuildSystem/config/compilerFlags.py:164) Save the list of CPP macros defined by the C and C++ compiler, does not work for all compilers Executing: mpicc -c -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilerFlags -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilerFlags/conftest.c -E -dM stdout: #define __DBL_MIN_EXP__ (-1021) #define __UINT_LEAST16_MAX__ 0xffff #define __ATOMIC_ACQUIRE 2 #define __FLT128_MAX_10_EXP__ 4932 #define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F #define __GCC_IEC_559_COMPLEX 2 #define __UINT_LEAST8_TYPE__ unsigned char #define __SIZEOF_FLOAT80__ 16 #define __INTMAX_C(c) c ## L #define __CHAR_BIT__ 8 #define __UINT8_MAX__ 0xff #define __SCHAR_WIDTH__ 8 #define __WINT_MAX__ 0xffffffffU #define __FLT32_MIN_EXP__ (-125) #define __ORDER_LITTLE_ENDIAN__ 1234 #define __SIZE_MAX__ 0xffffffffffffffffUL #define __WCHAR_MAX__ 0x7fffffff #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __DBL_DENORM_MIN__ ((double)4.94065645841246544176568792868221372e-324L) #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 #define __GCC_IEC_559 2 #define __FLT32X_DECIMAL_DIG__ 17 #define __FLT_EVAL_METHOD__ 0 #define __FLT64_DECIMAL_DIG__ 17 #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __UINT_FAST64_MAX__ 0xffffffffffffffffUL #define __SIG_ATOMIC_TYPE__ int #define __DBL_MIN_10_EXP__ (-307) #define __FINITE_MATH_ONLY__ 0 #define __FLT32X_MAX_EXP__ 1024 #define __FLT32_HAS_DENORM__ 1 #define __UINT_FAST8_MAX__ 0xff #define __FLT32_MAX_10_EXP__ 38 #define __DEC64_MAX_EXP__ 385 #define __INT8_C(c) c #define __INT_LEAST8_WIDTH__ 8 #define __UINT_LEAST64_MAX__ 0xffffffffffffffffUL #define __SHRT_MAX__ 0x7fff #define __LDBL_MAX__ 1.18973149535723176502126385303097021e+4932L #define __FLT64X_MAX_10_EXP__ 4932 #define __FLT64X_HAS_QUIET_NAN__ 1 #define __UINT_LEAST8_MAX__ 0xff #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 #define __FLT128_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F128 #define __UINTMAX_TYPE__ long unsigned int #define __linux 1 #define __DEC32_EPSILON__ 1E-6DF #define __FLT_EVAL_METHOD_TS_18661_3__ 0 #define __OPTIMIZE__ 1 #define __unix 1 #define __UINT32_MAX__ 0xffffffffU #define __FLT128_MIN_EXP__ (-16381) #define __WINT_MIN__ 0U #define __FLT128_MIN_10_EXP__ (-4931) #define __INT_LEAST16_WIDTH__ 16 #define __SCHAR_MAX__ 0x7f #define __FLT128_MANT_DIG__ 113 #define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1) #define __INT64_C(c) c ## L #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 #define __FLT32X_MANT_DIG__ 53 #define __USER_LABEL_PREFIX__ #define __FLT64X_EPSILON__ 1.08420217248550443400745280086994171e-19F64x #define __STDC_HOSTED__ 1 #define __DEC64_MIN_EXP__ (-382) #define __DBL_DIG__ 15 #define __FLT32_DIG__ 6 #define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F #define __SHRT_WIDTH__ 16 #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L #define __STDC_UTF_16__ 1 #define __DEC32_MAX__ 9.999999E96DF #define __FLT64X_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951F64x #define __FLT32X_HAS_INFINITY__ 1 #define __INT32_MAX__ 0x7fffffff #define __unix__ 1 #define __INT_WIDTH__ 32 #define __SIZEOF_LONG__ 8 #define __STDC_IEC_559__ 1 #define __STDC_ISO_10646__ 201103L #define __UINT16_C(c) c #define __DECIMAL_DIG__ 21 #define __STDC_IEC_559_COMPLEX__ 1 #define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64 #define __gnu_linux__ 1 #define __FLT64X_MIN_10_EXP__ (-4931) #define __LDBL_HAS_QUIET_NAN__ 1 #define __FLT64_MANT_DIG__ 53 #define __FLT64X_MANT_DIG__ 64 #define __GNUC__ 10 #define __MMX__ 1 #define __FLT_HAS_DENORM__ 1 #define __SIZEOF_LONG_DOUBLE__ 16 #define __BIGGEST_ALIGNMENT__ 16 #define __FLT64_MAX_10_EXP__ 308 #define __DBL_MAX__ ((double)1.79769313486231570814527423731704357e+308L) #define __INT_FAST32_MAX__ 0x7fffffffffffffffL #define __DBL_HAS_INFINITY__ 1 #define __SIZEOF_FLOAT__ 4 #define __HAVE_SPECULATION_SAFE_VALUE 1 #define __DEC32_MIN_EXP__ (-94) #define __INTPTR_WIDTH__ 64 #define __FLT64X_HAS_INFINITY__ 1 #define __UINT_LEAST32_MAX__ 0xffffffffU #define __FLT32X_HAS_DENORM__ 1 #define __INT_FAST16_TYPE__ long int #define __MMX_WITH_SSE__ 1 #define __LDBL_HAS_DENORM__ 1 #define __FLT128_HAS_INFINITY__ 1 #define __DEC32_MIN__ 1E-95DF #define __DBL_MAX_EXP__ 1024 #define __WCHAR_WIDTH__ 32 #define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32 #define __DEC128_EPSILON__ 1E-33DL #define __SSE2_MATH__ 1 #define __ATOMIC_HLE_RELEASE 131072 #define __PTRDIFF_MAX__ 0x7fffffffffffffffL #define __amd64 1 #define __STDC_NO_THREADS__ 1 #define __ATOMIC_HLE_ACQUIRE 65536 #define __LONG_LONG_MAX__ 0x7fffffffffffffffLL #define __SIZEOF_SIZE_T__ 8 #define __FLT64X_MIN_EXP__ (-16381) #define __SIZEOF_WINT_T__ 4 #define __LONG_LONG_WIDTH__ 64 #define __FLT32_MAX_EXP__ 128 #define __GXX_ABI_VERSION 1014 #define __FLT_MIN_EXP__ (-125) #define __GCC_HAVE_DWARF2_CFI_ASM 1 #define __INT16_MAX__ 0x7fff #define __x86_64 1 #define __INT_FAST64_TYPE__ long int #define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64 #define __DBL_MIN__ ((double)2.22507385850720138309023271733240406e-308L) #define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128 #define __FLT64X_NORM_MAX__ 1.18973149535723176502126385303097021e+4932F64x #define __SIZEOF_POINTER__ 8 #define __LP64__ 1 #define __DBL_HAS_QUIET_NAN__ 1 #define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x #define __DECIMAL_BID_FORMAT__ 1 #define __FLT64_MIN_EXP__ (-1021) #define __FLT64_MIN_10_EXP__ (-307) #define __FLT64X_DECIMAL_DIG__ 21 #define __DEC128_MIN__ 1E-6143DL #define __REGISTER_PREFIX__ #define __UINT16_MAX__ 0xffff #define __DBL_HAS_DENORM__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32 #define __UINT8_TYPE__ unsigned char #define __FLT_DIG__ 6 #define __DEC_EVAL_METHOD__ 2 #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL #define __FLT_MANT_DIG__ 24 #define __LDBL_DECIMAL_DIG__ 21 #define __VERSION__ "10.2.1 20210130 (Red Hat 10.2.1-11)" #define __UINT64_C(c) c ## UL #define _STDC_PREDEF_H 1 #define __INT_LEAST32_MAX__ 0x7fffffff #define __GCC_ATOMIC_INT_LOCK_FREE 2 #define __FLT128_MAX_EXP__ 16384 #define __FLT32_MANT_DIG__ 24 #define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __FLT128_HAS_DENORM__ 1 #define __FLT32_DECIMAL_DIG__ 9 #define __FLT128_DIG__ 33 #define __INT32_C(c) c #define __DEC64_EPSILON__ 1E-15DD #define __ORDER_PDP_ENDIAN__ 3412 #define __DEC128_MIN_EXP__ (-6142) #define __INT_FAST32_TYPE__ long int #define __UINT_LEAST16_TYPE__ short unsigned int #define unix 1 #define __SIZE_TYPE__ long unsigned int #define __UINT64_MAX__ 0xffffffffffffffffUL #define __FLT64X_DIG__ 18 #define __INT8_TYPE__ signed char #define __ELF__ 1 #define __GCC_ASM_FLAG_OUTPUTS__ 1 #define __UINT32_TYPE__ unsigned int #define __FLT_RADIX__ 2 #define __INT_LEAST16_TYPE__ short int #define __LDBL_EPSILON__ 1.08420217248550443400745280086994171e-19L #define __UINTMAX_C(c) c ## UL #define __GNUC_RH_RELEASE__ 11 #define __SSE_MATH__ 1 #define __k8 1 #define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x #define __SIG_ATOMIC_MAX__ 0x7fffffff #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __SIZEOF_PTRDIFF_T__ 8 #define __LDBL_DIG__ 18 #define __x86_64__ 1 #define __FLT32X_MIN_EXP__ (-1021) #define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF #define __INT_FAST16_MAX__ 0x7fffffffffffffffL #define __FLT64_DIG__ 15 #define __UINT_FAST32_MAX__ 0xffffffffffffffffUL #define __UINT_LEAST64_TYPE__ long unsigned int #define __FLT_HAS_QUIET_NAN__ 1 #define __FLT_MAX_10_EXP__ 38 #define __LONG_MAX__ 0x7fffffffffffffffL #define __FLT64X_HAS_DENORM__ 1 #define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL #define __FLT_HAS_INFINITY__ 1 #define __UINT_FAST16_TYPE__ long unsigned int #define __DEC64_MAX__ 9.999999999999999E384DD #define __INT_FAST32_WIDTH__ 64 #define __CHAR16_TYPE__ short unsigned int #define __PRAGMA_REDEFINE_EXTNAME 1 #define __SIZE_WIDTH__ 64 #define __SEG_FS 1 #define __INT_LEAST16_MAX__ 0x7fff #define __DEC64_MANT_DIG__ 16 #define __INT64_MAX__ 0x7fffffffffffffffL #define __SEG_GS 1 #define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32 #define __SIG_ATOMIC_WIDTH__ 32 #define __INT_LEAST64_TYPE__ long int #define __INT16_TYPE__ short int #define __INT_LEAST8_TYPE__ signed char #define __STDC_VERSION__ 201710L #define __SIZEOF_INT__ 4 #define __DEC32_MAX_EXP__ 97 #define __INT_FAST8_MAX__ 0x7f #define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128 #define __INTPTR_MAX__ 0x7fffffffffffffffL #define linux 1 #define __FLT64_HAS_QUIET_NAN__ 1 #define __FLT32_MIN_10_EXP__ (-37) #define __FLT32X_DIG__ 15 #define __PTRDIFF_WIDTH__ 64 #define __LDBL_MANT_DIG__ 64 #define __FLT64_HAS_INFINITY__ 1 #define __FLT64X_MAX__ 1.18973149535723176502126385303097021e+4932F64x #define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1) #define __code_model_small__ 1 #define __GCC_ATOMIC_LONG_LOCK_FREE 2 #define __DEC32_MANT_DIG__ 7 #define __k8__ 1 #define __INTPTR_TYPE__ long int #define __UINT16_TYPE__ short unsigned int #define __WCHAR_TYPE__ int #define __pic__ 2 #define __UINTPTR_MAX__ 0xffffffffffffffffUL #define __INT_FAST64_WIDTH__ 64 #define __INT_FAST64_MAX__ 0x7fffffffffffffffL #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 #define __FLT_NORM_MAX__ 3.40282346638528859811704183484516925e+38F #define __FLT32_HAS_INFINITY__ 1 #define __FLT64X_MAX_EXP__ 16384 #define __UINT_FAST64_TYPE__ long unsigned int #define __INT_MAX__ 0x7fffffff #define __linux__ 1 #define __INT64_TYPE__ long int #define __FLT_MAX_EXP__ 128 #define __ORDER_BIG_ENDIAN__ 4321 #define __DBL_MANT_DIG__ 53 #define __SIZEOF_FLOAT128__ 16 #define __INT_LEAST64_MAX__ 0x7fffffffffffffffL #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 #define __DEC64_MIN__ 1E-383DD #define __WINT_TYPE__ unsigned int #define __UINT_LEAST32_TYPE__ unsigned int #define __SIZEOF_SHORT__ 2 #define __FLT32_NORM_MAX__ 3.40282346638528859811704183484516925e+38F32 #define __SSE__ 1 #define __LDBL_MIN_EXP__ (-16381) #define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64 #define __amd64__ 1 #define __WINT_WIDTH__ 32 #define __INT_LEAST8_MAX__ 0x7f #define __INT_LEAST64_WIDTH__ 64 #define __LDBL_MAX_EXP__ 16384 #define __FLT32X_MAX_10_EXP__ 308 #define __SIZEOF_INT128__ 16 #define __LDBL_MAX_10_EXP__ 4932 #define __ATOMIC_RELAXED 0 #define __DBL_EPSILON__ ((double)2.22044604925031308084726333618164062e-16L) #define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128 #define _LP64 1 #define __UINT8_C(c) c #define __FLT64_MAX_EXP__ 1024 #define __INT_LEAST32_TYPE__ int #define __SIZEOF_WCHAR_T__ 4 #define __UINT64_TYPE__ long unsigned int #define __GNUC_PATCHLEVEL__ 1 #define __FLT128_NORM_MAX__ 1.18973149535723176508575932662800702e+4932F128 #define __FLT64_NORM_MAX__ 1.79769313486231570814527423731704357e+308F64 #define __FLT128_HAS_QUIET_NAN__ 1 #define __INTMAX_MAX__ 0x7fffffffffffffffL #define __INT_FAST8_TYPE__ signed char #define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x #define __GNUC_STDC_INLINE__ 1 #define __FLT64_HAS_DENORM__ 1 #define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32 #define __DBL_DECIMAL_DIG__ 17 #define __STDC_UTF_32__ 1 #define __INT_FAST8_WIDTH__ 8 #define __FXSR__ 1 #define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x #define __DBL_NORM_MAX__ ((double)1.79769313486231570814527423731704357e+308L) #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __INTMAX_WIDTH__ 64 #define __UINT32_C(c) c ## U #define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F #define __INT8_MAX__ 0x7f #define __LONG_WIDTH__ 64 #define __PIC__ 2 #define __UINT_FAST32_TYPE__ long unsigned int #define __FLT32X_NORM_MAX__ 1.79769313486231570814527423731704357e+308F32x #define __CHAR32_TYPE__ unsigned int #define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F #define __SSE2__ 1 #define __INT32_TYPE__ int #define __SIZEOF_DOUBLE__ 8 #define __FLT_MIN_10_EXP__ (-37) #define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64 #define __INT_LEAST32_WIDTH__ 32 #define __INTMAX_TYPE__ long int #define __DEC128_MAX_EXP__ 6145 #define __FLT32X_HAS_QUIET_NAN__ 1 #define __ATOMIC_CONSUME 1 #define __GNUC_MINOR__ 2 #define __INT_FAST16_WIDTH__ 64 #define __UINTMAX_MAX__ 0xffffffffffffffffUL #define __FLT32X_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F32x #define __DBL_MAX_10_EXP__ 308 #define __LDBL_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951L #define __INT16_C(c) c #define __STDC__ 1 #define __PTRDIFF_TYPE__ long int #define __ATOMIC_SEQ_CST 5 #define __FLT32X_MIN_10_EXP__ (-307) #define __UINTPTR_TYPE__ long unsigned int #define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD #define __DEC128_MANT_DIG__ 34 #define __LDBL_MIN_10_EXP__ (-4931) #define __SIZEOF_LONG_LONG__ 8 #define __FLT128_DECIMAL_DIG__ 36 #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 #define __FLT32_HAS_QUIET_NAN__ 1 #define __FLT_DECIMAL_DIG__ 9 #define __UINT_FAST16_MAX__ 0xffffffffffffffffUL #define __LDBL_NORM_MAX__ 1.18973149535723176502126385303097021e+4932L #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 #define __UINT_FAST8_TYPE__ unsigned char #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_RELEASE 3 Executing: mpicxx -c -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilerFlags -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.compilerFlags/conftest.cc -E -dM stdout: #define __DBL_MIN_EXP__ (-1021) #define __cpp_attributes 200809L #define __cpp_nontype_template_parameter_auto 201606L #define __UINT_LEAST16_MAX__ 0xffff #define __ATOMIC_ACQUIRE 2 #define __FLT128_MAX_10_EXP__ 4932 #define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F #define __GCC_IEC_559_COMPLEX 2 #define __cpp_aggregate_nsdmi 201304L #define __UINT_LEAST8_TYPE__ unsigned char #define __SIZEOF_FLOAT80__ 16 #define __INTMAX_C(c) c ## L #define __CHAR_BIT__ 8 #define __UINT8_MAX__ 0xff #define __SCHAR_WIDTH__ 8 #define __WINT_MAX__ 0xffffffffU #define __FLT32_MIN_EXP__ (-125) #define __cpp_static_assert 201411L #define __ORDER_LITTLE_ENDIAN__ 1234 #define __SIZE_MAX__ 0xffffffffffffffffUL #define __WCHAR_MAX__ 0x7fffffff #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __DBL_DENORM_MIN__ double(4.94065645841246544176568792868221372e-324L) #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 #define __GCC_IEC_559 2 #define __FLT32X_DECIMAL_DIG__ 17 #define __FLT_EVAL_METHOD__ 0 #define __cpp_binary_literals 201304L #define __FLT64_DECIMAL_DIG__ 17 #define __cpp_noexcept_function_type 201510L #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __cpp_variadic_templates 200704L #define __UINT_FAST64_MAX__ 0xffffffffffffffffUL #define __SIG_ATOMIC_TYPE__ int #define __DBL_MIN_10_EXP__ (-307) #define __FINITE_MATH_ONLY__ 0 #define __cpp_variable_templates 201304L #define __FLT32X_MAX_EXP__ 1024 #define __FLT32_HAS_DENORM__ 1 #define __UINT_FAST8_MAX__ 0xff #define __cpp_rvalue_reference 200610L #define __cpp_nested_namespace_definitions 201411L #define __DEC64_MAX_EXP__ 385 #define __INT8_C(c) c #define __INT_LEAST8_WIDTH__ 8 #define __cpp_variadic_using 201611L #define __UINT_LEAST64_MAX__ 0xffffffffffffffffUL #define __cpp_capture_star_this 201603L #define __SHRT_MAX__ 0x7fff #define __LDBL_MAX__ 1.18973149535723176502126385303097021e+4932L #define __FLT64X_MAX_10_EXP__ 4932 #define __cpp_if_constexpr 201606L #define __FLT64X_HAS_QUIET_NAN__ 1 #define __UINT_LEAST8_MAX__ 0xff #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 #define __FLT128_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F128 #define __UINTMAX_TYPE__ long unsigned int #define __linux 1 #define __DEC32_EPSILON__ 1E-6DF #define __FLT_EVAL_METHOD_TS_18661_3__ 0 #define __OPTIMIZE__ 1 #define __unix 1 #define __UINT32_MAX__ 0xffffffffU #define __GXX_EXPERIMENTAL_CXX0X__ 1 #define __FLT128_MIN_EXP__ (-16381) #define __WINT_MIN__ 0U #define __FLT128_MIN_10_EXP__ (-4931) #define __INT_LEAST16_WIDTH__ 16 #define __SCHAR_MAX__ 0x7f #define __FLT128_MANT_DIG__ 113 #define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1) #define __INT64_C(c) c ## L #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 #define __FLT32X_MANT_DIG__ 53 #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 #define __cpp_aligned_new 201606L #define __USER_LABEL_PREFIX__ #define __FLT32_MAX_10_EXP__ 38 #define __FLT64X_EPSILON__ 1.08420217248550443400745280086994171e-19F64x #define __STDC_HOSTED__ 1 #define __DEC64_MIN_EXP__ (-382) #define __cpp_decltype_auto 201304L #define __DBL_DIG__ 15 #define __FLT32_DIG__ 6 #define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F #define __GXX_WEAK__ 1 #define __SHRT_WIDTH__ 16 #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L #define __DEC32_MAX__ 9.999999E96DF #define __cpp_threadsafe_static_init 200806L #define __cpp_enumerator_attributes 201411L #define __FLT64X_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951F64x #define __FLT32X_HAS_INFINITY__ 1 #define __INT32_MAX__ 0x7fffffff #define __unix__ 1 #define __INT_WIDTH__ 32 #define __SIZEOF_LONG__ 8 #define __STDC_IEC_559__ 1 #define __STDC_ISO_10646__ 201103L #define __UINT16_C(c) c #define __DECIMAL_DIG__ 21 #define __STDC_IEC_559_COMPLEX__ 1 #define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64 #define __gnu_linux__ 1 #define __INT16_MAX__ 0x7fff #define __FLT64_MIN_EXP__ (-1021) #define __FLT64X_MIN_10_EXP__ (-4931) #define __LDBL_HAS_QUIET_NAN__ 1 #define __FLT64_MANT_DIG__ 53 #define __FLT64X_MANT_DIG__ 64 #define __GNUC__ 10 #define __GXX_RTTI 1 #define __MMX__ 1 #define __FLT_HAS_DENORM__ 1 #define __SIZEOF_LONG_DOUBLE__ 16 #define __BIGGEST_ALIGNMENT__ 16 #define __STDC_UTF_16__ 1 #define __FLT64_MAX_10_EXP__ 308 #define __cpp_delegating_constructors 200604L #define __FLT32_HAS_INFINITY__ 1 #define __DBL_MAX__ double(1.79769313486231570814527423731704357e+308L) #define __cpp_raw_strings 200710L #define __INT_FAST32_MAX__ 0x7fffffffffffffffL #define __DBL_HAS_INFINITY__ 1 #define __SIZEOF_FLOAT__ 4 #define __HAVE_SPECULATION_SAFE_VALUE 1 #define __cpp_fold_expressions 201603L #define __DEC32_MIN_EXP__ (-94) #define __INTPTR_WIDTH__ 64 #define __FLT64X_HAS_INFINITY__ 1 #define __UINT_LEAST32_MAX__ 0xffffffffU #define __FLT32X_HAS_DENORM__ 1 #define __INT_FAST16_TYPE__ long int #define __MMX_WITH_SSE__ 1 #define __LDBL_HAS_DENORM__ 1 #define __cplusplus 201703L #define __cpp_ref_qualifiers 200710L #define __DEC32_MIN__ 1E-95DF #define __DEPRECATED 1 #define __cpp_rvalue_references 200610L #define __DBL_MAX_EXP__ 1024 #define __WCHAR_WIDTH__ 32 #define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32 #define __DEC128_EPSILON__ 1E-33DL #define __SSE2_MATH__ 1 #define __ATOMIC_HLE_RELEASE 131072 #define __PTRDIFF_MAX__ 0x7fffffffffffffffL #define __amd64 1 #define __STDC_NO_THREADS__ 1 #define __ATOMIC_HLE_ACQUIRE 65536 #define __GNUG__ 10 #define __LONG_LONG_MAX__ 0x7fffffffffffffffLL #define __SIZEOF_SIZE_T__ 8 #define __cpp_nsdmi 200809L #define __FLT64X_MIN_EXP__ (-16381) #define __SIZEOF_WINT_T__ 4 #define __LONG_LONG_WIDTH__ 64 #define __cpp_initializer_lists 200806L #define __FLT32_MAX_EXP__ 128 #define __cpp_hex_float 201603L #define __GXX_ABI_VERSION 1014 #define __FLT128_HAS_INFINITY__ 1 #define __FLT_MIN_EXP__ (-125) #define __GCC_HAVE_DWARF2_CFI_ASM 1 #define __x86_64 1 #define __cpp_lambdas 200907L #define __INT_FAST64_TYPE__ long int #define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64 #define __cpp_template_auto 201606L #define __DBL_MIN__ double(2.22507385850720138309023271733240406e-308L) #define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128 #define __FLT64X_NORM_MAX__ 1.18973149535723176502126385303097021e+4932F64x #define __SIZEOF_POINTER__ 8 #define __LP64__ 1 #define __DBL_HAS_QUIET_NAN__ 1 #define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x #define __DECIMAL_BID_FORMAT__ 1 #define __FLT64_MIN_10_EXP__ (-307) #define __FLT64X_DECIMAL_DIG__ 21 #define __DEC128_MIN__ 1E-6143DL #define __REGISTER_PREFIX__ #define __UINT16_MAX__ 0xffff #define __LDBL_HAS_INFINITY__ 1 #define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32 #define __UINT8_TYPE__ unsigned char #define __FLT_DIG__ 6 #define __DEC_EVAL_METHOD__ 2 #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL #define __FLT_MANT_DIG__ 24 #define __LDBL_DECIMAL_DIG__ 21 #define __VERSION__ "10.2.1 20210130 (Red Hat 10.2.1-11)" #define __UINT64_C(c) c ## UL #define __cpp_unicode_characters 201411L #define _STDC_PREDEF_H 1 #define __INT_LEAST32_MAX__ 0x7fffffff #define __GCC_ATOMIC_INT_LOCK_FREE 2 #define __FLT128_MAX_EXP__ 16384 #define __FLT32_MANT_DIG__ 24 #define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __cpp_aggregate_bases 201603L #define __FLT128_HAS_DENORM__ 1 #define __FLT32_DECIMAL_DIG__ 9 #define __FLT128_DIG__ 33 #define __INT32_C(c) c #define __DEC64_EPSILON__ 1E-15DD #define __ORDER_PDP_ENDIAN__ 3412 #define __DEC128_MIN_EXP__ (-6142) #define __INT_FAST32_TYPE__ long int #define __UINT_LEAST16_TYPE__ short unsigned int #define unix 1 #define __DBL_HAS_DENORM__ 1 #define __cpp_rtti 199711L #define __SIZE_TYPE__ long unsigned int #define __UINT64_MAX__ 0xffffffffffffffffUL #define __FLT64X_DIG__ 18 #define __INT8_TYPE__ signed char #define __cpp_digit_separators 201309L #define __ELF__ 1 #define __GCC_ASM_FLAG_OUTPUTS__ 1 #define __UINT32_TYPE__ unsigned int #define __FLT_RADIX__ 2 #define __INT_LEAST16_TYPE__ short int #define __LDBL_EPSILON__ 1.08420217248550443400745280086994171e-19L #define __UINTMAX_C(c) c ## UL #define __GNUC_RH_RELEASE__ 11 #define __GLIBCXX_BITSIZE_INT_N_0 128 #define __k8 1 #define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x #define __SIG_ATOMIC_MAX__ 0x7fffffff #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __SIZEOF_PTRDIFF_T__ 8 #define __LDBL_DIG__ 18 #define __x86_64__ 1 #define __FLT32X_MIN_EXP__ (-1021) #define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF #define __INT_FAST16_MAX__ 0x7fffffffffffffffL #define __FLT64_DIG__ 15 #define __UINT_FAST32_MAX__ 0xffffffffffffffffUL #define __UINT_LEAST64_TYPE__ long unsigned int #define __FLT_HAS_QUIET_NAN__ 1 #define __FLT_MAX_10_EXP__ 38 #define __LONG_MAX__ 0x7fffffffffffffffL #define __FLT64X_HAS_DENORM__ 1 #define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL #define __FLT_HAS_INFINITY__ 1 #define __cpp_unicode_literals 200710L #define __UINT_FAST16_TYPE__ long unsigned int #define __DEC64_MAX__ 9.999999999999999E384DD #define __INT_FAST32_WIDTH__ 64 #define __CHAR16_TYPE__ short unsigned int #define __PRAGMA_REDEFINE_EXTNAME 1 #define __SIZE_WIDTH__ 64 #define __SEG_FS 1 #define __INT_LEAST16_MAX__ 0x7fff #define __DEC64_MANT_DIG__ 16 #define __INT64_MAX__ 0x7fffffffffffffffL #define __SEG_GS 1 #define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32 #define __SIG_ATOMIC_WIDTH__ 32 #define __INT_LEAST64_TYPE__ long int #define __INT16_TYPE__ short int #define __INT_LEAST8_TYPE__ signed char #define __cpp_structured_bindings 201606L #define __SIZEOF_INT__ 4 #define __DEC32_MAX_EXP__ 97 #define __INT_FAST8_MAX__ 0x7f #define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128 #define __INTPTR_MAX__ 0x7fffffffffffffffL #define __cpp_sized_deallocation 201309L #define __cpp_guaranteed_copy_elision 201606L #define linux 1 #define __FLT64_HAS_QUIET_NAN__ 1 #define __FLT32_MIN_10_EXP__ (-37) #define __EXCEPTIONS 1 #define __PTRDIFF_WIDTH__ 64 #define __LDBL_MANT_DIG__ 64 #define __cpp_range_based_for 201603L #define __FLT64_HAS_INFINITY__ 1 #define __FLT64X_MAX__ 1.18973149535723176502126385303097021e+4932F64x #define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16 #define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1) #define __code_model_small__ 1 #define __GCC_ATOMIC_LONG_LOCK_FREE 2 #define __cpp_nontype_template_args 201411L #define __DEC32_MANT_DIG__ 7 #define __cpp_return_type_deduction 201304L #define __k8__ 1 #define __INTPTR_TYPE__ long int #define __UINT16_TYPE__ short unsigned int #define __WCHAR_TYPE__ int #define __UINTPTR_MAX__ 0xffffffffffffffffUL #define __INT_FAST64_WIDTH__ 64 #define __cpp_decltype 200707L #define __INT_FAST64_MAX__ 0x7fffffffffffffffL #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 #define __FLT_NORM_MAX__ 3.40282346638528859811704183484516925e+38F #define __FLT64X_MAX_EXP__ 16384 #define __UINT_FAST64_TYPE__ long unsigned int #define __cpp_inline_variables 201606L #define __INT_MAX__ 0x7fffffff #define __linux__ 1 #define __INT64_TYPE__ long int #define __FLT_MAX_EXP__ 128 #define __ORDER_BIG_ENDIAN__ 4321 #define __DBL_MANT_DIG__ 53 #define __cpp_inheriting_constructors 201511L #define __SIZEOF_FLOAT128__ 16 #define __INT_LEAST64_MAX__ 0x7fffffffffffffffL #define __DEC64_MIN__ 1E-383DD #define __WINT_TYPE__ unsigned int #define __UINT_LEAST32_TYPE__ unsigned int #define __SIZEOF_SHORT__ 2 #define __FLT32_NORM_MAX__ 3.40282346638528859811704183484516925e+38F32 #define __SSE__ 1 #define __LDBL_MIN_EXP__ (-16381) #define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64 #define __amd64__ 1 #define __WINT_WIDTH__ 32 #define __INT_LEAST8_MAX__ 0x7f #define __INT_LEAST64_WIDTH__ 64 #define __LDBL_MAX_EXP__ 16384 #define __FLT32X_MAX_10_EXP__ 308 #define __SIZEOF_INT128__ 16 #define __LDBL_MAX_10_EXP__ 4932 #define __ATOMIC_RELAXED 0 #define __DBL_EPSILON__ double(2.22044604925031308084726333618164062e-16L) #define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128 #define _LP64 1 #define __UINT8_C(c) c #define __FLT64_MAX_EXP__ 1024 #define __INT_LEAST32_TYPE__ int #define __SIZEOF_WCHAR_T__ 4 #define __GNUC_PATCHLEVEL__ 1 #define __FLT128_NORM_MAX__ 1.18973149535723176508575932662800702e+4932F128 #define __FLT64_NORM_MAX__ 1.79769313486231570814527423731704357e+308F64 #define __FLT128_HAS_QUIET_NAN__ 1 #define __INTMAX_MAX__ 0x7fffffffffffffffL #define __INT_FAST8_TYPE__ signed char #define __cpp_namespace_attributes 201411L #define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x #define __GNUC_STDC_INLINE__ 1 #define __FLT64_HAS_DENORM__ 1 #define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32 #define __DBL_DECIMAL_DIG__ 17 #define __STDC_UTF_32__ 1 #define __INT_FAST8_WIDTH__ 8 #define __FXSR__ 1 #define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x #define __DBL_NORM_MAX__ double(1.79769313486231570814527423731704357e+308L) #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __INTMAX_WIDTH__ 64 #define __cpp_runtime_arrays 198712L #define __UINT64_TYPE__ long unsigned int #define __UINT32_C(c) c ## U #define __cpp_alias_templates 200704L #define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F #define __INT8_MAX__ 0x7f #define __LONG_WIDTH__ 64 #define __UINT_FAST32_TYPE__ long unsigned int #define __FLT32X_NORM_MAX__ 1.79769313486231570814527423731704357e+308F32x #define __CHAR32_TYPE__ unsigned int #define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F #define __cpp_constexpr 201603L #define __SSE2__ 1 #define __cpp_deduction_guides 201703L #define __INT32_TYPE__ int #define __SIZEOF_DOUBLE__ 8 #define __cpp_exceptions 199711L #define __FLT_MIN_10_EXP__ (-37) #define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64 #define __INT_LEAST32_WIDTH__ 32 #define __INTMAX_TYPE__ long int #define __DEC128_MAX_EXP__ 6145 #define __FLT32X_HAS_QUIET_NAN__ 1 #define __ATOMIC_CONSUME 1 #define __GNUC_MINOR__ 2 #define __GLIBCXX_TYPE_INT_N_0 __int128 #define __INT_FAST16_WIDTH__ 64 #define __UINTMAX_MAX__ 0xffffffffffffffffUL #define __FLT32X_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F32x #define __cpp_template_template_args 201611L #define __DBL_MAX_10_EXP__ 308 #define __LDBL_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951L #define __INT16_C(c) c #define __STDC__ 1 #define __FLT32X_DIG__ 15 #define __PTRDIFF_TYPE__ long int #define __ATOMIC_SEQ_CST 5 #define __FLT32X_MIN_10_EXP__ (-307) #define __UINTPTR_TYPE__ long unsigned int #define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD #define __DEC128_MANT_DIG__ 34 #define __LDBL_MIN_10_EXP__ (-4931) #define __cpp_generic_lambdas 201304L #define __SSE_MATH__ 1 #define __SIZEOF_LONG_LONG__ 8 #define __cpp_user_defined_literals 200809L #define __FLT128_DECIMAL_DIG__ 36 #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 #define __FLT32_HAS_QUIET_NAN__ 1 #define __FLT_DECIMAL_DIG__ 9 #define __UINT_FAST16_MAX__ 0xffffffffffffffffUL #define __LDBL_NORM_MAX__ 1.18973149535723176502126385303097021e+4932L #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 #define __UINT_FAST8_TYPE__ unsigned char #define _GNU_SOURCE 1 #define __cpp_init_captures 201304L #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_RELEASE 3 child config.compilerFlags took 10.441547 seconds Executing: mpicc --help | head -n 20 stdout: Usage: gcc [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler ============================================================================================= TESTING: checkC99Flag from config.compilers(config/BuildSystem/config/compilers.py:1384) Check for -std=c99 or equivalent flag Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { float x[2],y; float *restrict z = &y; y = FLT_ROUNDS; // c++ comment int j = 2; for (int i=0; i<2; i++){ x[i] = i*j*(*z); } ; return 0; } Output from compiling with -O3 -fPIC Accepted C99 compile flag: ============================================================================================= TESTING: checkCFormatting from config.compilers(config/BuildSystem/config/compilers.py:359) Activate format string checking if using the GNU compilers ============================================================================================= TESTING: checkDynamicLoadFlag from config.compilers(config/BuildSystem/config/compilers.py:370) Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_LAZY);dlopen(libname, RTLD_NOW);dlopen(libname, RTLD_LOCAL);dlopen(libname, RTLD_GLOBAL); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_LAZY" to "1" Defined "HAVE_RTLD_NOW" to "1" Defined "HAVE_RTLD_LOCAL" to "1" Defined "HAVE_RTLD_GLOBAL" to "1" ============================================================================================= TESTING: checkCLibraries from config.compilers(config/BuildSystem/config/compilers.py:162) Determines the libraries needed to link with C compiled code ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void asub(void) {char s[16];printf("testing %s",s);} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : C libraries are not needed when using Fortran linker ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void asub(void) {char s[16];printf("testing %s",s);} ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.compilers -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(int argc,char **args) {return 0;} Executing: mpicxx -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -ldl C libraries are not needed when using C++ linker ============================================================================================= TESTING: checkDependencyGenerationFlag from config.compilers(config/BuildSystem/config/compilers.py:1335) Check if -MMD works for dependency generation, and add it if it does Trying C compiler flag -MMD -MP Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -fPIC -MMD -MP /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -O3 -fPIC -MMD -MP Defined make macro "C_DEPFLAGS" to "-MMD -MP" Trying Cxx compiler flag -MMD -MP Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 -std=gnu++17 -MMD -MP /tmp/petsc-iuu41q9r/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -MMD -MP Defined make macro "CXX_DEPFLAGS" to "-MMD -MP" Trying HIP compiler flag -MMD -MP Executing: hipcc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -std=gnu++17 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 -MMD -MP /tmp/petsc-iuu41q9r/config.setCompilers/conftest.hip.cpp Possible ERROR while running compiler: stderr: Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -std=gnu++17 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g -O3 -MMD -MP Traceback (most recent call last): File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 257, in main() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 241, in main target_list = readFromKFD() File "/opt/rocm-5.1.0/bin/rocm_agent_enumerator", line 193, in readFromKFD for node in sorted(os.listdir(topology_dir)): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/kfd/kfd/topology/nodes/' Defined make macro "HIP_DEPFLAGS" to "-MMD -MP" Executing: mpicxx --help | head -n 20 stdout: Usage: g++ [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler ============================================================================================= TESTING: checkCxxRestrict from config.compilers(config/BuildSystem/config/compilers.py:121) Check for the CXX restrict keyword equivalent to C99 restrict ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict x;; return 0; } compilers: Set Cxx restrict keyword to : __restrict Defined "CXX_RESTRICT" to "__restrict" ============================================================================================= TESTING: checkCxxOptionalExtensions from config.compilers(config/BuildSystem/config/compilers.py:389) Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++ Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { class somename { int i; };; return 0; } Output from compiling with -O3 ============================================================================================= TESTING: checkCxxComplexFix from config.compilers(config/BuildSystem/config/compilers.py:416) Determine if the CXX compiler supports utilities provided by petsccxxcomplexfix.h ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #define Type int #define PetscReal double #define PetscComplex std::complex /* The two lines, from petsccxxcomplexfix.h, can cause the combination "C++14 + GCC-4.x libstdc++ library" to fail, complaining imag() is not marked const. If the compiler can compile these two lines, it should be able to compile other lines. */ static inline PetscComplex operator-(const Type& lhs, const PetscComplex& rhs) { return PetscReal(lhs) - const_cast(rhs); } static inline PetscComplex operator/(const Type& lhs, const PetscComplex& rhs) { return PetscReal(lhs) / const_cast(rhs); } int main() { Type x = 2; PetscComplex y(1.0,1.0),z,w; z = x - y; w = x / y; std::cout << z << w; ; return 0; } the CXX compiler supports petsccxxcomplexfix.h Defined "HAVE_CXX_COMPLEX_FIX" to "1" ============================================================================================= TESTING: checkCxxLibraries from config.compilers(config/BuildSystem/config/compilers.py:445) Determines the libraries needed to link with C++ from C and Fortran ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void asub(void) {std::vector v; try { throw 20; } catch (int e) { std::cout << "An exception occurred"; }} ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(int argc,char **args) {return 0;} Executing: mpicc -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.compilers/confc.o: in function `asub()': conftest.cc:(.text.unlikely+0x7): undefined reference to `__cxa_allocate_exception' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0xe): undefined reference to `typeinfo for int' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0x1c): undefined reference to `__cxa_throw' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0x29): undefined reference to `__cxa_begin_catch' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0x38): undefined reference to `std::cout' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0x3d): undefined reference to `std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, long)' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0x4b): undefined reference to `__cxa_end_catch' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0x43): undefined reference to `__cxa_end_catch' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.compilers/confc.o:(.gcc_except_table+0x14): undefined reference to `typeinfo for int' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.compilers/confc.o: in function `_GLOBAL__sub_I__Z4asubv': conftest.cc:(.text.startup+0xa): undefined reference to `std::ios_base::Init::Init()' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.startup+0x19): undefined reference to `std::ios_base::Init::~Init()' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.compilers/confc.o:(.eh_frame+0x13): undefined reference to `__gxx_personality_v0' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.compilers/confc.o: in function `asub()': conftest.cc:(.text.unlikely+0x7): undefined reference to `__cxa_allocate_exception' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0xe): undefined reference to `typeinfo for int' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0x1c): undefined reference to `__cxa_throw' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0x29): undefined reference to `__cxa_begin_catch' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0x38): undefined reference to `std::cout' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0x3d): undefined reference to `std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, long)' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0x4b): undefined reference to `__cxa_end_catch' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0x43): undefined reference to `__cxa_end_catch' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.compilers/confc.o:(.gcc_except_table+0x14): undefined reference to `typeinfo for int' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.compilers/confc.o: in function `_GLOBAL__sub_I__Z4asubv': conftest.cc:(.text.startup+0xa): undefined reference to `std::ios_base::Init::Init()' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.startup+0x19): undefined reference to `std::ios_base::Init::~Init()' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.compilers/confc.o:(.eh_frame+0x13): undefined reference to `__gxx_personality_v0' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.compilers/confc.o: in function `asub()': conftest.cc:(.text.unlikely+0x7): undefined reference to `__cxa_allocate_exception' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0xe): undefined reference to `typeinfo for int' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0x1c): undefined reference to `__cxa_throw' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0x29): undefined reference to `__cxa_begin_catch' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0x38): undefined reference to `std::cout' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0x3d): undefined reference to `std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, long)' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0x4b): undefined reference to `__cxa_end_catch' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.unlikely+0x43): undefined reference to `__cxa_end_catch' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.compilers/confc.o:(.gcc_except_table+0x14): undefined reference to `typeinfo for int' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.compilers/confc.o: in function `_GLOBAL__sub_I__Z4asubv': conftest.cc:(.text.startup+0xa): undefined reference to `std::ios_base::Init::Init()' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.cc:(.text.startup+0x19): undefined reference to `std::ios_base::Init::~Init()' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.compilers/confc.o:(.eh_frame+0x13): undefined reference to `__gxx_personality_v0' collect2: error: ld returned 1 exit status: Executing: uname -s stdout: Linux Executing: mpicc --version stdout: gcc (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void asub(void) {std::vector v; try { throw 20; } catch (int e) { std::cout << "An exception occurred"; }} ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(int argc,char **args) {return 0;} Executing: mpicc -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -lstdc++ -ldl compilers: C++ requires -lstdc++ to link with C compiler ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void asub(void) {std::vector v; try { throw 20; } catch (int e) { std::cout << "An exception occurred"; }} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : C++ libraries are not needed when using FC linker Executing: mpicxx -V ============================================================================================= TESTING: checkFortranNameMangling from config.compilers(config/BuildSystem/config/compilers.py:787) Checks Fortran name mangling, and defines HAVE_FORTRAN_UNDERSCORE, HAVE_FORTRAN_NOUNDERSCORE, HAVE_FORTRAN_CAPS Testing Fortran mangling type underscore with code void d1chk_(void){return;} ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1chk_(void){return;} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main call d1chk() end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : compilers: Fortran name mangling is underscore Defined "HAVE_FORTRAN_UNDERSCORE" to "1" Executing: mpif90 --version stdout: GNU Fortran (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran8plus compiler Defined "FORTRAN_CHARLEN_T" to "size_t" ============================================================================================= TESTING: checkFortranNameManglingDouble from config.compilers(config/BuildSystem/config/compilers.py:825) Checks if symbols containing an underscore append an extra underscore, and defines HAVE_FORTRAN_UNDERSCORE_UNDERSCORE if necessary ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1_chk__(void){return;} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main call d1_chk() end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.compilers/conftest.o: in function `main': conftest.F90:(.text.startup+0x1b): undefined reference to `d1_chk_' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.compilers/conftest.o: in function `main': conftest.F90:(.text.startup+0x1b): undefined reference to `d1_chk_' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.compilers/conftest.o: in function `main': conftest.F90:(.text.startup+0x1b): undefined reference to `d1_chk_' collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: checkFortranLibraries from config.compilers(config/BuildSystem/config/compilers.py:835) Substitutes for FLIBS the libraries needed to link with Fortran This macro is intended to be used in those situations when it is necessary to mix, e.g. C++ and Fortran 77, source code into a single program or shared library. For example, if object files from a C++ and Fortran 77 compiler must be linked together, then the C++ compiler/linker must be used for linking (since special C++-ish things need to happen at link time like calling global constructors, instantiating templates, enabling exception support, etc.). However, the Fortran 77 intrinsic and run-time libraries must be linked in as well, but the C++ compiler/linker does not know how to add these Fortran 77 libraries. This code was translated from the autoconf macro which was packaged in its current form by Matthew D. Langston . However, nearly all of this macro came from the OCTAVE_FLIBS macro in octave-2.0.13/aclocal.m4, and full credit should go to John W. Eaton for writing this extremely useful macro. ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-iuu41q9r/config.compilers/conftest.F90:2:11: 2 | use mpi | 1 Fatal Error: Cannot read module file ‘/opt/openmpi/4.1/gnu/lib/mpi.mod’ opened at (1), because it was created by a different version of GNU Fortran compilation terminated. Source: program main use mpi call MPI_Allreduce() end Compile failed inside link ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main #include call MPI_Allreduce() end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Executing: mpif90 -V ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: subroutine asub() print*,'testing' call MPI_Allreduce() return end ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern void asub_(void); int main(int argc,char **args) { asub_(); return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.compilers/confc.o: in function `asub_': conftest.F90:(.text+0x27): undefined reference to `_gfortran_st_write' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.F90:(.text+0x39): undefined reference to `_gfortran_transfer_character_write' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.F90:(.text+0x41): undefined reference to `_gfortran_st_write_done' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.F90:(.text+0x4f): undefined reference to `mpi_allreduce_' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.compilers/confc.o: in function `asub_': conftest.F90:(.text+0x27): undefined reference to `_gfortran_st_write' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.F90:(.text+0x39): undefined reference to `_gfortran_transfer_character_write' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.F90:(.text+0x41): undefined reference to `_gfortran_st_write_done' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.F90:(.text+0x4f): undefined reference to `mpi_allreduce_' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.compilers/confc.o: in function `asub_': conftest.F90:(.text+0x27): undefined reference to `_gfortran_st_write' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.F90:(.text+0x39): undefined reference to `_gfortran_transfer_character_write' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.F90:(.text+0x41): undefined reference to `_gfortran_st_write_done' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.F90:(.text+0x4f): undefined reference to `mpi_allreduce_' collect2: error: ld returned 1 exit status: Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -v -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o -lstdc++ -ldl Possible ERROR while running linker: stderr: Driving: /opt/rh/devtoolset-10/root/usr/bin/gfortran -o /tmp/petsc-iuu41q9r/config.compilers/conftest -v -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o -lstdc++ -ldl -I/opt/openmpi/4.1/gnu/include -pthread -I/opt/openmpi/4.1/gnu/lib -Wl,-rpath -Wl,/opt/openmpi/4.1/gnu/lib -Wl,--enable-new-dtags -L/opt/openmpi/4.1/gnu/lib -lmpi_usempi -lmpi_mpifh -lmpi -l gfortran -l m -shared-libgcc Using built-in specs. COLLECT_GCC=/opt/rh/devtoolset-10/root/usr/bin/gfortran COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-10/root/usr --mandir=/opt/rh/devtoolset-10/root/usr/share/man --infodir=/opt/rh/devtoolset-10/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --with-default-libstdcxx-abi=gcc4-compatible --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-10.2.1-20210130/obj-x86_64-redhat-linux/isl-install --disable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.2.1 20210130 (Red Hat 10.2.1-11) (GCC) Reading specs from /opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/libgfortran.spec rename spec lib to liborig COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-iuu41q9r/config.compilers/conftest' '-v' '-O3' '-I' '/opt/openmpi/4.1/gnu/include' '-pthread' '-I' '/opt/openmpi/4.1/gnu/lib' '-L/opt/openmpi/4.1/gnu/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' COMPILER_PATH=/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/ LIBRARY_PATH=/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-iuu41q9r/config.compilers/conftest' '-v' '-O3' '-I' '/opt/openmpi/4.1/gnu/include' '-pthread' '-I' '/opt/openmpi/4.1/gnu/lib' '-L/opt/openmpi/4.1/gnu/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/collect2 -plugin /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/lto-wrapper -plugin-opt=-fresolution=/tmp/ccyXRlO8.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o /tmp/petsc-iuu41q9r/config.compilers/conftest /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/crtbegin.o -L/opt/openmpi/4.1/gnu/lib -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10 -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../.. /tmp/petsc-iuu41q9r/config.compilers/conftest.o -lstdc++ -ldl -rpath /opt/openmpi/4.1/gnu/lib --enable-new-dtags -lmpi_usempi -lmpi_mpifh -lmpi -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/crtend.o /lib/../lib64/crtn.o /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-iuu41q9r/config.compilers/conftest' '-v' '-O3' '-I' '/opt/openmpi/4.1/gnu/include' '-pthread' '-I' '/opt/openmpi/4.1/gnu/lib' '-L/opt/openmpi/4.1/gnu/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' Linker output before filtering: Driving: /opt/rh/devtoolset-10/root/usr/bin/gfortran -o /tmp/petsc-iuu41q9r/config.compilers/conftest -v -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o -lstdc++ -ldl -I/opt/openmpi/4.1/gnu/include -pthread -I/opt/openmpi/4.1/gnu/lib -Wl,-rpath -Wl,/opt/openmpi/4.1/gnu/lib -Wl,--enable-new-dtags -L/opt/openmpi/4.1/gnu/lib -lmpi_usempi -lmpi_mpifh -lmpi -l gfortran -l m -shared-libgcc Using built-in specs. COLLECT_GCC=/opt/rh/devtoolset-10/root/usr/bin/gfortran COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-10/root/usr --mandir=/opt/rh/devtoolset-10/root/usr/share/man --infodir=/opt/rh/devtoolset-10/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --with-default-libstdcxx-abi=gcc4-compatible --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-10.2.1-20210130/obj-x86_64-redhat-linux/isl-install --disable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.2.1 20210130 (Red Hat 10.2.1-11) (GCC) Reading specs from /opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/libgfortran.spec rename spec lib to liborig COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-iuu41q9r/config.compilers/conftest' '-v' '-O3' '-I' '/opt/openmpi/4.1/gnu/include' '-pthread' '-I' '/opt/openmpi/4.1/gnu/lib' '-L/opt/openmpi/4.1/gnu/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' COMPILER_PATH=/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/ LIBRARY_PATH=/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-iuu41q9r/config.compilers/conftest' '-v' '-O3' '-I' '/opt/openmpi/4.1/gnu/include' '-pthread' '-I' '/opt/openmpi/4.1/gnu/lib' '-L/opt/openmpi/4.1/gnu/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/collect2 -plugin /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/lto-wrapper -plugin-opt=-fresolution=/tmp/ccyXRlO8.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o /tmp/petsc-iuu41q9r/config.compilers/conftest /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/crtbegin.o -L/opt/openmpi/4.1/gnu/lib -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10 -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../.. /tmp/petsc-iuu41q9r/config.compilers/conftest.o -lstdc++ -ldl -rpath /opt/openmpi/4.1/gnu/lib --enable-new-dtags -lmpi_usempi -lmpi_mpifh -lmpi -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/crtend.o /lib/../lib64/crtn.o /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-iuu41q9r/config.compilers/conftest' '-v' '-O3' '-I' '/opt/openmpi/4.1/gnu/include' '-pthread' '-I' '/opt/openmpi/4.1/gnu/lib' '-L/opt/openmpi/4.1/gnu/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' : Linker output after filtering: Driving: /opt/rh/devtoolset-10/root/usr/bin/gfortran -o /tmp/petsc-iuu41q9r/config.compilers/conftest -v -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o -lstdc++ -ldl -I/opt/openmpi/4.1/gnu/include -pthread -I/opt/openmpi/4.1/gnu/lib -Wl,-rpath -Wl,/opt/openmpi/4.1/gnu/lib -Wl,--enable-new-dtags -L/opt/openmpi/4.1/gnu/lib -lmpi_usempi -lmpi_mpifh -lmpi -l gfortran -l m -shared-libgcc Using built-in specs. COLLECT_GCC=/opt/rh/devtoolset-10/root/usr/bin/gfortran COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-10/root/usr --mandir=/opt/rh/devtoolset-10/root/usr/share/man --infodir=/opt/rh/devtoolset-10/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --with-default-libstdcxx-abi=gcc4-compatible --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-10.2.1-20210130/obj-x86_64-redhat-linux/isl-install --disable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.2.1 20210130 (Red Hat 10.2.1-11) (GCC) Reading specs from /opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/libgfortran.spec rename spec lib to liborig COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-iuu41q9r/config.compilers/conftest' '-v' '-O3' '-I' '/opt/openmpi/4.1/gnu/include' '-pthread' '-I' '/opt/openmpi/4.1/gnu/lib' '-L/opt/openmpi/4.1/gnu/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' COMPILER_PATH=/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/ LIBRARY_PATH=/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-iuu41q9r/config.compilers/conftest' '-v' '-O3' '-I' '/opt/openmpi/4.1/gnu/include' '-pthread' '-I' '/opt/openmpi/4.1/gnu/lib' '-L/opt/openmpi/4.1/gnu/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/collect2 -plugin /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/lto-wrapper -plugin-opt=-fresolution=/tmp/ccyXRlO8.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o /tmp/petsc-iuu41q9r/config.compilers/conftest /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/crtbegin.o -L/opt/openmpi/4.1/gnu/lib -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10 -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../.. /tmp/petsc-iuu41q9r/config.compilers/conftest.o -lstdc++ -ldl -rpath /opt/openmpi/4.1/gnu/lib --enable-new-dtags -lmpi_usempi -lmpi_mpifh -lmpi -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/crtend.o /lib/../lib64/crtn.o COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-iuu41q9r/config.compilers/conftest' '-v' '-O3' '-I' '/opt/openmpi/4.1/gnu/include' '-pthread' '-I' '/opt/openmpi/4.1/gnu/lib' '-L/opt/openmpi/4.1/gnu/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64': compilers: Checking arg Driving: compilers: Unknown arg Driving: compilers: Checking arg /opt/rh/devtoolset-10/root/usr/bin/gfortran compilers: Unknown arg /opt/rh/devtoolset-10/root/usr/bin/gfortran compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-iuu41q9r/config.compilers/conftest compilers: Unknown arg /tmp/petsc-iuu41q9r/config.compilers/conftest compilers: Checking arg -v compilers: Unknown arg -v compilers: Checking arg -O3 compilers: Unknown arg -O3 compilers: Checking arg /tmp/petsc-iuu41q9r/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-iuu41q9r/config.compilers/conftest.o compilers: Checking arg -lstdc++ compilers: Found library: -lstdc++ compilers: Checking arg -ldl compilers: Found library: -ldl compilers: Checking arg -I/opt/openmpi/4.1/gnu/include compilers: Found include directory: /opt/openmpi/4.1/gnu/include compilers: Checking arg -pthread compilers: Unknown arg -pthread compilers: Checking arg -I/opt/openmpi/4.1/gnu/lib compilers: Found include directory: /opt/openmpi/4.1/gnu/lib compilers: Checking arg -Wl,-rpath compilers: Unknown arg -Wl,-rpath compilers: Checking arg -Wl,/opt/openmpi/4.1/gnu/lib compilers: Unknown arg -Wl,/opt/openmpi/4.1/gnu/lib compilers: Checking arg -Wl,--enable-new-dtags compilers: Unknown arg -Wl,--enable-new-dtags compilers: Checking arg -L/opt/openmpi/4.1/gnu/lib compilers: Found library directory: -L/opt/openmpi/4.1/gnu/lib compilers: Checking arg -lmpi_usempi compilers: Found library: -lmpi_usempi compilers: Checking arg -lmpi_mpifh compilers: Found library: -lmpi_mpifh compilers: Checking arg -lmpi compilers: Found library: -lmpi compilers: Checking arg -l compilers: Found canonical library: -lgfortran compilers: Checking arg -l compilers: Found canonical library: -lm compilers: Checking arg -shared-libgcc compilers: Unknown arg -shared-libgcc compilers: Checking arg Using compilers: Unknown arg Using compilers: Checking arg built-in compilers: Unknown arg built-in compilers: Checking arg specs. compilers: Unknown arg specs. compilers: Checking arg COLLECT_GCC=/opt/rh/devtoolset-10/root/usr/bin/gfortran compilers: Unknown arg COLLECT_GCC=/opt/rh/devtoolset-10/root/usr/bin/gfortran compilers: Checking arg COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/lto-wrapper compilers: Unknown arg COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/lto-wrapper compilers: Checking arg Target: compilers: Unknown arg Target: compilers: Checking arg x86_64-redhat-linux compilers: Unknown arg x86_64-redhat-linux compilers: Checking arg Configured compilers: Unknown arg Configured compilers: Checking arg with: compilers: Unknown arg with: compilers: Checking arg ../configure compilers: Unknown arg ../configure compilers: Checking arg --enable-bootstrap compilers: Unknown arg --enable-bootstrap compilers: Checking arg --enable-languages=c,c++,fortran,lto compilers: Unknown arg --enable-languages=c,c++,fortran,lto compilers: Checking arg --prefix=/opt/rh/devtoolset-10/root/usr compilers: Unknown arg --prefix=/opt/rh/devtoolset-10/root/usr compilers: Checking arg --mandir=/opt/rh/devtoolset-10/root/usr/share/man compilers: Unknown arg --mandir=/opt/rh/devtoolset-10/root/usr/share/man compilers: Checking arg --infodir=/opt/rh/devtoolset-10/root/usr/share/info compilers: Unknown arg --infodir=/opt/rh/devtoolset-10/root/usr/share/info compilers: Checking arg --with-bugurl=http://bugzilla.redhat.com/bugzilla compilers: Unknown arg --with-bugurl=http://bugzilla.redhat.com/bugzilla compilers: Checking arg --enable-shared compilers: Unknown arg --enable-shared compilers: Checking arg --enable-threads=posix compilers: Unknown arg --enable-threads=posix compilers: Checking arg --enable-checking=release compilers: Unknown arg --enable-checking=release compilers: Checking arg --enable-multilib compilers: Unknown arg --enable-multilib compilers: Checking arg --with-system-zlib compilers: Unknown arg --with-system-zlib compilers: Checking arg --enable-__cxa_atexit compilers: Unknown arg --enable-__cxa_atexit compilers: Checking arg --disable-libunwind-exceptions compilers: Unknown arg --disable-libunwind-exceptions compilers: Checking arg --enable-gnu-unique-object compilers: Unknown arg --enable-gnu-unique-object compilers: Checking arg --enable-linker-build-id compilers: Unknown arg --enable-linker-build-id compilers: Checking arg --with-gcc-major-version-only compilers: Unknown arg --with-gcc-major-version-only compilers: Checking arg --with-linker-hash-style=gnu compilers: Unknown arg --with-linker-hash-style=gnu compilers: Checking arg --with-default-libstdcxx-abi=gcc4-compatible compilers: Unknown arg --with-default-libstdcxx-abi=gcc4-compatible compilers: Checking arg --enable-plugin compilers: Unknown arg --enable-plugin compilers: Checking arg --enable-initfini-array compilers: Unknown arg --enable-initfini-array compilers: Checking arg --with-isl=/builddir/build/BUILD/gcc-10.2.1-20210130/obj-x86_64-redhat-linux/isl-install compilers: Unknown arg --with-isl=/builddir/build/BUILD/gcc-10.2.1-20210130/obj-x86_64-redhat-linux/isl-install compilers: Checking arg --disable-libmpx compilers: Unknown arg --disable-libmpx compilers: Checking arg --enable-gnu-indirect-function compilers: Unknown arg --enable-gnu-indirect-function compilers: Checking arg --with-tune=generic compilers: Unknown arg --with-tune=generic compilers: Checking arg --with-arch_32=x86-64 compilers: Unknown arg --with-arch_32=x86-64 compilers: Checking arg --build=x86_64-redhat-linux compilers: Unknown arg --build=x86_64-redhat-linux compilers: Checking arg Thread compilers: Unknown arg Thread compilers: Checking arg model: compilers: Unknown arg model: compilers: Checking arg posix compilers: Unknown arg posix compilers: Checking arg Supported compilers: Unknown arg Supported compilers: Checking arg LTO compilers: Unknown arg LTO compilers: Checking arg compression compilers: Unknown arg compression compilers: Checking arg algorithms: compilers: Unknown arg algorithms: compilers: Checking arg zlib compilers: Unknown arg zlib compilers: Checking arg gcc compilers: Unknown arg gcc compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 10.2.1 compilers: Unknown arg 10.2.1 compilers: Checking arg 20210130 compilers: Unknown arg 20210130 compilers: Checking arg (Red compilers: Unknown arg (Red compilers: Checking arg Hat compilers: Unknown arg Hat compilers: Checking arg 10.2.1-11) compilers: Unknown arg 10.2.1-11) compilers: Checking arg (GCC) compilers: Unknown arg (GCC) compilers: Checking arg Reading compilers: Unknown arg Reading compilers: Checking arg specs compilers: Unknown arg specs compilers: Checking arg from compilers: Unknown arg from compilers: Checking arg /opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/libgfortran.spec compilers: Unknown arg /opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/libgfortran.spec compilers: Checking arg rename compilers: Unknown arg rename compilers: Checking arg spec compilers: Unknown arg spec compilers: Checking arg lib compilers: Unknown arg lib compilers: Checking arg to compilers: Unknown arg to compilers: Checking arg liborig compilers: Unknown arg liborig compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Checking arg COMPILER_PATH=/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/ compilers: Skipping arg COMPILER_PATH=/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/ compilers: Checking arg LIBRARY_PATH=/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../:/lib/:/usr/lib/ compilers: Skipping arg LIBRARY_PATH=/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../:/lib/:/usr/lib/ compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Checking arg /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/collect2 compilers: Unknown arg /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/collect2 compilers: Checking arg -plugin compilers: Unknown arg -plugin compilers: Checking arg /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/liblto_plugin.so compilers: Unknown arg /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/liblto_plugin.so compilers: Checking arg -plugin-opt=/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/lto-wrapper compilers: Unknown arg -plugin-opt=/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/lto-wrapper compilers: Checking arg -plugin-opt=-fresolution=/tmp/ccyXRlO8.res compilers: Unknown arg -plugin-opt=-fresolution=/tmp/ccyXRlO8.res compilers: Checking arg -plugin-opt=-pass-through=-lgcc_s compilers: Unknown arg -plugin-opt=-pass-through=-lgcc_s compilers: Checking arg -plugin-opt=-pass-through=-lgcc compilers: Unknown arg -plugin-opt=-pass-through=-lgcc compilers: Checking arg -plugin-opt=-pass-through=-lquadmath compilers: Unknown arg -plugin-opt=-pass-through=-lquadmath compilers: Checking arg -plugin-opt=-pass-through=-lm compilers: Unknown arg -plugin-opt=-pass-through=-lm compilers: Checking arg -plugin-opt=-pass-through=-lgcc_s compilers: Unknown arg -plugin-opt=-pass-through=-lgcc_s compilers: Checking arg -plugin-opt=-pass-through=-lgcc compilers: Unknown arg -plugin-opt=-pass-through=-lgcc compilers: Checking arg -plugin-opt=-pass-through=-lpthread compilers: Unknown arg -plugin-opt=-pass-through=-lpthread compilers: Checking arg -plugin-opt=-pass-through=-lc compilers: Unknown arg -plugin-opt=-pass-through=-lc compilers: Checking arg -plugin-opt=-pass-through=-lgcc_s compilers: Unknown arg -plugin-opt=-pass-through=-lgcc_s compilers: Checking arg -plugin-opt=-pass-through=-lgcc compilers: Unknown arg -plugin-opt=-pass-through=-lgcc compilers: Checking arg --build-id compilers: Unknown arg --build-id compilers: Checking arg --no-add-needed compilers: Unknown arg --no-add-needed compilers: Checking arg --eh-frame-hdr compilers: Unknown arg --eh-frame-hdr compilers: Checking arg --hash-style=gnu compilers: Unknown arg --hash-style=gnu compilers: Checking arg -m compilers: Unknown arg -m compilers: Checking arg elf_x86_64 compilers: Unknown arg elf_x86_64 compilers: Checking arg -dynamic-linker compilers: Unknown arg -dynamic-linker compilers: Checking arg /lib64/ld-linux-x86-64.so.2 compilers: Unknown arg /lib64/ld-linux-x86-64.so.2 compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-iuu41q9r/config.compilers/conftest compilers: Unknown arg /tmp/petsc-iuu41q9r/config.compilers/conftest compilers: Checking arg /lib/../lib64/crt1.o compilers: Unknown arg /lib/../lib64/crt1.o compilers: Checking arg /lib/../lib64/crti.o compilers: Unknown arg /lib/../lib64/crti.o compilers: Checking arg /opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/crtbegin.o compilers: Unknown arg /opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/crtbegin.o compilers: Checking arg -L/opt/openmpi/4.1/gnu/lib compilers: Already in lflags so skipping: -L/opt/openmpi/4.1/gnu/lib compilers: Checking arg -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10 compilers: Found library directory: -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10 compilers: Checking arg -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64 compilers: Found library directory: -L/opt/rh/devtoolset-10/root/usr/lib64 compilers: Checking arg -L/lib/../lib64 compilers: Checking arg -L/usr/lib/../lib64 compilers: Checking arg -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../.. compilers: Found library directory: -L/opt/rh/devtoolset-10/root/usr/lib compilers: Checking arg /tmp/petsc-iuu41q9r/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-iuu41q9r/config.compilers/conftest.o compilers: Checking arg -lstdc++ compilers: Already in lflags: -lstdc++ compilers: Checking arg -ldl compilers: Already in lflags: -ldl compilers: Checking arg -rpath compilers: Found -rpath library: /opt/openmpi/4.1/gnu/lib compilers: Checking arg --enable-new-dtags compilers: Unknown arg --enable-new-dtags compilers: Checking arg -lmpi_usempi compilers: Already in lflags: -lmpi_usempi compilers: Checking arg -lmpi_mpifh compilers: Already in lflags: -lmpi_mpifh compilers: Checking arg -lmpi compilers: Already in lflags: -lmpi compilers: Checking arg -lgfortran compilers: Found library: -lgfortran compilers: Checking arg -lm compilers: Found library: -lm compilers: Checking arg -lgcc_s compilers: Found library: -lgcc_s compilers: Checking arg -lgcc compilers: Found system library therefore skipping: -lgcc compilers: Checking arg -lquadmath compilers: Found library: -lquadmath compilers: Checking arg -lm compilers: Already in lflags: -lm compilers: Checking arg -lgcc_s compilers: Already in lflags: -lgcc_s compilers: Checking arg -lgcc compilers: Found system library therefore skipping: -lgcc compilers: Checking arg -lpthread compilers: Found library: -lpthread compilers: Checking arg -lc compilers: Found system library therefore skipping: -lc compilers: Checking arg -lgcc_s compilers: Already in lflags: -lgcc_s compilers: Checking arg -lgcc compilers: Found system library therefore skipping: -lgcc compilers: Checking arg /opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/crtend.o compilers: Unknown arg /opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/crtend.o compilers: Checking arg /lib/../lib64/crtn.o compilers: Unknown arg /lib/../lib64/crtn.o compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Libraries needed to link Fortran code with the C linker: ['-lstdc++', '-ldl', '-L/opt/openmpi/4.1/gnu/lib', '-lmpi_usempi', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10', '-L/opt/rh/devtoolset-10/root/usr/lib64', '-L/opt/rh/devtoolset-10/root/usr/lib', '-Wl,-rpath,/opt/openmpi/4.1/gnu/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] compilers: Libraries needed to link Fortran main with the C linker: [] compilers: Check that Fortran libraries can be used with Fortran as the linker ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.F90 Successful compile: Source: program main end ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -lstdc++ -ldl -L/opt/openmpi/4.1/gnu/lib -lmpi_usempi -lmpi_mpifh -lmpi -lgfortran -lm -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10 -L/opt/rh/devtoolset-10/root/usr/lib64 -L/opt/rh/devtoolset-10/root/usr/lib -Wl,-rpath,/opt/openmpi/4.1/gnu/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : ======== Checking running linked program ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -lstdc++ -ldl -L/opt/openmpi/4.1/gnu/lib -lmpi_usempi -lmpi_mpifh -lmpi -lgfortran -lm -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10 -L/opt/rh/devtoolset-10/root/usr/lib64 -L/opt/rh/devtoolset-10/root/usr/lib -Wl,-rpath,/opt/openmpi/4.1/gnu/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Testing executable /tmp/petsc-iuu41q9r/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-iuu41q9r/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-iuu41q9r/config.setCompilers/conftest compilers: Check that Fortran libraries can be used with C as the linker ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -lstdc++ -ldl -L/opt/openmpi/4.1/gnu/lib -lmpi_usempi -lmpi_mpifh -lmpi -lgfortran -lm -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10 -L/opt/rh/devtoolset-10/root/usr/lib64 -L/opt/rh/devtoolset-10/root/usr/lib -Wl,-rpath,/opt/openmpi/4.1/gnu/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : ======== Checking running linked program ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -lstdc++ -ldl -L/opt/openmpi/4.1/gnu/lib -lmpi_usempi -lmpi_mpifh -lmpi -lgfortran -lm -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10 -L/opt/rh/devtoolset-10/root/usr/lib64 -L/opt/rh/devtoolset-10/root/usr/lib -Wl,-rpath,/opt/openmpi/4.1/gnu/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Testing executable /tmp/petsc-iuu41q9r/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-iuu41q9r/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-iuu41q9r/config.setCompilers/conftest compilers: Check that Fortran libraries can be used with C++ as linker ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicxx -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -lstdc++ -ldl -L/opt/openmpi/4.1/gnu/lib -lmpi_usempi -lmpi_mpifh -lmpi -lgfortran -lm -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10 -L/opt/rh/devtoolset-10/root/usr/lib64 -L/opt/rh/devtoolset-10/root/usr/lib -Wl,-rpath,/opt/openmpi/4.1/gnu/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : ======== Checking running linked program ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicxx -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -lstdc++ -ldl -L/opt/openmpi/4.1/gnu/lib -lmpi_usempi -lmpi_mpifh -lmpi -lgfortran -lm -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10 -L/opt/rh/devtoolset-10/root/usr/lib64 -L/opt/rh/devtoolset-10/root/usr/lib -Wl,-rpath,/opt/openmpi/4.1/gnu/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Testing executable /tmp/petsc-iuu41q9r/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-iuu41q9r/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-iuu41q9r/config.setCompilers/conftest compilers: Fortran libraries can be used from C++ ============================================================================================= TESTING: checkFortranLinkingCxx from config.compilers(config/BuildSystem/config/compilers.py:1300) Check that Fortran can link C++ libraries ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void foo(void){d1chk_();} ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void d1chk_(void){return;} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main call d1chk() end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/cxxobj.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : compilers: Fortran can link C++ functions ============================================================================================= TESTING: setupFrameworkCompilers from config.compilers(config/BuildSystem/config/compilers.py:1452) child config.compilers took 4.312814 seconds ============================================================================================= TESTING: configureClosure from config.utilities.closure(config/BuildSystem/config/utilities/closure.py:17) Determine if Apple ^close syntax is supported in C ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.closure/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.closure/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-iuu41q9r/config.utilities.closure/conftest.c: In function ‘main’: /tmp/petsc-iuu41q9r/config.utilities.closure/conftest.c:6:6: error: expected identifier or ‘(’ before ‘^’ token 6 | int (^closure)(int);; | ^ Source: #include "confdefs.h" #include "conffix.h" #include int main() { int (^closure)(int);; return 0; } Compile failed inside link child config.utilities.closure took 0.021953 seconds ============================================================================================= TESTING: checkFortranTypeSizes from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:56) Check whether real*8 is supported and suggest flags which will allow support Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -O3 /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.F90 Successful compile: Source: program main real*8 variable end ============================================================================================= TESTING: checkFortranPreprocessor from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:73) Determine if Fortran handles preprocessing properly Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 /tmp/petsc-iuu41q9r/config.setCompilers/conftest.F90 Successful compile: Source: program main #define dummy dummy #ifndef dummy fooey #endif end Output from compiling with -O3 compilers: Fortran uses preprocessor ============================================================================================= TESTING: checkFortranDefineCompilerOption from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:96) Check if -WF,-Dfoobar or -Dfoobar is the compiler option to define a macro Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.setCompilers -O3 -DTesting /tmp/petsc-iuu41q9r/config.setCompilers/conftest.F90 Successful compile: Source: program main #define dummy dummy #ifndef Testing fooey #endif end Output from compiling with -O3 -DTesting Defined make macro "FC_DEFINE_FLAG" to "-D" compilers: Fortran uses -D for defining macro ============================================================================================= TESTING: checkFortran90 from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:146) Determine whether the Fortran compiler handles F90 ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -O3 /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.F90 Successful compile: Source: program main REAL(KIND=SELECTED_REAL_KIND(10)) d INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8) INTEGER (KIND=int) :: ierr ierr = 1 end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest -O3 /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Fortran compiler supports F90 ============================================================================================= TESTING: checkFortran90FreeForm from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:162) Determine whether the Fortran compiler handles F90FreeForm We also require that the compiler handles lines longer than 132 characters ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -O3 /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.F90:2:132: 2 | INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8); INTEGER (KIND=int) :: ierr; ierr = 1 | 1 Error: Line truncated at (1) [-Werror=line-truncation] f951: some warnings being treated as errors Source: program main INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8); INTEGER (KIND=int) :: ierr; ierr = 1 end Compile failed inside link Fortran compiler does not support F90FreeForm ============================================================================================= TESTING: checkFortran2003 from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:176) Determine whether the Fortran compiler handles F2003 ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -O3 /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.F90 Successful compile: Source: module Base_module type, public :: base_type integer :: A contains procedure, public :: Print => BasePrint end type base_type contains subroutine BasePrint(this) class(base_type) :: this end subroutine BasePrint end module Base_module program main use,intrinsic :: iso_c_binding Type(C_Ptr),Dimension(:),Pointer :: CArray character(kind=c_char),pointer :: nullc => null() character(kind=c_char,len=5),dimension(:),pointer::list1 allocate(list1(5)) CArray = (/(c_loc(list1(i)),i=1,5),c_loc(nullc)/) end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest -O3 /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Defined "USING_F2003" to "1" Fortran compiler supports F2003 ============================================================================================= TESTING: checkFortran90Array from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:211) Check for F90 array interfaces Executing: uname -s stdout: Linux ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void f90arraytest_(void* a1, void* a2,void* a3, void* i) { printf("arrays [%p %p %p]\n",a1,a2,a3); fflush(stdout); return; } void f90ptrtest_(void* a1, void* a2,void* a3, void* i, void* p1 ,void* p2, void* p3) { printf("arrays [%p %p %p]\n",a1,a2,a3); if ((p1 == p3) && (p1 != p2)) { printf("pointers match! [%p %p] [%p]\n",p1,p3,p2); fflush(stdout); } else { printf("pointers do not match! [%p %p] [%p]\n",p1,p3,p2); fflush(stdout); exit(111); } return; } ======== Checking running linked program ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -O3 /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.F90 Successful compile: Source: program main Interface Subroutine f90ptrtest(p1,p2,p3,i) integer, pointer :: p1(:,:) integer, pointer :: p2(:,:) integer, pointer :: p3(:,:) integer i End Subroutine End Interface integer, pointer :: ptr1(:,:),ptr2(:,:) integer, target :: array(6:8,9:21) integer in in = 25 ptr1 => array ptr2 => array call f90arraytest(ptr1,ptr2,ptr1,in) call f90ptrtest(ptr1,ptr2,ptr1,in) end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest -O3 /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o /tmp/petsc-iuu41q9r/config.compilersFortran/fooobj.o -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Testing executable /tmp/petsc-iuu41q9r/config.compilersFortran/conftest to see if it can be run Executing: /tmp/petsc-iuu41q9r/config.compilersFortran/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-iuu41q9r/config.compilersFortran/conftest stdout: arrays [0x7fffffffc0d0 0x7fffffffc0d0 0x7fffffffc0d0] arrays [0x7fffffffc010 0x7fffffffc070 0x7fffffffc010] pointers do not match! [0x2aaaaab1df80 0xffff800000003f81] [0x2aaaac7822cd] ERROR while running executable: Could not execute "['/tmp/petsc-iuu41q9r/config.compilersFortran/conftest']": arrays [0x7fffffffc0d0 0x7fffffffc0d0 0x7fffffffc0d0] arrays [0x7fffffffc010 0x7fffffffc070 0x7fffffffc010] pointers do not match! [0x2aaaaab1df80 0xffff800000003f81] [0x2aaaac7822cd] compilers: F90 uses a single argument for array pointers ============================================================================================= TESTING: checkFortran90AssumedType from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:298) Executing: mpif90 -qversion ============================================================================================= TESTING: checkFortranModuleInclude from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:303) Figures out what flag is used to specify the include path for Fortran modules ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -O3 /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.F90 Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.compilersFortran/confdir -O3 /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.F90 Successful compile: Source: program main use configtest write(*,*) testint end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest -I/tmp/petsc-iuu41q9r/config.compilersFortran/confdir -O3 /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o /tmp/petsc-iuu41q9r/config.compilersFortran/configtest.o -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : compilers: Fortran module include flag -I found ============================================================================================= TESTING: checkFortranModuleOutput from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:369) Figures out what flag is used to specify the output path for Fortran modules ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -module /tmp/petsc-iuu41q9r/config.compilersFortran/confdir -O3 /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: gfortran: error: unrecognized command-line option ‘-module’ Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module compile failed ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -module:/tmp/petsc-iuu41q9r/config.compilersFortran/confdir -O3 /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: gfortran: error: unrecognized command-line option ‘-module:/tmp/petsc-iuu41q9r/config.compilersFortran/confdir’ Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module: compile failed ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -fmod=/tmp/petsc-iuu41q9r/config.compilersFortran/confdir -O3 /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: gfortran: error: unrecognized command-line option ‘-fmod=/tmp/petsc-iuu41q9r/config.compilersFortran/confdir’ Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -fmod= compile failed ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -J/tmp/petsc-iuu41q9r/config.compilersFortran/confdir -O3 /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.F90 Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -J found ============================================================================================= TESTING: checkFortranTypeStar from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:135) Determine whether the Fortran compiler handles type(*) ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -O3 /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.F90 Successful compile: Source: program main interface subroutine a(b) type(*) :: b(:) end subroutine end interface end Defined "HAVE_FORTRAN_TYPE_STAR" to "1" Fortran compiler supports type(*) ============================================================================================= TESTING: checkFortranTypeInitialize from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:125) Determines if PETSc objects in Fortran are initialized by default (doesn't work with common blocks) Defined "FORTRAN_TYPE_INITIALIZE" to " = -2" Initializing Fortran objects ============================================================================================= TESTING: configureFortranFlush from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:116) ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -O3 /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.F90 Successful compile: Source: program main call flush(6) end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilersFortran/conftest -O3 /tmp/petsc-iuu41q9r/config.compilersFortran/conftest.o -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Defined "HAVE_FORTRAN_FLUSH" to "1" ============================================================================================= TESTING: checkDependencyGenerationFlag from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:414) Check if -MMD works for dependency generation, and add it if it does Trying FC compiler flag -MMD -MP Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.setCompilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -O3 -MMD -MP /tmp/petsc-iuu41q9r/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -O3 -MMD -MP Defined make macro "FC_DEPFLAGS" to "-MMD -MP" child config.compilersFortran took 0.875086 seconds ============================================================================================= TESTING: checkStdC from config.headers(config/BuildSystem/config/headers.py:107) ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.headers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -O3 -fPIC /tmp/petsc-iuu41q9r/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { ; return 0; } Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c ======== Checking running linked program ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.headers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -O3 -fPIC /tmp/petsc-iuu41q9r/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main() { int i; for(i = 0; i < 256; i++) if (XOR(islower(i), ISLOWER(i)) || toupper(i) != TOUPPER(i)) exit(2); exit(0); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.headers/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.headers/conftest.o -lstdc++ -ldl Testing executable /tmp/petsc-iuu41q9r/config.headers/conftest to see if it can be run Executing: /tmp/petsc-iuu41q9r/config.headers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-iuu41q9r/config.headers/conftest ============================================================================================= TESTING: checkStat from config.headers(config/BuildSystem/config/headers.py:140) Checks whether stat file-mode macros are broken, and defines STAT_MACROS_BROKEN if they are Preprocessing source: #include "confdefs.h" #include "conffix.h" #include #include #if defined(S_ISBLK) && defined(S_IFDIR) # if S_ISBLK (S_IFDIR) You lose. # endif #endif #if defined(S_ISBLK) && defined(S_IFCHR) # if S_ISBLK (S_IFCHR) You lose. # endif #endif #if defined(S_ISLNK) && defined(S_IFREG) # if S_ISLNK (S_IFREG) You lose. # endif #endif #if defined(S_ISSOCK) && defined(S_IFREG) # if S_ISSOCK (S_IFREG) You lose. # endif #endif Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c ============================================================================================= TESTING: checkSysWait from config.headers(config/BuildSystem/config/headers.py:175) Check for POSIX.1 compatible sys/wait.h, and defines HAVE_SYS_WAIT_H if found ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.headers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -O3 -fPIC /tmp/petsc-iuu41q9r/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #ifndef WEXITSTATUS #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif #ifndef WIFEXITED #define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif int main() { int s; wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } Defined "HAVE_SYS_WAIT_H" to "1" ============================================================================================= TESTING: checkTime from config.headers(config/BuildSystem/config/headers.py:197) Checks if you can safely include both and , and if so defines TIME_WITH_SYS_TIME Checking for header: time.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_TIME_H" to "1" Checking for header: sys/time.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TIME_H" to "1" ============================================================================================= TESTING: checkMath from config.headers(config/BuildSystem/config/headers.py:203) Checks for the math headers and defines Checking for header: math.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.headers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -O3 -fPIC /tmp/petsc-iuu41q9r/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double pi = M_PI; if (pi); ; return 0; } Found math #defines, like M_PI ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: setjmp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SETJMP_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: dos.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory 3 | #include | ^~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory 3 | #include | ^~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory 3 | #include | ^~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: fcntl.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FCNTL_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: io.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: malloc.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_MALLOC_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pwd.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PWD_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: strings.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STRINGS_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: unistd.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_UNISTD_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/sysinfo.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SYSINFO_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: machine/endian.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/param.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PARAM_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/procfs.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PROCFS_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/resource.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_RESOURCE_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/systeminfo.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/times.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TIMES_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/utsname.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_UTSNAME_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/socket.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SOCKET_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/wait.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_WAIT_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netinet/in.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETINET_IN_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netdb.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETDB_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: direct.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: time.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_TIME_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: Ws2tcpip.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/types.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: WindowsX.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: ieeefp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: stdint.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STDINT_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pthread.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PTHREAD_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: inttypes.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_INTTYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: immintrin.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_IMMINTRIN_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: zmmintrin.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: zmmintrin.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: zmmintrin.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: zmmintrin.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: setjmp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SETJMP_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: dos.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory 3 | #include | ^~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory 3 | #include | ^~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory 3 | #include | ^~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: fcntl.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FCNTL_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: io.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: malloc.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_MALLOC_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pwd.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PWD_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: strings.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STRINGS_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: unistd.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_UNISTD_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/sysinfo.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SYSINFO_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: machine/endian.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/param.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PARAM_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/procfs.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PROCFS_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/resource.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_RESOURCE_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/systeminfo.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/times.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TIMES_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/utsname.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_UTSNAME_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/socket.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SOCKET_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/wait.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_WAIT_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netinet/in.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETINET_IN_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netdb.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETDB_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: direct.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: time.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_TIME_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: Ws2tcpip.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/types.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: WindowsX.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: ieeefp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: stdint.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STDINT_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pthread.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PTHREAD_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: inttypes.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_INTTYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: immintrin.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_IMMINTRIN_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: zmmintrin.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: zmmintrin.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: zmmintrin.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: zmmintrin.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: checkRecursiveMacros from config.headers(config/BuildSystem/config/headers.py:218) Checks that the preprocessor allows recursive macros, and if not defines HAVE_BROKEN_RECURSIVE_MACRO ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.headers/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -O3 -fPIC /tmp/petsc-iuu41q9r/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void a(int i, int j) {} #define a(b) a(b,__LINE__) int main() { a(0); ; return 0; } child config.headers took 1.694147 seconds ============================================================================================= TESTING: configureCacheDetails from config.utilities.cacheDetails(config/BuildSystem/config/utilities/cacheDetails.py:78) Try to determine the size and associativity of the cache. ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include long getconf_LEVEL1_DCACHE_LINESIZE() { long val = sysconf(_SC_LEVEL1_DCACHE_LINESIZE); return (16 <= val && val <= 2147483647) ? val : 32; } int main() { ; return 0; } ======== Checking running linked program ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_LINESIZE() { long val = sysconf(_SC_LEVEL1_DCACHE_LINESIZE); return (16 <= val && val <= 2147483647) ? val : 32; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_LINESIZE()); fclose(output);; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.utilities.cacheDetails/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.cacheDetails/conftest.o -lstdc++ -ldl Testing executable /tmp/petsc-iuu41q9r/config.utilities.cacheDetails/conftest to see if it can be run Executing: /tmp/petsc-iuu41q9r/config.utilities.cacheDetails/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-iuu41q9r/config.utilities.cacheDetails/conftest Defined "LEVEL1_DCACHE_LINESIZE" to "64" child config.utilities.cacheDetails took 0.124624 seconds ============================================================================================= TESTING: check_struct_sigaction from config.types(config/BuildSystem/config/types.py:42) Checks if "struct sigaction" exists in signal.h. This check is for C89 check. Checking for type: struct sigaction ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { struct sigaction a;; return 0; } struct sigaction found Defined "HAVE_STRUCT_SIGACTION" to "1" ============================================================================================= TESTING: check__int64 from config.types(config/BuildSystem/config/types.py:48) Checks if __int64 exists. This is primarily for windows. Checking for type: __int64 ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-iuu41q9r/config.types/conftest.c: In function ‘main’: /tmp/petsc-iuu41q9r/config.types/conftest.c:11:1: error: unknown type name ‘__int64’; did you mean ‘__int64_t’? 11 | __int64 a;; | ^~~~~~~ | __int64_t Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { __int64 a;; return 0; } __int64 found ============================================================================================= TESTING: checkSizeTypes from config.types(config/BuildSystem/config/types.py:54) Checks for types associated with sizes, such as size_t. Checking for type: size_t ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { size_t a;; return 0; } size_t found ============================================================================================= TESTING: checkFileTypes from config.types(config/BuildSystem/config/types.py:64) Checks for types associated with files, such as mode_t, off_t, etc. Checking for type: mode_t ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { mode_t a;; return 0; } mode_t found Checking for type: off_t ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { off_t a;; return 0; } off_t found ============================================================================================= TESTING: checkIntegerTypes from config.types(config/BuildSystem/config/types.py:59) Checks for types associated with integers, such as int32_t. Checking for type: int32_t ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { int32_t a;; return 0; } int32_t found ============================================================================================= TESTING: checkPID from config.types(config/BuildSystem/config/types.py:70) Checks for pid_t, and defines it if necessary Checking for type: pid_t ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { pid_t a;; return 0; } pid_t found ============================================================================================= TESTING: checkUID from config.types(config/BuildSystem/config/types.py:74) Checks for uid_t and gid_t, and defines them if necessary Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.types /tmp/petsc-iuu41q9r/config.types/conftest.c ============================================================================================= TESTING: checkC99Complex from config.types(config/BuildSystem/config/types.py:81) Check for complex numbers in in C99 std Note that since PETSc source code uses _Complex we test specifically for that, not complex ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double _Complex x; x = I; ; return 0; } ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double _Complex x; x = I; ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.types/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.o -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include int main() { double _Complex x; x = I; ; return 0; } Defined "HAVE_C99_COMPLEX" to "1" ============================================================================================= TESTING: checkCxxComplex from config.types(config/BuildSystem/config/types.py:95) Check for complex numbers in namespace std ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.types/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { std::complex x; ; return 0; } Executing: mpicxx -o /tmp/petsc-iuu41q9r/config.types/conftest -O3 /tmp/petsc-iuu41q9r/config.types/conftest.o -lstdc++ -ldl Defined "HAVE_CXX_COMPLEX" to "1" ============================================================================================= TESTING: checkConst from config.types(config/BuildSystem/config/types.py:106) Checks for working const, and if not found defines it to empty string ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; /* This section avoids unused variable warnings */ if (zero.x); if (x[0]); { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (*s); } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; /* Get rid of unused variable warning */ if (foo); } ; return 0; } ============================================================================================= TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: void * ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(void *)==8)*2-1]; Defined "SIZEOF_VOID_P" to "8" ============================================================================================= TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: short ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(short)==2)*2-1]; Defined "SIZEOF_SHORT" to "2" ============================================================================================= TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: int ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(int)==4)*2-1]; Defined "SIZEOF_INT" to "4" ============================================================================================= TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(long)==8)*2-1]; Defined "SIZEOF_LONG" to "8" ============================================================================================= TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long long ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(long long)==8)*2-1]; Defined "SIZEOF_LONG_LONG" to "8" ============================================================================================= TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: enum ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(enum{ENUM_DUMMY})==4)*2-1]; Defined "SIZEOF_ENUM" to "4" ============================================================================================= TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: size_t ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(size_t)==8)*2-1]; Defined "SIZEOF_SIZE_T" to "8" Defined "USING_64BIT_PTR" to "1" ============================================================================================= TESTING: checkVisibility from config.types(config/BuildSystem/config/types.py:196) Disabled visibility attributes due to static build ============================================================================================= TESTING: checkMaxPathLen from config.types(config/BuildSystem/config/types.py:218) Determining PETSC_MAX_PATH_LEN ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.types/conftest.o -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #if defined(MAXPATHLEN) # define PETSC_MAX_PATH_LEN MAXPATHLEN #elif defined(MAX_PATH) # define PETSC_MAX_PATH_LEN MAX_PATH #elif defined(_MAX_PATH) # define PETSC_MAX_PATH_LEN _MAX_PATH #else # define PETSC_MAX_PATH_LEN 4096 #endif #define xstr(s) str(s) #define str(s) #s char petsc_max_path_len[] = xstr(PETSC_MAX_PATH_LEN); int main() { ; return 0; } Preprocessing source: #include "confdefs.h" #include "conffix.h" #include #include #if defined(MAXPATHLEN) # define PETSC_MAX_PATH_LEN MAXPATHLEN #elif defined(MAX_PATH) # define PETSC_MAX_PATH_LEN MAX_PATH #elif defined(_MAX_PATH) # define PETSC_MAX_PATH_LEN _MAX_PATH #else # define PETSC_MAX_PATH_LEN 4096 #endif #define xstr(s) str(s) #define str(s) #s char petsc_max_path_len[] = xstr(PETSC_MAX_PATH_LEN); Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.types /tmp/petsc-iuu41q9r/config.types/conftest.c Defined "MAX_PATH_LEN" to "4096" child config.types took 1.101487 seconds ============================================================================================= TESTING: configureMemAlign from PETSc.options.memAlign(config/PETSc/options/memAlign.py:29) Choose alignment Defined "MEMALIGN" to "16" Memory alignment is 16 child PETSc.options.memAlign took 0.001772 seconds ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [handle_sigfpes] in library ['fpe'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char handle_sigfpes(); static void _check_handle_sigfpes() { handle_sigfpes(); } int main() { _check_handle_sigfpes();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lfpe -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lfpe collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lfpe collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lfpe collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [socket] in library ['socket', 'nsl'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(); static void _check_socket() { socket(); } int main() { _check_socket();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lsocket -lnsl -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lsocket collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lsocket collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lsocket collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [handle_sigfpes] in library ['fpe'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char handle_sigfpes(); static void _check_handle_sigfpes() { handle_sigfpes(); } int main() { _check_handle_sigfpes();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lfpe -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lfpe collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lfpe collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lfpe collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [socket] in library ['socket', 'nsl'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(); static void _check_socket() { socket(); } int main() { _check_socket();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lsocket -lnsl -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lsocket collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lsocket collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lsocket collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: checkMath from config.libraries(config/BuildSystem/config/libraries.py:296) Check for sin() in libm, the math library Checking for functions [sin floor log10 pow] in library [''] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include double sin(double); static void _check_sin() { double x,y; scanf("%lf",&x); y = sin(x); printf("%f",y); ; } #include double floor(double); static void _check_floor() { double x,y; scanf("%lf",&x); y = floor(x); printf("%f",y); ; } #include double log10(double); static void _check_log10() { double x,y; scanf("%lf",&x); y = log10(x); printf("%f",y); ; } #include double pow(double, double); static void _check_pow() { double x,y; scanf("%lf",&x); y = pow(x,x); printf("%f",y); ; } int main() { _check_sin(); _check_floor(); _check_log10(); _check_pow();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.libraries/conftest.o: undefined reference to symbol 'sin@@GLIBC_2.2.5' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /lib64/libm.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.libraries/conftest.o: undefined reference to symbol 'sin@@GLIBC_2.2.5' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /lib64/libm.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.libraries/conftest.o: undefined reference to symbol 'sin@@GLIBC_2.2.5' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /lib64/libm.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status: Checking for functions [sin floor log10 pow] in library ['m'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include double sin(double); static void _check_sin() { double x,y; scanf("%lf",&x); y = sin(x); printf("%f",y); ; } #include double floor(double); static void _check_floor() { double x,y; scanf("%lf",&x); y = floor(x); printf("%f",y); ; } #include double log10(double); static void _check_log10() { double x,y; scanf("%lf",&x); y = log10(x); printf("%f",y); ; } #include double pow(double, double); static void _check_pow() { double x,y; scanf("%lf",&x); y = pow(x,x); printf("%f",y); ; } int main() { _check_sin(); _check_floor(); _check_log10(); _check_pow();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lm -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include double sin(double); static void _check_sin() { double x,y; scanf("%lf",&x); y = sin(x); printf("%f",y); ; } #include double floor(double); static void _check_floor() { double x,y; scanf("%lf",&x); y = floor(x); printf("%f",y); ; } #include double log10(double); static void _check_log10() { double x,y; scanf("%lf",&x); y = log10(x); printf("%f",y); ; } #include double pow(double, double); static void _check_pow() { double x,y; scanf("%lf",&x); y = pow(x,x); printf("%f",y); ; } void dummy(void) {_check_sin(); _check_floor(); _check_log10(); _check_pow();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -lm -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Defined "HAVE_LIBM" to "1" CheckMath: using math library ['libm.a'] ============================================================================================= TESTING: checkMathErf from config.libraries(config/BuildSystem/config/libraries.py:315) Check for erf() in libm, the math library Checking for functions [erf] in library ['libm.a'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_erf() { double (*checkErf)(double) = erf;double x = 0,y; y = (*checkErf)(x); } int main() { _check_erf();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lm -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_erf() { double (*checkErf)(double) = erf;double x = 0,y; y = (*checkErf)(x); } void dummy(void) {_check_erf();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -lm -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Defined "HAVE_LIBM" to "1" erf() found Defined "HAVE_ERF" to "1" ============================================================================================= TESTING: checkMathTgamma from config.libraries(config/BuildSystem/config/libraries.py:324) Check for tgamma() in libm, the math library Checking for functions [tgamma] in library ['libm.a'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_tgamma() { double (*checkTgamma)(double) = tgamma;double x = 0,y; y = (*checkTgamma)(x); } int main() { _check_tgamma();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lm -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_tgamma() { double (*checkTgamma)(double) = tgamma;double x = 0,y; y = (*checkTgamma)(x); } void dummy(void) {_check_tgamma();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -lm -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Defined "HAVE_LIBM" to "1" tgamma() found Defined "HAVE_TGAMMA" to "1" ============================================================================================= TESTING: checkMathLgamma from config.libraries(config/BuildSystem/config/libraries.py:333) Check for lgamma() in libm, the math library Checking for functions [lgamma] in library ['libm.a'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include #include static void _check_lgamma() { double (*checkLgamma)(double) = lgamma;double x = 1,y; y = (*checkLgamma)(x);if (y != 0.) abort(); } int main() { _check_lgamma();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lm -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include #include static void _check_lgamma() { double (*checkLgamma)(double) = lgamma;double x = 1,y; y = (*checkLgamma)(x);if (y != 0.) abort(); } void dummy(void) {_check_lgamma();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -lm -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Defined "HAVE_LIBM" to "1" lgamma() found Defined "HAVE_LGAMMA" to "1" ============================================================================================= TESTING: checkMathFenv from config.libraries(config/BuildSystem/config/libraries.py:346) Checks if can be used with FE_DFL_ENV Checking for functions [fesetenv] in library ['libm.a'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_fesetenv() { fesetenv(FE_DFL_ENV);; } int main() { _check_fesetenv();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lm -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_fesetenv() { fesetenv(FE_DFL_ENV);; } void dummy(void) {_check_fesetenv();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -lm -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Defined "HAVE_LIBM" to "1" Defined "HAVE_FENV_H" to "1" ============================================================================================= TESTING: checkMathLog2 from config.libraries(config/BuildSystem/config/libraries.py:354) Check for log2() in libm, the math library Checking for functions [log2] in library ['libm.a'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_log2() { double (*checkLog2)(double) = log2; double x = 2.5, y = (*checkLog2)(x); } int main() { _check_log2();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lm -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_log2() { double (*checkLog2)(double) = log2; double x = 2.5, y = (*checkLog2)(x); } void dummy(void) {_check_log2();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -lm -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Defined "HAVE_LIBM" to "1" log2() found Defined "HAVE_LOG2" to "1" ============================================================================================= TESTING: checkRealtime from config.libraries(config/BuildSystem/config/libraries.py:363) Check for presence of clock_gettime() in realtime library (POSIX Realtime extensions) Checking for functions [clock_gettime] in library [''] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_clock_gettime() { struct timespec tp; clock_gettime(CLOCK_REALTIME,&tp);; } int main() { _check_clock_gettime();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_clock_gettime() { struct timespec tp; clock_gettime(CLOCK_REALTIME,&tp);; } void dummy(void) {_check_clock_gettime();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : realtime functions are linked in by default ============================================================================================= TESTING: checkDynamic from config.libraries(config/BuildSystem/config/libraries.py:379) Check for the header and libraries necessary for dynamic library manipulation Checking for functions [dlopen] in library ['dl'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } int main() { _check_dlopen();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -ldl -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } void dummy(void) {_check_dlopen();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -ldl -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Defined "HAVE_LIBDL" to "1" Checking for header: dlfcn.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.types /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_DLFCN_H" to "1" child config.libraries took 2.103100 seconds ============================================================================================= TESTING: configureLibraryOptions from PETSc.options.libraryOptions(config/PETSc/options/libraryOptions.py:38) Sets PETSC_USE_DEBUG, PETSC_USE_INFO, PETSC_USE_LOG, PETSC_USE_CTABLE, PETSC_USE_FORTRAN_KERNELS, and PETSC_USE_AVX512_KERNELS Defined "USE_LOG" to "1" Executing: mpicc -qversion Defined "USE_MALLOC_COALESCED" to "1" Defined "USE_INFO" to "1" Defined "USE_CTABLE" to "1" **********Checking if running on BGL/IBM detected Checking for functions [bgl_perfctr_void] in library [''] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char bgl_perfctr_void(); static void _check_bgl_perfctr_void() { bgl_perfctr_void(); } int main() { _check_bgl_perfctr_void();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `bgl_perfctr_void' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `bgl_perfctr_void' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `bgl_perfctr_void' collect2: error: ld returned 1 exit status: Checking for functions [ADIOI_BGL_Open] in library [''] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ADIOI_BGL_Open(); static void _check_ADIOI_BGL_Open() { ADIOI_BGL_Open(); } int main() { _check_ADIOI_BGL_Open();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `ADIOI_BGL_Open' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `ADIOI_BGL_Open' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `ADIOI_BGL_Open' collect2: error: ld returned 1 exit status: *********BGL/IBM test failure Defined "USE_BACKWARD_LOOP" to "1" Defined "USE_AVX512_KERNELS" to "1" Defined "Alignx(a,b)" to " " ============================================================================================= TESTING: configureISColorValueType from PETSc.options.libraryOptions(config/PETSc/options/libraryOptions.py:99) Sets PETSC_IS_COLORING_VALUE_TYPE, PETSC_MPIU_IS_COLORING_VALUE_TYPE, and PETSC_IS_COLORING_MAX as required by ISColoring Defined "MPIU_IS_COLORING_VALUE_TYPE" to "MPI_UNSIGNED_SHORT" Defined "IS_COLORING_MAX" to "USHRT_MAX" Defined "IS_COLORING_VALUE_TYPE" to "short" Defined "IS_COLORING_VALUE_TYPE_F" to "integer2" child PETSc.options.libraryOptions took 0.168184 seconds child config.atomics took 0.000008 seconds ============================================================================================= TESTING: checkSysinfo from config.functions(config/BuildSystem/config/functions.py:106) Check whether sysinfo takes three arguments, and if it does define HAVE_SYSINFO_3ARG Checking for functions [sysinfo] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sysinfo(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sysinfo) || defined (__stub___sysinfo) sysinfo_will_always_fail_with_ENOSYS(); #else sysinfo(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_SYSINFO" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-iuu41q9r/config.functions/conftest.c:9:4: error: #error "Cannot check sysinfo without special headers" 9 | # error "Cannot check sysinfo without special headers" | ^~~~~ /tmp/petsc-iuu41q9r/config.functions/conftest.c: In function ‘main’: /tmp/petsc-iuu41q9r/config.functions/conftest.c:13:30: warning: implicit declaration of function ‘sysinfo’ [-Wimplicit-function-declaration] 13 | char buf[10]; long count=10; sysinfo(1, buf, count); | ^~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #ifdef HAVE_SYS_SYSINFO_H # include #elif defined(HAVE_SYS_SYSTEMINFO_H) # include #else # error "Cannot check sysinfo without special headers" #endif int main() { char buf[10]; long count=10; sysinfo(1, buf, count); ; return 0; } Compile failed inside link ============================================================================================= TESTING: checkVPrintf from config.functions(config/BuildSystem/config/functions.py:125) Checks whether vprintf requires a char * last argument, and if it does defines HAVE_VPRINTF_CHAR ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp; vprintf( "%d", Argp ); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl ============================================================================================= TESTING: checkVFPrintf from config.functions(config/BuildSystem/config/functions.py:131) Checks whether vfprintf requires a char * last argument, and if it does defines HAVE_VFPRINTF_CHAR ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp; vfprintf(stdout, "%d", Argp ); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl ============================================================================================= TESTING: checkVSNPrintf from config.functions(config/BuildSystem/config/functions.py:137) Checks whether vsnprintf requires a char * last argument, and if it does defines HAVE_VSNPRINTF_CHAR ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp;char str[6]; vsnprintf(str,5, "%d", Argp ); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_VSNPRINTF" to "1" ============================================================================================= TESTING: checkNanosleep from config.functions(config/BuildSystem/config/functions.py:167) Check for functional nanosleep() - as time.h behaves differently for different compiler flags - like -std=c89 ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { struct timespec tp; tp.tv_sec = 0; tp.tv_nsec = (long)(1e9); nanosleep(&tp,0); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_NANOSLEEP" to "1" ============================================================================================= TESTING: checkMemmove from config.functions(config/BuildSystem/config/functions.py:173) Check for functional memmove() - as MS VC requires correct includes to for this test ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { char c1[1], c2[1] = "c"; size_t n=1; memmove(c1,c2,n); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_MEMMOVE" to "1" ============================================================================================= TESTING: checkSignalHandlerType from config.functions(config/BuildSystem/config/functions.py:143) Checks the type of C++ signals handlers, and defines SIGNAL_CAST to the correct value ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.functions/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include static void myhandler(int sig) {} int main() { signal(SIGFPE,myhandler); ; return 0; } Executing: mpicxx -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Defined "SIGNAL_CAST" to " " ============================================================================================= TESTING: checkFreeReturnType from config.functions(config/BuildSystem/config/functions.py:153) Checks whether free returns void or int, and defines HAVE_FREE_RETURN_INT ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-iuu41q9r/config.functions/conftest.c: In function ‘main’: /tmp/petsc-iuu41q9r/config.functions/conftest.c:6:25: error: void value not ignored as it ought to be 6 | int ierr; void *p; ierr = free(p); return 0; | ^ Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ierr; void *p; ierr = free(p); return 0; ; return 0; } Compile failed inside link ============================================================================================= TESTING: checkVariableArgumentLists from config.functions(config/BuildSystem/config/functions.py:159) Checks whether the variable argument list functionality is working ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { va_list l1, l2; va_copy(l1, l2); return 0; ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_VA_COPY" to "1" ============================================================================================= TESTING: checkClassify from config.functions(config/BuildSystem/config/functions.py:85) Recursive decompose to rapidly classify functions as found or missing To confirm that a function is missing, we require a compile/link failure with only that function in a compilation unit. In contrast, we can confirm that many functions are present by compiling them all together in a large compilation unit. We optimistically compile everything together, then trim all functions that were named in the error message and bisect the result. The trimming is only an optimization to increase the likelihood of a big-batch compile succeeding; we do not rely on the compiler naming missing functions. Checking for functions [lseek access getdomainname dlclose __gcov_dump uname stricmp _access strcasecmp realpath _set_output_format PXFGETARG gethostbyname drand48 _snprintf _lseek memalign _pipe fpsetsticky dlerror dlsym gethostname snprintf dlopen sleep getrusage rand fstatat getcwd fpresetsticky getpagesize _sleep readlink time sbreak bzero clock popen _mkdir _getcwd socket usleep fork getwd] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-iuu41q9r/config.functions/conftest.c:21:6: warning: conflicting types for built-in function ‘strcasecmp’; expected ‘int(const char *, const char *)’ [-Wbuiltin-declaration-mismatch] 21 | char strcasecmp(); | ^~~~~~~~~~ /tmp/petsc-iuu41q9r/config.functions/conftest.c:35:6: warning: conflicting types for built-in function ‘snprintf’; expected ‘int(char *, long unsigned int, const char *, ...)’ [-Wbuiltin-declaration-mismatch] 35 | char snprintf(); | ^~~~~~~~ /tmp/petsc-iuu41q9r/config.functions/conftest.c:6:1: note: ‘snprintf’ is declared in header ‘’ 5 | #include +++ |+#include 6 | /* Override any gcc2 internal prototype to avoid an error. */ /tmp/petsc-iuu41q9r/config.functions/conftest.c:48:6: warning: conflicting types for built-in function ‘bzero’; expected ‘void(void *, long unsigned int)’ [-Wbuiltin-declaration-mismatch] 48 | char bzero(); | ^~~~~ /tmp/petsc-iuu41q9r/config.functions/conftest.c:55:6: warning: conflicting types for built-in function ‘fork’; expected ‘int(void)’ [-Wbuiltin-declaration-mismatch] 55 | char fork(); | ^~~~ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char lseek(); char access(); char getdomainname(); char dlclose(); char __gcov_dump(); char uname(); char stricmp(); char _access(); char strcasecmp(); char realpath(); char _set_output_format(); char PXFGETARG(); char gethostbyname(); char drand48(); char _snprintf(); char _lseek(); char memalign(); char _pipe(); char fpsetsticky(); char dlerror(); char dlsym(); char gethostname(); char snprintf(); char dlopen(); char sleep(); char getrusage(); char rand(); char fstatat(); char getcwd(); char fpresetsticky(); char getpagesize(); char _sleep(); char readlink(); char time(); char sbreak(); char bzero(); char clock(); char popen(); char _mkdir(); char _getcwd(); char socket(); char usleep(); char fork(); char getwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_lseek) || defined (__stub___lseek) lseek_will_always_fail_with_ENOSYS(); #else lseek(); #endif #if defined (__stub_access) || defined (__stub___access) access_will_always_fail_with_ENOSYS(); #else access(); #endif #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub___gcov_dump) || defined (__stub_____gcov_dump) __gcov_dump_will_always_fail_with_ENOSYS(); #else __gcov_dump(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif #if defined (__stub_stricmp) || defined (__stub___stricmp) stricmp_will_always_fail_with_ENOSYS(); #else stricmp(); #endif #if defined (__stub__access) || defined (__stub____access) _access_will_always_fail_with_ENOSYS(); #else _access(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif #if defined (__stub__set_output_format) || defined (__stub____set_output_format) _set_output_format_will_always_fail_with_ENOSYS(); #else _set_output_format(); #endif #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub__snprintf) || defined (__stub____snprintf) _snprintf_will_always_fail_with_ENOSYS(); #else _snprintf(); #endif #if defined (__stub__lseek) || defined (__stub____lseek) _lseek_will_always_fail_with_ENOSYS(); #else _lseek(); #endif #if defined (__stub_memalign) || defined (__stub___memalign) memalign_will_always_fail_with_ENOSYS(); #else memalign(); #endif #if defined (__stub__pipe) || defined (__stub____pipe) _pipe_will_always_fail_with_ENOSYS(); #else _pipe(); #endif #if defined (__stub_fpsetsticky) || defined (__stub___fpsetsticky) fpsetsticky_will_always_fail_with_ENOSYS(); #else fpsetsticky(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif #if defined (__stub_sleep) || defined (__stub___sleep) sleep_will_always_fail_with_ENOSYS(); #else sleep(); #endif #if defined (__stub_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_fstatat) || defined (__stub___fstatat) fstatat_will_always_fail_with_ENOSYS(); #else fstatat(); #endif #if defined (__stub_getcwd) || defined (__stub___getcwd) getcwd_will_always_fail_with_ENOSYS(); #else getcwd(); #endif #if defined (__stub_fpresetsticky) || defined (__stub___fpresetsticky) fpresetsticky_will_always_fail_with_ENOSYS(); #else fpresetsticky(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif #if defined (__stub__sleep) || defined (__stub____sleep) _sleep_will_always_fail_with_ENOSYS(); #else _sleep(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif #if defined (__stub_sbreak) || defined (__stub___sbreak) sbreak_will_always_fail_with_ENOSYS(); #else sbreak(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub__mkdir) || defined (__stub____mkdir) _mkdir_will_always_fail_with_ENOSYS(); #else _mkdir(); #endif #if defined (__stub__getcwd) || defined (__stub____getcwd) _getcwd_will_always_fail_with_ENOSYS(); #else _getcwd(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif #if defined (__stub_getwd) || defined (__stub___getwd) getwd_will_always_fail_with_ENOSYS(); #else getwd(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x134): warning: the `getwd' function is dangerous and should not be used. /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x23): undefined reference to `__gcov_dump' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x31): undefined reference to `stricmp' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x38): undefined reference to `_access' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x4d): undefined reference to `_set_output_format' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x54): undefined reference to `PXFGETARG' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x69): undefined reference to `_snprintf' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x70): undefined reference to `_lseek' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x7e): undefined reference to `_pipe' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x85): undefined reference to `fpsetsticky' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0xd2): undefined reference to `fpresetsticky' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0xe0): undefined reference to `_sleep' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0xf5): undefined reference to `sbreak' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x111): undefined reference to `_mkdir' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x118): undefined reference to `_getcwd' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x134): warning: the `getwd' function is dangerous and should not be used. /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x23): undefined reference to `__gcov_dump' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x31): undefined reference to `stricmp' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x38): undefined reference to `_access' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x4d): undefined reference to `_set_output_format' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x54): undefined reference to `PXFGETARG' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x69): undefined reference to `_snprintf' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x70): undefined reference to `_lseek' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x7e): undefined reference to `_pipe' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x85): undefined reference to `fpsetsticky' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0xd2): undefined reference to `fpresetsticky' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0xe0): undefined reference to `_sleep' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0xf5): undefined reference to `sbreak' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x111): undefined reference to `_mkdir' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x118): undefined reference to `_getcwd' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x134): warning: the `getwd' function is dangerous and should not be used. /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x23): undefined reference to `__gcov_dump' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x31): undefined reference to `stricmp' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x38): undefined reference to `_access' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x4d): undefined reference to `_set_output_format' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x54): undefined reference to `PXFGETARG' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x69): undefined reference to `_snprintf' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x70): undefined reference to `_lseek' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x7e): undefined reference to `_pipe' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x85): undefined reference to `fpsetsticky' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0xd2): undefined reference to `fpresetsticky' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0xe0): undefined reference to `_sleep' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0xf5): undefined reference to `sbreak' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x111): undefined reference to `_mkdir' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x118): undefined reference to `_getcwd' collect2: error: ld returned 1 exit status: Checking for functions [getdomainname dlclose uname strcasecmp realpath gethostbyname drand48 memalign dlerror dlsym gethostname dlopen] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-iuu41q9r/config.functions/conftest.c:16:6: warning: conflicting types for built-in function ‘strcasecmp’; expected ‘int(const char *, const char *)’ [-Wbuiltin-declaration-mismatch] 16 | char strcasecmp(); | ^~~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getdomainname(); char dlclose(); char uname(); char strcasecmp(); char realpath(); char gethostbyname(); char drand48(); char memalign(); char dlerror(); char dlsym(); char gethostname(); char dlopen(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub_memalign) || defined (__stub___memalign) memalign_will_always_fail_with_ENOSYS(); #else memalign(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_GETDOMAINNAME" to "1" Defined "HAVE_DLCLOSE" to "1" Defined "HAVE_UNAME" to "1" Defined "HAVE_STRCASECMP" to "1" Defined "HAVE_REALPATH" to "1" Defined "HAVE_GETHOSTBYNAME" to "1" Defined "HAVE_DRAND48" to "1" Defined "HAVE_MEMALIGN" to "1" Defined "HAVE_DLERROR" to "1" Defined "HAVE_DLSYM" to "1" Defined "HAVE_GETHOSTNAME" to "1" Defined "HAVE_DLOPEN" to "1" Checking for functions [getrusage rand fstatat getpagesize readlink time bzero clock popen socket usleep fork] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-iuu41q9r/config.functions/conftest.c:19:6: warning: conflicting types for built-in function ‘bzero’; expected ‘void(void *, long unsigned int)’ [-Wbuiltin-declaration-mismatch] 19 | char bzero(); | ^~~~~ /tmp/petsc-iuu41q9r/config.functions/conftest.c:24:6: warning: conflicting types for built-in function ‘fork’; expected ‘int(void)’ [-Wbuiltin-declaration-mismatch] 24 | char fork(); | ^~~~ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getrusage(); char rand(); char fstatat(); char getpagesize(); char readlink(); char time(); char bzero(); char clock(); char popen(); char socket(); char usleep(); char fork(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_fstatat) || defined (__stub___fstatat) fstatat_will_always_fail_with_ENOSYS(); #else fstatat(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_GETRUSAGE" to "1" Defined "HAVE_RAND" to "1" Defined "HAVE_FSTATAT" to "1" Defined "HAVE_GETPAGESIZE" to "1" Defined "HAVE_READLINK" to "1" Defined "HAVE_TIME" to "1" Defined "HAVE_BZERO" to "1" Defined "HAVE_CLOCK" to "1" Defined "HAVE_POPEN" to "1" Defined "HAVE_SOCKET" to "1" Defined "HAVE_USLEEP" to "1" Defined "HAVE_FORK" to "1" Checking for functions [lseek] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char lseek(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_lseek) || defined (__stub___lseek) lseek_will_always_fail_with_ENOSYS(); #else lseek(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_LSEEK" to "1" Checking for functions [access] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char access(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_access) || defined (__stub___access) access_will_always_fail_with_ENOSYS(); #else access(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_ACCESS" to "1" Checking for functions [__gcov_dump] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char __gcov_dump(); #ifdef __cplusplus } #endif int main() { #if defined (__stub___gcov_dump) || defined (__stub_____gcov_dump) __gcov_dump_will_always_fail_with_ENOSYS(); #else __gcov_dump(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `__gcov_dump' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `__gcov_dump' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `__gcov_dump' collect2: error: ld returned 1 exit status: Checking for functions [stricmp] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char stricmp(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_stricmp) || defined (__stub___stricmp) stricmp_will_always_fail_with_ENOSYS(); #else stricmp(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `stricmp' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `stricmp' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `stricmp' collect2: error: ld returned 1 exit status: Checking for functions [_access] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _access(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__access) || defined (__stub____access) _access_will_always_fail_with_ENOSYS(); #else _access(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_access' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_access' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_access' collect2: error: ld returned 1 exit status: Checking for functions [_set_output_format] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _set_output_format(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__set_output_format) || defined (__stub____set_output_format) _set_output_format_will_always_fail_with_ENOSYS(); #else _set_output_format(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_set_output_format' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_set_output_format' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_set_output_format' collect2: error: ld returned 1 exit status: Checking for functions [PXFGETARG] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PXFGETARG(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status: Checking for functions [_snprintf] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _snprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__snprintf) || defined (__stub____snprintf) _snprintf_will_always_fail_with_ENOSYS(); #else _snprintf(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_snprintf' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_snprintf' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_snprintf' collect2: error: ld returned 1 exit status: Checking for functions [_lseek] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _lseek(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__lseek) || defined (__stub____lseek) _lseek_will_always_fail_with_ENOSYS(); #else _lseek(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_lseek' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_lseek' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_lseek' collect2: error: ld returned 1 exit status: Checking for functions [_pipe] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _pipe(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__pipe) || defined (__stub____pipe) _pipe_will_always_fail_with_ENOSYS(); #else _pipe(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_pipe' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_pipe' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_pipe' collect2: error: ld returned 1 exit status: Checking for functions [fpsetsticky] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fpsetsticky(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_fpsetsticky) || defined (__stub___fpsetsticky) fpsetsticky_will_always_fail_with_ENOSYS(); #else fpsetsticky(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `fpsetsticky' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `fpsetsticky' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `fpsetsticky' collect2: error: ld returned 1 exit status: Checking for functions [snprintf] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-iuu41q9r/config.functions/conftest.c:13:6: warning: conflicting types for built-in function ‘snprintf’; expected ‘int(char *, long unsigned int, const char *, ...)’ [-Wbuiltin-declaration-mismatch] 13 | char snprintf(); | ^~~~~~~~ /tmp/petsc-iuu41q9r/config.functions/conftest.c:6:1: note: ‘snprintf’ is declared in header ‘’ 5 | #include +++ |+#include 6 | /* Override any gcc2 internal prototype to avoid an error. */ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char snprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_SNPRINTF" to "1" Checking for functions [sleep] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sleep(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sleep) || defined (__stub___sleep) sleep_will_always_fail_with_ENOSYS(); #else sleep(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_SLEEP" to "1" Checking for functions [getcwd] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getcwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_getcwd) || defined (__stub___getcwd) getcwd_will_always_fail_with_ENOSYS(); #else getcwd(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_GETCWD" to "1" Checking for functions [fpresetsticky] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fpresetsticky(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_fpresetsticky) || defined (__stub___fpresetsticky) fpresetsticky_will_always_fail_with_ENOSYS(); #else fpresetsticky(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `fpresetsticky' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `fpresetsticky' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `fpresetsticky' collect2: error: ld returned 1 exit status: Checking for functions [_sleep] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _sleep(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__sleep) || defined (__stub____sleep) _sleep_will_always_fail_with_ENOSYS(); #else _sleep(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_sleep' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_sleep' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_sleep' collect2: error: ld returned 1 exit status: Checking for functions [sbreak] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sbreak(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sbreak) || defined (__stub___sbreak) sbreak_will_always_fail_with_ENOSYS(); #else sbreak(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `sbreak' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `sbreak' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `sbreak' collect2: error: ld returned 1 exit status: Checking for functions [_mkdir] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _mkdir(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__mkdir) || defined (__stub____mkdir) _mkdir_will_always_fail_with_ENOSYS(); #else _mkdir(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_mkdir' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_mkdir' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_mkdir' collect2: error: ld returned 1 exit status: Checking for functions [_getcwd] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _getcwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__getcwd) || defined (__stub____getcwd) _getcwd_will_always_fail_with_ENOSYS(); #else _getcwd(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_getcwd' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_getcwd' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `_getcwd' collect2: error: ld returned 1 exit status: Checking for functions [getwd] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_getwd) || defined (__stub___getwd) getwd_will_always_fail_with_ENOSYS(); #else getwd(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): warning: the `getwd' function is dangerous and should not be used. Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): warning: the `getwd' function is dangerous and should not be used. : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0x7): warning: the `getwd' function is dangerous and should not be used.: ============================================================================================= TESTING: checkMmap from config.functions(config/BuildSystem/config/functions.py:179) Check for functional mmap() to allocate shared memory and define HAVE_MMAP ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.functions/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { int fd; fd=open("/tmp/file",O_RDWR); mmap((void*)0,100,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.functions/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_MMAP" to "1" child config.functions took 2.736230 seconds ============================================================================================= TESTING: configureMemorySize from config.utilities.getResidentSetSize(config/BuildSystem/config/utilities/getResidentSetSize.py:31) Try to determine how to measure the memory usage Defined "USE_PROC_FOR_SIZE" to "1" Using /proc for PetscMemoryGetCurrentUsage() child config.utilities.getResidentSetSize took 0.001183 seconds ============================================================================================= TESTING: configureFortranCommandLine from config.utilities.fortranCommandLine(config/BuildSystem/config/utilities/fortranCommandLine.py:27) Check for the mechanism to retrieve command line arguments in Fortran Checking for functions [] in library [''] [] ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.libraries -O3 /tmp/petsc-iuu41q9r/config.libraries/conftest.F90 Successful compile: Source: program main integer i character*(80) arg i = command_argument_count() call get_command_argument(i,arg) end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Defined "HAVE_FORTRAN_GET_COMMAND_ARGUMENT" to "1" child config.utilities.fortranCommandLine took 0.140442 seconds ============================================================================================= TESTING: configureFPTrap from config.utilities.FPTrap(config/BuildSystem/config/utilities/FPTrap.py:27) Checking the handling of floating point traps Checking for header: sigfpe.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.types /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: sigfpe.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: sigfpe.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: sigfpe.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated.: Checking for header: fpxcp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.types /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: fpxcp.h: No such file or directory 3 | #include | ^~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: fpxcp.h: No such file or directory 3 | #include | ^~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: fpxcp.h: No such file or directory 3 | #include | ^~~~~~~~~ compilation terminated.: Checking for header: floatingpoint.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.types /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: floatingpoint.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: floatingpoint.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: floatingpoint.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated.: child config.utilities.FPTrap took 0.046998 seconds ============================================================================================= TESTING: configureFeatureTestMacros from config.utilities.featureTestMacros(config/BuildSystem/config/utilities/featureTestMacros.py:13) Checks if certain feature test macros are support ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.featureTestMacros/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-iuu41q9r/config.utilities.featureTestMacros/conftest.c:4:10: fatal error: sysctl.h: No such file or directory 4 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #define _POSIX_C_SOURCE 200112L #include int main() { ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #include int main() { ; return 0; } Defined "_BSD_SOURCE" to "1" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _DEFAULT_SOURCE #include int main() { ; return 0; } Defined "_DEFAULT_SOURCE" to "1" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include int main() { cpu_set_t mset; CPU_ZERO(&mset);; return 0; } Defined "_GNU_SOURCE" to "1" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include #include int main() { Dl_info info; if (dladdr(exit, &info)) return 0;; return 0; } Defined "_GNU_SOURCE" to "1" child config.utilities.featureTestMacros took 0.164654 seconds ============================================================================================= TESTING: configureMissingUtypeTypedefs from config.utilities.missing(config/BuildSystem/config/utilities/missing.py:55) Checks if u_short is undefined ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { u_short foo; ; return 0; } ============================================================================================= TESTING: configureMissingFunctions from config.utilities.missing(config/BuildSystem/config/utilities/missing.py:61) Checks for SOCKETS and getline ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *lineptr; size_t n; FILE *stream; int main() { getline(&lineptr, &n, stream); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -lstdc++ -ldl ============================================================================================= TESTING: configureMissingSignals from config.utilities.missing(config/BuildSystem/config/utilities/missing.py:81) Check for missing signals, and define MISSING_ if necessary ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGABRT; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGALRM; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGBUS; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCHLD; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCONT; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGFPE; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGHUP; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGILL; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGINT; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGKILL; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGPIPE; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGQUIT; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSEGV; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSTOP; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSYS; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTERM; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTRAP; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTSTP; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGURG; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR1; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR2; if (i); ; return 0; } ============================================================================================= TESTING: configureMissingGetdomainnamePrototype from config.utilities.missing(config/BuildSystem/config/utilities/missing.py:98) ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #ifdef PETSC_HAVE_UNISTD_H #include #endif #ifdef PETSC_HAVE_NETDB_H #include #endif int main() { int (*getdomainname_ptr)(char*,size_t) = getdomainname; char test[10]; if (getdomainname_ptr(test,10)) return 1; ; return 0; } ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #ifdef PETSC_HAVE_UNISTD_H #include #endif #ifdef PETSC_HAVE_NETDB_H #include #endif int main() { int (*getdomainname_ptr)(char*,size_t) = getdomainname; char test[10]; if (getdomainname_ptr(test,10)) return 1; ; return 0; } Executing: mpicxx -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest -O3 /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -lstdc++ -ldl ============================================================================================= TESTING: configureMissingSrandPrototype from config.utilities.missing(config/BuildSystem/config/utilities/missing.py:123) ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -fPIC /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #include int main() { double (*drand48_ptr)(void) = drand48; void (*srand48_ptr)(long int) = srand48; long int seed=10; srand48_ptr(seed); if (drand48_ptr() > 0.5) return 1; ; return 0; } ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.missing -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #include int main() { double (*drand48_ptr)(void) = drand48; void (*srand48_ptr)(long int) = srand48; long int seed=10; srand48_ptr(seed); if (drand48_ptr() > 0.5) return 1; ; return 0; } Executing: mpicxx -o /tmp/petsc-iuu41q9r/config.utilities.missing/conftest -O3 /tmp/petsc-iuu41q9r/config.utilities.missing/conftest.o -lstdc++ -ldl child config.utilities.missing took 0.980511 seconds ============================================================================================= TESTING: checkSharedDynamicPicOptions from PETSc.options.sharedLibraries(config/PETSc/options/sharedLibraries.py:34) ============================================================================================= TESTING: configureSharedLibraries from PETSc.options.sharedLibraries(config/PETSc/options/sharedLibraries.py:49) Checks whether shared libraries should be used, for which you must - Specify --with-shared-libraries - Have found a working shared linker Defines PETSC_USE_SHARED_LIBRARIES if they are used Defined make rule "shared_arch" with dependencies "" and code [] Defined make macro "BUILDSHAREDLIB" to "no" Shared libraries - disabled ============================================================================================= TESTING: configureDynamicLibraries from PETSc.options.sharedLibraries(config/PETSc/options/sharedLibraries.py:93) Checks whether dynamic loading is available (with dlfcn.h and libdl) Defined "HAVE_DYNAMIC_LIBRARIES" to "1" ============================================================================================= TESTING: configureSerializedFunctions from PETSc.options.sharedLibraries(config/PETSc/options/sharedLibraries.py:99) Defines PETSC_SERIALIZE_FUNCTIONS if they are used Requires shared libraries ============================================================================================= TESTING: checkSymbolResolution from PETSc.options.sharedLibraries(config/PETSc/options/sharedLibraries.py:108) Checks that dladdr() works ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -O3 -fPIC /tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include #include int main() { Dl_info info; if (dladdr(exit, &info)) return 0; ; return 0; } Defined "HAVE_DLADDR" to "1" Checking for header: cxxabi.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.types /tmp/petsc-iuu41q9r/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" # 1 "/tmp/petsc-iuu41q9r/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 # 1 "/tmp/petsc-iuu41q9r/config.headers/conffix.h" 1 # 3 "/tmp/petsc-iuu41q9r/config.headers/conftest.c" 2 stderr: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: cxxabi.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: cxxabi.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-iuu41q9r/config.headers/conftest.c:3:10: fatal error: cxxabi.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated.: child PETSc.options.sharedLibraries took 0.050102 seconds ============================================================================================= TESTING: configureScalarType from PETSc.options.scalarTypes(config/PETSc/options/scalarTypes.py:39) Choose between real and complex numbers Scalar type is real ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -O3 -fPIC /tmp/petsc-iuu41q9r/PETSc.options.scalarTypes/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isnormal(b); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/PETSc.options.scalarTypes/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/PETSc.options.scalarTypes/conftest.o -lstdc++ -ldl Defined "HAVE_ISNORMAL" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -O3 -fPIC /tmp/petsc-iuu41q9r/PETSc.options.scalarTypes/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isnan(b); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/PETSc.options.scalarTypes/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/PETSc.options.scalarTypes/conftest.o -lstdc++ -ldl Defined "HAVE_ISNAN" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -O3 -fPIC /tmp/petsc-iuu41q9r/PETSc.options.scalarTypes/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isinf(b); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/PETSc.options.scalarTypes/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/PETSc.options.scalarTypes/conftest.o -lstdc++ -ldl Defined "HAVE_ISINF" to "1" ============================================================================================= TESTING: configurePrecision from PETSc.options.scalarTypes(config/PETSc/options/scalarTypes.py:80) Set the default real number precision for PETSc objects Checking C compiler works with __float128 Checking for functions [logq] in library ['quadmath'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_logq() { __float128 f; logq(f);; } int main() { _check_logq();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_logq() { __float128 f; logq(f);; } void dummy(void) {_check_logq();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -lquadmath -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Defined "HAVE_LIBQUADMATH" to "1" C compiler with quadmath library Checking Fortran works with quadmath library Checking for functions [ ] in library ['quadmath'] [] ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.libraries -O3 /tmp/petsc-iuu41q9r/config.libraries/conftest.F90 Successful compile: Source: program main real*16 s,w; w = 2.0 ;s = cos(w) end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lquadmath -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Fortran works with quadmath library Checking for functions [logq] in library ['quadmath'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_logq() { __float128 f; logq(f);; } int main() { _check_logq();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_logq() { __float128 f; logq(f);; } void dummy(void) {_check_logq();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.libraries -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -lquadmath -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Defined "HAVE_LIBQUADMATH" to "1" Adding ['quadmath'] to LIBS Defined "HAVE_REAL___FLOAT128" to "1" Defined "USE_REAL_DOUBLE" to "1" Defined make macro "PETSC_SCALAR_SIZE" to "64" Precision is double child PETSc.options.scalarTypes took 0.787432 seconds ============================================================================================= TESTING: configureMkdir from config.programs(config/BuildSystem/config/programs.py:22) Make sure we can have mkdir automatically make intermediate directories Checking for program /projects/cmake/toss3/3.22.3/bin/mkdir...not found Checking for program /opt/openmpi/4.1/gnu/bin/mkdir...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/mkdir...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/mkdir...not found Checking for program /projects/ADSM/software/local/bin/mkdir...not found Checking for program /usr/lib64/qt-3.3/bin/mkdir...not found Checking for program /usr/lpp/mmfs/bin/mkdir...not found Checking for program /opt/ibm/MCStore/bin/mkdir...not found Checking for program /opt/ibm/MCStore/scripts/mkdir...not found Checking for program /usr/local/bin/mkdir...not found Checking for program /usr/bin/mkdir...found Executing: /usr/bin/mkdir -p .conftest/tmp Adding -p flag to /usr/bin/mkdir -p to automatically create directories Defined make macro "MKDIR" to "/usr/bin/mkdir -p" ============================================================================================= TESTING: configureAutoreconf from config.programs(config/BuildSystem/config/programs.py:44) Check for autoreconf Checking for program /projects/cmake/toss3/3.22.3/bin/autoreconf...not found Checking for program /opt/openmpi/4.1/gnu/bin/autoreconf...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/autoreconf...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/autoreconf...not found Checking for program /projects/ADSM/software/local/bin/autoreconf...not found Checking for program /usr/lib64/qt-3.3/bin/autoreconf...not found Checking for program /usr/lpp/mmfs/bin/autoreconf...not found Checking for program /opt/ibm/MCStore/bin/autoreconf...not found Checking for program /opt/ibm/MCStore/scripts/autoreconf...not found Checking for program /usr/local/bin/autoreconf...not found Checking for program /usr/bin/autoreconf...found Executing: ['/usr/bin/autoreconf'] autoreconf test successful! Checking for program /projects/cmake/toss3/3.22.3/bin/libtoolize...not found Checking for program /opt/openmpi/4.1/gnu/bin/libtoolize...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/libtoolize...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/libtoolize...not found Checking for program /projects/ADSM/software/local/bin/libtoolize...not found Checking for program /usr/lib64/qt-3.3/bin/libtoolize...not found Checking for program /usr/lpp/mmfs/bin/libtoolize...not found Checking for program /opt/ibm/MCStore/bin/libtoolize...not found Checking for program /opt/ibm/MCStore/scripts/libtoolize...not found Checking for program /usr/local/bin/libtoolize...not found Checking for program /usr/bin/libtoolize...found ============================================================================================= TESTING: configurePrograms from config.programs(config/BuildSystem/config/programs.py:71) Check for the programs needed to build and run PETSc Checking for program /projects/cmake/toss3/3.22.3/bin/bash...not found Checking for program /opt/openmpi/4.1/gnu/bin/bash...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/bash...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/bash...not found Checking for program /projects/ADSM/software/local/bin/bash...not found Checking for program /usr/lib64/qt-3.3/bin/bash...not found Checking for program /usr/lpp/mmfs/bin/bash...not found Checking for program /opt/ibm/MCStore/bin/bash...not found Checking for program /opt/ibm/MCStore/scripts/bash...not found Checking for program /usr/local/bin/bash...not found Checking for program /usr/bin/bash...found Defined make macro "SHELL" to "/usr/bin/bash" Checking for program /projects/cmake/toss3/3.22.3/bin/sed...not found Checking for program /opt/openmpi/4.1/gnu/bin/sed...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/sed...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/sed...not found Checking for program /projects/ADSM/software/local/bin/sed...not found Checking for program /usr/lib64/qt-3.3/bin/sed...not found Checking for program /usr/lpp/mmfs/bin/sed...not found Checking for program /opt/ibm/MCStore/bin/sed...not found Checking for program /opt/ibm/MCStore/scripts/sed...not found Checking for program /usr/local/bin/sed...not found Checking for program /usr/bin/sed...found Defined make macro "SED" to "/usr/bin/sed" Executing: /usr/bin/sed -i s/sed/sd/g "/tmp/petsc-iuu41q9r/config.programs/sed1" Adding SEDINPLACE cmd: /usr/bin/sed -i Defined make macro "SEDINPLACE" to "/usr/bin/sed -i" Checking for program /projects/cmake/toss3/3.22.3/bin/mv...not found Checking for program /opt/openmpi/4.1/gnu/bin/mv...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/mv...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/mv...not found Checking for program /projects/ADSM/software/local/bin/mv...not found Checking for program /usr/lib64/qt-3.3/bin/mv...not found Checking for program /usr/lpp/mmfs/bin/mv...not found Checking for program /opt/ibm/MCStore/bin/mv...not found Checking for program /opt/ibm/MCStore/scripts/mv...not found Checking for program /usr/local/bin/mv...not found Checking for program /usr/bin/mv...found Defined make macro "MV" to "/usr/bin/mv" Checking for program /projects/cmake/toss3/3.22.3/bin/cp...not found Checking for program /opt/openmpi/4.1/gnu/bin/cp...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/cp...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/cp...not found Checking for program /projects/ADSM/software/local/bin/cp...not found Checking for program /usr/lib64/qt-3.3/bin/cp...not found Checking for program /usr/lpp/mmfs/bin/cp...not found Checking for program /opt/ibm/MCStore/bin/cp...not found Checking for program /opt/ibm/MCStore/scripts/cp...not found Checking for program /usr/local/bin/cp...not found Checking for program /usr/bin/cp...found Defined make macro "CP" to "/usr/bin/cp" Checking for program /projects/cmake/toss3/3.22.3/bin/grep...not found Checking for program /opt/openmpi/4.1/gnu/bin/grep...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/grep...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/grep...not found Checking for program /projects/ADSM/software/local/bin/grep...not found Checking for program /usr/lib64/qt-3.3/bin/grep...not found Checking for program /usr/lpp/mmfs/bin/grep...not found Checking for program /opt/ibm/MCStore/bin/grep...not found Checking for program /opt/ibm/MCStore/scripts/grep...not found Checking for program /usr/local/bin/grep...not found Checking for program /usr/bin/grep...found Defined make macro "GREP" to "/usr/bin/grep" Checking for program /projects/cmake/toss3/3.22.3/bin/rm...not found Checking for program /opt/openmpi/4.1/gnu/bin/rm...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/rm...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/rm...not found Checking for program /projects/ADSM/software/local/bin/rm...not found Checking for program /usr/lib64/qt-3.3/bin/rm...not found Checking for program /usr/lpp/mmfs/bin/rm...not found Checking for program /opt/ibm/MCStore/bin/rm...not found Checking for program /opt/ibm/MCStore/scripts/rm...not found Checking for program /usr/local/bin/rm...not found Checking for program /usr/bin/rm...found Defined make macro "RM" to "/usr/bin/rm -f" Checking for program /projects/cmake/toss3/3.22.3/bin/diff...not found Checking for program /opt/openmpi/4.1/gnu/bin/diff...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/diff...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/diff...not found Checking for program /projects/ADSM/software/local/bin/diff...not found Checking for program /usr/lib64/qt-3.3/bin/diff...not found Checking for program /usr/lpp/mmfs/bin/diff...not found Checking for program /opt/ibm/MCStore/bin/diff...not found Checking for program /opt/ibm/MCStore/scripts/diff...not found Checking for program /usr/local/bin/diff...not found Checking for program /usr/bin/diff...found Executing: "/usr/bin/diff" -w "/tmp/petsc-iuu41q9r/config.programs/diff1" "/tmp/petsc-iuu41q9r/config.programs/diff2" Defined make macro "DIFF" to "/usr/bin/diff -w" Checking for program /usr/ucb/ps...not found Checking for program /usr/usb/ps...not found Checking for program /projects/ADSM/software/petsc-v3.17.2/lib/petsc/bin/win32fe/ps...not found Unable to find programs: ['ps'] in listing of the specific search path: ['/usr/ucb', '/usr/usb'] Warning accessing /usr/ucb gives errors: [Errno 2] No such file or directory: '/usr/ucb' Warning accessing /usr/usb gives errors: [Errno 2] No such file or directory: '/usr/usb' Defined make macro "PYTHON" to "/projects/netpub/anaconda3/2022.05/bin/python" Checking for program /projects/cmake/toss3/3.22.3/bin/m4...not found Checking for program /opt/openmpi/4.1/gnu/bin/m4...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/m4...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/m4...not found Checking for program /projects/ADSM/software/local/bin/m4...not found Checking for program /usr/lib64/qt-3.3/bin/m4...not found Checking for program /usr/lpp/mmfs/bin/m4...not found Checking for program /opt/ibm/MCStore/bin/m4...not found Checking for program /opt/ibm/MCStore/scripts/m4...not found Checking for program /usr/local/bin/m4...not found Checking for program /usr/bin/m4...found Defined make macro "M4" to "/usr/bin/m4" child config.programs took 2.040917 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.make(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.make(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default ============================================================================================= TESTING: configureMake from config.packages.make(config/BuildSystem/config/packages/make.py:96) Check Guesses for GNU make Executing: gmake --version stdout: GNU Make 4.2.1 Built for x86_64-redhat-linux-gnu Copyright (C) 1988-2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Checking for program /projects/cmake/toss3/3.22.3/bin/gmake...not found Checking for program /opt/openmpi/4.1/gnu/bin/gmake...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/gmake...found Defined make macro "MAKE" to "/opt/rh/devtoolset-10/root/usr/bin/gmake" Checking for program /projects/cmake/toss3/3.22.3/bin/make...not found Checking for program /opt/openmpi/4.1/gnu/bin/make...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/make...found Defined make macro "MAKE_USER" to "make" ============================================================================================= TESTING: setupGNUMake from config.packages.make(config/BuildSystem/config/packages/make.py:150) Setup other GNU make stuff Executing: uname -s stdout: Linux Executing: uname -s stdout: Linux Defined make rule "libc" with dependencies "${LIBNAME}(${OBJSC})" and code [] Defined make rule "libcxx" with dependencies "${LIBNAME}(${OBJSCXX})" and code [] Defined make rule "libcu" with dependencies "${LIBNAME}(${OBJSCU})" and code [] Defined make rule "libf" with dependencies "${OBJSF}" and code -${AR} ${AR_FLAGS} ${LIBNAME} ${OBJSF} Defined make macro "OMAKE_PRINTDIR " to "/opt/rh/devtoolset-10/root/usr/bin/gmake --print-directory" Defined make macro "OMAKE" to "/opt/rh/devtoolset-10/root/usr/bin/gmake --no-print-directory" Defined make macro "MAKE_PAR_OUT_FLG" to "--output-sync=recurse" ============================================================================================= TESTING: configureMakeNP from config.packages.make(config/BuildSystem/config/packages/make.py:197) check no of cores on the build machine [perhaps to do make '-j ncores'] module multiprocessing found 72 cores: using make_np = 42 Defined make macro "MAKE_NP" to "42" Defined make macro "MAKE_TEST_NP" to "30" Defined make macro "MAKE_LOAD" to "104.8" Defined make macro "NPMAX" to "72" child config.packages.make took 0.034344 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.sycl(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.sycl(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.sycl took 0.000527 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.hip(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.hip(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.hip took 0.000494 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.X(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: checkDependencies from config.packages.X(config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.X(config/BuildSystem/config/package.py:937) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional X Checking for library in Compiler specific search X: [] ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [XSetWMName] in library [] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(); static void _check_XSetWMName() { XSetWMName(); } int main() { _check_XSetWMName();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `XSetWMName' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `XSetWMName' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `XSetWMName' collect2: error: ld returned 1 exit status: Checking for library in Compiler specific search X: ['libX11.a'] ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [XSetWMName] in library ['libX11.a'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(); static void _check_XSetWMName() { XSetWMName(); } int main() { _check_XSetWMName();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lX11 -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(); static void _check_XSetWMName() { XSetWMName(); } void dummy(void) {_check_XSetWMName();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.libraries -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -lX11 -lquadmath -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Defined "HAVE_LIBX11" to "1" Checking for optional headers [] in Compiler specific search X: ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Found header files [] in ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Checking for headers ['X11/Xlib.h'] in Compiler specific search X: ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['X11/Xlib.h'] in ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Checking include with compiler flags var CPPFLAGS ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.types -I/opt/openmpi/4.1/gnu/include -I/opt/openmpi/4.1/gnu/lib /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['X11/Xlib.h'] in ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] ============================================================================================= TESTING: checkVersion from config.packages.X(config/BuildSystem/config/package.py:1079) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version Preprocessing source: #include "confdefs.h" #include "conffix.h" #include "xorg/xorg-server.h" #include "xorg/xorgVersion.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s char *ver = "petscpkgver(" PetscXstr_(XORG_VERSION_MAJOR.XORG_VERSION_MINOR.XORG_VERSION_PATCH.XORG_VERSION_SNAP) ")"; Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.packages.X -I/opt/openmpi/4.1/gnu/include -I/opt/openmpi/4.1/gnu/lib /tmp/petsc-iuu41q9r/config.packages.X/conftest.c Found version string: char*ver=petscpkgver((((((1)*10000000)+((20)*100000)+((4)*1000)+0))/10000000).((((((1)*10000000)+((20)*100000)+((4)*1000)+0))%10000000)/100000).((((((1)*10000000)+((20)*100000)+((4)*1000)+0))%100000)/1000).(((((1)*10000000)+((20)*100000)+((4)*1000)+0))%1000)) For x unable to find version information: output below, skipping version check char*ver=petscpkgver((((((1)*10000000)+((20)*100000)+((4)*1000)+0))/10000000).((((((1)*10000000)+((20)*100000)+((4)*1000)+0))%10000000)/100000).((((((1)*10000000)+((20)*100000)+((4)*1000)+0))%100000)/1000).(((((1)*10000000)+((20)*100000)+((4)*1000)+0))%1000)); ============================================================================================= TESTING: checkSharedLibrary from config.packages.X(config/BuildSystem/config/package.py:1004) By default we don't care about checking if the library is shared child config.packages.X took 0.343296 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.hwloc(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.hwloc(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.hwloc took 0.001786 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.thrust(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.thrust(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.thrust took 0.000587 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.cuda(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.cuda(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.cuda took 0.000508 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.OpenMPI(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.OpenMPI(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.OpenMPI took 0.000580 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.MPICH(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.MPICH(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.MPICH took 0.001115 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.MPI(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: checkDependencies from config.packages.MPI(config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:851) ================================================================================== Checking for a functional MPI Checking for library in Compiler specific search MPI: [] ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library [] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } void dummy(void) {_check_MPI_Init(); _check_MPI_Comm_create();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.libraries -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -lquadmath -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Checking for optional headers [] in Compiler specific search MPI: ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Found header files [] in ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Checking for headers ['mpi.h'] in Compiler specific search MPI: ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['mpi.h'] in ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Checking include with compiler flags var CPPFLAGS ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.packages.X -I/tmp/petsc-iuu41q9r/config.headers -I/opt/openmpi/4.1/gnu/include -I/opt/openmpi/4.1/gnu/lib /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['mpi.h'] in ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Defined "HAVE_MPI_F90MODULE_VISIBILITY" to "1" ============================================================================================= TESTING: checkMPIDistro from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:658) Determine if MPICH_NUMVERSION, OMPI_MAJOR_VERSION or MSMPI_VER exist in mpi.h Used for consistency checking of MPI installation at compile time ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c:4:25: error: ‘I_MPI_VERSION’ undeclared here (not in a function); did you mean ‘MPI_VERSION’? 4 | const char *mpich_ver = I_MPI_VERSION; | ^~~~~~~~~~~~~ | MPI_VERSION Source: #include "confdefs.h" #include "conffix.h" #include const char *mpich_ver = I_MPI_VERSION; int main() { ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c:4:17: error: ‘I_MPI_NUMVERSION’ undeclared here (not in a function); did you mean ‘MPI_SUBVERSION’? 4 | int mpich_ver = I_MPI_NUMVERSION; | ^~~~~~~~~~~~~~~~ | MPI_SUBVERSION Source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = I_MPI_NUMVERSION; int main() { ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c:4:17: error: ‘MVAPICH2_NUMVERSION’ undeclared here (not in a function); did you mean ‘MPI_SUBVERSION’? 4 | int mpich_ver = MVAPICH2_NUMVERSION; | ^~~~~~~~~~~~~~~~~~~ | MPI_SUBVERSION Source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = MVAPICH2_NUMVERSION; int main() { ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c:4:17: error: ‘MPICH_NUMVERSION’ undeclared here (not in a function); did you mean ‘MPI_SUBVERSION’? 4 | int mpich_ver = MPICH_NUMVERSION; | ^~~~~~~~~~~~~~~~ | MPI_SUBVERSION Source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = MPICH_NUMVERSION; int main() { ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c:4:1: error: unknown type name ‘MPI_NEC_Function’; did you mean ‘MPI_Copy_function’? 4 | MPI_NEC_Function f = MPI_NEC_FUNCTION_NULL; | ^~~~~~~~~~~~~~~~ | MPI_Copy_function /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c:4:22: error: ‘MPI_NEC_FUNCTION_NULL’ undeclared here (not in a function) 4 | MPI_NEC_Function f = MPI_NEC_FUNCTION_NULL; | ^~~~~~~~~~~~~~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #include MPI_NEC_Function f = MPI_NEC_FUNCTION_NULL; int main() { ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int ompi_major = OMPI_MAJOR_VERSION; int ompi_minor = OMPI_MINOR_VERSION; int ompi_release = OMPI_RELEASE_VERSION; int main() { ; return 0; } Preprocessing source: #include "confdefs.h" #include "conffix.h" #include int ompi_major = OMPI_MAJOR_VERSION; int ompi_minor = OMPI_MINOR_VERSION; int ompi_release = OMPI_RELEASE_VERSION; Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.packages.X -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.packages.MPI /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Defined "HAVE_OMPI_MAJOR_VERSION" to "4" Defined "HAVE_OMPI_MINOR_VERSION" to "1" Defined "HAVE_OMPI_RELEASE_VERSION" to "1" Executing: uname -s stdout: Linux ============================================================================================= TESTING: configureMPI2 from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:381) Check for functions added to the interface in MPI-2 ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int a,b,c,d,flag,sendbuf[1]={1},recvbuf[1]={2}; MPI_Datatype newtype; if (MPI_Allreduce(MPI_IN_PLACE,0,1,MPI_INT,MPI_SUM,MPI_COMM_SELF)) return 0; if (MPI_Finalized(&flag)) return 0; if (MPI_Type_dup(MPI_INT,&newtype)) return 0; if (MPI_Exscan(sendbuf,recvbuf,1,MPI_INT,MPI_SUM,MPI_COMM_WORLD)) return 0; if (MPI_Reduce_scatter(sendbuf,recvbuf,sendbuf,MPI_INT,MPI_SUM,MPI_COMM_WORLD)) return 0; if (MPI_Type_get_envelope(MPI_INT,&a,&b,&c,&d)) return 0; ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int count=2; int blocklens[2]={0,1}; MPI_Aint indices[2]={0,1}; MPI_Datatype old_types[2]={MPI_INT,MPI_DOUBLE}; MPI_Datatype *newtype = 0; if (MPI_Type_create_struct(count, blocklens, indices, old_types, newtype)); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Comm_errhandler_fn * p_err_fun = 0; MPI_Errhandler * p_errhandler = 0; if (MPI_Comm_create_errhandler(p_err_fun,p_errhandler)); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Comm_set_errhandler(MPI_COMM_WORLD,MPI_ERRORS_RETURN)); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Reduce_local(0, 0, 0, MPI_INT, MPI_SUM));; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_REDUCE_LOCAL" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { char version[MPI_MAX_LIBRARY_VERSION_STRING];int verlen;if (MPI_Get_library_version(version,&verlen)); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_GET_LIBRARY_VERSION" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int base[100]; MPI_Win win; if (MPI_Win_create(base,100,4,MPI_INFO_NULL,MPI_COMM_WORLD,&win)); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_WIN_CREATE" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ptr[1]; MPI_Win win; if (MPI_Accumulate(ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_REPLACE,win)); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_ONE_SIDED" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int provided; if (MPI_Init_thread(0,0,MPI_THREAD_FUNNELED,&provided)) return 0;; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_INIT_THREAD" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int sendbuf[2] = {1,2}; int recvbuf[1]; if (MPI_Reduce_scatter_block(sendbuf,recvbuf,1,MPI_INT,MPI_SUM,MPI_COMM_WORLD)) return 0; ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_REDUCE_SCATTER_BLOCK" to "1" ============================================================================================= TESTING: configureMPI3 from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:449) Check for functions added to the interface in MPI-3 ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Comm scomm; MPI_Aint size=128; int disp_unit=8,*baseptr; MPI_Win win; if (MPI_Comm_split_type(MPI_COMM_WORLD, MPI_COMM_TYPE_SHARED, 0, MPI_INFO_NULL, &scomm)); if (MPI_Win_allocate_shared(size,disp_unit,MPI_INFO_NULL,MPI_COMM_WORLD,&baseptr,&win)); if (MPI_Win_shared_query(win,0,&size,&disp_unit,&baseptr)); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_PROCESS_SHARED_MEMORY" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int send=0,recv,counts[2]={1,1},displs[2]={1,2}; MPI_Request req; if (MPI_Iscatter(&send,1,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)) return 0; if (MPI_Iscatterv(&send,counts,displs,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)) return 0; if (MPI_Igather(&send,1,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)) return 0; if (MPI_Igatherv(&send,1,MPI_INT,&recv,counts,displs,MPI_INT,0,MPI_COMM_WORLD,&req)) return 0; if (MPI_Iallgather(&send,1,MPI_INT,&recv,1,MPI_INT,MPI_COMM_WORLD,&req)) return 0; if (MPI_Iallgatherv(&send,1,MPI_INT,&recv,counts,displs,MPI_INT,MPI_COMM_WORLD,&req)) return 0; if (MPI_Ialltoall(&send,1,MPI_INT,&recv,1,MPI_INT,MPI_COMM_WORLD,&req)) return 0; if (MPI_Iallreduce(&send,&recv,1,MPI_INT,MPI_SUM,MPI_COMM_WORLD,&req)) return 0; if (MPI_Ibarrier(MPI_COMM_WORLD,&req)) return 0; ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_NONBLOCKING_COLLECTIVES" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Comm distcomm; MPI_Request req; if (MPI_Dist_graph_create_adjacent(MPI_COMM_WORLD,0,0,MPI_WEIGHTS_EMPTY,0,0,MPI_WEIGHTS_EMPTY,MPI_INFO_NULL,0,&distcomm)); if (MPI_Neighbor_alltoallv(0,0,0,MPI_INT,0,0,0,MPI_INT,distcomm)); if (MPI_Ineighbor_alltoallv(0,0,0,MPI_INT,0,0,0,MPI_INT,distcomm,&req)); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_NEIGHBORHOOD_COLLECTIVES" to "1" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #if defined(MPIX_CUDA_AWARE_SUPPORT) && MPIX_CUDA_AWARE_SUPPORT #else #error This OpenMPI is not CUDA-aware #endif int main() { ; return 0; } Defined "HAVE_MPI_GPU_AWARE" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ptr[1]; MPI_Win win; if (MPI_Get_accumulate(ptr,1,MPI_INT,ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_SUM,win)); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_GET_ACCUMULATE" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ptr[1]; MPI_Win win; MPI_Request req; if (MPI_Rget(ptr,1,MPI_INT,0,1,1,MPI_INT,win,&req)); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_RGET" to "1" ============================================================================================= TESTING: configureMPI4 from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:514) Check for functions added to the interface in MPI-4 ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c: In function ‘main’: /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c:11:11: warning: implicit declaration of function ‘MPI_Send_c’; did you mean ‘MPI_Send’? [-Wimplicit-function-declaration] 11 | if (MPI_Send_c(buf,count,MPI_INT,dest,tag,MPI_COMM_WORLD)) return 1; | ^~~~~~~~~~ | MPI_Send /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c:12:11: warning: implicit declaration of function ‘MPI_Send_init_c’; did you mean ‘MPI_Send_init’? [-Wimplicit-function-declaration] 12 | if (MPI_Send_init_c(buf,count,MPI_INT,dest,tag,MPI_COMM_WORLD,&req)) return 1; | ^~~~~~~~~~~~~~~ | MPI_Send_init /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c:13:11: warning: implicit declaration of function ‘MPI_Isend_c’; did you mean ‘MPI_Isend’? [-Wimplicit-function-declaration] 13 | if (MPI_Isend_c(buf,count,MPI_INT,dest,tag,MPI_COMM_WORLD,&req)) return 1; | ^~~~~~~~~~~ | MPI_Isend /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c:14:11: warning: implicit declaration of function ‘MPI_Recv_c’; did you mean ‘MPI_Recv’? [-Wimplicit-function-declaration] 14 | if (MPI_Recv_c(buf,count,MPI_INT,source,tag,MPI_COMM_WORLD,&stat)) return 1; | ^~~~~~~~~~ | MPI_Recv /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c:15:11: warning: implicit declaration of function ‘MPI_Recv_init_c’; did you mean ‘MPI_Recv_init’? [-Wimplicit-function-declaration] 15 | if (MPI_Recv_init_c(buf,count,MPI_INT,source,tag,MPI_COMM_WORLD,&req)) return 1; | ^~~~~~~~~~~~~~~ | MPI_Recv_init /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c:16:11: warning: implicit declaration of function ‘MPI_Irecv_c’; did you mean ‘MPI_Irecv’? [-Wimplicit-function-declaration] 16 | if (MPI_Irecv_c(buf,count,MPI_INT,source,tag,MPI_COMM_WORLD,&req)) return 1; | ^~~~~~~~~~~ | MPI_Irecv Source: #include "confdefs.h" #include "conffix.h" #include int main() { int buf[1]={0},dest=1,source=1,tag=0; MPI_Count count=1; MPI_Request req; MPI_Status stat; if (MPI_Send_c(buf,count,MPI_INT,dest,tag,MPI_COMM_WORLD)) return 1; if (MPI_Send_init_c(buf,count,MPI_INT,dest,tag,MPI_COMM_WORLD,&req)) return 1; if (MPI_Isend_c(buf,count,MPI_INT,dest,tag,MPI_COMM_WORLD,&req)) return 1; if (MPI_Recv_c(buf,count,MPI_INT,source,tag,MPI_COMM_WORLD,&stat)) return 1; if (MPI_Recv_init_c(buf,count,MPI_INT,source,tag,MPI_COMM_WORLD,&req)) return 1; if (MPI_Irecv_c(buf,count,MPI_INT,source,tag,MPI_COMM_WORLD,&req)) return 1; ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o: in function `main': conftest.c:(.text.startup+0x3e): undefined reference to `MPI_Send_c' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x78): undefined reference to `MPI_Send_init_c' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x9e): undefined reference to `MPI_Isend_c' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0xc9): undefined reference to `MPI_Recv_c' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0xf2): undefined reference to `MPI_Recv_init_c' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x11c): undefined reference to `MPI_Irecv_c' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o: in function `main': conftest.c:(.text.startup+0x3e): undefined reference to `MPI_Send_c' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x78): undefined reference to `MPI_Send_init_c' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x9e): undefined reference to `MPI_Isend_c' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0xc9): undefined reference to `MPI_Recv_c' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0xf2): undefined reference to `MPI_Recv_init_c' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x11c): undefined reference to `MPI_Irecv_c' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o: in function `main': conftest.c:(.text.startup+0x3e): undefined reference to `MPI_Send_c' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x78): undefined reference to `MPI_Send_init_c' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x9e): undefined reference to `MPI_Isend_c' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0xc9): undefined reference to `MPI_Recv_c' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0xf2): undefined reference to `MPI_Recv_init_c' /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: conftest.c:(.text.startup+0x11c): undefined reference to `MPI_Irecv_c' collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: configureMPIEXEC from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:190) Checking for location of mpiexec Executing: which mpicc stdout: /opt/openmpi/4.1/gnu/bin/mpicc Checking for program /opt/openmpi/4.1/gnu/bin/mpiexec...found Running Executable with threads to time it out at 60 Executing: /opt/openmpi/4.1/gnu/bin/mpiexec -help all stdout: mpiexec (OpenRTE) 4.1.1 Usage: mpiexec [OPTION]... [PROGRAM]... Start the given program using Open RTE -allow-run-as-root|--allow-run-as-root Allow execution as root (STRONGLY DISCOURAGED) -am Aggregate MCA parameter set file list --app Provide an appfile; ignore all other command line options --bind-to Policy for binding processes. Allowed values: none, hwthread, core, l1cache, l2cache, l3cache, socket, numa, board, cpu-list ("none" is the default when oversubscribed, "core" is the default when np<=2, and "socket" is the default when np>2). Allowed qualifiers: overload-allowed, if-supported, ordered -bind-to-core|--bind-to-core Bind processes to cores -bind-to-socket|--bind-to-socket Bind processes to sockets -bycore|--bycore Whether to map and rank processes round-robin by core -bynode|--bynode Whether to map and rank processes round-robin by node -byslot|--byslot Whether to map and rank processes round-robin by slot -c|-np|--np Number of processes to run -cf|--cartofile Provide a cartography file -continuous|--continuous Job is to run until explicitly terminated -cpu-list|--cpu-list List of processor IDs to bind processes to [default=NULL] -cpu-set|--cpu-set Comma-separated list of ranges specifying logical cpus allocated to this job [default: none] -cpus-per-proc|--cpus-per-proc Number of cpus to use for each process [default=1] -cpus-per-rank|--cpus-per-rank Synonym for cpus-per-proc -d|-debug-devel|--debug-devel Enable debugging of OpenRTE -debug|--debug Invoke the user-level debugger indicated by the orte_base_user_debugger MCA parameter -debug-daemons|--debug-daemons Enable debugging of any OpenRTE daemons used by this application -debug-daemons-file|--debug-daemons-file Enable debugging of any OpenRTE daemons used by this application, storing output in files -debugger|--debugger Sequence of debuggers to search for when "--debug" is used -default-hostfile|--default-hostfile Provide a default hostfile -disable-recovery|--disable-recovery Disable recovery (resets all recovery options to off) -display-allocation|--display-allocation Display the allocation being used by this job -display-devel-allocation|--display-devel-allocation Display a detailed list (mostly intended for developers) of the allocation being used by this job -display-devel-map|--display-devel-map Display a detailed process map (mostly intended for developers) just before launch -display-diffable-map|--display-diffable-map Display a diffable process map (mostly intended for developers) just before launch -display-map|--display-map Display the process map just before launch -display-topo|--display-topo Display the topology as part of the process map (mostly intended for developers) just before launch -do-not-launch|--do-not-launch Perform all necessary operations to prepare to launch the application, but do not actually launch it -do-not-resolve|--do-not-resolve Do not attempt to resolve interfaces -dvm|--dvm Create a persistent distributed virtual machine (DVM) -enable-instant-on-support|--enable-instant-on-support Enable PMIx-based instant on launch support (experimental) -enable-recovery|--enable-recovery Enable recovery from process failure [Default = disabled] -fwd-mpirun-port|--fwd-mpirun-port Forward mpirun port to compute node daemons so all will use it -get-stack-traces|--get-stack-traces Get stack traces of all application procs on timeout -gmca|--gmca Pass global MCA parameters that are applicable to all contexts (arg0 is the parameter name; arg1 is the parameter value) -h|--help This help message -H|-host|--host List of hosts to invoke processes on -hnp|--hnp Specify the URI of the HNP, or the name of the file (specified as file:filename) that contains that info -hostfile|--hostfile Provide a hostfile -index-argv-by-rank|--index-argv-by-rank Uniquely index argv[0] for each process using its rank -launch-agent|--launch-agent Command used to start processes on remote nodes (default: orted) -leave-session-attached|--leave-session-attached Enable debugging of OpenRTE -machinefile|--machinefile Provide a hostfile --map-by Mapping Policy [slot | hwthread | core | socket (default) | numa | board | node] -max-restarts|--max-restarts Max number of times to restart a failed process -max-vm-size|--max-vm-size Number of processes to run -mca|--mca Pass context-specific MCA parameters; they are considered global if --gmca is not used and only one context is specified (arg0 is the parameter name; arg1 is the parameter value) -merge-stderr-to-stdout|--merge-stderr-to-stdout Merge stderr to stdout for each process -N Launch n processes per node on all allocated nodes (synonym for 'map-by node') -n|--n Number of processes to run -nolocal|--nolocal Do not run any MPI applications on the local node -nooversubscribe|--nooversubscribe Nodes are not to be oversubscribed, even if the system supports such operation --noprefix Disable automatic --prefix behavior -novm|--novm Execute without creating an allocation-spanning virtual machine (only start daemons on nodes hosting application procs) -npernode|--npernode Launch n processes per node on all allocated nodes -npersocket|--npersocket Launch n processes per socket on all allocated nodes -ompi-server|--ompi-server Specify the URI of the publish/lookup server, or the name of the file (specified as file:filename) that contains that info -output-filename|--output-filename Redirect output from application processes into filename/job/rank/std[out,err,diag]. A relative path value will be converted to an absolute path -output-proctable|--output-proctable Output the debugger proctable after launch -oversubscribe|--oversubscribe Nodes are allowed to be oversubscribed, even on a managed system, and overloading of processing elements -path|--path PATH to be used to look for executables to start processes -pernode|--pernode Launch one process per available node -personality|--personality Comma-separated list of programming model, languages, and containers being used (default="ompi") --ppr Comma-separated list of number of processes on a given resource type [default: none] --prefix Prefix where Open MPI is installed on remote nodes --preload-files Preload the comma separated list of files to the remote machines current working directory before starting the remote process. -q|--quiet Suppress helpful messages --rank-by Ranking Policy [slot (default) | hwthread | core | socket | numa | board | node] -report-bindings|--report-bindings Whether to report process bindings to stderr -report-child-jobs-separately|--report-child-jobs-separately Return the exit status of the primary job only -report-events|--report-events Report events to a tool listening at the specified URI -report-pid|--report-pid Printout pid on stdout [-], stderr [+], or a file [anything else] -report-state-on-timeout|--report-state-on-timeout Report all job and process states upon timeout -report-uri|--report-uri Printout URI on stdout [-], stderr [+], or a file [anything else] -rf|--rankfile Provide a rankfile file -s|--preload-binary Preload the binary on the remote machine before starting the remote process. -set-cwd-to-session-dir|--set-cwd-to-session-dir Set the working directory of the started processes to their session directory -show-progress|--show-progress Output a brief periodic report on launch progress -stdin|--stdin Specify procs to receive stdin [rank, all, none] (default: 0, indicating rank 0) -tag-output|--tag-output Tag all output with [job,rank] -timeout|--timeout Timeout the job after the specified number of seconds -timestamp-output|--timestamp-output Timestamp all application process output -tune Application profile options file list -tv|--tv Deprecated backwards compatibility flag; synonym for "--debug" -use-hwthread-cpus|--use-hwthread-cpus Use hardware threads as independent cpus -use-regexp|--use-regexp Use regular expressions for launch -v|--verbose Be verbose -V|--version Print version and exit -wd|--wd Synonym for --wdir -wdir|--wdir Set the working directory of the started processes -x Export an environment variable, optionally specifying a value (e.g., "-x foo" exports the environment variable foo and takes its value from the current environment; "-x foo=bar" exports the environment variable name foo and sets its value to "bar" in the started processes) -xml|--xml Provide all output in XML format -xml-file|--xml-file Provide all output in XML format to the specified file -xterm|--xterm Create a new xterm window and display output from the specified ranks there For additional mpirun arguments, run 'mpirun --help ' The following categories exist: general (Defaults to this option), debug, output, input, mapping, ranking, binding, devel (arguments useful to OMPI Developers), compatibility (arguments supported for backwards compatibility), launch (arguments to modify launch options), and dvm (Distributed Virtual Machine arguments). Report bugs to http://www.open-mpi.org/community/help/ Checking for program /opt/openmpi/4.1/gnu/bin/mpiexec...found Running Executable with threads to time it out at 120 Executing: /opt/openmpi/4.1/gnu/bin/mpiexec -n 1 printenv stdout: OMPI_MCA_btl_openib_allow_ib=true OMPI_MCA_btl_openib_ib_retry_count=7 OMPI_MCA_btl_openib_ib_timeout=21 OMPI_MCA_btl=openib,vader,self OMPI_MCA_pmix=^s1,s2,cray,isolated PMIX_MCA_mca_base_component_show_load_errors=1 OMPI_COMMAND=printenv OMPI_MCA_orte_precondition_transports=a2c68573787f4bd4-104fb0371744137f SNLSITE=nm MANPATH=/opt/openmpi/4.1/gnu/man:/opt/openmpi/4.1/gnu/share/man:/opt/rh/devtoolset-10/root/usr/share/man:/projects/netpub/anaconda3/2022.05/share/man:/usr/share/lmod/lmod/share/man:: _ModuleTable003_=MDAwMi4wMDAwMDAwMDEuKnpmaW5hbCIsCn0sClsib3Blbm1waS1nbnUiXSA9IHsKZm4gPSAiL29wdC9tb2R1bGVzL21vZHVsZWZpbGVzL29wZW5tcGktZ251LzQuMSIsCmZ1bGxOYW1lID0gIm9wZW5tcGktZ251LzQuMSIsCmxvYWRPcmRlciA9IDMsCnByb3BUID0ge30sCnN0YWNrRGVwdGggPSAwLApzdGF0dXMgPSAiYWN0aXZlIiwKdXNlck5hbWUgPSAib3Blbm1waS1nbnUvNC4xIiwKd1YgPSAiMDAwMDAwMDA0LjAwMDAwMDAwMS4qemZpbmFsIiwKfSwKfSwKbXBhdGhBID0gewoiL3Byb2plY3RzL3NpZXJyYS9hdHRhd2F5L21vZHVsZXMiLCAiL2V0Yy9tb2R1bGVmaWxlcyIsICIvdXNyL3NoYXJlL21vZHVsZWZpbGVzIgosICIvdXNyL3NoYXJlL01vZHVsZXMvbW9kdWxlZmls GUESTFISH_INIT=\e[1;34m HOSTNAME=boca1 INTEL_LICENSE_FILE=/opt/modules/etc/SSNL.lic:/opt/modules/etc/license.client __LMOD_REF_COUNT_MODULEPATH=/projects/sierra/attaway/modules:1;/etc/modulefiles:1;/usr/share/modulefiles:1;/usr/share/Modules/modulefiles:1;/apps/modules/modulefiles-apps:1;/apps/modules/modulefiles:1;/opt/modules/modulefiles:1;/usr/share/modulefiles/Linux:1;/usr/share/modulefiles/Core:1;/usr/share/lmod/lmod/modulefiles/Core:1 SNLSYSTEM=condo TERM=xterm-256color SHELL=/bin/bash CLICOLOR=1 WISECONFIGDIR=/usr/share/wise2/ LMOD_ROOT=/usr/share/lmod HISTSIZE=1000 PETSC_ARCH=intel_O_openmpi4.0 MODULEPATH_ROOT=/usr/share/modulefiles SSH_CLIENT=192.168.25.204 58496 22 GNU_INCLUDES=/opt/rh/devtoolset-10/root/usr/include/c++/10 LMOD_PKG=/usr/share/lmod/lmod QTDIR=/usr/lib64/qt-3.3 LMOD_VERSION=8.6.19 QTINC=/usr/lib64/qt-3.3/include SSH_TTY=/dev/pts/2 QT_GRAPHICSSYSTEM_CHECKED=1 http_proxy=http://proxy.sandia.gov:80 SNLCLUSTER=boca USER=heepark PFLOTRAN_DIR=/projects/ADSM/software/pflotran-skybridge LMOD_sys=Linux LS_COLORS=rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45: LD_LIBRARY_PATH=/opt/openmpi/4.1/gnu/lib:/opt/openmpi/4.1/gnu/lib:/opt/openmpi/4.1/gnu/lib:/usr/lib64/nvidia:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10 DEFAULT_MODULES_LOADED=1 GNU_LIBS=/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10 IPATH_NO_CPUAFFINITY=1 _ModuleTable004_=ZXMiLCAiL2FwcHMvbW9kdWxlcy9tb2R1bGVmaWxlcy1hcHBzIiwgIi9hcHBzL21vZHVsZXMvbW9kdWxlZmlsZXMiCiwgIi9vcHQvbW9kdWxlcy9tb2R1bGVmaWxlcyIsICIvdXNyL3NoYXJlL21vZHVsZWZpbGVzL0xpbnV4IiwgIi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvQ29yZSIsICIvdXNyL3NoYXJlL2xtb2QvbG1vZC9tb2R1bGVmaWxlcy9Db3JlIiwKfSwKc3lzdGVtQmFzZU1QQVRIID0gIi9wcm9qZWN0cy9zaWVycmEvYXR0YXdheS9tb2R1bGVzOi9ldGMvbW9kdWxlZmlsZXM6L3Vzci9zaGFyZS9tb2R1bGVmaWxlczovdXNyL3NoYXJlL01vZHVsZXMvbW9kdWxlZmlsZXM6L2FwcHMvbW9kdWxlcy9tb2R1bGVmaWxlcy1hcHBzOi9hcHBzL21vZHVsZXMvbW9kdWxlZmlsZXM6 CPATH=/opt/openmpi/4.1/gnu/include FTP_PROXY=http://user:pass@proxy.sandia.gov:80 ftp_proxy=http://proxy.sandia.gov:80 COLUMNS=100 LSCOLORS=ExFxBxDxCxegedabagacad GUESTFISH_PS1=\[\e[1;32m\]>\[\e[0;31m\] LMOD_FAMILY_MPI_VERSION=4.1 ALL_PROXY=http://user:pass@proxy.sandia.gov:80 MPIROOT=/opt/openmpi/4.1/gnu _ModuleTable001_=X01vZHVsZVRhYmxlXyA9IHsKTVR2ZXJzaW9uID0gMywKY19yZWJ1aWxkVGltZSA9IGZhbHNlLApjX3Nob3J0VGltZSA9IGZhbHNlLApkZXB0aFQgPSB7fSwKZmFtaWx5ID0gewptcGkgPSAib3Blbm1waS1nbnUiLAp9LAptVCA9IHsKYW5hY29uZGEzID0gewpmbiA9ICIvYXBwcy9tb2R1bGVzL21vZHVsZWZpbGVzLWFwcHMvYW5hY29uZGEzLzIwMjIuMDUiLApmdWxsTmFtZSA9ICJhbmFjb25kYTMvMjAyMi4wNSIsCmxvYWRPcmRlciA9IDEsCnByb3BUID0ge30sCnN0YWNrRGVwdGggPSAwLApzdGF0dXMgPSAiYWN0aXZlIiwKdXNlck5hbWUgPSAiYW5hY29uZGEzLzIwMjIuMDUiLAp3ViA9ICIwMDAwMDIwMjIuMDAwMDAwMDA1Lip6ZmluYWwiLAp9LApjbWFrZSA9IHsKZm4gPSAi SRUN_NO_REQUEUE=1 MAIL=/var/spool/mail/heepark PATH=/opt/openmpi/4.1/gnu/bin:/opt/openmpi/4.1/gnu/bin:/projects/cmake/toss3/3.22.3/bin:/opt/openmpi/4.1/gnu/bin:/opt/rh/devtoolset-10/root/usr/bin:/projects/netpub/anaconda3/2022.05/bin:/projects/ADSM/software/local/bin:/usr/lib64/qt-3.3/bin:/usr/lpp/mmfs/bin:/opt/ibm/MCStore/bin:/opt/ibm/MCStore/scripts:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/dell/srvadmin/bin:/projects/ADSM/software/pflotran-master-petsc-v3.17.2/src/pflotran RSYNC_PROXY=http://user:pass@proxy.sandia.gov:80 rsync_proxy=http://user:pass@proxy.sandia.gov:80 MPI_NAME=openmpi-4.1-gnu _=/opt/openmpi/4.1/gnu/bin/mpiexec IPATH_NO_BACKTRACE=1 SNLNETWORK=srn PWD=/projects/ADSM/software/petsc-v3.17.2 _LMFILES_=/apps/modules/modulefiles-apps/anaconda3/2022.05:/opt/modules/modulefiles/gnu/10.2.1:/opt/modules/modulefiles/openmpi-gnu/4.1:/apps/modules/modulefiles/cmake/3.22.3 LANG=en_US.UTF-8 MPICH_MPI=openmpi-4.1-gnu-4.1.1 MODULEPATH=/projects/sierra/attaway/modules:/etc/modulefiles:/usr/share/modulefiles:/usr/share/Modules/modulefiles:/apps/modules/modulefiles-apps:/apps/modules/modulefiles:/opt/modules/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core LMOD_SYSTEM_NAME=boca _ModuleTable_Sz_=5 KDEDIRS=/usr GUESTFISH_OUTPUT=\e[0m LOADEDMODULES=anaconda3/2022.05:gnu/10.2.1:openmpi-gnu/4.1:cmake/3.22.3 LINES=76 LMOD_CHECK_FOR_VALID_MODULE_FILES=yes LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod MPI_VERSION=4.1.1 _ModuleTable005_=L29wdC9tb2R1bGVzL21vZHVsZWZpbGVzOi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvTGludXg6L3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9Db3JlOi91c3Ivc2hhcmUvbG1vZC9sbW9kL21vZHVsZWZpbGVzL0NvcmUiLAp9Cg== HTTPS_PROXY=http://user:pass@proxy.sandia.gov:80 https_proxy=http://proxy.sandia.gov:80 PATHSCALE_SUBSCRIPTION_DAEMON=lic-ocf.llnl.gov LM_LICENSE_FILE=/opt/modules/etc/SSNL.lic:/opt/modules/etc/license.client SQUEUE_FORMAT=%.10i %.9P %.8j %.8u %.2t %.10M %.6D %R SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass HISTCONTROL=ignoredups SHLVL=3 HOME=/ascldap/users/heepark __LMOD_REF_COUNT_PATH=/projects/cmake/toss3/3.22.3/bin:1;/opt/openmpi/4.1/gnu/bin:1;/opt/rh/devtoolset-10/root/usr/bin:1;/projects/netpub/anaconda3/2022.05/bin:1;/projects/ADSM/software/local/bin:1;/usr/lib64/qt-3.3/bin:1;/usr/lpp/mmfs/bin:1;/opt/ibm/MCStore/bin:1;/opt/ibm/MCStore/scripts:1;/usr/local/bin:1;/usr/bin:1;/usr/local/sbin:1;/usr/sbin:1;/sbin:1;/opt/dell/srvadmin/bin:1;/projects/ADSM/software/pflotran-master-petsc-v3.17.2/src/pflotran:1 SRUN_EXPORT_ENV=ALL __LMOD_REF_COUNT_CPATH=/opt/openmpi/4.1/gnu/include:1 _ModuleTable002_=L2FwcHMvbW9kdWxlcy9tb2R1bGVmaWxlcy9jbWFrZS8zLjIyLjMiLApmdWxsTmFtZSA9ICJjbWFrZS8zLjIyLjMiLApsb2FkT3JkZXIgPSA0LApwcm9wVCA9IHt9LApzdGFja0RlcHRoID0gMCwKc3RhdHVzID0gImFjdGl2ZSIsCnVzZXJOYW1lID0gImNtYWtlIiwKd1YgPSAiMDAwMDAwMDAzLjAwMDAwMDAyMi4wMDAwMDAwMDMuKnpmaW5hbCIsCn0sCmdudSA9IHsKZm4gPSAiL29wdC9tb2R1bGVzL21vZHVsZWZpbGVzL2dudS8xMC4yLjEiLApmdWxsTmFtZSA9ICJnbnUvMTAuMi4xIiwKbG9hZE9yZGVyID0gMiwKcHJvcFQgPSB7fSwKc3RhY2tEZXB0aCA9IDAsCnN0YXR1cyA9ICJhY3RpdmUiLAp1c2VyTmFtZSA9ICJnbnUvMTAuMi4xIiwKd1YgPSAiMDAwMDAwMDEwLjAwMDAw HTTP_PROXY=http://user:pass@proxy.sandia.gov:80 MPIHOME=/opt/openmpi/4.1/gnu BASH_ENV=/usr/share/lmod/lmod/init/bash LOGNAME=heepark MPI_ROOT=/opt/openmpi/4.1/gnu QTLIB=/usr/lib64/qt-3.3/lib CVS_RSH=ssh XDG_DATA_DIRS=/ascldap/users/heepark/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share SSH_CONNECTION=192.168.25.204 58496 192.168.24.1 22 MODULESHOME=/usr/share/lmod/lmod MPI_HOME=/opt/openmpi/4.1/gnu LMOD_SETTARG_FULL_SUPPORT=no LESSOPEN=||/usr/bin/lesspipe.sh %s __LMOD_REF_COUNT_LD_LIBRARY_PATH=/opt/openmpi/4.1/gnu/lib:1;/usr/lib64/nvidia:1;/opt/rh/devtoolset-10/root/usr/lib64:1;/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10:1 __LMOD_REF_COUNT_INTEL_LICENSE_FILE=/opt/modules/etc/SSNL.lic:1;/opt/modules/etc/license.client:1 QT_PLUGIN_PATH=/usr/lib64/kde4/plugins:/usr/lib/kde4/plugins __LMOD_REF_COUNT_MANPATH=/opt/openmpi/4.1/gnu/man:1;/opt/openmpi/4.1/gnu/share/man:1;/opt/rh/devtoolset-10/root/usr/share/man:1;/projects/netpub/anaconda3/2022.05/share/man:1;/usr/share/lmod/lmod/share/man:1 SBATCH_NO_REQUEUE=1 LMOD_DIR=/usr/share/lmod/lmod/libexec PETSC_DIR=/projects/ADSM/software/petsc-v3.17.2 GUESTFISH_RESTORE=\e[0m LMOD_FAMILY_MPI=openmpi-gnu BASH_FUNC_module()=() { local __lmod_my_status; local __lmod_sh_dbg; if [ -z "${LMOD_SH_DBG_ON+x}" ]; then case "$-" in *v*x*) __lmod_sh_dbg='vx' ;; *v*) __lmod_sh_dbg='v' ;; *x*) __lmod_sh_dbg='x' ;; esac; fi; if [ -n "${__lmod_sh_dbg:-}" ]; then set +$__lmod_sh_dbg; echo "Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for Lmod's output" 1>&2; fi; eval "$($LMOD_CMD bash "$@")" && eval $(${LMOD_SETTARG_CMD:-:} -s sh); __lmod_my_status=$?; if [ -n "${__lmod_sh_dbg:-}" ]; then echo "Shell debugging restarted" 1>&2; set -$__lmod_sh_dbg; fi; return $__lmod_my_status } BASH_FUNC_ml()=() { eval "$($LMOD_DIR/ml_cmd "$@")" } HFI_NO_BACKTRACE=1 OMPI_MCA_orte_local_daemon_uri=622067712.0;tcp://192.168.24.1,192.168.26.1:44674 OMPI_MCA_orte_hnp_uri=622067712.0;tcp://192.168.24.1,192.168.26.1:44674 OMPI_MCA_mpi_oversubscribe=0 OMPI_MCA_orte_app_num=0 OMPI_UNIVERSE_SIZE=36 OMPI_MCA_orte_num_nodes=1 OMPI_MCA_shmem_RUNTIME_QUERY_hint=mmap OMPI_MCA_orte_bound_at_launch=1 OMPI_MCA_ess=^singleton OMPI_MCA_orte_ess_num_procs=1 OMPI_COMM_WORLD_SIZE=1 OMPI_COMM_WORLD_LOCAL_SIZE=1 OMPI_MCA_orte_tmpdir_base=/tmp OMPI_MCA_orte_top_session_dir=/tmp/ompi.boca1.84080 OMPI_MCA_orte_jobfam_session_dir=/tmp/ompi.boca1.84080/pid.217961 OMPI_NUM_APP_CTX=1 OMPI_FIRST_RANKS=0 OMPI_APP_CTX_NUM_PROCS=1 OMPI_MCA_initial_wdir=/projects/ADSM/software/petsc-v3.17.2 OMPI_MCA_orte_launch=1 PMIX_NAMESPACE=622067713 PMIX_RANK=0 PMIX_SERVER_URI3=622067712.0;tcp4://127.0.0.1:40879 PMIX_SERVER_URI2=622067712.0;tcp4://127.0.0.1:40879 PMIX_SERVER_URI21=622067712.0;tcp4://127.0.0.1:40879 PMIX_SECURITY_MODE=native PMIX_PTL_MODULE=tcp,usock PMIX_BFROP_BUFFER_TYPE=PMIX_BFROP_BUFFER_NON_DESC PMIX_GDS_MODULE=ds21,ds12,hash PMIX_SERVER_TMPDIR=/tmp/ompi.boca1.84080/pid.217961 PMIX_SYSTEM_TMPDIR=/tmp PMIX_DSTORE_21_BASE_PATH=/tmp/ompi.boca1.84080/pid.217961/pmix_dstor_ds21_217961 PMIX_DSTORE_ESH_BASE_PATH=/tmp/ompi.boca1.84080/pid.217961/pmix_dstor_ds12_217961 PMIX_HOSTNAME=boca1 PMIX_VERSION=3.2.3 OMPI_MCA_ess_base_jobid=622067713 OMPI_MCA_ess_base_vpid=0 OMPI_COMM_WORLD_RANK=0 OMPI_COMM_WORLD_LOCAL_RANK=0 OMPI_COMM_WORLD_NODE_RANK=0 OMPI_MCA_orte_ess_node_rank=0 PMIX_ID=622067713.0 OMPI_FILE_LOCATION=/tmp/ompi.boca1.84080/pid.217961/0/0 Defined "HAVE_MPIEXEC_ENVIRONMENTAL_VARIABLE" to "OMP" Defined make macro "MPIEXEC" to "/opt/openmpi/4.1/gnu/bin/mpiexec --oversubscribe" Checking for program /usr/libexec/ApplicationFirewall/socketfilterfw...not found Checking for program /projects/ADSM/software/petsc-v3.17.2/lib/petsc/bin/win32fe/socketfilterfw...not found Unable to find programs: ['socketfilterfw'] in listing of the specific search path: ['/usr/libexec/ApplicationFirewall'] Warning accessing /usr/libexec/ApplicationFirewall gives errors: [Errno 2] No such file or directory: '/usr/libexec/ApplicationFirewall' Checking for program /projects/cmake/toss3/3.22.3/bin/hostname...not found Checking for program /opt/openmpi/4.1/gnu/bin/hostname...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/hostname...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/hostname...not found Checking for program /projects/ADSM/software/local/bin/hostname...not found Checking for program /usr/lib64/qt-3.3/bin/hostname...not found Checking for program /usr/lpp/mmfs/bin/hostname...not found Checking for program /opt/ibm/MCStore/bin/hostname...not found Checking for program /opt/ibm/MCStore/scripts/hostname...not found Checking for program /usr/local/bin/hostname...not found Checking for program /usr/bin/hostname...found Defined make macro "HOSTNAME" to "hostname" Running Executable with threads to time it out at 60 Executing: hostname stdout: boca1 Return code from hostname: 0 Hostname works, running network checks Checking for program /sbin/ping...not found Checking for program /projects/cmake/toss3/3.22.3/bin/ping...not found Checking for program /opt/openmpi/4.1/gnu/bin/ping...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/ping...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/ping...not found Checking for program /projects/ADSM/software/local/bin/ping...not found Checking for program /usr/lib64/qt-3.3/bin/ping...not found Checking for program /usr/lpp/mmfs/bin/ping...not found Checking for program /opt/ibm/MCStore/bin/ping...not found Checking for program /opt/ibm/MCStore/scripts/ping...not found Checking for program /usr/local/bin/ping...not found Checking for program /usr/bin/ping...found Defined make macro "PING" to "ping" Executing: uname -s stdout: Linux Running Executable with threads to time it out at 60 Executing: ping -c 2 boca1 Exception: while running ping skipping ping check Checking for program /projects/cmake/toss3/3.22.3/bin/host...not found Checking for program /opt/openmpi/4.1/gnu/bin/host...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/host...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/host...not found Checking for program /projects/ADSM/software/local/bin/host...not found Checking for program /usr/lib64/qt-3.3/bin/host...not found Checking for program /usr/lpp/mmfs/bin/host...not found Checking for program /opt/ibm/MCStore/bin/host...not found Checking for program /opt/ibm/MCStore/scripts/host...not found Checking for program /usr/local/bin/host...not found Checking for program /usr/bin/host...found Defined make macro "HOST" to "host" Running Executable with threads to time it out at 60 Executing: host boca1 stdout: Host boca1 not found: 3(NXDOMAIN) Exception: while running host skipping host check Checking for program /usr/sbin/traceroute...not found Checking for program /projects/cmake/toss3/3.22.3/bin/traceroute...not found Checking for program /opt/openmpi/4.1/gnu/bin/traceroute...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/traceroute...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/traceroute...not found Checking for program /projects/ADSM/software/local/bin/traceroute...not found Checking for program /usr/lib64/qt-3.3/bin/traceroute...not found Checking for program /usr/lpp/mmfs/bin/traceroute...not found Checking for program /opt/ibm/MCStore/bin/traceroute...not found Checking for program /opt/ibm/MCStore/scripts/traceroute...not found Checking for program /usr/local/bin/traceroute...not found Checking for program /usr/bin/traceroute...found Defined make macro "TRACEROUTE" to "traceroute" Running Executable with threads to time it out at 60 Executing: traceroute boca1 stdout: traceroute to boca1 (192.168.24.1), 30 hops max, 60 byte packets 1 boca1 (192.168.24.1) 0.018 ms 0.002 ms 0.003 ms Return code from traceroute: 0 ============================================================================================= ======== Checking running linked program ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Init(0,0); MPI_Finalize(); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Testing executable /tmp/petsc-iuu41q9r/config.packages.MPI/conftest to see if it can be run Executing: /opt/openmpi/4.1/gnu/bin/mpiexec --oversubscribe -n 1 /tmp/petsc-iuu41q9r/config.packages.MPI/conftest Running Executable with threads to time it out at 120 Executing: /opt/openmpi/4.1/gnu/bin/mpiexec --oversubscribe -n 1 /tmp/petsc-iuu41q9r/config.packages.MPI/conftest ============================================================================================= TESTING: configureMPITypes from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:542) Checking for MPI Datatype handles ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { int size; int ierr; MPI_Init(0,0); ierr = MPI_Type_size(MPI_LONG_DOUBLE, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Defined "HAVE_MPI_LONG_DOUBLE" to "1" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { int size; int ierr; MPI_Init(0,0); ierr = MPI_Type_size(MPI_INT64_T, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Defined "HAVE_MPI_INT64_T" to "1" ============================================================================================= TESTING: SGIMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:586) Returns true if SGI MPI is used Checking for functions [MPI_SGI_barrier] in library [] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_SGI_barrier(); static void _check_MPI_SGI_barrier() { MPI_SGI_barrier(); } int main() { _check_MPI_SGI_barrier();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `MPI_SGI_barrier' collect2: error: ld returned 1 exit status Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `MPI_SGI_barrier' collect2: error: ld returned 1 exit status : Linker output after filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/petsc-iuu41q9r/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `MPI_SGI_barrier' collect2: error: ld returned 1 exit status: SGI MPI test failure ============================================================================================= TESTING: CxxMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:596) Make sure C++ can compile and link Checking for header mpi.h Checking for C++ MPI_Finalize() Checking for functions [MPI_Finalize] in library [] [] ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/config.libraries -O3 -std=gnu++17 /tmp/petsc-iuu41q9r/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_MPI_Finalize() { int ierr; ierr = MPI_Finalize();; } int main() { _check_MPI_Finalize();; return 0; } Executing: mpicxx -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lquadmath -lstdc++ -ldl ============================================================================================= TESTING: FortranMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:612) Make sure fortran include [mpif.h] and library symbols are found Checking for fortran mpi_init() Checking for functions [] in library [] [] ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.libraries -O3 /tmp/petsc-iuu41q9r/config.libraries/conftest.F90 Successful compile: Source: program main #include "mpif.h" integer ierr call mpi_init(ierr) end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lquadmath -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Checking for mpi.mod Checking for functions [] in library [] [] ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.libraries -O3 /tmp/petsc-iuu41q9r/config.libraries/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-iuu41q9r/config.libraries/conftest.F90:2:12: 2 | use mpi | 1 Fatal Error: Cannot read module file ‘/opt/openmpi/4.1/gnu/lib/mpi.mod’ opened at (1), because it was created by a different version of GNU Fortran compilation terminated. Source: program main use mpi integer(kind=selected_int_kind(5)) ierr,rank call mpi_init(ierr) call mpi_comm_rank(MPI_COMM_WORLD,rank,ierr) end Compile failed inside link ============================================================================================= TESTING: configureIO from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:634) Check for the functions in MPI/IO - Define HAVE_MPIIO if they are present - Some older MPI 1 implementations are missing these ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Aint lb, extent; if (MPI_Type_get_extent(MPI_INT, &lb, &extent)); MPI_File fh; void *buf; MPI_Status status; if (MPI_File_write_all(fh, buf, 1, MPI_INT, &status)); if (MPI_File_read_all(fh, buf, 1, MPI_INT, &status)); MPI_Offset disp; MPI_Info info; if (MPI_File_set_view(fh, disp, MPI_INT, MPI_INT, "", info)); if (MPI_File_open(MPI_COMM_SELF, "", 0, info, &fh)); if (MPI_File_close(&fh)); ; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPIIO" to "1" ============================================================================================= TESTING: findMPIIncludeAndLib from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:747) Find MPI include paths and libraries from "mpicc -show" or Cray "cc --cray-print-opts=cflags/libs" and save. ============================================================================================= TESTING: PetscArchMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:826) ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int combiner = MPI_COMBINER_DUP;; return 0; } Defined "HAVE_MPI_COMBINER_DUP" to "1" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int combiner = MPI_COMBINER_CONTIGUOUS;; return 0; } Defined "HAVE_MPI_COMBINER_CONTIGUOUS" to "1" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int combiner = MPI_COMBINER_NAMED;; return 0; } Defined "HAVE_MPI_COMBINER_NAMED" to "1" ============================================================================================= TESTING: checkVersion from config.packages.MPI(config/BuildSystem/config/package.py:1079) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version Preprocessing source: #include "confdefs.h" #include "conffix.h" #include "mpi.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s char *ver = "petscpkgver(" PetscXstr_(MPI_VERSION) ")"; Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.packages.X -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.packages.MPI -I/opt/openmpi/4.1/gnu/include -I/opt/openmpi/4.1/gnu/lib /tmp/petsc-iuu41q9r/config.packages.MPI/conftest.c Found version string: char*ver=petscpkgver(3) For mpi need 2 <= 3 <= ============================================================================================= TESTING: checkSharedLibrary from config.packages.MPI(config/BuildSystem/config/package.py:1004) By default we don't care about checking if the library is shared child config.packages.MPI took 3.099258 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.zstd(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.zstd(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.zstd took 0.000923 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.yaml(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.yaml(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.yaml took 0.000583 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.ssl(config/BuildSystem/config/packages/ssl.py:31) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.ssl(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.ssl took 0.024078 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.sprng(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.sprng(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.sprng took 0.000571 seconds PETSc clone, checking for Sowing Checking for program /projects/cmake/toss3/3.22.3/bin/pdflatex...not found Checking for program /opt/openmpi/4.1/gnu/bin/pdflatex...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/pdflatex...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/pdflatex...not found Checking for program /projects/ADSM/software/local/bin/pdflatex...not found Checking for program /usr/lib64/qt-3.3/bin/pdflatex...not found Checking for program /usr/lpp/mmfs/bin/pdflatex...not found Checking for program /opt/ibm/MCStore/bin/pdflatex...not found Checking for program /opt/ibm/MCStore/scripts/pdflatex...not found Checking for program /usr/local/bin/pdflatex...not found Checking for program /usr/bin/pdflatex...found Defined make macro "PDFLATEX" to "/usr/bin/pdflatex" Checking for program /projects/cmake/toss3/3.22.3/bin/bfort...not found Checking for program /opt/openmpi/4.1/gnu/bin/bfort...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/bfort...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/bfort...not found Checking for program /projects/ADSM/software/local/bin/bfort...not found Checking for program /usr/lib64/qt-3.3/bin/bfort...not found Checking for program /usr/lpp/mmfs/bin/bfort...not found Checking for program /opt/ibm/MCStore/bin/bfort...not found Checking for program /opt/ibm/MCStore/scripts/bfort...not found Checking for program /usr/local/bin/bfort...not found Checking for program /usr/bin/bfort...not found Checking for program /usr/local/sbin/bfort...not found Checking for program /usr/sbin/bfort...not found Checking for program /sbin/bfort...not found Checking for program /opt/dell/srvadmin/bin/bfort...not found Checking for program /projects/ADSM/software/pflotran-master-petsc-v3.17.2/src/pflotran/bfort...not found Checking for program /projects/ADSM/software/petsc-v3.17.2/lib/petsc/bin/win32fe/bfort...not found Checking for program /projects/cmake/toss3/3.22.3/bin/doctext...not found Checking for program /opt/openmpi/4.1/gnu/bin/doctext...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/doctext...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/doctext...not found Checking for program /projects/ADSM/software/local/bin/doctext...not found Checking for program /usr/lib64/qt-3.3/bin/doctext...not found Checking for program /usr/lpp/mmfs/bin/doctext...not found Checking for program /opt/ibm/MCStore/bin/doctext...not found Checking for program /opt/ibm/MCStore/scripts/doctext...not found Checking for program /usr/local/bin/doctext...not found Checking for program /usr/bin/doctext...not found Checking for program /usr/local/sbin/doctext...not found Checking for program /usr/sbin/doctext...not found Checking for program /sbin/doctext...not found Checking for program /opt/dell/srvadmin/bin/doctext...not found Checking for program /projects/ADSM/software/pflotran-master-petsc-v3.17.2/src/pflotran/doctext...not found Checking for program /projects/ADSM/software/petsc-v3.17.2/lib/petsc/bin/win32fe/doctext...not found Checking for program /projects/cmake/toss3/3.22.3/bin/mapnames...not found Checking for program /opt/openmpi/4.1/gnu/bin/mapnames...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/mapnames...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/mapnames...not found Checking for program /projects/ADSM/software/local/bin/mapnames...not found Checking for program /usr/lib64/qt-3.3/bin/mapnames...not found Checking for program /usr/lpp/mmfs/bin/mapnames...not found Checking for program /opt/ibm/MCStore/bin/mapnames...not found Checking for program /opt/ibm/MCStore/scripts/mapnames...not found Checking for program /usr/local/bin/mapnames...not found Checking for program /usr/bin/mapnames...not found Checking for program /usr/local/sbin/mapnames...not found Checking for program /usr/sbin/mapnames...not found Checking for program /sbin/mapnames...not found Checking for program /opt/dell/srvadmin/bin/mapnames...not found Checking for program /projects/ADSM/software/pflotran-master-petsc-v3.17.2/src/pflotran/mapnames...not found Checking for program /projects/ADSM/software/petsc-v3.17.2/lib/petsc/bin/win32fe/mapnames...not found Checking for program /projects/cmake/toss3/3.22.3/bin/bib2html...not found Checking for program /opt/openmpi/4.1/gnu/bin/bib2html...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/bib2html...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/bib2html...not found Checking for program /projects/ADSM/software/local/bin/bib2html...not found Checking for program /usr/lib64/qt-3.3/bin/bib2html...not found Checking for program /usr/lpp/mmfs/bin/bib2html...not found Checking for program /opt/ibm/MCStore/bin/bib2html...not found Checking for program /opt/ibm/MCStore/scripts/bib2html...not found Checking for program /usr/local/bin/bib2html...not found Checking for program /usr/bin/bib2html...not found Checking for program /usr/local/sbin/bib2html...not found Checking for program /usr/sbin/bib2html...not found Checking for program /sbin/bib2html...not found Checking for program /opt/dell/srvadmin/bin/bib2html...not found Checking for program /projects/ADSM/software/pflotran-master-petsc-v3.17.2/src/pflotran/bib2html...not found Checking for program /projects/ADSM/software/petsc-v3.17.2/lib/petsc/bin/win32fe/bib2html...not found Bfort not found. Installing sowing for FortranStubs ============================================================================================= TESTING: consistencyChecks from config.packages.sowing(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: checkDependencies from config.packages.sowing(config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.sowing(config/BuildSystem/config/package.py:937) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional sowing Looking for SOWING at git.sowing, hg.sowing or a directory starting with ['petsc-pkg-sowing'] Found a copy of SOWING in git.sowing Executing: ['git', 'rev-parse', '--git-dir'] stdout: .git Executing: ['git', 'cat-file', '-e', 'v1.1.26-p4^{commit}'] Executing: ['git', 'rev-parse', 'v1.1.26-p4'] stdout: 80e9c1fed0c7992071c00d6b71dab7641c5ece5d Executing: ['git', '-c', 'user.name=petsc-configure', '-c', 'user.email=petsc@configure', 'stash'] stdout: No local changes to save Executing: ['git', 'clean', '-f', '-d', '-x'] stdout: Removing pkg.gitcommit Removing sowing.petscconf Executing: ['git', 'checkout', '-f', '80e9c1fed0c7992071c00d6b71dab7641c5ece5d'] Makefile /projects/ADSM/software/petsc-v3.17.2/gnu_O/lib/petsc/conf/pkg.conf.sowing has correct checksum Commit file /projects/ADSM/software/petsc-v3.17.2/gnu_O/lib/petsc/conf/pkg.gitcommit.sowing has correct checksum Do not need to rebuild SOWING Not checking for library in Download SOWING: [] because no functions given to check for ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names No functions to check for in library [] [] Checking for optional headers [] in Download SOWING: ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/include', '/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/include', '/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Found header files [] in ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/include', '/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Checking for headers [] in Download SOWING: ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/include', '/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] ============================================================================================= TESTING: checkVersion from config.packages.sowing(config/BuildSystem/config/package.py:1079) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version For sowing unable to find version information since includes and version includes are missing skipping version check ============================================================================================= TESTING: checkSharedLibrary from config.packages.sowing(config/BuildSystem/config/package.py:1004) By default we don't care about checking if the library is shared Checking for program /projects/ADSM/software/petsc-v3.17.2/gnu_O/bin/bfort...found Defined make macro "BFORT" to "/projects/ADSM/software/petsc-v3.17.2/gnu_O/bin/bfort" Checking for program /projects/ADSM/software/petsc-v3.17.2/gnu_O/bin/doctext...found Defined make macro "DOCTEXT" to "/projects/ADSM/software/petsc-v3.17.2/gnu_O/bin/doctext" Checking for program /projects/ADSM/software/petsc-v3.17.2/gnu_O/bin/mapnames...found Defined make macro "MAPNAMES" to "/projects/ADSM/software/petsc-v3.17.2/gnu_O/bin/mapnames" Checking for program /projects/ADSM/software/petsc-v3.17.2/gnu_O/bin/bib2html...found Defined make macro "BIB2HTML" to "/projects/ADSM/software/petsc-v3.17.2/gnu_O/bin/bib2html" Executing: /projects/ADSM/software/petsc-v3.17.2/gnu_O/bin/bfort -version stdout: bfort (sowing) release 1.1.26 of Date unknown ============================================================================================= Running gnu_O/bin/bfort to generate fortran stubs ============================================================================================= child config.packages.sowing took 23.706069 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.revolve(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.revolve(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.revolve took 0.002091 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.radau5(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.radau5(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.radau5 took 0.000697 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.pami(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.pami(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.pami took 0.000636 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.opengles(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.opengles(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.opengles took 0.000569 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.opencl(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.opencl(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.opencl took 0.000606 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.muparser(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.muparser(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.muparser took 0.000637 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mpe(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.mpe(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.mpe took 0.000658 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.memkind(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.memkind(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.memkind took 0.000587 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.libmesh(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.libmesh(config/BuildSystem/config/packages/libmesh.py:69) Defined make rule "libmesh-build" with dependencies "" and code [] Defined make rule "libmesh-install" with dependencies "" and code [] child config.packages.libmesh took 0.002395 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.moose(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.moose(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.moose took 0.001249 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.libjpeg(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.libjpeg(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.libjpeg took 0.001014 seconds Checking for program /projects/cmake/toss3/3.22.3/bin/lgrind...not found Checking for program /opt/openmpi/4.1/gnu/bin/lgrind...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/lgrind...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/lgrind...not found Checking for program /projects/ADSM/software/local/bin/lgrind...not found Checking for program /usr/lib64/qt-3.3/bin/lgrind...not found Checking for program /usr/lpp/mmfs/bin/lgrind...not found Checking for program /opt/ibm/MCStore/bin/lgrind...not found Checking for program /opt/ibm/MCStore/scripts/lgrind...not found Checking for program /usr/local/bin/lgrind...not found Checking for program /usr/bin/lgrind...not found Checking for program /usr/local/sbin/lgrind...not found Checking for program /usr/sbin/lgrind...not found Checking for program /sbin/lgrind...not found Checking for program /opt/dell/srvadmin/bin/lgrind...not found Checking for program /projects/ADSM/software/pflotran-master-petsc-v3.17.2/src/pflotran/lgrind...not found Checking for program /projects/ADSM/software/petsc-v3.17.2/lib/petsc/bin/win32fe/lgrind...not found child config.packages.lgrind took 0.003866 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.gsl(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.gsl(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.gsl took 0.000821 seconds child config.packages.gmsh took 0.000110 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.gmp(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.gmp(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.gmp took 0.000656 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mpfr(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.mpfr(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.mpfr took 0.000646 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.giflib(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.giflib(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.giflib took 0.000636 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.cub(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.cub(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.cub took 0.000632 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.ctetgen(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.ctetgen(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.ctetgen took 0.000654 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.concurrencykit(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.concurrencykit(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.concurrencykit took 0.000652 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.cams(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.cams(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.cams took 0.000615 seconds ============================================================================================= TESTING: locateC2html from config.packages.c2html(config/BuildSystem/config/packages/c2html.py:30) Looking for default C2html executable Checking for program /projects/cmake/toss3/3.22.3/bin/c2html...not found Checking for program /opt/openmpi/4.1/gnu/bin/c2html...not found Checking for program /opt/rh/devtoolset-10/root/usr/bin/c2html...not found Checking for program /projects/netpub/anaconda3/2022.05/bin/c2html...not found Checking for program /projects/ADSM/software/local/bin/c2html...not found Checking for program /usr/lib64/qt-3.3/bin/c2html...not found Checking for program /usr/lpp/mmfs/bin/c2html...not found Checking for program /opt/ibm/MCStore/bin/c2html...not found Checking for program /opt/ibm/MCStore/scripts/c2html...not found Checking for program /usr/local/bin/c2html...not found Checking for program /usr/bin/c2html...not found Checking for program /usr/local/sbin/c2html...not found Checking for program /usr/sbin/c2html...not found Checking for program /sbin/c2html...not found Checking for program /opt/dell/srvadmin/bin/c2html...not found Checking for program /projects/ADSM/software/pflotran-master-petsc-v3.17.2/src/pflotran/c2html...not found Checking for program /projects/ADSM/software/petsc-v3.17.2/lib/petsc/bin/win32fe/c2html...not found child config.packages.c2html took 0.002031 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.boost(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.boost(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.boost took 0.000643 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.silo(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.silo(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.silo took 0.000628 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Random123(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.Random123(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.Random123 took 0.000629 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.PARTY(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.PARTY(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.PARTY took 0.000621 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.NVSHMEM(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.NVSHMEM(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.NVSHMEM took 0.000572 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Matlab(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.Matlab(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.Matlab took 0.000537 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.MatlabEngine(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.MatlabEngine(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.MatlabEngine took 0.000595 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Mathematica(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.Mathematica(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.Mathematica took 0.000568 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.regex(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: checkDependencies from config.packages.regex(config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.regex(config/BuildSystem/config/package.py:937) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional regex Checking for library in Compiler specific search REGEX: [] ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [regexec regcomp regfree] in library [] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char regexec(); static void _check_regexec() { regexec(); } char regcomp(); static void _check_regcomp() { regcomp(); } char regfree(); static void _check_regfree() { regfree(); } int main() { _check_regexec(); _check_regcomp(); _check_regfree();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char regexec(); static void _check_regexec() { regexec(); } char regcomp(); static void _check_regcomp() { regcomp(); } char regfree(); static void _check_regfree() { regfree(); } void dummy(void) {_check_regexec(); _check_regcomp(); _check_regfree();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.libraries -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -lquadmath -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Checking for optional headers [] in Compiler specific search REGEX: ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Found header files [] in ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Checking for headers ['regex.h'] in Compiler specific search REGEX: ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['regex.h'] in ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Checking include with compiler flags var CPPFLAGS ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.packages.X -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.packages.MPI -I/opt/openmpi/4.1/gnu/include -I/opt/openmpi/4.1/gnu/lib /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['regex.h'] in ['/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] ============================================================================================= TESTING: checkVersion from config.packages.regex(config/BuildSystem/config/package.py:1079) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version ============================================================================================= TESTING: checkSharedLibrary from config.packages.regex(config/BuildSystem/config/package.py:1004) By default we don't care about checking if the library is shared child config.packages.regex took 0.357800 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.libceed(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.libceed(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.libceed took 0.001683 seconds Defined "PYTHON_EXE" to ""/projects/netpub/anaconda3/2022.05/bin/python"" Executing: /projects/netpub/anaconda3/2022.05/bin/python -c "import Cython" Executing: /projects/netpub/anaconda3/2022.05/bin/python -c "import numpy" child config.packages.python took 0.655550 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.petsc4py(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.petsc4py(config/BuildSystem/config/packages/petsc4py.py:131) Defined make rule "petsc4py-build" with dependencies "" and code [] Defined make rule "petsc4py-install" with dependencies "" and code [] Defined make rule "petsc4pytest" with dependencies "" and code [] child config.packages.petsc4py took 0.003793 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mpi4py(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.mpi4py(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.mpi4py took 0.001354 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.opengl(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.opengl(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.opengl took 0.001048 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.glut(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.glut(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.glut took 0.000977 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.GLVis(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.GLVis(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.GLVis took 0.001089 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.CoDiPack(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.CoDiPack(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.CoDiPack took 0.001146 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.adblaslapack(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.adblaslapack(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.adblaslapack took 0.001045 seconds child config.packages.cxxlibs took 0.000022 seconds ============================================================================================= TESTING: locateCMake from config.packages.cmake(config/BuildSystem/config/packages/cmake.py:51) Looking for default CMake executable Checking for program /projects/cmake/toss3/3.22.3/bin/cmake...found Defined make macro "CMAKE" to "/projects/cmake/toss3/3.22.3/bin/cmake" Looking for default CTest executable Checking for program /projects/cmake/toss3/3.22.3/bin/ctest...found Defined make macro "CTEST" to "/projects/cmake/toss3/3.22.3/bin/ctest" Executing: /projects/cmake/toss3/3.22.3/bin/cmake --version stdout: cmake version 3.22.3 CMake suite maintained and supported by Kitware (kitware.com/cmake). cmake version found 3.22.3 child config.packages.cmake took 0.024679 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.unittestcpp(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.unittestcpp(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.unittestcpp took 0.001756 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.googletest(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.googletest(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.googletest took 0.001085 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.opencascade(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.opencascade(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.opencascade took 0.001158 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.eigen(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.eigen(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.eigen took 0.001091 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.szlib(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.szlib(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.szlib took 0.001123 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.zlib(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.zlib(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.zlib took 0.001102 seconds child config.packages.mathlib took 0.000020 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.tetgen(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.tetgen(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.tetgen took 0.001123 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.tchem(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.tchem(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.tchem took 0.001076 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.saws(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.saws(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.saws took 0.001118 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.libpng(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.libpng(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.libpng took 0.001120 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.hcephes(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.hcephes(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.hcephes took 0.001063 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.combblas(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.combblas(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.combblas took 0.001033 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Triangle(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.Triangle(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.Triangle took 0.001072 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.metis(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: checkDependencies from config.packages.metis(config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.metis(config/BuildSystem/config/packages/metis.py:46) ================================================================================== Checking for a functional metis Looking for METIS at git.metis, hg.metis or a directory starting with ['petsc-pkg-metis'] Found a copy of METIS in git.metis Executing: ['git', 'rev-parse', '--git-dir'] stdout: .git Executing: ['git', 'cat-file', '-e', 'v5.1.0-p10^{commit}'] Executing: ['git', 'rev-parse', 'v5.1.0-p10'] stdout: c8d2dc1e751ef7ebe5e221156d7572d7cea26990 Executing: ['git', '-c', 'user.name=petsc-configure', '-c', 'user.email=petsc@configure', 'stash'] stdout: No local changes to save Executing: ['git', 'clean', '-f', '-d', '-x'] stdout: Removing metis.petscconf Removing pkg.gitcommit Executing: ['git', 'checkout', '-f', 'c8d2dc1e751ef7ebe5e221156d7572d7cea26990'] Executing: mpicc --help | head -n 500 Executing: mpif90 -V Executing: mpif90 --version stdout: GNU Fortran (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran100plus compiler Executing: mpif90 -V Executing: mpif90 --version stdout: GNU Fortran (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran100plus compiler Executing: mpif90 -V Executing: mpif90 --version stdout: GNU Fortran (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran100plus compiler Makefile /projects/ADSM/software/petsc-v3.17.2/gnu_O/lib/petsc/conf/pkg.conf.metis has correct checksum Commit file /projects/ADSM/software/petsc-v3.17.2/gnu_O/lib/petsc/conf/pkg.gitcommit.metis has correct checksum Do not need to rebuild METIS Checking for library in Download METIS: ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib/libmetis.a'] Contents of /projects/ADSM/software/petsc-v3.17.2/gnu_O: ['include', 'lib', 'bin', 'externalpackages', 'share', 'tests', 'obj'] Contents /projects/ADSM/software/petsc-v3.17.2/gnu_O/lib: ['petsc', 'libmetis.a', 'libparmetis.a', 'libfblas.a', 'libflapack.a', 'libscalapack.a', 'pkgconfig', 'cmake', 'libcmumps.a', 'libdmumps.a', 'libmumps_common.a', 'libpord.a', 'libsmumps.a', 'libzmumps.a', 'libHYPRE.a', '.DIR', 'libhdf5.la', 'libpetsc.a', 'libhdf5.a', 'libhdf5.settings', 'libhdf5_hl.la', 'libhdf5_hl.a'] ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [METIS_PartGraphKway] in library ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib/libmetis.a'] ['libm.a'] Checking directory of requested libraries:/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib for first library:libmetis. Files in directory:['petsc', 'libmetis.a', 'libparmetis.a', 'libfblas.a', 'libflapack.a', 'libscalapack.a', 'pkgconfig', 'cmake', 'libcmumps.a', 'libdmumps.a', 'libmumps_common.a', 'libpord.a', 'libsmumps.a', 'libzmumps.a', 'libHYPRE.a', '.DIR', 'libhdf5.la', 'libpetsc.a', 'libhdf5.a', 'libhdf5.settings', 'libhdf5_hl.la', 'libhdf5_hl.a'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char METIS_PartGraphKway(); static void _check_METIS_PartGraphKway() { METIS_PartGraphKway(); } int main() { _check_METIS_PartGraphKway();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -Wl,-rpath,/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -L/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -lmetis -lm -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.packages.MPI -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char METIS_PartGraphKway(); static void _check_METIS_PartGraphKway() { METIS_PartGraphKway(); } void dummy(void) {_check_METIS_PartGraphKway();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.libraries -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -Wl,-rpath,/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -L/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -lmetis -lm -lquadmath -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Defined "HAVE_LIBMETIS" to "1" Checking for optional headers [] in Download METIS: ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/include', '/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/include', '/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Found header files [] in ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/include', '/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Checking for headers ['metis.h'] in Download METIS: ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/include', '/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['metis.h'] in ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/include', '/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Checking include with compiler flags var CPPFLAGS ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/include', '/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.packages.X -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.packages.MPI -I/projects/ADSM/software/petsc-v3.17.2/gnu_O/include -I/opt/openmpi/4.1/gnu/include -I/opt/openmpi/4.1/gnu/lib /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['metis.h'] in ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/include', '/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.packages.metis/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.packages.MPI -I/tmp/petsc-iuu41q9r/config.packages.metis -O3 -fPIC -I/projects/ADSM/software/petsc-v3.17.2/gnu_O/include /tmp/petsc-iuu41q9r/config.packages.metis/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-iuu41q9r/config.packages.metis/conftest.c: In function ‘main’: /tmp/petsc-iuu41q9r/config.packages.metis/conftest.c:8:7: warning: extra tokens at end of #endif directive [-Wendif-labels] 8 | #endif; | ^ Source: #include "confdefs.h" #include "conffix.h" #include "metis.h" int main() { #if (IDXTYPEWIDTH != 32) #error incompatible IDXTYPEWIDTH #endif; return 0; } ============================================================================================= TESTING: checkVersion from config.packages.metis(config/BuildSystem/config/package.py:1079) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version Preprocessing source: #include "confdefs.h" #include "conffix.h" #include "metis.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s char *ver = "petscpkgver(" PetscXstr_(METIS_VER_MAJOR.METIS_VER_MINOR.METIS_VER_SUBMINOR) ")"; Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.packages.X -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.packages.MPI -I/tmp/petsc-iuu41q9r/config.packages.metis -I/projects/ADSM/software/petsc-v3.17.2/gnu_O/include -I/opt/openmpi/4.1/gnu/include -I/opt/openmpi/4.1/gnu/lib /tmp/petsc-iuu41q9r/config.packages.metis/conftest.c Found version string: char*ver=petscpkgver(5.1.0) For metis need <= 5.1.0 <= ============================================================================================= TESTING: checkSharedLibrary from config.packages.metis(config/BuildSystem/config/package.py:1004) By default we don't care about checking if the library is shared child config.packages.metis took 0.644329 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.pragmatic(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.pragmatic(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.pragmatic took 0.000825 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.parmetis(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: checkDependencies from config.packages.parmetis(config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.parmetis(config/BuildSystem/config/packages/parmetis.py:41) ================================================================================== Checking for a functional parmetis Looking for PARMETIS at git.parmetis, hg.parmetis or a directory starting with ['petsc-pkg-parmetis'] Found a copy of PARMETIS in git.parmetis Executing: ['git', 'rev-parse', '--git-dir'] stdout: .git Executing: ['git', 'cat-file', '-e', 'v4.0.3-p6^{commit}'] Executing: ['git', 'rev-parse', 'v4.0.3-p6'] stdout: 475d8facbb324527c205f1f78a7c90bd160bddcd Executing: ['git', '-c', 'user.name=petsc-configure', '-c', 'user.email=petsc@configure', 'stash'] stdout: No local changes to save Executing: ['git', 'clean', '-f', '-d', '-x'] stdout: Removing parmetis.petscconf Removing pkg.gitcommit Executing: ['git', 'checkout', '-f', '475d8facbb324527c205f1f78a7c90bd160bddcd'] Executing: mpicc --help | head -n 500 Executing: mpif90 -V Executing: mpif90 --version stdout: GNU Fortran (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran100plus compiler Executing: mpif90 -V Executing: mpif90 --version stdout: GNU Fortran (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran100plus compiler Executing: mpif90 -V Executing: mpif90 --version stdout: GNU Fortran (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran100plus compiler Makefile /projects/ADSM/software/petsc-v3.17.2/gnu_O/lib/petsc/conf/pkg.conf.parmetis has correct checksum Commit file /projects/ADSM/software/petsc-v3.17.2/gnu_O/lib/petsc/conf/pkg.gitcommit.parmetis has correct checksum Do not need to rebuild PARMETIS Checking for library in Download PARMETIS: ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib/libparmetis.a'] Contents of /projects/ADSM/software/petsc-v3.17.2/gnu_O: ['include', 'lib', 'bin', 'externalpackages', 'share', 'tests', 'obj'] Contents /projects/ADSM/software/petsc-v3.17.2/gnu_O/lib: ['petsc', 'libmetis.a', 'libparmetis.a', 'libfblas.a', 'libflapack.a', 'libscalapack.a', 'pkgconfig', 'cmake', 'libcmumps.a', 'libdmumps.a', 'libmumps_common.a', 'libpord.a', 'libsmumps.a', 'libzmumps.a', 'libHYPRE.a', '.DIR', 'libhdf5.la', 'libpetsc.a', 'libhdf5.a', 'libhdf5.settings', 'libhdf5_hl.la', 'libhdf5_hl.a'] ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:167) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [ParMETIS_V3_PartKway] in library ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib/libparmetis.a'] ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib/libmetis.a', 'libm.a'] Checking directory of requested libraries:/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib for first library:libparmetis. Files in directory:['petsc', 'libmetis.a', 'libparmetis.a', 'libfblas.a', 'libflapack.a', 'libscalapack.a', 'pkgconfig', 'cmake', 'libcmumps.a', 'libdmumps.a', 'libmumps_common.a', 'libpord.a', 'libsmumps.a', 'libzmumps.a', 'libHYPRE.a', '.DIR', 'libhdf5.la', 'libpetsc.a', 'libhdf5.a', 'libhdf5.settings', 'libhdf5_hl.la', 'libhdf5_hl.a'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.packages.MPI -I/tmp/petsc-iuu41q9r/config.packages.metis -I/tmp/petsc-iuu41q9r/config.libraries -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ParMETIS_V3_PartKway(); static void _check_ParMETIS_V3_PartKway() { ParMETIS_V3_PartKway(); } int main() { _check_ParMETIS_V3_PartKway();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -Wl,-rpath,/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -L/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -lparmetis -Wl,-rpath,/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -L/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -lmetis -lm -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -I/tmp/petsc-iuu41q9r/config.packages.metis -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ParMETIS_V3_PartKway(); static void _check_ParMETIS_V3_PartKway() { ParMETIS_V3_PartKway(); } void dummy(void) {_check_ParMETIS_V3_PartKway();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.libraries -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -Wl,-rpath,/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -L/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -lparmetis -Wl,-rpath,/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -L/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -lmetis -lm -lquadmath -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Defined "HAVE_LIBPARMETIS" to "1" Checking for optional headers [] in Download PARMETIS: ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/include', '/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/include', '/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Found header files [] in ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/include', '/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Checking for headers ['parmetis.h'] in Download PARMETIS: ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/include', '/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['parmetis.h'] in ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/include', '/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Checking include with compiler flags var CPPFLAGS ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/include', '/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib', '/projects/ADSM/software/petsc-v3.17.2/gnu_O/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.packages.X -I/tmp/petsc-iuu41q9r/config.packages.MPI -I/tmp/petsc-iuu41q9r/config.packages.metis -I/tmp/petsc-iuu41q9r/config.headers -I/projects/ADSM/software/petsc-v3.17.2/gnu_O/include -I/opt/openmpi/4.1/gnu/include -I/opt/openmpi/4.1/gnu/lib -I/projects/ADSM/software/petsc-v3.17.2/gnu_O/include /tmp/petsc-iuu41q9r/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['parmetis.h'] in ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/include', '/opt/openmpi/4.1/gnu/include', '/opt/openmpi/4.1/gnu/lib'] Checking for functions [ParMETIS_ComputeVertexSeparator] in library ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib/libparmetis.a'] ['/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib/libmetis.a', 'libm.a'] Checking directory of requested libraries:/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib for first library:libparmetis. Files in directory:['petsc', 'libmetis.a', 'libparmetis.a', 'libfblas.a', 'libflapack.a', 'libscalapack.a', 'pkgconfig', 'cmake', 'libcmumps.a', 'libdmumps.a', 'libmumps_common.a', 'libpord.a', 'libsmumps.a', 'libzmumps.a', 'libHYPRE.a', '.DIR', 'libhdf5.la', 'libpetsc.a', 'libhdf5.a', 'libhdf5.settings', 'libhdf5_hl.la', 'libhdf5_hl.a'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.libraries/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -I/tmp/petsc-iuu41q9r/config.packages.metis -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ParMETIS_ComputeVertexSeparator(); static void _check_ParMETIS_ComputeVertexSeparator() { ParMETIS_ComputeVertexSeparator(); } int main() { _check_ParMETIS_ComputeVertexSeparator();; return 0; } Executing: mpicc -o /tmp/petsc-iuu41q9r/config.libraries/conftest -O3 -fPIC /tmp/petsc-iuu41q9r/config.libraries/conftest.o -Wl,-rpath,/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -L/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -lparmetis -Wl,-rpath,/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -L/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -lmetis -lm -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.compilerFlags -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.utilities.closure -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.utilities.cacheDetails -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.functions -I/tmp/petsc-iuu41q9r/config.utilities.featureTestMacros -I/tmp/petsc-iuu41q9r/config.utilities.missing -I/tmp/petsc-iuu41q9r/PETSc.options.sharedLibraries -I/tmp/petsc-iuu41q9r/PETSc.options.scalarTypes -I/tmp/petsc-iuu41q9r/config.packages.MPI -I/tmp/petsc-iuu41q9r/config.packages.metis -I/tmp/petsc-iuu41q9r/config.libraries -I/tmp/petsc-iuu41q9r/config.compilers -O3 -fPIC /tmp/petsc-iuu41q9r/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ParMETIS_ComputeVertexSeparator(); static void _check_ParMETIS_ComputeVertexSeparator() { ParMETIS_ComputeVertexSeparator(); } void dummy(void) {_check_ParMETIS_ComputeVertexSeparator();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-iuu41q9r/config.compilers/conftest.o -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.compilersFortran -I/tmp/petsc-iuu41q9r/config.compilers -I/tmp/petsc-iuu41q9r/config.libraries -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-iuu41q9r/config.compilers/conftest -O3 /tmp/petsc-iuu41q9r/config.compilers/conftest.o /tmp/petsc-iuu41q9r/config.compilers/confc.o -Wl,-rpath,/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -L/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -lparmetis -Wl,-rpath,/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -L/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib -lmetis -lm -lquadmath -lstdc++ -ldl Possible ERROR while running linker: stderr: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 Linker output before filtering: /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 : Linker output after filtering: : Defined "HAVE_LIBPARMETIS" to "1" ============================================================================================= TESTING: checkVersion from config.packages.parmetis(config/BuildSystem/config/package.py:1079) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version Preprocessing source: #include "confdefs.h" #include "conffix.h" #include "parmetis.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s char *ver = "petscpkgver(" PetscXstr_(PARMETIS_MAJOR_VERSION.PARMETIS_MINOR_VERSION.PARMETIS_SUBMINOR_VERSION) ")"; Executing: mpicc -E -I/tmp/petsc-iuu41q9r/config.setCompilers -I/tmp/petsc-iuu41q9r/config.types -I/tmp/petsc-iuu41q9r/config.packages.X -I/tmp/petsc-iuu41q9r/config.packages.MPI -I/tmp/petsc-iuu41q9r/config.packages.metis -I/tmp/petsc-iuu41q9r/config.headers -I/tmp/petsc-iuu41q9r/config.packages.parmetis -I/projects/ADSM/software/petsc-v3.17.2/gnu_O/include -I/opt/openmpi/4.1/gnu/include -I/opt/openmpi/4.1/gnu/lib /tmp/petsc-iuu41q9r/config.packages.parmetis/conftest.c Found version string: char*ver=petscpkgver(4.0.3) For parmetis need <= 4.0.3 <= ============================================================================================= TESTING: checkSharedLibrary from config.packages.parmetis(config/BuildSystem/config/package.py:1004) By default we don't care about checking if the library is shared child config.packages.parmetis took 0.947314 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.KS(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.KS(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.KS took 0.000814 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Chaco(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.Chaco(config/BuildSystem/config/package.py:1008) Called if --with-packagename=0; does nothing by default child config.packages.Chaco took 0.000566 seconds Executing: uname -s stdout: Linux ============================================================================================= TESTING: consistencyChecks from config.packages.hdf5(config/BuildSystem/config/package.py:1012) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: checkDependencies from config.packages.hdf5(config/BuildSystem/config/package.py:912) ============================================================================================= TESTING: configureLibrary from config.packages.hdf5(config/BuildSystem/config/packages/hdf5.py:88) ================================================================================== Checking for a functional hdf5 Looking for HDF5 at git.hdf5, hg.hdf5 or a directory starting with ['hdf5'] Found a copy of HDF5 in hdf5-1.12.1 Executing: mpicc --help | head -n 500 Executing: mpif90 -v Executing: mpif90 -V Executing: mpif90 --version stdout: GNU Fortran (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran100plus compiler Executing: mpif90 -V Executing: mpif90 --version stdout: GNU Fortran (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran100plus compiler Executing: mpif90 -V Executing: mpif90 --version stdout: GNU Fortran (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran100plus compiler Have to rebuild HDF5, /projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hdf5.petscconf != /projects/ADSM/software/petsc-v3.17.2/gnu_O/lib/petsc/conf/pkg.conf.hdf5 ============================================================================================= Running configure on HDF5; this may take several minutes ============================================================================================= Executing: ./configure --prefix=/projects/ADSM/software/petsc-v3.17.2/gnu_O MAKE=/opt/rh/devtoolset-10/root/usr/bin/gmake --libdir=/projects/ADSM/software/petsc-v3.17.2/gnu_O/lib CC="mpicc" CFLAGS="-O3 -fPIC" AR="/opt/rh/devtoolset-10/root/usr/bin/ar" ARFLAGS="cr" CXX="mpicxx" CXXFLAGS="-O3 -std=gnu++17" F90="mpif90" F90FLAGS="-O3 -fallow-argument-mismatch" FFLAGS="-O3 -fallow-argument-mismatch" FC="mpif90" F77="mpif90" FCFLAGS="-O3 -fallow-argument-mismatch" --disable-shared --enable-parallel --enable-fortran --with-zlib=no --with-szlib=no CPPFLAGS="" LIBS="-lm" stdout: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether /opt/rh/devtoolset-10/root/usr/bin/gmake sets $(MAKE)... yes checking whether /opt/rh/devtoolset-10/root/usr/bin/gmake supports nested variables... yes checking whether /opt/rh/devtoolset-10/root/usr/bin/gmake supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking shell variables initial values... done checking if basename works... yes checking if xargs works... yes checking for cached host... none checking for config x86_64-unknown-linux-gnu... no checking for config x86_64-unknown-linux-gnu... no checking for config unknown-linux-gnu... no checking for config unknown-linux-gnu... no checking for config x86_64-linux-gnu... no checking for config x86_64-linux-gnu... no checking for config x86_64-unknown... no checking for config linux-gnu... found compiler 'mpicc' is GNU gcc-10.2.1 compiler 'mpif90' is GNU gfortran-10.2.1 compiler 'mpicxx' is GNU g++-10.2.1 checking for config ./config/site-specific/host-boca1... no checking for clang sanitizer checks... checking build mode... production checking for gcc... mpicc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether mpicc accepts -g... yes checking for mpicc option to accept ISO C89... none needed checking whether mpicc understands -c and -o together... yes checking for style of include used by /opt/rh/devtoolset-10/root/usr/bin/gmake... GNU checking dependency style of mpicc... gcc3 checking if unsupported combinations of configure options are allowed... no checking how to run the C preprocessor... mpicc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for off_t... yes checking for size_t... yes checking for ssize_t... yes checking for ptrdiff_t... yes checking whether byte ordering is bigendian... no checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of unsigned... 4 checking size of long... 8 checking size of long long... 8 checking size of __int64... 0 checking size of float... 4 checking size of double... 8 checking size of long double... 16 checking size of __float128... 16 checking size of _Quad... 0 checking quadmath.h usability... yes checking quadmath.h presence... yes checking for quadmath.h... yes checking maximum decimal precision for C... 33 checking if Fortran interface enabled... yes checking whether we are using the GNU Fortran compiler... yes checking whether mpif90 accepts -g... yes checking for Fortran flag to compile .f90 files... none checking whether we are using the GNU Fortran compiler... (cached) yes checking whether mpif90 accepts -g... (cached) yes checking what mpif90 does with modules... module.mod checking how mpif90 finds modules... -I checking if Fortran compiler version compatible with Fortran 2003 HDF... yes checking how to get verbose linking output from mpif90... -v checking for Fortran libraries of mpif90... -L/opt/openmpi/4.1/gnu/lib -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10 -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../.. -lgfortran -lm -lmpi_usempi -lmpi_mpifh -lmpi -lquadmath -lpthread checking for dummy main to link with Fortran libraries... none checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore checking if Fortran compiler supports intrinsic SIZEOF... yes checking if Fortran compiler supports intrinsic C_SIZEOF... yes checking if Fortran compiler supports intrinsic STORAGE_SIZE... yes checking if Fortran compiler supports intrinsic module ISO_FORTRAN_ENV... yes checking for Number of Fortran INTEGER KINDs... 5 checking for Fortran INTEGER KINDs... {1,2,4,8,16} checking for Fortran REAL KINDs... {4,8,10,16} checking for Fortran REALs maximum decimal precision... 33 checking sizeof of native KINDS... checking for Number of Fortran INTEGER KINDs... 5 checking for Fortran INTEGER KINDs... {1,2,4,8,16} checking for Fortran REAL KINDs... {4,8,10,16} checking for Fortran REALs maximum decimal precision... 33 checking sizeof of available INTEGER KINDs... {1,2,4,8,16} checking sizeof of available REAL KINDs... {4,8,16,16} checking if Fortran compiler supports intrinsic C_LONG_DOUBLE... yes checking if Fortran C_LONG_DOUBLE is different from C_DOUBLE... yes checking for Fortran interoperable KINDS with C... {4,8,10,16} checking whether we are using the GNU C++ compiler... yes checking whether mpicxx accepts -g... yes checking dependency style of mpicxx... gcc3 checking how to run the C++ preprocessor... mpicxx -E checking if c++ interface enabled... no checking if the high-level library is enabled... yes checking whether /opt/rh/devtoolset-10/root/usr/bin/gmake sets $(MAKE)... (cached) yes checking for tr... /usr/bin/tr checking if srcdir= and time commands work together... yes checking if Java JNI interface enabled... no checking if building tests is disabled... no checking if building tools is disabled... no checking if building doxygen is enabled... no Doxygen support is disabled checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by mpicc... /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld checking if the linker (/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /opt/rh/devtoolset-10/root/usr/bin/nm -B checking the name lister (/opt/rh/devtoolset-10/root/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 3458764513820540925 checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /opt/rh/devtoolset-10/root/usr/bin/nm -B output from mpicc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if mpicc supports -fno-rtti -fno-exceptions... no checking for mpicc option to produce PIC... -fPIC -DPIC checking if mpicc PIC flag -fPIC -DPIC works... yes checking if mpicc static flag -static works... no checking if mpicc supports -c -o file.o... yes checking if mpicc supports -c -o file.o... (cached) yes checking whether the mpicc linker (/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for mpif90 option to produce PIC... -fPIC checking if mpif90 PIC flag -fPIC works... yes checking if mpif90 static flag -static works... no checking if mpif90 supports -c -o file.o... yes checking if mpif90 supports -c -o file.o... (cached) yes checking whether the mpif90 linker (/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking if we should install only statically linked executables... no checking if -Wl,-rpath should be used to link shared libs in nondefault directories... yes checking for ceil in -lm... yes checking for dlopen in -ldl... (cached) yes checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for sys/stat.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/types.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking for stdint.h... (cached) yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking for _FILE_OFFSET_BITS value needed for large files... no checking size of int8_t... 1 checking size of uint8_t... 1 checking size of int_least8_t... 1 checking size of uint_least8_t... 1 checking size of int_fast8_t... 1 checking size of uint_fast8_t... 1 checking size of int16_t... 2 checking size of uint16_t... 2 checking size of int_least16_t... 2 checking size of uint_least16_t... 2 checking size of int_fast16_t... 8 checking size of uint_fast16_t... 8 checking size of int32_t... 4 checking size of uint32_t... 4 checking size of int_least32_t... 4 checking size of uint_least32_t... 4 checking size of int_fast32_t... 8 checking size of uint_fast32_t... 8 checking size of int64_t... 8 checking size of uint64_t... 8 checking size of int_least64_t... 8 checking size of uint_least64_t... 8 checking size of int_fast64_t... 8 checking size of uint_fast64_t... 8 checking size of size_t... 8 checking size of ssize_t... 8 checking size of ptrdiff_t... 8 checking size of off_t... 8 checking size of bool... 1 checking size of time_t... 8 checking if dev_t is scalar... yes checking for dmalloc library... suppressed checking for zlib... suppressed checking for szlib... suppressed checking for thread safe support... no checking whether to use recursive RW locks for thread safety... no checking whether CLOCK_MONOTONIC is declared... yes checking for tm_gmtoff in struct tm... yes checking for global timezone variable... yes checking for st_blocks in struct stat... yes checking for _getvideoconfig... no checking for gettextinfo... no checking for GetConsoleScreenBufferInfo... no checking for getpwuid... yes checking for _scrsize... no checking for ioctl... yes checking for struct videoconfig... no checking for struct text_info... no checking for TIOCGWINSZ... yes checking for TIOCGETD... yes checking for library containing clock_gettime... none required checking for alarm... yes checking for clock_gettime... yes checking for difftime... yes checking for fcntl... yes checking for flock... yes checking for fork... yes checking for frexpf... yes checking for frexpl... yes checking for gethostname... yes checking for getrusage... yes checking for gettimeofday... yes checking for lstat... yes checking for rand_r... yes checking for random... yes checking for setsysinfo... no checking for signal... yes checking for longjmp... yes checking for setjmp... yes checking for siglongjmp... yes checking for sigsetjmp... no checking for sigprocmask... yes checking for snprintf... yes checking for srandom... yes checking for strdup... yes checking for symlink... yes checking for system... yes checking for strtoll... yes checking for strtoull... yes checking for tmpfile... yes checking for asprintf... yes checking for vasprintf... yes checking for vsnprintf... yes checking for waitpid... yes checking for roundf... yes checking for lroundf... yes checking for llroundf... yes checking for round... yes checking for lround... yes checking for llround... yes checking for an ANSI C-conforming const... yes checking if the compiler understands __inline__... yes checking if the compiler understands __inline... yes checking if the compiler understands inline... yes checking for __attribute__ extension... yes checking for __func__ extension... yes checking for __FUNCTION__ extension... yes checking for C99 designated initialization support... yes checking how to print long long... %lld and %llu checking enable build diagnostics... no checking enable debugging symbols... no checking enable asserts... no checking enable developer warnings... no checking enable warnings as errors... no checking profiling... no checking optimization level... high checking enable file locking... best-effort checking for internal debug output... none checking whether function stack tracking is enabled... no checking for API tracing... no checking whether a memory checking tool will be used... no checking whether internal memory allocation sanity checking is used... no checking for parallel support files... provided by compiler checking whether a simple MPI-IO C program can be linked... yes checking whether a simple MPI-IO Fortran program can be linked... yes checking prefix for running on one processor... checking prefix for running in parallel... mpiexec -n $${NPROCS:=6} checking for MPI_Comm_c2f and MPI_Comm_f2c functions... yes checking for MPI_Info_c2f and MPI_Info_f2c functions... yes checking for instrumented library... no checking for MPE... suppressed checking for MPI_Mprobe and MPI_Imrecv functions... yes checking for MPI_Get_elements_x and MPI_Type_size_x functions... yes checking if the map API (H5M) is enabled... no checking whether O_DIRECT is declared... yes checking for posix_memalign... yes checking if the direct I/O virtual file driver (VFD) is enabled... no checking if the Mirror virtual file driver (VFD) is enabled... no checking if the Read-Only S3 virtual file driver (VFD) is enabled... no checking for libhdfs... suppressed checking for custom examples path definition... ${prefix}/share/hdf5_examples checking for custom plugin default path definition... /usr/local/hdf5/lib/plugin checking whether exception handling functions is checked during data conversions... yes checking whether data accuracy is guaranteed during data conversions... yes checking if the machine has window style path name... no checking if using special algorithm to convert long double to (unsigned) long values... no checking if using special algorithm to convert (unsigned) long to long double values... no checking if correctly converting long double to (unsigned) long long values... yes checking if correctly converting (unsigned) long long to long double values... yes checking if the system is IBM ppc64le and cannot correctly convert some long double values... no checking additional programs should be built... no checking if deprecated public symbols are available... yes checking which version of public symbols to use by default... v112 checking whether to perform strict file format checks... no checking for pread... yes checking for pwrite... yes checking whether to use pread/pwrite instead of read/write in certain VFDs... yes checking whether to have library information embedded in the executables... yes checking if alignment restrictions are strictly enforced... no configure: creating ./config.lt config.lt: creating libtool checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating src/libhdf5.settings config.status: creating Makefile config.status: creating doxygen/Doxyfile config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating test/H5srcdir_str.h config.status: creating test/testabort_fail.sh config.status: creating test/testcheck_version.sh config.status: creating test/testerror.sh config.status: creating test/testexternal_env.sh config.status: creating test/testflushrefresh.sh config.status: creating test/testlibinfo.sh config.status: creating test/testlinks_env.sh config.status: creating test/testswmr.sh config.status: creating test/testvds_env.sh config.status: creating test/testvdsswmr.sh config.status: creating test/test_filter_plugin.sh config.status: creating test/test_mirror.sh config.status: creating test/test_usecases.sh config.status: creating test/test_vol_plugin.sh config.status: creating testpar/Makefile config.status: creating testpar/testpflush.sh config.status: creating utils/Makefile config.status: creating utils/mirror_vfd/Makefile config.status: creating tools/Makefile config.status: creating tools/lib/Makefile config.status: creating tools/libtest/Makefile config.status: creating tools/src/Makefile config.status: creating tools/src/h5dump/Makefile config.status: creating tools/src/h5import/Makefile config.status: creating tools/src/h5diff/Makefile config.status: creating tools/src/h5jam/Makefile config.status: creating tools/src/h5repack/Makefile config.status: creating tools/src/h5ls/Makefile config.status: creating tools/src/h5copy/Makefile config.status: creating tools/src/misc/Makefile config.status: creating tools/src/h5stat/Makefile config.status: creating tools/test/Makefile config.status: creating tools/test/h5dump/Makefile config.status: creating tools/test/h5dump/h5dump_plugin.sh config.status: creating tools/test/h5dump/testh5dump.sh config.status: creating tools/test/h5dump/testh5dumppbits.sh config.status: creating tools/test/h5dump/testh5dumpvds.sh config.status: creating tools/test/h5dump/testh5dumpxml.sh config.status: creating tools/test/h5ls/Makefile config.status: creating tools/test/h5ls/h5ls_plugin.sh config.status: creating tools/test/h5ls/testh5ls.sh config.status: creating tools/test/h5ls/testh5lsvds.sh config.status: creating tools/test/h5import/Makefile config.status: creating tools/test/h5import/h5importtestutil.sh config.status: creating tools/test/h5diff/Makefile config.status: creating tools/test/h5diff/h5diff_plugin.sh config.status: creating tools/test/h5diff/testh5diff.sh config.status: creating tools/test/h5diff/testph5diff.sh config.status: creating tools/src/h5format_convert/Makefile config.status: creating tools/test/h5format_convert/Makefile config.status: creating tools/test/h5format_convert/testh5fc.sh config.status: creating tools/test/h5jam/Makefile config.status: creating tools/test/h5jam/testh5jam.sh config.status: creating tools/test/h5repack/Makefile config.status: creating tools/test/h5repack/h5repack.sh config.status: creating tools/test/h5repack/h5repack_plugin.sh config.status: creating tools/test/h5copy/Makefile config.status: creating tools/test/h5copy/testh5copy.sh config.status: creating tools/test/misc/Makefile config.status: creating tools/test/misc/testh5clear.sh config.status: creating tools/test/misc/testh5mkgrp.sh config.status: creating tools/test/misc/testh5repart.sh config.status: creating tools/test/misc/vds/Makefile config.status: creating tools/test/h5stat/Makefile config.status: creating tools/test/h5stat/testh5stat.sh config.status: creating tools/test/perform/Makefile config.status: creating examples/Makefile config.status: creating examples/run-c-ex.sh config.status: creating examples/testh5cc.sh config.status: creating bin/h5cc config.status: creating bin/Makefile config.status: creating c++/Makefile config.status: creating c++/src/Makefile config.status: creating c++/src/h5c++ config.status: creating c++/test/Makefile config.status: creating c++/test/H5srcdir_str.h config.status: creating c++/examples/Makefile config.status: creating c++/examples/run-c++-ex.sh config.status: creating c++/examples/testh5c++.sh config.status: creating fortran/Makefile config.status: creating fortran/src/h5fc config.status: creating fortran/src/Makefile config.status: creating fortran/src/H5fort_type_defines.h config.status: creating fortran/test/Makefile config.status: creating fortran/testpar/Makefile config.status: creating fortran/examples/Makefile config.status: creating fortran/examples/run-fortran-ex.sh config.status: creating fortran/examples/testh5fc.sh config.status: creating java/Makefile config.status: creating java/src/Makefile config.status: creating java/src/jni/Makefile config.status: creating java/test/Makefile config.status: creating java/test/junit.sh config.status: creating java/examples/Makefile config.status: creating java/examples/intro/Makefile config.status: creating java/examples/intro/JavaIntroExample.sh config.status: creating java/examples/datasets/Makefile config.status: creating java/examples/datasets/JavaDatasetExample.sh config.status: creating java/examples/datatypes/Makefile config.status: creating java/examples/datatypes/JavaDatatypeExample.sh config.status: creating java/examples/groups/Makefile config.status: creating java/examples/groups/JavaGroupExample.sh config.status: creating hl/Makefile config.status: creating hl/src/Makefile config.status: creating hl/test/Makefile config.status: creating hl/test/H5srcdir_str.h config.status: creating hl/tools/Makefile config.status: creating hl/tools/gif2h5/Makefile config.status: creating hl/tools/gif2h5/h52giftest.sh config.status: creating hl/tools/h5watch/Makefile config.status: creating hl/tools/h5watch/testh5watch.sh config.status: creating hl/examples/Makefile config.status: creating hl/examples/run-hlc-ex.sh config.status: creating hl/c++/Makefile config.status: creating hl/c++/src/Makefile config.status: creating hl/c++/test/Makefile config.status: creating hl/c++/examples/Makefile config.status: creating hl/c++/examples/run-hlc++-ex.sh config.status: creating hl/fortran/Makefile config.status: creating hl/fortran/src/Makefile config.status: creating hl/fortran/test/Makefile config.status: creating hl/fortran/examples/Makefile config.status: creating hl/fortran/examples/run-hlfortran-ex.sh config.status: creating src/H5config.h config.status: creating fortran/src/H5config_f.inc config.status: executing pubconf commands creating src/H5pubconf.h Post process src/libhdf5.settings config.status: executing depfiles commands config.status: executing libtool commands config.status: executing .classes commands SUMMARY OF THE HDF5 CONFIGURATION ================================= General Information: ------------------- HDF5 Version: 1.12.1 Configured on: Thu Sep 8 18:32:14 MDT 2022 Configured by: heepark@boca1 Host system: x86_64-unknown-linux-gnu Uname information: Linux boca1 3.10.0-1160.66.1.1chaos.ch6.x86_64 #1 SMP Fri Jun 3 12:04:08 PDT 2022 x86_64 x86_64 x86_64 GNU/Linux Byte sex: little-endian Installation point: /projects/ADSM/software/petsc-v3.17.2/gnu_O Compiling Options: ------------------ Build Mode: production Debugging Symbols: no Asserts: no Profiling: no Optimization Level: high Linking Options: ---------------- Libraries: static Statically Linked Executables: LDFLAGS: H5_LDFLAGS: AM_LDFLAGS: Extra libraries: -ldl -lm -lm Archiver: /opt/rh/devtoolset-10/root/usr/bin/ar AR_FLAGS: cr Ranlib: ranlib Languages: ---------- C: yes C Compiler: /opt/openmpi/4.1/gnu/bin/mpicc ( Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-10/root/usr --mandir=/opt/rh/devtoolset-10/root/usr/share/man --infodir=/opt/rh/devtoolset-10/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --with-default-libstdcxx-abi=gcc4-compatible --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-10.2.1-20210130/obj-x86_64-redhat-linux/isl-install --disable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux built with gcc version 10.2.1 20210130 (Red Hat 10.2.1-11) (GCC)) CPPFLAGS: H5_CPPFLAGS: -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L -DNDEBUG -UH5_DEBUG_API AM_CPPFLAGS: C Flags: -O3 -fPIC H5 C Flags: -std=c99 -Wall -Wcast-qual -Wconversion -Wextra -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-include-dirs -Wno-c++-compat -Wno-format-nonliteral -Wshadow -Wundef -Wwrite-strings -pedantic -Wlarger-than=2560 -Wlogical-op -Wframe-larger-than=16384 -Wpacked-bitfield-compat -Wsync-nand -Wstrict-overflow=5 -Wno-unsuffixed-float-constants -Wdouble-promotion -Wtrampolines -Wstack-usage=8192 -Wmaybe-uninitialized -Wdate-time -Warray-bounds=2 -Wc99-c11-compat -Wduplicated-cond -Whsa -Wnormalized -Wnull-dereference -Wunused-const-variable -Walloca -Walloc-zero -Wduplicated-branches -Wformat-overflow=2 -Wformat-truncation=1 -Wrestrict -Wattribute-alias -Wcast-align=strict -Wshift-overflow=2 -Wattribute-alias=2 -Wmissing-profile -Wc11-c2x-compat -fstdarg-opt -fdiagnostics-urls=never -fno-diagnostics-color -s -Wno-aggregate-return -Wno-inline -Wno-missing-format-attribute -Wno-missing-noreturn -Wno-overlength-strings -Wno-jump-misses-init -Wno-suggest-attribute=const -Wno-suggest-attribute=noreturn -Wno-suggest-attribute=pure -Wno-suggest-attribute=format -Wno-suggest-attribute=cold -Wno-suggest-attribute=malloc -Wbad-function-cast -Wimplicit-function-declaration -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wpointer-sign -Wpointer-to-int-cast -Wredundant-decls -Wstrict-prototypes -Wswitch -Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align -Wunused-but-set-variable -Wformat -Wincompatible-pointer-types -Wshadow -Wcast-function-type -Wmaybe-uninitialized -O3 AM C Flags: Shared C Library: no Static C Library: yes Fortran: yes Fortran Compiler: /opt/openmpi/4.1/gnu/bin/mpif90 ( Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-10/root/usr --mandir=/opt/rh/devtoolset-10/root/usr/share/man --infodir=/opt/rh/devtoolset-10/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --with-default-libstdcxx-abi=gcc4-compatible --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-10.2.1-20210130/obj-x86_64-redhat-linux/isl-install --disable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux built with gcc version 10.2.1 20210130 (Red Hat 10.2.1-11) (GCC)) Fortran Flags: -O3 -fallow-argument-mismatch H5 Fortran Flags: -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 AM Fortran Flags: Shared Fortran Library: no Static Fortran Library: yes C++: no Java: no Features: --------- Parallel HDF5: yes Parallel Filtered Dataset Writes: yes Large Parallel I/O: yes High-level library: yes Build HDF5 Tests: yes Build HDF5 Tools: yes Threadsafety: no (recursive RW locks: no) Default API mapping: v112 With deprecated public symbols: yes I/O filters (external): MPE: Map (H5M) API: no Direct VFD: no Mirror VFD: no (Read-Only) S3 VFD: no (Read-Only) HDFS VFD: no dmalloc: no Packages w/ extra debug output: none API tracing: no Using memory checker: no Memory allocation sanity checks: no Function stack tracing: no Use file locking: best-effort Strict file format checks: no Optimization instrumentation: no ============================================================================================= Running make on HDF5; this may take several minutes ============================================================================================= Executing: /opt/rh/devtoolset-10/root/usr/bin/gmake clean stdout: Making clean in src gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/src' test -z "libhdf5.la" || rm -f libhdf5.la rm -f ./so_locations rm -rf .libs _libs rm -f H5detect H5make_libsettings rm -f *.o test -z "H5Tinit.c H5lib_settings.c " || rm -f H5Tinit.c H5lib_settings.c test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/src' Making clean in test gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/test' rm -f testhdf5 cache cache_api cache_image cache_tagging lheap ohdr stab gheap evict_on_close farray earray btree2 fheap pool accum hyperslab istore bittests dt_arith page_buffer dtypes dsets chunk_info cmpd_dset cmpd_dtransform filter_fail extend direct_chunk external efc objcopy objcopy_ref links unlink twriteorder big mtime fillval mount flush1 flush2 app_ref enum set_extent ttsafe enc_dec_plist enc_dec_plist_cross_platform getname vfd ros3 s3comms hdfs ntypes dangle dtransform reserved cross_read freespace mf vds file_image unregister cache_logging cork swmr thread_id vol timer error_test err_compat tcheck_version testmeta accum_swmr_reader atomic_writer atomic_reader external_env links_env filenotclosed del_many_dense_attrs flushrefresh use_append_chunk use_append_chunk_mirror use_append_mchunks use_disable_mdc_flushes swmr_generator swmr_start_write swmr_reader swmr_writer swmr_remove_reader swmr_remove_writer swmr_addrem_writer swmr_sparse_reader swmr_sparse_writer swmr_check_compat_vfd vds_env vds_swmr_gen vds_swmr_reader vds_swmr_writer mirror_vfd rm -rf .libs _libs test -z "libh5test.la" || rm -f libh5test.la rm -f ./so_locations rm -f *.o test -z "testhdf5.log cache.log cache_api.log cache_image.log cache_tagging.log lheap.log ohdr.log stab.log gheap.log evict_on_close.log farray.log earray.log btree2.log fheap.log pool.log accum.log hyperslab.log istore.log bittests.log dt_arith.log page_buffer.log dtypes.log dsets.log chunk_info.log cmpd_dset.log cmpd_dtransform.log filter_fail.log extend.log direct_chunk.log external.log efc.log objcopy.log objcopy_ref.log links.log unlink.log twriteorder.log big.log mtime.log fillval.log mount.log flush1.log flush2.log app_ref.log enum.log set_extent.log ttsafe.log enc_dec_plist.log enc_dec_plist_cross_platform.log getname.log vfd.log ros3.log s3comms.log hdfs.log ntypes.log dangle.log dtransform.log reserved.log cross_read.log freespace.log mf.log vds.log file_image.log unregister.log cache_logging.log cork.log swmr.log thread_id.log vol.log timer.log testerror.log testlibinfo.log testcheck_version.log testlinks_env.log testexternal_env.log testswmr.log testvds_env.log testvdsswmr.log testflushrefresh.log test_usecases.log testabort_fail.log test_mirror.log" || rm -f testhdf5.log cache.log cache_api.log cache_image.log cache_tagging.log lheap.log ohdr.log stab.log gheap.log evict_on_close.log farray.log earray.log btree2.log fheap.log pool.log accum.log hyperslab.log istore.log bittests.log dt_arith.log page_buffer.log dtypes.log dsets.log chunk_info.log cmpd_dset.log cmpd_dtransform.log filter_fail.log extend.log direct_chunk.log external.log efc.log objcopy.log objcopy_ref.log links.log unlink.log twriteorder.log big.log mtime.log fillval.log mount.log flush1.log flush2.log app_ref.log enum.log set_extent.log ttsafe.log enc_dec_plist.log enc_dec_plist_cross_platform.log getname.log vfd.log ros3.log s3comms.log hdfs.log ntypes.log dangle.log dtransform.log reserved.log cross_read.log freespace.log mf.log vds.log file_image.log unregister.log cache_logging.log cork.log swmr.log thread_id.log vol.log timer.log testerror.log testlibinfo.log testcheck_version.log testlinks_env.log testexternal_env.log testswmr.log testvds_env.log testvdsswmr.log testflushrefresh.log test_usecases.log testabort_fail.log test_mirror.log test -z "testhdf5.trs cache.trs cache_api.trs cache_image.trs cache_tagging.trs lheap.trs ohdr.trs stab.trs gheap.trs evict_on_close.trs farray.trs earray.trs btree2.trs fheap.trs pool.trs accum.trs hyperslab.trs istore.trs bittests.trs dt_arith.trs page_buffer.trs dtypes.trs dsets.trs chunk_info.trs cmpd_dset.trs cmpd_dtransform.trs filter_fail.trs extend.trs direct_chunk.trs external.trs efc.trs objcopy.trs objcopy_ref.trs links.trs unlink.trs twriteorder.trs big.trs mtime.trs fillval.trs mount.trs flush1.trs flush2.trs app_ref.trs enum.trs set_extent.trs ttsafe.trs enc_dec_plist.trs enc_dec_plist_cross_platform.trs getname.trs vfd.trs ros3.trs s3comms.trs hdfs.trs ntypes.trs dangle.trs dtransform.trs reserved.trs cross_read.trs freespace.trs mf.trs vds.trs file_image.trs unregister.trs cache_logging.trs cork.trs swmr.trs thread_id.trs vol.trs timer.trs testerror.trs testlibinfo.trs testcheck_version.trs testlinks_env.trs testexternal_env.trs testswmr.trs testvds_env.trs testvdsswmr.trs testflushrefresh.trs test_usecases.trs testabort_fail.trs test_mirror.trs" || rm -f testhdf5.trs cache.trs cache_api.trs cache_image.trs cache_tagging.trs lheap.trs ohdr.trs stab.trs gheap.trs evict_on_close.trs farray.trs earray.trs btree2.trs fheap.trs pool.trs accum.trs hyperslab.trs istore.trs bittests.trs dt_arith.trs page_buffer.trs dtypes.trs dsets.trs chunk_info.trs cmpd_dset.trs cmpd_dtransform.trs filter_fail.trs extend.trs direct_chunk.trs external.trs efc.trs objcopy.trs objcopy_ref.trs links.trs unlink.trs twriteorder.trs big.trs mtime.trs fillval.trs mount.trs flush1.trs flush2.trs app_ref.trs enum.trs set_extent.trs ttsafe.trs enc_dec_plist.trs enc_dec_plist_cross_platform.trs getname.trs vfd.trs ros3.trs s3comms.trs hdfs.trs ntypes.trs dangle.trs dtransform.trs reserved.trs cross_read.trs freespace.trs mf.trs vds.trs file_image.trs unregister.trs cache_logging.trs cork.trs swmr.trs thread_id.trs vol.trs timer.trs testerror.trs testlibinfo.trs testcheck_version.trs testlinks_env.trs testexternal_env.trs testswmr.trs testvds_env.trs testvdsswmr.trs testflushrefresh.trs test_usecases.trs testabort_fail.trs test_mirror.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 accum.h5 cmpd_dset.h5 compact_dataset.h5 dataset.h5 dset_offset.h5 max_compact_dataset.h5 simple.h5 set_local.h5 random_chunks.h5 huge_chunks.h5 chunk_cache.h5 big_chunk.h5 chunk_fast.h5 chunk_expand.h5 chunk_fixed.h5 copy_dcpl_newfile.h5 partial_chunks.h5 layout_extend.h5 zero_chunk.h5 chunk_single.h5 swmr_non_latest.h5 earray_hdr_fd.h5 farray_hdr_fd.h5 bt2_hdr_fd.h5 storage_size.h5 dls_01_strings.h5 power2up.h5 version_bounds.h5 alloc_0sized.h5 extend.h5 istore.h5 extlinks*.h5 frspace.h5 links*.h5 sys_file1 tfile[1-7].h5 th5s[1-4].h5 lheap.h5 fheap.h5 ohdr.h5 stab.h5 extern_[1-5].h5 extern_[1-4][rw].raw gheap[0-4].h5 ohdr_min_a.h5 ohdr_min_b.h5 min_dset_ohdr_testfile.h5 dt_arith[1-2] links.h5 links[0-6]*.h5 extlinks[0-15].h5 tmp tmp_links tmp2_links tmp_links_env tmp_vds tmp_vds_env big.data big[0-9][0-9][0-9][0-9][0-9].h5 stdio.h5 sec2.h5 dtypes[0-9].h5 dtypes1[0].h5 dt_arith[1-2].h5 tattr.h5 tselect.h5 mtime.h5 unlink.h5 unicode.h5 coord.h5 fillval_[0-9].h5 fillval.raw mount_[0-9].h5 testmeta.h5 ttime.h5 trefer[1-3].h5 trefer_*.h5 tvltypes.h5 tvlstr.h5 tvlstr2.h5 twriteorder.dat flush.h5 flush-swmr.h5 noflush.h5 noflush-swmr.h5 flush_extend.h5 flush_extend-swmr.h5 noflush_extend.h5 noflush_extend-swmr.h5 enum1.h5 titerate.h5 ttsafe.h5 tarray1.h5 tgenprop.h5 tmisc[0-9]*.h5 set_extent[1-5].h5 ext[12].bin getname.h5 getname[1-3].h5 sec2_file.h5 direct_file.h5 family_file000[0-3][0-9].h5 new_family_v16_000[0-3][0-9].h5 multi_file-[rs].h5 core_file filter_plugin.h5 new_move_[ab].h5 ntypes.h5 dangle.h5 error_test.h5 err_compat.h5 dtransform.h5 test_filters.h5 get_file_name.h5 tstint[1-2].h5 unlink_chunked.h5 btree2.h5 btree2_tmp.h5 objcopy_src.h5 objcopy_dst.h5 objcopy_ext.dat app_ref.h5 farray.h5 farray_tmp.h5 earray.h5 earray_tmp.h5 efc[0-5].h5 log_vfd_out.log log_ros3_out.log log_s3comms_out.log new_multi_file_v16-r.h5 new_multi_file_v16-s.h5 split_get_file_image_test-m.h5 split_get_file_image_test-r.h5 file_image_core_test.h5.copy unregister_filter_1.h5 unregister_filter_2.h5 vds_virt.h5 vds_dapl.h5 vds_src_[0-1].h5 swmr_data.h5 use_use_append_chunk.h5 use_append_mchunks.h5 use_disable_mdc_flushes.h5 flushrefresh.h5 flushrefresh_VERIFICATION_START flushrefresh_VERIFICATION_CHECKPOINT1 flushrefresh_VERIFICATION_CHECKPOINT2 flushrefresh_VERIFICATION_DONE filenotclosed.h5 del_many_dense_attrs.h5 atomic_data accum_swmr_big.h5 ohdr_swmr.h5 test_swmr*.h5 cache_logging.h5 cache_logging.out vds_swmr.h5 vds_swmr_src_*.h5 swmr[0-2].h5 swmr_writer.out swmr_writer.log.* swmr_reader.out.* swmr_reader.log.* tbogus.h5.copy cache_image_test.h5 direct_chunk.h5 native_vol_test.h5 splitter*.h5 splitter.log mirror_rw mirror_ro gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/test' Making clean in testpar gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/testpar' rm -f t_mpi t_bigio testphdf5 t_cache t_cache_image t_pread t_pshutdown t_prestart t_init_term t_shapesame t_filters_parallel t_2Gio t_pflush1 t_pflush2 rm -rf .libs _libs rm -f *.o test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 MPItest.h5 Para*.h5 bigio_test.h5 CacheTestDummy.h5 ShapeSameTest.h5 shutdown.h5 after_mpi_fin.h5 go gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/testpar' Making clean in bin gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/bin' test -z "h5redeploy" || rm -f h5redeploy rm -rf .libs _libs test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/bin' Making clean in utils gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/utils' Making clean in mirror_vfd gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/utils/mirror_vfd' rm -f mirror_server mirror_server_stop rm -rf .libs _libs rm -f *.o test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/utils/mirror_vfd' gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/utils' rm -rf .libs _libs test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/utils' gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/utils' Making clean in tools gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools' Making clean in lib gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/lib' rm -rf .libs _libs test -z "libh5tools.la" || rm -f libh5tools.la rm -f ./so_locations rm -f *.o test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/lib' Making clean in src gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src' Making clean in h5diff gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5diff' rm -f h5diff ph5diff rm -rf .libs _libs rm -f *.o test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5diff' Making clean in h5ls gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5ls' rm -f h5ls rm -rf .libs _libs rm -f *.o test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5ls' Making clean in h5dump gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5dump' rm -f h5dump rm -rf .libs _libs rm -f *.o test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5dump' Making clean in misc gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/misc' rm -f h5debug h5repart h5mkgrp h5clear rm -rf .libs _libs rm -f *.o test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/misc' Making clean in h5import gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5import' rm -f h5import rm -rf .libs _libs rm -f *.o test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5import' Making clean in h5repack gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5repack' rm -f h5repack rm -rf .libs _libs test -z "libh5repack.la" || rm -f libh5repack.la rm -f ./so_locations rm -f *.o test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5repack' Making clean in h5jam gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5jam' rm -f h5jam h5unjam rm -rf .libs _libs rm -f *.o test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5jam' Making clean in h5copy gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5copy' rm -f h5copy rm -rf .libs _libs rm -f *.o test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 *.h5 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5copy' Making clean in h5format_convert gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5format_convert' rm -f h5format_convert test -z "" || rm -f rm -rf .libs _libs rm -f *.o test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5format_convert' Making clean in h5stat gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5stat' rm -f h5stat test -z "" || rm -f rm -rf .libs _libs rm -f *.o test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5stat' gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src' rm -rf .libs _libs test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src' gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src' Making clean in test gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test' Making clean in h5diff gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5diff' rm -f h5diffgentest rm -rf .libs _libs test -z "" || rm -f rm -f *.o test -z "h5diffgentest.log testh5diff.log" || rm -f h5diffgentest.log testh5diff.log test -z "h5diffgentest.trs testh5diff.trs" || rm -f h5diffgentest.trs testh5diff.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 *.h5 expect_sorted actual_sorted gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5diff' Making clean in h5ls gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5ls' rm -rf .libs _libs test -z "" || rm -f rm -f *.o test -z "testh5ls.log testh5lsvds.log" || rm -f testh5ls.log testh5lsvds.log test -z "testh5ls.trs testh5lsvds.trs" || rm -f testh5ls.trs testh5lsvds.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5ls' Making clean in h5dump gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5dump' rm -f h5dumpgentest binread rm -rf .libs _libs test -z "" || rm -f rm -f *.o test -z "h5dumpgentest.log testh5dump.log testh5dumppbits.log testh5dumpvds.log testh5dumpxml.log" || rm -f h5dumpgentest.log testh5dump.log testh5dumppbits.log testh5dumpvds.log testh5dumpxml.log test -z "h5dumpgentest.trs testh5dump.trs testh5dumppbits.trs testh5dumpvds.trs testh5dumpxml.trs" || rm -f h5dumpgentest.trs testh5dump.trs testh5dumppbits.trs testh5dumpvds.trs testh5dumpxml.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 *.h5 *.bin gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5dump' Making clean in misc gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/misc' Making clean in vds gmake[4]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/misc/vds' rm -f UC_1_one_dim_gen UC_2_two_dims_gen UC_3_gaps_gen UC_4_printf_gen UC_5_stride_gen rm -rf .libs _libs rm -f *.o test -z "UC_1_one_dim_gen.log UC_2_two_dims_gen.log UC_3_gaps_gen.log UC_4_printf_gen.log UC_5_stride_gen.log" || rm -f UC_1_one_dim_gen.log UC_2_two_dims_gen.log UC_3_gaps_gen.log UC_4_printf_gen.log UC_5_stride_gen.log test -z "UC_1_one_dim_gen.trs UC_2_two_dims_gen.trs UC_3_gaps_gen.trs UC_4_printf_gen.trs UC_5_stride_gen.trs" || rm -f UC_1_one_dim_gen.trs UC_2_two_dims_gen.trs UC_3_gaps_gen.trs UC_4_printf_gen.trs UC_5_stride_gen.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 *.h5 gmake[4]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/misc/vds' gmake[4]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/misc' rm -f h5repart_gentest h5clear_gentest talign repart_test clear_open_chk rm -rf .libs _libs rm -f *.o test -z "h5repart_gentest.log h5clear_gentest.log talign.log testh5repart.log testh5mkgrp.log testh5clear.log" || rm -f h5repart_gentest.log h5clear_gentest.log talign.log testh5repart.log testh5mkgrp.log testh5clear.log test -z "h5repart_gentest.trs h5clear_gentest.trs talign.trs testh5repart.trs testh5mkgrp.trs testh5clear.trs" || rm -f h5repart_gentest.trs h5clear_gentest.trs talign.trs testh5repart.trs testh5mkgrp.trs testh5clear.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 *.h5 ../testfiles/fst_family*.h5 ../testfiles/scd_family*.h5 append.log gmake[4]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/misc' gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/misc' Making clean in h5import gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5import' rm -f h5importtest rm -rf .libs _libs rm -f *.o test -z "h5importtest.log h5importtestutil.log" || rm -f h5importtest.log h5importtestutil.log test -z "h5importtest.trs h5importtestutil.trs" || rm -f h5importtest.trs h5importtestutil.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 *.bin gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5import' Making clean in h5repack gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5repack' rm -f h5repackgentest rm -rf .libs _libs test -z "" || rm -f rm -f h5repacktst testh5repack_detect_szip rm -f *.o test -z "h5repackgentest.log h5repack.log" || rm -f h5repackgentest.log h5repack.log test -z "h5repackgentest.trs h5repack.trs" || rm -f h5repackgentest.trs h5repack.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 *.h5 *.dat *.bin testfiles/h5diff_attr1.h5 testfiles/tfamily*.h5 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5repack' Making clean in h5jam gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5jam' rm -f tellub h5jamgentest getub rm -rf .libs _libs rm -f *.o test -z "testh5jam.log" || rm -f testh5jam.log test -z "testh5jam.trs" || rm -f testh5jam.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 *.h5 testfiles/h5jam-*-sav testfiles/h5unjam-*-sav gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5jam' Making clean in h5copy gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5copy' rm -f h5copygentest rm -rf .libs _libs rm -f *.o test -z "h5copygentest.log testh5copy.log" || rm -f h5copygentest.log testh5copy.log test -z "h5copygentest.trs testh5copy.trs" || rm -f h5copygentest.trs testh5copy.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 *.h5 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5copy' Making clean in h5format_convert gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5format_convert' rm -f h5fc_gentest h5fc_chk_idx test -z "" || rm -f rm -rf .libs _libs rm -f *.o test -z "h5fc_gentest.log testh5fc.log" || rm -f h5fc_gentest.log testh5fc.log test -z "h5fc_gentest.trs testh5fc.trs" || rm -f h5fc_gentest.trs testh5fc.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 *.h5 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5format_convert' Making clean in h5stat gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5stat' rm -f h5stat_gentest test -z "" || rm -f rm -rf .libs _libs rm -f *.o test -z "h5stat_gentest.log testh5stat.log" || rm -f h5stat_gentest.log testh5stat.log test -z "h5stat_gentest.trs testh5stat.trs" || rm -f h5stat_gentest.trs testh5stat.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 *.h5 ../testfiles/fst_family*.h5 ../testfiles/scd_family*.h5 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5stat' Making clean in perform gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/perform' rm -f h5perf_serial h5perf rm -f iopipe chunk chunk_cache overhead zip_perf perf_meta perf test -z "*.h5 *.raw *.dat x-gnuplot perftest.out" || rm -f *.h5 *.raw *.dat x-gnuplot perftest.out rm -rf .libs _libs rm -f *.o test -z "iopipe.log chunk.log chunk_cache.log overhead.log zip_perf.log perf_meta.log h5perf_serial.log" || rm -f iopipe.log chunk.log chunk_cache.log overhead.log zip_perf.log perf_meta.log h5perf_serial.log test -z "iopipe.trs chunk.trs chunk_cache.trs overhead.trs zip_perf.trs perf_meta.trs h5perf_serial.trs" || rm -f iopipe.trs chunk.trs chunk_cache.trs overhead.trs zip_perf.trs perf_meta.trs h5perf_serial.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/perform' gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test' rm -rf .libs _libs test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test' gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test' gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools' rm -rf .libs _libs test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools' gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools' Making clean in . gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1' rm -rf .libs _libs rm -f *.lo if test -d ii_files; then \ rm -f -rf ii_files; \ fi gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1' Making clean in fortran gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran' Making clean in src gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/src' test -z "libhdf5_fortran.la" || rm -f libhdf5_fortran.la rm -f ./so_locations rm -rf .libs _libs rm -f H5match_types H5_buildiface rm -f *.o test -z "H5fortran_types.F90 H5f90i_gen.h H5_gen.F90" || rm -f H5fortran_types.F90 H5f90i_gen.h H5_gen.F90 test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/src' Making clean in test gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/test' rm -f fortranlib_test fflush1 fflush2 fortranlib_test_1_8 fortranlib_test_F03 vol_connector rm -rf .libs _libs test -z "libh5test_fortran.la" || rm -f libh5test_fortran.la rm -f ./so_locations rm -f H5_test_buildiface rm -f *.o test -z "*.tmp" || rm -f *.tmp test -z "fortranlib_test.log fflush1.log fflush2.log fortranlib_test_1_8.log fortranlib_test_F03.log vol_connector.log" || rm -f fortranlib_test.log fflush1.log fflush2.log fortranlib_test_1_8.log fortranlib_test_F03.log vol_connector.log test -z "fortranlib_test.trs fflush1.trs fflush2.trs fortranlib_test_1_8.trs fortranlib_test_F03.trs vol_connector.trs" || rm -f fortranlib_test.trs fflush1.trs fflush2.trs fortranlib_test_1_8.trs fortranlib_test_F03.trs vol_connector.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 *.h5 *.raw gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/test' Making clean in testpar gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/testpar' rm -f parallel_test rm -rf .libs _libs rm -f *.o test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 parf[12].h5 gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/testpar' gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran' rm -rf .libs _libs test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran' gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran' Making clean in hl gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl' Making clean in src gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/src' test -z "libhdf5_hl.la" || rm -f libhdf5_hl.la rm -f ./so_locations rm -rf .libs _libs rm -f *.o test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/src' Making clean in test gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/test' rm -f test_lite test_image test_file_image test_table test_ds test_packet test_ld test_dset_append test_h5do_compat rm -rf .libs _libs rm -f *.o test -z "test_lite.log test_image.log test_file_image.log test_table.log test_ds.log test_packet.log test_ld.log test_dset_append.log test_h5do_compat.log" || rm -f test_lite.log test_image.log test_file_image.log test_table.log test_ds.log test_packet.log test_ld.log test_dset_append.log test_h5do_compat.log test -z "test_lite.trs test_image.trs test_file_image.trs test_table.trs test_ds.trs test_packet.trs test_ld.trs test_dset_append.trs test_h5do_compat.trs" || rm -f test_lite.trs test_image.trs test_file_image.trs test_table.trs test_ds.trs test_packet.trs test_ld.trs test_dset_append.trs test_h5do_compat.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 combine_tables[1-2].h5 test_ds[1-9].h5 test_ds10.h5 test_image[1-3].h5 file_img[1-2].h5 test_lite[1-4].h5 test_table.h5 test_packet_table.h5 test_packet_compress.h5 test_detach.h5 test_packet_table_vlen.h5 testfl_packet_table_vlen.h5 test_append.h5 h5do_compat.h5 gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/test' Making clean in tools gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/tools' Making clean in gif2h5 gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/tools/gif2h5' rm -f gif2h5 h52gif rm -rf .libs _libs rm -f h52gifgentst rm -f *.o test -z "h52giftest.log" || rm -f h52giftest.log test -z "h52giftest.trs" || rm -f h52giftest.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 *.h5 *.gif gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/tools/gif2h5' Making clean in h5watch gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/tools/h5watch' rm -f h5watch rm -rf .libs _libs rm -f swmr_check_compat_vfd h5watchgentest extend_dset rm -f *.o test -z "testh5watch.log" || rm -f testh5watch.log test -z "testh5watch.trs" || rm -f testh5watch.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 *.h5 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/tools/h5watch' gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/tools' rm -rf .libs _libs test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/tools' gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/tools' Making clean in fortran gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/fortran' Making clean in src gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/fortran/src' test -z "libhdf5hl_fortran.la" || rm -f libhdf5hl_fortran.la rm -f ./so_locations rm -rf .libs _libs rm -f H5HL_buildiface rm -f *.o test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/fortran/src' Making clean in test gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/fortran/test' rm -f tstds tstlite tstimage tsttable rm -rf .libs _libs rm -f *.o test -z "tstds.log tstlite.log tstimage.log tsttable.log" || rm -f tstds.log tstlite.log tstimage.log tsttable.log test -z "tstds.trs tstlite.trs tstimage.trs tsttable.trs" || rm -f tstds.trs tstlite.trs tstimage.trs tsttable.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 dsetf[1-5].h5 f1img.h5 f[1-2]tab.h5 tstds.h5 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/fortran/test' gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/fortran' rm -rf .libs _libs test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/fortran' gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl/fortran' gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl' rm -rf .libs _libs test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo rm -f -rf *.chkexe *.chklog *.clog *.clog2 gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl' gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/hl' Executing: /opt/rh/devtoolset-10/root/usr/bin/gmake -j42 -l104.8 stdout: Making all in src gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/src' /opt/rh/devtoolset-10/root/usr/bin/gmake all-am gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/src' CC H5.lo CC H5checksum.lo CC H5dbg.lo CC H5make_libsettings.o CC H5system.lo CC H5timer.lo CC H5trace.lo CC H5A.lo CC H5Abtree2.lo CC H5Adense.lo CC H5Adeprec.lo CC H5Aint.lo CC H5Atest.lo CC H5AC.lo CC H5ACdbg.lo CC H5ACproxy_entry.lo CC H5B.lo CC H5Bcache.lo CC H5Bdbg.lo CC H5B2.lo CC H5B2cache.lo CC H5B2dbg.lo CC H5B2hdr.lo CC H5B2int.lo CC H5B2internal.lo CC H5B2leaf.lo CC H5B2stat.lo CC H5B2test.lo CC H5C.lo CC H5Cdbg.lo CC H5Cepoch.lo CC H5Cimage.lo CC H5Clog.lo CC H5Clog_json.lo CC H5Clog_trace.lo CC H5Cprefetched.lo CC H5Cquery.lo CC H5Ctag.lo CC H5Ctest.lo CC H5CS.lo CC H5CX.lo CC H5D.lo CC H5Dbtree.lo CC H5Dbtree2.lo CC H5Dchunk.lo CC H5Dcompact.lo CC H5Dcontig.lo CC H5Ddbg.lo CC H5Ddeprec.lo CC H5Dearray.lo CC H5Defl.lo CC H5Dfarray.lo CC H5Dint.lo CC H5Dfill.lo CC H5Dio.lo CC H5Dlayout.lo CC H5Dnone.lo CC H5Doh.lo CC H5Dscatgath.lo CC H5Dselect.lo CC H5Dsingle.lo CC H5Dtest.lo CC H5Dvirtual.lo CC H5E.lo CC H5Edeprec.lo CC H5Eint.lo CC H5EA.lo CC H5EAcache.lo CC H5EAdbg.lo CC H5EAdblkpage.lo CC H5EAdblock.lo CC H5EAhdr.lo CC H5EAiblock.lo CC H5EAint.lo CC H5EAsblock.lo CC H5EAtest.lo CC H5EAstat.lo CC H5F.lo CC H5Faccum.lo CC H5Fcwfs.lo CC H5Fdbg.lo CC H5Fdeprec.lo CC H5Fefc.lo CC H5Ffake.lo CC H5Fint.lo CC H5Fio.lo CC H5Fmount.lo CC H5Fquery.lo CC H5Fsfile.lo CC H5Fspace.lo CC H5Fsuper.lo CC H5Fsuper_cache.lo CC H5Ftest.lo CC H5FA.lo CC H5FAcache.lo CC H5FAdbg.lo CC H5FAdblock.lo CC H5FAdblkpage.lo CC H5FAhdr.lo CC H5FAint.lo CC H5FAstat.lo CC H5FAtest.lo CC H5FD.lo CC H5FDcore.lo CC H5FDfamily.lo CC H5FDhdfs.lo CC H5FDint.lo CC H5FDlog.lo CC H5FDmulti.lo CC H5FDspace.lo CC H5FDsec2.lo CC H5FDsplitter.lo CC H5FDstdio.lo CC H5FDtest.lo CC H5FL.lo CC H5FO.lo CC H5FS.lo CC H5FScache.lo CC H5FSdbg.lo CC H5FSint.lo CC H5FSsection.lo CC H5FSstat.lo CC H5FStest.lo CC H5G.lo CC H5Gbtree2.lo CC H5Gcache.lo CC H5Gcompact.lo CC H5Gdense.lo CC H5Gdeprec.lo CC H5Gent.lo CC H5Gint.lo CC H5Glink.lo CC H5Gloc.lo CC H5Gname.lo CC H5Gnode.lo CC H5Gobj.lo CC H5Goh.lo CC H5Groot.lo CC H5Gstab.lo CC H5Gtest.lo CC H5Gtraverse.lo CC H5HF.lo CC H5HFbtree2.lo CC H5HFcache.lo CC H5HFdbg.lo CC H5HFdblock.lo CC H5HFdtable.lo CC H5HFhdr.lo CC H5HFhuge.lo CC H5HFiblock.lo CC H5HFiter.lo CC H5HFman.lo CC H5HFsection.lo CC H5HFspace.lo CC H5HFstat.lo CC H5HFtest.lo CC H5HFtiny.lo CC H5HG.lo CC H5HGcache.lo CC H5HGdbg.lo CC H5HGquery.lo CC H5HL.lo CC H5HLdbg.lo CC H5HLcache.lo CC H5HLint.lo CC H5HLprfx.lo CC H5HLdblk.lo CC H5HP.lo CC H5I.lo CC H5Idbg.lo CC H5Iint.lo CC H5Itest.lo CC H5L.lo CC H5Ldeprec.lo CC H5Lexternal.lo CC H5M.lo CC H5MF.lo CC H5MFaggr.lo CC H5MFdbg.lo CC H5MFsection.lo CC H5MM.lo CC H5MP.lo CC H5MPtest.lo CC H5O.lo CC H5Odeprec.lo CC H5Oainfo.lo CC H5Oalloc.lo CC H5Oattr.lo CC H5Oattribute.lo CC H5Obogus.lo CC H5Obtreek.lo CC H5Ocache.lo CC H5Ocache_image.lo CC H5Ochunk.lo CC H5Ocont.lo CC H5Ocopy.lo CC H5Ocopy_ref.lo CC H5Odbg.lo CC H5Odrvinfo.lo CC H5Odtype.lo CC H5Oefl.lo CC H5Ofill.lo CC H5Oflush.lo CC H5Ofsinfo.lo CC H5Oginfo.lo CC H5Oint.lo CC H5Olayout.lo CC H5Olinfo.lo CC H5Olink.lo CC H5Omessage.lo CC H5Omtime.lo CC H5Oname.lo CC H5Onull.lo CC H5Opline.lo CC H5Orefcount.lo CC H5Osdspace.lo CC H5Oshared.lo CC H5Oshmesg.lo CC H5Ostab.lo CC H5Otest.lo CC H5Ounknown.lo CC H5P.lo CC H5Pacpl.lo CC H5Pdapl.lo CC H5Pdcpl.lo CC H5Pdeprec.lo CC H5Pdxpl.lo CC H5Pencdec.lo CC H5Pfapl.lo CC H5Pfcpl.lo CC H5Pfmpl.lo CC H5Pgcpl.lo CC H5Pint.lo CC H5Plapl.lo CC H5Plcpl.lo CC H5Pmapl.lo CC H5Pmcpl.lo CC H5Pocpl.lo CC H5Pocpypl.lo CC H5Pstrcpl.lo CC H5Ptest.lo CC H5PB.lo CC H5PL.lo CC H5PLint.lo CC H5PLpath.lo CC H5PLplugin_cache.lo CC H5R.lo CC H5Rdeprec.lo CC H5Rint.lo CC H5UC.lo CC H5RS.lo CC H5S.lo CC H5Sall.lo CC H5Sdbg.lo CC H5Sdeprec.lo CC H5Shyper.lo CC H5Snone.lo CC H5Spoint.lo CC H5Sselect.lo CC H5Stest.lo CC H5SL.lo CC H5SM.lo CC H5SMbtree2.lo CC H5SMcache.lo CC H5SMmessage.lo CC H5SMtest.lo CC H5T.lo CC H5Tarray.lo CC H5Tbit.lo CC H5Tcommit.lo CC H5Tcompound.lo CC H5Tconv.lo CC H5Tcset.lo CC H5Tdbg.lo CC H5Tdeprec.lo CC H5Tenum.lo CC H5Tfields.lo CC H5Tfixed.lo CC H5Tfloat.lo CC H5detect.o CC H5Tnative.lo CC H5Toffset.lo CC H5Toh.lo CC H5Topaque.lo CC H5Torder.lo CC H5Tref.lo CC H5Tpad.lo CC H5Tprecis.lo CC H5Tstrpad.lo CC H5Tvisit.lo CC H5Tvlen.lo CC H5TS.lo CC H5VL.lo CC H5VLcallback.lo CC H5VLint.lo CC H5VLnative.lo CC H5VLnative_attr.lo CC H5VLnative_blob.lo CC H5VLnative_dataset.lo CC H5VLnative_datatype.lo CC H5VLnative_file.lo CC H5VLnative_group.lo CC H5VLnative_link.lo CC H5VLnative_introspect.lo CC H5VLnative_object.lo CC H5VLnative_token.lo CC H5VLpassthru.lo CC H5VM.lo CC H5WB.lo CC H5Z.lo CC H5Zdeflate.lo CC H5Zfletcher32.lo CC H5Znbit.lo CC H5Zshuffle.lo CC H5Zscaleoffset.lo CC H5Zszip.lo CC H5Ztrans.lo CC H5mpi.lo CC H5ACmpio.lo CC H5Cmpio.lo CC H5Dmpio.lo CC H5Fmpi.lo CC H5FDmpi.lo CC H5FDmpio.lo CC H5Smpio.lo CCLD H5make_libsettings LD_LIBRARY_PATH="$LD_LIBRARY_PATH`echo | \ sed -e 's/-L/:/g' -e 's/ //g'`" \ ./H5make_libsettings H5lib_settings.c || \ (test $HDF5_Make_Ignore && echo "*** Error ignored") || \ (rm -f H5lib_settings.c ; exit 1) CC H5lib_settings.lo CCLD H5detect LD_LIBRARY_PATH="$LD_LIBRARY_PATH`echo | \ sed -e 's/-L/:/g' -e 's/ //g'`" \ ./H5detect H5Tinit.c || \ (test $HDF5_Make_Ignore && echo "*** Error ignored") || \ (rm -f H5Tinit.c ; exit 1) CC H5Tinit.lo CCLD libhdf5.la gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/src' gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/src' Making all in test gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/test' CC h5test.lo CC testframe.lo CC cache_common.lo CC swmr_common.lo CC external_common.lo CC testhdf5.o CC tarray.o CC tattr.o CC tchecksum.o CC tconfig.o CC tfile.o CC tgenprop.o CC th5o.o CC th5s.o CC tcoords.o CC theap.o CC tid.o CC titerate.o CC tmeta.o CC tmisc.o CC trefer.o CC trefer_deprec.o CC trefstr.o CC tselect.o CC tskiplist.o CC tsohm.o CC ttime.o CC tunicode.o CC tvlstr.o CC tvltypes.o CC cache.o CC cache_api.o CC cache_image.o CC genall5.o CC cache_tagging.o CC lheap.o CC ohdr.o CC stab.o CC gheap.o CC evict_on_close.o CC farray.o CC earray.o CC btree2.o CC fheap.o CC pool.o CC accum.o CC hyperslab.o CC istore.o CC bittests.o CC dt_arith.o CC page_buffer.o CC dtypes.o CC dsets.o CC chunk_info.o CC cmpd_dset.o CC cmpd_dtransform.o CC filter_fail.o CC extend.o CC direct_chunk.o CC external.o CC efc.o CC objcopy.o CC objcopy_ref.o CC links.o CC unlink.o CC twriteorder.o CC big.o CC mtime.o CC fillval.o CC mount.o CC flush1.o CC flush2.o CC app_ref.o CC enum.o CC set_extent.o CC ttsafe.o CC ttsafe_dcreate.o CC ttsafe_error.o CC ttsafe_cancel.o CC ttsafe_acreate.o CC ttsafe_attr_vlen.o CC ttsafe_rec_rw_lock.o CC enc_dec_plist.o CC enc_dec_plist_cross_platform.o CC getname.o CC vfd.o CC ros3.o CC s3comms.o CC hdfs.o CC ntypes.o CC dangle.o CC dtransform.o CC reserved.o CC cross_read.o CC freespace.o CC mf.o CC vds.o CC file_image.o CC unregister.o CC cache_logging.o CC cork.o CC swmr.o CC thread_id.o CC vol.o CC timer.o CC error_test.o CC err_compat.o CC tcheck_version.o CC testmeta.o CC accum_swmr_reader.o CC atomic_writer.o CC atomic_reader.o CC external_env.o CC links_env.o CC filenotclosed.o CC del_many_dense_attrs.o CC flushrefresh.o CC use_append_chunk.o CC use_common.o CC use_append_chunk_mirror.o CC use_append_mchunks.o CC use_disable_mdc_flushes.o CC swmr_generator.o CC swmr_start_write.o CC swmr_reader.o CC swmr_writer.o CC swmr_remove_reader.o CC swmr_remove_writer.o CC swmr_addrem_writer.o CC swmr_sparse_reader.o CC swmr_sparse_writer.o CC swmr_check_compat_vfd.o CC vds_env.o CC vds_swmr_gen.o CC vds_swmr_reader.o CC vds_swmr_writer.o CC mirror_vfd.o CCLD libh5test.la CCLD cache_api CCLD cache_image CCLD cache_tagging CCLD lheap CCLD ohdr CCLD stab CCLD gheap CCLD evict_on_close CCLD farray CCLD earray CCLD accum CCLD pool CCLD hyperslab CCLD istore CCLD bittests CCLD page_buffer CCLD chunk_info CCLD cmpd_dset CCLD cmpd_dtransform CCLD filter_fail CCLD extend CCLD external CCLD direct_chunk CCLD objcopy_ref CCLD unlink CCLD twriteorder CCLD big CCLD mtime CCLD fillval CCLD mount CCLD flush1 CCLD flush2 CCLD app_ref CCLD enum CCLD set_extent CCLD ttsafe CCLD enc_dec_plist CCLD enc_dec_plist_cross_platform CCLD getname CCLD vfd CCLD ros3 CCLD s3comms CCLD ntypes CCLD hdfs CCLD dangle CCLD dtransform CCLD reserved CCLD cross_read CCLD freespace CCLD mf CCLD file_image CCLD unregister CCLD cache_logging CCLD cork CCLD swmr CCLD thread_id CCLD vol CCLD timer CCLD error_test CCLD err_compat CCLD tcheck_version CCLD testmeta CCLD accum_swmr_reader CCLD atomic_writer CCLD atomic_reader CCLD external_env CCLD links_env CCLD filenotclosed CCLD del_many_dense_attrs CCLD flushrefresh CCLD use_append_chunk_mirror CCLD use_append_chunk CCLD use_append_mchunks CCLD use_disable_mdc_flushes CCLD swmr_generator CCLD swmr_start_write CCLD swmr_reader CCLD swmr_writer CCLD swmr_remove_reader CCLD swmr_remove_writer CCLD swmr_addrem_writer CCLD swmr_sparse_reader CCLD swmr_sparse_writer CCLD swmr_check_compat_vfd CCLD vds_env CCLD vds_swmr_gen CCLD vds_swmr_reader CCLD vds_swmr_writer CCLD mirror_vfd CCLD btree2 CCLD fheap CCLD dt_arith CCLD dtypes CCLD dsets CCLD efc CCLD objcopy CCLD cache CCLD testhdf5 CCLD links CCLD vds gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/test' Making all in testpar gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/testpar' CC t_mpi.o CC t_bigio.o CC testphdf5.o CC t_dset.o CC t_file.o CC t_file_image.o CC t_mdset.o CC t_ph5basic.o CC t_coll_chunk.o CC t_span_tree.o CC t_chunk_alloc.o CC t_filter_read.o CC t_prop.o CC t_coll_md_read.o CC t_cache.o CC t_cache_image.o CC t_pread.o CC t_pshutdown.o CC t_prestart.o CC t_init_term.o CC t_shapesame.o CC t_filters_parallel.o CC t_2Gio.o CC t_pflush1.o CC t_pflush2.o CCLD t_init_term CCLD t_pflush2 CCLD t_pshutdown CCLD t_pflush1 CCLD t_prestart CCLD t_pread CCLD t_mpi CCLD t_cache_image CCLD t_bigio CCLD t_cache CCLD t_shapesame CCLD testphdf5 CCLD t_2Gio CCLD t_filters_parallel gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/testpar' Making all in bin gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/bin' gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/bin' Making all in utils gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/utils' Making all in mirror_vfd gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/utils/mirror_vfd' CC mirror_server.o CC mirror_writer.o CC mirror_remote.o CC mirror_server_stop.o CCLD mirror_server_stop CCLD mirror_server gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/utils/mirror_vfd' gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/utils' gmake[2]: Nothing to be done for 'all-am'. gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/utils' gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/utils' Making all in tools gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools' Making all in lib gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/lib' CC h5tools.lo CC h5tools_dump.lo CC h5tools_str.lo CC h5tools_utils.lo CC h5diff.lo CC h5diff_array.lo CC h5diff_attr.lo CC h5diff_dset.lo CC h5diff_util.lo CC h5trav.lo CC h5tools_filters.lo CC h5tools_ref.lo CC h5tools_type.lo CC io_timer.lo CCLD libh5tools.la gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/lib' Making all in src gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src' Making all in h5diff gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5diff' CC h5diff_main.o CC h5diff_common.o CC ph5diff_main.o CCLD h5diff CCLD ph5diff gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5diff' Making all in h5ls gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5ls' CC h5ls.o CCLD h5ls gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5ls' Making all in h5dump gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5dump' CC h5dump.o CC h5dump_ddl.o CC h5dump_xml.o CCLD h5dump gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5dump' Making all in misc gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/misc' CC h5debug.o CC h5repart.o CC h5mkgrp.o CC h5clear.o CCLD h5clear CCLD h5mkgrp CCLD h5repart CCLD h5debug gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/misc' Making all in h5import gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5import' CC h5import.o CCLD h5import gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5import' Making all in h5repack gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5repack' CC h5repack.lo CC h5repack_copy.lo CC h5repack_filters.lo CC h5repack_opttable.lo CC h5repack_parse.lo CC h5repack_refs.lo CC h5repack_verify.lo CC h5repack_main.o CCLD libh5repack.la CCLD h5repack gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5repack' Making all in h5jam gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5jam' CC h5jam.o CC h5unjam.o CCLD h5unjam CCLD h5jam gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5jam' Making all in h5copy gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5copy' CC h5copy.o CCLD h5copy gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5copy' Making all in h5format_convert gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5format_convert' CC h5format_convert.o CCLD h5format_convert gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5format_convert' Making all in h5stat gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5stat' CC h5stat.o CCLD h5stat gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5stat' gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src' gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src' Making all in test gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test' Making all in h5diff gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5diff' CC h5diffgentest.o CCLD h5diffgentest gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5diff' Making all in h5ls gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5ls' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5ls' Making all in h5dump gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5dump' CC h5dumpgentest.o CC binread.o CCLD binread CCLD h5dumpgentest gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5dump' Making all in misc gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/misc' Making all in vds gmake[4]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/misc/vds' CC UC_1_one_dim_gen.o CC UC_2_two_dims_gen.o CC UC_3_gaps_gen.o CC UC_4_printf_gen.o CC UC_5_stride_gen.o CCLD UC_3_gaps_gen CCLD UC_4_printf_gen CCLD UC_1_one_dim_gen CCLD UC_2_two_dims_gen CCLD UC_5_stride_gen gmake[4]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/misc/vds' gmake[4]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/misc' CC h5repart_gentest.o CC h5clear_gentest.o CC talign.o CC repart_test.o CC clear_open_chk.o CCLD clear_open_chk CCLD h5repart_gentest CCLD repart_test CCLD talign CCLD h5clear_gentest gmake[4]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/misc' gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/misc' Making all in h5import gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5import' CC h5importtest.o CCLD h5importtest gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5import' Making all in h5repack gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5repack' CC h5repacktst.o CC testh5repack_detect_szip.o CC h5repackgentest.o CCLD testh5repack_detect_szip CCLD h5repackgentest CCLD h5repacktst gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5repack' Making all in h5jam gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5jam' CC tellub.o CC h5jamgentest.o CC getub.o CCLD getub CCLD tellub CCLD h5jamgentest gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5jam' Making all in h5copy gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5copy' CC h5copygentest.o CCLD h5copygentest gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5copy' Making all in h5format_convert gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5format_convert' CC h5fc_gentest.o CC h5fc_chk_idx.o CCLD h5fc_chk_idx CCLD h5fc_gentest gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5format_convert' Making all in h5stat gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5stat' CC h5stat_gentest.o CCLD h5stat_gentest gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5stat' Making all in perform gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/perform' CC sio_perf.o CC sio_engine.o CC pio_perf.o CC pio_engine.o CC iopipe.o CC chunk.o CC chunk_cache.o CC overhead.o CC zip_perf.o CC perf_meta.o CC perf.o CCLD zip_perf CCLD iopipe CCLD chunk CCLD chunk_cache CCLD overhead CCLD perf CCLD perf_meta CCLD h5perf_serial CCLD h5perf gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/perform' gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test' gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test' gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools' gmake[2]: Nothing to be done for 'all-am'. gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools' gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools' Making all in . gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1' gmake[1]: Nothing to be done for 'all-am'. gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1' Making all in fortran gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran' Making all in src gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/src' CC H5match_types.o CCLD H5match_types ./H5match_types /opt/rh/devtoolset-10/root/usr/bin/gmake all-am gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/src' PPFC H5fortran_types.lo PPFC H5fortkit.lo mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o H5_buildiface.o H5_buildiface.F90 CC H5f90kit.lo CC H5_f.lo CC H5Af.lo CC H5Df.lo CC H5Ef.lo CC H5Ff.lo CC H5Gf.lo CC H5If.lo CC H5Lf.lo CC H5Of.lo CC H5Pf.lo CC H5Rf.lo CC H5Sf.lo CC H5Tf.lo CC H5Zf.lo libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5fortran_types.F90 -o H5fortran_types.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5fortkit.F90 -o H5fortkit.o PPFC H5f90global.lo libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5f90global.F90 -o H5f90global.o PPFC H5Aff.lo PPFC H5Fff.lo PPFC H5Dff.lo PPFC H5Eff.lo PPFC H5Gff.lo PPFC H5Iff.lo PPFC H5Lff.lo PPFC H5Off.lo PPFC H5Pff.lo PPFC H5Rff.lo PPFC H5Sff.lo PPFC H5Tff.lo PPFC H5VLff.lo PPFC H5Zff.lo libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Fff.F90 -o H5Fff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Aff.F90 -o H5Aff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Iff.F90 -o H5Iff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Gff.F90 -o H5Gff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Lff.F90 -o H5Lff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Off.F90 -o H5Off.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Rff.F90 -o H5Rff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Pff.F90 -o H5Pff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Dff.F90 -o H5Dff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Zff.F90 -o H5Zff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Eff.F90 -o H5Eff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Sff.F90 -o H5Sff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Tff.F90 -o H5Tff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5VLff.F90 -o H5VLff.o PPFC H5_ff.lo libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5_ff.F90 -o H5_ff.o FCLD H5_buildiface ./H5_buildiface PPFC H5_gen.lo libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5_gen.F90 -o H5_gen.o PPFC HDF5.lo libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c HDF5.F90 -o HDF5.o FCLD libhdf5_fortran.la gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/src' gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/src' Making all in test gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/test' mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o H5_test_buildiface.o H5_test_buildiface.F90 FCLD H5_test_buildiface ./H5_test_buildiface PPFC tf_gen.lo libtool: compile: mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c tf_gen.F90 -o tf_gen.o PPFC tf.lo libtool: compile: mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c tf.F90 -o tf.o CC t.lo FCLD libh5test_fortran.la mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5F.o tH5F.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5D.o tH5D.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5R.o tH5R.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5S.o tH5S.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5T.o tH5T.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5VL.o tH5VL.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5Z.o tH5Z.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5Sselect.o tH5Sselect.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5P.o tH5P.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5A.o tH5A.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5I.o tH5I.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5G.o tH5G.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5E.o tH5E.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tHDF5.o tHDF5.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o fortranlib_test.o fortranlib_test.F90 FCLD fortranlib_test mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o fflush1.o fflush1.F90 FCLD fflush1 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o fflush2.o fflush2.F90 FCLD fflush2 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5O.o tH5O.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5A_1_8.o tH5A_1_8.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5G_1_8.o tH5G_1_8.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5MISC_1_8.o tH5MISC_1_8.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tHDF5_1_8.o tHDF5_1_8.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o fortranlib_test_1_8.o fortranlib_test_1_8.F90 FCLD fortranlib_test_1_8 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5E_F03.o tH5E_F03.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5F_F03.o tH5F_F03.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5L_F03.o tH5L_F03.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5O_F03.o tH5O_F03.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5P_F03.o tH5P_F03.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5T_F03.o tH5T_F03.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tHDF5_F03.o tHDF5_F03.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o fortranlib_test_F03.o fortranlib_test_F03.F90 FCLD fortranlib_test_F03 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o vol_connector.o vol_connector.F90 FCLD vol_connector gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/test' Making all in testpar gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/testpar' mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/test -I../../fortran/src -I../../fortran/test -O3 -fallow-argument-mismatch -c -o ptest.o ptest.f90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/test -I../../fortran/src -I../../fortran/test -O3 -fallow-argument-mismatch -c -o hyper.o hyper.f90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/test -I../../fortran/src -I../../fortran/test -O3 -fallow-argument-mismatch -c -o mdset.o mdset.f90 gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/testpar' gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran' Error running make; make install on HDF5: Could not execute "['/opt/rh/devtoolset-10/root/usr/bin/gmake -j42 -l104.8 ']": Making all in src gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/src' /opt/rh/devtoolset-10/root/usr/bin/gmake all-am gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/src' CC H5.lo CC H5checksum.lo CC H5dbg.lo CC H5make_libsettings.o CC H5system.lo CC H5timer.lo CC H5trace.lo CC H5A.lo CC H5Abtree2.lo CC H5Adense.lo CC H5Adeprec.lo CC H5Aint.lo CC H5Atest.lo CC H5AC.lo CC H5ACdbg.lo CC H5ACproxy_entry.lo CC H5B.lo CC H5Bcache.lo CC H5Bdbg.lo CC H5B2.lo CC H5B2cache.lo CC H5B2dbg.lo CC H5B2hdr.lo CC H5B2int.lo CC H5B2internal.lo CC H5B2leaf.lo CC H5B2stat.lo CC H5B2test.lo CC H5C.lo CC H5Cdbg.lo CC H5Cepoch.lo CC H5Cimage.lo CC H5Clog.lo CC H5Clog_json.lo CC H5Clog_trace.lo CC H5Cprefetched.lo CC H5Cquery.lo CC H5Ctag.lo CC H5Ctest.lo CC H5CS.lo CC H5CX.lo CC H5D.lo CC H5Dbtree.lo CC H5Dbtree2.lo CC H5Dchunk.lo CC H5Dcompact.lo CC H5Dcontig.lo CC H5Ddbg.lo CC H5Ddeprec.lo CC H5Dearray.lo CC H5Defl.lo CC H5Dfarray.lo CC H5Dint.lo CC H5Dfill.lo CC H5Dio.lo CC H5Dlayout.lo CC H5Dnone.lo CC H5Doh.lo CC H5Dscatgath.lo CC H5Dselect.lo CC H5Dsingle.lo CC H5Dtest.lo CC H5Dvirtual.lo CC H5E.lo CC H5Edeprec.lo CC H5Eint.lo CC H5EA.lo CC H5EAcache.lo CC H5EAdbg.lo CC H5EAdblkpage.lo CC H5EAdblock.lo CC H5EAhdr.lo CC H5EAiblock.lo CC H5EAint.lo CC H5EAsblock.lo CC H5EAtest.lo CC H5EAstat.lo CC H5F.lo CC H5Faccum.lo CC H5Fcwfs.lo CC H5Fdbg.lo CC H5Fdeprec.lo CC H5Fefc.lo CC H5Ffake.lo CC H5Fint.lo CC H5Fio.lo CC H5Fmount.lo CC H5Fquery.lo CC H5Fsfile.lo CC H5Fspace.lo CC H5Fsuper.lo CC H5Fsuper_cache.lo CC H5Ftest.lo CC H5FA.lo CC H5FAcache.lo CC H5FAdbg.lo CC H5FAdblock.lo CC H5FAdblkpage.lo CC H5FAhdr.lo CC H5FAint.lo CC H5FAstat.lo CC H5FAtest.lo CC H5FD.lo CC H5FDcore.lo CC H5FDfamily.lo CC H5FDhdfs.lo CC H5FDint.lo CC H5FDlog.lo CC H5FDmulti.lo CC H5FDspace.lo CC H5FDsec2.lo CC H5FDsplitter.lo CC H5FDstdio.lo CC H5FDtest.lo CC H5FL.lo CC H5FO.lo CC H5FS.lo CC H5FScache.lo CC H5FSdbg.lo CC H5FSint.lo CC H5FSsection.lo CC H5FSstat.lo CC H5FStest.lo CC H5G.lo CC H5Gbtree2.lo CC H5Gcache.lo CC H5Gcompact.lo CC H5Gdense.lo CC H5Gdeprec.lo CC H5Gent.lo CC H5Gint.lo CC H5Glink.lo CC H5Gloc.lo CC H5Gname.lo CC H5Gnode.lo CC H5Gobj.lo CC H5Goh.lo CC H5Groot.lo CC H5Gstab.lo CC H5Gtest.lo CC H5Gtraverse.lo CC H5HF.lo CC H5HFbtree2.lo CC H5HFcache.lo CC H5HFdbg.lo CC H5HFdblock.lo CC H5HFdtable.lo CC H5HFhdr.lo CC H5HFhuge.lo CC H5HFiblock.lo CC H5HFiter.lo CC H5HFman.lo CC H5HFsection.lo CC H5HFspace.lo CC H5HFstat.lo CC H5HFtest.lo CC H5HFtiny.lo CC H5HG.lo CC H5HGcache.lo CC H5HGdbg.lo CC H5HGquery.lo CC H5HL.lo CC H5HLdbg.lo CC H5HLcache.lo CC H5HLint.lo CC H5HLprfx.lo CC H5HLdblk.lo CC H5HP.lo CC H5I.lo CC H5Idbg.lo CC H5Iint.lo CC H5Itest.lo CC H5L.lo CC H5Ldeprec.lo CC H5Lexternal.lo CC H5M.lo CC H5MF.lo CC H5MFaggr.lo CC H5MFdbg.lo CC H5MFsection.lo CC H5MM.lo CC H5MP.lo CC H5MPtest.lo CC H5O.lo CC H5Odeprec.lo CC H5Oainfo.lo CC H5Oalloc.lo CC H5Oattr.lo CC H5Oattribute.lo CC H5Obogus.lo CC H5Obtreek.lo CC H5Ocache.lo CC H5Ocache_image.lo CC H5Ochunk.lo CC H5Ocont.lo CC H5Ocopy.lo CC H5Ocopy_ref.lo CC H5Odbg.lo CC H5Odrvinfo.lo CC H5Odtype.lo CC H5Oefl.lo CC H5Ofill.lo CC H5Oflush.lo CC H5Ofsinfo.lo CC H5Oginfo.lo CC H5Oint.lo CC H5Olayout.lo CC H5Olinfo.lo CC H5Olink.lo CC H5Omessage.lo CC H5Omtime.lo CC H5Oname.lo CC H5Onull.lo CC H5Opline.lo CC H5Orefcount.lo CC H5Osdspace.lo CC H5Oshared.lo CC H5Oshmesg.lo CC H5Ostab.lo CC H5Otest.lo CC H5Ounknown.lo CC H5P.lo CC H5Pacpl.lo CC H5Pdapl.lo CC H5Pdcpl.lo CC H5Pdeprec.lo CC H5Pdxpl.lo CC H5Pencdec.lo CC H5Pfapl.lo CC H5Pfcpl.lo CC H5Pfmpl.lo CC H5Pgcpl.lo CC H5Pint.lo CC H5Plapl.lo CC H5Plcpl.lo CC H5Pmapl.lo CC H5Pmcpl.lo CC H5Pocpl.lo CC H5Pocpypl.lo CC H5Pstrcpl.lo CC H5Ptest.lo CC H5PB.lo CC H5PL.lo CC H5PLint.lo CC H5PLpath.lo CC H5PLplugin_cache.lo CC H5R.lo CC H5Rdeprec.lo CC H5Rint.lo CC H5UC.lo CC H5RS.lo CC H5S.lo CC H5Sall.lo CC H5Sdbg.lo CC H5Sdeprec.lo CC H5Shyper.lo CC H5Snone.lo CC H5Spoint.lo CC H5Sselect.lo CC H5Stest.lo CC H5SL.lo CC H5SM.lo CC H5SMbtree2.lo CC H5SMcache.lo CC H5SMmessage.lo CC H5SMtest.lo CC H5T.lo CC H5Tarray.lo CC H5Tbit.lo CC H5Tcommit.lo CC H5Tcompound.lo CC H5Tconv.lo CC H5Tcset.lo CC H5Tdbg.lo CC H5Tdeprec.lo CC H5Tenum.lo CC H5Tfields.lo CC H5Tfixed.lo CC H5Tfloat.lo CC H5detect.o CC H5Tnative.lo CC H5Toffset.lo CC H5Toh.lo CC H5Topaque.lo CC H5Torder.lo CC H5Tref.lo CC H5Tpad.lo CC H5Tprecis.lo CC H5Tstrpad.lo CC H5Tvisit.lo CC H5Tvlen.lo CC H5TS.lo CC H5VL.lo CC H5VLcallback.lo CC H5VLint.lo CC H5VLnative.lo CC H5VLnative_attr.lo CC H5VLnative_blob.lo CC H5VLnative_dataset.lo CC H5VLnative_datatype.lo CC H5VLnative_file.lo CC H5VLnative_group.lo CC H5VLnative_link.lo CC H5VLnative_introspect.lo CC H5VLnative_object.lo CC H5VLnative_token.lo CC H5VLpassthru.lo CC H5VM.lo CC H5WB.lo CC H5Z.lo CC H5Zdeflate.lo CC H5Zfletcher32.lo CC H5Znbit.lo CC H5Zshuffle.lo CC H5Zscaleoffset.lo CC H5Zszip.lo CC H5Ztrans.lo CC H5mpi.lo CC H5ACmpio.lo CC H5Cmpio.lo CC H5Dmpio.lo CC H5Fmpi.lo CC H5FDmpi.lo CC H5FDmpio.lo CC H5Smpio.lo CCLD H5make_libsettings LD_LIBRARY_PATH="$LD_LIBRARY_PATH`echo | \ sed -e 's/-L/:/g' -e 's/ //g'`" \ ./H5make_libsettings H5lib_settings.c || \ (test $HDF5_Make_Ignore && echo "*** Error ignored") || \ (rm -f H5lib_settings.c ; exit 1) CC H5lib_settings.lo CCLD H5detect LD_LIBRARY_PATH="$LD_LIBRARY_PATH`echo | \ sed -e 's/-L/:/g' -e 's/ //g'`" \ ./H5detect H5Tinit.c || \ (test $HDF5_Make_Ignore && echo "*** Error ignored") || \ (rm -f H5Tinit.c ; exit 1) CC H5Tinit.lo CCLD libhdf5.la gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/src' gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/src' Making all in test gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/test' CC h5test.lo CC testframe.lo CC cache_common.lo CC swmr_common.lo CC external_common.lo CC testhdf5.o CC tarray.o CC tattr.o CC tchecksum.o CC tconfig.o CC tfile.o CC tgenprop.o CC th5o.o CC th5s.o CC tcoords.o CC theap.o CC tid.o CC titerate.o CC tmeta.o CC tmisc.o CC trefer.o CC trefer_deprec.o CC trefstr.o CC tselect.o CC tskiplist.o CC tsohm.o CC ttime.o CC tunicode.o CC tvlstr.o CC tvltypes.o CC cache.o CC cache_api.o CC cache_image.o CC genall5.o CC cache_tagging.o CC lheap.o CC ohdr.o CC stab.o CC gheap.o CC evict_on_close.o CC farray.o CC earray.o CC btree2.o CC fheap.o CC pool.o CC accum.o CC hyperslab.o CC istore.o CC bittests.o CC dt_arith.o CC page_buffer.o CC dtypes.o CC dsets.o CC chunk_info.o CC cmpd_dset.o CC cmpd_dtransform.o CC filter_fail.o CC extend.o CC direct_chunk.o CC external.o CC efc.o CC objcopy.o CC objcopy_ref.o CC links.o CC unlink.o CC twriteorder.o CC big.o CC mtime.o CC fillval.o CC mount.o CC flush1.o CC flush2.o CC app_ref.o CC enum.o CC set_extent.o CC ttsafe.o CC ttsafe_dcreate.o CC ttsafe_error.o CC ttsafe_cancel.o CC ttsafe_acreate.o CC ttsafe_attr_vlen.o CC ttsafe_rec_rw_lock.o CC enc_dec_plist.o CC enc_dec_plist_cross_platform.o CC getname.o CC vfd.o CC ros3.o CC s3comms.o CC hdfs.o CC ntypes.o CC dangle.o CC dtransform.o CC reserved.o CC cross_read.o CC freespace.o CC mf.o CC vds.o CC file_image.o CC unregister.o CC cache_logging.o CC cork.o CC swmr.o CC thread_id.o CC vol.o CC timer.o CC error_test.o CC err_compat.o CC tcheck_version.o CC testmeta.o CC accum_swmr_reader.o CC atomic_writer.o CC atomic_reader.o CC external_env.o CC links_env.o CC filenotclosed.o CC del_many_dense_attrs.o CC flushrefresh.o CC use_append_chunk.o CC use_common.o CC use_append_chunk_mirror.o CC use_append_mchunks.o CC use_disable_mdc_flushes.o CC swmr_generator.o CC swmr_start_write.o CC swmr_reader.o CC swmr_writer.o CC swmr_remove_reader.o CC swmr_remove_writer.o CC swmr_addrem_writer.o CC swmr_sparse_reader.o CC swmr_sparse_writer.o CC swmr_check_compat_vfd.o CC vds_env.o CC vds_swmr_gen.o CC vds_swmr_reader.o CC vds_swmr_writer.o CC mirror_vfd.o CCLD libh5test.la CCLD cache_api CCLD cache_image CCLD cache_tagging CCLD lheap CCLD ohdr CCLD stab CCLD gheap CCLD evict_on_close CCLD farray CCLD earray CCLD accum CCLD pool CCLD hyperslab CCLD istore CCLD bittests CCLD page_buffer CCLD chunk_info CCLD cmpd_dset CCLD cmpd_dtransform CCLD filter_fail CCLD extend CCLD external CCLD direct_chunk CCLD objcopy_ref CCLD unlink CCLD twriteorder CCLD big CCLD mtime CCLD fillval CCLD mount CCLD flush1 CCLD flush2 CCLD app_ref CCLD enum CCLD set_extent CCLD ttsafe CCLD enc_dec_plist CCLD enc_dec_plist_cross_platform CCLD getname CCLD vfd CCLD ros3 CCLD s3comms CCLD ntypes CCLD hdfs CCLD dangle CCLD dtransform CCLD reserved CCLD cross_read CCLD freespace CCLD mf CCLD file_image CCLD unregister CCLD cache_logging CCLD cork CCLD swmr CCLD thread_id CCLD vol CCLD timer CCLD error_test CCLD err_compat CCLD tcheck_version CCLD testmeta CCLD accum_swmr_reader CCLD atomic_writer CCLD atomic_reader CCLD external_env CCLD links_env CCLD filenotclosed CCLD del_many_dense_attrs CCLD flushrefresh CCLD use_append_chunk_mirror CCLD use_append_chunk CCLD use_append_mchunks CCLD use_disable_mdc_flushes CCLD swmr_generator CCLD swmr_start_write CCLD swmr_reader CCLD swmr_writer CCLD swmr_remove_reader CCLD swmr_remove_writer CCLD swmr_addrem_writer CCLD swmr_sparse_reader CCLD swmr_sparse_writer CCLD swmr_check_compat_vfd CCLD vds_env CCLD vds_swmr_gen CCLD vds_swmr_reader CCLD vds_swmr_writer CCLD mirror_vfd CCLD btree2 CCLD fheap CCLD dt_arith CCLD dtypes CCLD dsets CCLD efc CCLD objcopy CCLD cache CCLD testhdf5 CCLD links CCLD vds gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/test' Making all in testpar gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/testpar' CC t_mpi.o CC t_bigio.o CC testphdf5.o CC t_dset.o CC t_file.o CC t_file_image.o CC t_mdset.o CC t_ph5basic.o CC t_coll_chunk.o CC t_span_tree.o CC t_chunk_alloc.o CC t_filter_read.o CC t_prop.o CC t_coll_md_read.o CC t_cache.o CC t_cache_image.o CC t_pread.o CC t_pshutdown.o CC t_prestart.o CC t_init_term.o CC t_shapesame.o CC t_filters_parallel.o CC t_2Gio.o CC t_pflush1.o CC t_pflush2.o CCLD t_init_term CCLD t_pflush2 CCLD t_pshutdown CCLD t_pflush1 CCLD t_prestart CCLD t_pread CCLD t_mpi CCLD t_cache_image CCLD t_bigio CCLD t_cache CCLD t_shapesame CCLD testphdf5 CCLD t_2Gio CCLD t_filters_parallel gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/testpar' Making all in bin gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/bin' gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/bin' Making all in utils gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/utils' Making all in mirror_vfd gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/utils/mirror_vfd' CC mirror_server.o CC mirror_writer.o CC mirror_remote.o CC mirror_server_stop.o CCLD mirror_server_stop CCLD mirror_server gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/utils/mirror_vfd' gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/utils' gmake[2]: Nothing to be done for 'all-am'. gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/utils' gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/utils' Making all in tools gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools' Making all in lib gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/lib' CC h5tools.lo CC h5tools_dump.lo CC h5tools_str.lo CC h5tools_utils.lo CC h5diff.lo CC h5diff_array.lo CC h5diff_attr.lo CC h5diff_dset.lo CC h5diff_util.lo CC h5trav.lo CC h5tools_filters.lo CC h5tools_ref.lo CC h5tools_type.lo CC io_timer.lo CCLD libh5tools.la gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/lib' Making all in src gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src' Making all in h5diff gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5diff' CC h5diff_main.o CC h5diff_common.o CC ph5diff_main.o CCLD h5diff CCLD ph5diff gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5diff' Making all in h5ls gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5ls' CC h5ls.o CCLD h5ls gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5ls' Making all in h5dump gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5dump' CC h5dump.o CC h5dump_ddl.o CC h5dump_xml.o CCLD h5dump gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5dump' Making all in misc gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/misc' CC h5debug.o CC h5repart.o CC h5mkgrp.o CC h5clear.o CCLD h5clear CCLD h5mkgrp CCLD h5repart CCLD h5debug gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/misc' Making all in h5import gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5import' CC h5import.o CCLD h5import gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5import' Making all in h5repack gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5repack' CC h5repack.lo CC h5repack_copy.lo CC h5repack_filters.lo CC h5repack_opttable.lo CC h5repack_parse.lo CC h5repack_refs.lo CC h5repack_verify.lo CC h5repack_main.o CCLD libh5repack.la CCLD h5repack gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5repack' Making all in h5jam gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5jam' CC h5jam.o CC h5unjam.o CCLD h5unjam CCLD h5jam gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5jam' Making all in h5copy gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5copy' CC h5copy.o CCLD h5copy gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5copy' Making all in h5format_convert gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5format_convert' CC h5format_convert.o CCLD h5format_convert gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5format_convert' Making all in h5stat gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5stat' CC h5stat.o CCLD h5stat gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src/h5stat' gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src' gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/src' Making all in test gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test' Making all in h5diff gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5diff' CC h5diffgentest.o CCLD h5diffgentest gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5diff' Making all in h5ls gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5ls' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5ls' Making all in h5dump gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5dump' CC h5dumpgentest.o CC binread.o CCLD binread CCLD h5dumpgentest gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5dump' Making all in misc gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/misc' Making all in vds gmake[4]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/misc/vds' CC UC_1_one_dim_gen.o CC UC_2_two_dims_gen.o CC UC_3_gaps_gen.o CC UC_4_printf_gen.o CC UC_5_stride_gen.o CCLD UC_3_gaps_gen CCLD UC_4_printf_gen CCLD UC_1_one_dim_gen CCLD UC_2_two_dims_gen CCLD UC_5_stride_gen gmake[4]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/misc/vds' gmake[4]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/misc' CC h5repart_gentest.o CC h5clear_gentest.o CC talign.o CC repart_test.o CC clear_open_chk.o CCLD clear_open_chk CCLD h5repart_gentest CCLD repart_test CCLD talign CCLD h5clear_gentest gmake[4]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/misc' gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/misc' Making all in h5import gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5import' CC h5importtest.o CCLD h5importtest gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5import' Making all in h5repack gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5repack' CC h5repacktst.o CC testh5repack_detect_szip.o CC h5repackgentest.o CCLD testh5repack_detect_szip CCLD h5repackgentest CCLD h5repacktst gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5repack' Making all in h5jam gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5jam' CC tellub.o CC h5jamgentest.o CC getub.o CCLD getub CCLD tellub CCLD h5jamgentest gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5jam' Making all in h5copy gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5copy' CC h5copygentest.o CCLD h5copygentest gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5copy' Making all in h5format_convert gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5format_convert' CC h5fc_gentest.o CC h5fc_chk_idx.o CCLD h5fc_chk_idx CCLD h5fc_gentest gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5format_convert' Making all in h5stat gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5stat' CC h5stat_gentest.o CCLD h5stat_gentest gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/h5stat' Making all in perform gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/perform' CC sio_perf.o CC sio_engine.o CC pio_perf.o CC pio_engine.o CC iopipe.o CC chunk.o CC chunk_cache.o CC overhead.o CC zip_perf.o CC perf_meta.o CC perf.o CCLD zip_perf CCLD iopipe CCLD chunk CCLD chunk_cache CCLD overhead CCLD perf CCLD perf_meta CCLD h5perf_serial CCLD h5perf gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test/perform' gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test' gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools/test' gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools' gmake[2]: Nothing to be done for 'all-am'. gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools' gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/tools' Making all in . gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1' gmake[1]: Nothing to be done for 'all-am'. gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1' Making all in fortran gmake[1]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran' Making all in src gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/src' CC H5match_types.o CCLD H5match_types ./H5match_types /opt/rh/devtoolset-10/root/usr/bin/gmake all-am gmake[3]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/src' PPFC H5fortran_types.lo PPFC H5fortkit.lo mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o H5_buildiface.o H5_buildiface.F90 CC H5f90kit.lo CC H5_f.lo CC H5Af.lo CC H5Df.lo CC H5Ef.lo CC H5Ff.lo CC H5Gf.lo CC H5If.lo CC H5Lf.lo CC H5Of.lo CC H5Pf.lo CC H5Rf.lo CC H5Sf.lo CC H5Tf.lo CC H5Zf.lo libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5fortran_types.F90 -o H5fortran_types.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5fortkit.F90 -o H5fortkit.o PPFC H5f90global.lo libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5f90global.F90 -o H5f90global.o PPFC H5Aff.lo PPFC H5Fff.lo PPFC H5Dff.lo PPFC H5Eff.lo PPFC H5Gff.lo PPFC H5Iff.lo PPFC H5Lff.lo PPFC H5Off.lo PPFC H5Pff.lo PPFC H5Rff.lo PPFC H5Sff.lo PPFC H5Tff.lo PPFC H5VLff.lo PPFC H5Zff.lo libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Fff.F90 -o H5Fff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Aff.F90 -o H5Aff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Iff.F90 -o H5Iff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Gff.F90 -o H5Gff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Lff.F90 -o H5Lff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Off.F90 -o H5Off.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Rff.F90 -o H5Rff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Pff.F90 -o H5Pff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Dff.F90 -o H5Dff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Zff.F90 -o H5Zff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Eff.F90 -o H5Eff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Sff.F90 -o H5Sff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5Tff.F90 -o H5Tff.o libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5VLff.F90 -o H5VLff.o PPFC H5_ff.lo libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5_ff.F90 -o H5_ff.o FCLD H5_buildiface ./H5_buildiface PPFC H5_gen.lo libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c H5_gen.F90 -o H5_gen.o PPFC HDF5.lo libtool: compile: mpif90 -I. -I../../src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../src -I../../fortran/src -O3 -fallow-argument-mismatch -c HDF5.F90 -o HDF5.o FCLD libhdf5_fortran.la gmake[3]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/src' gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/src' Making all in test gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/test' mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o H5_test_buildiface.o H5_test_buildiface.F90 FCLD H5_test_buildiface ./H5_test_buildiface PPFC tf_gen.lo libtool: compile: mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c tf_gen.F90 -o tf_gen.o PPFC tf.lo libtool: compile: mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c tf.F90 -o tf.o CC t.lo FCLD libh5test_fortran.la mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5F.o tH5F.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5D.o tH5D.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5R.o tH5R.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5S.o tH5S.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5T.o tH5T.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5VL.o tH5VL.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5Z.o tH5Z.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5Sselect.o tH5Sselect.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5P.o tH5P.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5A.o tH5A.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5I.o tH5I.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5G.o tH5G.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5E.o tH5E.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tHDF5.o tHDF5.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o fortranlib_test.o fortranlib_test.F90 FCLD fortranlib_test mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o fflush1.o fflush1.F90 FCLD fflush1 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o fflush2.o fflush2.F90 FCLD fflush2 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5O.o tH5O.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5A_1_8.o tH5A_1_8.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5G_1_8.o tH5G_1_8.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5MISC_1_8.o tH5MISC_1_8.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tHDF5_1_8.o tHDF5_1_8.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o fortranlib_test_1_8.o fortranlib_test_1_8.F90 FCLD fortranlib_test_1_8 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5E_F03.o tH5E_F03.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5F_F03.o tH5F_F03.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5L_F03.o tH5L_F03.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5O_F03.o tH5O_F03.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5P_F03.o tH5P_F03.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tH5T_F03.o tH5T_F03.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o tHDF5_F03.o tHDF5_F03.F90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o fortranlib_test_F03.o fortranlib_test_F03.F90 FCLD fortranlib_test_F03 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/src -O3 -fallow-argument-mismatch -c -o vol_connector.o vol_connector.F90 FCLD vol_connector gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/test' Making all in testpar gmake[2]: Entering directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/testpar' mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/test -I../../fortran/src -I../../fortran/test -O3 -fallow-argument-mismatch -c -o ptest.o ptest.f90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/test -I../../fortran/src -I../../fortran/test -O3 -fallow-argument-mismatch -c -o hyper.o hyper.f90 mpif90 -I. -I../../src -I../../fortran/src -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -fdiagnostics-urls=never -fno-diagnostics-color -s -O3 -I../../fortran/src -I../../fortran/test -I../../fortran/src -I../../fortran/test -O3 -fallow-argument-mismatch -c -o mdset.o mdset.f90 gmake[2]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran/testpar' gmake[1]: Leaving directory '/projects/ADSM/software/petsc-v3.17.2/gnu_O/externalpackages/hdf5-1.12.1/fortran'H5Bdbg.c: In function ‘H5B_debug’: H5Bdbg.c:114:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 114 | "Address:", bt->child[u]); | ^~~~~~~~~~ H5Bdbg.c:119:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 119 | HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3), "Left Key:"); | ^~~~~~~~~ H5Bdbg.c:121:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 121 | (void)(type->debug_key)(stream, indent + 6, MAX(0, fwidth - 6), H5B_NKEY(bt, shared, u), udata); | ^ H5Bdbg.c:124:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 124 | HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3), "Right Key:"); | ^~~~~~~~~ H5Bdbg.c:127:37: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 127 | udata); | ^~~~~ H5B2dbg.c: In function ‘H5B2__hdr_debug’: H5B2dbg.c:136:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 136 | hdr->node_info[u].max_nrec, hdr->node_info[u].split_nrec, hdr->node_info[u].merge_nrec); | ^~~ H5B2dbg.c: In function ‘H5B2__int_debug’: H5B2dbg.c:222:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 222 | internal->node_ptrs[u].addr); | ^~~~~~~~ H5B2dbg.c:226:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 226 | HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3), temp_str); | ^~~~~~~~~ H5B2dbg.c:229:29: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 229 | hdr->cb_ctx); | ^~~ H5B2dbg.c:236:15: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 236 | internal->node_ptrs[u].addr); | ^~~~~~~~ H5B2dbg.c: In function ‘H5B2__leaf_debug’: H5B2dbg.c:320:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 320 | HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3), temp_str); | ^~~~~~~~~ H5B2dbg.c:323:29: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 323 | hdr->cb_ctx); | ^~~ H5B2int.c: In function ‘H5B2__iterate_node’: H5B2int.c:1645:61: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1645 | (internal = H5B2__protect_internal(hdr, parent, (H5B2_node_ptr_t *)curr_node, depth, FALSE, | ^ H5B2int.c:1667:61: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1667 | if (NULL == (leaf = H5B2__protect_leaf(hdr, parent, (H5B2_node_ptr_t *)curr_node, FALSE, | ^ H5B2int.c: In function ‘H5B2__delete_node’: H5B2int.c:1762:61: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1762 | (internal = H5B2__protect_internal(hdr, parent, (H5B2_node_ptr_t *)curr_node, depth, FALSE, | ^ H5B2int.c:1781:61: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1781 | if (NULL == (leaf = H5B2__protect_leaf(hdr, parent, (H5B2_node_ptr_t *)curr_node, FALSE, | ^ H5trace.c: In function ‘H5_trace’: H5B2int.c: In function ‘H5B2__node_size’: H5trace.c:123:5: warning: missing initializer for field ‘system’ of ‘H5_timevals_t’ [-Wmissing-field-initializers] 123 | H5_timer_t function_timer = {{0}, {0}, {0}, FALSE}; | ^~~~~~~~~~ H5B2int.c:1842:65: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1842 | if (NULL == (internal = H5B2__protect_internal(hdr, parent, (H5B2_node_ptr_t *)curr_node, depth, FALSE, | ^ In file included from H5trace.c:34: H5private.h:594:12: note: ‘system’ declared here 594 | double system; /* System time in seconds */ | ^~~~~~ H5trace.c:123:5: warning: missing initializer for field ‘system’ of ‘H5_timevals_t’ [-Wmissing-field-initializers] 123 | H5_timer_t function_timer = {{0}, {0}, {0}, FALSE}; | ^~~~~~~~~~ In file included from H5trace.c:34: H5private.h:594:12: note: ‘system’ declared here 594 | double system; /* System time in seconds */ | ^~~~~~ H5B2int.c: In function ‘H5B2__update_flush_depend’: H5B2int.c:1945:47: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1945 | hdr, new_parent, (H5B2_node_ptr_t *)node_ptr, (uint16_t)(depth - 1), FALSE, | ^ H5trace.c:239:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 239 | unsigned n = (unsigned)MAX(0, (int)HDstrlen(argname) - 3); | ^~~~~~~~ H5B2int.c:1963:67: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1963 | (child_leaf = H5B2__protect_leaf(hdr, new_parent, (H5B2_node_ptr_t *)node_ptr, FALSE, | ^ In file included from /usr/include/string.h:633, from H5private.h:58, from H5system.c:33: H5system.c: In function ‘H5_build_extpath’: H5private.h:1448:28: warning: ‘__builtin_strncat’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 1448 | #define HDstrncat(X, Y, Z) strncat(X, Y, Z) | ^~~~~~~ H5system.c:858:13: note: in expansion of macro ‘HDstrncat’ 858 | HDstrncat(full_path, new_name, HDstrlen(new_name)); | ^~~~~~~~~ H5private.h:1448:28: note: length computed here 1448 | #define HDstrncat(X, Y, Z) strncat(X, Y, Z) | ^~~~~~~ H5system.c:858:13: note: in expansion of macro ‘HDstrncat’ 858 | HDstrncat(full_path, new_name, HDstrlen(new_name)); | ^~~~~~~~~ H5Cimage.c: In function ‘H5C__prep_for_file_close__setup_image_entries_array’: H5Cimage.c:3487:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3487 | } /* H5C__write_cache_image() */ | ^ H5Cimage.c:3487:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Cimage.c: In function ‘H5C__deserialize_prefetched_entry’: H5Cimage.c:3487:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function ‘H5C__autoadjust__ageout__remove_all_markers’: H5C.c:9240:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 9240 | } /* H5C__remove_entry() */ | ^ H5C.c:9240:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function ‘H5C__mark_flush_dep_clean’: H5C.c:9240:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function ‘H5C__autoadjust__ageout__insert_new_marker’: H5C.c:9240:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function ‘H5C__autoadjust__ageout__remove_excess_markers’: H5C.c:9240:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c:9240:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function ‘H5C__autoadjust__ageout__cycle_epoch_marker’: H5C.c:9240:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function ‘H5C__mark_flush_dep_serialized’: H5C.c:9240:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Cimage.c:463:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 463 | H5C__deserialize_prefetched_entry(H5F_t *f, H5C_t *cache_ptr, H5C_cache_entry_t **entry_ptr_ptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5Cimage.c:463:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Cimage.c:463:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function ‘H5C__mark_flush_dep_clean’: H5C.c:8228:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 8228 | H5C__mark_flush_dep_clean(H5C_cache_entry_t *entry) | ^~~~~~~~~~~~~~~~~~~~~~~~~ H5C.c:8228:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c:8228:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Dchunk.c: In function ‘H5D__chunk_io_init’: H5Dchunk.c:1087:61: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1087 | if ((file_space_normalized = H5S_hyper_normalize_offset((H5S_t *)file_space, old_offset)) < 0) | ^ H5Dchunk.c:1124:42: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1124 | if (H5S_hyper_denormalize_offset((H5S_t *)file_space, old_offset) < | ^ H5Dchunk.c: In function ‘H5D__create_chunk_map_single’: H5Dchunk.c:1549:26: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1549 | chunk_info->mspace = (H5S_t *)fm->mem_space; | ^ H5Dchunk.c: In function ‘H5D__create_chunk_file_map_hyper’: H5Dchunk.c:1832:41: warning: passing argument 1 of ‘H5S_combine_hyperslab’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1832 | if (H5S_combine_hyperslab(fm->file_space, H5S_SELECT_AND, coords, NULL, fm->chunk_dim, NULL, | ~~^~~~~~~~~~~~ In file included from H5Zprivate.h:29, from H5CXprivate.h:30, from H5Dchunk.c:54: H5Sprivate.h:278:45: note: expected ‘H5S_t *’ but argument is of type ‘const H5S_t *’ 278 | H5_DLL herr_t H5S_combine_hyperslab(H5S_t *old_space, H5S_seloper_t op, const hsize_t start[], | ~~~~~~~^~~~~~~~~ H5Dchunk.c: In function ‘H5D__create_chunk_mem_map_hyper’: H5Dchunk.c:1984:30: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1984 | chunk_info->mspace = (H5S_t *)fm->mem_space; | ^ H5Dchunk.c: In function ‘H5D__create_chunk_mem_map_1d’: H5Dchunk.c:2107:30: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2107 | chunk_info->mspace = (H5S_t *)fm->mem_space; | ^ H5Dchunk.c: In function ‘H5D__chunk_allocate’: H5Dchunk.c:4299:52: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 4299 | H5O_storage_chunk_t *sc = &(layout->storage.u.chunk); /* Convenience variable */ | ^ H5Dchunk.c:4385:83: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 4385 | if (H5D__fill_init(&fb_info, NULL, (H5MM_allocate_t)H5D__chunk_mem_alloc, (void *)pline, | ^ H5Dchunk.c:4386:28: warning: cast between incompatible function types from ‘void * (*)(void *, const void *)’ to ‘void (*)(void *, void *)’ [-Wcast-function-type] 4386 | (H5MM_free_t)H5D__chunk_mem_xfree, (void *)pline, &dset->shared->dcpl_cache.fill, | ^ H5Dchunk.c:4386:63: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 4386 | (H5MM_free_t)H5D__chunk_mem_xfree, (void *)pline, &dset->shared->dcpl_cache.fill, | ^ In file included from H5Dchunk.c:50: H5Dchunk.c: In function ‘H5D__chunk_collective_fill’: H5Dchunk.c:4988:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 4988 | HDqsort(chunk_disp_array, blocks, sizeof(MPI_Aint), H5D__chunk_cmp_addr); | ^~~~~~ H5private.h:1238:38: note: in definition of macro ‘HDqsort’ 1238 | #define HDqsort(M, N, Z, F) qsort(M, N, Z, F) | ^ H5Dchunk.c: In function ‘H5D__chunk_copy_cb’: H5Dchunk.c:6081:75: warning: passing argument 3 of ‘H5O_copy_expand_ref’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 6081 | if (H5O_copy_expand_ref(udata->file_src, udata->tid_src, udata->dt_src, buf, nbytes, | ~~~~~^~~~~~~~ In file included from H5Dprivate.h:25, from H5Dpkg.h:30, from H5Dchunk.c:55: H5Oprivate.h:997:74: note: expected ‘H5T_t *’ but argument is of type ‘const H5T_t *’ 997 | H5_DLL herr_t H5O_copy_expand_ref(H5F_t *file_src, hid_t tid_src, H5T_t *dt_src, void *buf_src, | ~~~~~~~^~~~~~ H5C.c: In function ‘H5C__mark_flush_dep_serialized’: H5C.c:8276:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 8276 | H5C__mark_flush_dep_serialized(H5C_cache_entry_t *entry_ptr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5C.c:8276:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c:8276:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Dchunk.c: In function ‘H5D__chunk_update_old_edge_chunks’: H5Dchunk.c:7453:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7453 | } /* end H5D__get_chunk_info_by_coord() */ | ^ H5Dchunk.c:7453:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Dchunk.c: In function ‘H5D__chunk_allocate’: H5Dchunk.c:7453:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Dint.c: In function ‘H5D__init_type’: H5Dint.c:615:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 615 | dset->shared->type = (H5T_t *)type; /* (Cast away const OK - QAK) */ | ^ In file included from H5Dint.c:23: H5Dint.c: In function ‘H5D_nameof’: H5Dint.c:2259:49: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2259 | FUNC_LEAVE_NOAPI(dataset ? &(dataset->path) : NULL) H5private.h:2450:13: note: in definition of macro ‘FUNC_LEAVE_NOAPI’ 2450 | return (ret_value); \ | ^~~~~~~~~ H5Dio.c: In function ‘H5D__read’: H5Dio.c:473:21: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 473 | buf = (void *)adj_buf; /* Casting away 'const' OK -QAK */ | ^ H5EAdbg.c: In function ‘H5EA__iblock_debug’: H5EAdbg.c:217:42: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 217 | ((uint8_t *)iblock->elmts) + (hdr->cparam.cls->nat_elmt_size * u)) < | ^ H5EAdbg.c:234:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 234 | iblock->dblk_addrs[u]); | ^~~~~~ H5EAdbg.c:249:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 249 | iblock->sblk_addrs[u]); | ^~~~~~ H5EAdbg.c: In function ‘H5EA__sblock_debug’: H5EAdbg.c:333:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 333 | sblock->dblk_addrs[u]); | ^~~~~~ H5EAdbg.c: In function ‘H5EA__dblock_debug’: H5EAdbg.c:409:38: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 409 | ((uint8_t *)dblock->elmts) + (hdr->cparam.cls->nat_elmt_size * u)) < 0) | ^ In file included from /usr/include/string.h:633, from H5private.h:58, from H5Eint.c:34: H5Eint.c: In function ‘H5E__get_msg’: H5private.h:1454:28: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5Eint.c:132:9: note: in expansion of macro ‘HDstrncpy’ 132 | HDstrncpy(msg_str, msg->msg, MIN((size_t)(len + 1), size)); | ^~~~~~~~~ In file included from H5Eint.c:34: H5private.h:1445:21: note: length computed here 1445 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Eint.c:128:20: note: in expansion of macro ‘HDstrlen’ 128 | len = (ssize_t)HDstrlen(msg->msg); | ^~~~~~~~ H5C.c: In function ‘H5C__flush_invalidate_cache’: H5C.c:5332:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5332 | H5C__flush_invalidate_cache(H5F_t *f, unsigned flags) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ H5Fdbg.c: In function ‘H5F_debug’: H5Fdbg.c:119:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 119 | H5G__ent_debug(f->shared->sblock->root_ent, stream, indent + 3, MAX(0, fwidth - 3), NULL); | ^~~~~~~~~~~~~~ H5Fdbg.c:134:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 134 | H5G__ent_debug(&root_ent, stream, indent + 3, MAX(0, fwidth - 3), NULL); | ^~~~~~~~~~~~~~ H5FAdbg.c: In function ‘H5FA__dblock_debug’: H5FAdbg.c:234:54: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 234 | (hdr->cparam.cls->nat_elmt_size * u)) < 0) | ^ H5FAdbg.c:251:42: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 251 | ((uint8_t *)dblock->elmts) + (hdr->cparam.cls->nat_elmt_size * u)) < | ^ H5FDhdfs.c: In function ‘H5Pget_fapl_hdfs’: H5FDhdfs.c:1735:24: warning: unused parameter ‘fapl_id’ [-Wunused-parameter] 1735 | H5Pget_fapl_hdfs(hid_t fapl_id, H5FD_hdfs_fapl_t *fa_out) | ~~~~~~^~~~~~~ H5FDhdfs.c:1735:51: warning: unused parameter ‘fa_out’ [-Wunused-parameter] 1735 | H5Pget_fapl_hdfs(hid_t fapl_id, H5FD_hdfs_fapl_t *fa_out) | ~~~~~~~~~~~~~~~~~~^~~~~~ H5FDhdfs.c: In function ‘H5Pset_fapl_hdfs’: H5FDhdfs.c:1749:24: warning: unused parameter ‘fapl_id’ [-Wunused-parameter] 1749 | H5Pset_fapl_hdfs(hid_t fapl_id, H5FD_hdfs_fapl_t *fa) | ~~~~~~^~~~~~~ H5FDhdfs.c:1749:51: warning: unused parameter ‘fa’ [-Wunused-parameter] 1749 | H5Pset_fapl_hdfs(hid_t fapl_id, H5FD_hdfs_fapl_t *fa) | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/string.h:633, from H5private.h:58, from H5E.c:51: In function ‘H5E__get_class_name’, inlined from ‘H5Eget_class_name’ at H5E.c:605:22: H5private.h:1454:28: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5E.c:640:9: note: in expansion of macro ‘HDstrncpy’ 640 | HDstrncpy(name, cls->cls_name, MIN((size_t)(len + 1), size)); | ^~~~~~~~~ In file included from H5E.c:51: H5E.c: In function ‘H5Eget_class_name’: H5private.h:1445:21: note: length computed here 1445 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5E.c:636:20: note: in expansion of macro ‘HDstrlen’ 636 | len = (ssize_t)HDstrlen(cls->cls_name); | ^~~~~~~~ In file included from /usr/include/string.h:633, from H5FDmulti.c:27: H5FDmulti.c: In function ‘H5FD_multi_sb_encode’: H5FDmulti.c:624:5: warning: ‘__builtin_strncpy’ output truncated copying 8 bytes from a string of length 9 [-Wstringop-truncation] 624 | strncpy(name, "NCSAmulti", (size_t)8); | ^~~~~~~ H5FDfamily.c: In function ‘H5FD__family_get_eof’: H5FDfamily.c:1345:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1345 | } /* end H5FD__family_unlock() */ | ^ H5Dchunk.c: In function ‘H5D__chunk_update_old_edge_chunks’: H5Dchunk.c:4730:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4730 | H5D__chunk_update_old_edge_chunks(H5D_t *dset, hsize_t old_dim[]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5FDfamily.c:995:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 995 | H5FD__family_get_eof(const H5FD_t *_file, H5FD_mem_t type) | ^~~~~~~~~~~~~~~~~~~~ H5FDfamily.c:995:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] In file included from /usr/include/string.h:633, from H5private.h:58, from H5FDsplitter.c:22: H5FDsplitter.c: In function ‘H5FD__splitter_fapl_copy’: H5private.h:1454:28: warning: ‘__builtin_strncpy’ output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5FDsplitter.c:589:5: note: in expansion of macro ‘HDstrncpy’ 589 | HDstrncpy(new_fa_ptr->wo_path, old_fa_ptr->wo_path, H5FD_SPLITTER_PATH_MAX); | ^~~~~~~~~ H5private.h:1454:28: warning: ‘__builtin_strncpy’ output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5FDsplitter.c:590:5: note: in expansion of macro ‘HDstrncpy’ 590 | HDstrncpy(new_fa_ptr->log_file_path, old_fa_ptr->log_file_path, H5FD_SPLITTER_PATH_MAX); | ^~~~~~~~~ In function ‘H5FD__splitter_fapl_copy’, inlined from ‘H5FD__splitter_fapl_get’ at H5FDsplitter.c:557:17: H5private.h:1454:28: warning: ‘__builtin_strncpy’ output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5FDsplitter.c:589:5: note: in expansion of macro ‘HDstrncpy’ 589 | HDstrncpy(new_fa_ptr->wo_path, old_fa_ptr->wo_path, H5FD_SPLITTER_PATH_MAX); | ^~~~~~~~~ H5private.h:1454:28: warning: ‘__builtin_strncpy’ output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5FDsplitter.c:590:5: note: in expansion of macro ‘HDstrncpy’ 590 | HDstrncpy(new_fa_ptr->log_file_path, old_fa_ptr->log_file_path, H5FD_SPLITTER_PATH_MAX); | ^~~~~~~~~ H5FDsplitter.c: In function ‘H5FD__splitter_open’: H5private.h:1454:28: warning: ‘__builtin_strncpy’ output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5FDsplitter.c:690:5: note: in expansion of macro ‘HDstrncpy’ 690 | HDstrncpy(file_ptr->fa.wo_path, fapl_ptr->wo_path, H5FD_SPLITTER_PATH_MAX); | ^~~~~~~~~ H5private.h:1454:28: warning: ‘__builtin_strncpy’ output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5FDsplitter.c:691:5: note: in expansion of macro ‘HDstrncpy’ 691 | HDstrncpy(file_ptr->fa.log_file_path, fapl_ptr->log_file_path, H5FD_SPLITTER_PATH_MAX); | ^~~~~~~~~ H5FSdbg.c: In function ‘H5FS_sects_debug’: H5FSdbg.c:258:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 258 | if (H5HF_sects_debug(f, client_addr, stream, indent + 3, MAX(0, fwidth - 3)) < 0) | ^~ H5FSdbg.c:263:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 263 | if (H5MF_sects_debug(f, fs_addr, stream, indent + 3, MAX(0, fwidth - 3)) < 0) | ^~ H5FDmulti.c:660:9: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 660 | strncpy((char *)p, file->fa.memb_name[mt], n); | ^~~~~~~ H5FDmulti.c:659:20: note: length computed here 659 | size_t n = strlen(file->fa.memb_name[mt]) + 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5FDsplitter.c: In function ‘H5Pset_fapl_splitter’: H5private.h:1454:28: warning: ‘__builtin_strncpy’ output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5FDsplitter.c:342:5: note: in expansion of macro ‘HDstrncpy’ 342 | HDstrncpy(info->wo_path, vfd_config->wo_path, H5FD_SPLITTER_PATH_MAX); | ^~~~~~~~~ H5private.h:1454:28: warning: ‘__builtin_strncpy’ output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5FDsplitter.c:343:5: note: in expansion of macro ‘HDstrncpy’ 343 | HDstrncpy(info->log_file_path, vfd_config->log_file_path, H5FD_SPLITTER_PATH_MAX); | ^~~~~~~~~ H5FDsplitter.c: In function ‘H5Pget_fapl_splitter’: H5private.h:1454:28: warning: ‘__builtin_strncpy’ output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5FDsplitter.c:414:5: note: in expansion of macro ‘HDstrncpy’ 414 | HDstrncpy(config->wo_path, fapl_ptr->wo_path, H5FD_SPLITTER_PATH_MAX); | ^~~~~~~~~ H5private.h:1454:28: warning: ‘__builtin_strncpy’ output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5FDsplitter.c:415:5: note: in expansion of macro ‘HDstrncpy’ 415 | HDstrncpy(config->log_file_path, fapl_ptr->log_file_path, H5FD_SPLITTER_PATH_MAX); | ^~~~~~~~~ H5Dchunk.c: In function ‘H5D__chunk_allocate’: H5Dchunk.c:4259:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4259 | H5D__chunk_allocate(const H5D_io_info_t *io_info, hbool_t full_overwrite, const hsize_t old_dim[]) | ^~~~~~~~~~~~~~~~~~~ H5FL.c: In function ‘H5FL_blk_free’: H5FL.c:1045:21: warning: potential null pointer dereference [-Wnull-dereference] 1045 | free_list->list = temp; | ~~~~~~~~~~~~~~~~^~~~~~ H5FL.c:1048:14: warning: potential null pointer dereference [-Wnull-dereference] 1048 | free_list->onlist++; | ~~~~~~~~~^~~~~~~~ H5FL.c:1044:32: warning: potential null pointer dereference [-Wnull-dereference] 1044 | temp->next = free_list->list; /* Note: Overwrites the size field in union */ | ~~~~~~~~~^~~~~~ H5FL.c:1048:22: warning: potential null pointer dereference [-Wnull-dereference] 1048 | free_list->onlist++; | ~~~~~~~~~~~~~~~~~^~ H5FL.c:1045:21: warning: potential null pointer dereference [-Wnull-dereference] 1045 | free_list->list = temp; | ~~~~~~~~~~~~~~~~^~~~~~ H5FL.c:1048:14: warning: potential null pointer dereference [-Wnull-dereference] 1048 | free_list->onlist++; | ~~~~~~~~~^~~~~~~~ H5FL.c:1044:32: warning: potential null pointer dereference [-Wnull-dereference] 1044 | temp->next = free_list->list; /* Note: Overwrites the size field in union */ | ~~~~~~~~~^~~~~~ H5FL.c:1048:22: warning: potential null pointer dereference [-Wnull-dereference] 1048 | free_list->onlist++; | ~~~~~~~~~~~~~~~~~^~ H5Dchunk.c: In function ‘H5D__chunk_copy_cb’: H5Dchunk.c:6026:33: warning: potential null pointer dereference [-Wnull-dereference] 6026 | H5MM_memcpy(buf, ent->chunk, nbytes); | ~~~^~~~~~~ H5Dchunk.c:6026:33: warning: potential null pointer dereference [-Wnull-dereference] In file included from /usr/include/string.h:633, from H5private.h:58, from H5Gcompact.c:27: H5Gcompact.c: In function ‘H5G__compact_get_name_by_idx’: H5private.h:1454:28: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5Gcompact.c:236:9: note: in expansion of macro ‘HDstrncpy’ 236 | HDstrncpy(name, ltable.lnks[idx].name, MIN((size_t)(ret_value + 1), size)); | ^~~~~~~~~ In file included from H5Gcompact.c:27: H5private.h:1445:21: note: length computed here 1445 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Gcompact.c:232:26: note: in expansion of macro ‘HDstrlen’ 232 | ret_value = (ssize_t)HDstrlen(ltable.lnks[idx].name); | ^~~~~~~~ H5Gent.c: In function ‘H5G__ent_copy’: H5Gent.c:322:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 322 | H5G__ent_reset((H5G_entry_t *)src); | ^ H5Gent.c: In function ‘H5G__ent_debug’: H5Gent.c:516:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 516 | nested_fwidth = MAX(0, fwidth - 3); | ^~~~~~~~~~~~~ H5Gloc.c: In function ‘H5G__loc_insert’: H5Gloc.c:584:23: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 584 | lnk.name = (char *)name; | ^ H5Gloc.c: In function ‘H5G__loc_set_comment_cb’: H5Gloc.c:938:21: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 938 | comment.s = (char *)udata->comment; | ^ In file included from H5Gint.c:34: H5Gint.c: In function ‘H5G_nameof’: H5Gint.c:570:41: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 570 | FUNC_LEAVE_NOAPI(grp ? &(grp->path) : NULL) H5private.h:2450:13: note: in definition of macro ‘FUNC_LEAVE_NOAPI’ 2450 | return (ret_value); \ | ^~~~~~~~~ H5Gobj.c: In function ‘H5G__obj_create_real’: H5Gobj.c:247:68: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 247 | if (H5O_msg_create(oloc, H5O_LINFO_ID, 0, H5O_UPDATE_TIME, (void *)linfo) < 0) | ^ H5Gobj.c:252:74: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 252 | if (H5O_msg_create(oloc, H5O_GINFO_ID, H5O_MSG_FLAG_CONSTANT, 0, (void *)ginfo) < 0) | ^ H5Gobj.c:258:78: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 258 | if (H5O_msg_create(oloc, H5O_PLINE_ID, H5O_MSG_FLAG_CONSTANT, 0, (void *)pline) < 0) | ^ H5Gobj.c: In function ‘H5G__obj_stab_to_new_cb’: H5Gobj.c:402:52: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 402 | if (H5G_obj_insert(udata->grp_oloc, lnk->name, (H5O_link_t *)lnk, FALSE, H5O_TYPE_UNKNOWN, NULL) < 0) | ^ H5Gnode.c: In function ‘H5G__node_copy’: H5Gnode.c:1227:28: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1227 | grp_loc.oloc = (H5O_loc_t *)src_oloc; | ^ H5Gnode.c: In function ‘H5G_node_debug’: H5Gnode.c:1485:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1485 | fwidth = MAX(0, fwidth - 3); | ^~~~~~ H5Gtraverse.c: In function ‘H5G__traverse_real’: H5Gtraverse.c:717:53: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 717 | if (H5O_msg_reset(H5O_GINFO_ID, (void *)ginfo) < 0) | ^ H5Gtraverse.c:721:53: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 721 | if (H5O_msg_reset(H5O_LINFO_ID, (void *)linfo) < 0) | ^ H5Gtraverse.c:725:53: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 725 | if (H5O_msg_reset(H5O_PLINE_ID, (void *)pline) < 0) | ^ H5Gname.c: In function ‘H5G_name_copy’: H5Gname.c:478:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 478 | H5G_name_reset((H5G_name_t *)src); | ^ H5HF.c: In function ‘H5HF__op_write’: H5HF.c:121:17: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 121 | H5MM_memcpy((void *)obj, op_data, obj_len); /* Casting away const OK -QAK */ | ^ H5HF.c: In function ‘H5HF_insert’: H5HF.c:355:42: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 355 | if (H5HF__huge_insert(hdr, size, (void *)obj, id) < 0) | ^ In file included from /usr/include/string.h:633, from H5private.h:58, from H5Gdense.c:35: H5Gdense.c: In function ‘H5G__dense_get_name_by_idx’: H5private.h:1454:28: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5Gdense.c:1201:13: note: in expansion of macro ‘HDstrncpy’ 1201 | HDstrncpy(name, ltable.lnks[n].name, MIN((size_t)(ret_value + 1), size)); | ^~~~~~~~~ In file included from H5Gdense.c:35: H5private.h:1445:21: note: length computed here 1445 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Gdense.c:1197:30: note: in expansion of macro ‘HDstrlen’ 1197 | ret_value = (ssize_t)HDstrlen(ltable.lnks[n].name); | ^~~~~~~~ H5HFdbg.c: In function ‘H5HF_hdr_print’: H5HFdbg.c:288:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 288 | H5HF__dtable_debug(&hdr->man_dtable, stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~~~~~~~ H5HFdbg.c:295:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 295 | "Compressed size of root direct block:", hdr->pline_root_direct_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5HFdbg.c:297:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 297 | "Filter mask for root direct block:", hdr->pline_root_direct_filter_mask); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5HFdbg.c:299:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 299 | H5O_debug_id(H5O_PLINE_ID, hdr->f, &(hdr->pline), stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~ H5HFdbg.c:308:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 308 | "Root indirect block flags:", hdr->root_iblock_flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5HFdbg.c:310:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 310 | "Root indirect block pointer:", (void *)hdr->root_iblock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5HFcache.c: In function ‘H5HF__cache_hdr_serialize’: H5HFcache.c:745:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 745 | hdr->f = f; | ^ H5HFdbg.c: In function ‘H5HF_dblock_debug_cb’: H5HFdbg.c:422:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 422 | temp_str, start, len); | ^~~~~~~~ H5HFdbg.c: In function ‘H5HF_iblock_print’: H5HFdbg.c:621:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 621 | HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3), temp_str); | ^~~~~~~~~ H5HFdbg.c:629:27: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 629 | iblock->filt_ents[off].filter_mask); | ^~~~~~ H5HFdbg.c:632:27: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 632 | iblock->ents[off].addr); | ^~~~~~ In file included from /usr/include/string.h:633, from H5private.h:58, from H5Gstab.c:28: H5Gstab.c: In function ‘H5G__stab_get_name_by_idx’: H5HFdbg.c:646:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 646 | HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3), temp_str); | ^~~~~~~~~ H5HFdbg.c:652:27: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 652 | iblock->ents[off].addr); | ^~~~~~ H5HFdbg.c:657:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 657 | HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3), ""); | ^~~~~~~~~ H5private.h:1454:28: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5Gstab.c:774:9: note: in expansion of macro ‘HDstrncpy’ 774 | HDstrncpy(name, udata.name, MIN((size_t)(ret_value + 1), size)); | ^~~~~~~~~ In file included from H5Gstab.c:28: H5private.h:1445:21: note: length computed here 1445 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Gstab.c:770:26: note: in expansion of macro ‘HDstrlen’ 770 | ret_value = (ssize_t)HDstrlen(udata.name); | ^~~~~~~~ H5HFdbg.c:665:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 665 | "Reference count:", iblock->rc); | ^~~~~~~~~~~~~~~~~~ H5HFdbg.c:669:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 669 | "Parent indirect block address:", (void *)iblock->parent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5HFdbg.c: In function ‘H5HF_sects_debug_cb’: H5HFdbg.c:775:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 775 | if (H5FS_sect_debug(udata->fspace, _sect, udata->stream, udata->indent + 3, MAX(0, udata->fwidth - 3)) < | ^~ H5HFcache.c: In function ‘H5HF__cache_iblock_serialize’: H5HFcache.c:1331:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1331 | hdr->f = f; | ^ H5HFcache.c: In function ‘H5HF__cache_dblock_verify_chksum’: H5HFcache.c:1660:20: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1660 | read_buf = (void *)image; /* Casting away const OK - QAK */ | ^ H5HFman.c: In function ‘H5HF__man_write’: H5HFman.c:492:52: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 492 | if (H5HF__man_op_real(hdr, id, H5HF__op_write, (void *)obj, H5HF_OP_MODIFY) < 0) | ^ H5HFsection.c: In function ‘H5HF__sect_row_debug’: H5HFsection.c:2047:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2047 | H5HF__sect_indirect_debug(sect->u.row.under, stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ H5HGdbg.c: In function ‘H5HG_debug’: H5HGdbg.c:123:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 123 | "Obffset in block:", (unsigned long)(h->obj[u].begin - h->chunk)); | ^~~~~~~~~~~~~~~~~~~ H5HGdbg.c:125:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 125 | "Reference count:", h->obj[u].nrefs); | ^~~~~~~~~~~~~~~~~~ H5HGdbg.c:128:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 128 | (unsigned long)H5HG_ALIGN(h->obj[u].size)); | ^ H5HLdbg.c: In function ‘H5HL_debug’: H5HLdbg.c:84:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 84 | freelist->offset, freelist->size); | ^~~~~~~~ H5HFsection.c: In function ‘H5HF__sect_row_merge’: H5HFsection.c:3472:26: warning: potential null pointer dereference [-Wnull-dereference] 3472 | if (sect2->u.indirect.dir_nrows > 0) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ H5HFsection.c:3466:18: warning: potential null pointer dereference [-Wnull-dereference] 3466 | start_row2 = sect2->u.indirect.row; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ H5HLcache.c: In function ‘H5HL__cache_prefix_get_final_load_size’: H5HLcache.c:184:13: warning: ‘heap.free_block’ may be used uninitialized in this function [-Wmaybe-uninitialized] 184 | if (heap->free_block != H5HL_FREE_NULL && heap->free_block >= heap->dblk_size) | ~~~~^~~~~~~~~~~~ H5L.c: In function ‘H5L__link_cb’: H5L.c:1849:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1849 | udata->lnk->name = (char *)name; | ^ H5L.c: In function ‘H5L__move_dest_cb’: H5L.c:2629:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2629 | udata->lnk->name = (char *)name; | ^ H5L.c: In function ‘H5L__link_copy_file’: H5L.c:3373:28: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 3373 | lnk_grp_loc.oloc = (H5O_loc_t *)src_oloc; /* Casting away const OK -QAK */ | ^ H5L.c: In function ‘H5Lmove’: H5L.c:323:61: warning: potential null pointer dereference [-Wnull-dereference] 323 | tmp_vol_obj.connector = (vol_obj1 ? vol_obj1->connector : vol_obj2->connector); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ H5MFdbg.c: In function ‘H5MF__sects_debug_cb’: H5MFdbg.c:123:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 123 | if (H5FS_sect_debug(udata->fspace, _sect, udata->stream, udata->indent + 3, MAX(0, udata->fwidth - 3)) < | ^~ H5L.c: In function ‘H5Lcopy’: H5L.c:413:61: warning: potential null pointer dereference [-Wnull-dereference] 413 | tmp_vol_obj.connector = (vol_obj1 ? vol_obj1->connector : vol_obj2->connector); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ H5L.c: In function ‘H5Lcreate_hard’: H5L.c:580:69: warning: potential null pointer dereference [-Wnull-dereference] 580 | tmp_vol_obj.connector = (vol_obj1 != NULL ? vol_obj1->connector : vol_obj2->connector); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ H5Odtype.c: In function ‘H5O__dtype_debug’: H5Odtype.c:1752:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1752 | "Byte offset:", (unsigned long)(dt->shared->u.compnd.memb[i].offset)); | ^~~~~~~~~~~~~~ H5Odtype.c:1753:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1753 | H5O__dtype_debug(f, dt->shared->u.compnd.memb[i].type, stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~~~~~ H5Odtype.c:1758:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1758 | H5O__dtype_debug(f, dt->shared->parent, stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~~~~~ H5Odtype.c:1972:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1972 | H5O__dtype_debug(f, dt->shared->parent, stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~~~~~ H5Oattr.c: In function ‘H5O__attr_debug’: H5Oattr.c:850:15: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 850 | "Encoded Size:", (unsigned long)(mesg->shared->dt_size)); | ^~~~~~~~~~~~~~~ H5Oattr.c:851:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 851 | if ((H5O_MSG_DTYPE->debug)(f, mesg->shared->dt, stream, indent + 3, MAX(0, fwidth - 3)) < 0) | ^~ H5Oattr.c:856:15: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 856 | "Encoded Size:", (unsigned long)(mesg->shared->ds_size)); | ^~~~~~~~~~~~~~~ H5Oattr.c:857:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 857 | if (H5S_debug(f, mesg->shared->ds, stream, indent + 3, MAX(0, fwidth - 3)) < 0) | ^~ H5Odbg.c: In function ‘H5O__debug_real’: H5Odbg.c:360:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 360 | "Address:", oh->chunk[i].addr); | ^~~~~~~~~~ H5Odbg.c:375:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 375 | HDfprintf(stream, "%*s%-*s %zu\n", indent + 3, "", MAX(0, fwidth - 3), "Size in bytes:", chunk_size); | ^~~~~~~~~ H5Odbg.c:377:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 377 | HDfprintf(stream, "%*s%-*s %zu\n", indent + 3, "", MAX(0, fwidth - 3), "Gap:", oh->chunk[i].gap); | ^~~~~~~~~ H5Odbg.c:405:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 405 | sequence[oh->mesg[i].type->id]++); | ^~~~~~~~ H5Odbg.c:407:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 407 | "Dirty:", oh->mesg[i].dirty ? "TRUE" : "FALSE"); | ^~~~~~~~ H5Odbg.c:408:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 408 | HDfprintf(stream, "%*s%-*s ", indent + 3, "", MAX(0, fwidth - 3), "Message flags:"); | ^~~~~~~~~ H5Odbg.c:457:27: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 457 | "*** ADDITIONAL UNKNOWN FLAGS --->", oh->mesg[i].flags & ~H5O_MSG_FLAG_BITS); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5Odbg.c:463:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 463 | "Chunk number:", oh->mesg[i].chunkno); | ^~~~~~~~~~~~~~~ H5Odbg.c:469:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 469 | (size_t)(oh->mesg[i].raw - oh->chunk[chunkno].image), oh->mesg[i].raw_size); | ^ H5Odbg.c:482:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 482 | HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3), "Message Information:"); | ^~~~~~~~~ H5Odbg.c:484:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 484 | (debug_type->debug)(f, oh->mesg[i].native, stream, indent + 6, MAX(0, fwidth - 6)); | ^ H5Ocache.c: In function ‘H5O__chunk_deserialize’: H5Ocache.c:1434:30: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1434 | mesg->raw = (uint8_t *)chunk_image; /* Casting away const OK - QAK */ | ^ H5Ocache.c: In function ‘H5O__chunk_serialize’: H5Ocache.c:1639:31: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1639 | if (H5O_msg_flush((H5F_t *)f, oh, curr_msg) < 0) | ^ H5Oefl.c: In function ‘H5O__efl_debug’: H5Oefl.c:544:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 544 | "Name:", mesg->slot[u].name); | ^~~~~~~ H5Oefl.c:547:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 547 | "Name offset:", mesg->slot[u].name_offset); | ^~~~~~~~~~~~~~ H5Oefl.c:550:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 550 | "Offset of data in file:", (intmax_t)(mesg->slot[u].offset)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ H5Oefl.c:553:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 553 | "Bytes reserved for data:", (mesg->slot[u].size)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ H5O.c: In function ‘H5Olink’: H5O.c:352:9: warning: potential null pointer dereference [-Wnull-dereference] 352 | if (H5VL_link_create(H5VL_LINK_CREATE_HARD, &tmp_vol_obj, &loc_params2, lcpl_id, lapl_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, vol_obj1->data, &loc_params1) < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5Opline.c: In function ‘H5O__pline_debug’: H5Opline.c:662:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 662 | "Filter identification:", (unsigned)(pline->filter[i].id)); | ^~~~~~~~~~~~~~~~~~~~~~~~ H5Opline.c:665:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 665 | "Filter name:", pline->filter[i].name); | ^~~~~~~~~~~~~~ H5Opline.c:667:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 667 | HDfprintf(stream, "%*s%-*s NONE\n", indent + 3, "", MAX(0, fwidth - 3), "Filter name:"); | ^~~~~~~~~ H5Opline.c:669:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 669 | "Flags:", pline->filter[i].flags); | ^~~~~~~~ H5Opline.c:671:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 671 | "Num CD values:", pline->filter[i].cd_nelmts); | ^~~~~~~~~~~~~~~~ H5Opline.c:679:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 679 | pline->filter[i].cd_values[j]); | ^~~~~ In file included from /usr/include/string.h:633, from H5private.h:58, from H5Pencdec.c:28: In function ‘H5P__encode_cb’, inlined from ‘H5P__encode_cb’ at H5Pencdec.c:317:1: H5private.h:1454:28: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5Pencdec.c:336:13: note: in expansion of macro ‘HDstrncpy’ 336 | HDstrncpy((char *)*(udata->pp), prop->name, prop_name_len); | ^~~~~~~~~ In file included from H5Pencdec.c:28: H5Pencdec.c: In function ‘H5P__encode_cb’: H5private.h:1445:21: note: length computed here 1445 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Pencdec.c:334:25: note: in expansion of macro ‘HDstrlen’ 334 | prop_name_len = HDstrlen(prop->name) + 1; | ^~~~~~~~ In file included from /usr/include/string.h:633, from H5private.h:58, from H5Pdapl.c:34: H5Pdapl.c: In function ‘H5Pget_efile_prefix’: H5private.h:1454:28: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5Pdapl.c:1454:13: note: in expansion of macro ‘HDstrncpy’ 1454 | HDstrncpy(prefix, my_prefix, MIN(len + 1, size)); | ^~~~~~~~~ In file included from H5Pdapl.c:34: H5private.h:1445:21: note: length computed here 1445 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Pdapl.c:1452:15: note: in expansion of macro ‘HDstrlen’ 1452 | len = HDstrlen(my_prefix); | ^~~~~~~~ In file included from /usr/include/string.h:633, from H5private.h:58, from H5Pdapl.c:34: H5Pdapl.c: In function ‘H5Pget_virtual_prefix’: H5private.h:1454:28: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5Pdapl.c:1544:13: note: in expansion of macro ‘HDstrncpy’ 1544 | HDstrncpy(prefix, my_prefix, MIN(len + 1, size)); | ^~~~~~~~~ In file included from H5Pdapl.c:34: H5private.h:1445:21: note: length computed here 1445 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Pdapl.c:1542:15: note: in expansion of macro ‘HDstrlen’ 1542 | len = HDstrlen(my_prefix); | ^~~~~~~~ In file included from /usr/include/string.h:633, from H5private.h:58, from H5Plapl.c:34: H5Plapl.c: In function ‘H5Pget_elink_prefix’: H5private.h:1454:28: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5Plapl.c:1047:13: note: in expansion of macro ‘HDstrncpy’ 1047 | HDstrncpy(prefix, my_prefix, MIN(len + 1, size)); | ^~~~~~~~~ In file included from H5Plapl.c:34: H5private.h:1445:21: note: length computed here 1445 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Plapl.c:1045:15: note: in expansion of macro ‘HDstrlen’ 1045 | len = HDstrlen(my_prefix); | ^~~~~~~~ H5RS.c: In function ‘H5RS_wrap’: H5RS.c:178:26: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 178 | ret_value->s = (char *)s; | ^ In file included from /usr/include/string.h:633, from H5private.h:58, from H5Pdxpl.c:34: H5Pdxpl.c: In function ‘H5Pget_data_transform’: H5private.h:1454:28: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5Pdxpl.c:1033:9: note: in expansion of macro ‘HDstrncpy’ 1033 | HDstrncpy(expression, pexp, MIN(len + 1, size)); | ^~~~~~~~~ In file included from H5Pdxpl.c:34: H5private.h:1445:21: note: length computed here 1445 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Pdxpl.c:1031:11: note: in expansion of macro ‘HDstrlen’ 1031 | len = HDstrlen(pexp); | ^~~~~~~~ H5SL.c: In function ‘H5SL__release_common’: H5SL.c:886:36: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 886 | (void)(op)(node->item, (void *)node->key, op_data); | ^ In file included from /usr/include/string.h:633, from H5private.h:58, from H5PL.c:22: H5PL.c: In function ‘H5PLget’: H5private.h:1454:28: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5PL.c:362:9: note: in expansion of macro ‘HDstrncpy’ 362 | HDstrncpy(path_buf, path, MIN((size_t)(path_len + 1), buf_size)); | ^~~~~~~~~ In file included from H5PL.c:22: H5private.h:1445:21: note: length computed here 1445 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5PL.c:358:16: note: in expansion of macro ‘HDstrlen’ 358 | path_len = HDstrlen(path); | ^~~~~~~~ H5Shyper.c: In function ‘H5S__hyper_iter_init’: H5Shyper.c:588:28: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 588 | H5S__hyper_rebuild((H5S_t *)space); /* Casting away const OK -NAF */ | ^ H5Sdbg.c: In function ‘H5S_debug’: H5Sdbg.c:96:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 96 | H5O_debug_id(H5O_SDSPACE_ID, f, &(mesg->extent), stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~ H5Sall.c: In function ‘H5S__all_shape_same’: H5Sall.c:1188:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1188 | } /* end H5Sselect_all() */ | ^ H5Spoint.c: In function ‘H5S__point_shape_same’: H5Spoint.c:2418:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2418 | } /* end H5Sselect_elements() */ | ^ H5Spoint.c:2418:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c: In function ‘H5SL_iterate’: H5SL.c:2185:47: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2185 | if ((ret_value = (op)(node->item, (void *)node->key, op_data)) != 0) | ^ H5SL.c: In function ‘H5SL_release’: H5SL.c:2218:12: warning: variable ‘ret_value’ set but not used [-Wunused-but-set-variable] 2218 | herr_t ret_value = SUCCEED; | ^~~~~~~~~ H5SL.c: In function ‘H5SL_try_free_safe’: H5SL.c:2349:44: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2349 | if ((op_ret = (op)(node->item, (void *)node->key, op_data)) < 0) | ^ H5Spoint.c: In function ‘H5S__point_offset’: H5Spoint.c:2418:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Sselect.c: In function ‘H5S_select_shape_same’: H5Sselect.c:3213:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3213 | } /* end H5Ssel_iter_close() */ | ^ H5Shyper.c: In function ‘H5S__hyper_is_regular’: H5Shyper.c:5354:28: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 5354 | H5S__hyper_rebuild((H5S_t *)space); /* Casting away const OK -NAF */ | ^ H5Shyper.c: In function ‘H5S__hyper_shape_same’: H5Shyper.c:5619:28: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 5619 | H5S__hyper_rebuild((H5S_t *)space1); /* Casting away const OK -QAK */ | ^ H5Shyper.c:5621:28: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 5621 | H5S__hyper_rebuild((H5S_t *)space2); /* Casting away const OK -QAK */ | ^ H5Shyper.c:5666:43: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 5666 | if (H5S__hyper_generate_spans((H5S_t *)space1) < 0) /* Casting away const OK -QAK */ | ^ H5Shyper.c:5670:43: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 5670 | if (H5S__hyper_generate_spans((H5S_t *)space2) < 0) /* Casting away const OK -QAK */ | ^ H5Sall.c:910:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 910 | H5S__all_shape_same(const H5S_t *space1, const H5S_t *space2) | ^~~~~~~~~~~~~~~~~~~ H5Sall.c:910:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Sall.c:910:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function ‘H5S__hyper_intersect_block’: H5Shyper.c:6288:28: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 6288 | H5S__hyper_rebuild((H5S_t *)space); /* Casting away const OK -QAK */ | ^ H5SL.c: In function ‘H5SL_remove’: H5SL.c:2556:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2556 | } /* end H5SL_close() */ | ^ H5SL.c:2556:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2556:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2556:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2556:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2556:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2556:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2556:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function ‘H5S__hyper_proj_int_iterate’: H5Shyper.c:11545:43: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 11545 | H5S__hyper_spans_nelem_helper((H5S_hyper_span_info_t *)ss_span_info, 0, udata->op_gen) * count, | ^ H5Shyper.c:72:27: note: in definition of macro ‘H5S_HYPER_PROJ_INT_ADD_SKIP’ 72 | (UDATA)->skip += (ADD); \ | ^~~ H5SL.c:2556:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function ‘H5S__hyper_project_intersection’: H5Shyper.c:11624:43: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 11624 | if (H5S__hyper_generate_spans((H5S_t *)src_space) < 0) /* Casting away const OK -NAF */ | ^ H5Shyper.c:11646:43: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 11646 | if (H5S__hyper_generate_spans((H5S_t *)dst_space) < 0) /* Casting away const OK -NAF */ | ^ H5Shyper.c:11666:39: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 11666 | if (H5S__hyper_generate_spans((H5S_t *)src_intersect_space) < 0) /* Casting away const OK -NAF */ | ^ H5Spoint.c:1692:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1692 | H5S__point_offset(const H5S_t *space, hsize_t *offset) | ^~~~~~~~~~~~~~~~~ H5Spoint.c:1692:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Spoint.c:1692:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Sselect.c:1742:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1742 | H5S_select_shape_same(const H5S_t *space1, const H5S_t *space2) | ^~~~~~~~~~~~~~~~~~~~~ H5Sselect.c:1742:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Sselect.c:1742:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function ‘H5S__hyper_iter_coords’: H5Shyper.c:12393:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 12393 | } /* end H5Sget_regular_hyperslab() */ | ^ H5Shyper.c:12393:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function ‘H5S__hyper_iter_init’: H5Shyper.c:12393:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c:12393:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function ‘H5S__hyper_shape_same’: H5Shyper.c:12393:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:1185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1185 | H5SL_remove(H5SL_t *slist, const void *key) | ^~~~~~~~~~~ H5SL.c:1185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:1185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:1185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:1185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:1185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:1185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:1185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:1185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tbit.c: In function ‘H5T__bit_get_d’: H5Tbit.c:271:1: warning: label ‘done’ defined but not used [-Wunused-label] 271 | done: | ^~~~ H5T.c: In function ‘H5T_nameof’: H5T.c:5546:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 5546 | ret_value = &(dt->path); | ^ H5T.c: In function ‘H5T_cmp’: H5T.c:6293:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6293 | } /* end H5T_own_vol_obj() */ | ^ H5T.c:6293:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:6293:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:6293:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:6293:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:6293:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:6293:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:6293:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c: In function ‘H5T__path_find_real’: H5T.c:6293:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c: In function ‘H5T__unregister’: H5T.c:6293:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:6293:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function ‘H5S__hyper_iter_get_seq_list’: H5Shyper.c:1713:42: warning: potential null pointer dereference [-Wnull-dereference] 1713 | abs_arr[fast_dim] = curr_span->low + span_elmts; | ~~~~~~~~~^~~~~ H5Shyper.c:1716:47: warning: potential null pointer dereference [-Wnull-dereference] 1716 | if (abs_arr[fast_dim] <= curr_span->high) { | ~~~~~~~~~^~~~~~ H5Tref.c: In function ‘H5T__ref_mem_write’: H5Tref.c:597:82: warning: unused parameter ‘dst_size’ [-Wunused-parameter] 597 | H5VL_object_t H5_ATTR_UNUSED *dst_file, void *dst_buf, size_t dst_size, | ~~~~~~~^~~~~~~~ H5Tref.c: In function ‘H5T__ref_disk_isnull’: H5Tref.c:738:42: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 738 | if (H5VL_blob_specific(src_file, (void *)p, H5VL_BLOB_ISNULL, isnull) < 0) | ^ H5Tvlen.c: In function ‘H5T__vlen_disk_delete’: H5Tvlen.c:1017:42: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1017 | if (H5VL_blob_specific(file, (void *)vl, H5VL_BLOB_DELETE) < 0) /* Casting away 'const' OK -QAK */ | ^ H5Shyper.c: In function ‘H5S__hyper_iter_coords’: H5Shyper.c:798:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 798 | H5S__hyper_iter_coords(const H5S_sel_iter_t *iter, hsize_t *coords) | ^~~~~~~~~~~~~~~~~~~~~~ H5Shyper.c:798:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c:798:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function ‘H5S__hyper_project_simple.part.0’: H5Shyper.c:6636:47: warning: potential null pointer dereference [-Wnull-dereference] 6636 | new_space->select.sel_info.hslab->span_lst->count++; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ H5Shyper.c:6636:54: warning: potential null pointer dereference [-Wnull-dereference] 6636 | new_space->select.sel_info.hslab->span_lst->count++; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ H5Shyper.c:6636:47: warning: potential null pointer dereference [-Wnull-dereference] 6636 | new_space->select.sel_info.hslab->span_lst->count++; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ H5Shyper.c:6636:54: warning: potential null pointer dereference [-Wnull-dereference] 6636 | new_space->select.sel_info.hslab->span_lst->count++; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ H5Shyper.c:6728:21: warning: potential null pointer dereference [-Wnull-dereference] 6728 | prev_span->down = base_space->select.sel_info.hslab->span_lst; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:633, from H5private.h:58, from H5VLint.c:30: H5VLint.c: In function ‘H5VL__get_connector_name’: H5private.h:1454:28: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5VLint.c:1702:9: note: in expansion of macro ‘HDstrncpy’ 1702 | HDstrncpy(name, cls->name, MIN(len + 1, size)); | ^~~~~~~~~ In file included from H5VLint.c:30: H5private.h:1445:21: note: length computed here 1445 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5VLint.c:1700:11: note: in expansion of macro ‘HDstrlen’ 1700 | len = HDstrlen(cls->name); | ^~~~~~~~ H5Tconv.c: In function ‘H5T__conv_struct’: H5Tconv.c:9550:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 9550 | } /* end H5T_reclaim_cb() */ | ^ H5Tconv.c: In function ‘H5T__conv_struct_opt’: H5Tconv.c:9550:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c:9550:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] In file included from H5Cmpio.c:36: H5Cmpio.c: In function ‘H5C_clear_coll_entries’: H5private.h:2104:13: warning: unused variable ‘err_occurred’ [-Wunused-variable] 2104 | hbool_t err_occurred = FALSE; \ | ^~~~~~~~~~~~ H5private.h:2255:9: note: in expansion of macro ‘FUNC_ENTER_COMMON’ 2255 | FUNC_ENTER_COMMON(!H5_IS_API(FUNC)); \ | ^~~~~~~~~~~~~~~~~ H5Cmpio.c:901:5: note: in expansion of macro ‘FUNC_ENTER_NOAPI_NOINIT’ 901 | FUNC_ENTER_NOAPI_NOINIT | ^~~~~~~~~~~~~~~~~~~~~~~ H5Smpio.c: In function ‘H5S__mpio_permute_type’: H5Cmpio.c:922:1: warning: label ‘done’ defined but not used [-Wunused-label] 922 | done: | ^~~~ H5Smpio.c:508:20: warning: size of ‘sel_iter’ 3160 bytes exceeds maximum object size 2560 [-Wlarger-than=] 508 | H5S_sel_iter_t sel_iter; /* Selection iteration info */ | ^~~~~~~~ H5Smpio.c:541:17: warning: size of ‘off’ 8192 bytes exceeds maximum object size 2560 [-Wlarger-than=] 541 | hsize_t off[H5D_IO_VECTOR_SIZE]; /* Array to store sequence offsets */ | ^~~ H5Smpio.c:542:17: warning: size of ‘len’ 8192 bytes exceeds maximum object size 2560 [-Wlarger-than=] 542 | size_t len[H5D_IO_VECTOR_SIZE]; /* Array to store sequence lengths */ | ^~~ H5Smpio.c: In function ‘H5S__mpio_reg_hyper_type’: H5Smpio.c:640:20: warning: size of ‘sel_iter’ 3160 bytes exceeds maximum object size 2560 [-Wlarger-than=] 640 | H5S_sel_iter_t sel_iter; /* Selection iteration info */ | ^~~~~~~~ H5Smpio.c:1466:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1466 | } /* end H5S_mpio_space_type() */ | ^ H5Smpio.c:1466:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Smpio.c:637:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 637 | H5S__mpio_reg_hyper_type(const H5S_t *space, size_t elmt_size, MPI_Datatype *new_type, int *count, | ^~~~~~~~~~~~~~~~~~~~~~~~ H5Smpio.c:637:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Smpio.c:637:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Smpio.c:637:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c: In function ‘H5T_cmp’: H5T.c:4477:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4477 | H5T_cmp(const H5T_t *dt1, const H5T_t *dt2, hbool_t superset) | ^~~~~~~ H5T.c:4477:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4477:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4477:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4477:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4477:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4477:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4477:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4477:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4477:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4477:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4477:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4647:16: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 4647 | if (dt2->shared->u.enumer.nmembs > 1) { | ^ H5T.c:4630:16: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 4630 | if (dt1->shared->u.enumer.nmembs > 1) { | ^ H5T.c:4477:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4477 | H5T_cmp(const H5T_t *dt1, const H5T_t *dt2, hbool_t superset) | ^~~~~~~ H5T.c:4477:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Smpio.c: In function ‘H5S__mpio_permute_type’: H5Smpio.c:504:1: warning: stack usage might be 19744 bytes [-Wstack-usage=] 504 | H5S__mpio_permute_type(const H5S_t *space, size_t elmt_size, hsize_t **permute, MPI_Datatype *new_type, | ^~~~~~~~~~~~~~~~~~~~~~ H5Smpio.c:618:1: warning: the frame size of 19664 bytes is larger than 16384 bytes [-Wframe-larger-than=] 618 | } /* H5S__mpio_permute_type() */ | ^ H5T.c:4541:17: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4541 | for (i = (int)dt1->shared->u.compnd.nmembs - 1, swapped = TRUE; swapped && i >= 0; --i) { | ^~~ H5T.c:4553:17: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4553 | for (i = (int)dt2->shared->u.compnd.nmembs - 1, swapped = TRUE; swapped && i >= 0; --i) { | ^~~ H5T.c: In function ‘H5T__path_find_real’: H5T.c:5006:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5006 | H5T__path_find_real(const H5T_t *src, const H5T_t *dst, const char *name, H5T_conv_func_t *conv) | ^~~~~~~~~~~~~~~~~~~ H5T.c:5006:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:5006:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c: In function ‘H5Tunregister’: H5T.c:2865:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2865 | H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func) | ^~~~~~~~~~~~~ H5T.c:2865:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:2865:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:2865:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:2865:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:2865:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5lib_settings.c:31:6: warning: size of ‘H5libhdf5_settings’ 6825 bytes exceeds maximum object size 2560 [-Wlarger-than=] 31 | char H5libhdf5_settings[]= | ^~~~~~~~~~~~~~~~~~ H5Shyper.c: In function ‘H5S__hyper_iter_init’: H5Shyper.c:561:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 561 | H5S__hyper_iter_init(const H5S_t *space, H5S_sel_iter_t *iter) | ^~~~~~~~~~~~~~~~~~~~ H5Shyper.c:561:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function ‘H5S__hyper_shape_same’: H5Shyper.c:5596:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5596 | H5S__hyper_shape_same(const H5S_t *space1, const H5S_t *space2) | ^~~~~~~~~~~~~~~~~~~~~ H5Shyper.c:5596:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c:5596:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function ‘H5S__get_select_hyper_blocklist’: H5Shyper.c:4704:41: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 4704 | while (temp_dim >= 0 && !done) { | ^~~~~ H5Shyper.c: In function ‘H5S__hyper_serialize’: H5Shyper.c:4124:54: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 4124 | while (temp_dim >= 0 && complete == FALSE) { H5Tconv.c: In function ‘H5T__conv_struct’: H5Tconv.c:2201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2201 | H5T__conv_struct(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, size_t nelmts, size_t buf_stride, | ^~~~~~~~~~~~~~~~ H5Tconv.c:2201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c:2201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c: In function ‘H5T__conv_struct_opt’: H5Tconv.c:2428:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2428 | H5T__conv_struct_opt(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, size_t nelmts, size_t buf_stride, | ^~~~~~~~~~~~~~~~~~~~ H5Tconv.c:2428:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c:2428:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c:2428:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c:2428:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c:2428:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tcoords.c: In function ‘test_multiple_ends’: tcoords.c:383:13: warning: size of ‘data_buf’ 69120 bytes exceeds maximum object size 2560 [-Wlarger-than=] 383 | int data_buf[4][5][3][4][2][3][6][2]; | ^~~~~~~~ tcoords.c:419:13: warning: size of ‘mem5_buffer’ 7680 bytes exceeds maximum object size 2560 [-Wlarger-than=] 419 | int mem5_buffer[4][5][1][4][2][1][6][2]; | ^~~~~~~~~~~ tarray.c: In function ‘test_array_vlen_atomic’: tarray.c:1138:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 1138 | for (k = 0; k < (i + j + 1); k++) | ^~~ tarray.c: In function ‘test_array_vlen_array’: tarray.c:1358:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 1358 | for (k = 0; k < (i + j + 1); k++) | ^~~ titerate.c: In function ‘aiter_cb’: titerate.c:1201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1201 | } | ^ titerate.c:1201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] titerate.c: In function ‘liter_cb’: titerate.c:1201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] titerate.c:1201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tid.c: In function ‘test_id_type_list’: tid.c:888:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 888 | } | ^ tid.c: In function ‘test_remove_clear_type’: tid.c:888:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tid.c: In function ‘rct_free_cb’: tid.c:888:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache.c: In function ‘check_flush_cache__flush_ops’: cache.c:6191:41: warning: size of ‘spec’ 2592 bytes exceeds maximum object size 2560 [-Wlarger-than=] 6191 | struct fo_flush_cache_test_spec spec[6] = { | ^~~~ cache.c:6424:41: warning: size of ‘spec’ 2592 bytes exceeds maximum object size 2560 [-Wlarger-than=] 6424 | struct fo_flush_cache_test_spec spec[6] = { | ^~~~ cache_image.c: In function ‘evict_on_close_test’: cache.c:6947:41: warning: size of ‘spec’ 4320 bytes exceeds maximum object size 2560 [-Wlarger-than=] 6947 | struct fo_flush_cache_test_spec spec[10] = { | ^~~~ cache_image.c:7513:29: warning: unused parameter ‘single_file_vfd’ [-Wunused-parameter] 7513 | evict_on_close_test(hbool_t single_file_vfd) | ~~~~~~~~^~~~~~~~~~~~~~~ cache.c:7343:41: warning: size of ‘spec’ 4320 bytes exceeds maximum object size 2560 [-Wlarger-than=] 7343 | struct fo_flush_cache_test_spec spec[10] = { | ^~~~ cache.c: In function ‘check_flush_cache__flush_op_eviction_test’: cache.c:8428:34: warning: size of ‘expected’ 6160 bytes exceeds maximum object size 2560 [-Wlarger-than=] 8428 | struct expected_entry_status expected[10 + 31 + 14] = { | ^~~~~~~~ cache.c: In function ‘check_flush_cache__single_entry’: cache.c:11621:11: warning: size of ‘spec’ 8192 bytes exceeds maximum object size 2560 [-Wlarger-than=] 11621 | } spec[256] = | ^~~~ tid.c: In function ‘test_ids’: tid.c:871:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 871 | test_ids(void) | ^~~~~~~~ tfile.c: In function ‘test_libver_macros’: tfile.c:7379:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7379 | VERIFY(H5_VERSION_GE(major - 1, minor, release), TRUE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7380:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7380 | VERIFY(H5_VERSION_GE(major - 1, minor + 1, release), TRUE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7380:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:7381:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7381 | VERIFY(H5_VERSION_GE(major - 1, minor, release + 1), TRUE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7382:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7382 | VERIFY(H5_VERSION_GE(major, minor - 1, release), TRUE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7383:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7383 | VERIFY(H5_VERSION_GE(major, minor - 1, release + 1), TRUE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7385:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7385 | VERIFY(H5_VERSION_GE(major, minor, release - 1), TRUE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7388:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7388 | VERIFY(H5_VERSION_GE(major + 1, minor - 1, release), FALSE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7389:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7389 | VERIFY(H5_VERSION_GE(major + 1, minor - 1, release - 1), FALSE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7389:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:7390:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7390 | VERIFY(H5_VERSION_GE(major, minor + 1, release), FALSE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7391:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7391 | VERIFY(H5_VERSION_GE(major, minor + 1, release - 1), FALSE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7391:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:7396:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7396 | VERIFY(H5_VERSION_LE(major + 1, minor - 1, release), TRUE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7397:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7397 | VERIFY(H5_VERSION_LE(major + 1, minor - 1, release - 1), TRUE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7397:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:7398:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7398 | VERIFY(H5_VERSION_LE(major, minor + 1, release), TRUE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7399:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7399 | VERIFY(H5_VERSION_LE(major, minor + 1, release - 1), TRUE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7399:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:7402:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7402 | VERIFY(H5_VERSION_LE(major - 1, minor, release), FALSE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7403:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7403 | VERIFY(H5_VERSION_LE(major - 1, minor + 1, release), FALSE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7403:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:7404:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7404 | VERIFY(H5_VERSION_LE(major - 1, minor + 1, release + 1), FALSE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7404:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:7405:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7405 | VERIFY(H5_VERSION_LE(major, minor - 1, release), FALSE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7406:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7406 | VERIFY(H5_VERSION_LE(major, minor - 1, release + 1), FALSE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7408:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7408 | VERIFY(H5_VERSION_LE(major, minor, release - 1), FALSE, "H5_VERSION_LE"); | ^~~~~~ h5test.c: In function ‘h5_get_vfd_fapl’: h5test.c:991:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 991 | memb_addr[mt] = (haddr_t)MAX(mt - 1, 0) * (HADDR_MAX / 10); | ^~~~~~~~~ cache.c: In function ‘check_metadata_blizzard_absence’: cache.c:26889:34: warning: size of ‘expected’ 16800 bytes exceeds maximum object size 2560 [-Wlarger-than=] 26889 | struct expected_entry_status expected[150] = | ^~~~~~~~ cache.c: In function ‘check_metadata_cork’: cache.c:32877:34: warning: size of ‘expected’ 16800 bytes exceeds maximum object size 2560 [-Wlarger-than=] 32877 | struct expected_entry_status expected[150] = | ^~~~~~~~ cache.c: In function ‘cedds__expunge_dirty_entry_in_flush_test’: cache.c:33692:34: warning: size of ‘expected’ 4032 bytes exceeds maximum object size 2560 [-Wlarger-than=] 33692 | struct expected_entry_status expected[36] = | ^~~~~~~~ cache.c: In function ‘cedds__H5C_make_space_in_cache’: cache_common.c: In function ‘free_icr’: cache_common.c:5333:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5333 | } /* validate_mdc_config() */ | ^ cache_common.c:5333:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache.c:33906:34: warning: size of ‘expected’ 4032 bytes exceeds maximum object size 2560 [-Wlarger-than=] 33906 | struct expected_entry_status expected[36] = | ^~~~~~~~ cache.c: In function ‘cedds__H5C__autoadjust__ageout__evict_aged_out_entries’: cache.c:34263:34: warning: size of ‘expected’ 4032 bytes exceeds maximum object size 2560 [-Wlarger-than=] 34263 | struct expected_entry_status expected[36] = | ^~~~~~~~ cache_common.c: In function ‘hl_row_major_scan_forward’: cache_common.c:3894:40: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3894 | if ((pass) && (do_inserts) && ((idx + lag) >= 0) && ((idx + lag) <= max_indices[type]) && | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ cache_common.c:5333:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5333 | } /* validate_mdc_config() */ | ^ cache_common.c:5333:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c: In function ‘hl_row_major_scan_backward’: cache_common.c:4246:40: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4246 | if ((pass) && (do_inserts) && ((idx + lag) >= 0) && ((idx + lag) <= local_max_index) && | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ tfile.c: In function ‘test_sects_freespace’: tfile.c:8067:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 8067 | } | ^ cache.c: In function ‘check_flush_cache__single_entry’: cc1: warning: size of ‘*.LC0’ 8192 bytes exceeds maximum object size 2560 [-Wlarger-than=] cache.c: In function ‘cedds__H5C_make_space_in_cache’: cc1: warning: size of ‘*.LC6’ 4032 bytes exceeds maximum object size 2560 [-Wlarger-than=] dt_arith.c: In function ‘my_isnan’: dt_arith.c:2791:21: warning: comparing floating-point with ‘==’ or ‘!=’ is unsafe [-Wfloat-equal] 2791 | retval = (x != x); | ^~ dt_arith.c:2796:21: warning: comparing floating-point with ‘==’ or ‘!=’ is unsafe [-Wfloat-equal] 2796 | retval = (x != x); | ^~ dt_arith.c:2802:21: warning: comparing floating-point with ‘==’ or ‘!=’ is unsafe [-Wfloat-equal] 2802 | retval = (x != x); | ^~ tcoords.c:375:1: warning: stack usage might be 81872 bytes [-Wstack-usage=] 375 | test_multiple_ends(hid_t file, hbool_t is_chunked) | ^~~~~~~~~~~~~~~~~~ cache.c: In function ‘check_flush_cache__flush_op_eviction_test’: cache.c:35972:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 35972 | } /* main() */ | ^ tcoords.c:640:1: warning: the frame size of 81792 bytes is larger than 16384 bytes [-Wframe-larger-than=] 640 | } | ^ chunk_info.c: In function ‘test_get_chunk_info_highest_v18’: chunk_info.c:485:14: warning: unused variable ‘aggression’ [-Wunused-variable] 485 | int aggression = 9; /* Compression aggression setting */ | ^~~~~~~~~~ dsets.c: In function ‘test_filter_delete’: dsets.c:7030:26: warning: unused parameter ‘file’ [-Wunused-parameter] 7030 | test_filter_delete(hid_t file) | ~~~~~~^~~~ dsets.c: In function ‘make_random_offset_and_increment’: dsets.c:7851:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 7851 | maxinc = MIN(nelts - 1, LONG_MAX - nelts); | ^~~~~~ cache_tagging.c: In function ‘check_dense_attribute_tags’: cache_tagging.c:1088:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1088 | check_dense_attribute_tags(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cache_tagging.c:1088:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] objcopy.c: In function ‘test_copy_dataset_compressed’: objcopy.c:4483:36: warning: unused parameter ‘fcpl_src’ [-Wunused-parameter] 4483 | test_copy_dataset_compressed(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl, hid_t dst_fapl) | ~~~~~~^~~~~~~~ objcopy.c:4483:52: warning: unused parameter ‘fcpl_dst’ [-Wunused-parameter] 4483 | test_copy_dataset_compressed(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl, hid_t dst_fapl) | ~~~~~~^~~~~~~~ objcopy.c:4483:68: warning: unused parameter ‘src_fapl’ [-Wunused-parameter] 4483 | test_copy_dataset_compressed(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl, hid_t dst_fapl) | ~~~~~~^~~~~~~~ objcopy.c:4483:84: warning: unused parameter ‘dst_fapl’ [-Wunused-parameter] 4483 | test_copy_dataset_compressed(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl, hid_t dst_fapl) | ~~~~~~^~~~~~~~ objcopy.c: In function ‘test_copy_dataset_no_edge_filt’: objcopy.c:4902:38: warning: unused parameter ‘fcpl_src’ [-Wunused-parameter] 4902 | test_copy_dataset_no_edge_filt(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl, hid_t dst_fapl, | ~~~~~~^~~~~~~~ objcopy.c:4902:54: warning: unused parameter ‘fcpl_dst’ [-Wunused-parameter] 4902 | test_copy_dataset_no_edge_filt(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl, hid_t dst_fapl, | ~~~~~~^~~~~~~~ objcopy.c:4902:70: warning: unused parameter ‘src_fapl’ [-Wunused-parameter] 4902 | test_copy_dataset_no_edge_filt(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl, hid_t dst_fapl, | ~~~~~~^~~~~~~~ objcopy.c:4902:86: warning: unused parameter ‘dst_fapl’ [-Wunused-parameter] 4902 | test_copy_dataset_no_edge_filt(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl, hid_t dst_fapl, | ~~~~~~^~~~~~~~ objcopy.c: In function ‘test_copy_dataset_compressed_vl’: objcopy.c:7260:39: warning: unused parameter ‘fcpl_src’ [-Wunused-parameter] 7260 | test_copy_dataset_compressed_vl(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl, hid_t dst_fapl) | ~~~~~~^~~~~~~~ objcopy.c:7260:55: warning: unused parameter ‘fcpl_dst’ [-Wunused-parameter] 7260 | test_copy_dataset_compressed_vl(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl, hid_t dst_fapl) | ~~~~~~^~~~~~~~ objcopy.c:7260:71: warning: unused parameter ‘src_fapl’ [-Wunused-parameter] 7260 | test_copy_dataset_compressed_vl(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl, hid_t dst_fapl) | ~~~~~~^~~~~~~~ objcopy.c:7260:87: warning: unused parameter ‘dst_fapl’ [-Wunused-parameter] 7260 | test_copy_dataset_compressed_vl(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl, hid_t dst_fapl) | ~~~~~~^~~~~~~~ objcopy_ref.c: In function ‘compare_data’: objcopy_ref.c:942:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 942 | ref_buf1 = (H5R_ref_t *)buf1; | ^ objcopy_ref.c:943:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 943 | ref_buf2 = (H5R_ref_t *)buf2; | ^ app_ref.c: In function ‘main’: app_ref.c:185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 185 | } | ^ app_ref.c:185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:185:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ^~~ app_ref.c:99:5: note: in expansion of macro ‘RAND_INC’ 99 | RAND_INC(T_FILE) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ^~~ app_ref.c:105:5: note: in expansion of macro ‘RAND_INC’ 105 | RAND_INC(T_PLIST) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ^~~ app_ref.c:111:5: note: in expansion of macro ‘RAND_INC’ 111 | RAND_INC(T_PCLASS) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ^~~ app_ref.c:117:5: note: in expansion of macro ‘RAND_INC’ 117 | RAND_INC(T_TYPE) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ^~~ app_ref.c:123:5: note: in expansion of macro ‘RAND_INC’ 123 | RAND_INC(T_SPACE) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ^~~ app_ref.c:130:5: note: in expansion of macro ‘RAND_INC’ 130 | RAND_INC(T_DSET) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ^~~ app_ref.c:137:5: note: in expansion of macro ‘RAND_INC’ 137 | RAND_INC(T_ATTR) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ^~~ app_ref.c:143:5: note: in expansion of macro ‘RAND_INC’ 143 | RAND_INC(T_GROUP) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ^~~ app_ref.c:149:5: note: in expansion of macro ‘RAND_INC’ 149 | RAND_INC(T_ECLASS) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ^~~ app_ref.c:155:5: note: in expansion of macro ‘RAND_INC’ 155 | RAND_INC(T_EMSG) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ^~~ app_ref.c:161:5: note: in expansion of macro ‘RAND_INC’ 161 | RAND_INC(T_ESTACK) | ^~~~~~~~ set_extent.c: In function ‘test_random_rank4’: set_extent.c:2249:23: warning: size of ‘rbuf’ 40000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 2249 | static int rbuf[10][10][10][10]; /* Read buffer */ | ^~~~ set_extent.c:2250:23: warning: size of ‘wbuf’ 40000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 2250 | static int wbuf[10][10][10][10]; /* Write buffer */ | ^~~~ set_extent.c:2251:23: warning: size of ‘dim_log’ 3232 bytes exceeds maximum object size 2560 [-Wlarger-than=] 2251 | static hsize_t dim_log[RAND4_NITER + 1][4]; /* Log of dataset dimensions */ | ^~~~~~~ set_extent.c: In function ‘test_random_rank4_vl’: set_extent.c:2446:23: warning: size of ‘rbuf’ 160000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 2446 | static hvl_t rbuf[10][10][10][10]; /* Read buffer */ | ^~~~ set_extent.c:2447:23: warning: size of ‘wbuf’ 160000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 2447 | static hvl_t wbuf[10][10][10][10]; /* Write buffer */ | ^~~~ set_extent.c:2448:23: warning: size of ‘dim_log’ 3232 bytes exceeds maximum object size 2560 [-Wlarger-than=] 2448 | static hsize_t dim_log[RAND4_NITER + 1][4]; /* Log of dataset dimensions */ | ^~~~~~~ cache_common.c: In function ‘row_major_scan_forward’: cache_common.c:3528:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3528 | row_major_scan_forward(H5F_t *file_ptr, int32_t max_index, int32_t lag, hbool_t verbose, hbool_t reset_stats, | ^~~~~~~~~~~~~~~~~~~~~~ cache_common.c:3528:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3528:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3528:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3528:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3528:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3528:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3528:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3528:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3528:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] ntypes.c:29:7: warning: size of ‘ipoints2’ 80000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 29 | int ipoints2[DIM0][DIM1], icheck2[DIM0][DIM1]; | ^~~~~~~~ ntypes.c:29:29: warning: size of ‘icheck2’ 80000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 29 | int ipoints2[DIM0][DIM1], icheck2[DIM0][DIM1]; | ^~~~~~~ ntypes.c:30:7: warning: size of ‘spoints2’ 40000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 30 | short spoints2[DIM0][DIM1], scheck2[DIM0][DIM1]; | ^~~~~~~~ ntypes.c:30:29: warning: size of ‘scheck2’ 40000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 30 | short spoints2[DIM0][DIM1], scheck2[DIM0][DIM1]; | ^~~~~~~ ntypes.c:31:7: warning: size of ‘ipoints3’ 400000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 31 | int ipoints3[DIM0][DIM1][5], icheck3[DIM0][DIM1][5]; | ^~~~~~~~ ntypes.c:31:32: warning: size of ‘icheck3’ 400000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 31 | int ipoints3[DIM0][DIM1][5], icheck3[DIM0][DIM1][5]; | ^~~~~~~ cache_common.c: In function ‘hl_row_major_scan_forward’: cache_common.c:3860:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3860 | hl_row_major_scan_forward(H5F_t *file_ptr, int32_t max_index, hbool_t verbose, hbool_t reset_stats, | ^~~~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:3860:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c: In function ‘row_major_scan_backward’: cache_common.c:3952:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3952 | row_major_scan_backward(H5F_t *file_ptr, int32_t max_index, int32_t lag, hbool_t verbose, hbool_t reset_stats, | ^~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:3952:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3952:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3952:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3952:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3952:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3952:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3952:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3952:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3952:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3952:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3952:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3952:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c: In function ‘main’: dtransform.c:347:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 347 | TEST_TYPE_CONTIG(dxpl_id_utrans_inv, char, H5T_NATIVE_CHAR, "char", transformData, 0); | ^~~~~~~~~~~~~~~~ dtransform.c:347:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:347:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:347:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:348:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 348 | TEST_TYPE_CONTIG(dxpl_id_utrans_inv, unsigned char, H5T_NATIVE_UCHAR, "uchar", transformData, 0); | ^~~~~~~~~~~~~~~~ dtransform.c:348:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:348:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:348:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:349:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 349 | TEST_TYPE_CONTIG(dxpl_id_c_to_f, signed char, H5T_NATIVE_SCHAR, "schar", windchillFfloat, 1); | ^~~~~~~~~~~~~~~~ dtransform.c:349:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:349:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:349:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:350:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 350 | TEST_TYPE_CONTIG(dxpl_id_c_to_f, short, H5T_NATIVE_SHORT, "short", windchillFfloat, 1); | ^~~~~~~~~~~~~~~~ dtransform.c:350:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:350:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:350:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:351:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 351 | TEST_TYPE_CONTIG(dxpl_id_utrans_inv, unsigned short, H5T_NATIVE_USHORT, "ushort", transformData, 0); | ^~~~~~~~~~~~~~~~ dtransform.c:351:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:351:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:351:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:352:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 352 | TEST_TYPE_CONTIG(dxpl_id_c_to_f, int, H5T_NATIVE_INT, "int", windchillFfloat, 1); | ^~~~~~~~~~~~~~~~ dtransform.c:352:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:352:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:352:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:354:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 354 | TEST_TYPE_CONTIG(dxpl_id_c_to_f, long, H5T_NATIVE_LONG, "long", windchillFfloat, 1); | ^~~~~~~~~~~~~~~~ dtransform.c:354:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:354:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:354:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:356:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 356 | TEST_TYPE_CONTIG(dxpl_id_c_to_f, long long, H5T_NATIVE_LLONG, "llong", windchillFfloat, 1); | ^~~~~~~~~~~~~~~~ dtransform.c:356:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:356:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:356:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:123:21: warning: size of ‘array’ 3456 bytes exceeds maximum object size 2560 [-Wlarger-than=] 123 | TYPE array[ROWS][COLS]; \ | ^~~~~ dtransform.c:361:5: note: in expansion of macro ‘TEST_TYPE_CONTIG’ 361 | TEST_TYPE_CONTIG(dxpl_id_c_to_f, long double, H5T_NATIVE_LDOUBLE, "ldouble", windchillFfloat, 1); | ^~~~~~~~~~~~~~~~ dtransform.c:364:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 364 | TEST_TYPE_CHUNK(dxpl_id_utrans_inv, char, H5T_NATIVE_CHAR, "char", transformData, 0); | ^~~~~~~~~~~~~~~ dtransform.c:364:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:365:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 365 | TEST_TYPE_CHUNK(dxpl_id_utrans_inv, unsigned char, H5T_NATIVE_UCHAR, "uchar", transformData, 0); | ^~~~~~~~~~~~~~~ dtransform.c:365:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:366:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 366 | TEST_TYPE_CHUNK(dxpl_id_c_to_f, signed char, H5T_NATIVE_SCHAR, "schar", windchillFfloat, 1); | ^~~~~~~~~~~~~~~ dtransform.c:366:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:367:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 367 | TEST_TYPE_CHUNK(dxpl_id_c_to_f, short, H5T_NATIVE_SHORT, "short", windchillFfloat, 1); | ^~~~~~~~~~~~~~~ dtransform.c:367:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:368:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 368 | TEST_TYPE_CHUNK(dxpl_id_utrans_inv, unsigned short, H5T_NATIVE_USHORT, "ushort", transformData, 0); | ^~~~~~~~~~~~~~~ dtransform.c:368:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:369:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 369 | TEST_TYPE_CHUNK(dxpl_id_c_to_f, int, H5T_NATIVE_INT, "int", windchillFfloat, 1); | ^~~~~~~~~~~~~~~ dtransform.c:369:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] cache_common.c: In function ‘hl_row_major_scan_backward’: cache_common.c:4212:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4212 | hl_row_major_scan_backward(H5F_t *file_ptr, int32_t max_index, hbool_t verbose, hbool_t reset_stats, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ dtransform.c:371:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 371 | TEST_TYPE_CHUNK(dxpl_id_c_to_f, long, H5T_NATIVE_LONG, "long", windchillFfloat, 1); | ^~~~~~~~~~~~~~~ dtransform.c:371:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:373:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 373 | TEST_TYPE_CHUNK(dxpl_id_c_to_f, long long, H5T_NATIVE_LLONG, "llong", windchillFfloat, 1); | ^~~~~~~~~~~~~~~ dtransform.c:373:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] cache_common.c:4212:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4212:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4212:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4212:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4212:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:210:21: warning: size of ‘array’ 3456 bytes exceeds maximum object size 2560 [-Wlarger-than=] 210 | TYPE array[ROWS][COLS]; \ | ^~~~~ dtransform.c:378:5: note: in expansion of macro ‘TEST_TYPE_CHUNK’ 378 | TEST_TYPE_CHUNK(dxpl_id_c_to_f, long double, H5T_NATIVE_LDOUBLE, "ldouble", windchillFfloat, 1); | ^~~~~~~~~~~~~~~ cache_common.c: In function ‘col_major_scan_backward’: cache_common.c:4530:26: warning: ‘local_max_index[10]’ may be used uninitialized in this function [-Wmaybe-uninitialized] 4530 | idx = local_max_index[NUMBER_OF_ENTRY_TYPES - 1] + lag; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ cache_common.c: In function ‘hl_col_major_scan_backward’: cache_common.c:4603:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4603 | hl_col_major_scan_backward(H5F_t *file_ptr, int32_t max_index, hbool_t verbose, hbool_t reset_stats, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:4603:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 948 | } | ^ dtransform.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c: In function ‘check_and_validate_cache_hit_rate’: cache_common.c:5001:24: warning: potential null pointer dereference [-Wnull-dereference] 5001 | cache_accesses = cache_ptr->cache_accesses; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:5000:24: warning: potential null pointer dereference [-Wnull-dereference] 5000 | cache_hits = cache_ptr->cache_hits; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ cache_common.c: In function ‘check_and_validate_cache_size’: cache_common.c:5128:34: warning: potential null pointer dereference [-Wnull-dereference] 5128 | expected_cur_num_entries = cache_ptr->index_len; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ cache_common.c:5127:34: warning: potential null pointer dereference [-Wnull-dereference] 5127 | expected_cur_size = cache_ptr->index_size; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:5126:34: warning: potential null pointer dereference [-Wnull-dereference] 5126 | expected_min_clean_size = cache_ptr->min_clean_size; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:5125:34: warning: potential null pointer dereference [-Wnull-dereference] 5125 | expected_max_size = cache_ptr->max_cache_size; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 301 | main(void) | ^~~~ dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tcheck_version.c: In function ‘parse’: tcheck_version.c:61:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 61 | parse(int ac, char **av) | ^~~~~ dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] del_many_dense_attrs.c: In function ‘main’: del_many_dense_attrs.c:59:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 59 | main(void) | ^~~~ del_many_dense_attrs.c:59:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] del_many_dense_attrs.c:59:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] del_many_dense_attrs.c:59:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache.c: In function ‘check_flush_cache__single_entry’: cache.c:10563:1: warning: stack usage might be 8336 bytes [-Wstack-usage=] 10563 | check_flush_cache__single_entry(H5F_t *file_ptr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dtypes.c: In function ‘test_compound_10’: dtypes.c:2025:46: warning: potential null pointer dereference [-Wnull-dereference] 2025 | wdata[i].str[9] = (char)(wdata[i].str[9] + i); | ~~~~~~~~~~~~^~~ dtypes.c:2025:25: warning: potential null pointer dereference [-Wnull-dereference] 2025 | wdata[i].str[9] = (char)(wdata[i].str[9] + i); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cache.c: In function ‘check_flush_cache__flush_ops’: cache.c:4815:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4815 | check_flush_cache__flush_ops(H5F_t *file_ptr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ swmr_sparse_reader.c: In function ‘read_records’: swmr_sparse_reader.c:262:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 262 | if (HDtime(NULL) >= (time_t)(start_time + (time_t)TIMEOUT)) { | ^~ cache.c:4815:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] vds_swmr_writer.c: In function ‘main’: vds_swmr_writer.c:117:15: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 117 | while (HDtime(0) < delay) | ^ cork.c: In function ‘verify_named_cork’: cork.c:927:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 927 | verify_named_cork(hbool_t swmr) | ^~~~~~~~~~~~~~~~~ cork.c:927:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] vds_env.c: In function ‘test_vds_prefix_second’: vds_env.c:45:1: warning: stack usage might be 9600 bytes [-Wstack-usage=] 45 | test_vds_prefix_second(unsigned config, hid_t fapl) | ^~~~~~~~~~~~~~~~~~~~~~ cache.c: In function ‘check_metadata_blizzard_absence’: cache.c:26869:1: warning: stack usage is 16896 bytes [-Wstack-usage=] 26869 | check_metadata_blizzard_absence(hbool_t fill_via_insertion, unsigned paged) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cache.c:27696:1: warning: the frame size of 16832 bytes is larger than 16384 bytes [-Wframe-larger-than=] 27696 | } /* check_metadata_blizzard_absence() */ | ^ cache.c: In function ‘check_metadata_cork’: cache.c:32856:1: warning: stack usage is 16896 bytes [-Wstack-usage=] 32856 | check_metadata_cork(hbool_t fill_via_insertion, unsigned paged) | ^~~~~~~~~~~~~~~~~~~ cache.c:33552:1: warning: the frame size of 16832 bytes is larger than 16384 bytes [-Wframe-larger-than=] 33552 | } /* check_metadata_cork() */ | ^ t_mpi.c: In function ‘test_mpio_overlap_writes’: t_mpi.c:51:19: warning: size of ‘buf’ 4093 bytes exceeds maximum object size 2560 [-Wlarger-than=] 51 | unsigned char buf[4093]; /* use some prime number for size */ | ^~~ t_mpi.c: In function ‘test_mpio_gb_file’: t_mpi.c:210:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 210 | is_signed = ((MPI_Offset)(mpi_off - 1)) < 0; | ^~~~~~~~~ testphdf5.c:46:13: warning: size of ‘filenames’ 8192 bytes exceeds maximum object size 2560 [-Wlarger-than=] 46 | char filenames[NFILENAME][PATH_MAX]; | ^~~~~~~~~ testphdf5.c: In function ‘parse_options’: testphdf5.c:556:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 556 | } | ^ testphdf5.c:556:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] testphdf5.c:177:24: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 177 | if (--argc < 2) { | ^ testphdf5.c:189:24: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 189 | if (--argc < 2) { | ^ t_mpi.c: In function ‘test_mpio_overlap_writes’: t_mpi.c:1208:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1208 | } | ^ t_mpi.c:1208:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_span_tree.c:906:5: warning: "LOWER_DIM_SIZE_COMP_TEST__RUN_TEST__DEBUG" is not defined, evaluates to 0 [-Wundef] 906 | #if LOWER_DIM_SIZE_COMP_TEST__RUN_TEST__DEBUG | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ t_bigio.c: In function ‘ccslab_set’: t_bigio.c:262:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 262 | count[0] = ((mpi_rank >= MAX(1, (mpi_size - 2))) ? 0 : space_dim1); | ^~~~~ t_bigio.c:262:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_pflush2.c:29:12: warning: size of ‘data_g’ 40000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 29 | static int data_g[100][100]; | ^~~~~~ t_pflush1.c:28:12: warning: size of ‘data_g’ 40000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 28 | static int data_g[100][100]; | ^~~~~~ t_coll_chunk.c: In function ‘ccslab_set’: t_coll_chunk.c:1071:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1071 | count[0] = ((mpi_rank >= MAX(1, (mpi_size - 2))) ? 0 : SPACE_DIM1); | ^~~~~ t_coll_chunk.c:1071:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_coll_chunk.c:1093:17: warning: assuming signed overflow does not occur when simplifying division [-Wstrict-overflow] 1093 | start[0] = (hsize_t)(1 + SPACE_DIM1 * mpi_size / 2 + (mpi_rank - 2 * mpi_size / 3)); | ^~~~~ t_file.c: In function ‘test_split_comm_access’: t_file.c:109:35: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 109 | mrc = MPI_File_delete((char *)filename, info); | ^ t_2Gio.c:81:13: warning: size of ‘filenames’ 12288 bytes exceeds maximum object size 2560 [-Wlarger-than=] 81 | char filenames[NFILENAME][PATH_MAX]; | ^~~~~~~~~ t_span_tree.c: In function ‘coll_write_test’: t_span_tree.c:2494:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2494 | } /* link_chunk_collective_io_test() */ | ^ t_mpi.c: In function ‘test_mpio_overlap_writes.constprop’: t_mpi.c:42:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 42 | test_mpio_overlap_writes(char *filename) | ^~~~~~~~~~~~~~~~~~~~~~~~ t_mpi.c:42:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c:44:9: warning: size of ‘filenames’ 8192 bytes exceeds maximum object size 2560 [-Wlarger-than=] 44 | char filenames[NFILENAME][PATH_MAX]; | ^~~~~~~~~ t_cache.c:195:14: warning: size of ‘data’ 34400000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 195 | struct datum data[NUM_DATA_ENTRIES]; | ^~~~ t_cache.c:234:5: warning: size of ‘data_index’ 400000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 234 | int data_index[NUM_DATA_ENTRIES]; | ^~~~~~~~~~ t_mpi.c:42:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_mpi.c:42:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_mpi.c:42:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_mdset.c: In function ‘rr_obj_hdr_flush_confusion_writer’: t_mdset.c:1840:9: warning: variable ‘mrc’ set but not used [-Wunused-but-set-variable] 1840 | int mrc; /* mpi error code */ | ^~~ t_cache.c: In function ‘datum_image_len’: t_cache.c:2261:17: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2261 | entry_ptr = (struct datum *)thing; | ^ t_shapesame.c: In function ‘contig_hs_dr_pio_test__d2m_l2s’: t_shapesame.c:728:9: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 728 | if ((PAR_SS_DR_MAX_RANK - i) > (tv_ptr->small_rank - 1)) { | ^~ t_shapesame.c:872:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 872 | } while ((tv_ptr->large_rank > 2) && ((tv_ptr->small_rank - 1) <= 1) && (l < tv_ptr->edge_size)); | ^ t_shapesame.c:874:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 874 | } while ((tv_ptr->large_rank > 3) && ((tv_ptr->small_rank - 1) <= 2) && (k < tv_ptr->edge_size)); | ^ t_shapesame.c:876:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 876 | } while ((tv_ptr->large_rank > 4) && ((tv_ptr->small_rank - 1) <= 3) && (j < tv_ptr->edge_size)); | ^ t_shapesame.c: In function ‘contig_hs_dr_pio_test__d2m_s2l’: t_shapesame.c:963:9: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 963 | if ((PAR_SS_DR_MAX_RANK - i) > (tv_ptr->small_rank - 1)) { | ^~ t_shapesame.c:1116:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1116 | } while ((tv_ptr->large_rank > 2) && ((tv_ptr->small_rank - 1) <= 1) && (l < tv_ptr->edge_size)); | ^ t_shapesame.c:1118:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1118 | } while ((tv_ptr->large_rank > 3) && ((tv_ptr->small_rank - 1) <= 2) && (k < tv_ptr->edge_size)); | ^ t_shapesame.c:1120:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1120 | } while ((tv_ptr->large_rank > 4) && ((tv_ptr->small_rank - 1) <= 3) && (j < tv_ptr->edge_size)); | ^ t_shapesame.c: In function ‘contig_hs_dr_pio_test__m2d_l2s’: t_shapesame.c:1212:9: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 1212 | if ((PAR_SS_DR_MAX_RANK - i) > (tv_ptr->small_rank - 1)) { | ^~ t_span_tree.c:190:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 190 | coll_write_test(int chunk_factor) | ^~~~~~~~~~~~~~~ t_shapesame.c:1391:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1391 | } while ((tv_ptr->large_rank > 2) && ((tv_ptr->small_rank - 1) <= 1) && (l < tv_ptr->edge_size)); | ^ t_shapesame.c:1393:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1393 | } while ((tv_ptr->large_rank > 3) && ((tv_ptr->small_rank - 1) <= 2) && (k < tv_ptr->edge_size)); | ^ t_shapesame.c:1395:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1395 | } while ((tv_ptr->large_rank > 4) && ((tv_ptr->small_rank - 1) <= 3) && (j < tv_ptr->edge_size)); | ^ t_shapesame.c: In function ‘contig_hs_dr_pio_test__m2d_s2l’: t_shapesame.c:1486:9: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 1486 | if ((PAR_SS_DR_MAX_RANK - i) > (tv_ptr->small_rank - 1)) { | ^~ t_shapesame.c:1679:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1679 | } while ((tv_ptr->large_rank > 2) && ((tv_ptr->small_rank - 1) <= 1) && (l < tv_ptr->edge_size)); | ^ t_shapesame.c:1681:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1681 | } while ((tv_ptr->large_rank > 3) && ((tv_ptr->small_rank - 1) <= 2) && (k < tv_ptr->edge_size)); | ^ t_shapesame.c:1683:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1683 | } while ((tv_ptr->large_rank > 4) && ((tv_ptr->small_rank - 1) <= 3) && (j < tv_ptr->edge_size)); | ^ t_span_tree.c:190:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_shapesame.c: In function ‘ckrbrd_hs_dr_pio_test__d2m_l2s’: t_shapesame.c:2598:9: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 2598 | if ((PAR_SS_DR_MAX_RANK - i) > (tv_ptr->small_rank - 1)) { | ^~ t_shapesame.c:2739:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2739 | } while ((tv_ptr->large_rank > 2) && ((tv_ptr->small_rank - 1) <= 1) && (l < tv_ptr->edge_size)); | ^ t_shapesame.c:2741:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2741 | } while ((tv_ptr->large_rank > 3) && ((tv_ptr->small_rank - 1) <= 2) && (k < tv_ptr->edge_size)); | ^ t_shapesame.c:2743:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2743 | } while ((tv_ptr->large_rank > 4) && ((tv_ptr->small_rank - 1) <= 3) && (j < tv_ptr->edge_size)); | ^ t_shapesame.c: In function ‘ckrbrd_hs_dr_pio_test__d2m_s2l’: t_shapesame.c:2823:9: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 2823 | if ((PAR_SS_DR_MAX_RANK - i) > (tv_ptr->small_rank - 1)) { | ^~ t_shapesame.c:3019:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3019 | } while ((tv_ptr->large_rank > 2) && ((tv_ptr->small_rank - 1) <= 1) && (l < tv_ptr->edge_size)); | ^ t_shapesame.c:3021:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3021 | } while ((tv_ptr->large_rank > 3) && ((tv_ptr->small_rank - 1) <= 2) && (k < tv_ptr->edge_size)); | ^ t_shapesame.c:3023:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3023 | } while ((tv_ptr->large_rank > 4) && ((tv_ptr->small_rank - 1) <= 3) && (j < tv_ptr->edge_size)); | ^ t_shapesame.c: In function ‘ckrbrd_hs_dr_pio_test__m2d_l2s’: t_shapesame.c:3125:9: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 3125 | if ((PAR_SS_DR_MAX_RANK - i) > (tv_ptr->small_rank - 1)) { | ^~ t_shapesame.c:3315:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3315 | } while ((tv_ptr->large_rank > 2) && ((tv_ptr->small_rank - 1) <= 1) && (l < tv_ptr->edge_size)); | ^ t_shapesame.c:3317:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3317 | } while ((tv_ptr->large_rank > 3) && ((tv_ptr->small_rank - 1) <= 2) && (k < tv_ptr->edge_size)); | ^ t_shapesame.c:3319:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3319 | } while ((tv_ptr->large_rank > 4) && ((tv_ptr->small_rank - 1) <= 3) && (j < tv_ptr->edge_size)); | ^ t_shapesame.c: In function ‘ckrbrd_hs_dr_pio_test__m2d_s2l’: t_shapesame.c:3423:9: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 3423 | if ((PAR_SS_DR_MAX_RANK - i) > (tv_ptr->small_rank - 1)) { | ^~ t_shapesame.c:3610:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3610 | } while ((tv_ptr->large_rank > 2) && ((tv_ptr->small_rank - 1) <= 1) && (l < tv_ptr->edge_size)); | ^ t_shapesame.c:3612:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3612 | } while ((tv_ptr->large_rank > 3) && ((tv_ptr->small_rank - 1) <= 2) && (k < tv_ptr->edge_size)); | ^ t_shapesame.c:3614:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3614 | } while ((tv_ptr->large_rank > 4) && ((tv_ptr->small_rank - 1) <= 3) && (j < tv_ptr->edge_size)); | ^ t_shapesame.c: At top level: t_shapesame.c:3969:13: warning: size of ‘filenames’ 8192 bytes exceeds maximum object size 2560 [-Wlarger-than=] 3969 | char filenames[NFILENAME][PATH_MAX]; | ^~~~~~~~~ t_cache.c: In function ‘smoke_check_1’: t_cache.c:7047:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7047 | } | ^ t_cache.c:7047:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c: In function ‘smoke_check_2’: t_cache.c:7047:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c:7047:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c: In function ‘smoke_check_3’: t_cache.c:7047:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c:7047:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c: In function ‘smoke_check_4’: t_cache.c:7047:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c:7047:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_shapesame.c: In function ‘parse_options’: t_shapesame.c:4389:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4389 | } | ^ t_shapesame.c:4389:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_shapesame.c:4100:24: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4100 | if (--argc < 2) { | ^ t_shapesame.c:4112:24: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4112 | if (--argc < 2) { | ^ t_shapesame.c: In function ‘hs_dr_pio_test__setup’: t_shapesame.c:4389:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4389 | } | ^ t_shapesame.c:4389:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_2Gio.c: In function ‘parse_options’: t_2Gio.c:4947:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4947 | } | ^ t_2Gio.c:4947:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_2Gio.c:170:24: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 170 | if (--argc < 2) { | ^ t_2Gio.c:182:24: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 182 | if (--argc < 2) { | ^ t_shapesame.c:115:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 115 | hs_dr_pio_test__setup(const int test_num, const int edge_size, const int checker_edge_size, | ^~~~~~~~~~~~~~~~~~~~~ t_shapesame.c:115:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_shapesame.c:115:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_shapesame.c:115:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_shapesame.c:115:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_shapesame.c:115:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c: In function ‘smoke_check_4.isra’: t_cache.c:5749:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5749 | smoke_check_4(int metadata_write_strategy) | ^~~~~~~~~~~~~ t_cache.c:5749:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c:5749:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c:5749:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c: In function ‘smoke_check_3.isra’: t_cache.c:5464:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5464 | smoke_check_3(int metadata_write_strategy) | ^~~~~~~~~~~~~ t_cache.c:5464:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c:5464:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c:5464:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c: In function ‘smoke_check_2.isra’: t_cache.c:5263:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5263 | smoke_check_2(int metadata_write_strategy) | ^~~~~~~~~~~~~ t_cache.c:5263:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c:5263:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c:5263:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c:5263:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c: In function ‘smoke_check_1.isra’: t_cache.c:5099:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5099 | smoke_check_1(int metadata_write_strategy) | ^~~~~~~~~~~~~ t_cache.c:5099:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c:5099:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] t_cache.c:5099:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5diff_util.c: In function ‘print_dimensions’: h5diff_util.c:367:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 367 | } | ^ h5diff_array.c: In function ‘character_compare_opt’: h5diff_array.c:1620:19: warning: variable ‘both_zero’ set but not used [-Wunused-but-set-variable] 1620 | hbool_t both_zero = FALSE; | ^~~~~~~~~ h5diff_util.c:30:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 30 | print_dimensions(int rank, hsize_t *dims) | ^~~~~~~~~~~~~~~~ h5diff_util.c:30:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5diff_util.c:30:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5tools.c: In function ‘init_acc_pos’: h5tools.c:2247:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2247 | } | ^ In file included from /usr/include/string.h:633, from ../../src/H5private.h:58, from h5tools_str.c:17: h5tools_str.c: In function ‘h5tools_str_fmt.part.0’: ../../src/H5private.h:1454:28: warning: ‘__builtin_strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ h5tools_str.c:261:9: note: in expansion of macro ‘HDstrncpy’ 261 | HDstrncpy(temp, str->s + start, n); | ^~~~~~~~~ h5tools.c:1615:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1615 | init_acc_pos(unsigned ndims, const hsize_t *dims, hsize_t *acc, hsize_t *pos, hsize_t *p_min_idx) | ^~~~~~~~~~~~ ph5diff_main.c: In function ‘main’: ph5diff_main.c:65:21: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 65 | MPI_Init(&argc, (char ***)&argv); | ^ ph5diff_main.c: In function ‘h5diff_exit’: ph5diff_main.c:296:17: warning: parameter ‘status’ set but not used [-Wunused-but-set-parameter] 296 | h5diff_exit(int status) | ~~~~^~~~~~ h5dump_ddl.c: In function ‘attr_search’: h5dump_ddl.c:2104:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2104 | } | ^ h5dump_ddl.c:2104:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5dump_ddl.c:1308:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1308 | attr_search(hid_t oid, const char *attr_name, const H5A_info_t H5_ATTR_UNUSED *ainfo, void *_op_data) | ^~~~~~~~~~~ h5dump_ddl.c:1308:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] In file included from /usr/include/string.h:633, from ../../../src/H5private.h:58, from h5dump_ddl.c:14: ../../../src/H5private.h:1448:28: warning: ‘__builtin_strncat’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 1448 | #define HDstrncat(X, Y, Z) strncat(X, Y, Z) | ^~~~~~~ h5dump_ddl.c:1348:21: note: in expansion of macro ‘HDstrncat’ 1348 | HDstrncat(obj_name, buf, u + 1); | ^~~~~~~~~ In file included from h5dump_ddl.c:14: ../../../src/H5private.h:1445:21: note: length computed here 1445 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ h5dump_ddl.c:1337:24: note: in expansion of macro ‘HDstrlen’ 1337 | u = HDstrlen(buf); | ^~~~~~~~ In file included from /usr/include/string.h:633, from ../../../src/H5private.h:58, from h5dump_ddl.c:14: h5dump_ddl.c: In function ‘lnk_search’: ../../../src/H5private.h:1448:28: warning: ‘__builtin_strncat’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 1448 | #define HDstrncat(X, Y, Z) strncat(X, Y, Z) | ^~~~~~~ h5dump_ddl.c:1424:13: note: in expansion of macro ‘HDstrncat’ 1424 | HDstrncat(search_name, op_name, search_len + 1); | ^~~~~~~~~ In file included from h5dump_ddl.c:14: ../../../src/H5private.h:1445:21: note: length computed here 1445 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ h5dump_ddl.c:1411:18: note: in expansion of macro ‘HDstrlen’ 1411 | search_len = HDstrlen(op_name); | ^~~~~~~~ In file included from /usr/include/string.h:633, from ../../../src/H5private.h:58, from h5dump_ddl.c:14: ../../../src/H5private.h:1454:28: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ h5dump_ddl.c:1427:13: note: in expansion of macro ‘HDstrncpy’ 1427 | HDstrncpy(search_name, op_name, search_len + 1); | ^~~~~~~~~ In file included from h5dump_ddl.c:14: ../../../src/H5private.h:1445:21: note: length computed here 1445 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ h5dump_ddl.c:1411:18: note: in expansion of macro ‘HDstrlen’ 1411 | search_len = HDstrlen(op_name); | ^~~~~~~~ h5import.c: In function ‘processConfigurationFile’: h5import.c:5109:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5109 | } | ^ h5import.c:5109:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c:5109:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c: In function ‘processStrHDFData’: h5import.c:5109:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c: In function ‘processStrData’: h5import.c:5109:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c: In function ‘process’: h5import.c:5109:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c: In function ‘processStrHDFData’: h5import.c:1098:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1098 | processStrHDFData(FILE *strm, struct Input *in, hid_t file_id) | ^~~~~~~~~~~~~~~~~ h5import.c:1098:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c:1134:19: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 1134 | while (j < in->path.count - 1) { | ^ h5import.c:1098:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1098 | processStrHDFData(FILE *strm, struct Input *in, hid_t file_id) | ^~~~~~~~~~~~~~~~~ h5import.c: In function ‘processStrData’: h5import.c:956:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 956 | processStrData(FILE *strm, struct Input *in, hid_t file_id) | ^~~~~~~~~~~~~~ h5import.c:956:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c:1008:19: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 1008 | while (j < in->path.count - 1) { | ^ h5import.c:956:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 956 | processStrData(FILE *strm, struct Input *in, hid_t file_id) | ^~~~~~~~~~~~~~ h5import.c: In function ‘processConfigurationFile’: h5import.c:1389:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1389 | processConfigurationFile(char *infile, struct Input *in) | ^~~~~~~~~~~~~~~~~~~~~~~~ h5import.c:1389:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c:1389:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] In file included from /usr/include/string.h:633, from ../../../src/H5private.h:58, from h5import.c:15: In function ‘getExternalFilename’, inlined from ‘processConfigurationFile’ at h5import.c:2386:25: ../../../src/H5private.h:1454:28: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ h5import.c:3783:11: note: in expansion of macro ‘HDstrncpy’ 3783 | (void)HDstrncpy(in->externFilename, temp, HDstrlen(temp) + 1); | ^~~~~~~~~ h5import.c: In function ‘processConfigurationFile’: ../../../src/H5private.h:1445:21: note: length computed here 1445 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ h5import.c:3783:11: note: in expansion of macro ‘HDstrncpy’ 3783 | (void)HDstrncpy(in->externFilename, temp, HDstrlen(temp) + 1); | ^~~~~~~~~ h5import.c:3783:47: note: in expansion of macro ‘HDstrlen’ 3783 | (void)HDstrncpy(in->externFilename, temp, HDstrlen(temp) + 1); | ^~~~~~~~ h5import.c: In function ‘process’: h5import.c:4606:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4606 | process(struct Options *opt) | ^~~~~~~ h5import.c:4606:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c:4666:27: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 4666 | while (j < in->path.count - 1) { | ^ h5import.c:4606:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4606 | process(struct Options *opt) | ^~~~~~~ h5repack.c: In function ‘h5repack_addfilter’: h5repack.c:911:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 911 | } /* end get_sfilter() */ | ^ h5repack_refs.c: In function ‘copy_refs_attr’: h5repack_refs.c:437:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 437 | copy_refs_attr(hid_t loc_in, hid_t loc_out, trav_table_t *travt, hid_t fidout) /* for saving references */ | ^~~~~~~~~~~~~~ h5diffgentest.c: In function ‘gen_dataset_idx’: h5diffgentest.c:2064:13: warning: unused variable ‘did2’ [-Wunused-variable] 2064 | hid_t did2 = H5I_INVALID_HID; /* dataset id */ | ^~~~ h5diffgentest.c: In function ‘write_attr_strings’: h5diffgentest.c:5674:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 5674 | for (l = 0; l < i + 1; l++) | ^~~ h5diffgentest.c:6073:17: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 6073 | for (l = 0; l < i + 1; l++) | ^~~ h5diffgentest.c: In function ‘write_attr_in’: h5diffgentest.c:6663:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 6663 | for (l = 0; l < i + 1; l++) | ^~~ h5diffgentest.c:7063:17: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 7063 | for (l = 0; l < i + 1; l++) | ^~~ h5diffgentest.c: In function ‘write_dset_in’: h5diffgentest.c:7554:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 7554 | for (l = 0; l < i + 1; l++) { | ^~~ h5diffgentest.c:7733:17: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 7733 | for (l = 0; l < i + 1; l++) { | ^~~ h5dumpgentest.c: In function ‘gent_vldatatypes’: h5dumpgentest.c:2694:9: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 2694 | for (j = 0; j < i + 1; j++) | ^~~ h5dumpgentest.c:2721:9: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 2721 | for (j = 0; j < i + 1; j++) | ^~~ h5dumpgentest.c: In function ‘gent_vldatatypes5’: h5dumpgentest.c:2997:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 2997 | for (j = 0; j < i + 5; j++) | ^~~ h5dumpgentest.c: In function ‘gent_array6’: h5dumpgentest.c:3445:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 3445 | for (k = 0; k < (i + j + 1); k++) | ^~~ h5dumpgentest.c: In function ‘gent_array7’: h5dumpgentest.c:3507:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 3507 | for (k = 0; k < (i + j + 1); k++) | ^~~ h5dumpgentest.c: In function ‘gent_multi’: h5dumpgentest.c:3885:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3885 | memb_addr[mt] = (haddr_t)MAX(mt - 1, 0) * (HADDR_MAX / 10); | ^~~~~~~~~ h5dumpgentest.c: In function ‘write_attr_in’: h5dumpgentest.c:4264:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 4264 | for (l = 0; l < i + 1; l++) | ^~~ h5dumpgentest.c:4394:17: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 4394 | for (l = 0; l < i + 1; l++) | ^~~ h5dumpgentest.c: In function ‘write_dset_in’: h5dumpgentest.c:4693:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 4693 | for (l = 0; l < i + 1; l++) | ^~~ h5dumpgentest.c:4830:17: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 4830 | for (l = 0; l < i + 1; l++) | ^~~ h5dumpgentest.c: In function ‘gent_intsfourdims’: h5dumpgentest.c:10539:18: warning: size of ‘dset1’ 7680 bytes exceeds maximum object size 2560 [-Wlarger-than=] 10539 | uint32_t dset1[F81_ZDIM][F81_YDIM][F81_XDIM][F81_WDIM]; | ^~~~~ h5dumpgentest.c: In function ‘main’: h5dumpgentest.c:11234:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 11234 | main(void) | ^~~~ h5clear_gentest.c: In function ‘gen_enhance_files’: h5clear_gentest.c:205:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 205 | for (i = 0 + u; i < 3 + u; i++) { | ^~~ h5repacktst.c: In function ‘make_deflate’: h5repacktst.c:2511:16: warning: unused variable ‘dims1r’ [-Wunused-variable] 2511 | hsize_t dims1r[1] = {1}; | ^~~~~~ h5repacktst.c:2510:16: warning: unused variable ‘bufref’ [-Wunused-variable] 2510 | hobj_ref_t bufref[1]; /* reference */ | ^~~~~~ h5repacktst.c:2503:20: warning: unused parameter ‘loc_id’ [-Wunused-parameter] 2503 | make_deflate(hid_t loc_id) | ~~~~~~^~~~~~ h5stat_gentest.c: In function ‘gen_idx_file’: h5stat_gentest.c:337:23: warning: unused variable ‘did2’ [-Wunused-variable] 337 | hid_t did = -1, did2 = H5I_INVALID_HID; /* dataset id */ | ^~~~ sio_engine.c: In function ‘do_sio’: sio_engine.c:141:10: warning: size of ‘fname’ 4096 bytes exceeds maximum object size 2560 [-Wlarger-than=] 141 | char fname[FILENAME_MAX]; /* test file name */ | ^~~~~ sio_engine.c: In function ‘set_vfd’: sio_engine.c:1169:21: warning: size of ‘sv’ 7168 bytes exceeds maximum object size 2560 [-Wlarger-than=] 1169 | char sv[H5FD_MEM_NTYPES][1024]; | ^~ sio_engine.c:1183:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1183 | memb_addr[mt] = (haddr_t)MAX(mt - 1, 0) * (HADDR_MAX / 10); | ^~~~~~~~~ pio_engine.c: In function ‘do_pio’: pio_engine.c:151:11: warning: size of ‘fname’ 4096 bytes exceeds maximum object size 2560 [-Wlarger-than=] 151 | char fname[FILENAME_MAX]; | ^~~~~ pio_engine.c: In function ‘do_write’: pio_engine.c:1188:57: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1188 | (char *)"native", h5_io_info_g); | ^ pio_perf.c: In function ‘parse_command_line’: pio_engine.c:1325:53: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 1325 | (char *)"native", h5_io_info_g); | ^ pio_perf.c:1289:36: warning: to be safe all intermediate pointers in cast from ‘char **’ to ‘const char **’ must be ‘const’ qualified [-Wcast-qual] 1289 | while ((opt = get_option(argc, (const char **)argv, s_opts, l_opts)) != EOF) { | ^ sio_engine.c: In function ‘do_write’: pio_engine.c: In function ‘do_read’: sio_engine.c:1338:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1338 | H5_GCC_DIAG_ON("format-nonliteral") | ^~~~~~~~~~~~~~ pio_engine.c:2159:57: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2159 | (char *)"native", h5_io_info_g); | ^ pio_engine.c:2296:53: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2296 | (char *)"native", h5_io_info_g); | ^ perf.c: In function ‘main’: perf.c:145:5: warning: "H5_HAVE_SETENV" is not defined, evaluates to 0 [-Wundef] 145 | #if H5_HAVE_SETENV | ^~~~~~~~~~~~~~ sio_engine.c: In function ‘do_read’: sio_engine.c:1338:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] perf.c:377:5: warning: "H5_HAVE_SETENV" is not defined, evaluates to 0 [-Wundef] 377 | #if H5_HAVE_SETENV | ^~~~~~~~~~~~~~ sio_perf.c: In function ‘output_all_info’: sio_perf.c:1437:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1437 | } /* end usage() */ | ^ sio_perf.c:1437:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] pio_engine.c: In function ‘do_write’: pio_engine.c:941:31: warning: ‘bytes_begin[1]’ may be used uninitialized in this function [-Wmaybe-uninitialized] 941 | posix_file_offset = dset_offset + bytes_begin[0] * snbytes + bytes_begin[1]; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sio_engine.c: In function ‘do_sio’: sio_engine.c:131:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 131 | do_sio(parameters param, results *res) | ^~~~~~ sio_engine.c:131:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] sio_engine.c:131:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] sio_engine.c:131:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] sio_perf.c: In function ‘main’: sio_perf.c:324:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 324 | main(int argc, const char *argv[]) | ^~~~ sio_perf.c:324:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] sio_perf.c:324:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] sio_perf.c:324:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] sio_perf.c:324:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] sio_perf.c:324:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] In file included from /usr/include/string.h:633, from ../../../src/H5private.h:58, from ../../../test/h5test.h:28, from sio_perf.h:18, from sio_engine.c:35: In function ‘sio_create_filename’, inlined from ‘do_sio’ at sio_engine.c:207:5: ../../../src/H5private.h:1454:28: warning: ‘__builtin_strncpy’ specified bound 4096 equals destination size [-Wstringop-truncation] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ sio_engine.c:350:13: note: in expansion of macro ‘HDstrncpy’ 350 | HDstrncpy(fullname, prefix, size); | ^~~~~~~~~ pio_perf.c: In function ‘main’: pio_perf.c:327:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 327 | main(int argc, char *argv[]) | ^~~~ pio_perf.c:327:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] pio_perf.c:458:12: warning: ‘doing_pio’ may be used uninitialized in this function [-Wmaybe-uninitialized] 458 | if (doing_pio) { | ^ pio_perf.c:431:16: note: ‘doing_pio’ was declared here 431 | int doing_pio; /* if this process is doing PIO */ | ^~~~~~~~~ In file included from /usr/include/string.h:633, from ../../../src/H5private.h:58, from ../../../test/h5test.h:28, from pio_perf.h:18, from pio_engine.c:43: In function ‘pio_create_filename’, inlined from ‘do_pio’ at pio_engine.c:288:9: ../../../src/H5private.h:1454:28: warning: ‘__builtin_strncpy’ specified bound 4096 equals destination size [-Wstringop-truncation] 1454 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ pio_engine.c:442:13: note: in expansion of macro ‘HDstrncpy’ 442 | HDstrncpy(fullname, prefix, size); | ^~~~~~~~~ pio_engine.c: In function ‘do_pio’: pio_engine.c:1914:31: warning: ‘bytes_begin[1]’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1914 | posix_file_offset = dset_offset + bytes_begin[0] * snbytes + bytes_begin[1]; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pio_engine.c:1536:20: note: ‘bytes_begin[1]’ was declared here 1536 | off_t bytes_begin[2]; /*first elmt this process transfer */ | ^~~~~~~~~~~ H5match_types.c: In function ‘main’: H5match_types.c:363:56: warning: ‘%s’ directive output may be truncated writing up to 319 bytes into a region of size 51 [-Wformat-truncation=] 363 | snprintf(chrA, sizeof(chrA), "Fortran_REAL_%s", Real_C_TYPES[i]); | ^~ H5match_types.c:363:13: note: ‘snprintf’ output between 14 and 333 bytes into a destination of size 64 363 | snprintf(chrA, sizeof(chrA), "Fortran_REAL_%s", Real_C_TYPES[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5match_types.c:364:48: warning: ‘%s’ directive output may be truncated writing up to 319 bytes into a region of size 59 [-Wformat-truncation=] 364 | snprintf(chrB, sizeof(chrB), "real_%s_f", Real_C_TYPES[i]); | ^~ H5match_types.c:364:13: note: ‘snprintf’ output between 8 and 327 bytes into a destination of size 64 364 | snprintf(chrB, sizeof(chrB), "real_%s_f", Real_C_TYPES[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5fortran_types.F90:18:14: 18 | USE ISO_C_BINDING | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5f90global.F90:43:7: 43 | USE H5FORTRAN_TYPES | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5Fff.F90:42:7: 42 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5Iff.F90:43:7: 43 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5Gff.F90:42:7: 42 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5Aff.F90:77:7: 77 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5Lff.F90:40:7: 40 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5Off.F90:44:7: 44 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5Rff.F90:43:7: 43 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5Zff.F90:39:7: 39 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5Dff.F90:91:7: 91 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5Eff.F90:43:7: 43 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5Sff.F90:43:7: 43 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5Tff.F90:41:7: 41 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5Pff.F90:42:7: 42 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5VLff.F90:40:7: 40 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5Pff.F90:43:7: 43 | USE H5fortkit | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5VLff.F90:41:7: 41 | USE H5fortkit | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5f90kit.c: In function ‘HD5f2cstring’: H5f90kit.c:104:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 104 | } /* HD5packFstring */ | ^ H5f90kit.c:45:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 45 | HD5f2cstring(_fcd fdesc, size_t len) | ^~~~~~~~~~~~ H5f90kit.c:45:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Aff.F90:1787:63: 1787 | SUBROUTINE H5Aread_char_scalar(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5Aff.F90:1720:77: 1720 | SUBROUTINE H5Awrite_char_scalar_fix(attr_id, memtype_id, buf, buf_len, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5Ff.c: In function ‘h5fget_fileno_c’: H5Ff.c:671:15: warning: conversion from ‘long long unsigned int’ to ‘int_f’ {aka ‘int’} may change value [-Wconversion] 671 | *fileno = (hsize_t_f)fileno_c; | ^ H5Dff.F90:1432:64: 1432 | SUBROUTINE h5dread_char_scalar(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5Dff.F90:1304:78: 1304 | SUBROUTINE h5dwrite_char_scalar_fix(dset_id, mem_type_id, buf, buf_len, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5Sff.F90:1819:21: 1819 | start(1:n) = start(n:1:-1) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] H5Sff.F90:1820:21: 1820 | stride(1:n) = stride(n:1:-1) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] H5Sff.F90:1821:21: 1821 | count(1:n) = count(n:1:-1) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] H5Sff.F90:1822:21: 1822 | block(1:n) = block(n:1:-1) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] H5Sff.F90:1228:12: 1228 | stride, BLOCK) | 1 Warning: Creating array temporary at (1) for argument ‘stride’ [-Warray-temporaries] H5Sff.F90:1228:12: 1228 | stride, BLOCK) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] H5Sff.F90:1228:20: 1228 | stride, BLOCK) | 1 Warning: Creating array temporary at (1) for argument ‘block’ [-Warray-temporaries] H5Sff.F90:1228:20: 1228 | stride, BLOCK) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] H5Sff.F90:1247:12: 1247 | stride, def_block) | 1 Warning: Creating array temporary at (1) for argument ‘stride’ [-Warray-temporaries] H5Sff.F90:1247:12: 1247 | stride, def_block) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] H5Sff.F90:1260:24: 1260 | def_stride, BLOCK) | 1 Warning: Creating array temporary at (1) for argument ‘block’ [-Warray-temporaries] H5Sff.F90:1260:24: 1260 | def_stride, BLOCK) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] H5Sff.F90:101:7: 101 | f_maxdims = maxdims | 1 Warning: Code for reallocating the allocatable array at (1) will be added [-Wrealloc-lhs] H5Sff.F90:103:7: 103 | f_maxdims = dims | 1 Warning: Code for reallocating the allocatable array at (1) will be added [-Wrealloc-lhs] H5Pff.F90:708:38: 708 | hdferr = h5pget_version_c(prp_id, boot, freelist, stab, shhdr) | 1 Warning: Creating array temporary at (1) for argument ‘boot’ [-Warray-temporaries] H5Pff.F90:708:38: 708 | hdferr = h5pget_version_c(prp_id, boot, freelist, stab, shhdr) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] H5Pff.F90:708:44: 708 | hdferr = h5pget_version_c(prp_id, boot, freelist, stab, shhdr) | 1 Warning: Creating array temporary at (1) for argument ‘freelist’ [-Warray-temporaries] H5Pff.F90:708:44: 708 | hdferr = h5pget_version_c(prp_id, boot, freelist, stab, shhdr) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] H5Pff.F90:708:54: 708 | hdferr = h5pget_version_c(prp_id, boot, freelist, stab, shhdr) | 1 Warning: Creating array temporary at (1) for argument ‘stab’ [-Warray-temporaries] H5Pff.F90:708:54: 708 | hdferr = h5pget_version_c(prp_id, boot, freelist, stab, shhdr) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] H5Pff.F90:708:60: 708 | hdferr = h5pget_version_c(prp_id, boot, freelist, stab, shhdr) | 1 Warning: Creating array temporary at (1) for argument ‘shhdr’ [-Warray-temporaries] H5Pff.F90:708:60: 708 | hdferr = h5pget_version_c(prp_id, boot, freelist, stab, shhdr) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] H5_ff.F90:42:7: 42 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5_ff.F90:846:9: 846 | USE ISO_C_BINDING | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 H5_gen.F90:31:7: 31 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5_gen.F90:32:7: 32 | USE H5A | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5_gen.F90:33:7: 33 | USE H5D | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5_gen.F90:34:7: 34 | USE H5P | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5_gen.F90:6956:69: 6956 | SUBROUTINE h5dwrite_ikind_16_rank_0(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:6732:68: 6732 | SUBROUTINE h5dwrite_ikind_8_rank_0(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:6508:68: 6508 | SUBROUTINE h5dwrite_ikind_4_rank_0(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:6284:68: 6284 | SUBROUTINE h5dwrite_ikind_2_rank_0(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:6060:68: 6060 | SUBROUTINE h5dwrite_ikind_1_rank_0(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:5836:69: 5836 | SUBROUTINE h5dwrite_rkind_16_rank_0(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:5612:69: 5612 | SUBROUTINE h5dwrite_rkind_10_rank_0(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:5388:68: 5388 | SUBROUTINE h5dwrite_rkind_8_rank_0(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:5164:68: 5164 | SUBROUTINE h5dwrite_rkind_4_rank_0(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:4744:68: 4744 | SUBROUTINE h5dread_ikind_16_rank_0(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:4520:67: 4520 | SUBROUTINE h5dread_ikind_8_rank_0(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:4296:67: 4296 | SUBROUTINE h5dread_ikind_4_rank_0(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:4072:67: 4072 | SUBROUTINE h5dread_ikind_2_rank_0(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:3848:67: 3848 | SUBROUTINE h5dread_ikind_1_rank_0(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:3624:68: 3624 | SUBROUTINE h5dread_rkind_16_rank_0(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:3400:68: 3400 | SUBROUTINE h5dread_rkind_10_rank_0(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:3176:67: 3176 | SUBROUTINE h5dread_rkind_8_rank_0(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:2952:67: 2952 | SUBROUTINE h5dread_rkind_4_rank_0(dset_id, mem_type_id, buf, dims, hdferr, & | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:2742:67: 2742 | SUBROUTINE h5aread_ikind_16_rank_0(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:2630:66: 2630 | SUBROUTINE h5aread_ikind_8_rank_0(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:2518:66: 2518 | SUBROUTINE h5aread_ikind_4_rank_0(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:2406:66: 2406 | SUBROUTINE h5aread_ikind_2_rank_0(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:2294:66: 2294 | SUBROUTINE h5aread_ikind_1_rank_0(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:2182:67: 2182 | SUBROUTINE h5aread_rkind_16_rank_0(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:2070:67: 2070 | SUBROUTINE h5aread_rkind_10_rank_0(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:1958:66: 1958 | SUBROUTINE h5aread_rkind_8_rank_0(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:1846:66: 1846 | SUBROUTINE h5aread_rkind_4_rank_0(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:1636:68: 1636 | SUBROUTINE h5awrite_ikind_16_rank_0(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:1524:67: 1524 | SUBROUTINE h5awrite_ikind_8_rank_0(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:1412:67: 1412 | SUBROUTINE h5awrite_ikind_4_rank_0(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:1300:67: 1300 | SUBROUTINE h5awrite_ikind_2_rank_0(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:1188:67: 1188 | SUBROUTINE h5awrite_ikind_1_rank_0(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:1076:68: 1076 | SUBROUTINE h5awrite_rkind_16_rank_0(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:964:68: 964 | SUBROUTINE h5awrite_rkind_10_rank_0(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:852:67: 852 | SUBROUTINE h5awrite_rkind_8_rank_0(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] H5_gen.F90:740:67: 740 | SUBROUTINE h5awrite_rkind_4_rank_0(attr_id, memtype_id, buf, dims, hdferr) | 1 Warning: Unused dummy argument ‘dims’ at (1) [-Wunused-dummy-argument] HDF5.F90:28:7: 28 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] HDF5.F90:29:7: 29 | USE H5F | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] HDF5.F90:30:7: 30 | USE H5G | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] HDF5.F90:31:7: 31 | USE H5E | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] HDF5.F90:32:7: 32 | USE H5I | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] HDF5.F90:33:7: 33 | USE H5L | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] HDF5.F90:34:7: 34 | USE H5S | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] HDF5.F90:35:7: 35 | USE H5D | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] HDF5.F90:36:7: 36 | USE H5A | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] HDF5.F90:37:7: 37 | USE H5T | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] HDF5.F90:38:7: 38 | USE H5O | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] HDF5.F90:39:7: 39 | USE H5P | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] HDF5.F90:40:7: 40 | USE H5R | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] HDF5.F90:41:7: 41 | USE H5VL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] HDF5.F90:42:7: 42 | USE H5Z | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] HDF5.F90:43:7: 43 | USE H5_gen | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] HDF5.F90:44:7: 44 | USE H5LIB | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] H5_test_buildiface.F90:50:20: 50 | USE, INTRINSIC :: ISO_C_BINDING | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 tf_gen.F90:29:20: 29 | USE, INTRINSIC :: ISO_C_BINDING | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tf.F90:33:20: 33 | USE, INTRINSIC :: ISO_C_BINDING | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tf.F90:138:9: 138 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tf.F90:152:14: 152 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tf.F90:198:9: 198 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tf.F90:208:14: 208 | USE H5GLOBAL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5F.F90:38:13: 38 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5F.F90:39:13: 39 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5F.F90:399:13: 399 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5F.F90:400:13: 400 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5F.F90:592:14: 592 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5F.F90:593:14: 593 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5F.F90:692:13: 692 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5F.F90:693:13: 693 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5F.F90:821:13: 821 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5F.F90:822:13: 822 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5D.F90:37:7: 37 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5D.F90:38:7: 38 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5D.F90:39:7: 39 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5D.F90:516:9: 516 | USE ISO_C_BINDING | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5D.F90:335:14: 335 | maxdims = (/H5S_UNLIMITED_F, H5S_UNLIMITED_F/) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] tH5R.F90:34:7: 34 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5R.F90:35:7: 35 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5R.F90:36:7: 36 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5S.F90:36:7: 36 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5S.F90:37:7: 37 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5S.F90:38:7: 38 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5T.F90:30:7: 30 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5T.F90:31:7: 31 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5T.F90:32:7: 32 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5T.F90:823:9: 823 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5T.F90:824:9: 824 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5VL.F90:29:7: 29 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5VL.F90:30:7: 30 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5VL.F90:31:7: 31 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5Z.F90:35:8: 35 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5Z.F90:36:8: 36 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5Z.F90:168:13: 168 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5Z.F90:169:13: 169 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5Z.F90:195:56: 195 | INTEGER, DIMENSION(N,M) :: dset_data, data_out ! Data buffers | 1 Warning: Array ‘data_out’ at (1) is larger than limit set by ‘-fmax-stack-var-size=’, moved from stack to static storage. This makes the procedure unsafe when called recursively, or concurrently from multiple threads. Consider using ‘-frecursive’, or increase the ‘-fmax-stack-var-size=’ limit, or change the code to use an ALLOCATABLE array. [-Wsurprising] tH5Z.F90:195:46: 195 | INTEGER, DIMENSION(N,M) :: dset_data, data_out ! Data buffers | 1 Warning: Array ‘dset_data’ at (1) is larger than limit set by ‘-fmax-stack-var-size=’, moved from stack to static storage. This makes the procedure unsafe when called recursively, or concurrently from multiple threads. Consider using ‘-frecursive’, or increase the ‘-fmax-stack-var-size=’ limit, or change the code to use an ALLOCATABLE array. [-Wsurprising] tH5Sselect.F90:39:7: 39 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5Sselect.F90:40:7: 40 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5Sselect.F90:41:7: 41 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5Sselect.F90:324:9: 324 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5Sselect.F90:325:9: 325 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5P.F90:28:7: 28 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5P.F90:29:7: 29 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5P.F90:30:7: 30 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5P.F90:742:39: 742 | SUBROUTINE test_misc_properties(cleanup, total_error) | 1 Warning: Unused dummy argument ‘cleanup’ at (1) [-Wunused-dummy-argument] tH5A.F90:30:10: 30 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5A.F90:31:10: 31 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5A.F90:32:10: 32 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5I.F90:29:7: 29 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5I.F90:30:7: 30 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5I.F90:31:7: 31 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5G.F90:39:10: 39 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5G.F90:40:10: 40 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5E.F90:40:8: 40 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5E.F90:41:8: 41 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5.F90:29:7: 29 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5.F90:30:7: 30 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5.F90:31:7: 31 | USE TH5A | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5.F90:32:7: 32 | USE TH5D | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5.F90:33:7: 33 | USE TH5E | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5.F90:34:7: 34 | USE TH5F | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5.F90:35:7: 35 | USE TH5G | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5.F90:36:7: 36 | USE TH5I | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5.F90:37:7: 37 | USE TH5P | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5.F90:38:7: 38 | USE TH5R | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5.F90:39:7: 39 | USE TH5S | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5.F90:40:7: 40 | USE TH5SSELECT | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5.F90:41:7: 41 | USE TH5T | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5.F90:42:7: 42 | USE TH5VL | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5.F90:43:7: 43 | USE TH5Z | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] fortranlib_test.F90:29:7: 29 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] fortranlib_test.F90:30:7: 30 | USE THDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 fflush1.F90:30:10: 30 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] fflush1.F90:31:10: 31 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 fflush2.F90:30:7: 30 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] fflush2.F90:31:7: 31 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 tH5O.F90:29:7: 29 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5O.F90:30:7: 30 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5O.F90:31:7: 31 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5A_1_8.F90:33:7: 33 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5A_1_8.F90:34:7: 34 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5A_1_8.F90:35:7: 35 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5G_1_8.F90:32:7: 32 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5G_1_8.F90:33:7: 33 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5G_1_8.F90:34:7: 34 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5G_1_8.F90:1396:13: 1396 | hard_link, use_index, total_error) | 1 Warning: Unused dummy argument ‘hard_link’ at (1) [-Wunused-dummy-argument] tH5G_1_8.F90:1396:24: 1396 | hard_link, use_index, total_error) | 1 Warning: Unused dummy argument ‘use_index’ at (1) [-Wunused-dummy-argument] tH5MISC_1_8.F90:26:7: 26 | USE HDF5 ! This module contains all necessary modules | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5MISC_1_8.F90:27:7: 27 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5MISC_1_8.F90:28:7: 28 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5_1_8.F90:30:7: 30 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5_1_8.F90:31:7: 31 | USE TH5MISC_1_8 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5_1_8.F90:32:7: 32 | USE TH5A_1_8 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5_1_8.F90:33:7: 33 | USE TH5G_1_8 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5_1_8.F90:34:7: 34 | USE TH5O | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] fortranlib_test_1_8.F90:27:7: 27 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] fortranlib_test_1_8.F90:28:7: 28 | USE THDF5_1_8 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] fortranlib_test_1_8.F90:29:7: 29 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 tH5E_F03.F90:37:7: 37 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5E_F03.F90:38:7: 38 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5E_F03.F90:39:7: 39 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5E_F03.F90:102:7: 102 | USE ISO_C_BINDING | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5E_F03.F90:103:7: 103 | USE test_my_hdf5_error_handler | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5E_F03.F90:72:69: 72 | INTEGER FUNCTION my_hdf5_error_handler_nodata(estack_id, data_inout) bind(C) | 1 Warning: Unused dummy argument ‘data_inout’ at (1) [-Wunused-dummy-argument] tH5E_F03.F90:72:57: 72 | INTEGER FUNCTION my_hdf5_error_handler_nodata(estack_id, data_inout) bind(C) | 1 Warning: Unused dummy argument ‘estack_id’ at (1) [-Wunused-dummy-argument] tH5E_F03.F90:49:52: 49 | INTEGER FUNCTION my_hdf5_error_handler(estack_id, data_inout) bind(C) | 1 Warning: Unused dummy argument ‘estack_id’ at (1) [-Wunused-dummy-argument] tH5F_F03.F90:39:7: 39 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5F_F03.F90:40:7: 40 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5F_F03.F90:41:7: 41 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5F_F03.F90:42:7: 42 | USE ISO_C_BINDING | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5L_F03.F90:33:7: 33 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5L_F03.F90:34:7: 34 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5L_F03.F90:35:7: 35 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5L_F03.F90:36:20: 36 | USE, INTRINSIC :: ISO_C_BINDING | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5L_F03.F90:124:7: 124 | USE liter_cb_mod | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5L_F03.F90:61:45: 61 | INTEGER(KIND=C_INT) FUNCTION liter_cb(group, name, link_info, op_data) bind(C) | 1 Warning: Unused dummy argument ‘group’ at (1) [-Wunused-dummy-argument] tH5L_F03.F90:61:62: 61 | INTEGER(KIND=C_INT) FUNCTION liter_cb(group, name, link_info, op_data) bind(C) | 1 Warning: Unused dummy argument ‘link_info’ at (1) [-Wunused-dummy-argument] tH5L_F03.F90:105:23: 105 | END FUNCTION liter_cb | ^ Warning: ‘__result_liter_cb’ may be used uninitialized in this function [-Wmaybe-uninitialized] tH5L_F03.F90:61:39: 61 | INTEGER(KIND=C_INT) FUNCTION liter_cb(group, name, link_info, op_data) bind(C) | ^ note: ‘__result_liter_cb’ was declared here tH5O_F03.F90:31:7: 31 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5O_F03.F90:32:20: 32 | USE, INTRINSIC :: ISO_C_BINDING | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5O_F03.F90:286:7: 286 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5O_F03.F90:287:7: 287 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5O_F03.F90:288:7: 288 | USE ISO_C_BINDING | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5O_F03.F90:425:7: 425 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5O_F03.F90:426:7: 426 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5O_F03.F90:428:7: 428 | USE visit_cb | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5O_F03.F90:429:7: 429 | USE ISO_C_BINDING | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5O_F03.F90:563:7: 563 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5O_F03.F90:564:7: 564 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5O_F03.F90:565:7: 565 | USE ISO_C_BINDING | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5O_F03.F90:717:7: 717 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5O_F03.F90:718:7: 718 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5P_F03.F90:40:7: 40 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5P_F03.F90:41:7: 41 | USE ISO_C_BINDING | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5P_F03.F90:70:7: 70 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5P_F03.F90:71:7: 71 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5P_F03.F90:72:7: 72 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5P_F03.F90:73:7: 73 | USE ISO_C_BINDING | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5P_F03.F90:297:7: 297 | USE test_genprop_cls_cb1_mod | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5P_F03.F90:448:20: 448 | USE, INTRINSIC :: iso_c_binding | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5P_F03.F90:665:7: 665 | USE ISO_C_BINDING | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5P_F03.F90:741:16: 741 | vdsdims_max = (/VDSDIM0, VDSDIM1, VDSDIM2/) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] tH5P_F03.F90:742:13: 742 | dims_max = (/INT(DIM0,hsize_t), INT(DIM1,hsize_t), INT(DIM2,hsize_t)/) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] tH5P_F03.F90:799:15: 799 | count(1:3) = (/H5S_UNLIMITED_F,1_hsize_t,1_hsize_t/) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] tH5P_F03.F90:800:19: 800 | src_count(1:3) = (/H5S_UNLIMITED_F,1_hsize_t,1_hsize_t/) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] tH5P_F03.F90:862:18: 862 | block(1:3) = (/i, DIM1, DIM2/) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] tH5T_F03.F90:46:7: 46 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5T_F03.F90:47:7: 47 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5T_F03.F90:48:7: 48 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5T_F03.F90:49:7: 49 | USE ISO_C_BINDING | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tH5T_F03.F90:3025:17: 3025 | IF(.NOT.(orig_data(i,j).EQ.orig_data(i,j))) CYCLE ! skip IF value is NaN | 1 Warning: Equality comparison for REAL(4) at (1) [-Wcompare-reals] tH5T_F03.F90:2819:13: 2819 | max_dims = (/H5S_UNLIMITED_F/) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] tH5T_F03.F90:2270:34: 2270 | CALL c_f_pointer(rdata(i)%p, ptr_r, [rdata(i)%len] ) | 1 Warning: Creating array temporary at (1) [-Warray-temporaries] tH5T_F03.F90:1378:46: 1378 | INTEGER, PARAMETER :: SOLID=0, LIQUID=1, GAS=2, PLASMA=3 | 1 Warning: Unused parameter ‘gas’ declared at (1) [-Wunused-parameter] tH5T_F03.F90:1378:39: 1378 | INTEGER, PARAMETER :: SOLID=0, LIQUID=1, GAS=2, PLASMA=3 | 1 Warning: Unused parameter ‘liquid’ declared at (1) [-Wunused-parameter] tHDF5_F03.F90:30:7: 30 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5_F03.F90:31:7: 31 | USE TH5E_F03 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5_F03.F90:32:7: 32 | USE TH5F_F03 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5_F03.F90:33:7: 33 | USE TH5L_F03 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5_F03.F90:34:7: 34 | USE TH5O_F03 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5_F03.F90:35:7: 35 | USE TH5P_F03 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] tHDF5_F03.F90:36:7: 36 | USE TH5T_F03 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] fortranlib_test_F03.F90:28:7: 28 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] fortranlib_test_F03.F90:29:7: 29 | USE THDF5_F03 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 vol_connector.F90:30:7: 30 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] vol_connector.F90:31:7: 31 | USE TH5_MISC | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] vol_connector.F90:32:7: 32 | USE TH5_MISC_GEN | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] vol_connector.F90:231:7: 231 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] vol_connector.F90:232:7: 232 | USE VOL_TMOD | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: warning: libgfortran.so.3, needed by /opt/openmpi/4.1/gnu/lib/libmpi_usempi.so, may conflict with libgfortran.so.5 ptest.f90:19:7: 19 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] hyper.f90:20:7: 20 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] mdset.f90:20:7: 20 | USE HDF5 | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] ptest.f90:20:7: 20 | USE MPI | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] hyper.f90:21:7: 21 | USE MPI | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] ptest.f90:20:7: Fatal Error: Cannot read module file ‘/opt/openmpi/4.1/gnu/lib/mpi.mod’ opened at (1), because it was created by a different version of GNU Fortran compilation terminated. mdset.f90:21:7: 21 | USE MPI | 1 Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only] hyper.f90:21:7: Fatal Error: Cannot read module file ‘/opt/openmpi/4.1/gnu/lib/mpi.mod’ opened at (1), because it was created by a different version of GNU Fortran compilation terminated. mdset.f90:21:7: Fatal Error: Cannot read module file ‘/opt/openmpi/4.1/gnu/lib/mpi.mod’ opened at (1), because it was created by a different version of GNU Fortran compilation terminated. gmake[2]: *** [Makefile:1266: hyper.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: *** [Makefile:1266: ptest.o] Error 1 gmake[2]: *** [Makefile:1266: mdset.o] Error 1 gmake[1]: *** [Makefile:879: all-recursive] Error 1 gmake: *** [Makefile:715: all-recursive] Error 1 **** Configure header /tmp/petsc-iuu41q9r/confdefs.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #define PETSC_Alignx(a,b) #define PETSC_CLANGUAGE_C 1 #define PETSC_CXX_RESTRICT __restrict #define PETSC_FORTRAN_CHARLEN_T size_t #define PETSC_FORTRAN_TYPE_INITIALIZE = -2 #define PETSC_HAVE_ACCESS 1 #define PETSC_HAVE_BZERO 1 #define PETSC_HAVE_C99_COMPLEX 1 #define PETSC_HAVE_CLOCK 1 #define PETSC_HAVE_CXX_COMPLEX 1 #define PETSC_HAVE_CXX_COMPLEX_FIX 1 #define PETSC_HAVE_CXX_DIALECT_CXX11 1 #define PETSC_HAVE_CXX_DIALECT_CXX14 1 #define PETSC_HAVE_CXX_DIALECT_CXX17 1 #define PETSC_HAVE_DLADDR 1 #define PETSC_HAVE_DLCLOSE 1 #define PETSC_HAVE_DLERROR 1 #define PETSC_HAVE_DLFCN_H 1 #define PETSC_HAVE_DLOPEN 1 #define PETSC_HAVE_DLSYM 1 #define PETSC_HAVE_DRAND48 1 #define PETSC_HAVE_DYNAMIC_LIBRARIES 1 #define PETSC_HAVE_ERF 1 #define PETSC_HAVE_FCNTL_H 1 #define PETSC_HAVE_FENV_H 1 #define PETSC_HAVE_FLOAT_H 1 #define PETSC_HAVE_FORK 1 #define PETSC_HAVE_FORTRAN_FLUSH 1 #define PETSC_HAVE_FORTRAN_GET_COMMAND_ARGUMENT 1 #define PETSC_HAVE_FORTRAN_TYPE_STAR 1 #define PETSC_HAVE_FORTRAN_UNDERSCORE 1 #define PETSC_HAVE_FSTATAT 1 #define PETSC_HAVE_GETCWD 1 #define PETSC_HAVE_GETDOMAINNAME 1 #define PETSC_HAVE_GETHOSTBYNAME 1 #define PETSC_HAVE_GETHOSTNAME 1 #define PETSC_HAVE_GETPAGESIZE 1 #define PETSC_HAVE_GETRUSAGE 1 #define PETSC_HAVE_HIP_DIALECT_CXX11 1 #define PETSC_HAVE_HIP_DIALECT_CXX14 1 #define PETSC_HAVE_HIP_DIALECT_CXX17 1 #define PETSC_HAVE_IMMINTRIN_H 1 #define PETSC_HAVE_INTTYPES_H 1 #define PETSC_HAVE_ISINF 1 #define PETSC_HAVE_ISNAN 1 #define PETSC_HAVE_ISNORMAL 1 #define PETSC_HAVE_LGAMMA 1 #define PETSC_HAVE_LOG2 1 #define PETSC_HAVE_LSEEK 1 #define PETSC_HAVE_MALLOC_H 1 #define PETSC_HAVE_MEMALIGN 1 #define PETSC_HAVE_MEMMOVE 1 #define PETSC_HAVE_MMAP 1 #define PETSC_HAVE_MPIEXEC_ENVIRONMENTAL_VARIABLE OMP #define PETSC_HAVE_MPIIO 1 #define PETSC_HAVE_MPI_COMBINER_CONTIGUOUS 1 #define PETSC_HAVE_MPI_COMBINER_DUP 1 #define PETSC_HAVE_MPI_COMBINER_NAMED 1 #define PETSC_HAVE_MPI_F90MODULE_VISIBILITY 1 #define PETSC_HAVE_MPI_GET_ACCUMULATE 1 #define PETSC_HAVE_MPI_GET_LIBRARY_VERSION 1 #define PETSC_HAVE_MPI_GPU_AWARE 1 #define PETSC_HAVE_MPI_INIT_THREAD 1 #define PETSC_HAVE_MPI_INT64_T 1 #define PETSC_HAVE_MPI_LONG_DOUBLE 1 #define PETSC_HAVE_MPI_NEIGHBORHOOD_COLLECTIVES 1 #define PETSC_HAVE_MPI_NONBLOCKING_COLLECTIVES 1 #define PETSC_HAVE_MPI_ONE_SIDED 1 #define PETSC_HAVE_MPI_PROCESS_SHARED_MEMORY 1 #define PETSC_HAVE_MPI_REDUCE_LOCAL 1 #define PETSC_HAVE_MPI_REDUCE_SCATTER_BLOCK 1 #define PETSC_HAVE_MPI_RGET 1 #define PETSC_HAVE_MPI_WIN_CREATE 1 #define PETSC_HAVE_NANOSLEEP 1 #define PETSC_HAVE_NETDB_H 1 #define PETSC_HAVE_NETINET_IN_H 1 #define PETSC_HAVE_OMPI_MAJOR_VERSION 4 #define PETSC_HAVE_OMPI_MINOR_VERSION 1 #define PETSC_HAVE_OMPI_RELEASE_VERSION 1 #define PETSC_HAVE_POPEN 1 #define PETSC_HAVE_PTHREAD_H 1 #define PETSC_HAVE_PWD_H 1 #define PETSC_HAVE_RAND 1 #define PETSC_HAVE_READLINK 1 #define PETSC_HAVE_REALPATH 1 #define PETSC_HAVE_REAL___FLOAT128 1 #define PETSC_HAVE_RTLD_GLOBAL 1 #define PETSC_HAVE_RTLD_LAZY 1 #define PETSC_HAVE_RTLD_LOCAL 1 #define PETSC_HAVE_RTLD_NOW 1 #define PETSC_HAVE_SETJMP_H 1 #define PETSC_HAVE_SLEEP 1 #define PETSC_HAVE_SNPRINTF 1 #define PETSC_HAVE_SOCKET 1 #define PETSC_HAVE_STDINT_H 1 #define PETSC_HAVE_STRCASECMP 1 #define PETSC_HAVE_STRINGS_H 1 #define PETSC_HAVE_STRUCT_SIGACTION 1 #define PETSC_HAVE_SYSINFO 1 #define PETSC_HAVE_SYS_PARAM_H 1 #define PETSC_HAVE_SYS_PROCFS_H 1 #define PETSC_HAVE_SYS_RESOURCE_H 1 #define PETSC_HAVE_SYS_SOCKET_H 1 #define PETSC_HAVE_SYS_SYSINFO_H 1 #define PETSC_HAVE_SYS_TIMES_H 1 #define PETSC_HAVE_SYS_TIME_H 1 #define PETSC_HAVE_SYS_TYPES_H 1 #define PETSC_HAVE_SYS_UTSNAME_H 1 #define PETSC_HAVE_SYS_WAIT_H 1 #define PETSC_HAVE_TGAMMA 1 #define PETSC_HAVE_TIME 1 #define PETSC_HAVE_TIME_H 1 #define PETSC_HAVE_UNAME 1 #define PETSC_HAVE_UNISTD_H 1 #define PETSC_HAVE_USLEEP 1 #define PETSC_HAVE_VA_COPY 1 #define PETSC_HAVE_VSNPRINTF 1 #define PETSC_IS_COLORING_MAX USHRT_MAX #define PETSC_IS_COLORING_VALUE_TYPE short #define PETSC_IS_COLORING_VALUE_TYPE_F integer2 #define PETSC_LEVEL1_DCACHE_LINESIZE 64 #define PETSC_MAX_PATH_LEN 4096 #define PETSC_MEMALIGN 16 #define PETSC_MPIU_IS_COLORING_VALUE_TYPE MPI_UNSIGNED_SHORT #define PETSC_PYTHON_EXE "/projects/netpub/anaconda3/2022.05/bin/python" #define PETSC_SIGNAL_CAST #define PETSC_SIZEOF_ENUM 4 #define PETSC_SIZEOF_INT 4 #define PETSC_SIZEOF_LONG 8 #define PETSC_SIZEOF_LONG_LONG 8 #define PETSC_SIZEOF_SHORT 2 #define PETSC_SIZEOF_SIZE_T 8 #define PETSC_SIZEOF_VOID_P 8 #define PETSC_USE_AVX512_KERNELS 1 #define PETSC_USE_BACKWARD_LOOP 1 #define PETSC_USE_CTABLE 1 #define PETSC_USE_DEBUGGER "gdb" #define PETSC_USE_INFO 1 #define PETSC_USE_LOG 1 #define PETSC_USE_MALLOC_COALESCED 1 #define PETSC_USE_PROC_FOR_SIZE 1 #define PETSC_USE_REAL_DOUBLE 1 #define PETSC_USING_64BIT_PTR 1 #define PETSC_USING_F2003 1 #define PETSC_VERSION_BRANCH_GIT "HEAD" #define PETSC_VERSION_DATE_GIT "2022-06-02 20:01:53 -0500" #define PETSC_VERSION_GIT "v3.17.2" #define PETSC__BSD_SOURCE 1 #define PETSC__DEFAULT_SOURCE 1 #define PETSC__GNU_SOURCE 1 #endif **** C specific Configure header /tmp/petsc-iuu41q9r/conffix.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #if defined(__cplusplus) extern "C" { } #else #endif #endif ******************************************************************************* UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details): ------------------------------------------------------------------------------- Error running make; make install on HDF5 ******************************************************************************* File "/projects/ADSM/software/petsc-v3.17.2/./config/configure.py", line 469, in petsc_configure framework.configure(out = sys.stdout) File "/projects/ADSM/software/petsc-v3.17.2/config/BuildSystem/config/framework.py", line 1404, in configure self.processChildren() File "/projects/ADSM/software/petsc-v3.17.2/config/BuildSystem/config/framework.py", line 1392, in processChildren self.serialEvaluation(self.childGraph) File "/projects/ADSM/software/petsc-v3.17.2/config/BuildSystem/config/framework.py", line 1367, in serialEvaluation child.configure() File "/projects/ADSM/software/petsc-v3.17.2/config/BuildSystem/config/package.py", line 1230, in configure self.executeTest(self.configureLibrary) File "/projects/ADSM/software/petsc-v3.17.2/config/BuildSystem/config/base.py", line 138, in executeTest ret = test(*args,**kargs) File "/projects/ADSM/software/petsc-v3.17.2/config/BuildSystem/config/packages/hdf5.py", line 94, in configureLibrary config.package.GNUPackage.configureLibrary(self) File "/projects/ADSM/software/petsc-v3.17.2/config/BuildSystem/config/package.py", line 944, in configureLibrary for location, directory, lib, incl in self.generateGuesses(): File "/projects/ADSM/software/petsc-v3.17.2/config/BuildSystem/config/package.py", line 518, in generateGuesses d = self.checkDownload() File "/projects/ADSM/software/petsc-v3.17.2/config/BuildSystem/config/package.py", line 652, in checkDownload return self.getInstallDir() File "/projects/ADSM/software/petsc-v3.17.2/config/BuildSystem/config/package.py", line 414, in getInstallDir installDir = self.Install() File "/projects/ADSM/software/petsc-v3.17.2/config/BuildSystem/config/package.py", line 1800, in Install raise RuntimeError('Error running make; make install on '+self.PACKAGE) ================================================================================ Finishing configure run at Thu, 08 Sep 2022 18:33:59 -0600 ================================================================================