Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2018 18:11:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-toolchain@FreeBSD.org
Subject:   [Bug 202665] clang++ core dump during compile with invalid syntax
Message-ID:  <bug-202665-29464-tlup4sGrqp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202665-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202665-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=3D202665

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

Author: dim
Date: Mon Jan 29 18:11:27 UTC 2018
New revision: 328555
URL: https://svnweb.freebsd.org/changeset/base/328555

Log:
  Pull in r217197 from upstream clang trunk (by Richard Smith):

    PR20844: If we fail to list-initialize a reference, map to the
    referenced type before retrying the initialization to produce
    diagnostics. Otherwise, we may fail to produce any diagnostics, and
    silently produce invalid AST in a -Asserts build. Also add a note to
    this codepath to make it more clear why we were trying to create a
    temporary.

  This should fix assertions when parsing some forms of incomplete list
  intializers.

  Direct commit to stable/9 and stable/10, since stable/11 and head
  already have this upstream fix.

  Reported by:  ajcbowhill@gmail.com
  PR:           202665

Changes:
  stable/10/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticSemaKind=
s.td
  stable/10/contrib/llvm/tools/clang/lib/Sema/SemaInit.cpp
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticSemaKinds=
.td
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaInit.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-202665-29464-tlup4sGrqp>