[Bug tree-optimization/58483] missing optimization opportunity for const std::vector compared to std::array

dl.soluz at gmx dot net gcc-bugzilla@gcc.gnu.org
Wed Jun 4 05:48:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58483

--- Comment #7 from dennis luehring <dl.soluz at gmx dot net> ---
clang got now support for 

(see:
http://clang-developers.42468.n3.nabble.com/missing-optimization-opportunity-for-const-std-vector-compared-to-std-array-td4034587.html#none)

void *__builtin_operator_new(size_t)
void __builtin_operator_delete(void*)

and using this in libc++ can reduce all testcases down to the const result

gcc seems to have removed these long time ago and i currently do understand
whats gcc solution could be



More information about the Gcc-bugs mailing list