Remove checks for constructors that might have been eliminated by GCC.
authorCary Coutant <ccoutant@gmail.com>
Wed, 9 Mar 2016 04:30:26 +0000 (20:30 -0800)
committerCary Coutant <ccoutant@gmail.com>
Wed, 9 Mar 2016 04:36:31 +0000 (20:36 -0800)
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
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/dynamic_list.sh
gold/testsuite/retain_symbols_file_test.sh

index e16db61953c810a87f88e15b43f9a7a01bd329bd..e1748b1897127b2dc9e2893e33332627ed7b62ca 100644 (file)
@@ -1,3 +1,12 @@
+2016-03-08  Cary Coutant  <ccoutant@gmail.com>
+
+        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  <ccoutant@gmail.com>
 
         PR 19751
index b2a751fde2f6a5552e98f8e72d5da48a4ac613ab..2920587bac749d06a3bcc1c4f70ea186b312b4bd 100644 (file)
@@ -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
index b22fba6bbe7f780029b08ffd09e9b4ca752e1427..4eafa543d0b9fb411d711fd4db78e85ebfaefd33 100644 (file)
@@ -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
index 51c16a1e2df1632f7d62f46ecf8d1040bbf37226..96117604749203793e1f0d22bbb10bd18f18a1ed 100755 (executable)
@@ -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
index 7d9c031fe25f5997f23a605747c50b8eb4c2ec7b..4204ab47c418262852d424a75e3d07863f4da781 100755 (executable)
@@ -44,7 +44,6 @@ check_absent()
 }
 
 check_present 't1'
-check_present 't16b::t16b()'
 check_present 't20a::get()'
 check_present 't18()'
 check_absent 't10'