[Webkit-unassigned] [Bug 84980] Random crashes in webkit if a compiler addresses C++ defect #391

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 26 13:15:31 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=84980





--- Comment #2 from abaldeva at ea.com  2012-04-26 13:15:31 PST ---
(In reply to comment #1)
> I don't see how resolution of defect 391 makes this code ill-formed (not that I'm very much of a C++ language expert). Still, can it be that your compiler just has another unrelated bug?
> 
> We certainly have code like this in a number of places, not necessarily always with ?: operator.

My reading of the defect is that earlier, the compiler could copy construct a reference from a temporary rvalue object. Now, it may be possible that instead of calling copy ctor, it just keeps a reference to it directly. Since the temporary goes away after the line/statement completion, the object reference is invalid?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list