This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA] make missing header a fatal error with -MMD
Thanks. Updated to 151860, re-tested (same as original). All was
still well, so submitted.
It looks like I can't actually do anything to update the associated PR
to note where this has been observed (reported on 4.2.0, i've
personally obvserved it on 4.2.1, 4.2.2, 4.3.1, and 4.4.0), or to set
the target milestone or ... anything. I looked at
http://gcc.gnu.org/bugs/management.html to get a notion of what
*should* be done to the bug... but I have no perms. Happy to have
someone with perms take care of the bug handling, that's not the fun
part! 8-)
chris
On Fri, Sep 18, 2009 at 10:19, Joseph S. Myers <joseph@codesourcery.com> wrote:
> On Fri, 18 Sep 2009, Tom Tromey wrote:
>
>> >>>>> "Chris" == Chris Demetriou <cgd@google.com> writes:
>>
>> Chris> This fixes a the long-open bug http://gcc.gnu.org/PR28435, in which
>> Chris> -MMD allows compilation to succeed even though a header was missing.
>> Chris> (.o file produced, and everything. ?yuck.)
>>
>> Thank you.
>>
>> Chris> ? ? ? ? PR preprocessor/28435:
>> Chris> ? ? ? ? * c-opts.c (c_common_handle_option): For -MD and -MMD, indicate
>> Chris> ? ? ? ? to cpplib that the preprocessor output is needed.
>>
>> The cpp and testsuite parts are ok.
>> Unfortunately, I don't think I can approve the c-opts.c part, so someone
>> else will have to do that.
>
> The c-opts.c change is OK.
>
> --
> Joseph S. Myers
> joseph@codesourcery.com
>