https://bugs.llvm.org/show_bug.cgi?id=44268

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Richard Smith <[email protected]> ---
Reduced to:

int b(void *c) __attribute__((enable_if(__builtin_object_size(c, 0), "")));
int a = b(new int);

or:

constexpr int f() {
  void *c = new int;
  return __builtin_object_size(c, 0);             
}

Fixed in llvmorg-10-init-11960-gc5b890e9224

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to