Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jul 2020 09:43:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 247812] Clang 10 crashes building CPAN module SYBER/Date-5.2.0: can't implicitly cast lvalue to rvalue with this cast kind: lib/Sema/Sema.cpp:538
Message-ID:  <bug-247812-29464-jgKaZJRKCL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-247812-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-247812-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=3D247812

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

Author: dim
Date: Sat Jul 11 09:43:18 UTC 2020
New revision: 363092
URL: https://svnweb.freebsd.org/changeset/base/363092

Log:
  MFC r363013:

  Merge commit 065fc1eafe7c from llvm git (by Richard Smith):

    PR45521: Preserve the value kind when performing a standard
    conversion sequence on a glvalue expression.

    If the sequence is supposed to perform an lvalue-to-rvalue
    conversion, then one will be specified as the first conversion in the
    sequence. Otherwise, one should not be invented.

  This should fix clang crashing with "can't implicitly cast lvalue to
  rvalue with this cast kind", followed by "UNREACHABLE executed at
  /usr/src/contrib/llvm-project/clang/lib/Sema/Sema.cpp:538!", when
  building recent versions of Ceph, and the CPAN module SYBER/Date-5.2.0.

  Reported by:  Willem Jan Withagen <wjw@digiware.nl>, eserte12@yahoo.de
  PR:           245530, 247812

Changes:
_U  stable/11/
_U  stable/11/contrib/llvm-project/clang/
  stable/11/contrib/llvm-project/clang/lib/Sema/SemaExprCXX.cpp
  stable/11/contrib/llvm-project/clang/lib/Sema/SemaOverload.cpp
_U  stable/12/
  stable/12/contrib/llvm-project/clang/lib/Sema/SemaExprCXX.cpp
  stable/12/contrib/llvm-project/clang/lib/Sema/SemaOverload.cpp

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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