]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - elf/tst-unique4lib.cc
iconv, localedef: avoid floating point rounding differences [BZ #24372]
[thirdparty/glibc.git] / elf / tst-unique4lib.cc
index c9fdf9cfeacad6d5ca4a5ed753cf1e76f27f3f31..17a7cdf5677b14481e2029ecd9738ebcd463e3b9 100644 (file)
@@ -6,7 +6,7 @@ int S<N>::i = N;
 template<int N>
 const int S<N>::j __attribute__ ((used)) = -1;
 
-static int a[24] =
+static int a[24] __attribute__ ((used)) =
   {
     S<1>::i, S<2>::i, S<3>::i, S<4>::i, S<5>::i, S<6>::i, S<7>::i, S<8>::i,
     S<9>::i, S<10>::i, S<11>::i, S<12>::i, S<13>::i, S<14>::i, S<15>::i,
@@ -14,4 +14,4 @@ static int a[24] =
     S<23>::i, S<24>::i
   };
 
-static int b = S<1>::j;
+static int b __attribute__ ((used)) = S<1>::j;