This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/22231] -MG ignores missing headers even with -c
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 May 2008 22:17:57 -0000
- Subject: [Bug preprocessor/22231] -MG ignores missing headers even with -c
- References: <bug-22231-10902@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from tromey at gcc dot gnu dot org 2008-05-09 22:17 -------
Subject: Bug 22231
Author: tromey
Date: Fri May 9 22:17:00 2008
New Revision: 135128
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135128
Log:
gcc
PR preprocessor/22231:
* c-opts.c (sanitize_cpp_opts): Disallow -MG if compilation is
proceeding.
gcc/testsuite
PR preprocessor/22231:
* gcc.dg/pr22231.c: New file.
Added:
trunk/gcc/testsuite/gcc.dg/pr22231.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-opts.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22231