Re: [PATCH v2] Handle OS X deployment targets correctly

2015-05-28 Thread Mike Stump
On May 20, 2015, at 2:57 PM, Lawrence Velázquez wrote: > 2015-05-15 Lawrence Velázquez > > PR target/63810 > * gcc/config/darwin-c.c (version_components): New global enum. > (parse_version, version_as_legacy_macro) > (version_as_modern_macro, macosx_version_as_macro): N

[PATCH v2] Handle OS X deployment targets correctly

2015-05-20 Thread Lawrence Velázquez
As described in PR target/63810, this addresses several problems with the validation and encoding of deployment target version strings for the __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ macro. There are currently four testcases exercising inputs to -mmacosx-version-min (gcc/testsuite/gcc.dg/da