aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/inclhack.def
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2020-12-11 00:54:49 +0100
committerIlya Leoshkevich <iii@linux.ibm.com>2020-12-14 21:57:32 +0100
commit057dc81f820bfa3b1f9c676c416421effa5c3661 (patch)
tree7d2b54af3693d67a7166d70d9abefada429301b4 /fixincludes/inclhack.def
parentfe7f75cf16783589eedbab597e6d0b8d35d7e470 (diff)
downloadgcc-057dc81f820bfa3b1f9c676c416421effa5c3661.zip
gcc-057dc81f820bfa3b1f9c676c416421effa5c3661.tar.gz
gcc-057dc81f820bfa3b1f9c676c416421effa5c3661.tar.bz2
aix: Fixinclude updates [PR98208]
After 92648faa1cb2 ("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.
Diffstat (limited to 'fixincludes/inclhack.def')
-rw-r--r--fixincludes/inclhack.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def
index 80c9adf..3a4cfe0 100644
--- a/fixincludes/inclhack.def
+++ b/fixincludes/inclhack.def
@@ -731,7 +731,7 @@ fix = {
select = "typedef[ \t]*struct[ \t]*([{][^}]*[}][ \t]*\\*[ \t]*physadr_t;)";
c_fix = format;
c_fix_arg = "typedef struct __physadr_s %1";
- test_text = "typedef struct __physadr_s {";
+ test_text = "typedef struct { random stuff } * physadr_t;";
};
/*