[gnu.gcc.bug] gcc "unrecognized option" warnings

raeburn@ATHENA.MIT.EDU (Ken Raeburn) (07/24/89)

These seem to be generated when gcc doesn't actually use a flag that
has been passed to it.  At Athena, I've got gcc configured to pass
through a "-Z" flag to the linker; however, when "gcc -c" is used, it
complains "unrecognized option `-Z'", but doesn't exit with an error
status indication, and does perform the compilation.

It should not flag as unrecognized options that it would recognize
were it to invoke other programs, since it can indeed recognize those
options.  For options that are truly unrecognized, a non-zero exit
status would be justified.