On Tue, Apr 17, 2018 at 04:36:54PM +0100, Kyrill Tkachov wrote: > This patch makes the arm and aarch64 testsuite safe for when a C++ compiler > is not present. > This involves moving .C files into g++.dg/other/ and guarding them with the > appropriate target check. > > For others it just means renaming them from .C to .c. > > For gcc.target/aarch64/simd/pr67896.C this means adjusting the error messages > to look > for the errors that the C frontend gives for conflicting types rather than > what C++ gives. > > This fixes the errors seen when testing a non-bootstrapped C-only GCC and the > tests > still pass on normal testing setups and the tests that are in g++.dg appear > UNSUPPORTED > on the targets that they don't pertain to. > > Tested this on arm-none-linux-gnueabihf and aarch64-none-linux-gnu. > > Ok for trunk?
Ok, thanks. Jakub