Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2018 18:29:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 234144] base clang 6.0.0 Assertion failed: (Result.isUninit() && "temporary created multiple times"), function createTemporary
Message-ID:  <bug-234144-29464-xUsNfvCvMm@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234144-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234144-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234144

--- Comment #1 from commit-hook@freebsd.org ---
A commit references this bug:

Author: dim
Date: Thu Dec 20 18:28:55 UTC 2018
New revision: 342281
URL: https://svnweb.freebsd.org/changeset/base/342281

Log:
  Pull in r329671 from upstream clang trunk (by Akira Hatanaka):

    [ExprConstant] Use an AST node and a version number as a key to
    create an APValue and retrieve it from map Temporaries.

    The version number is needed when a single AST node is visited
    multiple times and is used to create APValues that are required to be
    distinct from each other (for example, MaterializeTemporaryExprs in
    default arguments and VarDecls in loops).

    rdar://problem/36505742

    Differential Revision: https://reviews.llvm.org/D42776

  This should fix 'Assertion failed: (Result.isUninit() && "temporary
  created multiple times"), function createTemporary' errors (if
  assertions are enabled, otherwise the compiler internal state might go
  bad), when building the graphics/rawtherapee port.

  Direct commit to stable/11 and stable/12, since head already has clang
  7.0.1, which includes this change.

  PR:           234144

Changes:
  stable/11/contrib/llvm/tools/clang/include/clang/AST/APValue.h
  stable/11/contrib/llvm/tools/clang/lib/AST/APValue.cpp
  stable/11/contrib/llvm/tools/clang/lib/AST/ExprConstant.cpp
  stable/12/contrib/llvm/tools/clang/include/clang/AST/APValue.h
  stable/12/contrib/llvm/tools/clang/lib/AST/APValue.cpp
  stable/12/contrib/llvm/tools/clang/lib/AST/ExprConstant.cpp

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234144-29464-xUsNfvCvMm>