public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/42921] No error with missing header and -MM
       [not found] <bug-42921-4@http.gcc.gnu.org/bugzilla/>
@ 2013-05-08  5:30 ` skannan at redhat dot com
  0 siblings, 0 replies; 3+ messages in thread
From: skannan at redhat dot com @ 2013-05-08  5:30 UTC (permalink / raw)
  To: gcc-bugs


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

Shakthi Kannan <skannan at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |skannan at redhat dot com

--- Comment #3 from Shakthi Kannan <skannan at redhat dot com> 2013-05-08 05:30:25 UTC ---
Confirmed.

$ ./install/bin/gcc -MM -MF foo.d foo.c && echo succeeded || echo failed 
succeeded

$ ./install/bin/gcc -v
Using built-in specs.
COLLECT_GCC=./install/bin/gcc
COLLECT_LTO_WRAPPER=/home/mbuf/testing/gcc/42921/install/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --prefix=/home/mbuf/testing/gcc/42921/install
Thread model: posix
gcc version 4.9.0 20130507 (experimental) (GCC)


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

* [Bug preprocessor/42921] No error with missing header and -MM
  2010-02-01  3:50 [Bug preprocessor/42921] New: " rhansen at bbn dot com
  2010-02-07 20:33 ` [Bug preprocessor/42921] " pinskia at gcc dot gnu dot org
@ 2010-02-08  5:33 ` rhansen at bbn dot com
  1 sibling, 0 replies; 3+ messages in thread
From: rhansen at bbn dot com @ 2010-02-08  5:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rhansen at bbn dot com  2010-02-08 05:33 -------
Reopening; this is a different issue than bug 28435.

Chris Demetriou in bug 28435, comment 16 says:
> FWIW, I actually think that's a different issue (though certainly related).
>
> this bug was all about -MD and -MMD -- and what happens when an object file 
> needs to be output, but cannot be because of a missing include.
>
> AFAICT, that bug is all about, what should the handling of -MM be vs. 
> missing system headers.
>
> That having been said, I will note that with:
> gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
>
> you get the results:
>
> [cgd@laptop tmp]$ echo "#include <does_not_exist.h>" > foo.c
> [cgd@laptop tmp]$ gcc -MM -MF foo.d foo.c && echo succeeded || echo failed
> foo.c:1:28: does_not_exist.h: No such file or directory
> failed
> [cgd@laptop tmp]$ echo '#include "does_not_exist.h"' > foo.c
> [cgd@laptop tmp]$ gcc -MM -MF foo.d foo.c && echo succeeded || echo failed
> foo.c:1:28: does_not_exist.h: No such file or directory
> failed
>
> So this certainly used to behave as the submitter of 42921 expected at 
> *some* point.
>
> As of 4.2.2 (the next version I have handy after 3.4.4) the first case 
> reported "succeeded" (and the second failed).
>
> --cgd


-- 

rhansen at bbn dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|DUPLICATE                   |


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


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

* [Bug preprocessor/42921] No error with missing header and -MM
  2010-02-01  3:50 [Bug preprocessor/42921] New: " rhansen at bbn dot com
@ 2010-02-07 20:33 ` pinskia at gcc dot gnu dot org
  2010-02-08  5:33 ` rhansen at bbn dot com
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-02-07 20:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2010-02-07 20:33 -------


*** This bug has been marked as a duplicate of 28435 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2013-05-08  5:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-42921-4@http.gcc.gnu.org/bugzilla/>
2013-05-08  5:30 ` [Bug preprocessor/42921] No error with missing header and -MM skannan at redhat dot com
2010-02-01  3:50 [Bug preprocessor/42921] New: " rhansen at bbn dot com
2010-02-07 20:33 ` [Bug preprocessor/42921] " pinskia at gcc dot gnu dot org
2010-02-08  5:33 ` rhansen at bbn dot com

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