# Crash reproducer for clang version 20.0.0git (/home/marcus/Downloads/llvm-git/llvm-project 0cb5846a68cc5c5e519b2c80ab106e7e4fc6eedb) # Driver args: "-D" "turbojpeg_EXPORTS" "-I" "/tmp/makepkg/libjpeg-turbo-git/src/libjpeg-turbo/_build" "-I" "/tmp/makepkg/libjpeg-turbo-git/src/libjpeg-turbo/src" "-D" "_FORTIFY_SOURCE=0" "-O3" "-march=native" "-mtune=native" "-mllvm" "-inline-threshold=1500" "-mllvm" "-polly" "-mllvm" "-polly-position=early" "-mllvm" "-polly-dependences-computeout=6000000" "-mllvm" "-polly-detect-profitability-min-per-loop-insts=40" "-mllvm" "-polly-tiling=true" "-mllvm" "-polly-prevect-width=256" "-mllvm" "-polly-vectorizer=stripmine" "-mllvm" "-polly-invariant-load-hoisting" "-mllvm" "-polly-loopfusion-greedy" "-mllvm" "-polly-run-inliner" "-mllvm" "-polly-run-dce" "-mllvm" "-polly-enable-delicm=true" "-mllvm" "-polly" "-fmerge-all-constants" "-mllvm" "-polly-parallel" "-fopenmp" "-fopenmp-version=52" "-mllvm" "-polly-omp-backend=LLVM" "-mllvm" "-polly-num-threads=28" "-mllvm" "-polly-scheduling=dynamic" "-mllvm" "-polly-scheduling-chunksize=1" "-mllvm" "-extra-vectorizer-passes" "-mllvm" "-enable-cond-stores-vec" "-mllvm" "-slp-vectorize-hor-store" "-mllvm" "-enable-loopinterchange" "-mllvm" "-enable-loop-distribute" "-mllvm" "-enable-unroll-and-jam" "-mllvm" "-enable-loop-flatten" "-mllvm" "-unroll-runtime-multi-exit" "-mllvm" "-aggressive-ext-opt" "-mllvm" "-enable-interleaved-mem-accesses" "-mllvm" "-enable-masked-interleaved-mem-accesses" "-fno-math-errno" "-fno-trapping-math" "-falign-functions=32" "-funroll-loops" "-fno-semantic-interposition" "-fcf-protection=none" "-mharden-sls=none" "-fomit-frame-pointer" "-mprefer-vector-width=256" "-flto=thin" "-fsplit-lto-unit" "-mllvm" "-adce-remove-loops" "-mllvm" "-enable-ext-tsp-block-placement=1" "-mllvm" "-enable-gvn-hoist=1" "-mllvm" "-enable-dfa-jump-thread=1" "-Wno-error" "-fprofile-use=/home/marcus/Downloads/libjpg.profdata" "-fdata-sections" "-ffunction-sections" "-fno-unique-section-names" "-fsplit-machine-functions" "-mtls-dialect=gnu2" "-fgnuc-version=14.2.0" "-w" "-O3" "-D" "NDEBUG" "-std=gnu23" "-fPIC" "-D" "BMP_SUPPORTED" "-D" "PPM_SUPPORTED" "-MD" "-MT" "CMakeFiles/turbojpeg.dir/src/transupp.c.o" "-MF" "CMakeFiles/turbojpeg.dir/src/transupp.c.o.d" "-o" "CMakeFiles/turbojpeg.dir/src/transupp.c.o" "-c" "/tmp/makepkg/libjpeg-turbo-git/src/libjpeg-turbo/src/transupp.c" # Original command: "/usr/bin/clang-20" "-cc1" "-triple" "x86_64-pc-linux-gnu" "-emit-llvm-bc" "-flto=thin" "-flto-unit" "-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "transupp.c" "-function-alignment" "5" "-mrelocation-model" "pic" "-pic-level" "2" "-fmerge-all-constants" "-mframe-pointer=none" "-ffp-contract=on" "-fno-rounding-math" "-ffp-exception-behavior=ignore" "-mconstructor-aliases" "-funwind-tables=2" "-enable-tlsdesc" "-target-cpu" "alderlake" "-target-feature" "+prfchw" "-target-feature" "-cldemote" "-target-feature" "+avx" "-target-feature" "+aes" "-target-feature" "+sahf" "-target-feature" "+pclmul" "-target-feature" "-xop" "-target-feature" "+crc32" "-target-feature" "-amx-fp8" "-target-feature" "+xsaves" "-target-feature" "-avx512fp16" "-target-feature" "-usermsr" "-target-feature" "-sm4" "-target-feature" "-egpr" "-target-feature" "+sse4.1" "-target-feature" "-avx512ifma" "-target-feature" "+xsave" "-target-feature" "+sse4.2" "-target-feature" "-tsxldtrk" "-target-feature" "-sm3" "-target-feature" "+ptwrite" "-target-feature" "+widekl" "-target-feature" "-movrs" "-target-feature" "+invpcid" "-target-feature" "+64bit" "-target-feature" "+xsavec" "-target-feature" "-avx10.1-512" "-target-feature" "-avx512vpopcntdq" "-target-feature" "+cmov" "-target-feature" "-avx512vp2intersect" "-target-feature" "-avx512cd" "-target-feature" "+movbe" "-target-feature" "-avxvnniint8" "-target-feature" "-ccmp" "-target-feature" "-amx-int8" "-target-feature" "+kl" "-target-feature" "-avx10.1-256" "-target-feature" "-sha512" "-target-feature" "+avxvnni" "-target-feature" "-rtm" "-target-feature" "+adx" "-target-feature" "+avx2" "-target-feature" "+hreset" "-target-feature" "+movdiri" "-target-feature" "+serialize" "-target-feature" "+vpclmulqdq" "-target-feature" "-avx512vl" "-target-feature" "-uintr" "-target-feature" "-cf" "-target-feature" "+clflushopt" "-target-feature" "-raoint" "-target-feature" "-cmpccxadd" "-target-feature" "+bmi" "-target-feature" "-amx-tile" "-target-feature" "+sse" "-target-feature" "-avx10.2-256" "-target-feature" "+gfni" "-target-feature" "-avxvnniint16" "-target-feature" "-amx-fp16" "-target-feature" "-zu" "-target-feature" "-ndd" "-target-feature" "+xsaveopt" "-target-feature" "+rdrnd" "-target-feature" "-avx512f" "-target-feature" "-amx-bf16" "-target-feature" "-avx512bf16" "-target-feature" "-avx512vnni" "-target-feature" "-push2pop2" "-target-feature" "+cx8" "-target-feature" "-avx512bw" "-target-feature" "+sse3" "-target-feature" "+pku" "-target-feature" "-nf" "-target-feature" "-amx-tf32" "-target-feature" "-amx-avx512" "-target-feature" "+fsgsbase" "-target-feature" "-clzero" "-target-feature" "-mwaitx" "-target-feature" "-lwp" "-target-feature" "+lzcnt" "-target-feature" "+sha" "-target-feature" "+movdir64b" "-target-feature" "-ppx" "-target-feature" "-wbnoinvd" "-target-feature" "-enqcmd" "-target-feature" "-amx-transpose" "-target-feature" "-avx10.2-512" "-target-feature" "-avxneconvert" "-target-feature" "-tbm" "-target-feature" "-pconfig" "-target-feature" "-amx-complex" "-target-feature" "+ssse3" "-target-feature" "+cx16" "-target-feature" "+bmi2" "-target-feature" "+fma" "-target-feature" "+popcnt" "-target-feature" "-avxifma" "-target-feature" "+f16c" "-target-feature" "-avx512bitalg" "-target-feature" "-rdpru" "-target-feature" "+clwb" "-target-feature" "+mmx" "-target-feature" "+sse2" "-target-feature" "+rdseed" "-target-feature" "-avx512vbmi2" "-target-feature" "-prefetchi" "-target-feature" "-amx-movrs" "-target-feature" "+rdpid" "-target-feature" "-fma4" "-target-feature" "-avx512vbmi" "-target-feature" "+shstk" "-target-feature" "+vaes" "-target-feature" "+waitpkg" "-target-feature" "-sgx" "-target-feature" "+fxsr" "-target-feature" "-avx512dq" "-target-feature" "-sse4a" "-tune-cpu" "alderlake" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/tmp/makepkg/libjpeg-turbo-git/src/libjpeg-turbo/_build" "-ffunction-sections" "-fdata-sections" "-fno-unique-section-names" "-fsplit-machine-functions" "-fprofile-instrument-use-path=/home/marcus/Downloads/libjpg.profdata" "-fcoverage-compilation-dir=/tmp/makepkg/libjpeg-turbo-git/src/libjpeg-turbo/_build" "-resource-dir" "/usr/lib/clang/20" "-dependency-file" "CMakeFiles/turbojpeg.dir/src/transupp.c.o.d" "-MT" "CMakeFiles/turbojpeg.dir/src/transupp.c.o" "-sys-header-deps" "-D" "turbojpeg_EXPORTS" "-I" "/tmp/makepkg/libjpeg-turbo-git/src/libjpeg-turbo/_build" "-I" "/tmp/makepkg/libjpeg-turbo-git/src/libjpeg-turbo/src" "-D" "_FORTIFY_SOURCE=0" "-D" "NDEBUG" "-D" "BMP_SUPPORTED" "-D" "PPM_SUPPORTED" "-internal-isystem" "/usr/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-isystem" "/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../x86_64-pc-linux-gnu/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-source-date-epoch" "1732710494" "-O3" "-Wno-error" "-w" "-std=gnu23" "-ferror-limit" "19" "-fopenmp" "-fopenmp-version=52" "-funroll-loops" "-fcf-protection=none" "-fgnuc-version=14.2.0" "-fskip-odr-check-in-gmf" "-fcolor-diagnostics" "-vectorize-loops" "-vectorize-slp" "-mprefer-vector-width=256" "-mllvm" "-inline-threshold=1500" "-mllvm" "-polly" "-mllvm" "-polly-position=early" "-mllvm" "-polly-dependences-computeout=6000000" "-mllvm" "-polly-detect-profitability-min-per-loop-insts=40" "-mllvm" "-polly-tiling=true" "-mllvm" "-polly-prevect-width=256" "-mllvm" "-polly-vectorizer=stripmine" "-mllvm" "-polly-invariant-load-hoisting" "-mllvm" "-polly-loopfusion-greedy" "-mllvm" "-polly-run-inliner" "-mllvm" "-polly-run-dce" "-mllvm" "-polly-enable-delicm=true" "-mllvm" "-polly" "-mllvm" "-polly-parallel" "-mllvm" "-polly-omp-backend=LLVM" "-mllvm" "-polly-num-threads=28" "-mllvm" "-polly-scheduling=dynamic" "-mllvm" "-polly-scheduling-chunksize=1" "-mllvm" "-extra-vectorizer-passes" "-mllvm" "-enable-cond-stores-vec" "-mllvm" "-slp-vectorize-hor-store" "-mllvm" "-enable-loopinterchange" "-mllvm" "-enable-loop-distribute" "-mllvm" "-enable-unroll-and-jam" "-mllvm" "-enable-loop-flatten" "-mllvm" "-unroll-runtime-multi-exit" "-mllvm" "-aggressive-ext-opt" "-mllvm" "-enable-interleaved-mem-accesses" "-mllvm" "-enable-masked-interleaved-mem-accesses" "-mllvm" "-adce-remove-loops" "-mllvm" "-enable-ext-tsp-block-placement=1" "-mllvm" "-enable-gvn-hoist=1" "-mllvm" "-enable-dfa-jump-thread=1" "-fsplit-lto-unit" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "CMakeFiles/turbojpeg.dir/src/transupp.c.o" "-x" "c" "/tmp/makepkg/libjpeg-turbo-git/src/libjpeg-turbo/src/transupp.c" "/usr/bin/clang-20" "-cc1" "-triple" "x86_64-pc-linux-gnu" "-emit-llvm-bc" "-flto=thin" "-flto-unit" "-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "transupp.c" "-function-alignment" "5" "-mrelocation-model" "pic" "-pic-level" "2" "-fmerge-all-constants" "-mframe-pointer=none" "-ffp-contract=on" "-fno-rounding-math" "-ffp-exception-behavior=ignore" "-mconstructor-aliases" "-funwind-tables=2" "-enable-tlsdesc" "-target-cpu" "alderlake" "-target-feature" "+prfchw" "-target-feature" "-cldemote" "-target-feature" "+avx" "-target-feature" "+aes" "-target-feature" "+sahf" "-target-feature" "+pclmul" "-target-feature" "-xop" "-target-feature" "+crc32" "-target-feature" "-amx-fp8" "-target-feature" "+xsaves" "-target-feature" "-avx512fp16" "-target-feature" "-usermsr" "-target-feature" "-sm4" "-target-feature" "-egpr" "-target-feature" "+sse4.1" "-target-feature" "-avx512ifma" "-target-feature" "+xsave" "-target-feature" "+sse4.2" "-target-feature" "-tsxldtrk" "-target-feature" "-sm3" "-target-feature" "+ptwrite" "-target-feature" "+widekl" "-target-feature" "-movrs" "-target-feature" "+invpcid" "-target-feature" "+64bit" "-target-feature" "+xsavec" "-target-feature" "-avx10.1-512" "-target-feature" "-avx512vpopcntdq" "-target-feature" "+cmov" "-target-feature" "-avx512vp2intersect" "-target-feature" "-avx512cd" "-target-feature" "+movbe" "-target-feature" "-avxvnniint8" "-target-feature" "-ccmp" "-target-feature" "-amx-int8" "-target-feature" "+kl" "-target-feature" "-avx10.1-256" "-target-feature" "-sha512" "-target-feature" "+avxvnni" "-target-feature" "-rtm" "-target-feature" "+adx" "-target-feature" "+avx2" "-target-feature" "+hreset" "-target-feature" "+movdiri" "-target-feature" "+serialize" "-target-feature" "+vpclmulqdq" "-target-feature" "-avx512vl" "-target-feature" "-uintr" "-target-feature" "-cf" "-target-feature" "+clflushopt" "-target-feature" "-raoint" "-target-feature" "-cmpccxadd" "-target-feature" "+bmi" "-target-feature" "-amx-tile" "-target-feature" "+sse" "-target-feature" "-avx10.2-256" "-target-feature" "+gfni" "-target-feature" "-avxvnniint16" "-target-feature" "-amx-fp16" "-target-feature" "-zu" "-target-feature" "-ndd" "-target-feature" "+xsaveopt" "-target-feature" "+rdrnd" "-target-feature" "-avx512f" "-target-feature" "-amx-bf16" "-target-feature" "-avx512bf16" "-target-feature" "-avx512vnni" "-target-feature" "-push2pop2" "-target-feature" "+cx8" "-target-feature" "-avx512bw" "-target-feature" "+sse3" "-target-feature" "+pku" "-target-feature" "-nf" "-target-feature" "-amx-tf32" "-target-feature" "-amx-avx512" "-target-feature" "+fsgsbase" "-target-feature" "-clzero" "-target-feature" "-mwaitx" "-target-feature" "-lwp" "-target-feature" "+lzcnt" "-target-feature" "+sha" "-target-feature" "+movdir64b" "-target-feature" "-ppx" "-target-feature" "-wbnoinvd" "-target-feature" "-enqcmd" "-target-feature" "-amx-transpose" "-target-feature" "-avx10.2-512" "-target-feature" "-avxneconvert" "-target-feature" "-tbm" "-target-feature" "-pconfig" "-target-feature" "-amx-complex" "-target-feature" "+ssse3" "-target-feature" "+cx16" "-target-feature" "+bmi2" "-target-feature" "+fma" "-target-feature" "+popcnt" "-target-feature" "-avxifma" "-target-feature" "+f16c" "-target-feature" "-avx512bitalg" "-target-feature" "-rdpru" "-target-feature" "+clwb" "-target-feature" "+mmx" "-target-feature" "+sse2" "-target-feature" "+rdseed" "-target-feature" "-avx512vbmi2" "-target-feature" "-prefetchi" "-target-feature" "-amx-movrs" "-target-feature" "+rdpid" "-target-feature" "-fma4" "-target-feature" "-avx512vbmi" "-target-feature" "+shstk" "-target-feature" "+vaes" "-target-feature" "+waitpkg" "-target-feature" "-sgx" "-target-feature" "+fxsr" "-target-feature" "-avx512dq" "-target-feature" "-sse4a" "-tune-cpu" "alderlake" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/tmp/makepkg/libjpeg-turbo-git/src/libjpeg-turbo/_build" "-ffunction-sections" "-fdata-sections" "-fno-unique-section-names" "-fsplit-machine-functions" "-fprofile-instrument-use-path=/home/marcus/Downloads/libjpg.profdata" "-fcoverage-compilation-dir=/tmp/makepkg/libjpeg-turbo-git/src/libjpeg-turbo/_build" "-sys-header-deps" "-D" "turbojpeg_EXPORTS" "-D" "_FORTIFY_SOURCE=0" "-D" "NDEBUG" "-D" "BMP_SUPPORTED" "-D" "PPM_SUPPORTED" "-source-date-epoch" "1732710494" "-O3" "-Wno-error" "-w" "-std=gnu23" "-ferror-limit" "19" "-fopenmp" "-fopenmp-version=52" "-funroll-loops" "-fcf-protection=none" "-fgnuc-version=14.2.0" "-fskip-odr-check-in-gmf" "-fcolor-diagnostics" "-vectorize-loops" "-vectorize-slp" "-mprefer-vector-width=256" "-mllvm" "-inline-threshold=1500" "-mllvm" "-polly" "-mllvm" "-polly-position=early" "-mllvm" "-polly-dependences-computeout=6000000" "-mllvm" "-polly-detect-profitability-min-per-loop-insts=40" "-mllvm" "-polly-tiling=true" "-mllvm" "-polly-prevect-width=256" "-mllvm" "-polly-vectorizer=stripmine" "-mllvm" "-polly-invariant-load-hoisting" "-mllvm" "-polly-loopfusion-greedy" "-mllvm" "-polly-run-inliner" "-mllvm" "-polly-run-dce" "-mllvm" "-polly-enable-delicm=true" "-mllvm" "-polly" "-mllvm" "-polly-parallel" "-mllvm" "-polly-omp-backend=LLVM" "-mllvm" "-polly-num-threads=28" "-mllvm" "-polly-scheduling=dynamic" "-mllvm" "-polly-scheduling-chunksize=1" "-mllvm" "-extra-vectorizer-passes" "-mllvm" "-enable-cond-stores-vec" "-mllvm" "-slp-vectorize-hor-store" "-mllvm" "-enable-loopinterchange" "-mllvm" "-enable-loop-distribute" "-mllvm" "-enable-unroll-and-jam" "-mllvm" "-enable-loop-flatten" "-mllvm" "-unroll-runtime-multi-exit" "-mllvm" "-aggressive-ext-opt" "-mllvm" "-enable-interleaved-mem-accesses" "-mllvm" "-enable-masked-interleaved-mem-accesses" "-mllvm" "-adce-remove-loops" "-mllvm" "-enable-ext-tsp-block-placement=1" "-mllvm" "-enable-gvn-hoist=1" "-mllvm" "-enable-dfa-jump-thread=1" "-fsplit-lto-unit" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-x" "c" "transupp-f787bc.c"