To be clear, those are likely source bugs, and the most common failure mode
is like:

A Foo(const TempType& t) {
  return A(&t);  // keeps the pointer to a temporary.
}

const A& a = Foo(MakeTemporary());
// the temporary is gone.

On Mon, Jul 18, 2016 at 1:28 PM Hans Wennborg <h...@chromium.org> wrote:

> On Mon, Jul 18, 2016 at 12:00 PM, David Jones <d...@google.com> wrote:
> > On Mon, Jul 18, 2016 at 11:38 AM, Hans Wennborg <h...@chromium.org>
> wrote:
> >>
> >> On Mon, Jul 18, 2016 at 11:24 AM, David L. Jones via
> >> llvm-branch-commits <llvm-branch-commits@lists.llvm.org> wrote:
> >> > Author: dlj
> >> > Date: Mon Jul 18 13:24:53 2016
> >> > New Revision: 275865
> >> >
> >> > URL: http://llvm.org/viewvc/llvm-project?rev=275865&view=rev
> >> > Log:
> >> > Updating branches/google/testing to r275480
> >> >
> >> > Added:
> >> >     llvm/branches/google/testing/   (props changed)
> >> >       - copied from r275480, llvm/trunk/
> >>
> >> This is pretty much exactly the same version that LLVM 3.9 will be
> >> based on, so I'd be extra interested to hear the results from testing
> >> here :-)
> >
> >
> > I've seen a small number of failures due to dangling references after
> > r274385. Tim checked the suspicious failures and verified they disappear
> > with his change disabled.
>
> Thanks, I've filed PR28603 to track this.
>
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to