The following tests appear to have started failing with r119152 in "clang-i386-darwin10": gcc.dg/alias-5.c (test for excess errors) gcc.dg/special/alias-1.c (test for excess errors) gcc.dg/special/alias-2.c (test for excess errors) gcc.dg/special/wkali-1.c (test for excess errors)
Yes. From our internal bug report: These tests are protected by dg-require-alias, which is computed by running a program containing alias to see what it does. With gcc and llvm-gcc this program gets an error message: alias-2.c:13: error: only weak aliases are supported in this configuration so these tests are not run. Clang gives no error message, but doesn't implement aliases correctly, so the tests fail. I have no real opinion on whether the feature should work or not, but it should either work or fail cleanly.
Created attachment 5855 [details] alias.patch I am not sure if newer darwin systems support alias or not, but the attached patch should produce an error that matches the one that the gcc testsuite expects.
This appears to work, but doesn't the new test need to conditionalized for non-darwin somehow?
Fixed in 121137.