[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
Fri Sep 20 14:46:00 GMT 2013


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

--- Comment #3 from dennis luehring <dl.soluz at gmx dot net> ---
according to the feedback from the clang mailing list by Benjamin Kramer

http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-September/032111.html

llvm seems to not have any problem in removing new/delete in this situation but
got still a bug in not understanding that there is no need for the values to be
on the heap - if i get it correct :)



More information about the Gcc-bugs mailing list