=> Building lang/beignet build started at Sun Oct 9 07:31:22 PDT 2016 port directory: /usr/ports/lang/beignet building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: x11@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/Release46-default/ref/../07//usr/ports/lang/beignet/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400600 ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/Release46-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=beignet-1.2.0 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/Release46-default/ref/.p/pool MASTERNAME=Release46-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/lang/beignet XDG_CONFIG_HOME=/wrkdirs/lang/beignet HOME=/wrkdirs/lang/beignet TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/lang/beignet XDG_CONFIG_HOME=/wrkdirs/lang/beignet HOME=/wrkdirs/lang/beignet TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib" LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=c++11" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- CMAKE_BUILD_TYPE="release" OSREL=4.6 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/beignet" EXAMPLESDIR="share/examples/beignet" DATADIR="share/beignet" WWWDIR="www/beignet" ETCDIR="etc/beignet" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/beignet DOCSDIR=/usr/local/share/doc/beignet EXAMPLESDIR=/usr/local/share/examples/beignet WWWDIR=/usr/local/www/beignet ETCDIR=/usr/local/etc/beignet --End SUB_LIST-- ---Begin make.conf--- NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== =========================================================================== =================================================== ===> beignet-1.2.0 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> beignet-1.2.0 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of beignet-1.2.0 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by beignet-1.2.0 for building =========================================================================== =================================================== ===> Fetching all distfiles required by beignet-1.2.0 for building => SHA256 Checksum OK for beignet-1.2.0-source.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by beignet-1.2.0 for building ===> Extracting for beignet-1.2.0 ===> Fetching all distfiles required by beignet-1.2.0 for building => SHA256 Checksum OK for beignet-1.2.0-source.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for beignet-1.2.0 ===> Applying ports patches for beignet-1.2.0 ===> Applying DragonFly patches for beignet-1.2.0 /usr/bin/sed -i.bak -e 's/\(defined(__FreeBSD__)\)/(\1||defined(__DragonFly__))/g' -e '/#include /d' /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/sys/alloc.cpp /usr/bin/sed -i.bak -e 's/#ifndef __FreeBSD__/#if !defined(__FreeBSD__) \&\& !defined(__DragonFly__)/g' /wrkdirs/lang/beignet/Beignet-1.2.0-Source/src/cl_alloc.c /wrkdirs/lang/beignet/Beignet-1.2.0-Source/src/cl_device_id.c /wrkdirs/lang/beignet/Beignet-1.2.0-Source/utests/builtin_exp.cpp /usr/bin/sed -i.bak -e 's/[[:<:]]isinf[[:>:]]/std::isinf/g' -e 's/[[:<:]]isnan[[:>:]]/std::isnan/g' /wrkdirs/lang/beignet/Beignet-1.2.0-Source/utests/utest_generator.py /wrkdirs/lang/beignet/Beignet-1.2.0-Source/utests/compiler_half.cpp /wrkdirs/lang/beignet/Beignet-1.2.0-Source/utests/compiler_math.cpp /wrkdirs/lang/beignet/Beignet-1.2.0-Source/utests/builtin_tgamma.cpp /wrkdirs/lang/beignet/Beignet-1.2.0-Source/utests/builtin_pow.cpp /wrkdirs/lang/beignet/Beignet-1.2.0-Source/utests/builtin_exp.cpp /wrkdirs/lang/beignet/Beignet-1.2.0-Source/utests/builtin_acos_asin.cpp =========================================================================== =================================================== ===> beignet-1.2.0 depends on executable: clang37 - not found ===> Installing existing package /packages/All/llvm37-3.7.1_3.txz Installing llvm37-3.7.1_3... `-- Installing python27-2.7.12... | `-- Installing expat-2.2.0... | `-- Extracting expat-2.2.0: .......... done | `-- Installing readline-6.3.8... | | `-- Installing indexinfo-0.2.5... | | `-- Extracting indexinfo-0.2.5: .... done | | `-- Installing ncurses-6.0_5... | | `-- Extracting ncurses-6.0_5: .......... done | `-- Extracting readline-6.3.8: .......... done | `-- Installing libffi-3.2.1... | `-- Extracting libffi-3.2.1: .......... done | `-- Installing gettext-runtime-0.19.8.1... | `-- Extracting gettext-runtime-0.19.8.1: .......... done `-- Extracting python27-2.7.12: .......... done `-- Installing perl5-5.20.3_15... `-- Extracting perl5-5.20.3_15: .......... done `-- Installing libedit-3.1.20150325_2,1... `-- Extracting libedit-3.1.20150325_2,1: .......... done Extracting llvm37-3.7.1_3: .......... done Message from ncurses-6.0_5: ===> NOTICE: The ncurses port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Message from python27-2.7.12: =========================================================================== Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter =========================================================================== Message from perl5-5.20.3_15: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> beignet-1.2.0 depends on executable: clang37 - found ===> Returning to build of beignet-1.2.0 ===> beignet-1.2.0 depends on package: opencl>=0 - not found ===> Installing existing package /packages/All/opencl-2.0.txz Installing opencl-2.0... Extracting opencl-2.0: .......... done Message from opencl-2.0: OpenCL is the first open, royalty-free standard for cross-platform, parallel programming of modern processors. ===> beignet-1.2.0 depends on package: opencl>=0 - found ===> Returning to build of beignet-1.2.0 ===> beignet-1.2.0 depends on file: /usr/local/bin/cmake - not found ===> Installing existing package /packages/All/cmake-3.6.2.txz Installing cmake-3.6.2... `-- Installing cmake-modules-3.6.2... `-- Extracting cmake-modules-3.6.2: .......... done `-- Installing curl-7.50.3... | `-- Installing ca_root_nss-3.27... | `-- Extracting ca_root_nss-3.27: ....... done | `-- Installing krb5-1.14.4... | | `-- Installing pkgconf-1.0.1... | | `-- Extracting pkgconf-1.0.1: .......... done | `-- Extracting krb5-1.14.4: .......... done `-- Extracting curl-7.50.3: .......... done `-- Installing libarchive-3.2.1,1... | `-- Installing liblz4-131... | `-- Extracting liblz4-131: .......... done | `-- Installing lzo2-2.09... | `-- Extracting lzo2-2.09: .......... done `-- Extracting libarchive-3.2.1,1: .......... done `-- Installing jsoncpp-1.7.3... `-- Extracting jsoncpp-1.7.3: .......... done Extracting cmake-3.6.2: .......... done Message from ca_root_nss-3.27: ********************************* WARNING ********************************* FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. *********************************** NOTE ********************************** This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem *************************************************************************** ===> beignet-1.2.0 depends on file: /usr/local/bin/cmake - found ===> Returning to build of beignet-1.2.0 ===> beignet-1.2.0 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_1.txz Installing gmake-4.2.1_1... Extracting gmake-4.2.1_1: .......... done ===> beignet-1.2.0 depends on executable: gmake - found ===> Returning to build of beignet-1.2.0 ===> beignet-1.2.0 depends on file: /usr/local/lib/libncurses.so.6 - found ===> beignet-1.2.0 depends on package: pkgconf>=0.9.10 - found ===> beignet-1.2.0 depends on package: libGL>0 - not found ===> Installing existing package /packages/All/libGL-11.2.2.txz Installing libGL-11.2.2... `-- Installing dri2proto-2.8... `-- Extracting dri2proto-2.8: .... done `-- Installing libXdamage-1.1.4_3... | `-- Installing libXfixes-5.0.1_3... | | `-- Installing xproto-7.0.28... | | `-- Extracting xproto-7.0.28: .......... done | | `-- Installing fixesproto-5.0... | | `-- Extracting fixesproto-5.0: .... done | | `-- Installing libX11-1.6.3,1... | | `-- Installing kbproto-1.0.7... | | `-- Extracting kbproto-1.0.7: .......... done | | `-- Installing libXdmcp-1.1.2... | | `-- Extracting libXdmcp-1.1.2: ......... done | | `-- Installing libxcb-1.11.1... | | | `-- Installing libxml2-2.9.4... | | | `-- Extracting libxml2-2.9.4: .......... done | | | `-- Installing libpthread-stubs-0.3_6... | | | `-- Extracting libpthread-stubs-0.3_6: ..... done | | | `-- Installing libXau-1.0.8_3... | | | `-- Extracting libXau-1.0.8_3: .......... done | | `-- Extracting libxcb-1.11.1: .......... done | | `-- Extracting libX11-1.6.3,1: .......... done | `-- Extracting libXfixes-5.0.1_3: .......... done | `-- Installing damageproto-1.2.1... | `-- Extracting damageproto-1.2.1: .... done `-- Extracting libXdamage-1.1.4_3: ...... done `-- Installing libdevq-0.0.2_1... `-- Extracting libdevq-0.0.2_1: ....... done `-- Installing libXxf86vm-1.1.4_1... | `-- Installing xf86vidmodeproto-2.3.1... | `-- Extracting xf86vidmodeproto-2.3.1: .... done | `-- Installing libXext-1.3.3_1,1... | | `-- Installing xextproto-7.3.0... | | `-- Extracting xextproto-7.3.0: .......... done | `-- Extracting libXext-1.3.3_1,1: .......... done `-- Extracting libXxf86vm-1.1.4_1: .......... done `-- Installing libdrm-2.4.66,1... | `-- Installing libpciaccess-0.13.4... | | `-- Installing pciids-20160621... | | `-- Extracting pciids-20160621: ..... done | `-- Extracting libpciaccess-0.13.4: ...... done `-- Extracting libdrm-2.4.66,1: .......... done `-- Installing libelf-0.8.13_1... `-- Extracting libelf-0.8.13_1: .......... done `-- Installing libxshmfence-1.2... `-- Extracting libxshmfence-1.2: ......... done `-- Installing libglapi-11.2.2... | `-- Installing libXvMC-1.0.9... | | `-- Installing libXv-1.0.10_3,1... | | `-- Installing videoproto-2.3.2... | | `-- Extracting videoproto-2.3.2: ...... done | | `-- Extracting libXv-1.0.10_3,1: .......... done | `-- Extracting libXvMC-1.0.9: .......... done `-- Extracting libglapi-11.2.2: ... done Extracting libGL-11.2.2: .......... done ===> beignet-1.2.0 depends on package: libGL>0 - found ===> Returning to build of beignet-1.2.0 ===> beignet-1.2.0 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - not found ===> Installing existing package /packages/All/glproto-1.4.17.txz Installing glproto-1.4.17... Extracting glproto-1.4.17: ...... done ===> beignet-1.2.0 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - found ===> Returning to build of beignet-1.2.0 ===> beignet-1.2.0 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - found ===> beignet-1.2.0 depends on file: /usr/local/libdata/pkgconfig/sm.pc - not found ===> Installing existing package /packages/All/libSM-1.2.2_3,1.txz Installing libSM-1.2.2_3,1... `-- Installing libICE-1.0.9_1,1... `-- Extracting libICE-1.0.9_1,1: .......... done Extracting libSM-1.2.2_3,1: .......... done ===> beignet-1.2.0 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> Returning to build of beignet-1.2.0 ===> beignet-1.2.0 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> beignet-1.2.0 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> beignet-1.2.0 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> beignet-1.2.0 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc - found =========================================================================== =================================================== ===> beignet-1.2.0 depends on shared library: libOpenCL.so - not found ===> Installing existing package /packages/All/ocl-icd-2.2.7.txz Installing ocl-icd-2.2.7... Extracting ocl-icd-2.2.7: .......... done ===> beignet-1.2.0 depends on shared library: libOpenCL.so - found (/usr/local/lib/libOpenCL.so) ===> Returning to build of beignet-1.2.0 ===> beignet-1.2.0 depends on shared library: libdrm.so - found (/usr/local/lib/libdrm.so) =========================================================================== =================================================== ===> Configuring for beignet-1.2.0 ===> Performing in-source build /bin/mkdir -p /wrkdirs/lang/beignet/Beignet-1.2.0-Source -- The C compiler identification is GNU 5.3.1 -- The CXX compiler identification is GNU 5.3.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: pkgconf (found version "1.0.1") -- Building mode: Release -- LLVM llvm-config found at: /usr/local/bin/llvm-config37 -- find unstable LLVM version 3.7.1 -- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so -- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/local/lib/libX11.so -- Looking for XLib - found -- Checking for module 'libdrm' -- Found libdrm, version 2.4.66 -- Looking for DRM - found at /usr/local 2.4.66 -- Checking for module 'libdrm_intel>=2.4.52' -- Found libdrm_intel, version 2.4.66 -- Looking for DRM Intel - found at /usr/local 2.4.66 -- Looking for drm_intel_bo_alloc_userptr in drm_intel -- Looking for drm_intel_bo_alloc_userptr in drm_intel - found -- Enable userptr support -- Looking for drm_intel_get_eu_total in drm_intel -- Looking for drm_intel_get_eu_total in drm_intel - found -- Enable EU total query support -- Looking for drm_intel_get_subslice_total in drm_intel -- Looking for drm_intel_get_subslice_total in drm_intel - found -- Enable subslice total query support -- Looking for drm_intel_get_pooled_eu in drm_intel -- Looking for drm_intel_get_pooled_eu in drm_intel - not found -- Disable pooled eu query support -- Looking for drm_intel_get_min_eu_in_pool in drm_intel -- Looking for drm_intel_get_min_eu_in_pool in drm_intel - not found -- Disable min eu in pool query support -- Checking for module 'libcmrt' -- Package libcmrt was not found in the pkg-config search path. Perhaps you should add the directory containing `libcmrt.pc' to the PKG_CONFIG_PATH environment variable Package 'libcmrt', required by 'virtual:world', not found -- Looking for pthread.h -- Looking for pthread.h - found -- Found Threads: TRUE -- Checking for module 'gl' -- Found gl, version 11.2.2 -- Looking for OpenGL - found at /usr/local -- Checking for module 'xext' -- Found xext, version 1.3.3 -- Looking for Xext - found at /usr/local -- Checking for module 'xfixes' -- Found xfixes, version 5.0.1 -- Looking for Xfixes - found at /usr/local -- Checking for module 'egl' -- Package egl was not found in the pkg-config search path. Perhaps you should add the directory containing `egl.pc' to the PKG_CONFIG_PATH environment variable Package 'egl', required by 'virtual:world', not found -- Looking for EGL - not found -- Looking for OCL ICD header file - found -- Found PythonInterp: /usr/local/bin/python2.7 (found version "2.7.12") -- Building mode: Release -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_MODULE_LINKER_FLAGS -- Build files have been written to: /wrkdirs/lang/beignet/Beignet-1.2.0-Source =========================================================================== =================================================== ===> Building for beignet-1.2.0 gmake[2]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[3]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' Scanning dependencies of target git_sha1.h gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' Scanning dependencies of target beignet_bitcode gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' Scanning dependencies of target gbeinterp gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' [ 0%] Built target git_sha1.h [ 0%] Generate the header: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/include/ocl_defines.h [ 0%] Generate the header by script: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_convert.h gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' [ 6%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_clz.ll [ 6%] Building CXX object backend/src/CMakeFiles/gbeinterp.dir/gbe_bin_interpreter.cpp.o [ 6%] Copy the header: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl.h [ 6%] Copy the header: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_types.h [ 6%] Copy the header: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_float.h [ 6%] Copy the header: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_printf.h [ 6%] Copy the header: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_workitem.h [ 10%] Copy the header: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_atom.h [ 10%] Copy the header: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_async.h [ 10%] Copy the header: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_sync.h [ 10%] Copy the header: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_memcpy.h [ 10%] Copy the header: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_memset.h [ 10%] Copy the header: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_misc.h [ 10%] Copy the header: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_vload.h [ 10%] Copy the header: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_geometric.h [ 13%] Copy the header: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_image.h [ 13%] Copy the header: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_work_group.h [ 13%] Generate the header by python: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_common.h [ 13%] Generate the header by python: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_relational.h [ 13%] Generate the header by python: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_integer.h [ 13%] Generate the header by python: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_math.h [ 13%] Generate the header by python: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_simd.h [ 16%] Generate the header by script: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//include/ocl_as.h [ 16%] Generate the source by python: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_common.cl [ 16%] Generate the source by python: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_relational.cl [ 16%] Generate the source by python: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_integer.cl [ 16%] Generate the source by python: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_math.cl [ 16%] Generate the source by python: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_simd.cl [ 16%] Generate the source by script: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_as.cl [ 20%] Generate the source by script: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_convert.cl [ 20%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_barrier.ll [ 20%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_async.cl [ 20%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_workitem.cl [ 20%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_atom.cl [ 20%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_sync.cl [ 23%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_memcpy.cl [ 23%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_memset.cl [ 23%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_misc.cl [ 23%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_vload.cl [ 23%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_geometric.cl [ 23%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_image.cl [ 23%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_work_group.cl [ 26%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_common.cl [ 26%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_relational.cl [ 26%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_integer.cl [ 26%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_math.cl [ 26%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_simd.cl [ 26%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_as.cl [ 26%] Compiling /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl/src/ocl_convert.cl [ 26%] Generate the pch file: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//beignet.pch [ 26%] Linking CXX shared library libgbeinterp.so gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' [ 26%] Built target gbeinterp [ 26%] Generate the pch file: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//beignet.local.pch [ 26%] Generate the bitcode file: /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/libocl//usr/local/lib/beignet//beignet.bc gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' [ 26%] Built target beignet_bitcode gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' Scanning dependencies of target gbe gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' [ 26%] Building CXX object backend/src/CMakeFiles/gbe.dir/sys/mutex.cpp.o [ 26%] Building CXX object backend/src/CMakeFiles/gbe.dir/sys/intrusive_list.cpp.o [ 26%] Building CXX object backend/src/CMakeFiles/gbe.dir/sys/alloc.cpp.o [ 30%] Building CXX object backend/src/CMakeFiles/gbe.dir/sys/platform.cpp.o [ 30%] Building CXX object backend/src/CMakeFiles/gbe.dir/sys/assert.cpp.o [ 30%] Building CXX object backend/src/CMakeFiles/gbe.dir/sys/cvar.cpp.o [ 30%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/context.cpp.o [ 30%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/profile.cpp.o [ 30%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/type.cpp.o [ 30%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/unit.cpp.o [ 30%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/constant.cpp.o [ 33%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/sampler.cpp.o [ 33%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/image.cpp.o [ 33%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/half.cpp.o [ 33%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/instruction.cpp.o [ 33%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/liveness.cpp.o [ 33%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/register.cpp.o [ 33%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/function.cpp.o [ 33%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/value.cpp.o [ 36%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/lowering.cpp.o [ 36%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/profiling.cpp.o [ 36%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/printf.cpp.o [ 36%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/immediate.cpp.o /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/ir/lowering.cpp: In member function 'void gbe::ir::FunctionArgumentLowerer::lowerIndirectRead(uint32_t)': /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/ir/lowering.cpp:315:24: warning: unused variable 'dstNum' [-Wunused-variable] const uint32_t dstNum = insn->getDstNum(); ^ [ 36%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/structurizer.cpp.o [ 36%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/context.cpp.o [ 36%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/program.cpp.o [ 40%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/llvm_sampler_fix.cpp.o In file included from /usr/local/llvm37/include/clang/AST/Decl.h:17:0, from /usr/local/llvm37/include/clang/AST/ASTTypeTraits.h:20, from /usr/local/llvm37/include/clang/AST/ASTContext.h:18, from /usr/local/llvm37/include/clang/Frontend/ASTUnit.h:18, from /usr/local/llvm37/include/clang/Frontend/FrontendAction.h:24, from /usr/local/llvm37/include/clang/CodeGen/CodeGenAction.h:13, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/backend/program.cpp:64: /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getInt()': /usr/local/llvm37/include/clang/AST/APValue.h:202:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APSInt*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getFloat()': /usr/local/llvm37/include/clang/AST/APValue.h:210:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APFloat*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntReal()': /usr/local/llvm37/include/clang/AST/APValue.h:218:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntImag()': /usr/local/llvm37/include/clang/AST/APValue.h:226:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatReal()': /usr/local/llvm37/include/clang/AST/APValue.h:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatImag()': /usr/local/llvm37/include/clang/AST/APValue.h:242:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getVectorElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:261:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Vec*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getVectorLength() const': /usr/local/llvm37/include/clang/AST/APValue.h:268:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Vec*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayInitializedElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayFiller()': /usr/local/llvm37/include/clang/AST/APValue.h:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArrayInitializedElts() const': /usr/local/llvm37/include/clang/AST/APValue.h:292:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArraySize() const': /usr/local/llvm37/include/clang/AST/APValue.h:296:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->ArrSize; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumBases() const': /usr/local/llvm37/include/clang/AST/APValue.h:301:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumBases; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumFields() const': /usr/local/llvm37/include/clang/AST/APValue.h:305:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumFields; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructBase(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:309:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructField(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:313:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::FieldDecl* clang::APValue::getUnionField() const': /usr/local/llvm37/include/clang/AST/APValue.h:324:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const UnionData*)(const char*)Data.buffer)->Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getUnionValue()': /usr/local/llvm37/include/clang/AST/APValue.h:328:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((UnionData*)(char*)Data.buffer)->Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffLHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:340:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffRHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:344:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setInt(clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:349:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APSInt *)(char *)Data.buffer = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setFloat(clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:353:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APFloat *)(char *)Data.buffer = std::move(F); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setVector(const clang::APValue*, unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:357:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; ^ /usr/local/llvm37/include/clang/AST/APValue.h:358:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->NumElts = N; ^ /usr/local/llvm37/include/clang/AST/APValue.h:360:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexInt(clang::APValue::APSInt, clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:366:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:367:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexFloat(clang::APValue::APFloat, clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:373:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:374:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setUnion(const clang::FieldDecl*, const clang::APValue&)': /usr/local/llvm37/include/clang/AST/APValue.h:383:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UnionData*)(char*)Data.buffer)->Field = Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h:384:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((UnionData*)(char*)Data.buffer)->Value = Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setAddrLabelDiff(const clang::AddrLabelExpr*, const clang::AddrLabelExpr*)': /usr/local/llvm37/include/clang/AST/APValue.h:388:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h:389:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; ^ In file included from /usr/local/llvm37/include/clang/AST/Decl.h:17:0, from /usr/local/llvm37/include/clang/AST/ASTTypeTraits.h:20, from /usr/local/llvm37/include/clang/AST/ASTContext.h:18, from /usr/local/llvm37/include/clang/Frontend/ASTUnit.h:18, from /usr/local/llvm37/include/clang/Frontend/FrontendAction.h:24, from /usr/local/llvm37/include/clang/CodeGen/CodeGenAction.h:13, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_includes.hpp:123, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_sampler_fix.cpp:24: /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getInt()': /usr/local/llvm37/include/clang/AST/APValue.h:202:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APSInt*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getFloat()': /usr/local/llvm37/include/clang/AST/APValue.h:210:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APFloat*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntReal()': /usr/local/llvm37/include/clang/AST/APValue.h:218:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntImag()': /usr/local/llvm37/include/clang/AST/APValue.h:226:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatReal()': /usr/local/llvm37/include/clang/AST/APValue.h:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatImag()': /usr/local/llvm37/include/clang/AST/APValue.h:242:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getVectorElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:261:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Vec*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getVectorLength() const': /usr/local/llvm37/include/clang/AST/APValue.h:268:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Vec*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayInitializedElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayFiller()': /usr/local/llvm37/include/clang/AST/APValue.h:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArrayInitializedElts() const': /usr/local/llvm37/include/clang/AST/APValue.h:292:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArraySize() const': /usr/local/llvm37/include/clang/AST/APValue.h:296:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->ArrSize; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumBases() const': /usr/local/llvm37/include/clang/AST/APValue.h:301:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumBases; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumFields() const': /usr/local/llvm37/include/clang/AST/APValue.h:305:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumFields; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructBase(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:309:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructField(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:313:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::FieldDecl* clang::APValue::getUnionField() const': /usr/local/llvm37/include/clang/AST/APValue.h:324:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const UnionData*)(const char*)Data.buffer)->Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getUnionValue()': /usr/local/llvm37/include/clang/AST/APValue.h:328:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((UnionData*)(char*)Data.buffer)->Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffLHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:340:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffRHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:344:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setInt(clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:349:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APSInt *)(char *)Data.buffer = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setFloat(clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:353:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APFloat *)(char *)Data.buffer = std::move(F); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setVector(const clang::APValue*, unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:357:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; ^ /usr/local/llvm37/include/clang/AST/APValue.h:358:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->NumElts = N; ^ /usr/local/llvm37/include/clang/AST/APValue.h:360:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexInt(clang::APValue::APSInt, clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:366:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:367:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexFloat(clang::APValue::APFloat, clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:373:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:374:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setUnion(const clang::FieldDecl*, const clang::APValue&)': /usr/local/llvm37/include/clang/AST/APValue.h:383:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UnionData*)(char*)Data.buffer)->Field = Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h:384:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((UnionData*)(char*)Data.buffer)->Value = Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setAddrLabelDiff(const clang::AddrLabelExpr*, const clang::AddrLabelExpr*)': /usr/local/llvm37/include/clang/AST/APValue.h:388:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h:389:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; ^ [ 40%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/llvm_bitcode_link.cpp.o [ 40%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/llvm_gen_backend.cpp.o [ 40%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/llvm_passes.cpp.o /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/backend/program.cpp: In function 'bool gbe::processSourceAndOption(const char*, const char*, const char*, std::vector >&, std::__cxx11::string&, std::__cxx11::string&, std::__cxx11::string&, int&, size_t, char*, size_t*)': /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/backend/program.cpp:804:10: warning: variable 'findOcl' set but not used [-Wunused-but-set-variable] bool findOcl = false; ^ In file included from /usr/local/llvm37/include/clang/AST/Decl.h:17:0, from /usr/local/llvm37/include/clang/AST/ASTTypeTraits.h:20, from /usr/local/llvm37/include/clang/AST/ASTContext.h:18, from /usr/local/llvm37/include/clang/Frontend/ASTUnit.h:18, from /usr/local/llvm37/include/clang/Frontend/FrontendAction.h:24, from /usr/local/llvm37/include/clang/CodeGen/CodeGenAction.h:13, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_includes.hpp:123, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_bitcode_link.cpp:27: /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getInt()': /usr/local/llvm37/include/clang/AST/APValue.h:202:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APSInt*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getFloat()': /usr/local/llvm37/include/clang/AST/APValue.h:210:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APFloat*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntReal()': /usr/local/llvm37/include/clang/AST/APValue.h:218:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntImag()': /usr/local/llvm37/include/clang/AST/APValue.h:226:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatReal()': /usr/local/llvm37/include/clang/AST/APValue.h:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatImag()': /usr/local/llvm37/include/clang/AST/APValue.h:242:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getVectorElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:261:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Vec*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getVectorLength() const': /usr/local/llvm37/include/clang/AST/APValue.h:268:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Vec*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayInitializedElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayFiller()': /usr/local/llvm37/include/clang/AST/APValue.h:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArrayInitializedElts() const': /usr/local/llvm37/include/clang/AST/APValue.h:292:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArraySize() const': /usr/local/llvm37/include/clang/AST/APValue.h:296:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->ArrSize; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumBases() const': /usr/local/llvm37/include/clang/AST/APValue.h:301:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumBases; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumFields() const': /usr/local/llvm37/include/clang/AST/APValue.h:305:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumFields; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructBase(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:309:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructField(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:313:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::FieldDecl* clang::APValue::getUnionField() const': /usr/local/llvm37/include/clang/AST/APValue.h:324:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const UnionData*)(const char*)Data.buffer)->Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getUnionValue()': /usr/local/llvm37/include/clang/AST/APValue.h:328:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((UnionData*)(char*)Data.buffer)->Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffLHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:340:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffRHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:344:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setInt(clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:349:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APSInt *)(char *)Data.buffer = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setFloat(clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:353:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APFloat *)(char *)Data.buffer = std::move(F); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setVector(const clang::APValue*, unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:357:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; ^ /usr/local/llvm37/include/clang/AST/APValue.h:358:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->NumElts = N; ^ /usr/local/llvm37/include/clang/AST/APValue.h:360:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexInt(clang::APValue::APSInt, clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:366:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:367:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexFloat(clang::APValue::APFloat, clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:373:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:374:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setUnion(const clang::FieldDecl*, const clang::APValue&)': /usr/local/llvm37/include/clang/AST/APValue.h:383:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UnionData*)(char*)Data.buffer)->Field = Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h:384:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((UnionData*)(char*)Data.buffer)->Value = Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setAddrLabelDiff(const clang::AddrLabelExpr*, const clang::AddrLabelExpr*)': /usr/local/llvm37/include/clang/AST/APValue.h:388:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h:389:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; ^ In file included from /usr/local/llvm37/include/clang/AST/Decl.h:17:0, from /usr/local/llvm37/include/clang/AST/ASTTypeTraits.h:20, from /usr/local/llvm37/include/clang/AST/ASTContext.h:18, from /usr/local/llvm37/include/clang/Frontend/ASTUnit.h:18, from /usr/local/llvm37/include/clang/Frontend/FrontendAction.h:24, from /usr/local/llvm37/include/clang/CodeGen/CodeGenAction.h:13, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_includes.hpp:123, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_gen_backend.cpp:74: /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getInt()': /usr/local/llvm37/include/clang/AST/APValue.h:202:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APSInt*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getFloat()': /usr/local/llvm37/include/clang/AST/APValue.h:210:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APFloat*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntReal()': /usr/local/llvm37/include/clang/AST/APValue.h:218:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntImag()': /usr/local/llvm37/include/clang/AST/APValue.h:226:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatReal()': /usr/local/llvm37/include/clang/AST/APValue.h:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatImag()': /usr/local/llvm37/include/clang/AST/APValue.h:242:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getVectorElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:261:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Vec*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getVectorLength() const': /usr/local/llvm37/include/clang/AST/APValue.h:268:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Vec*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayInitializedElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayFiller()': /usr/local/llvm37/include/clang/AST/APValue.h:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArrayInitializedElts() const': /usr/local/llvm37/include/clang/AST/APValue.h:292:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArraySize() const': /usr/local/llvm37/include/clang/AST/APValue.h:296:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->ArrSize; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumBases() const': /usr/local/llvm37/include/clang/AST/APValue.h:301:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumBases; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumFields() const': /usr/local/llvm37/include/clang/AST/APValue.h:305:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumFields; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructBase(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:309:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructField(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:313:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::FieldDecl* clang::APValue::getUnionField() const': /usr/local/llvm37/include/clang/AST/APValue.h:324:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const UnionData*)(const char*)Data.buffer)->Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getUnionValue()': /usr/local/llvm37/include/clang/AST/APValue.h:328:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((UnionData*)(char*)Data.buffer)->Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffLHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:340:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffRHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:344:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setInt(clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:349:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APSInt *)(char *)Data.buffer = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setFloat(clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:353:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APFloat *)(char *)Data.buffer = std::move(F); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setVector(const clang::APValue*, unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:357:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; ^ /usr/local/llvm37/include/clang/AST/APValue.h:358:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->NumElts = N; ^ /usr/local/llvm37/include/clang/AST/APValue.h:360:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexInt(clang::APValue::APSInt, clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:366:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:367:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexFloat(clang::APValue::APFloat, clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:373:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:374:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setUnion(const clang::FieldDecl*, const clang::APValue&)': /usr/local/llvm37/include/clang/AST/APValue.h:383:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UnionData*)(char*)Data.buffer)->Field = Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h:384:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((UnionData*)(char*)Data.buffer)->Value = Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setAddrLabelDiff(const clang::AddrLabelExpr*, const clang::AddrLabelExpr*)': /usr/local/llvm37/include/clang/AST/APValue.h:388:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h:389:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; ^ In file included from /usr/local/llvm37/include/clang/AST/Decl.h:17:0, from /usr/local/llvm37/include/clang/AST/ASTTypeTraits.h:20, from /usr/local/llvm37/include/clang/AST/ASTContext.h:18, from /usr/local/llvm37/include/clang/Frontend/ASTUnit.h:18, from /usr/local/llvm37/include/clang/Frontend/FrontendAction.h:24, from /usr/local/llvm37/include/clang/CodeGen/CodeGenAction.h:13, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_includes.hpp:123, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_passes.cpp:33: /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getInt()': /usr/local/llvm37/include/clang/AST/APValue.h:202:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APSInt*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getFloat()': /usr/local/llvm37/include/clang/AST/APValue.h:210:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APFloat*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntReal()': /usr/local/llvm37/include/clang/AST/APValue.h:218:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntImag()': /usr/local/llvm37/include/clang/AST/APValue.h:226:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatReal()': /usr/local/llvm37/include/clang/AST/APValue.h:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatImag()': /usr/local/llvm37/include/clang/AST/APValue.h:242:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getVectorElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:261:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Vec*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getVectorLength() const': /usr/local/llvm37/include/clang/AST/APValue.h:268:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Vec*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayInitializedElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayFiller()': /usr/local/llvm37/include/clang/AST/APValue.h:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArrayInitializedElts() const': /usr/local/llvm37/include/clang/AST/APValue.h:292:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArraySize() const': /usr/local/llvm37/include/clang/AST/APValue.h:296:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->ArrSize; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumBases() const': /usr/local/llvm37/include/clang/AST/APValue.h:301:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumBases; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumFields() const': /usr/local/llvm37/include/clang/AST/APValue.h:305:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumFields; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructBase(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:309:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructField(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:313:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::FieldDecl* clang::APValue::getUnionField() const': /usr/local/llvm37/include/clang/AST/APValue.h:324:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const UnionData*)(const char*)Data.buffer)->Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getUnionValue()': /usr/local/llvm37/include/clang/AST/APValue.h:328:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((UnionData*)(char*)Data.buffer)->Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffLHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:340:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffRHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:344:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setInt(clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:349:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APSInt *)(char *)Data.buffer = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setFloat(clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:353:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APFloat *)(char *)Data.buffer = std::move(F); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setVector(const clang::APValue*, unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:357:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; ^ /usr/local/llvm37/include/clang/AST/APValue.h:358:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->NumElts = N; ^ /usr/local/llvm37/include/clang/AST/APValue.h:360:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexInt(clang::APValue::APSInt, clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:366:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:367:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexFloat(clang::APValue::APFloat, clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:373:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:374:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setUnion(const clang::FieldDecl*, const clang::APValue&)': /usr/local/llvm37/include/clang/AST/APValue.h:383:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UnionData*)(char*)Data.buffer)->Field = Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h:384:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((UnionData*)(char*)Data.buffer)->Value = Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setAddrLabelDiff(const clang::AddrLabelExpr*, const clang::AddrLabelExpr*)': /usr/local/llvm37/include/clang/AST/APValue.h:388:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h:389:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; ^ [ 40%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/llvm_scalarize.cpp.o In file included from /usr/local/llvm37/include/clang/AST/Decl.h:17:0, from /usr/local/llvm37/include/clang/AST/ASTTypeTraits.h:20, from /usr/local/llvm37/include/clang/AST/ASTContext.h:18, from /usr/local/llvm37/include/clang/Frontend/ASTUnit.h:18, from /usr/local/llvm37/include/clang/Frontend/FrontendAction.h:24, from /usr/local/llvm37/include/clang/CodeGen/CodeGenAction.h:13, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_includes.hpp:123, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_scalarize.cpp:62: /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getInt()': /usr/local/llvm37/include/clang/AST/APValue.h:202:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APSInt*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getFloat()': /usr/local/llvm37/include/clang/AST/APValue.h:210:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APFloat*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntReal()': /usr/local/llvm37/include/clang/AST/APValue.h:218:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntImag()': /usr/local/llvm37/include/clang/AST/APValue.h:226:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatReal()': /usr/local/llvm37/include/clang/AST/APValue.h:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatImag()': /usr/local/llvm37/include/clang/AST/APValue.h:242:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getVectorElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:261:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Vec*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getVectorLength() const': /usr/local/llvm37/include/clang/AST/APValue.h:268:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Vec*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayInitializedElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayFiller()': /usr/local/llvm37/include/clang/AST/APValue.h:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArrayInitializedElts() const': /usr/local/llvm37/include/clang/AST/APValue.h:292:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArraySize() const': /usr/local/llvm37/include/clang/AST/APValue.h:296:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->ArrSize; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumBases() const': /usr/local/llvm37/include/clang/AST/APValue.h:301:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumBases; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumFields() const': /usr/local/llvm37/include/clang/AST/APValue.h:305:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumFields; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructBase(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:309:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructField(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:313:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::FieldDecl* clang::APValue::getUnionField() const': /usr/local/llvm37/include/clang/AST/APValue.h:324:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const UnionData*)(const char*)Data.buffer)->Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getUnionValue()': /usr/local/llvm37/include/clang/AST/APValue.h:328:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((UnionData*)(char*)Data.buffer)->Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffLHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:340:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffRHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:344:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setInt(clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:349:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APSInt *)(char *)Data.buffer = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setFloat(clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:353:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APFloat *)(char *)Data.buffer = std::move(F); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setVector(const clang::APValue*, unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:357:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; ^ /usr/local/llvm37/include/clang/AST/APValue.h:358:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->NumElts = N; ^ /usr/local/llvm37/include/clang/AST/APValue.h:360:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexInt(clang::APValue::APSInt, clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:366:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:367:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexFloat(clang::APValue::APFloat, clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:373:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:374:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setUnion(const clang::FieldDecl*, const clang::APValue&)': /usr/local/llvm37/include/clang/AST/APValue.h:383:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UnionData*)(char*)Data.buffer)->Field = Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h:384:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((UnionData*)(char*)Data.buffer)->Value = Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setAddrLabelDiff(const clang::AddrLabelExpr*, const clang::AddrLabelExpr*)': /usr/local/llvm37/include/clang/AST/APValue.h:388:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h:389:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; ^ [ 40%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/llvm_intrinsic_lowering.cpp.o [ 40%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/llvm_barrier_nodup.cpp.o [ 40%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/llvm_printf_parser.cpp.o /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_gen_backend.cpp: In member function 'void gbe::GenWriter::emitCallInst(llvm::CallInst&)': /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_gen_backend.cpp:4427:18: warning: unused variable 'isFloatCoord' [-Wunused-variable] bool isFloatCoord = coordType == ir::TYPE_FLOAT; ^ /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_gen_backend.cpp:4804:22: warning: unused variable 'index' [-Wunused-variable] uint32_t index = cast(bti)->getZExtValue(); ^ In file included from /usr/local/llvm37/include/clang/AST/Decl.h:17:0, from /usr/local/llvm37/include/clang/AST/ASTTypeTraits.h:20, from /usr/local/llvm37/include/clang/AST/ASTContext.h:18, from /usr/local/llvm37/include/clang/Frontend/ASTUnit.h:18, from /usr/local/llvm37/include/clang/Frontend/FrontendAction.h:24, from /usr/local/llvm37/include/clang/CodeGen/CodeGenAction.h:13, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_includes.hpp:123, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_intrinsic_lowering.cpp:23: /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getInt()': /usr/local/llvm37/include/clang/AST/APValue.h:202:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APSInt*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getFloat()': /usr/local/llvm37/include/clang/AST/APValue.h:210:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APFloat*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntReal()': /usr/local/llvm37/include/clang/AST/APValue.h:218:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntImag()': /usr/local/llvm37/include/clang/AST/APValue.h:226:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatReal()': /usr/local/llvm37/include/clang/AST/APValue.h:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatImag()': /usr/local/llvm37/include/clang/AST/APValue.h:242:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getVectorElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:261:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Vec*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getVectorLength() const': /usr/local/llvm37/include/clang/AST/APValue.h:268:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Vec*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayInitializedElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayFiller()': /usr/local/llvm37/include/clang/AST/APValue.h:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArrayInitializedElts() const': /usr/local/llvm37/include/clang/AST/APValue.h:292:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArraySize() const': /usr/local/llvm37/include/clang/AST/APValue.h:296:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->ArrSize; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumBases() const': /usr/local/llvm37/include/clang/AST/APValue.h:301:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumBases; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumFields() const': /usr/local/llvm37/include/clang/AST/APValue.h:305:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumFields; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructBase(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:309:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructField(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:313:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::FieldDecl* clang::APValue::getUnionField() const': /usr/local/llvm37/include/clang/AST/APValue.h:324:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const UnionData*)(const char*)Data.buffer)->Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getUnionValue()': /usr/local/llvm37/include/clang/AST/APValue.h:328:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((UnionData*)(char*)Data.buffer)->Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffLHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:340:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffRHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:344:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setInt(clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:349:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APSInt *)(char *)Data.buffer = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setFloat(clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:353:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APFloat *)(char *)Data.buffer = std::move(F); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setVector(const clang::APValue*, unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:357:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; ^ /usr/local/llvm37/include/clang/AST/APValue.h:358:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->NumElts = N; ^ /usr/local/llvm37/include/clang/AST/APValue.h:360:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexInt(clang::APValue::APSInt, clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:366:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:367:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexFloat(clang::APValue::APFloat, clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:373:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:374:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setUnion(const clang::FieldDecl*, const clang::APValue&)': /usr/local/llvm37/include/clang/AST/APValue.h:383:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UnionData*)(char*)Data.buffer)->Field = Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h:384:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((UnionData*)(char*)Data.buffer)->Value = Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setAddrLabelDiff(const clang::AddrLabelExpr*, const clang::AddrLabelExpr*)': /usr/local/llvm37/include/clang/AST/APValue.h:388:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h:389:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; ^ In file included from /usr/local/llvm37/include/clang/AST/Decl.h:17:0, from /usr/local/llvm37/include/clang/AST/ASTTypeTraits.h:20, from /usr/local/llvm37/include/clang/AST/ASTContext.h:18, from /usr/local/llvm37/include/clang/Frontend/ASTUnit.h:18, from /usr/local/llvm37/include/clang/Frontend/FrontendAction.h:24, from /usr/local/llvm37/include/clang/CodeGen/CodeGenAction.h:13, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_includes.hpp:123, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_barrier_nodup.cpp:31: /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getInt()': /usr/local/llvm37/include/clang/AST/APValue.h:202:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APSInt*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getFloat()': /usr/local/llvm37/include/clang/AST/APValue.h:210:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APFloat*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntReal()': /usr/local/llvm37/include/clang/AST/APValue.h:218:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntImag()': /usr/local/llvm37/include/clang/AST/APValue.h:226:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatReal()': /usr/local/llvm37/include/clang/AST/APValue.h:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatImag()': /usr/local/llvm37/include/clang/AST/APValue.h:242:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getVectorElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:261:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Vec*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getVectorLength() const': /usr/local/llvm37/include/clang/AST/APValue.h:268:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Vec*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayInitializedElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayFiller()': /usr/local/llvm37/include/clang/AST/APValue.h:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArrayInitializedElts() const': /usr/local/llvm37/include/clang/AST/APValue.h:292:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArraySize() const': /usr/local/llvm37/include/clang/AST/APValue.h:296:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->ArrSize; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumBases() const': /usr/local/llvm37/include/clang/AST/APValue.h:301:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumBases; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumFields() const': /usr/local/llvm37/include/clang/AST/APValue.h:305:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumFields; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructBase(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:309:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructField(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:313:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::FieldDecl* clang::APValue::getUnionField() const': /usr/local/llvm37/include/clang/AST/APValue.h:324:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const UnionData*)(const char*)Data.buffer)->Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getUnionValue()': /usr/local/llvm37/include/clang/AST/APValue.h:328:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((UnionData*)(char*)Data.buffer)->Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffLHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:340:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffRHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:344:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setInt(clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:349:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APSInt *)(char *)Data.buffer = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setFloat(clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:353:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APFloat *)(char *)Data.buffer = std::move(F); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setVector(const clang::APValue*, unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:357:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; ^ /usr/local/llvm37/include/clang/AST/APValue.h:358:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->NumElts = N; ^ /usr/local/llvm37/include/clang/AST/APValue.h:360:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexInt(clang::APValue::APSInt, clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:366:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:367:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexFloat(clang::APValue::APFloat, clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:373:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:374:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setUnion(const clang::FieldDecl*, const clang::APValue&)': /usr/local/llvm37/include/clang/AST/APValue.h:383:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UnionData*)(char*)Data.buffer)->Field = Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h:384:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((UnionData*)(char*)Data.buffer)->Value = Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setAddrLabelDiff(const clang::AddrLabelExpr*, const clang::AddrLabelExpr*)': /usr/local/llvm37/include/clang/AST/APValue.h:388:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h:389:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; ^ In file included from /usr/local/llvm37/include/clang/AST/Decl.h:17:0, from /usr/local/llvm37/include/clang/AST/ASTTypeTraits.h:20, from /usr/local/llvm37/include/clang/AST/ASTContext.h:18, from /usr/local/llvm37/include/clang/Frontend/ASTUnit.h:18, from /usr/local/llvm37/include/clang/Frontend/FrontendAction.h:24, from /usr/local/llvm37/include/clang/CodeGen/CodeGenAction.h:13, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_includes.hpp:123, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_printf_parser.cpp:36: /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getInt()': /usr/local/llvm37/include/clang/AST/APValue.h:202:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APSInt*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getFloat()': /usr/local/llvm37/include/clang/AST/APValue.h:210:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APFloat*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntReal()': /usr/local/llvm37/include/clang/AST/APValue.h:218:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntImag()': /usr/local/llvm37/include/clang/AST/APValue.h:226:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatReal()': /usr/local/llvm37/include/clang/AST/APValue.h:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatImag()': /usr/local/llvm37/include/clang/AST/APValue.h:242:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getVectorElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:261:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Vec*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getVectorLength() const': /usr/local/llvm37/include/clang/AST/APValue.h:268:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Vec*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayInitializedElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayFiller()': /usr/local/llvm37/include/clang/AST/APValue.h:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArrayInitializedElts() const': /usr/local/llvm37/include/clang/AST/APValue.h:292:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArraySize() const': /usr/local/llvm37/include/clang/AST/APValue.h:296:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->ArrSize; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumBases() const': /usr/local/llvm37/include/clang/AST/APValue.h:301:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumBases; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumFields() const': /usr/local/llvm37/include/clang/AST/APValue.h:305:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumFields; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructBase(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:309:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructField(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:313:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::FieldDecl* clang::APValue::getUnionField() const': /usr/local/llvm37/include/clang/AST/APValue.h:324:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const UnionData*)(const char*)Data.buffer)->Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getUnionValue()': /usr/local/llvm37/include/clang/AST/APValue.h:328:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((UnionData*)(char*)Data.buffer)->Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffLHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:340:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffRHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:344:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setInt(clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:349:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APSInt *)(char *)Data.buffer = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setFloat(clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:353:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APFloat *)(char *)Data.buffer = std::move(F); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setVector(const clang::APValue*, unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:357:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; ^ /usr/local/llvm37/include/clang/AST/APValue.h:358:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->NumElts = N; ^ /usr/local/llvm37/include/clang/AST/APValue.h:360:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexInt(clang::APValue::APSInt, clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:366:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:367:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexFloat(clang::APValue::APFloat, clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:373:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:374:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setUnion(const clang::FieldDecl*, const clang::APValue&)': /usr/local/llvm37/include/clang/AST/APValue.h:383:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UnionData*)(char*)Data.buffer)->Field = Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h:384:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((UnionData*)(char*)Data.buffer)->Value = Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setAddrLabelDiff(const clang::AddrLabelExpr*, const clang::AddrLabelExpr*)': /usr/local/llvm37/include/clang/AST/APValue.h:388:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h:389:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; ^ [ 43%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/llvm_profiling.cpp.o [ 43%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/ExpandConstantExpr.cpp.o [ 43%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/ExpandUtils.cpp.o [ 43%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/PromoteIntegers.cpp.o [ 43%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/ExpandLargeIntegers.cpp.o In file included from /usr/local/llvm37/include/clang/AST/Decl.h:17:0, from /usr/local/llvm37/include/clang/AST/ASTTypeTraits.h:20, from /usr/local/llvm37/include/clang/AST/ASTContext.h:18, from /usr/local/llvm37/include/clang/Frontend/ASTUnit.h:18, from /usr/local/llvm37/include/clang/Frontend/FrontendAction.h:24, from /usr/local/llvm37/include/clang/CodeGen/CodeGenAction.h:13, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_includes.hpp:123, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/ExpandConstantExpr.cpp:80: /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getInt()': /usr/local/llvm37/include/clang/AST/APValue.h:202:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APSInt*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getFloat()': /usr/local/llvm37/include/clang/AST/APValue.h:210:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APFloat*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntReal()': /usr/local/llvm37/include/clang/AST/APValue.h:218:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntImag()': /usr/local/llvm37/include/clang/AST/APValue.h:226:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatReal()': /usr/local/llvm37/include/clang/AST/APValue.h:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatImag()': /usr/local/llvm37/include/clang/AST/APValue.h:242:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getVectorElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:261:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Vec*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getVectorLength() const': /usr/local/llvm37/include/clang/AST/APValue.h:268:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Vec*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayInitializedElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayFiller()': /usr/local/llvm37/include/clang/AST/APValue.h:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArrayInitializedElts() const': /usr/local/llvm37/include/clang/AST/APValue.h:292:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArraySize() const': /usr/local/llvm37/include/clang/AST/APValue.h:296:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->ArrSize; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumBases() const': /usr/local/llvm37/include/clang/AST/APValue.h:301:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumBases; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumFields() const': /usr/local/llvm37/include/clang/AST/APValue.h:305:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumFields; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructBase(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:309:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructField(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:313:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::FieldDecl* clang::APValue::getUnionField() const': /usr/local/llvm37/include/clang/AST/APValue.h:324:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const UnionData*)(const char*)Data.buffer)->Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getUnionValue()': /usr/local/llvm37/include/clang/AST/APValue.h:328:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((UnionData*)(char*)Data.buffer)->Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffLHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:340:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffRHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:344:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setInt(clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:349:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APSInt *)(char *)Data.buffer = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setFloat(clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:353:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APFloat *)(char *)Data.buffer = std::move(F); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setVector(const clang::APValue*, unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:357:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; ^ /usr/local/llvm37/include/clang/AST/APValue.h:358:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->NumElts = N; ^ /usr/local/llvm37/include/clang/AST/APValue.h:360:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexInt(clang::APValue::APSInt, clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:366:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:367:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexFloat(clang::APValue::APFloat, clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:373:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:374:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setUnion(const clang::FieldDecl*, const clang::APValue&)': /usr/local/llvm37/include/clang/AST/APValue.h:383:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UnionData*)(char*)Data.buffer)->Field = Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h:384:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((UnionData*)(char*)Data.buffer)->Value = Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setAddrLabelDiff(const clang::AddrLabelExpr*, const clang::AddrLabelExpr*)': /usr/local/llvm37/include/clang/AST/APValue.h:388:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h:389:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; ^ In file included from /usr/local/llvm37/include/clang/AST/Decl.h:17:0, from /usr/local/llvm37/include/clang/AST/ASTTypeTraits.h:20, from /usr/local/llvm37/include/clang/AST/ASTContext.h:18, from /usr/local/llvm37/include/clang/Frontend/ASTUnit.h:18, from /usr/local/llvm37/include/clang/Frontend/FrontendAction.h:24, from /usr/local/llvm37/include/clang/CodeGen/CodeGenAction.h:13, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_includes.hpp:123, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/ExpandUtils.cpp:67: /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getInt()': /usr/local/llvm37/include/clang/AST/APValue.h:202:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APSInt*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getFloat()': /usr/local/llvm37/include/clang/AST/APValue.h:210:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APFloat*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntReal()': /usr/local/llvm37/include/clang/AST/APValue.h:218:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntImag()': /usr/local/llvm37/include/clang/AST/APValue.h:226:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatReal()': /usr/local/llvm37/include/clang/AST/APValue.h:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatImag()': /usr/local/llvm37/include/clang/AST/APValue.h:242:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getVectorElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:261:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Vec*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getVectorLength() const': /usr/local/llvm37/include/clang/AST/APValue.h:268:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Vec*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayInitializedElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayFiller()': /usr/local/llvm37/include/clang/AST/APValue.h:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArrayInitializedElts() const': /usr/local/llvm37/include/clang/AST/APValue.h:292:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArraySize() const': /usr/local/llvm37/include/clang/AST/APValue.h:296:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->ArrSize; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumBases() const': /usr/local/llvm37/include/clang/AST/APValue.h:301:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumBases; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumFields() const': /usr/local/llvm37/include/clang/AST/APValue.h:305:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumFields; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructBase(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:309:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructField(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:313:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::FieldDecl* clang::APValue::getUnionField() const': /usr/local/llvm37/include/clang/AST/APValue.h:324:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const UnionData*)(const char*)Data.buffer)->Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getUnionValue()': /usr/local/llvm37/include/clang/AST/APValue.h:328:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((UnionData*)(char*)Data.buffer)->Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffLHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:340:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffRHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:344:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setInt(clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:349:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APSInt *)(char *)Data.buffer = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setFloat(clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:353:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APFloat *)(char *)Data.buffer = std::move(F); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setVector(const clang::APValue*, unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:357:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; ^ /usr/local/llvm37/include/clang/AST/APValue.h:358:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->NumElts = N; ^ /usr/local/llvm37/include/clang/AST/APValue.h:360:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexInt(clang::APValue::APSInt, clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:366:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:367:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexFloat(clang::APValue::APFloat, clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:373:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:374:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setUnion(const clang::FieldDecl*, const clang::APValue&)': /usr/local/llvm37/include/clang/AST/APValue.h:383:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UnionData*)(char*)Data.buffer)->Field = Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h:384:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((UnionData*)(char*)Data.buffer)->Value = Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setAddrLabelDiff(const clang::AddrLabelExpr*, const clang::AddrLabelExpr*)': /usr/local/llvm37/include/clang/AST/APValue.h:388:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h:389:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; ^ In file included from /usr/local/llvm37/include/clang/AST/Decl.h:17:0, from /usr/local/llvm37/include/clang/AST/ASTTypeTraits.h:20, from /usr/local/llvm37/include/clang/AST/ASTContext.h:18, from /usr/local/llvm37/include/clang/Frontend/ASTUnit.h:18, from /usr/local/llvm37/include/clang/Frontend/FrontendAction.h:24, from /usr/local/llvm37/include/clang/CodeGen/CodeGenAction.h:13, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_includes.hpp:123, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/PromoteIntegers.cpp:87: /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getInt()': /usr/local/llvm37/include/clang/AST/APValue.h:202:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APSInt*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getFloat()': /usr/local/llvm37/include/clang/AST/APValue.h:210:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APFloat*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntReal()': /usr/local/llvm37/include/clang/AST/APValue.h:218:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntImag()': /usr/local/llvm37/include/clang/AST/APValue.h:226:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatReal()': /usr/local/llvm37/include/clang/AST/APValue.h:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatImag()': /usr/local/llvm37/include/clang/AST/APValue.h:242:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getVectorElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:261:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Vec*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getVectorLength() const': /usr/local/llvm37/include/clang/AST/APValue.h:268:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Vec*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayInitializedElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayFiller()': /usr/local/llvm37/include/clang/AST/APValue.h:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArrayInitializedElts() const': /usr/local/llvm37/include/clang/AST/APValue.h:292:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArraySize() const': /usr/local/llvm37/include/clang/AST/APValue.h:296:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->ArrSize; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumBases() const': /usr/local/llvm37/include/clang/AST/APValue.h:301:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumBases; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumFields() const': /usr/local/llvm37/include/clang/AST/APValue.h:305:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumFields; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructBase(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:309:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructField(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:313:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::FieldDecl* clang::APValue::getUnionField() const': /usr/local/llvm37/include/clang/AST/APValue.h:324:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const UnionData*)(const char*)Data.buffer)->Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getUnionValue()': /usr/local/llvm37/include/clang/AST/APValue.h:328:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((UnionData*)(char*)Data.buffer)->Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffLHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:340:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffRHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:344:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setInt(clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:349:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APSInt *)(char *)Data.buffer = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setFloat(clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:353:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APFloat *)(char *)Data.buffer = std::move(F); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setVector(const clang::APValue*, unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:357:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; ^ /usr/local/llvm37/include/clang/AST/APValue.h:358:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->NumElts = N; ^ /usr/local/llvm37/include/clang/AST/APValue.h:360:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexInt(clang::APValue::APSInt, clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:366:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:367:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexFloat(clang::APValue::APFloat, clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:373:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:374:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setUnion(const clang::FieldDecl*, const clang::APValue&)': /usr/local/llvm37/include/clang/AST/APValue.h:383:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UnionData*)(char*)Data.buffer)->Field = Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h:384:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((UnionData*)(char*)Data.buffer)->Value = Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setAddrLabelDiff(const clang::AddrLabelExpr*, const clang::AddrLabelExpr*)': /usr/local/llvm37/include/clang/AST/APValue.h:388:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h:389:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; ^ In file included from /usr/local/llvm37/include/clang/AST/Decl.h:17:0, from /usr/local/llvm37/include/clang/AST/ASTTypeTraits.h:20, from /usr/local/llvm37/include/clang/AST/ASTContext.h:18, from /usr/local/llvm37/include/clang/Frontend/ASTUnit.h:18, from /usr/local/llvm37/include/clang/Frontend/FrontendAction.h:24, from /usr/local/llvm37/include/clang/CodeGen/CodeGenAction.h:13, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_includes.hpp:123, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/ExpandLargeIntegers.cpp:90: /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getInt()': /usr/local/llvm37/include/clang/AST/APValue.h:202:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APSInt*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getFloat()': /usr/local/llvm37/include/clang/AST/APValue.h:210:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APFloat*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntReal()': /usr/local/llvm37/include/clang/AST/APValue.h:218:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntImag()': /usr/local/llvm37/include/clang/AST/APValue.h:226:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatReal()': /usr/local/llvm37/include/clang/AST/APValue.h:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatImag()': /usr/local/llvm37/include/clang/AST/APValue.h:242:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getVectorElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:261:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Vec*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getVectorLength() const': /usr/local/llvm37/include/clang/AST/APValue.h:268:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Vec*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayInitializedElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayFiller()': /usr/local/llvm37/include/clang/AST/APValue.h:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArrayInitializedElts() const': /usr/local/llvm37/include/clang/AST/APValue.h:292:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArraySize() const': /usr/local/llvm37/include/clang/AST/APValue.h:296:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->ArrSize; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumBases() const': /usr/local/llvm37/include/clang/AST/APValue.h:301:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumBases; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumFields() const': /usr/local/llvm37/include/clang/AST/APValue.h:305:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumFields; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructBase(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:309:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructField(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:313:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::FieldDecl* clang::APValue::getUnionField() const': /usr/local/llvm37/include/clang/AST/APValue.h:324:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const UnionData*)(const char*)Data.buffer)->Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getUnionValue()': /usr/local/llvm37/include/clang/AST/APValue.h:328:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((UnionData*)(char*)Data.buffer)->Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffLHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:340:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffRHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:344:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setInt(clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:349:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APSInt *)(char *)Data.buffer = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setFloat(clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:353:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APFloat *)(char *)Data.buffer = std::move(F); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setVector(const clang::APValue*, unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:357:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; ^ /usr/local/llvm37/include/clang/AST/APValue.h:358:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->NumElts = N; ^ /usr/local/llvm37/include/clang/AST/APValue.h:360:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexInt(clang::APValue::APSInt, clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:366:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:367:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexFloat(clang::APValue::APFloat, clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:373:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:374:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setUnion(const clang::FieldDecl*, const clang::APValue&)': /usr/local/llvm37/include/clang/AST/APValue.h:383:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UnionData*)(char*)Data.buffer)->Field = Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h:384:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((UnionData*)(char*)Data.buffer)->Value = Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setAddrLabelDiff(const clang::AddrLabelExpr*, const clang::AddrLabelExpr*)': /usr/local/llvm37/include/clang/AST/APValue.h:388:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h:389:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; ^ [ 43%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/StripAttributes.cpp.o [ 43%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/llvm_to_gen.cpp.o /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/ExpandLargeIntegers.cpp: In function 'void convertInstruction(llvm::Instruction*, {anonymous}::ConversionState&, const llvm::DataLayout&)': /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/ExpandLargeIntegers.cpp:432:14: warning: variable 'OpTys' set but not used [-Wunused-but-set-variable] TypePair OpTys = getExpandedIntTypes(Operand->getType()); ^ In file included from /usr/local/llvm37/include/clang/AST/Decl.h:17:0, from /usr/local/llvm37/include/clang/AST/ASTTypeTraits.h:20, from /usr/local/llvm37/include/clang/AST/ASTContext.h:18, from /usr/local/llvm37/include/clang/Frontend/ASTUnit.h:18, from /usr/local/llvm37/include/clang/Frontend/FrontendAction.h:24, from /usr/local/llvm37/include/clang/CodeGen/CodeGenAction.h:13, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_includes.hpp:123, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/StripAttributes.cpp:72: /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getInt()': /usr/local/llvm37/include/clang/AST/APValue.h:202:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APSInt*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getFloat()': /usr/local/llvm37/include/clang/AST/APValue.h:210:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APFloat*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntReal()': /usr/local/llvm37/include/clang/AST/APValue.h:218:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntImag()': /usr/local/llvm37/include/clang/AST/APValue.h:226:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatReal()': /usr/local/llvm37/include/clang/AST/APValue.h:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatImag()': /usr/local/llvm37/include/clang/AST/APValue.h:242:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getVectorElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:261:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Vec*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getVectorLength() const': /usr/local/llvm37/include/clang/AST/APValue.h:268:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Vec*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayInitializedElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayFiller()': /usr/local/llvm37/include/clang/AST/APValue.h:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArrayInitializedElts() const': /usr/local/llvm37/include/clang/AST/APValue.h:292:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArraySize() const': /usr/local/llvm37/include/clang/AST/APValue.h:296:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->ArrSize; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumBases() const': /usr/local/llvm37/include/clang/AST/APValue.h:301:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumBases; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumFields() const': /usr/local/llvm37/include/clang/AST/APValue.h:305:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumFields; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructBase(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:309:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructField(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:313:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::FieldDecl* clang::APValue::getUnionField() const': /usr/local/llvm37/include/clang/AST/APValue.h:324:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const UnionData*)(const char*)Data.buffer)->Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getUnionValue()': /usr/local/llvm37/include/clang/AST/APValue.h:328:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((UnionData*)(char*)Data.buffer)->Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffLHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:340:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffRHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:344:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setInt(clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:349:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APSInt *)(char *)Data.buffer = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setFloat(clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:353:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APFloat *)(char *)Data.buffer = std::move(F); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setVector(const clang::APValue*, unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:357:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; ^ /usr/local/llvm37/include/clang/AST/APValue.h:358:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->NumElts = N; ^ /usr/local/llvm37/include/clang/AST/APValue.h:360:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexInt(clang::APValue::APSInt, clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:366:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:367:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexFloat(clang::APValue::APFloat, clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:373:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:374:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setUnion(const clang::FieldDecl*, const clang::APValue&)': /usr/local/llvm37/include/clang/AST/APValue.h:383:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UnionData*)(char*)Data.buffer)->Field = Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h:384:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((UnionData*)(char*)Data.buffer)->Value = Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setAddrLabelDiff(const clang::AddrLabelExpr*, const clang::AddrLabelExpr*)': /usr/local/llvm37/include/clang/AST/APValue.h:388:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h:389:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; ^ [ 46%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/llvm_loadstore_optimization.cpp.o In file included from /usr/local/llvm37/include/clang/AST/Decl.h:17:0, from /usr/local/llvm37/include/clang/AST/ASTTypeTraits.h:20, from /usr/local/llvm37/include/clang/AST/ASTContext.h:18, from /usr/local/llvm37/include/clang/Frontend/ASTUnit.h:18, from /usr/local/llvm37/include/clang/Frontend/FrontendAction.h:24, from /usr/local/llvm37/include/clang/CodeGen/CodeGenAction.h:13, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_includes.hpp:123, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_to_gen.cpp:25: /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getInt()': /usr/local/llvm37/include/clang/AST/APValue.h:202:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APSInt*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getFloat()': /usr/local/llvm37/include/clang/AST/APValue.h:210:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APFloat*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntReal()': /usr/local/llvm37/include/clang/AST/APValue.h:218:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntImag()': /usr/local/llvm37/include/clang/AST/APValue.h:226:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatReal()': /usr/local/llvm37/include/clang/AST/APValue.h:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatImag()': /usr/local/llvm37/include/clang/AST/APValue.h:242:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getVectorElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:261:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Vec*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getVectorLength() const': /usr/local/llvm37/include/clang/AST/APValue.h:268:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Vec*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayInitializedElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayFiller()': /usr/local/llvm37/include/clang/AST/APValue.h:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArrayInitializedElts() const': /usr/local/llvm37/include/clang/AST/APValue.h:292:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArraySize() const': /usr/local/llvm37/include/clang/AST/APValue.h:296:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->ArrSize; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumBases() const': /usr/local/llvm37/include/clang/AST/APValue.h:301:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumBases; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumFields() const': /usr/local/llvm37/include/clang/AST/APValue.h:305:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumFields; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructBase(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:309:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructField(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:313:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::FieldDecl* clang::APValue::getUnionField() const': /usr/local/llvm37/include/clang/AST/APValue.h:324:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const UnionData*)(const char*)Data.buffer)->Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getUnionValue()': /usr/local/llvm37/include/clang/AST/APValue.h:328:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((UnionData*)(char*)Data.buffer)->Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffLHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:340:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffRHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:344:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setInt(clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:349:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APSInt *)(char *)Data.buffer = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setFloat(clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:353:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APFloat *)(char *)Data.buffer = std::move(F); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setVector(const clang::APValue*, unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:357:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; ^ /usr/local/llvm37/include/clang/AST/APValue.h:358:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->NumElts = N; ^ /usr/local/llvm37/include/clang/AST/APValue.h:360:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexInt(clang::APValue::APSInt, clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:366:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:367:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexFloat(clang::APValue::APFloat, clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:373:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:374:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setUnion(const clang::FieldDecl*, const clang::APValue&)': /usr/local/llvm37/include/clang/AST/APValue.h:383:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UnionData*)(char*)Data.buffer)->Field = Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h:384:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((UnionData*)(char*)Data.buffer)->Value = Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setAddrLabelDiff(const clang::AddrLabelExpr*, const clang::AddrLabelExpr*)': /usr/local/llvm37/include/clang/AST/APValue.h:388:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h:389:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; ^ [ 46%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/llvm_unroll.cpp.o In file included from /usr/local/llvm37/include/clang/AST/Decl.h:17:0, from /usr/local/llvm37/include/clang/AST/ASTTypeTraits.h:20, from /usr/local/llvm37/include/clang/AST/ASTContext.h:18, from /usr/local/llvm37/include/clang/Frontend/ASTUnit.h:18, from /usr/local/llvm37/include/clang/Frontend/FrontendAction.h:24, from /usr/local/llvm37/include/clang/CodeGen/CodeGenAction.h:13, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_includes.hpp:123, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_loadstore_optimization.cpp:25: /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getInt()': /usr/local/llvm37/include/clang/AST/APValue.h:202:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APSInt*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getFloat()': /usr/local/llvm37/include/clang/AST/APValue.h:210:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APFloat*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntReal()': /usr/local/llvm37/include/clang/AST/APValue.h:218:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntImag()': /usr/local/llvm37/include/clang/AST/APValue.h:226:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatReal()': /usr/local/llvm37/include/clang/AST/APValue.h:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatImag()': /usr/local/llvm37/include/clang/AST/APValue.h:242:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getVectorElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:261:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Vec*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getVectorLength() const': /usr/local/llvm37/include/clang/AST/APValue.h:268:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Vec*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayInitializedElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayFiller()': /usr/local/llvm37/include/clang/AST/APValue.h:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArrayInitializedElts() const': /usr/local/llvm37/include/clang/AST/APValue.h:292:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArraySize() const': /usr/local/llvm37/include/clang/AST/APValue.h:296:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->ArrSize; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumBases() const': /usr/local/llvm37/include/clang/AST/APValue.h:301:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumBases; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumFields() const': /usr/local/llvm37/include/clang/AST/APValue.h:305:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumFields; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructBase(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:309:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructField(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:313:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::FieldDecl* clang::APValue::getUnionField() const': /usr/local/llvm37/include/clang/AST/APValue.h:324:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const UnionData*)(const char*)Data.buffer)->Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getUnionValue()': /usr/local/llvm37/include/clang/AST/APValue.h:328:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((UnionData*)(char*)Data.buffer)->Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffLHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:340:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffRHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:344:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setInt(clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:349:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APSInt *)(char *)Data.buffer = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setFloat(clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:353:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APFloat *)(char *)Data.buffer = std::move(F); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setVector(const clang::APValue*, unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:357:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; ^ /usr/local/llvm37/include/clang/AST/APValue.h:358:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->NumElts = N; ^ /usr/local/llvm37/include/clang/AST/APValue.h:360:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexInt(clang::APValue::APSInt, clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:366:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:367:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexFloat(clang::APValue::APFloat, clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:373:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:374:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setUnion(const clang::FieldDecl*, const clang::APValue&)': /usr/local/llvm37/include/clang/AST/APValue.h:383:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UnionData*)(char*)Data.buffer)->Field = Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h:384:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((UnionData*)(char*)Data.buffer)->Value = Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setAddrLabelDiff(const clang::AddrLabelExpr*, const clang::AddrLabelExpr*)': /usr/local/llvm37/include/clang/AST/APValue.h:388:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h:389:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; ^ [ 46%] Building C object backend/src/CMakeFiles/gbe.dir/backend/gen/gen_mesa_disasm.c.o [ 46%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/gen_insn_selection.cpp.o In file included from /usr/local/llvm37/include/clang/AST/Decl.h:17:0, from /usr/local/llvm37/include/clang/AST/ASTTypeTraits.h:20, from /usr/local/llvm37/include/clang/AST/ASTContext.h:18, from /usr/local/llvm37/include/clang/Frontend/ASTUnit.h:18, from /usr/local/llvm37/include/clang/Frontend/FrontendAction.h:24, from /usr/local/llvm37/include/clang/CodeGen/CodeGenAction.h:13, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_includes.hpp:123, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/llvm/llvm_unroll.cpp:22: /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getInt()': /usr/local/llvm37/include/clang/AST/APValue.h:202:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APSInt*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getFloat()': /usr/local/llvm37/include/clang/AST/APValue.h:210:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APFloat*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntReal()': /usr/local/llvm37/include/clang/AST/APValue.h:218:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntImag()': /usr/local/llvm37/include/clang/AST/APValue.h:226:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatReal()': /usr/local/llvm37/include/clang/AST/APValue.h:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatImag()': /usr/local/llvm37/include/clang/AST/APValue.h:242:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getVectorElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:261:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Vec*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getVectorLength() const': /usr/local/llvm37/include/clang/AST/APValue.h:268:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Vec*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayInitializedElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayFiller()': /usr/local/llvm37/include/clang/AST/APValue.h:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArrayInitializedElts() const': /usr/local/llvm37/include/clang/AST/APValue.h:292:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArraySize() const': /usr/local/llvm37/include/clang/AST/APValue.h:296:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->ArrSize; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumBases() const': /usr/local/llvm37/include/clang/AST/APValue.h:301:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumBases; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumFields() const': /usr/local/llvm37/include/clang/AST/APValue.h:305:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumFields; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructBase(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:309:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructField(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:313:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::FieldDecl* clang::APValue::getUnionField() const': /usr/local/llvm37/include/clang/AST/APValue.h:324:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const UnionData*)(const char*)Data.buffer)->Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getUnionValue()': /usr/local/llvm37/include/clang/AST/APValue.h:328:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((UnionData*)(char*)Data.buffer)->Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffLHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:340:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffRHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:344:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setInt(clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:349:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APSInt *)(char *)Data.buffer = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setFloat(clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:353:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APFloat *)(char *)Data.buffer = std::move(F); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setVector(const clang::APValue*, unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:357:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; ^ /usr/local/llvm37/include/clang/AST/APValue.h:358:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->NumElts = N; ^ /usr/local/llvm37/include/clang/AST/APValue.h:360:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexInt(clang::APValue::APSInt, clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:366:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:367:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexFloat(clang::APValue::APFloat, clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:373:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:374:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setUnion(const clang::FieldDecl*, const clang::APValue&)': /usr/local/llvm37/include/clang/AST/APValue.h:383:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UnionData*)(char*)Data.buffer)->Field = Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h:384:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((UnionData*)(char*)Data.buffer)->Value = Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setAddrLabelDiff(const clang::AddrLabelExpr*, const clang::AddrLabelExpr*)': /usr/local/llvm37/include/clang/AST/APValue.h:388:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h:389:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; ^ [ 46%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/gen_insn_selection_optimize.cpp.o [ 46%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/gen_insn_scheduling.cpp.o [ 46%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/gen_insn_selection_output.cpp.o [ 46%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/gen_reg_allocation.cpp.o [ 50%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/gen_context.cpp.o [ 50%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/gen75_context.cpp.o [ 50%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/gen8_context.cpp.o /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/backend/gen_context.cpp: In member function 'void gbe::GenContext::emitCalcTimestampInstruction(const gbe::SelectionInstruction&)': /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/backend/gen_context.cpp:2587:14: warning: unused variable 'tsType' [-Wunused-variable] uint32_t tsType = insn.extra.timestampType; ^ /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/backend/gen_context.cpp: In member function 'void gbe::GenContext::emitStoreProfilingInstruction(const gbe::SelectionInstruction&)': /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/backend/gen_context.cpp:2713:14: warning: unused variable 'profilingType' [-Wunused-variable] uint32_t profilingType = insn.extra.profilingType; ^ [ 50%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/gen9_context.cpp.o [ 50%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/gen_program.cpp.o [ 50%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/gen_insn_compact.cpp.o /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/backend/gen_insn_compact.cpp: In function 'int gbe::compactDataTypeBits(gbe::GenEncoder*, gbe::GenRegister*, gbe::GenRegister*, gbe::GenRegister*)': /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/backend/gen_insn_compact.cpp:646:15: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] return r->index; ^ [ 50%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/gen_encoder.cpp.o [ 53%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/gen7_encoder.cpp.o [ 53%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/gen75_encoder.cpp.o In file included from /usr/local/llvm37/include/clang/AST/Decl.h:17:0, from /usr/local/llvm37/include/clang/AST/ASTTypeTraits.h:20, from /usr/local/llvm37/include/clang/AST/ASTContext.h:18, from /usr/local/llvm37/include/clang/Frontend/ASTUnit.h:18, from /usr/local/llvm37/include/clang/Frontend/FrontendAction.h:24, from /usr/local/llvm37/include/clang/CodeGen/CodeGenAction.h:13, from /wrkdirs/lang/beignet/Beignet-1.2.0-Source/backend/src/backend/gen_program.cpp:61: /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getInt()': /usr/local/llvm37/include/clang/AST/APValue.h:202:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APSInt*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getFloat()': /usr/local/llvm37/include/clang/AST/APValue.h:210:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(APFloat*)(char*)Data.buffer; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntReal()': /usr/local/llvm37/include/clang/AST/APValue.h:218:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APSInt& clang::APValue::getComplexIntImag()': /usr/local/llvm37/include/clang/AST/APValue.h:226:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatReal()': /usr/local/llvm37/include/clang/AST/APValue.h:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Real; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue::APFloat& clang::APValue::getComplexFloatImag()': /usr/local/llvm37/include/clang/AST/APValue.h:242:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getVectorElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:261:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Vec*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getVectorLength() const': /usr/local/llvm37/include/clang/AST/APValue.h:268:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Vec*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayInitializedElt(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[I]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getArrayFiller()': /usr/local/llvm37/include/clang/AST/APValue.h:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArrayInitializedElts() const': /usr/local/llvm37/include/clang/AST/APValue.h:292:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->NumElts; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getArraySize() const': /usr/local/llvm37/include/clang/AST/APValue.h:296:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const Arr*)(const void *)Data.buffer)->ArrSize; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumBases() const': /usr/local/llvm37/include/clang/AST/APValue.h:301:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumBases; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'unsigned int clang::APValue::getStructNumFields() const': /usr/local/llvm37/include/clang/AST/APValue.h:305:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const StructData*)(const char*)Data.buffer)->NumFields; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructBase(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:309:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getStructField(unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:313:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::FieldDecl* clang::APValue::getUnionField() const': /usr/local/llvm37/include/clang/AST/APValue.h:324:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const UnionData*)(const char*)Data.buffer)->Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'clang::APValue& clang::APValue::getUnionValue()': /usr/local/llvm37/include/clang/AST/APValue.h:328:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((UnionData*)(char*)Data.buffer)->Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffLHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:340:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'const clang::AddrLabelExpr* clang::APValue::getAddrLabelDiffRHS() const': /usr/local/llvm37/include/clang/AST/APValue.h:344:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setInt(clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:349:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APSInt *)(char *)Data.buffer = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setFloat(clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:353:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(APFloat *)(char *)Data.buffer = std::move(F); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setVector(const clang::APValue*, unsigned int)': /usr/local/llvm37/include/clang/AST/APValue.h:357:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; ^ /usr/local/llvm37/include/clang/AST/APValue.h:358:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->NumElts = N; ^ /usr/local/llvm37/include/clang/AST/APValue.h:360:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexInt(clang::APValue::APSInt, clang::APValue::APSInt)': /usr/local/llvm37/include/clang/AST/APValue.h:366:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:367:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setComplexFloat(clang::APValue::APFloat, clang::APValue::APFloat)': /usr/local/llvm37/include/clang/AST/APValue.h:373:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); ^ /usr/local/llvm37/include/clang/AST/APValue.h:374:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setUnion(const clang::FieldDecl*, const clang::APValue&)': /usr/local/llvm37/include/clang/AST/APValue.h:383:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UnionData*)(char*)Data.buffer)->Field = Field; ^ /usr/local/llvm37/include/clang/AST/APValue.h:384:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((UnionData*)(char*)Data.buffer)->Value = Value; ^ /usr/local/llvm37/include/clang/AST/APValue.h: In member function 'void clang::APValue::setAddrLabelDiff(const clang::AddrLabelExpr*, const clang::AddrLabelExpr*)': /usr/local/llvm37/include/clang/AST/APValue.h:388:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; ^ /usr/local/llvm37/include/clang/AST/APValue.h:389:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; ^ [ 53%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/gen8_encoder.cpp.o [ 53%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/gen9_encoder.cpp.o [ 53%] Linking CXX shared library libgbe.so gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' [ 53%] Built target gbe gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' Scanning dependencies of target gbe_bin_generater gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' [ 53%] Building CXX object backend/src/CMakeFiles/gbe_bin_generater.dir/gbe_bin_generater.cpp.o [ 53%] Linking CXX executable gbe_bin_generater gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' [ 53%] Built target gbe_bin_generater gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' [ 56%] Generating kernels/cl_internal_copy_buf_unalign_same_offset_str.c [ 56%] Generating kernels/cl_internal_copy_buf_unalign_dst_offset_str.c [ 56%] Generating kernels/cl_internal_copy_buf_align4_str.c [ 56%] Generating kernels/cl_internal_built_in_kernel_str.c [ 56%] Generating kernels/cl_internal_copy_buf_align16_str.c [ 56%] Generating kernels/cl_internal_copy_buf_unalign_src_offset_str.c [ 56%] Generating kernels/cl_internal_copy_buf_rect_str.c [ 56%] Generating kernels/cl_internal_copy_buf_rect_align4_str.c stringInput.cl:660:23: warning: expression result unused [ 56%] Generating kernels/cl_internal_copy_image_1d_to_1d_str.c [ 56%] Generating kernels/cl_internal_copy_image_2d_to_2d_str.c [ 56%] Generating kernels/cl_internal_copy_image_3d_to_2d_str.c [ 60%] Generating kernels/cl_internal_copy_image_2d_to_3d_str.c [ 60%] Generating kernels/cl_internal_copy_image_3d_to_3d_str.c [ 60%] Generating kernels/cl_internal_copy_image_2d_to_2d_array_str.c [ 60%] Generating kernels/cl_internal_copy_image_1d_array_to_1d_array_str.c [ 60%] Generating kernels/cl_internal_copy_image_2d_array_to_2d_array_str.c [ 60%] Generating kernels/cl_internal_copy_image_2d_array_to_2d_str.c [ 60%] Generating kernels/cl_internal_copy_image_2d_array_to_3d_str.c [ 63%] Generating kernels/cl_internal_copy_image_3d_to_2d_array_str.c [ 63%] Generating kernels/cl_internal_copy_image_2d_to_buffer_str.c [ 63%] Generating kernels/cl_internal_copy_image_2d_to_buffer_align16_str.c [ 63%] Generating kernels/cl_internal_copy_image_3d_to_buffer_str.c [ 63%] Generating kernels/cl_internal_copy_buffer_to_image_2d_str.c [ 63%] Generating kernels/cl_internal_copy_buffer_to_image_2d_align16_str.c [ 63%] Generating kernels/cl_internal_copy_buffer_to_image_3d_str.c [ 63%] Generating kernels/cl_internal_fill_buf_align8_str.c [ 66%] Generating kernels/cl_internal_fill_buf_align4_str.c [ 66%] Generating kernels/cl_internal_fill_buf_align2_str.c [ 66%] Generating kernels/cl_internal_fill_buf_unalign_str.c [ 66%] Generating kernels/cl_internal_fill_buf_align128_str.c [ 66%] Generating kernels/cl_internal_fill_image_1d_array_str.c [ 66%] Generating kernels/cl_internal_fill_image_1d_str.c [ 66%] Generating kernels/cl_internal_fill_image_2d_str.c [ 70%] Generating kernels/cl_internal_fill_image_2d_array_str.c [ 70%] Generating kernels/cl_internal_fill_image_3d_str.c [ 70%] Generating kernels/cl_internal_block_motion_estimate_intel_str.c stringInput.cl:57:23: warning: expression result unused Scanning dependencies of target cl gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' [ 70%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_buf_unalign_same_offset_str.c.o [ 70%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_buf_unalign_dst_offset_str.c.o [ 73%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_buf_unalign_src_offset_str.c.o [ 73%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_buf_align4_str.c.o [ 73%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_buf_align16_str.c.o [ 73%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_buf_rect_align4_str.c.o [ 73%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_image_1d_to_1d_str.c.o [ 73%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_image_2d_to_2d_str.c.o [ 73%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_image_3d_to_2d_str.c.o [ 73%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_image_2d_to_3d_str.c.o [ 73%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_buf_rect_str.c.o [ 73%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_image_2d_to_2d_array_str.c.o [ 73%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_image_1d_array_to_1d_array_str.c.o [ 76%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_image_3d_to_3d_str.c.o [ 76%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_image_2d_array_to_2d_array_str.c.o [ 76%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_image_2d_array_to_2d_str.c.o [ 76%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_image_2d_array_to_3d_str.c.o [ 76%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_image_3d_to_2d_array_str.c.o [ 76%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_image_2d_to_buffer_str.c.o [ 80%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_image_2d_to_buffer_align16_str.c.o [ 80%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_image_3d_to_buffer_str.c.o [ 80%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_buffer_to_image_2d_str.c.o [ 80%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_buffer_to_image_2d_align16_str.c.o [ 80%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_fill_buf_align8_str.c.o [ 80%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_copy_buffer_to_image_3d_str.c.o [ 80%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_fill_buf_align4_str.c.o [ 83%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_fill_buf_align2_str.c.o [ 83%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_fill_buf_unalign_str.c.o [ 83%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_fill_buf_align128_str.c.o [ 83%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_fill_image_1d_str.c.o [ 83%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_fill_image_1d_array_str.c.o [ 83%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_fill_image_2d_array_str.c.o [ 83%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_fill_image_2d_str.c.o [ 86%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_block_motion_estimate_intel_str.c.o [ 86%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_fill_image_3d_str.c.o [ 86%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_built_in_kernel_str.c.o [ 86%] Building C object src/CMakeFiles/cl.dir/cl_api.c.o [ 86%] Building C object src/CMakeFiles/cl.dir/cl_alloc.c.o /wrkdirs/lang/beignet/Beignet-1.2.0-Source/src/cl_alloc.c: In function 'cl_aligned_malloc': /wrkdirs/lang/beignet/Beignet-1.2.0-Source/src/cl_alloc.c:48:13: warning: unused variable 'err' [-Wunused-variable] const int err = posix_memalign(&p,align,sz); ^ [ 86%] Building C object src/CMakeFiles/cl.dir/cl_kernel.c.o [ 86%] Building C object src/CMakeFiles/cl.dir/cl_program.c.o [ 86%] Building CXX object src/CMakeFiles/cl.dir/cl_gbe_loader.cpp.o [ 90%] Building C object src/CMakeFiles/cl.dir/cl_sampler.c.o [ 90%] Building C object src/CMakeFiles/cl.dir/cl_accelerator_intel.c.o [ 90%] Building C object src/CMakeFiles/cl.dir/cl_event.c.o [ 90%] Building C object src/CMakeFiles/cl.dir/cl_enqueue.c.o [ 90%] Building C object src/CMakeFiles/cl.dir/cl_image.c.o [ 90%] Building C object src/CMakeFiles/cl.dir/cl_mem.c.o [ 90%] Building C object src/CMakeFiles/cl.dir/cl_platform_id.c.o [ 90%] Building C object src/CMakeFiles/cl.dir/cl_extensions.c.o [ 93%] Building C object src/CMakeFiles/cl.dir/cl_device_id.c.o /wrkdirs/lang/beignet/Beignet-1.2.0-Source/src/cl_extensions.c: In function 'cl_intel_platform_extension_init': /wrkdirs/lang/beignet/Beignet-1.2.0-Source/src/cl_extensions.c:160:14: warning: variable 'ext_initialized' set but not used [-Wunused-but-set-variable] static int ext_initialized = 0; ^ [ 93%] Building C object src/CMakeFiles/cl.dir/cl_context.c.o [ 93%] Building C object src/CMakeFiles/cl.dir/cl_command_queue.c.o [ 93%] Building C object src/CMakeFiles/cl.dir/cl_command_queue_gen7.c.o [ 93%] Building C object src/CMakeFiles/cl.dir/cl_thread.c.o /wrkdirs/lang/beignet/Beignet-1.2.0-Source/src/cl_thread.c: In function 'get_current_event': /wrkdirs/lang/beignet/Beignet-1.2.0-Source/src/cl_thread.c:147:8: warning: unused variable 'magic' [-Wunused-variable] int *magic = pthread_getspecific(thread_magic_key); ^ /wrkdirs/lang/beignet/Beignet-1.2.0-Source/src/cl_thread.c: In function 'get_last_event': /wrkdirs/lang/beignet/Beignet-1.2.0-Source/src/cl_thread.c:155:8: warning: unused variable 'magic' [-Wunused-variable] int *magic = pthread_getspecific(thread_magic_key); ^ /wrkdirs/lang/beignet/Beignet-1.2.0-Source/src/cl_thread.c: In function 'set_current_event': /wrkdirs/lang/beignet/Beignet-1.2.0-Source/src/cl_thread.c:163:8: warning: unused variable 'magic' [-Wunused-variable] int *magic = pthread_getspecific(thread_magic_key); ^ /wrkdirs/lang/beignet/Beignet-1.2.0-Source/src/cl_thread.c: In function 'set_last_event': /wrkdirs/lang/beignet/Beignet-1.2.0-Source/src/cl_thread.c:171:8: warning: unused variable 'magic' [-Wunused-variable] int *magic = pthread_getspecific(thread_magic_key); ^ /wrkdirs/lang/beignet/Beignet-1.2.0-Source/src/cl_thread.c: In function 'cl_set_thread_batch_buf': /wrkdirs/lang/beignet/Beignet-1.2.0-Source/src/cl_thread.c:234:8: warning: unused variable 'magic' [-Wunused-variable] int *magic = pthread_getspecific(thread_magic_key); ^ /wrkdirs/lang/beignet/Beignet-1.2.0-Source/src/cl_thread.c: In function 'cl_get_thread_batch_buf': /wrkdirs/lang/beignet/Beignet-1.2.0-Source/src/cl_thread.c:246:8: warning: unused variable 'magic' [-Wunused-variable] int *magic = pthread_getspecific(thread_magic_key); ^ [ 93%] Building CXX object src/CMakeFiles/cl.dir/cl_driver.cpp.o [ 93%] Building C object src/CMakeFiles/cl.dir/cl_driver_defs.c.o [ 96%] Building C object src/CMakeFiles/cl.dir/intel/intel_gpgpu.c.o [ 96%] Building C object src/CMakeFiles/cl.dir/intel/intel_batchbuffer.c.o [ 96%] Building C object src/CMakeFiles/cl.dir/intel/intel_driver.c.o [ 96%] Building C object src/CMakeFiles/cl.dir/performance.c.o [ 96%] Building C object src/CMakeFiles/cl.dir/x11/dricommon.c.o [ 96%] Building C object src/CMakeFiles/cl.dir/x11/va_dri2.c.o [ 96%] Building C object src/CMakeFiles/cl.dir/cl_khr_icd.c.o [ 96%] Linking CXX shared library libcl.so gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' [100%] Built target cl gmake[3]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[2]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' =========================================================================== =================================================== ===> beignet-1.2.0 depends on package: opencl>=0 - found ===> beignet-1.2.0 depends on executable: clang37 - found ===> beignet-1.2.0 depends on file: /usr/local/lib/libncurses.so.6 - found ===> beignet-1.2.0 depends on package: libGL>0 - found ===> beignet-1.2.0 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> beignet-1.2.0 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> beignet-1.2.0 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> beignet-1.2.0 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> beignet-1.2.0 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc - found =========================================================================== =================================================== ===> Staging for beignet-1.2.0 ===> Generating temporary packing list gmake[2]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[3]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' [ 3%] Built target gbeinterp gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' [ 26%] Built target beignet_bitcode gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' [ 53%] Built target gbe gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' [ 53%] Built target gbe_bin_generater gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' [ 53%] Built target git_sha1.h gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' [100%] Built target cl gmake[3]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[3]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' Linking CXX shared library CMakeFiles/CMakeRelink.dir/libgbe.so gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[4]: Entering directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' Linking CXX shared library CMakeFiles/CMakeRelink.dir/libcl.so gmake[4]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' gmake[3]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' Installing the project stripped... -- Install configuration: "Release" -- Installing: /wrkdirs/lang/beignet/stage/usr/local/etc/OpenCL/vendors/intel-beignet.icd -- Installing: /wrkdirs/lang/beignet/stage/usr/local/include/CL/cl.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/include/CL/cl_d3d10.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/include/CL/cl_d3d11.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/include/CL/cl_dx9_media_sharing.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/include/CL/cl_egl.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/include/CL/cl_ext.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/include/CL/cl_gl.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/include/CL/cl_gl_ext.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/include/CL/cl_intel.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/include/CL/cl_platform.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/include/CL/opencl.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/include/CL/cl.hpp -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/libgbe.so -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/beignet.bc -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/beignet.pch -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_defines.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_types.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_float.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_printf.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_workitem.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_atom.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_async.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_sync.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_memcpy.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_memset.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_misc.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_vload.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_geometric.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_image.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_work_group.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_common.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_relational.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_integer.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_math.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_simd.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_as.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/include/ocl_convert.h -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/libgbeinterp.so -- Installing: /wrkdirs/lang/beignet/stage/usr/local/lib/beignet/libcl.so gmake[2]: Leaving directory '/wrkdirs/lang/beignet/Beignet-1.2.0-Source' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for beignet-1.2.0 file sizes/checksums [29]: . done packing files [29]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for beignet-1.2.0 build of lang/beignet ended at Sun Oct 9 07:38:46 PDT 2016 build time: 00:07:24