This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Don't ignore unknown -fno-* and -mno-* options


The fix for PR28322 intendedly makes us ignore unknown -fno-* and
-mno-*. The following patch fixes that.

Bootstrapped and regression tested on x86_64-unknown-linux-gnu.

OK for trunk?

2008-03-01  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

  * opts.c (handle_option): Postpone 'unknown option' errors only for
warning options.

 * gcc.dg/pr28322-3.c: New.

Attachment: fix-pr28322.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]