[LLVMbugs] [Bug 10984] clang++ incorrectly handles addresses of temporaries created during optimization

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Oct 9 12:13:46 PDT 2011


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

Douglas Gregor <dgregor at apple.com> changed:

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

--- Comment #8 from Douglas Gregor <dgregor at apple.com> 2011-10-09 14:13:44 CDT ---
I'm closing this bug, since the issue was not in fact a miscompile.

If you can provide us with a self-contained test case that shows the code that
returning a reference to a temporary on the stack, which Clang does not warn
about, please re-open this bug.

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