From 7ff6eb49a2b79a2ad95c814ad990316545bf3692 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Tue, 8 Mar 2016 20:30:26 -0800 Subject: [PATCH] Remove checks for constructors that might have been eliminated by GCC. GCC 6 does not generate constructors for two of gold's test cases. This patch simply removes the checks for them. gold/ PR 19751 * testsuite/Makefile.am (retain_symbols_file_test): Remove check for constructor. * testsuite/Makefile.in: Regenerate. * testsuite/dynamic_list.sh: Likewise. * testsuite/retain_symbols_file_test.sh: Likewise. --- gold/ChangeLog | 9 +++++++++ gold/testsuite/Makefile.am | 1 - gold/testsuite/Makefile.in | 1 - gold/testsuite/dynamic_list.sh | 1 - gold/testsuite/retain_symbols_file_test.sh | 1 - 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index e16db61953c..e1748b18971 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,12 @@ +2016-03-08 Cary Coutant + + PR 19751 + * testsuite/Makefile.am (retain_symbols_file_test): Remove check + for constructor. + * testsuite/Makefile.in: Regenerate. + * testsuite/dynamic_list.sh: Likewise. + * testsuite/retain_symbols_file_test.sh: Likewise. + 2016-03-08 Cary Coutant PR 19751 diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index b2a751fde2f..2920587bac7 100644 --- a/gold/testsuite/Makefile.am +++ b/gold/testsuite/Makefile.am @@ -2214,7 +2214,6 @@ MOSTLYCLEANFILES += retain_symbols_file_test retain_symbols_file_test.in \ retain_symbols_file_test.so: basic_pic_test.o gcctestdir/ld echo 'main' > retain_symbols_file_test.in echo 't1' >> retain_symbols_file_test.in - echo '_ZN4t16bC1Ev' >> retain_symbols_file_test.in echo '_ZNK4t20a3getEv' >> retain_symbols_file_test.in echo '_Z3t18v' >> retain_symbols_file_test.in echo '__tcf_0' >> retain_symbols_file_test.in diff --git a/gold/testsuite/Makefile.in b/gold/testsuite/Makefile.in index b22fba6bbe7..4eafa543d0b 100644 --- a/gold/testsuite/Makefile.in +++ b/gold/testsuite/Makefile.in @@ -6198,7 +6198,6 @@ uninstall-am: @GCC_TRUE@@NATIVE_LINKER_TRUE@retain_symbols_file_test.so: basic_pic_test.o gcctestdir/ld @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo 'main' > retain_symbols_file_test.in @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo 't1' >> retain_symbols_file_test.in -@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo '_ZN4t16bC1Ev' >> retain_symbols_file_test.in @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo '_ZNK4t20a3getEv' >> retain_symbols_file_test.in @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo '_Z3t18v' >> retain_symbols_file_test.in @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo '__tcf_0' >> retain_symbols_file_test.in diff --git a/gold/testsuite/dynamic_list.sh b/gold/testsuite/dynamic_list.sh index 51c16a1e2df..96117604749 100755 --- a/gold/testsuite/dynamic_list.sh +++ b/gold/testsuite/dynamic_list.sh @@ -40,7 +40,6 @@ check() check dynamic_list.stdout "main" # comes via --dynamic-list check dynamic_list.stdout "_ZdlPv" # "operator delete(void*)" check dynamic_list.stdout "_Z4t1_6v" # t1_6() -check dynamic_list.stdout "_ZN4t16aC2Ev" # t16a:t16a() check dynamic_list.stdout "_ZN4t16aD1Ev" # t16a:~t16a() check dynamic_list.stdout "_ZN4t16a1tEv" # t16a:t() check dynamic_list.stdout "_ZTI4t16a" # typeinfo for t16a diff --git a/gold/testsuite/retain_symbols_file_test.sh b/gold/testsuite/retain_symbols_file_test.sh index 7d9c031fe25..4204ab47c41 100755 --- a/gold/testsuite/retain_symbols_file_test.sh +++ b/gold/testsuite/retain_symbols_file_test.sh @@ -44,7 +44,6 @@ check_absent() } check_present 't1' -check_present 't16b::t16b()' check_present 't20a::get()' check_present 't18()' check_absent 't10' -- 2.30.2