aix: Fixinclude updates [PR98208]
After 92648faa1c
("aix: Fixinclude") make check-fixincludes began to
fail (at least on gcc121 machine). Fix by updating fixincludes/tests
and rerunning genfixes.
Co-developed-by: Nathan Sidwell <nathan@acm.org>
fixincludes/ChangeLog:
2020-12-11 Ilya Leoshkevich <iii@linux.ibm.com>
* fixincl.x: Rerun genfixes.
* inclhack.def(aix_physadr_t): Change test_text to something
that needs to be replaced.
* tests/base/sys/types.h(aix_physadr_t): Add expectation.
This commit is contained in:
parent
fe7f75cf16
commit
057dc81f82
|
@ -2,11 +2,11 @@
|
||||||
*
|
*
|
||||||
* DO NOT EDIT THIS FILE (fixincl.x)
|
* DO NOT EDIT THIS FILE (fixincl.x)
|
||||||
*
|
*
|
||||||
* It has been AutoGen-ed October 21, 2020 at 10:43:22 AM by AutoGen 5.18.16
|
* It has been AutoGen-ed December 9, 2020 at 11:16:08 AM by AutoGen 5.18.16
|
||||||
* From the definitions inclhack.def
|
* From the definitions inclhack.def
|
||||||
* and the template file fixincl
|
* and the template file fixincl
|
||||||
*/
|
*/
|
||||||
/* DO NOT SVN-MERGE THIS FILE, EITHER Wed Oct 21 10:43:22 EDT 2020
|
/* DO NOT SVN-MERGE THIS FILE, EITHER Wed Dec 9 11:16:08 EST 2020
|
||||||
*
|
*
|
||||||
* You must regenerate it. Use the ./genfixes script.
|
* You must regenerate it. Use the ./genfixes script.
|
||||||
*
|
*
|
||||||
|
|
|
@ -731,7 +731,7 @@ fix = {
|
||||||
select = "typedef[ \t]*struct[ \t]*([{][^}]*[}][ \t]*\\*[ \t]*physadr_t;)";
|
select = "typedef[ \t]*struct[ \t]*([{][^}]*[}][ \t]*\\*[ \t]*physadr_t;)";
|
||||||
c_fix = format;
|
c_fix = format;
|
||||||
c_fix_arg = "typedef struct __physadr_s %1";
|
c_fix_arg = "typedef struct __physadr_s %1";
|
||||||
test_text = "typedef struct __physadr_s {";
|
test_text = "typedef struct { random stuff } * physadr_t;";
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -9,6 +9,11 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#if defined( AIX_PHYSADR_T_CHECK )
|
||||||
|
typedef struct __physadr_s { random stuff } * physadr_t;
|
||||||
|
#endif /* AIX_PHYSADR_T_CHECK */
|
||||||
|
|
||||||
|
|
||||||
#if defined( GNU_TYPES_CHECK )
|
#if defined( GNU_TYPES_CHECK )
|
||||||
#if !defined(_GCC_PTRDIFF_T)
|
#if !defined(_GCC_PTRDIFF_T)
|
||||||
#define _GCC_PTRDIFF_T
|
#define _GCC_PTRDIFF_T
|
||||||
|
|
Loading…
Reference in New Issue