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  <malts...@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  <malts...@gmail.com>
> 
>         PR c++/67333
>         * g++.dg/cpp0x/constexpr-67333.C: New test.
>         * g++.dg/cpp1y/constexpr-67333.C: New test.
> 

-- 
Regards,
    Mikhail Maltsev

Reply via email to