[LLVMbugs] [Bug 2470] singlely-initialized value not optimized

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Jun 21 13:20:15 PDT 2008


http://llvm.org/bugs/show_bug.cgi?id=2470


Nick Lewycky <nicholas at mxc.ca> changed:

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




--- Comment #6 from Nick Lewycky <nicholas at mxc.ca>  2008-06-21 15:20:14 ---
I contend that we don't need to know that the call to operator new actually
allocates memory, just so long as the pointers it returns don't partially
overlap and we know that we perform the store to them afterwards.

But your second point is a very good one I'd completely forgotten. Each member
function gets the this pointer which could be used to modify the vptr, short of
field-sensitive interprocedural alias analysis proving otherwise.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list