re PR bootstrap/53348 (Conflicting fast-integer types on AIX: <sys/inttypes.h> vs. gcc/config/rs6000/aix-stdint.h)

PR bootstrap/53348
        * inclhack.def (aix_pthread): Accept tab after define.
        * fixincl.x: Regenerate.

From-SVN: r220502
This commit is contained in:
David Edelsohn 2015-02-07 02:55:03 +00:00 committed by David Edelsohn
parent 0f32bcbd90
commit a15b4c98a3
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2015-02-06 David Edelsohn <dje.gcc@gmail.com>
PR bootstrap/53348
* inclhack.def (aix_pthread): Accept tab after define.
* fixincl.x: Regenerate.
2015-01-24 Bruce Korb <bkorb@gnu.org>
* README: add some clarification on use of test_text

View File

@ -1154,7 +1154,7 @@ tSCC zAix_PthreadList[] =
* content selection pattern - do fix if pattern found
*/
tSCC zAix_PthreadSelect0[] =
"(#define [A-Za-z_0-9]+)(\\\\\n\
"(#define[\t ][A-Za-z_0-9]+)(\\\\\n\
[^A-Za-z_0-9 \t\n\
(])";

View File

@ -727,7 +727,7 @@ fix = {
fix = {
hackname = aix_pthread;
files = "pthread.h";
select = "(#define [A-Za-z_0-9]+)(\\\\\n[^A-Za-z_0-9 \t\n(])";
select = "(#define[\t ][A-Za-z_0-9]+)(\\\\\n[^A-Za-z_0-9 \t\n(])";
c_fix = format;
c_fix_arg = "%1 %2";
test_text = "#define PTHREAD_MUTEX_INITIALIZER\\\\\n"