On Sat, Nov 19, 2016 at 11:11:18AM +0000, Bernd Edlinger wrote: > 2016-11-19 Bernd Edlinger <bernd.edlin...@hotmail.de> > > PR c++/71973 > * doc/invoke.texi (-Wno-builtin-declaration-mismatch): Document the > new default-enabled warning.. > * builtin-types.def (BT_CONST_TM_PTR): New primitive type. > (BT_PTR_CONST_STRING): Updated. > (BT_FN_SIZE_STRING_SIZE_CONST_STRING_CONST_PTR): Removed. > (BT_FN_SIZE_STRING_SIZE_CONST_STRING_CONST_TM_PTR): New function type. > * builtins.def (DEF_TM_BUILTIN): Disable BOTH_P for TM builtins. > (strftime): Update builtin function. > * tree-core.h (TI_CONST_TM_PTR_TYPE): New enum value. > * tree.h (const_tm_ptr_type_node): New type node. > * tree.c (free_lang_data, build_common_tree_nodes): Initialize > const_tm_ptr_type_node. ...
This broke 2 tests on i686-linux, I've committed this as obvious to fix it: 2016-11-21 Jakub Jelinek <ja...@redhat.com> PR c++/71973 * g++.dg/torture/pr53321.C (size_t): Use __SIZE_TYPE__ instead of long unsigned int. * g++.dg/torture/pr63512.C (::strlen): Use __SIZE_TYPE__ instead of unsigned long. --- gcc/testsuite/g++.dg/torture/pr53321.C.jj 2012-07-16 14:38:22.514585151 +0200 +++ gcc/testsuite/g++.dg/torture/pr53321.C 2016-11-21 19:52:00.561899801 +0100 @@ -2,7 +2,7 @@ // { dg-require-profiling "-fprofile-generate" } // { dg-options "-fprofile-generate" } -typedef long unsigned int size_t; +typedef __SIZE_TYPE__ size_t; extern "C" { --- gcc/testsuite/g++.dg/torture/pr63512.C.jj 2014-10-15 12:28:16.417303928 +0200 +++ gcc/testsuite/g++.dg/torture/pr63512.C 2016-11-21 19:52:45.006330942 +0100 @@ -2,7 +2,7 @@ extern "C" { void __assert_fail (); -unsigned long strlen (const char *); +__SIZE_TYPE__ strlen (const char *); } class A { Jakub