]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/68810 - wrong location for reinterpret_cast error.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Jan 2018 20:56:00 +0000 (20:56 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Jan 2018 20:56:00 +0000 (20:56 +0000)
commit81cc7d9c8b8e60e4a0e40351de5bfbdc04bb52b8
treef1222d8a891ce6f9603dc2865e26bbb939e11429
parent53fa96c02679eee8b954b29b1dccbb42557d7670
PR c++/68810 - wrong location for reinterpret_cast error.

* cvt.c (cp_convert_to_pointer): Always build a CONVERT_EXPR when
!dofold.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257161 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cvt.c
gcc/testsuite/g++.dg/cpp0x/constexpr-reinterpret1.C