[PATCH] D13285: Fix for bug 24196: clang fails on assertion on complex doubles multiplication when EH is enabled

John McCall via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 13 13:49:38 PDT 2015


rjmccall added a comment.

This is an inappropriate fix for this problem.  If these runtime functions can never throw, which seems to be the case, you should create the function type with a no-throw exception specification, which will make EmitCall emit the call with a CallInst.  EST_BasicNoexcept should be sufficient.


http://reviews.llvm.org/D13285





More information about the cfe-commits mailing list