forked from jacobly0/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
bugSomething isn't workingSomething isn't working
Description
This code won't compile beyond -O0 -Og -O1
https://godbolt.org/z/aT9vGcvqT
based of llvm/libcxx/src/new.cpp (version 17.0.6)
# Crash reproducer for clang version 15.0.7 (https://github.com/CE-Programming/llvm-project db91fd729cd188daf925aaf5043a6ca0d3660655)
# Driver args: "-target" "ez80" "-S" "-ffreestanding" "-Wall" "-Wextra" "-Wimplicit-float-conversion" "-Wimplicit-int-float-conversion" "-Oz" "-D" "_EZ80" "-isystem" "../libcxxrt/include" "-isystem" "../libcxx/include" "-isystem" "../libc/include" "-isystem" "../ce/include" "-isystem" "../fileioc" "-mllvm" "-profile-guided-section-prefix=false" "-fno-exceptions" "-fno-rtti" "-std=c++20" "-D" "_LIBCPP_BUILDING_LIBRARY" "new.cpp" "-o" "build/new.cpp.src"
# Original command: "C:\\Users\\zerico\\Programming\\ez80\\toolchain\\CEdev\\bin\\ez80-clang.exe" "-cc1" "-triple" "ez80" "-S" "-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "new.cpp" "-mrelocation-model" "static" "-mframe-pointer=none" "-fmath-errno" "-ffp-contract=on" "-fno-rounding-math" "-fno-verbose-asm" "-no-integrated-as" "-mconstructor-aliases" "-ffreestanding" "-target-cpu" "ez80" "-mllvm" "-treat-scalable-fixed-error-as-warning" "-debugger-tuning=gdb" "-fno-dwarf-directory-asm" "-fcoverage-compilation-dir=C:\\Users\\zerico\\Programming\\ez80\\toolchain\\src\\libcxxrt" "-resource-dir" "C:\\Users\\zerico\\Programming\\ez80\\toolchain\\CEdev\\lib\\clang\\15.0.7" "-isystem" "../libcxxrt/include" "-isystem" "../libcxx/include" "-isystem" "../libc/include" "-isystem" "../ce/include" "-isystem" "../fileioc" "-D" "_EZ80" "-D" "_LIBCPP_BUILDING_LIBRARY" "-Oz" "-Wall" "-Wextra" "-Wimplicit-float-conversion" "-Wimplicit-int-float-conversion" "-std=c++20" "-fdeprecated-macro" "-fdebug-compilation-dir=C:\\Users\\zerico\\Programming\\ez80\\toolchain\\src\\libcxxrt" "-ferror-limit" "19" "-fmessage-length=120" "-fno-rtti" "-fgnuc-version=4.2.1" "-fno-implicit-modules" "-fcolor-diagnostics" "-vectorize-slp" "-mllvm" "-profile-guided-section-prefix=false" "-o" "build/new.cpp.src" "-x" "c++" "new.cpp"
"C:\\Users\\zerico\\Programming\\ez80\\toolchain\\CEdev\\bin\\ez80-clang.exe" "-cc1" "-triple" "ez80" "-S" "-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "new.cpp" "-mrelocation-model" "static" "-mframe-pointer=none" "-fmath-errno" "-ffp-contract=on" "-fno-rounding-math" "-fno-verbose-asm" "-no-integrated-as" "-mconstructor-aliases" "-ffreestanding" "-target-cpu" "ez80" "-mllvm" "-treat-scalable-fixed-error-as-warning" "-debugger-tuning=gdb" "-fno-dwarf-directory-asm" "-fcoverage-compilation-dir=C:\\Users\\zerico\\Programming\\ez80\\toolchain\\src\\libcxxrt" "-D" "_EZ80" "-D" "_LIBCPP_BUILDING_LIBRARY" "-Oz" "-Wall" "-Wextra" "-Wimplicit-float-conversion" "-Wimplicit-int-float-conversion" "-std=c++20" "-fdeprecated-macro" "-fdebug-compilation-dir=C:\\Users\\zerico\\Programming\\ez80\\toolchain\\src\\libcxxrt" "-ferror-limit" "19" "-fmessage-length=120" "-fno-rtti" "-fgnuc-version=4.2.1" "-fno-implicit-modules" "-fcolor-diagnostics" "-vectorize-slp" "-mllvm" "-profile-guided-section-prefix=false" "-x" "c++" "new-9e54d3.cpp"
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working