LLVM assert with boolean negation in unreachable code #7344
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
In the latest master the following code
produces
The failure still happens if you replace
foo()
by any expression which returnsbool
. But as soon as you remove the!
it compiles just fine.The text was updated successfully, but these errors were encountered: