From: Jakub Jelinek Date: Wed, 1 Oct 2014 20:42:23 +0000 (+0200) Subject: re PR c++/63306 (ICE: Segmentation fault in analyze_functions()) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af27dfc447163c122c2442d04d50383f1e4e3ca1;p=gcc.git re PR c++/63306 (ICE: Segmentation fault in analyze_functions()) PR c++/63306 * g++.dg/ipa/pr63306.C: New test. From-SVN: r215779 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 213d2763e27..8f02f56b730 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2014-10-01 Jakub Jelinek + PR c++/63306 + * g++.dg/ipa/pr63306.C: New test. + PR target/63428 * gcc.dg/torture/vshuf-4.inc: Move test 122 from EXPTESTS to test 24 in TESTS. diff --git a/gcc/testsuite/g++.dg/ipa/pr63306.C b/gcc/testsuite/g++.dg/ipa/pr63306.C new file mode 100644 index 00000000000..e22a4c2a0d0 --- /dev/null +++ b/gcc/testsuite/g++.dg/ipa/pr63306.C @@ -0,0 +1,14 @@ +// PR c++/63306 +// { dg-do compile { target c++11 } } + +template +class A; + +class B +{ + B (const int &, const A &); +}; + +B::B (const int &, const A &) +{ +}