This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] [5/6 Regression] Fix PR c++/66857
- From: Patrick Palka <patrick at parcs dot ath dot cx>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Jason Merrill <jason at redhat dot com>, Patrick Palka <patrick at parcs dot ath dot cx>
- Date: Sat, 25 Jul 2015 19:16:43 -0400
- Subject: Re: [PATCH] [5/6 Regression] Fix PR c++/66857
- Authentication-results: sourceware.org; auth=none
- References: <1437865942-8025-1-git-send-email-patrick at parcs dot ath dot cx>
On Sat, Jul 25, 2015 at 7:12 PM, Patrick Palka <patrick@parcs.ath.cx> wrote:
> gcc/cp/ChangeLog:
>
> PR c++/66857
> * cvt.c (ocp_convert): Don't call scalar_constant_value when
> converting to a class type.
>
> gcc/testsuite/ChangeLog:
>
> PR c++/66857
> * g++.dg/init/pr66857.C: New test.
This fix was approved here https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66857#c5
Committed to mainline. Is it OK for the GCC 5 branch?