]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: re PR other/82352 (comdat-local function called by void h::i() outside...
authorH.J. Lu <hongjiu.lu@intel.com>
Sat, 10 Mar 2018 18:45:55 +0000 (18:45 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sat, 10 Mar 2018 18:45:55 +0000 (10:45 -0800)
Backport r256266 from mainline

Backport from mainline
2018-01-04  Jakub Jelinek  <jakub@redhat.com>

PR ipa/82352
* g++.dg/ipa/pr82352.C (size_t): Define to __SIZE_TYPE__ instead of
long unsigned int.

From-SVN: r258418

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr82352.C

index bca631965050d6b5e104dbc4d213572e85210e74..d88730fa4325a19160492919448a9cc2a4ba7669 100644 (file)
@@ -1,3 +1,12 @@
+2018-03-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       Backport from mainline
+       2018-01-04  Jakub Jelinek  <jakub@redhat.com>
+
+       PR ipa/82352
+       * g++.dg/ipa/pr82352.C (size_t): Define to __SIZE_TYPE__ instead of
+       long unsigned int.
+
 2018-03-08  Steven G. Kargl  <kargl@gcc.gnu.org>
 
        PR fortran/64124
index c044345a486c38c614fce7497a3eb52d7c497e7b..08516da0c8a6c294eff014908f9ee276eee32fff 100644 (file)
@@ -2,7 +2,7 @@
 // { dg-do compile }
 // { dg-options "-O2" }
 
-typedef long unsigned int size_t;
+typedef __SIZE_TYPE__ size_t;
 
 class A
 {