[PATCH][PING^2][C++] Fix PR67333
Mikhail Maltsev
maltsevm@gmail.com
Mon Oct 5 23:47:00 GMT 2015
PING.
On 08/27/2015 09:27 PM, Mikhail Maltsev wrote:
> Hi.
> This patch fixes a rejects-valid bug related to volatile-qualified arguments of
> constexpr functions. This is essentially a one-line change in constexpr.c.
> Bootstrapped and regtested on x86_64-pc-linux-gnu. OK for trunk?
>
> gcc/cp/ChangeLog:
>
> 2015-08-25 Mikhail Maltsev <maltsevm@gmail.com>
>
> PR c++/67333
> * constexpr.c (potential_constant_expression_1): Do not reject
> volatile-qualified values, if there is no lvalue-to-rvalue conversion.
>
> gcc/testsuite/ChangeLog:
>
> 2015-08-25 Mikhail Maltsev <maltsevm@gmail.com>
>
> PR c++/67333
> * g++.dg/cpp0x/constexpr-67333.C: New test.
> * g++.dg/cpp1y/constexpr-67333.C: New test.
>
--
Regards,
Mikhail Maltsev
More information about the Gcc-patches
mailing list