https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108152
Bug ID: 108152 Summary: gcc.dg/pr71558.c fails for LLP64 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- gcc.dg/pr71558.c has the following lines: __SIZE_TYPE__ strlen (const char *); void *malloc (__SIZE_TYPE__); __SIZE_TYPE__ b = strlen (a); These are good in that they support LLP64 through size_t, however they fail because this test case is compiled with -ansi. When using -ansi, the following warnings appear: gcc.dg/pr71558.c:6:1: error: ISO C90 does not support 'long long' [-Wlong-long] gcc.dg/pr71558.c:7:1: error: ISO C90 does not support 'long long' [-Wlong-long] gcc.dg/pr71558.c:14:1: error: ISO C90 does not support 'long long' [-Wlong-long] And of course, on LLP64 systems, __SIZE_TYPE__ is in fact a long long. Hopefully, -ansi can just be removed from the compile options, although I don't know how to do that.