These patches combine to address PR target/61407, meaning that GCC is
able to bootstrap on OS X Yosemite.
Changes from v3:
[PATCH v4 1/2] Fix __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__:
* Unchanged
[PATCH v4 2/2] Fixed dirent sanitizer for 32-bit OS X builds:
* Check whether the _DARWIN_FEATURE_64_BIT_INODE macro is defined
rather than its value
James Clarke (2):
Fix __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
Fixed dirent sanitizer for 32-bit OS X builds
gcc/config/darwin-c.c | 25 ++++++++++++++++------
gcc/config/darwin-driver.c | 2 --
gcc/testsuite/gcc.dg/darwin-minversion-1.c | 3 ++-
gcc/testsuite/gcc.dg/darwin-minversion-2.c | 3 ++-
gcc/testsuite/gcc.dg/darwin-minversion-3.c | 3 ++-
gcc/testsuite/gcc.dg/darwin-minversion-4.c | 12 +++++++++++
.../sanitizer_platform_limits_posix.cc | 3 ++-
.../sanitizer_platform_limits_posix.h | 9 ++++++++
8 files changed, 48 insertions(+), 12 deletions(-)
create mode 100644 gcc/testsuite/gcc.dg/darwin-minversion-4.c
--
2.1.0