diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-11-23 19:45:27 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-11-23 19:45:27 +0100 |
commit | 25cb6b33f75fb4183bfe816cf95b68613b1af4bb (patch) | |
tree | f23f1000b81157a0be8bdb134f4e00fb059a5c2a /gcc/omp-low.c | |
parent | 6103184e81c0b6a8b1f4e072e0c32d9bb86fcc15 (diff) | |
download | gcc-25cb6b33f75fb4183bfe816cf95b68613b1af4bb.zip gcc-25cb6b33f75fb4183bfe816cf95b68613b1af4bb.tar.gz gcc-25cb6b33f75fb4183bfe816cf95b68613b1af4bb.tar.bz2 |
re PR c++/77907 (Add "const" to argument of constexpr constructor causes the object to be left in unconstructed state)
PR c++/77907
* cp-gimplify.c (cp_fold) <case CALL_EXPR>: When calling constructor
and maybe_constant_value returns non-CALL_EXPR, create INIT_EXPR
with the object on lhs and maybe_constant_value returned expr on rhs.
* g++.dg/cpp0x/pr77907.C: New test.
From-SVN: r242790
Diffstat (limited to 'gcc/omp-low.c')
0 files changed, 0 insertions, 0 deletions