On Wed, Jan 03, 2018 at 03:14:10PM +0100, Martin Liška wrote:
> 2018-01-03  Martin Liska  <mli...@suse.cz>
> 
>       PR ipa/82352
>       * g++.dg/ipa/pr82352.C: New test.
> ---
> --- /dev/null
> +++ b/gcc/testsuite/g++.dg/ipa/pr82352.C
> @@ -0,0 +1,93 @@
> +// PR ipa/82352
> +// { dg-do compile }
> +// { dg-options "-O2" }
> +
> +typedef long unsigned int size_t;

...

This FAILs on i686-linux, fixed thusly, committed as obvious to trunk:

2018-01-04  Jakub Jelinek  <ja...@redhat.com>

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

--- gcc/testsuite/g++.dg/ipa/pr82352.C.jj       2018-01-04 12:37:24.689487261 
+0100
+++ gcc/testsuite/g++.dg/ipa/pr82352.C  2018-01-04 22:06:15.770654311 +0100
@@ -2,7 +2,7 @@
 // { dg-do compile }
 // { dg-options "-O2" }
 
-typedef long unsigned int size_t;
+typedef __SIZE_TYPE__ size_t;
 
 class A
 {


        Jakub

Reply via email to