This is the mail archive of the gcc-bugs@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]

[Bug preprocessor/22231] -MG ignores missing headers even with -c



------- 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


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