https://bugs.llvm.org/show_bug.cgi?id=44268
Richard Smith <richard-l...@metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Richard Smith <richard-l...@metafoo.co.uk> ---
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
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs