From af27dfc447163c122c2442d04d50383f1e4e3ca1 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 1 Oct 2014 22:42:23 +0200 Subject: [PATCH] re PR c++/63306 (ICE: Segmentation fault in analyze_functions()) PR c++/63306 * g++.dg/ipa/pr63306.C: New test. From-SVN: r215779 --- gcc/testsuite/ChangeLog | 3 +++ gcc/testsuite/g++.dg/ipa/pr63306.C | 14 ++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 gcc/testsuite/g++.dg/ipa/pr63306.C 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 &) +{ +} -- 2.30.2