re PR c++/70869 (internal compiler error: Segmentation fault on array of pointer...
authorJakub Jelinek <jakub@redhat.com>
Thu, 7 Jul 2016 18:45:43 +0000 (20:45 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 7 Jul 2016 18:45:43 +0000 (20:45 +0200)
commit842dc2e6ed6e6095032eb5af7037e3b5718d3336
tree2921d133aa939d48c09f7060d04886a291f93d59
parent31be42626d491e317b261aa64744a0e1346a1f1b
re PR c++/70869 (internal compiler error: Segmentation fault on array of pointer to function members)

PR c++/70869
PR c++/71054
* cp-gimplify.c (cp_genericize_r): For DECL_EXPR for non-static
artificial vars, genericize their initializers.

* g++.dg/cpp0x/pr70869.C: New test.
* g++.dg/cpp0x/pr71054.C: New test.

Co-Authored-By: Kai Tietz <ktietz70@googlemail.com>
From-SVN: r238124
gcc/cp/ChangeLog
gcc/cp/cp-gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr70869.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/pr71054.C [new file with mode: 0644]