This test fails due to expected warnings and errors not being emitted by GCC. The problem is that the 'gang reduction on an orphan loop' error is caught very early on in the frontends (c/c-typeck.c and cp/semantics.c), so the compiler aborts before getting to the tree passes that emit the missing warnings/errors. This error handling was introduced by the patch 'Various OpenACC reduction enhancements - FE changes' (commit 6b3e1f7f05cd360bbd356b3f78511aa2ec3f40c3), but the later patch to fix affected testcases 'Various OpenACC reduction enhancements - test cases' (commit 6a0b5806b24bfdefe0b0f3ccbcc51299e5195dca) did not include a fix for routine-4-extern.c. This patch removes the now outdated dg-error and dg-warnings from the test. Okay for OG10? Kwok