# Crash reproducer for clang version 21.0.0git (https://github.com/llvm/llvm-project.git 913dcf1aa36f3ea2d67a0d2b05b9d1375987e553) # Driver args: "-march=rv32i_zclsd" "-c" "test.c" # Original command: "/home/thebigclub/riscv/llvm/rv32ec/bin/clang-21" "-cc1" "-triple" "riscv32-unknown-unknown-elf" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "test.c" "-mrelocation-model" "static" "-mframe-pointer=all" "-fmath-errno" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-nostdsysteminc" "-target-cpu" "generic-rv32" "-target-feature" "+zilsd" "-target-feature" "+zca" "-target-feature" "+zclsd" "-target-feature" "-a" "-target-feature" "-b" "-target-feature" "-c" "-target-feature" "-d" "-target-feature" "-e" "-target-feature" "-f" "-target-feature" "-h" "-target-feature" "-m" "-target-feature" "-sdext" "-target-feature" "-sdtrig" "-target-feature" "-sha" "-target-feature" "-shcounterenw" "-target-feature" "-shgatpa" "-target-feature" "-shtvala" "-target-feature" "-shvsatpa" "-target-feature" "-shvstvala" "-target-feature" "-shvstvecd" "-target-feature" "-smaia" "-target-feature" "-smcdeleg" "-target-feature" "-smcsrind" "-target-feature" "-smdbltrp" "-target-feature" "-smepmp" "-target-feature" "-smmpm" "-target-feature" "-smnpm" "-target-feature" "-smrnmi" "-target-feature" "-smstateen" "-target-feature" "-ssaia" "-target-feature" "-ssccfg" "-target-feature" "-ssccptr" "-target-feature" "-sscofpmf" "-target-feature" "-sscounterenw" "-target-feature" "-sscsrind" "-target-feature" "-ssdbltrp" "-target-feature" "-ssnpm" "-target-feature" "-sspm" "-target-feature" "-ssqosid" "-target-feature" "-ssstateen" "-target-feature" "-ssstrict" "-target-feature" "-sstc" "-target-feature" "-sstvala" "-target-feature" "-sstvecd" "-target-feature" "-ssu64xl" "-target-feature" "-supm" "-target-feature" "-svade" "-target-feature" "-svadu" "-target-feature" "-svbare" "-target-feature" "-svinval" "-target-feature" "-svnapot" "-target-feature" "-svpbmt" "-target-feature" "-svvptc" "-target-feature" "-v" "-target-feature" "-xcvalu" "-target-feature" "-xcvbi" "-target-feature" "-xcvbitmanip" "-target-feature" "-xcvelw" "-target-feature" "-xcvmac" "-target-feature" "-xcvmem" "-target-feature" "-xcvsimd" "-target-feature" "-xmipscmov" "-target-feature" "-xmipslsp" "-target-feature" "-xsfcease" "-target-feature" "-xsfvcp" "-target-feature" "-xsfvfnrclipxfqf" "-target-feature" "-xsfvfwmaccqqq" "-target-feature" "-xsfvqmaccdod" "-target-feature" "-xsfvqmaccqoq" "-target-feature" "-xsifivecdiscarddlone" "-target-feature" "-xsifivecflushdlone" "-target-feature" "-xtheadba" "-target-feature" "-xtheadbb" "-target-feature" "-xtheadbs" "-target-feature" "-xtheadcmo" "-target-feature" "-xtheadcondmov" "-target-feature" "-xtheadfmemidx" "-target-feature" "-xtheadmac" "-target-feature" "-xtheadmemidx" "-target-feature" "-xtheadmempair" "-target-feature" "-xtheadsync" "-target-feature" "-xtheadvdot" "-target-feature" "-xventanacondops" "-target-feature" "-xwchc" "-target-feature" "-za128rs" "-target-feature" "-za64rs" "-target-feature" "-zaamo" "-target-feature" "-zabha" "-target-feature" "-zacas" "-target-feature" "-zalrsc" "-target-feature" "-zama16b" "-target-feature" "-zawrs" "-target-feature" "-zba" "-target-feature" "-zbb" "-target-feature" "-zbc" "-target-feature" "-zbkb" "-target-feature" "-zbkc" "-target-feature" "-zbkx" "-target-feature" "-zbs" "-target-feature" "-zcb" "-target-feature" "-zcd" "-target-feature" "-zce" "-target-feature" "-zcf" "-target-feature" "-zcmop" "-target-feature" "-zcmp" "-target-feature" "-zcmt" "-target-feature" "-zdinx" "-target-feature" "-zfa" "-target-feature" "-zfbfmin" "-target-feature" "-zfh" "-target-feature" "-zfhmin" "-target-feature" "-zfinx" "-target-feature" "-zhinx" "-target-feature" "-zhinxmin" "-target-feature" "-zic64b" "-target-feature" "-zicbom" "-target-feature" "-zicbop" "-target-feature" "-zicboz" "-target-feature" "-ziccamoa" "-target-feature" "-ziccif" "-target-feature" "-zicclsm" "-target-feature" "-ziccrse" "-target-feature" "-zicntr" "-target-feature" "-zicond" "-target-feature" "-zicsr" "-target-feature" "-zifencei" "-target-feature" "-zihintntl" "-target-feature" "-zihintpause" "-target-feature" "-zihpm" "-target-feature" "-zimop" "-target-feature" "-zk" "-target-feature" "-zkn" "-target-feature" "-zknd" "-target-feature" "-zkne" "-target-feature" "-zknh" "-target-feature" "-zkr" "-target-feature" "-zks" "-target-feature" "-zksed" "-target-feature" "-zksh" "-target-feature" "-zkt" "-target-feature" "-zmmul" "-target-feature" "-ztso" "-target-feature" "-zvbb" "-target-feature" "-zvbc" "-target-feature" "-zve32f" "-target-feature" "-zve32x" "-target-feature" "-zve64d" "-target-feature" "-zve64f" "-target-feature" "-zve64x" "-target-feature" "-zvfbfmin" "-target-feature" "-zvfbfwma" "-target-feature" "-zvfh" "-target-feature" "-zvfhmin" "-target-feature" "-zvkb" "-target-feature" "-zvkg" "-target-feature" "-zvkn" "-target-feature" "-zvknc" "-target-feature" "-zvkned" "-target-feature" "-zvkng" "-target-feature" "-zvknha" "-target-feature" "-zvknhb" "-target-feature" "-zvks" "-target-feature" "-zvksc" "-target-feature" "-zvksed" "-target-feature" "-zvksg" "-target-feature" "-zvksh" "-target-feature" "-zvkt" "-target-feature" "-zvl1024b" "-target-feature" "-zvl128b" "-target-feature" "-zvl16384b" "-target-feature" "-zvl2048b" "-target-feature" "-zvl256b" "-target-feature" "-zvl32768b" "-target-feature" "-zvl32b" "-target-feature" "-zvl4096b" "-target-feature" "-zvl512b" "-target-feature" "-zvl64b" "-target-feature" "-zvl65536b" "-target-feature" "-zvl8192b" "-target-feature" "-experimental-p" "-target-feature" "-experimental-smctr" "-target-feature" "-experimental-ssctr" "-target-feature" "-experimental-svukte" "-target-feature" "-experimental-xqccmp" "-target-feature" "-experimental-xqcia" "-target-feature" "-experimental-xqciac" "-target-feature" "-experimental-xqcibi" "-target-feature" "-experimental-xqcibm" "-target-feature" "-experimental-xqcicli" "-target-feature" "-experimental-xqcicm" "-target-feature" "-experimental-xqcics" "-target-feature" "-experimental-xqcicsr" "-target-feature" "-experimental-xqciint" "-target-feature" "-experimental-xqciio" "-target-feature" "-experimental-xqcilb" "-target-feature" "-experimental-xqcili" "-target-feature" "-experimental-xqcilia" "-target-feature" "-experimental-xqcilo" "-target-feature" "-experimental-xqcilsm" "-target-feature" "-experimental-xqcisim" "-target-feature" "-experimental-xqcisls" "-target-feature" "-experimental-xqcisync" "-target-feature" "-experimental-xrivosvisni" "-target-feature" "-experimental-xrivosvizip" "-target-feature" "-experimental-zalasr" "-target-feature" "-experimental-zicfilp" "-target-feature" "-experimental-zicfiss" "-target-feature" "-experimental-zvbc32e" "-target-feature" "-experimental-zvkgs" "-target-feature" "-experimental-zvqdotq" "-target-feature" "+relax" "-target-abi" "ilp32" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/home/thebigclub/riscv/llvm" "-fcoverage-compilation-dir=/home/thebigclub/riscv/llvm" "-resource-dir" "/home/thebigclub/riscv/llvm/rv32ec/lib/clang/21" "-internal-isystem" "/home/thebigclub/riscv/llvm/rv32ec/lib/clang/21/include" "-internal-isystem" "/home/thebigclub/riscv/llvm/rv32ec/bin/../lib/gcc/riscv32-unknown-elf/14.2.0/../../../../riscv32-unknown-elf/include" "-ferror-limit" "19" "-fno-signed-char" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcolor-diagnostics" "-faddrsig" "-o" "test.o" "-x" "c" "test.c" "/home/thebigclub/riscv/llvm/rv32ec/bin/clang-21" "-cc1" "-triple" "riscv32-unknown-unknown-elf" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "test.c" "-mrelocation-model" "static" "-mframe-pointer=all" "-fmath-errno" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-nostdsysteminc" "-target-cpu" "generic-rv32" "-target-feature" "+zilsd" "-target-feature" "+zca" "-target-feature" "+zclsd" "-target-feature" "-a" "-target-feature" "-b" "-target-feature" "-c" "-target-feature" "-d" "-target-feature" "-e" "-target-feature" "-f" "-target-feature" "-h" "-target-feature" "-m" "-target-feature" "-sdext" "-target-feature" "-sdtrig" "-target-feature" "-sha" "-target-feature" "-shcounterenw" "-target-feature" "-shgatpa" "-target-feature" "-shtvala" "-target-feature" "-shvsatpa" "-target-feature" "-shvstvala" "-target-feature" "-shvstvecd" "-target-feature" "-smaia" "-target-feature" "-smcdeleg" "-target-feature" "-smcsrind" "-target-feature" "-smdbltrp" "-target-feature" "-smepmp" "-target-feature" "-smmpm" "-target-feature" "-smnpm" "-target-feature" "-smrnmi" "-target-feature" "-smstateen" "-target-feature" "-ssaia" "-target-feature" "-ssccfg" "-target-feature" "-ssccptr" "-target-feature" "-sscofpmf" "-target-feature" "-sscounterenw" "-target-feature" "-sscsrind" "-target-feature" "-ssdbltrp" "-target-feature" "-ssnpm" "-target-feature" "-sspm" "-target-feature" "-ssqosid" "-target-feature" "-ssstateen" "-target-feature" "-ssstrict" "-target-feature" "-sstc" "-target-feature" "-sstvala" "-target-feature" "-sstvecd" "-target-feature" "-ssu64xl" "-target-feature" "-supm" "-target-feature" "-svade" "-target-feature" "-svadu" "-target-feature" "-svbare" "-target-feature" "-svinval" "-target-feature" "-svnapot" "-target-feature" "-svpbmt" "-target-feature" "-svvptc" "-target-feature" "-v" "-target-feature" "-xcvalu" "-target-feature" "-xcvbi" "-target-feature" "-xcvbitmanip" "-target-feature" "-xcvelw" "-target-feature" "-xcvmac" "-target-feature" "-xcvmem" "-target-feature" "-xcvsimd" "-target-feature" "-xmipscmov" "-target-feature" "-xmipslsp" "-target-feature" "-xsfcease" "-target-feature" "-xsfvcp" "-target-feature" "-xsfvfnrclipxfqf" "-target-feature" "-xsfvfwmaccqqq" "-target-feature" "-xsfvqmaccdod" "-target-feature" "-xsfvqmaccqoq" "-target-feature" "-xsifivecdiscarddlone" "-target-feature" "-xsifivecflushdlone" "-target-feature" "-xtheadba" "-target-feature" "-xtheadbb" "-target-feature" "-xtheadbs" "-target-feature" "-xtheadcmo" "-target-feature" "-xtheadcondmov" "-target-feature" "-xtheadfmemidx" "-target-feature" "-xtheadmac" "-target-feature" "-xtheadmemidx" "-target-feature" "-xtheadmempair" "-target-feature" "-xtheadsync" "-target-feature" "-xtheadvdot" "-target-feature" "-xventanacondops" "-target-feature" "-xwchc" "-target-feature" "-za128rs" "-target-feature" "-za64rs" "-target-feature" "-zaamo" "-target-feature" "-zabha" "-target-feature" "-zacas" "-target-feature" "-zalrsc" "-target-feature" "-zama16b" "-target-feature" "-zawrs" "-target-feature" "-zba" "-target-feature" "-zbb" "-target-feature" "-zbc" "-target-feature" "-zbkb" "-target-feature" "-zbkc" "-target-feature" "-zbkx" "-target-feature" "-zbs" "-target-feature" "-zcb" "-target-feature" "-zcd" "-target-feature" "-zce" "-target-feature" "-zcf" "-target-feature" "-zcmop" "-target-feature" "-zcmp" "-target-feature" "-zcmt" "-target-feature" "-zdinx" "-target-feature" "-zfa" "-target-feature" "-zfbfmin" "-target-feature" "-zfh" "-target-feature" "-zfhmin" "-target-feature" "-zfinx" "-target-feature" "-zhinx" "-target-feature" "-zhinxmin" "-target-feature" "-zic64b" "-target-feature" "-zicbom" "-target-feature" "-zicbop" "-target-feature" "-zicboz" "-target-feature" "-ziccamoa" "-target-feature" "-ziccif" "-target-feature" "-zicclsm" "-target-feature" "-ziccrse" "-target-feature" "-zicntr" "-target-feature" "-zicond" "-target-feature" "-zicsr" "-target-feature" "-zifencei" "-target-feature" "-zihintntl" "-target-feature" "-zihintpause" "-target-feature" "-zihpm" "-target-feature" "-zimop" "-target-feature" "-zk" "-target-feature" "-zkn" "-target-feature" "-zknd" "-target-feature" "-zkne" "-target-feature" "-zknh" "-target-feature" "-zkr" "-target-feature" "-zks" "-target-feature" "-zksed" "-target-feature" "-zksh" "-target-feature" "-zkt" "-target-feature" "-zmmul" "-target-feature" "-ztso" "-target-feature" "-zvbb" "-target-feature" "-zvbc" "-target-feature" "-zve32f" "-target-feature" "-zve32x" "-target-feature" "-zve64d" "-target-feature" "-zve64f" "-target-feature" "-zve64x" "-target-feature" "-zvfbfmin" "-target-feature" "-zvfbfwma" "-target-feature" "-zvfh" "-target-feature" "-zvfhmin" "-target-feature" "-zvkb" "-target-feature" "-zvkg" "-target-feature" "-zvkn" "-target-feature" "-zvknc" "-target-feature" "-zvkned" "-target-feature" "-zvkng" "-target-feature" "-zvknha" "-target-feature" "-zvknhb" "-target-feature" "-zvks" "-target-feature" "-zvksc" "-target-feature" "-zvksed" "-target-feature" "-zvksg" "-target-feature" "-zvksh" "-target-feature" "-zvkt" "-target-feature" "-zvl1024b" "-target-feature" "-zvl128b" "-target-feature" "-zvl16384b" "-target-feature" "-zvl2048b" "-target-feature" "-zvl256b" "-target-feature" "-zvl32768b" "-target-feature" "-zvl32b" "-target-feature" "-zvl4096b" "-target-feature" "-zvl512b" "-target-feature" "-zvl64b" "-target-feature" "-zvl65536b" "-target-feature" "-zvl8192b" "-target-feature" "-experimental-p" "-target-feature" "-experimental-smctr" "-target-feature" "-experimental-ssctr" "-target-feature" "-experimental-svukte" "-target-feature" "-experimental-xqccmp" "-target-feature" "-experimental-xqcia" "-target-feature" "-experimental-xqciac" "-target-feature" "-experimental-xqcibi" "-target-feature" "-experimental-xqcibm" "-target-feature" "-experimental-xqcicli" "-target-feature" "-experimental-xqcicm" "-target-feature" "-experimental-xqcics" "-target-feature" "-experimental-xqcicsr" "-target-feature" "-experimental-xqciint" "-target-feature" "-experimental-xqciio" "-target-feature" "-experimental-xqcilb" "-target-feature" "-experimental-xqcili" "-target-feature" "-experimental-xqcilia" "-target-feature" "-experimental-xqcilo" "-target-feature" "-experimental-xqcilsm" "-target-feature" "-experimental-xqcisim" "-target-feature" "-experimental-xqcisls" "-target-feature" "-experimental-xqcisync" "-target-feature" "-experimental-xrivosvisni" "-target-feature" "-experimental-xrivosvizip" "-target-feature" "-experimental-zalasr" "-target-feature" "-experimental-zicfilp" "-target-feature" "-experimental-zicfiss" "-target-feature" "-experimental-zvbc32e" "-target-feature" "-experimental-zvkgs" "-target-feature" "-experimental-zvqdotq" "-target-feature" "+relax" "-target-abi" "ilp32" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/home/thebigclub/riscv/llvm" "-fcoverage-compilation-dir=/home/thebigclub/riscv/llvm" "-ferror-limit" "19" "-fno-signed-char" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcolor-diagnostics" "-faddrsig" "-x" "c" "test-f5e115.c"