From 9736f5769d3f1490a40fbe455649f976437002c9 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 19 Jan 2018 00:39:26 +0100 Subject: [PATCH] re PR ipa/83619 (ICE in inliner: caller edge count does not match BB count) PR ipa/83619 PR testsuite/83934 * g++.dg/torture/pr83619.C (e): Define before first use instead of forward declaration. From-SVN: r256867 --- gcc/testsuite/ChangeLog | 19 ++++++++++++++----- gcc/testsuite/g++.dg/torture/pr83619.C | 7 +++---- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fad4ddc7304..2e24761051c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,4 +1,12 @@ +2018-01-18 Jakub Jelinek + + PR ipa/83619 + PR testsuite/83934 + * g++.dg/torture/pr83619.C (e): Define before first use instead of + forward declaration. + 2018-01-18 Carl Love + * gcc.target/powerpc/builtins-6.h (foo): Add missing closing bracket to the function. @@ -28,11 +36,11 @@ 2018-01-18 Boris Kolpackov - PR other/70268 - * c-c++-common/ffile-prefix-map.c: New test. - * c-c++-common/fmacro-prefix-map.c: New test. - * c-c++-common/cpp/ffile-prefix-map.c: New test. - * c-c++-common/cpp/fmacro-prefix-map.c: New test. + PR other/70268 + * c-c++-common/ffile-prefix-map.c: New test. + * c-c++-common/fmacro-prefix-map.c: New test. + * c-c++-common/cpp/ffile-prefix-map.c: New test. + * c-c++-common/cpp/fmacro-prefix-map.c: New test. 2018-01-18 Martin Liska @@ -211,6 +219,7 @@ target check autogenerator for armv8.1-a and armv8.2-a. 2018-01-17 Carl Love + * gcc.target/powerpc/builtins-6-p9-runnable.c: Add additional tests. Add debug print statements. * gcc.target/powerpc/builtins-5-p9-runnable.c: Add test to do diff --git a/gcc/testsuite/g++.dg/torture/pr83619.C b/gcc/testsuite/g++.dg/torture/pr83619.C index 5afd3ce0790..6453fe17c74 100644 --- a/gcc/testsuite/g++.dg/torture/pr83619.C +++ b/gcc/testsuite/g++.dg/torture/pr83619.C @@ -5,7 +5,9 @@ class d public: virtual unsigned c (); }; -class e; +class e : public d +{ +}; class i { void h (); @@ -33,9 +35,6 @@ public: l (int); k *operator-> (); }; -class e : public d -{ -}; class m final : e { unsigned c (); -- 2.30.2