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 :)