This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Fixincludes for darwin stdint.h


Hi all,

This patch adds the necesary fixincludes hacks to fix darwin stdint.h so that c99-stdint-1.c passes (the last remaining darwin stdint issue as far as I know). The macros at fault were INT8_C, INT16_C, INTPTR_{MIN,MAX}, UINTPTR_MAX and SIZE_MAX. I've also filed a bug with Apple about that header (radar item #6953165).

It's my first ever fixincludes patch, so I hope I got it right (though the most tedious part was to get autogen and guile compiling). I've "make check"'ed in fixincludes, which brings no new failure (there are a few preexisting failures). I've bootstrapped, checked that gcc.dg/ c99-stdint-1.c now passes, that none of the other stdint tests have regressed (at both -m32 and -m64) on i686-darwin, and I'm now running a full regtest.

OK to commit?

FX


Attachment: darwin-stdint-fixincludes.ChangeLog
Description: Binary data

Attachment: darwin-stdint-fixincludes.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]