aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-05-30 09:44:11 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2017-05-30 09:44:11 +0200
commitabd8d9e75dd7fb34a653592480f3a030113883d0 (patch)
tree48928b7064011507ebe69ec50d1de4e1520f4ab3 /gcc/cp/ChangeLog
parent6d2420b3e5aefb4d0ada00922f8e04e7e7c5c733 (diff)
downloadgcc-abd8d9e75dd7fb34a653592480f3a030113883d0.zip
gcc-abd8d9e75dd7fb34a653592480f3a030113883d0.tar.gz
gcc-abd8d9e75dd7fb34a653592480f3a030113883d0.tar.bz2
backport: re PR c++/77739 (internal compiler error: in create_tmp_var, at gimple-expr.c:524)
Backported from mainline 2016-11-23 Jakub Jelinek <jakub@redhat.com> PR c++/77739 * cp-gimplify.c (cp_gimplify_tree) <case VEC_INIT_EXPR>: Pass false as handle_invisiref_parm_p to cp_genericize_tree. (struct cp_genericize_data): Add handle_invisiref_parm_p field. (cp_genericize_r): Don't wrap is_invisiref_parm into references if !wtd->handle_invisiref_parm_p. (cp_genericize_tree): Add handle_invisiref_parm_p argument, set wtd.handle_invisiref_parm_p to it. (cp_genericize): Pass true as handle_invisiref_parm_p to cp_genericize_tree. Formatting fix. * g++.dg/cpp1y/pr77739.C: New test. From-SVN: r248627
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 98bb4fc..75be7ea 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,6 +1,19 @@
2017-05-30 Jakub Jelinek <jakub@redhat.com>
Backported from mainline
+ 2016-11-23 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/77739
+ * cp-gimplify.c (cp_gimplify_tree) <case VEC_INIT_EXPR>: Pass
+ false as handle_invisiref_parm_p to cp_genericize_tree.
+ (struct cp_genericize_data): Add handle_invisiref_parm_p field.
+ (cp_genericize_r): Don't wrap is_invisiref_parm into references
+ if !wtd->handle_invisiref_parm_p.
+ (cp_genericize_tree): Add handle_invisiref_parm_p argument,
+ set wtd.handle_invisiref_parm_p to it.
+ (cp_genericize): Pass true as handle_invisiref_parm_p to
+ cp_genericize_tree. Formatting fix.
+
2016-11-18 Jakub Jelinek <jakub@redhat.com>
PR c++/77285