public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/22231] -MG ignores missing headers even with -c
       [not found] <bug-22231-10902@http.gcc.gnu.org/bugzilla/>
@ 2007-01-08  1:54 ` tromey at gcc dot gnu dot org
  2007-01-21  3:09 ` tromey at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-08  1:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tromey at gcc dot gnu dot org  2007-01-08 01:54 -------
Confirmed.
I'm inclined to agree that we should disallow -MG in this situation.
Perhaps this is best done in c-opts.c:sanitize_cpp_opts()


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-01-08 01:54:32
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22231


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug preprocessor/22231] -MG ignores missing headers even with -c
       [not found] <bug-22231-10902@http.gcc.gnu.org/bugzilla/>
  2007-01-08  1:54 ` [Bug preprocessor/22231] -MG ignores missing headers even with -c tromey at gcc dot gnu dot org
@ 2007-01-21  3:09 ` tromey at gcc dot gnu dot org
  2008-05-08 16:41 ` tromey at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-21  3:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tromey at gcc dot gnu dot org  2007-01-21 03:09 -------
I am testing a patch for this.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |tromey at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-01-08 01:54:32         |2007-01-21 03:09:47
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22231


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug preprocessor/22231] -MG ignores missing headers even with -c
       [not found] <bug-22231-10902@http.gcc.gnu.org/bugzilla/>
  2007-01-08  1:54 ` [Bug preprocessor/22231] -MG ignores missing headers even with -c tromey at gcc dot gnu dot org
  2007-01-21  3:09 ` tromey at gcc dot gnu dot org
@ 2008-05-08 16:41 ` tromey at gcc dot gnu dot org
  2008-05-09 22:18 ` tromey at gcc dot gnu dot org
  2008-05-09 22:19 ` tromey at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2008-05-08 16:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from tromey at gcc dot gnu dot org  2008-05-08 16:40 -------
I finally submitted this patch.
http://gcc.gnu.org/ml/gcc-patches/2008-05/msg00520.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22231


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug preprocessor/22231] -MG ignores missing headers even with -c
       [not found] <bug-22231-10902@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2008-05-08 16:41 ` tromey at gcc dot gnu dot org
@ 2008-05-09 22:18 ` tromey at gcc dot gnu dot org
  2008-05-09 22:19 ` tromey at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2008-05-09 22:18 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug preprocessor/22231] -MG ignores missing headers even with -c
       [not found] <bug-22231-10902@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2008-05-09 22:18 ` tromey at gcc dot gnu dot org
@ 2008-05-09 22:19 ` tromey at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2008-05-09 22:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from tromey at gcc dot gnu dot org  2008-05-09 22:18 -------
Fixed on trunk.
It is very unlikely that this will be back-ported, so I'm closing the bug.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22231


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug preprocessor/22231] -MG ignores missing headers even with -c
  2005-06-29 13:54 [Bug driver/22231] New: " js at linuxtv dot org
@ 2005-06-29 15:22 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-29 15:22 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|driver                      |preprocessor


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22231


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-05-09 22:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-22231-10902@http.gcc.gnu.org/bugzilla/>
2007-01-08  1:54 ` [Bug preprocessor/22231] -MG ignores missing headers even with -c tromey at gcc dot gnu dot org
2007-01-21  3:09 ` tromey at gcc dot gnu dot org
2008-05-08 16:41 ` tromey at gcc dot gnu dot org
2008-05-09 22:18 ` tromey at gcc dot gnu dot org
2008-05-09 22:19 ` tromey at gcc dot gnu dot org
2005-06-29 13:54 [Bug driver/22231] New: " js at linuxtv dot org
2005-06-29 15:22 ` [Bug preprocessor/22231] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).