[llvm-bugs] [Bug 34920] __builtin_mul_overflow unsupported for mixed-sign 64-bit operands on 32-bit architectures

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Dec 17 22:50:35 PST 2018


Tom Stellard <tstellar at redhat.com> changed:

           What    |Removed                     |Added
         Resolution|FIXED                       |---
                 CC|                            |tstellar at redhat.com
             Status|RESOLVED                    |REOPENED

--- Comment #11 from Tom Stellard <tstellar at redhat.com> ---
I've found a new test case where we still emit an i65 overflow intrinsic with
64-bit operands.

#include <stddef.h>

void mul(size_t a, int b) {
        size_t res;
        __builtin_mul_overflow(a, b, &res);

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181218/09eb58c1/attachment.html>

More information about the llvm-bugs mailing list