# Crash reproducer for clang version 3.8.0 (tags/RELEASE_380/final) # Driver args: "-m32" "-D" "PACKAGE_NAME=\"Mesa\"" "-D" "PACKAGE_TARNAME=\"mesa\"" "-D" "PACKAGE_VERSION=\"11.2.2\"" "-D" "PACKAGE_STRING=\"Mesa 11.2.2\"" "-D" "PACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" "-D" "PACKAGE_URL=\"\"" "-D" "PACKAGE=\"mesa\"" "-D" "VERSION=\"11.2.2\"" "-D" "_FILE_OFFSET_BITS=64" "-D" "STDC_HEADERS=1" "-D" "HAVE_SYS_TYPES_H=1" "-D" "HAVE_SYS_STAT_H=1" "-D" "HAVE_STDLIB_H=1" "-D" "HAVE_STRING_H=1" "-D" "HAVE_MEMORY_H=1" "-D" "HAVE_STRINGS_H=1" "-D" "HAVE_INTTYPES_H=1" "-D" "HAVE_STDINT_H=1" "-D" "HAVE_UNISTD_H=1" "-D" "HAVE_DLFCN_H=1" "-D" "LT_OBJDIR=\".libs/\"" "-D" "HAVE___BUILTIN_BSWAP32=1" "-D" "HAVE___BUILTIN_BSWAP64=1" "-D" "HAVE___BUILTIN_CLZ=1" "-D" "HAVE___BUILTIN_CLZLL=1" "-D" "HAVE___BUILTIN_CTZ=1" "-D" "HAVE___BUILTIN_EXPECT=1" "-D" "HAVE___BUILTIN_FFS=1" "-D" "HAVE___BUILTIN_FFSLL=1" "-D" "HAVE___BUILTIN_POPCOUNT=1" "-D" "HAVE___BUILTIN_POPCOUNTLL=1" "-D" "HAVE___BUILTIN_UNREACHABLE=1" "-D" "HAVE_FUNC_ATTRIBUTE_CONST=1" "-D" "HAVE_FUNC_ATTRIBUTE_FLATTEN=1" "-D" "HAVE_FUNC_ATTRIBUTE_FORMAT=1" "-D" "HAVE_FUNC_ATTRIBUTE_MALLOC=1" "-D" "HAVE_FUNC_ATTRIBUTE_PACKED=1" "-D" "HAVE_FUNC_ATTRIBUTE_PURE=1" "-D" "HAVE_FUNC_ATTRIBUTE_UNUSED=1" "-D" "HAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1" "-D" "HAVE_DLADDR=1" "-D" "HAVE_CLOCK_GETTIME=1" "-D" "HAVE_PTHREAD=1" "-D" "HAVE_SHA1_IN_LIBNETTLE=1" "-I" "." "-I" "/var/tmp/portage/media-libs/mesa-11.2.2/work/mesa-11.2.2/src/mapi" "-D" "__STDC_LIMIT_MACROS" "-D" "__STDC_CONSTANT_MACROS" "-D" "_GNU_SOURCE" "-D" "USE_SSE41" "-D" "NDEBUG" "-D" "TEXTURE_FLOAT_ENABLED" "-D" "USE_X86_ASM" "-D" "USE_MMX_ASM" "-D" "USE_3DNOW_ASM" "-D" "USE_SSE_ASM" "-D" "HAVE_XLOCALE_H" "-D" "HAVE_SYS_SYSCTL_H" "-D" "HAVE_STRTOF" "-D" "HAVE_MKOSTEMP" "-D" "HAVE_DLOPEN" "-D" "HAVE_POSIX_MEMALIGN" "-D" "HAVE_LIBDRM" "-D" "HAVE_SHA1" "-D" "GLX_USE_DRM" "-D" "HAVE_LIBUDEV" "-D" "GLX_INDIRECT_RENDERING" "-D" "GLX_DIRECT_RENDERING" "-D" "GLX_USE_TLS" "-D" "HAVE_ALIAS" "-D" "HAVE_DRI3" "-D" "HAVE_MINCORE" "-D" "HAVE_LLVM=0x0308" "-D" "MESA_LLVM_VERSION_PATCH=0" "-I" "/var/tmp/portage/media-libs/mesa-11.2.2/work/mesa-11.2.2/include" "-I" "/var/tmp/portage/media-libs/mesa-11.2.2/work/mesa-11.2.2/src" "-I" "/var/tmp/portage/media-libs/mesa-11.2.2/work/mesa-11.2.2/src/mapi" "-I" "../../src/mapi" "-D" "MAPI_MODE_GLAPI" "-D" "MAPI_ABI_HEADER=\"shared-glapi/glapi_mapi_tmp.h\"" "-pthread" "-Werror=pointer-arith" "-Werror=vla" "-O2" "-march=native" "-pipe" "-Wall" "-std=c99" "-Werror=implicit-function-declaration" "-Werror=missing-prototypes" "-fno-strict-aliasing" "-fno-math-errno" "-fno-trapping-math" "-fno-builtin-memcmp" "-Qunused-arguments" "-c" "/var/tmp/portage/media-libs/mesa-11.2.2/work/mesa-11.2.2/src/mapi/entry.c" "-fPIC" "-D" "PIC" "-o" ".libs/shared_glapi_libglapi_la-entry.o" # Original command: "/usr/bin/x86_64-pc-linux-gnu-clang-3.8" "-cc1" "-triple" "i386-pc-linux-gnu" "-emit-obj" "-disable-free" "-disable-llvm-verifier" "-main-file-name" "entry.c" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix" "-relaxed-aliasing" "-masm-verbose" "-mconstructor-aliases" "-fuse-init-array" "-target-cpu" "haswell" "-target-feature" "-sse4a" "-target-feature" "-avx512bw" "-target-feature" "+cx16" "-target-feature" "-tbm" "-target-feature" "+xsave" "-target-feature" "-fma4" "-target-feature" "-avx512vl" "-target-feature" "-prfchw" "-target-feature" "+bmi2" "-target-feature" "-adx" "-target-feature" "-xsavec" "-target-feature" "+fsgsbase" "-target-feature" "+avx" "-target-feature" "-avx512cd" "-target-feature" "-avx512pf" "-target-feature" "-rtm" "-target-feature" "+popcnt" "-target-feature" "+fma" "-target-feature" "+bmi" "-target-feature" "+aes" "-target-feature" "+rdrnd" "-target-feature" "-xsaves" "-target-feature" "+sse4.1" "-target-feature" "+sse4.2" "-target-feature" "+avx2" "-target-feature" "-avx512er" "-target-feature" "+sse" "-target-feature" "+lzcnt" "-target-feature" "+pclmul" "-target-feature" "-avx512f" "-target-feature" "+f16c" "-target-feature" "+ssse3" "-target-feature" "+mmx" "-target-feature" "-pku" "-target-feature" "+cmov" "-target-feature" "-xop" "-target-feature" "-rdseed" "-target-feature" "+movbe" "-target-feature" "-hle" "-target-feature" "+xsaveopt" "-target-feature" "-sha" "-target-feature" "+sse2" "-target-feature" "+sse3" "-target-feature" "-avx512dq" "-momit-leaf-frame-pointer" "-dwarf-column-info" "-debugger-tuning=gdb" "-coverage-file" "/var/tmp/portage/media-libs/mesa-11.2.2/work/mesa-11.2.2-abi_x86_32.x86/src/mapi/.libs/shared_glapi_libglapi_la-entry.o" "-resource-dir" "/usr/bin/../lib/clang/3.8.0" "-D" "PACKAGE_NAME=\"Mesa\"" "-D" "PACKAGE_TARNAME=\"mesa\"" "-D" "PACKAGE_VERSION=\"11.2.2\"" "-D" "PACKAGE_STRING=\"Mesa 11.2.2\"" "-D" "PACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" "-D" "PACKAGE_URL=\"\"" "-D" "PACKAGE=\"mesa\"" "-D" "VERSION=\"11.2.2\"" "-D" "_FILE_OFFSET_BITS=64" "-D" "STDC_HEADERS=1" "-D" "HAVE_SYS_TYPES_H=1" "-D" "HAVE_SYS_STAT_H=1" "-D" "HAVE_STDLIB_H=1" "-D" "HAVE_STRING_H=1" "-D" "HAVE_MEMORY_H=1" "-D" "HAVE_STRINGS_H=1" "-D" "HAVE_INTTYPES_H=1" "-D" "HAVE_STDINT_H=1" "-D" "HAVE_UNISTD_H=1" "-D" "HAVE_DLFCN_H=1" "-D" "LT_OBJDIR=\".libs/\"" "-D" "HAVE___BUILTIN_BSWAP32=1" "-D" "HAVE___BUILTIN_BSWAP64=1" "-D" "HAVE___BUILTIN_CLZ=1" "-D" "HAVE___BUILTIN_CLZLL=1" "-D" "HAVE___BUILTIN_CTZ=1" "-D" "HAVE___BUILTIN_EXPECT=1" "-D" "HAVE___BUILTIN_FFS=1" "-D" "HAVE___BUILTIN_FFSLL=1" "-D" "HAVE___BUILTIN_POPCOUNT=1" "-D" "HAVE___BUILTIN_POPCOUNTLL=1" "-D" "HAVE___BUILTIN_UNREACHABLE=1" "-D" "HAVE_FUNC_ATTRIBUTE_CONST=1" "-D" "HAVE_FUNC_ATTRIBUTE_FLATTEN=1" "-D" "HAVE_FUNC_ATTRIBUTE_FORMAT=1" "-D" "HAVE_FUNC_ATTRIBUTE_MALLOC=1" "-D" "HAVE_FUNC_ATTRIBUTE_PACKED=1" "-D" "HAVE_FUNC_ATTRIBUTE_PURE=1" "-D" "HAVE_FUNC_ATTRIBUTE_UNUSED=1" "-D" "HAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1" "-D" "HAVE_DLADDR=1" "-D" "HAVE_CLOCK_GETTIME=1" "-D" "HAVE_PTHREAD=1" "-D" "HAVE_SHA1_IN_LIBNETTLE=1" "-I" "." "-I" "/var/tmp/portage/media-libs/mesa-11.2.2/work/mesa-11.2.2/src/mapi" "-D" "__STDC_LIMIT_MACROS" "-D" "__STDC_CONSTANT_MACROS" "-D" "_GNU_SOURCE" "-D" "USE_SSE41" "-D" "NDEBUG" "-D" "TEXTURE_FLOAT_ENABLED" "-D" "USE_X86_ASM" "-D" "USE_MMX_ASM" "-D" "USE_3DNOW_ASM" "-D" "USE_SSE_ASM" "-D" "HAVE_XLOCALE_H" "-D" "HAVE_SYS_SYSCTL_H" "-D" "HAVE_STRTOF" "-D" "HAVE_MKOSTEMP" "-D" "HAVE_DLOPEN" "-D" "HAVE_POSIX_MEMALIGN" "-D" "HAVE_LIBDRM" "-D" "HAVE_SHA1" "-D" "GLX_USE_DRM" "-D" "HAVE_LIBUDEV" "-D" "GLX_INDIRECT_RENDERING" "-D" "GLX_DIRECT_RENDERING" "-D" "GLX_USE_TLS" "-D" "HAVE_ALIAS" "-D" "HAVE_DRI3" "-D" "HAVE_MINCORE" "-D" "HAVE_LLVM=0x0308" "-D" "MESA_LLVM_VERSION_PATCH=0" "-I" "/var/tmp/portage/media-libs/mesa-11.2.2/work/mesa-11.2.2/include" "-I" "/var/tmp/portage/media-libs/mesa-11.2.2/work/mesa-11.2.2/src" "-I" "/var/tmp/portage/media-libs/mesa-11.2.2/work/mesa-11.2.2/src/mapi" "-I" "../../src/mapi" "-D" "MAPI_MODE_GLAPI" "-D" "MAPI_ABI_HEADER=\"shared-glapi/glapi_mapi_tmp.h\"" "-D" "PIC" "-internal-isystem" "/usr/local/include" "-internal-isystem" "/usr/bin/../lib/clang/3.8.0/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-O2" "-Werror=pointer-arith" "-Werror=vla" "-Wall" "-Werror=implicit-function-declaration" "-Werror=missing-prototypes" "-std=c99" "-fdebug-compilation-dir" "/var/tmp/portage/media-libs/mesa-11.2.2/work/mesa-11.2.2-abi_x86_32.x86/src/mapi" "-ferror-limit" "19" "-fmessage-length" "0" "-pthread" "-fno-builtin-memcmp" "-fobjc-runtime=gcc" "-fdiagnostics-show-option" "-vectorize-loops" "-vectorize-slp" "-o" ".libs/shared_glapi_libglapi_la-entry.o" "-x" "c" "/var/tmp/portage/media-libs/mesa-11.2.2/work/mesa-11.2.2/src/mapi/entry.c" "/usr/bin/x86_64-pc-linux-gnu-clang-3.8" "-cc1" "-triple" "i386-pc-linux-gnu" "-emit-obj" "-disable-free" "-disable-llvm-verifier" "-main-file-name" "entry.c" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix" "-relaxed-aliasing" "-masm-verbose" "-mconstructor-aliases" "-fuse-init-array" "-target-cpu" "haswell" "-target-feature" "-sse4a" "-target-feature" "-avx512bw" "-target-feature" "+cx16" "-target-feature" "-tbm" "-target-feature" "+xsave" "-target-feature" "-fma4" "-target-feature" "-avx512vl" "-target-feature" "-prfchw" "-target-feature" "+bmi2" "-target-feature" "-adx" "-target-feature" "-xsavec" "-target-feature" "+fsgsbase" "-target-feature" "+avx" "-target-feature" "-avx512cd" "-target-feature" "-avx512pf" "-target-feature" "-rtm" "-target-feature" "+popcnt" "-target-feature" "+fma" "-target-feature" "+bmi" "-target-feature" "+aes" "-target-feature" "+rdrnd" "-target-feature" "-xsaves" "-target-feature" "+sse4.1" "-target-feature" "+sse4.2" "-target-feature" "+avx2" "-target-feature" "-avx512er" "-target-feature" "+sse" "-target-feature" "+lzcnt" "-target-feature" "+pclmul" "-target-feature" "-avx512f" "-target-feature" "+f16c" "-target-feature" "+ssse3" "-target-feature" "+mmx" "-target-feature" "-pku" "-target-feature" "+cmov" "-target-feature" "-xop" "-target-feature" "-rdseed" "-target-feature" "+movbe" "-target-feature" "-hle" "-target-feature" "+xsaveopt" "-target-feature" "-sha" "-target-feature" "+sse2" "-target-feature" "+sse3" "-target-feature" "-avx512dq" "-momit-leaf-frame-pointer" "-dwarf-column-info" "-debugger-tuning=gdb" "-D" "PACKAGE_NAME=\"Mesa\"" "-D" "PACKAGE_TARNAME=\"mesa\"" "-D" "PACKAGE_VERSION=\"11.2.2\"" "-D" "PACKAGE_STRING=\"Mesa 11.2.2\"" "-D" "PACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" "-D" "PACKAGE_URL=\"\"" "-D" "PACKAGE=\"mesa\"" "-D" "VERSION=\"11.2.2\"" "-D" "_FILE_OFFSET_BITS=64" "-D" "STDC_HEADERS=1" "-D" "HAVE_SYS_TYPES_H=1" "-D" "HAVE_SYS_STAT_H=1" "-D" "HAVE_STDLIB_H=1" "-D" "HAVE_STRING_H=1" "-D" "HAVE_MEMORY_H=1" "-D" "HAVE_STRINGS_H=1" "-D" "HAVE_INTTYPES_H=1" "-D" "HAVE_STDINT_H=1" "-D" "HAVE_UNISTD_H=1" "-D" "HAVE_DLFCN_H=1" "-D" "LT_OBJDIR=\".libs/\"" "-D" "HAVE___BUILTIN_BSWAP32=1" "-D" "HAVE___BUILTIN_BSWAP64=1" "-D" "HAVE___BUILTIN_CLZ=1" "-D" "HAVE___BUILTIN_CLZLL=1" "-D" "HAVE___BUILTIN_CTZ=1" "-D" "HAVE___BUILTIN_EXPECT=1" "-D" "HAVE___BUILTIN_FFS=1" "-D" "HAVE___BUILTIN_FFSLL=1" "-D" "HAVE___BUILTIN_POPCOUNT=1" "-D" "HAVE___BUILTIN_POPCOUNTLL=1" "-D" "HAVE___BUILTIN_UNREACHABLE=1" "-D" "HAVE_FUNC_ATTRIBUTE_CONST=1" "-D" "HAVE_FUNC_ATTRIBUTE_FLATTEN=1" "-D" "HAVE_FUNC_ATTRIBUTE_FORMAT=1" "-D" "HAVE_FUNC_ATTRIBUTE_MALLOC=1" "-D" "HAVE_FUNC_ATTRIBUTE_PACKED=1" "-D" "HAVE_FUNC_ATTRIBUTE_PURE=1" "-D" "HAVE_FUNC_ATTRIBUTE_UNUSED=1" "-D" "HAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1" "-D" "HAVE_DLADDR=1" "-D" "HAVE_CLOCK_GETTIME=1" "-D" "HAVE_PTHREAD=1" "-D" "HAVE_SHA1_IN_LIBNETTLE=1" "-D" "__STDC_LIMIT_MACROS" "-D" "__STDC_CONSTANT_MACROS" "-D" "_GNU_SOURCE" "-D" "USE_SSE41" "-D" "NDEBUG" "-D" "TEXTURE_FLOAT_ENABLED" "-D" "USE_X86_ASM" "-D" "USE_MMX_ASM" "-D" "USE_3DNOW_ASM" "-D" "USE_SSE_ASM" "-D" "HAVE_XLOCALE_H" "-D" "HAVE_SYS_SYSCTL_H" "-D" "HAVE_STRTOF" "-D" "HAVE_MKOSTEMP" "-D" "HAVE_DLOPEN" "-D" "HAVE_POSIX_MEMALIGN" "-D" "HAVE_LIBDRM" "-D" "HAVE_SHA1" "-D" "GLX_USE_DRM" "-D" "HAVE_LIBUDEV" "-D" "GLX_INDIRECT_RENDERING" "-D" "GLX_DIRECT_RENDERING" "-D" "GLX_USE_TLS" "-D" "HAVE_ALIAS" "-D" "HAVE_DRI3" "-D" "HAVE_MINCORE" "-D" "HAVE_LLVM=0x0308" "-D" "MESA_LLVM_VERSION_PATCH=0" "-D" "MAPI_MODE_GLAPI" "-D" "MAPI_ABI_HEADER=\"shared-glapi/glapi_mapi_tmp.h\"" "-D" "PIC" "-O2" "-Werror=pointer-arith" "-Werror=vla" "-Wall" "-Werror=implicit-function-declaration" "-Werror=missing-prototypes" "-std=c99" "-ferror-limit" "19" "-fmessage-length" "0" "-pthread" "-fno-builtin-memcmp" "-fobjc-runtime=gcc" "-fdiagnostics-show-option" "-vectorize-loops" "-vectorize-slp" "-x" "c" "entry-1dc900.c"