Fix a crash when casting _Complex and ignoring the results.
Performing a cast where the result is ignored caused Clang to crash when performing codegen for the conversion: _Complex int a; void fn1() { (_Complex double) a; } This patch addresses the crash by not trying to emit the scalar conversions, causing it to be a noop. Fixes PR44624.
Loading
Please sign in to comment