diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2020-09-27 11:47:25 -0400 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 2020-09-29 11:06:01 -0400 |
commit | 74b5b8dec467f922f6c40a320859054081c7bb09 (patch) | |
tree | 0eba6940b5400987ec1f3517ef76e905a801bc4c /gcc/fortran/trans-stmt.c | |
parent | cc61827b55e7735a831e52f7ef093c409ddd607a (diff) | |
download | gcc-74b5b8dec467f922f6c40a320859054081c7bb09.zip gcc-74b5b8dec467f922f6c40a320859054081c7bb09.tar.gz gcc-74b5b8dec467f922f6c40a320859054081c7bb09.tar.bz2 |
testsuite: Prevent spellcheck-inttypes failures on AIX.
AIX stdio.h implicitly includes sys/types.h, which implicitly includes
inttypes.h. With a recent AIX header fixincludes change to unilaterally
define STDC Macros, the GCC testsuite uses of inttypes now fails.
This patch explicitly defines the _STD_TYPES_T macro when the test is
run on AIX so that the inttypes.h header behaves as the testcase requires.
gcc/testsuite/ChangeLog:
2020-09-29 David Edelsohn <dje.gcc@gmail.com>
* g++.dg/spellcheck-inttypes.C: Define _STD_TYPES_T on AIX.
* gcc.dg/spellcheck-inttypes.c: Same.
Diffstat (limited to 'gcc/fortran/trans-stmt.c')
0 files changed, 0 insertions, 0 deletions