We can actually test for the options being accepted, rather than try to test for gcc; this handles differences between gcc versions as well as compilers with a similar command line set.