re PR c++/79205 (ICE in create_tmp_var, at gimple-expr.c:473)
authorJakub Jelinek <jakub@redhat.com>
Tue, 24 Jan 2017 22:33:41 +0000 (23:33 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 24 Jan 2017 22:33:41 +0000 (23:33 +0100)
commit7cfd79d60bdc3884f2fb652ff609ef9783994bd1
tree4a05072535dadab35f17574aaabf486b9fd70688
parenta8c9ef2a392330010eaeabe0b85403cf4146f7de
re PR c++/79205 (ICE in create_tmp_var, at gimple-expr.c:473)

PR c++/79205
* cp-gimplify.c (cp_genericize_r): Add result of
convert_from_reference on invisiref parm to p_set.

* g++.dg/cpp1z/decomp22.C: New test.
* g++.dg/cpp1z/decomp23.C: New test.

From-SVN: r244885
gcc/cp/ChangeLog
gcc/cp/cp-gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1z/decomp22.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1z/decomp23.C [new file with mode: 0644]