https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61407
--- Comment #56 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> --- Author: fxcoudert Date: Thu Dec 18 20:12:44 2014 New Revision: 218873 URL: https://gcc.gnu.org/viewcvs?rev=218873&root=gcc&view=rev Log: PR target/61407 * config/darwin-c.c (version_as_macro): Added extra 0 for OS X 10.10 and above. * config/darwin-driver.c (darwin_find_version_from_kernel): Removed kernel version check to avoid incrementing it after every major OS X release. (darwin_default_min_version): Avoid static memory buffer. * gcc.dg/darwin-minversion-1.c: Fixed formatting * gcc.dg/darwin-minversion-2.c: Fixed formatting * gcc.dg/darwin-minversion-3.c: Fixed formatting * gcc.dg/darwin-minversion-4.c: Added test for OS X 10.10 Added: branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/darwin-minversion-4.c Modified: branches/gcc-4_8-branch/gcc/ChangeLog branches/gcc-4_8-branch/gcc/config/darwin-c.c branches/gcc-4_8-branch/gcc/config/darwin-driver.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/darwin-minversion-1.c branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/darwin-minversion-2.c branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/darwin-minversion-3.c