re PR target/51726 (LTO and attribute 'selectany')
authorKai Tietz <ktietz70@googlemail.com>
Fri, 2 Oct 2015 08:08:38 +0000 (08:08 +0000)
committerKai Tietz <ktietz@gcc.gnu.org>
Fri, 2 Oct 2015 08:08:38 +0000 (10:08 +0200)
        PR target/51726
        * g++.dg/ext/selectany2.C: Allow uninitialized variable case.

From-SVN: r228371

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/selectany2.C

index 65a6a9396ff3e9b068d41c1388f42d31886b8794..503e5151d2a8215776932092a9f09aca5150ace2 100644 (file)
@@ -1,3 +1,8 @@
+2015-10-02  Kai Tietz  <ktietz70@googlemail.com>
+
+       PR target/51726
+       * g++.dg/ext/selectany2.C: Allow uninitialized variable case.
+
 2015-10-01  Louis Krupp     <louis.krupp@zoho.com>
 
        PR fortran/62242
index 278b32d2f4bab7efdffc97146ebc9a06c910ec0d..7d4aea01e8798a7a84cd42fc24d39c461e0a71e5 100644 (file)
@@ -18,7 +18,7 @@ struct  f
 };
 __declspec (selectany) struct f  F= {1}; // OK
 
-__declspec (selectany) int boo;        //{ dg-error "selectany" }
+__declspec (selectany) int boo;        //  OK
 
 __declspec (selectany) static int bar = 1; // { dg-error "selectany" }
 int use_bar = bar;  //  Avoid defined but not used warning.